OSDN Git Service

* print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Fri Apr 14 18:07:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2
3         * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
4         not yet set.
5
6         * expr.c (reload.h): Now included.
7         (emit_block_move): Set volatile_ok when checking for movstr.
8         (emit_move_1): Check for replacements in addresses in multi-word case.
9         * Makefile.in (expr.o): Now includes reload.h.
10
11         * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
12         Never have a LIBCALL end a basic block.
13         (find_basic_blocks_1): Likewise.
14         Reorganize CALL_INSN cases.
15
16         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
17
18 Fri Apr 14 10:54:22 2000  Jim Wilson  <wilson@cygnus.com>
19
20         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
21         completers from mov.ret instruction.
22
23 2000-04-14  Richard Henderson  <rth@cygnus.com>
24
25         * fold-const.c (extract_muldiv): Don't distribute and widen
26         multiply across plus for non-sizetype unsigned types.
27
28 2000-04-14  Richard Henderson  <rth@cygnus.com>
29
30         * flow.c (find_auto_inc): Don't autoinc eliminable registers.
31         If the original source is dead in the incr insn, it's dead now.
32
33 Fri Apr 14 07:40:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
34
35         * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
36         see if DECL_BIT_FIELD needs to still be set.
37
38         * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
39
40         * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
41         print_int_cst_octal with something that's not an INTEGER_CST.
42
43         * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
44         and not a SUBREG to a FLOAT rtl.
45
46 Thu Apr 13 19:39:56 2000  Clinton Popetz  <cpopetz@cygnus.com>
47
48         * emit-rtl.c (try_split): Avoid infinite loop if the split
49         results in a sequence that contains the original insn.
50
51 2000-04-13  Andreas Jaeger  <aj@suse.de>
52
53         * config/mips/mips.c (expand_block_move): Pass alignment
54         argument to move_by_pieces in bits, not bytes.
55
56         * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
57         __pic__ for little endian.
58
59 2000-04-13  Andreas Jaeger  <aj@suse.de>
60
61         * config/i386/i386-protos.h: Add prototype for
62         uno_comparison_operator.
63
64 Thu Apr 13 15:55:08 MET DST 2000  Jan Hubicka  <jh@suse.cz>
65
66         * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
67         * calls.c (ECF_PURE): New flag.
68         (emit_call_1): Handle ECF_PURE calls.
69         (initialize_argument_information): Unset ECF_PURE flag too.
70         (precompute_arguments): Precompute for ECF_PURE too.
71         (expand_call): Handle ECF_PURE calls too.
72         (emit_library_call_value_1): Rename no_queue argument to fn_type,
73         accept value of 2 as pure function.
74         (emit_library_call_value, emit_library_call): Rename no_queue argument
75         to fn_type.
76         * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
77
78         * tree.h (DECL_IS_PURE): New macro.
79         (struct tree_decl): Add pure_flag.
80         * c-common.c (enum attrs): Add attribute "pure".
81         (init_attributes): Initialize attribute "pure"
82         (decl_attributes): Handle attribute "pure".
83         * extend.texi (Attribute "pure"): Document.
84         * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
85         in pure function.
86         (flags_from_decl_or_type): Support attribute "pure".
87
88 2000-04-13  Jason Merrill  <jason@casey.cygnus.com>
89
90         * cpplex.c (_cpp_lex_token): Handle digraphs.  Don't null-terminate
91         the token except for numbers and identifiers.
92
93 Thu Apr 13 00:09:16 EDT 2000  John Wehle  (john@feith.com)
94
95         * i386.c (ix86_expand_binary_operator,
96         ix86_expand_unary_operator): Check no_new_pseudos
97         instead of reload_in_progress and reload_completed.
98         (ix86_split_ashldi, ix86_split_ashrdi,
99         ix86_split_lshrdi): Check no_new_pseudos instead
100         of reload_completed.
101
102 2000-04-12  Jeffrey A Law  (law@cygnus.com)
103
104         * function.c (purge_addressof): Unshare any shared rtl created by
105         purge_addressof and its children.
106
107 2000-04-12  Mark Mitchell  <mark@codesourcery.com>
108
109         * function.c (aggregate_value_p): VOID_TYPE nodes are never
110         aggregates.
111
112 2000-04-05  Andreas Jaeger  <aj@suse.de>
113
114         * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
115         not compiling PIC code, add flags for mabi=64.
116         (SUBTARGET_CPP_SIZE_SPEC): New.
117         (SUBTARGET_CPP_SPEC): New.
118         (CPP_PREDEFINES): Define __PIC__ and __pic__.  PIC code is default
119         for MIPS/Linux and lots of code needs these defines.
120
121 Wed Apr 12 22:44:11 2000  Hans-Peter Nilsson  <hp@axis.com>
122
123         * reorg.c (fill_slots_from_thread): Check side_effects_p when
124         trying the "opposite arithmetic" approach.
125
126 Wed Apr 12 20:51:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
127
128         * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
129         (struct sh_args): Add new field force_mem.
130         (INIT_CUMULATIVE_ARGS): Initialize it.
131         (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
132
133 Wed Apr 12 17:20:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
134
135         * calls.c (expand_call): Do not reverse args in "equal from" field.
136         (emit_library_call_value_1): Emit_libcall_block for const and pure
137         function.
138
139 Wed Apr 12 16:00:25 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
140
141         * reload1.c (reload_combine): Don't enable optimization for fixed
142         registers when encountering a BARRIER.
143
144 Wed Apr 12 15:54:11 MET DST 2000  Jan Hubicka  <jh@suse.cz>
145
146         * builtins.c (expand_builtin_memcmp): Do expansion even with
147         !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
148
149         * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
150         stack is propertly aligned; add sanity checking for aligned
151         stack pointer.
152         (expand_library_call_value_1): Add sanity checking for aligned
153         stack pointer.
154
155 Wed Apr 12 07:51:54 2000  Catherine Moore  <clm@cygnus.com>
156  
157         * calls.c (emit_library_call_value_1): Change 3rd arg to
158         locate_and_pad_parm to disregard the setting of partial.
159
160 Wed Apr 12 08:47:38 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
161
162         * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
163
164         * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
165         CALL_INSN from the normal case.
166
167 Fri Apr  7 12:23:04 MET DST 2000  Jan Hubicka  <jh@suse.cz>
168
169         * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
170         New global variables.
171         (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
172         adjustment.
173         * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
174         Declare,
175         (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
176          TARGET_ADD_ESP_8): New macros.
177         * i386.md: Add peep2s to convert esp adjustments to push and pop
178         instructions.
179         (pushsi_prologue, popsi_epilogue): New patterns.
180
181 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
182
183         * real.c (toe64): Remove stale #endif from the last change.
184
185 2000-04-12  Stephen L Moshier  <moshier@mediaone.net>
186
187         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
188         * real.c (toe64): Revert previous change.
189
190 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
191
192         * objc/objc-act.c: Include ggc.h.
193         (objc_tree_index, objc_global_trees): Convert most of the
194         static tree variables into a static array with previous names
195         as defines.
196         (objc_ellipsis_node): New variable.
197         (lang_init): Call objc_act_parse_init and c_parse_init.
198         Create objc_ellipsis_node.
199         (build_selector_translation_table): Use objc_ellipsis_node instead
200         of (tree)1.
201         (hack_method_prototype): Likewise.
202         (get_arg_type_list): Likewise.
203         (start_method_def): Likewise.
204         (continue_method_def): Likewise.
205         (gen_method_decl): Likewise.
206         (ggc_mark_imp_list): New function.
207         (ggc_mark_hash_table): New function.
208         (objc_act_parse_init): New function.
209         * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
210         * c-parse.in (c_parse_init): For objc add roots of objc specific
211         local tree variables.
212         * objc/objc-parse.y: Rebuilt.
213         * objc/objc-parse.c: Rebuilt.
214         (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
215
216 Wed Apr 12 01:00:44 EDT 2000  John Wehle  (john@feith.com)
217
218         * cse.c (delete_trivially_dead_insns): Also delete insns
219         that copy a register to itself where the destination is
220         a strict_low_part.
221
222 2000-04-11  Richard Henderson  <rth@cygnus.com>
223
224         * flow.c (struct propagate_block_info): Add new_dead, new_live.
225         (propagate_block): Initialize them.  Use them in parallel instead
226         of one tmp variable, ie revert much of the 0408 and 0407 functional
227         changes, but keep the structural changes.
228         (mark_set_regs): Take new_dead from propagate_block_info instead.
229         (mark_set_1, mark_set_reg): Likewise.
230         (mark_used_regs): Likewise with new_live.
231         (mark_used_reg): Likewise.  Revert 0408 change.
232
233 2000-04-11  Nick Clifton  <nickc@cygnus.com>
234
235         * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
236         restriction.
237         (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
238
239 2000-04-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
240
241         * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
242         const section to output a CONSTRUCTOR based on the same conditions
243         used for VAR_DECLs.
244
245 Tue Apr 11 09:55:59 2000  Jeffrey A Law  (law@cygnus.com)
246
247         * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
248         * pa/pa-protos.h (output_call): Add additional argument indicating
249         if the call is a sibling/tail call.
250         (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
251         (compute_64bit_ior, cmpib_comparison_operator): Likewise.
252         (function_arg, function_arg_partial_nregs): Likewise
253         * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
254         (emit_move_sequence): Zero extend certain constants as needed
255         for TARGET_64BIT.
256         (compute_zdepdi_operands, output_64bit_and): New functions.
257         (output_64bit_ior, function_arg): Likewise.
258         (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
259         (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
260         (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
261         (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
262         (output_bvb): Likewise.
263         (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
264         (output_call): New argument 'sibcall'.  Generate sibcall sequences
265         as needed.
266         (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT.  For
267         (ouput_arg_descriptor): Do not emit argument descriptors for
268         TARGET_64BIT.
269         * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
270         defined.
271         (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
272         (FUNCTION_OK_FOR_SIBALL): Define.
273         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
274         (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
275         (CPP_SPEC): Use new spec infrastructure.
276         (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
277         (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
278         (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
279         (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
280         (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
281         (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
282         (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
283         (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
284         (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
285         (FUNCTION_ARG); Call out to C code.
286         (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
287         (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
288         (MIN_UNITS_PER_WORD): Likewise.
289         * pa/pa.md (cmpdi): New expander.
290         (scc patterns, movstrsi): Not available for TARGET_64BIT.
291         (64bit conditional arithmetic): New patterns.
292         (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
293         (movsicc): Not available if modes on all the operands to not match.     
294         (movdicc): New expander and associated patterns.
295         (64bit branches): New patterns.
296         (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
297         (pre_ldd, post_std): New patterns.
298         (64bit addil, load low part): New patterns.
299         (special movsf constant): Not available for TARGET_64BIT.
300         (movsf, movdf expanders): Force constants into memory.
301         (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
302         (64bit movdf/movdi patterns): New patterns.
303         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
304         for TARGET_64BIT.
305         (extendqidi2, extendhidi2, extendsidi2): Similarly.
306         (adddi3 expander): Allow "arith_operand" for second input.
307         (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
308         (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
309         (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
310         (muldi3): New expander for TARGET_64BIT.
311         (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
312         for TARGET_64BIT.
313         (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
314         patterns for TARGET_64BIT.
315         (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
316         patterns for TARGET_64BIT.
317         (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
318         (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
319         (sibcall_epilogue): New expander.
320         (casesi): Tweak for TARGET_64BIT.
321         (call expanders): Set & use the outgoing argument pointer.  Use the
322         64bit call patterns as needed. Add additional arg to output_call.
323         (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
324         (sibcall, sibcall_internal_symref): New expanders.
325         (sibcall_value, sibcall_value_internal_symref
326         (interspace_jump): Turn into an expander + matching patterns.
327         (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
328         * pa/pa64-regs.h: Eliminate trigraph sequences.
329         * pa/pa64-start.h (TARGET_PA_20): Fix typo.
330
331 2000-04-11  Zack Weinberg  <zack@wolery.cumb.org>
332
333         * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
334         cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
335         cpp_token with cpp_ttype everywhere.
336         * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
337         Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
338         CPP_BUF_COL.  Line and column numbers are unsigned int, not
339         long.
340         * cpplex.c (cpp_buf_line_and_col): Delete.
341         * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
342         'long lineno' to 'unsigned int lineno'.
343         (CPP_BUF_LINE, CPP_BUF_COL): New macros.
344
345 2000-04-11  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
346
347         * extend.texi: ISO C99 is not a draft anymore.
348         * invoke.texi: ISO C++ is not a draft anymore.
349         * cpp.texi: __cplusplus is required by the ISO standard.
350
351         * extend.texi (-fthis-is-variable): Undocument.
352         * flags.h (warn_template_debugging): Remove declaration.
353         * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
354         -Wenum-clash, -Wtemplate-debugging): Undocument.
355
356 2000-04-10  Nick Clifton  <nickc@cygnus.com>
357
358         * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
359         integer.
360         (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
361         integer.
362         (ARM_SIGN_EXTEND): Use HOST_UINT.
363         (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
364         (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
365         (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
366         (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
367
368         * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
369         (arm_gen_constant): Use HOST_UINT.
370         (arm_canonicalize_constant): Use HOST_UINT.
371         (arm_reload_in_hi): Use HOST_UINT.
372         (arm_reload_out_hi): Use HOST_UINT.
373         (output_multi_immediate): Use HOST_UINT.
374         (int_log2): Use HOST_UINT.
375         (arm_poke_function_name): Use HOST_UINT.
376         (arm_output_epilogue): Use arm_volatile_func().
377         (output_thumb_prologue): Use arm_strip_name_encoding().
378         
379 Mon Apr 10 15:40:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
380
381         * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
382         of sequence point problems.
383
384 2000-04-10  Nathan Sidwell  <nathan@codesourcery.com>
385
386         * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
387         Recomment.
388         * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
389
390 Mon Apr 10 07:21:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
391
392         * sbitmap.h: Whitespace changes and use upper-case macro args.
393         (struct simple_bitmap_def): All sizes now unsigned.
394         (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
395         * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
396         (sbitmap_vector_alloc): Parms and local vars now unsigned.
397         (sbitmap_zero): Cast bzero arg to PTR.
398         (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
399         (sbitmap_union_of_diffs): Change loop index to unsigned and rework
400         loop to make structure clearer.
401         (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
402         (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
403         (sbitmap_a_and_b_or_c): Likewise.
404         (sbitmap_intersection_of_succs): Minor cleanups.
405         (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
406         (sbitmap_union_of_preds): Likewise.
407         (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
408         (debug_sbitmap): New function.
409         
410         * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
411         * c-typeck.c (convert_for_assignment): Likewise.
412
413         * expmed.c (init_expmed): Don't free objects we make.
414         * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
415
416         * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
417         (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
418
419         * gcse.c (expr_hash_table_size): Now unsigned.
420         (compute_ae_gen): Local variable `i' now unsigned.
421         (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
422         (compute_transout, hoist_code): Likewise.
423         (compute_local_properties): Likewise, also hash_table_size.
424         (alloc_expr_hash_table): N_INSNS now unsigned.
425         (delete_null_pointer_checks): Mark arg F as unused.
426
427         * regrename.c: Minor cleanups, including chang some variables
428         to unsigned int.
429
430 2000-04-10  Neil Booth  <NeilB@earthling.net>
431
432         * cpplex.c (skip_block_comment): Use pointer arithmetic rather
433         than GETC ().
434         * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
435
436 2000-04-10  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
437
438         * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
439         __classof__, and __headof__ from the list of gnu keywords.
440         (-ansi): Remove -foperator-names from list of implied options. 
441         Do not call it ANSI C++.
442         (-foperator-names): Document as -fno-operator-names.
443
444 2000-04-09  Zack Weinberg  <zack@wolery.cumb.org>
445
446         * cpphash.c (timestamp): Delete.
447         (del_HASHNODE): If type is T_MCONST, free value.cpval.
448         (special_symbol): Remove unnecessary braces.  Remove
449         T_VERSION.  Treat T_STDC like T_CONST unless
450         STDC_0_IN_SYSTEM_HEADERS.  Render both __DATE__ and __TIME__
451         when one is encountered, then convert them into T_MCONST
452         nodes.
453         * cppinit.c (builtin_array): version_string is T_MCONST.
454         __STDC__ has a "1" in its cpval.  Don't have a terminator
455         entry.  Clean up which entries are dumped.
456         (initialize_builtins): Only __STDC__ gets the special
457         -traditional treatment.  Count the length of builtin_array.
458         Render version_string here.
459         * cpphash.h: Remove T_VERSION.  Add T_MCONST.
460         * cpplib.h (struct cpp_reader): Remove timebuf. 
461
462 2000-04-09  Richard Henderson  <rth@cygnus.com>
463
464         * genrecog.c (pred): Update comparison_operator for the unordered
465         operators.
466
467         * config/i386/i386.c (no_comparison_operator): Disallow unordered
468         operators.
469         (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
470         (uno_comparison_operator): New.
471         (put_condition_code): Handle UNORDERED/ORDERED.
472         (unsigned_comparison): Likewise.
473         (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
474         (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
475         (ix86_expand_fp_compare): Use them.  Take scratch as argument,
476         update all callers.  Handle all 8 unordered operators.
477         (ix86_expand_setcc): Lose the unordered argument, update all callers.
478         (ix86_expand_branch): Likewise.  Don't fully expand fp branches.
479         * config/i386/i386.h (PREDICATE_CODES): Update.
480         * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
481         (ix86_expand_branch, ix86_expand_setcc): Update.
482         * config/i386/i386.md (sunordered, sordered): New.
483         (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
484         (bunordered, bordered): New.
485         (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
486         (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
487         (*fp_jcc_5, *fp_jcc_6, and splitters): New.
488
489 2000-04-09  Philip Blundell  <philb@gnu.org>
490
491         * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
492         
493 Sun Apr  9 15:16:14 EDT 2000  John Wehle  (john@feith.com)
494
495         * i386.md (fix_truncsfhi2, fix_truncdfhi2,
496         fix_truncxfhi2): New patterns.
497         * i386.c (output_fix_trunc): Handle converting to HImode.
498
499 2000-04-08  Alex Samuel  <samuel@codesourcery.com>
500
501         * ssa.c (convert_to_ssa): Eliminate dead code when calling
502         life_analysis.  
503         (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
504         (for_each_successor_phi): Change parameter to basic_block.
505         (coalesce_regs_in_successor_phi_nodes): Likewise.
506         (coalesce_regs_in_copies): Likewise.
507         (compute_coalesced_reg_partition): Use basic_block instead of index.
508         * rtl.h (convert_to_ssa): Delete.
509         (convert_from_ssa): Likewise.
510         (successor_phi_fn): Likewise.
511         (for_each_successor_phi): Likewise.
512         (in_ssa_form): Likewise.
513         * basic-block.h (convert_to_ssa): Moved from rtl.h.
514         (convert_from_ssa): Likewise.
515         (successor_phi_fn): Likewise.
516         (in_ssa_form): Likewise.
517         (for_each_successor_phi): Likewise.  Change parameter to basic_block. 
518         * flow.c (calculate_global_regs_live): Pass a basic_block to
519         for_each_successor_phi.
520
521 2000-04-08  Richard Henderson  <rth@cygnus.com>
522
523         * flow.c (mark_used_reg): Use reg_set_p to determine if a register
524         was modified in the current insn.
525
526 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
527
528         * arm/thumb.md: Delete.
529         * arm/thumb-protos.h: Delete.
530
531 2000-04-08  Richard Earnshaw (rearnsha@arm.com)
532
533         Merge changes from merged-arm-thumb-backend-branch onto trunk.
534
535         2000-04-08  Richard Earnshaw (rearnsha@arm.com)
536
537         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
538         into branch.
539
540         * arm.md (nop): Use the standard RTL expression.  Don't code as a
541         define_expand.
542         (*arm_nop, *thumb_nop): Delete.
543
544         * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
545         constants.  Use casts instead.
546         (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
547         output_multi_immediate, arm_poke_function_name): Likewise.
548         * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
549         MASK_RETURN_ADDDR): Likewise.
550
551         2000-03-31  Richard Earnshaw (rearnsha@arm.com)
552
553         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325 
554         into branch.
555         
556         * arm.md (eh_epilogue): New function.
557         * arm.h (struct machine_function): Move to here ...
558         * arm.c: ... from here.
559         (arm_output_epilogue): Support epilogues for __builtin_eh_return.
560         (thumb_exit): Extra parameter eh_ofs.  All callers changed.
561         Handle epilogues for __builtin_eh_return.  Make bit-fields unsigned.
562
563         2000-03-30  Nick Clifton  <nickc@cygnus.com>
564
565         * config/arm/semi.h (ASM_SPEC): Restore definition.
566         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
567
568         * config/arm/elf.h (ASM_SPEC): Restore definition.
569         (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
570
571         * config/arm/arm.h (ASM_SPEC): Remove definition.
572         (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
573
574         2000-03-26  Bernd Schmidt <bernds@cygnus.co.uk>
575
576         * config/arm/arm.c: Disable -fschedule-insns for Thumb.
577
578         2000-03-24  Nick Clifton  <nickc@cygnus.com>
579
580         Various formating tidyups, elimination of compile time
581         warnings and synchronisation with internal sources:
582         
583         * config/arm/arm-protos.h (assemble_align): Add prototype.
584         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
585         (gen_comapre_reg): Rename to arm_gen_compare_reg.
586         (arm_return_addr_rtx): Rename to arm_return_addr.
587
588         * config/arm/arm.c: Include except.h.
589         Define shorter typenames for strict minipool_node and struct
590         minipool_fix.
591         (arm_return_in_memory): For WinCE return all structures <= 32 bits
592         in memory.
593         (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
594         (gen_comapre_reg): Rename to arm_gen_compare_reg.
595
596         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
597         already defined.
598         (ASM_SPEC): Define if not already defined.
599         (ASM_OUTPUT_DEF_FROM_DECLS): Define.
600
601         * config/arm/arm.md: Rename references to gen_rotated_half_load to
602         arm_gen_rotated_half_load, and references to gen_comapre_reg to
603         arm_gen_compare_reg.
604         (indirect_jump):  Only accept register operands.
605         (load_indirect_jump): Keep this pattern since combine can generate
606         it.
607
608         * config/arm/coff.h: Include aout.h.
609         (MULTILIB_DEFAULTS): Only define if not already defined.
610
611         * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
612         into arm.h (so that COFF ports can support thumb based aliases).
613         (ASM_SPEC): Move definition into arm.h
614         
615         * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
616         redundant apcs spec.
617         (ASM_SPEC): Move definition to arm.h
618
619         * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
620
621         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
622         for entries in the .bss section
623
624         2000-03-23  Nick Clifton  <nickc@cygnus.com>
625
626         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
627         to thumb_far_jump_used_p.
628
629         * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
630         single integer parameter.
631
632         * config/arm/arm.c (struct machine_function): Add two new
633         fields, 'far_jump_used' and 'arg_pointer_live'.
634         (thumb_far_jump_used_p): Once the decision has been made that
635         far jumps might be used, always return true.
636         If being called from the initial elimination offset macro then
637         do not bother to perform the test if the arg pointer is not
638         being used.
639         (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
640         (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
641
642         2000-03-23  Richard Earnshaw (rearnsha@arm.com)
643
644         * arm.c (output_return_instruction): Handle more cases where we can
645         return from a function with an ldr instruction.
646         (arm_output_epilogue): Likewise.
647
648         * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
649         if we need to push a large stack frame and there are no callee-saved
650         registers.
651
652         * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
653         in ARM code if the frame pointer has been eliminated.
654
655         * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
656         unspec_volatile arguments to avoid duplicates.
657         (consttable_1, consttable_2): Fixes for big-endian mode.
658
659         * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
660         as appropriate.
661
662         Re-write constant pool code.
663         * arm.c (minipool_node, minipool_fix): New types.
664         (minifix): Delete type.
665         (arm_add_minipool_constant): Delete.
666         (arm_compute_minipool_offsets, arm_find_barrier, 
667         arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
668         (get_jump_table_size): Now returns HOST_WIDE_INT.
669         (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
670         functions.
671         (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
672         (assign_minipool_offsets, arm_print_value): Likewise.
673         (dump_minipool): Rewrite.
674         (arm_barrier_cost): New function.
675         (create_fix_barrier): New function.
676         (push_minipool_barrier): New function.
677         (push_minipool_fix): Record additional information about the fixup 
678         required.
679         (note_invalid_constants): Remove push for (UNSPEC 3).  Don't
680         check the mode of what needs fixing.
681         (arm_reorg): Rewrite.
682
683         2000-03-08  Nick Clifton  <nickc@cygnus.com>
684
685         * config/arm/arm.md (indirect_jump): Force constant addresses into
686         a register. 
687
688         2000-03-01  Bernd Schmidt <bernds@cygnus.co.uk>
689
690         * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
691
692         2000-02-24  Nick Clifton  <nickc@cygnus.com>
693
694         * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
695         adjust is word aligned.
696         (thumb_expand_epilogue): Make sure that stack adjust is word
697         aligned.
698
699         * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
700         
701         2000-02-24  Bernd Schmidt <bernds@cygnus.com>
702
703         * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
704         pointer relative addresses.
705
706         2000-02-10  Richard Earnshaw  <rearnsha@arm.com>
707
708         * arm.c (find_barrier): Find the last barrier within the allowed 
709         range.
710
711         2000-02-09  Nick Clifton  <nickc@cygnus.com>
712
713         * config/arm/arm-protos.h: Replace PROTO with PARAMS.
714
715         2000-02-09  Nick Clifton  <nickc@cygnus.com>
716
717         * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
718         ARM_FUNCTION_PROFILER. 
719
720         * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
721         ARM_FUNCTION_PROFILER. 
722
723         * config/arm/linux-oldld.h: Imported from mainline sources.
724
725         2000-02-07  Nick Clifton  <nickc@cygnus.com>
726
727         * config/arm/lib1funcs.asm: Merge in thumb functions from
728         lib1thumb.asm.
729         
730         * config/arm/lib1thumb.asm: Delete.
731
732         2000-02-04  Nick Clifton  <nickc@cygnus.com>
733
734         * config/arm/arm.c: Sychronised with current Red hat local
735         sources. 
736         * config/arm/arm.h: Ditto.
737         * config/arm/arm-protos.h: Ditto.
738
739         2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
740
741         * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
742
743         * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
744         byte stores.
745
746         2000-02-02  Nick Clifton  <nickc@cygnus.com>
747
748         * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
749
750         * config/arm/arm.md (epilogue): Fix rtl checking abort because
751         (return) was emited using an emit_insn() call. 
752         
753         2000-01-31  Nick Clifton  <nickc@cygnus.com>
754
755         * config/arm/arm.c (output_thumb_prologue): Fix bug generating
756         thumb stack frame.
757         (thumb_exit): Move frame pointer back into hard frame pointer
758         register if backtracing is being used.
759
760         2000-01-13  Richard Earnshaw (rearnsha@arm.com)
761
762         * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113 
763         into branch.
764
765         1999-12-15  Bernd Schmidt  <bernds@cygnus.co.uk>
766
767         * config/arm/arm.md (neg_pool_offset): Provide default for new
768         attribute.
769         (arm_movsi_insn): Add neg_pool_offset attribute.
770         * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
771         rtx for the insn that starts the scan and an unsigned long for its
772         address.  Add MIN_OFFSET and PINSERTED args.  All callers changed.
773         Change scan to ignore insns before MIN_OFFSET.  Store size of inserted
774         instructions in *PINSERTED.
775         (struct minipool_fixup): Add MIN_ADDRESS elt.
776         (sort_fixups): Compute it.
777         (arm_reorg): Changes to support inserting pools before the insn to be
778         fixed up.
779
780         1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
781
782         * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
783         * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
784         * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
785
786         Wed Nov  3 10:04:07 1999  Nick Clifton  <nickc@cygnus.com>
787
788         * config/arm/semi.h (TARGET_VERSION): Do not define if already
789         defined.
790         (TARGET_DEFAULT): Do not define if already defined.
791
792         Tue Nov  2 10:37:25 1999  Nick Clifton  <nickc@cygnus.com>
793
794         * config/arm/arm.md (anddi3): Allow disjoint source operands.
795         (iordi3): Allow disjoint source operands.
796         (xordi3): Allow disjoint source operands.
797         (negdi2): Permit construction for ARM and Thumb.
798         (arm_negdi2): Renamed version of old negdi2 pattern.
799         (thumb_negdi2): New pattern: Only permit non-overlapping
800         source and destination.
801
802         Fri Oct 29 18:52:38 1999  Nick Clifton  <nickc@cygnus.com>
803
804         * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
805         scratch low register so that it will not be deleted.
806
807         Fri Oct 29 15:23:48 1999  Nick Clifton  <nickc@cygnus.com>
808
809         * config/arm/pe.h (ARM_PE): Define.
810         
811         * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
812         interfacearm attribute if this is a PE toolchain.
813         (output_return_instruction): Do not emit anything if the function
814         has the naked attribute set.
815         (is_called_in_ARM_mode): If the function has the interfacearm
816         attribute then return true.
817         (thumb_expand_prologue): Do not generate a prologue for naked
818         functions.
819         (thumb_expand_epilogue): Do not generate an epilogie for a naked
820         function.
821         (output_thumb_prologue): Do not bother if the function is naked.
822         Strip PE encoding from function name before emitting.
823
824         Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
825
826         * arm.md (pic_load_addr): Fix constraints.
827
828         * arm.md (casesi_insn): Fix mis-applied patch.
829
830         * arm.md ("core" function unit): Add rules for single- and
831         multi-cycle insns.
832         (All TARGET_THUMB patterns): Add "type" attribute information
833         where needed.
834         * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
835         the following insn is a CALL.
836
837         * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
838         pointer.
839         * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the 
840         ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
841         (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
842         
843         Wed Oct 27 14:40:48 1999  Nick Clifton  <nickc@cygnus.com>
844
845         * config/arm/linux-gas.h: oops - this file was missed out when the
846         branch was created...
847
848         Tue Oct 26 17:07:38 1999  Richard Earnshaw <rearnsha@arm.com>
849
850         * thumb.c: Deleted.  Move contents to ...
851         * arm.c: ... here.
852         * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
853         rule for thumb.o
854         * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
855         * configure: Regen.
856
857         * arm-protos.h: Use RTX_CODE and tidy up long lines.  Don't
858         declare a prototype for asm_output_align();
859
860         * arm.c (thumb_condition_code): Delete.
861         (arm_print_operand): Always use arm_condition_code array.
862
863         * arm.c (thumb_return_addr_rtx): Delete.
864         (arm_save_machine_status, arm_restore_machine_status): Delete.
865         (arm_init_machine_status, arm_mark_machine_status): New functions.
866         (arm_init_expanders): Update accordingly.
867         (arm_return_addr): Renamed from arm_return_addr_rtx.  Rewrite.
868         (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
869         * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
870         
871         Tue Oct 26 13:24:16 1999  Nick Clifton  <nickc@cygnus.com>
872
873         * configure.in : Fix arm-*-aout target to use new t-arm-aout
874         script. 
875         * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
876         targets.
877
878         Tue Oct 26 11:27:12 1999  Nick Clifton  <nickc@cygnus.com>
879
880         * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
881         stack backtrace structure.
882
883         * config/arm/arm-protos.h: Add prototypes for functions defined in
884         arm/pe.h.
885         
886         * config/arm/arm.c (arm_override_options): Fix selection of 
887         attributes of default processor.
888         
889         * config/arm/coff.h: Delete needless #include.
890         
891         * config/arm/pe.c: Delete unused code.
892         
893         * config/arm/pe.h (CPP_DEFINES): Delete
894         (SUBTARGET_CPP_SPEC): Define.
895         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
896         
897         * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
898
899         Mon Oct 25 15:42:09 1999  Richard Earnshaw (rearnsha@arm.com)
900
901         * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
902         updated.
903         (CAN_DEBUG_WITHOUT_FP): Define.
904         (FIXED_REGISTERS): Make r11 call-saved.
905         (CALL_USED_REGISTERS): Likewise.
906         (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
907         (FRAME_POINTER_REQUIRED): Correct logic for determining when a 
908         frame-pointer is required.
909         (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
910         * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
911         if the target normally needs a stack frame in non-leaf functions.
912         (use_return_insn): Correct logic for determining when a return
913         instruction can be used.
914         (output_return_instruction): Handle the frame-pointer register as
915         a normal register when not TARGET_APCS_FRAME.
916         (arm_output_prologue): Likewise.
917         (arm_output_epilogue): Likewise.
918         (output_func_epilogue): Likewise.
919         (arm_expand_prologue): Likewise.
920         * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
921
922         * arm.c (use_return_insn): No need to check floating point regs if
923         TARGET_SOFT_FLOAT.
924         (arm_find_minipool_constant): Correct typo; use GET_CODE to get
925         the code of value stored in the minipool array.
926         (arm_add_minipool_constant): Likewise.
927
928 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
929
930         * basic-block.h (conflict_graph_enum_fn): K&R fix.
931
932 2000-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
933
934         * tree.c (tree_expr_nonnegative_p): New function.
935
936         * tree.h (tree_expr_nonnegative_p): Declare.
937
938         * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
939         elide some sign_compare warnings.
940         (build_conditional_expr): Likewise.
941
942 Sat Apr  8 00:21:51 EDT 2000  John Wehle  (john@feith.com)
943
944         * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
945
946         * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
947         * i386.c (print_operand): Use the proper suffix for a 387 HImode
948         operand.  Abort if a 387 operand has an unsupported size.
949
950 2000-04-08  Neil Booth  <NeilB@earthling.net>
951
952         * cppexp.c (parse_charconst): Null does not end character
953         constants.
954         * cppinit.c (ISTABLE): Null character handled as whitespace.
955         * cpplex.c (null_warning):  new function.
956         (skip_string): Emit warning if nulls encountered.
957         (_cpp_skip_hspace): Emit warning if nulls encountered.
958         (_cpp_lex_token): Emit warning if nulls encountered.  Drop
959         them.
960         * cpp.texi: Update.
961
962 2000-04-07  Richard Henderson  <rth@cygnus.com>
963
964         * flow.c (loop_depth): Remove.
965         (reg_next_use, cc0_live, mem_set_list): Replace with ...
966         (struct propagate_block_info): New.
967         (life_analysis): Don't allocate reg_next_use.
968         (propagate_block_delete_insn): Break out of propagate_block.
969         Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
970         (propagate_block_delete_libcall): Likewise.
971         (propagate_block): Create a propagate_block_info struct to pass
972         to subroutines.  Allocate one not two temporary regsets.  Don't
973         clobber memory for const calls.  Look for clobbers in
974         CALL_INSN_FUNCTION_USAGE.
975         (mark_set_regs): Recognize COND_EXEC.
976         (mark_set_reg): Break out of mark_set_1.
977         (mark_used_reg): Break out of mark_used_regs.
978         (mark_used_regs): Recognize COND_EXEC.
979         (insn_dead_p): Use propagate_block_info struct.
980         (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
981         (find_auto_inc, try_pre_increment_1): Likewise.
982         (print_rtl_with_bb): Dump regs live at end too.
983         (count_reg_sets_1): Pass in loop_depth.
984         (count_reg_sets, count_reg_references): Likewise.
985         (recompute_reg_usage): Provide it.
986
987 2000-04-07  Richard Henderson  <rth@cygnus.com>
988
989         * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
990         not the raw files.
991
992 2000-04-07  Zack Weinberg  <zack@wolery.cumb.org>
993
994         * cpplib.c (do_elif): Skip the rest of the line if we're
995         not going to bother evaluating it.
996         (skip_if_group): Clear pfile->only_seen_white.  Reorder loop
997         to avoid pointless calls to the lexer.
998
999 Fri Apr  7 11:50:54 2000  Jim Wilson  <wilson@cygnus.com>
1000
1001         * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
1002
1003 2000-04-07  Jason Merrill  <jason@casey.cygnus.com>
1004
1005         * calls.c (expand_call): emit_queue if we're trying a sibcall.
1006
1007 2000-04-07  Jakub Jelinek  <jakub@redhat.com>
1008
1009         * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
1010
1011 2000-04-06  Geoff Keating  <geoffk@cygnus.com>
1012
1013         * Makefile.in: Build crtbeginS and crtendS like crtbegin and
1014         crtend so they can be multilibbed.
1015         (STAGESTUFF): Remove s-crt and s-crtS.
1016
1017 2000-04-07  Richard Henderson  <rth@cygnus.com>
1018
1019         * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
1020         if we discover we need a pseudo and no_new_pseudos is true.
1021         * config/alpha/alpha.md (ne:DI insn): New.
1022         (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
1023
1024 2000-04-07  Richard Henderson  <rth@cygnus.com>
1025
1026         * rtl.def (COND_EXEC): New.
1027         * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
1028         * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
1029
1030         * genconfig.c (have_cond_arith_flag): Remove.
1031         (have_cond_exec_flag): New.
1032         (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
1033         (main): Print HAVE_conditional_execution.
1034
1035         * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
1036         (sched_analyze_insn, print_pattern): Likewise.
1037         * reload.c (find_equiv_reg): Likewise.
1038         * rtlanal.c (reg_referenced_p): Likewise.
1039         (note_stores, dead_or_set_regno_p): Likewise.
1040         (reg_overlap_mentioned_p): Rewrite to use a switch.
1041
1042         * ggc.h (struct rtx_def): Forward declare.
1043
1044         * print-rtl.c (debug_rtx_range): New.
1045         * rtl.h (debug_rtx_range): Declare.
1046
1047         * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
1048
1049         * gcse.c (gcse_main): Don't rebuild the CFG here.
1050         (delete_null_pointer_checks): Likewise.
1051         * ssa.c (convert_to_ssa): Likewise.
1052         * toplev.c (rest_of_compilation): Do it here instead.  Combine
1053         sequential calls to TIMEVAR.  Consistently use `insns' instead of
1054         `get_insns()'.  Always split insns after reload when optimizing.
1055
1056         * basic-block.h (merge_blocks_nomove): Declare.
1057         (tidy_fallthru_edge): Declare.
1058         * flow.c (merge_blocks_nomove): Document as merging into previous
1059         blocks.  Remove cruft from between blocks; remove all edges out of A.
1060         (tidy_fallthru_edge): Export.
1061
1062 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
1063
1064         * ssa.c (compute_conservative_reg_partition): Declare with
1065         void arguments.
1066         * toplev.c (clean_dump_file): Remove previously-deleted function
1067         inadvertantly merged back in.
1068         * conflict.c (conflict_graph_add): Use a single call to
1069         htab_find_slot to look up and insert.
1070
1071 2000-04-06  Richard Henderson  <rth@cygnus.com>
1072
1073         * genrecog.c (*): Rename _last_insn to last_insn.
1074         (make_insn_sequence): Set the position of the peephole2 C test
1075         to be at the last insn.
1076
1077 2000-04-06  Richard Henderson  <rth@cygnus.com>
1078
1079         * flow.c (compute_flow_dominators): Free worklist.
1080
1081 2000-04-06  Michael Matz  <matzmich@cs.tu-berlin.de>
1082
1083         * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
1084
1085 2000-04-06  Alex Samuel  <samuel@codesourcery.com>
1086
1087         * rtl.h (INSN_P): New macro.
1088         (successor_phi_fn): New typedef.
1089         (for_each_successor_phi): New prototype.
1090         (in_ssa_form): New variable.
1091         (PHI_NODE_P): Likewise.
1092         * flow.c (calculate_global_regs_live): Add to new_live_at_end from
1093         phi nodes in successors.
1094         (mark_used_regs): Add PHI case.
1095         (set_phi_alternative_reg): New function.
1096         (life_analysis): Assert that dead code elimination is not selected
1097         when in SSA form.
1098         * toplev.c (to_ssa_time): New variable.
1099         (from_ssa_time): Likewise.
1100         (compile_file): Zero to_ssa_time and from_ssa_time.
1101         Print time to convert to and from SSA.
1102         (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
1103         (print_time): Compute percent fraction as integer.
1104         * ssa.c (PHI_NODE_P): Moved to rtl.h.
1105         (convert_to_ssa): Check if we're already in SSA.  
1106         Don't eliminate dead code in life_analysis.
1107         Rerun flow and life analysis at bottom.
1108         (eliminate_phi): Use canonical regnos when adding nodes.
1109         (mark_reg_in_phi): New function.
1110         (mark_phi_and_copy_regs): Likewise.
1111         (convert_from_ssa): Rerun life analysis at top.  
1112         Use coalesced partition.
1113         Check for removing a phi node at the end of the block.
1114         (compute_coalesced_reg_partition): New function.
1115         (coalesce_regs_in_copies): Likewise.
1116         (coalesce_reg_in_phi): Likewise.
1117         (coalesce_regs_in_sucessor_phi_nodes): Likewise.
1118         (for_each_successor_phi): Likewise.
1119         (rename_context): New struct.
1120         (rename_block): Use a rename_context with rename_insn_1.  When
1121         renaming sets of a subreg, emit a copy of the entire reg first.
1122         (rename_insn_1): Treat data as a rename_context *.  Save current
1123         insn in set_data.
1124         (rename_set_data): Add field set_insn.
1125         * Makefile.in (HASHTAB_H): Move up in file.
1126         (OBSTACK_H): New macro.
1127         (collect2.o): Use OBSTACK_H in dependencies.
1128         (sdbout.o): Likewise.
1129         (emit-rtl.o): Likewise.
1130         (simplify-rtx.o): Likewise.
1131         (fix-header.o): Likewise.
1132         (OBJS): Add conflict.o.
1133         (conflict.o): New rule.
1134         * basic-block.h: Include partition.h.
1135         (conflict_graph): New typedef.
1136         (conflict_graph_enum_fn): Likewise.
1137         (conflict_graph_new): New prototype.
1138         (conflict_graph_delete): Likewise.
1139         (conflict_graph_add): Likewise.
1140         (conflict_graph_conflict_p): Likewise.
1141         (conflict_graph_enum): Likewise.
1142         (conflict_graph_merge_regs): Likewise.
1143         (conflict_graph_print): Likewise.
1144         (conflict_graph_compute): Likewise.
1145         * conflict.c: New file.
1146
1147 2000-04-06  Jason Merrill  <jason@yorick.cygnus.com>
1148
1149         * tlink.c (read_repo_files): Don't look for .rpo info for
1150         linker flags.
1151
1152 Thu Apr  6 20:39:26 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1153
1154         * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
1155
1156 Thu Apr  6 19:34:08 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1157
1158         * config/sh/lib1funcs.asm (___udivsi3_i4):
1159         ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
1160         only depends on FMOVD_WORKS.
1161
1162 Thu Apr  6 19:11:47 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1163
1164         * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
1165         make double constant 8-byte aligned.
1166
1167 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
1168
1169         * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
1170         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
1171         movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
1172         (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
1173         Accept storing GENERAL_REGS into offsetable memory.
1174         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
1175         building a TFmode constant other than 0.0L into GENERAL_REGS.
1176
1177 2000-04-06  Clinton Popetz  <cpopetz@cygnus.com>
1178
1179         * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
1180         
1181 2000-04-06  Zack Weinberg  <zack@wolery.cumb.org>
1182
1183         * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
1184         (macro_cleanup): No need to cast pbuf->macro.
1185         (collect_expansion): Use _cpp_get_define_token.  Goto done if
1186         it returns VSPACE.  Remove check for trailing space after
1187         CPP_COMMENT.
1188         (_cpp_create_definition): Don't diddle flags here.  Return
1189         directly on error.
1190         (unsafe_chars): Handle c1 being EOF.
1191         (push_macro_expansion): Use unsafe_chars for both accidental-paste
1192         checks.  Don't push the buffer till after we're done with
1193         them.
1194         * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
1195         (PEEKN, FORWARD, GETC, PEEKC): Use them.
1196         (cpp_push_buffer): Don't set new->alimit.  Set new->mark
1197         appropriately.
1198         (_cpp_parse_assertion): Don't NUL terminate.
1199         (_cpp_lex_token): Fix -traditional macro handling.  Don't skip
1200         hspace before calling _cpp_parse_assertion.  Remove all sets
1201         of only_seen_white. Treat '\f' as hspace.  Don't do anything
1202         special with '\n' here.
1203         (maybe_macroexpand): Handle T_EMPTY hash entries without
1204         pushing a buffer at all.
1205         (cpp_get_token): Handle clearing only_seen_white here.  Handle
1206         incrementing the line number here.  Clear
1207         potential_control_macro as well as only_seen_white, if
1208         appropriate.
1209         (cpp_get_non_space_token): Don't eat CPP_POP tokens.
1210         (_cpp_get_define_token): New function, basically like
1211         _cpp_get_directive_token was but doesn't eat horizontal space.
1212         Don't do anything with only_seen_white here.
1213         (_cpp_get_directive_token): Just call _cpp_get_define_token
1214         repeatedly till it returns non-hspace.
1215
1216         * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
1217         (conditional_skip, skip_if_group): Return int.
1218         (DIRECTIVE_TABLE): Change origin of all conditional directives
1219         to "COND".
1220         (TRAD_DIRECT_P): New macro.
1221         (_cpp_handle_directive): Use _cpp_get_directive_token.  Issue
1222         an error for a bogus directive, unless -lang-asm.  Use
1223         TRAD_DIRECT_P. Loop calling handler functions till one returns
1224         zero.
1225         (get_macro_name): Don't diddle flags here.
1226         (do_define): Diddle flags here.  Use _cpp_get_directive_token.
1227         Create T_EMPTY nodes for #define macro /* nothing */.
1228         (do_undef): Don't copy the name.  Use _cpp_get_directive_token.
1229         Use hp->name when calling pass_thru_directive.
1230         (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
1231         Return the result of conditional_skip and/or skip_if_group.
1232         Don't call _cpp_output_line_command.
1233         (consider_directive_while_skipping): Use _cpp_get_directive_token.
1234         Issue -Wtraditional warnings as appropriate.  Don't complain
1235         about unrecognized directives.  If we are to stop skipping,
1236         return the number of the directive that ended the skip.
1237         (skip_if_group): Use _cpp_get_directive_token.  Turn off macro
1238         expansion and line commands while skipping.  Return the result
1239         of consider_directive_while_skipping, if nonzero.
1240         (do_endif): Just set potential_control_macro here.
1241         (validate_else): Use _cpp_get_directive_token.
1242         (do_assert, do_unassert): Don't save pointers into the
1243         token_buffer across calls to the lexer.  Use
1244         _cpp_get_directive_token.  
1245
1246         * cpplib.h (cpp_buffer): Remove alimit and colno.  Make mark a 
1247         pointer, not an offset.  Replace 'data', which was a generic
1248         pointer, with 'macro', which points to a struct hashnode.
1249         (cpp_reader): Add 'potential_control_macro' pointer.
1250         * cpphash.h (T_UNUSED): Replace with T_EMPTY.
1251         (CPP_BUF_GET, CPP_FORWARD): Delete.
1252         (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
1253         (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
1254         ACTIVE_MARK_P): Update.
1255         (_cpp_get_define_token): New internal function.
1256         * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
1257
1258 2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>
1259
1260         * configure.in: And here.
1261         * configure: Regenerate.
1262         * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
1263         --enable-libstdcxx-v3 is passed at configure time.
1264         * config.h.in: Regenerate.
1265
1266 2000-04-05  Mark Mitchell  <mark@codesourcery.com>
1267
1268         * final.c (final): Use xcalloc to allocate line_note_exists.
1269         * function.c (free_after_compilation): Free the temp_slots.
1270         (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
1271         (combine_temp_slot): Free temp_slots when they get combined.
1272         (purge_addressof): Fix typo in comment.
1273         * stmt.c (mark_goto_fixup): Mark the fixup itself.
1274         (expand_fixup): Allocate the fixup with ggc_alloc_obj.
1275
1276         * ggc.h: Include varray.h.
1277         (ggc_pending_trees): Declare.
1278         (ggc_mark_tree_children): Remove declaration.
1279         (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
1280         * ggc-common.c (ggc_pending_trees): New variable.
1281         (ggc_mark_roots): Call ggc_mark_trees.
1282         (ggc_mark_tree_children): Rename to ggc_mark_trees.  Process all
1283         the ggc_pending_trees.
1284         * Makefile.in (GGC_H): New variable.  Use it throughout in place
1285         of ggc.h.
1286         
1287 Thu Apr  6 00:30:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1288
1289         * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
1290         GET_MODE_SIZE.
1291
1292 Wed Apr  5 23:17:10 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1293
1294         * sh.c (sh_insn_length_adjustment): New function.
1295         * sh-protos.h (sh_insn_length_adjustment): Declare.
1296         * sh.h (ADJUST_INSN_LENGTH): Use it.
1297
1298 Wed Apr  5 12:35:18 2000  Hans-Peter Nilsson  <hp@axis.com>
1299
1300         * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
1301         from the insn where REG_RETVAL is added.
1302         (emit_no_conflict_block): Ditto.
1303
1304         * md.texi (Standard Names): Clarify when movX is needed.
1305
1306         * combine.c (simplify_comparison) [MINUS]: Do not replace
1307         all (op (minus A B) 0) with (op A B).
1308
1309 Wed Apr  5 18:03:31 2000  Toshiyasu Morita  (toshi.morita@sega.com)
1310                           J"orn Rennecke <amylaar@cygnus.co.uk>
1311
1312         * sh.md (block_lump_real_i4): Add missing clobber of T_REG
1313         (block_lump_real): Likewise.
1314
1315 2000-04-05  Chris Demetriou  <cgd@netbsd.org>
1316
1317         * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
1318         remaining non-zero debugging masks.
1319
1320 Wed Apr  5 09:44:07 2000  Jeffrey A Law  (law@cygnus.com)
1321
1322         * basic-block.h (verify_flow_info): Declare.
1323         (flow_loop_outside_edge_p): Declare.
1324         * flow.c (verify_flow_info): Remove declaration.
1325         (clear_log_links, flow_loop_outside_edge_p): Likewise.
1326
1327 Wed Apr  5 09:34:26 2000  Philippe De Muyter <phdm@macqel.be>
1328
1329         * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
1330         not C++ comments.
1331
1332 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
1333
1334         * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
1335         snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
1336         seqdi_zero_trunc+1): Allow splits only if registers are
1337         different.
1338
1339 2000-04-04  Ulrich Drepper  <drepper@cygnus.com>
1340
1341         * acconfig.h: Add HAVE_GAS_HIDDEN.
1342         * config.in: Regenerated.
1343         * configure.in: Add test for .hidden pseudo-op in gas.
1344         * configure: Regenerated.
1345         * crtstuff.c: Include auto-host.h.
1346         Emit additional .hidden pseudo-op for __dso_handle if the
1347         assembler knows about it.
1348
1349 2000-04-04  Philippe De Muyter  <phdm@macqel.be>
1350
1351         * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
1352         before freeing argnames.
1353         * cpplib.c (do_ifndef): Cast return value of xstrdup.
1354
1355 2000-04-05  Michael Meissner  <meissner@redhat.com>
1356
1357         * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
1358         Walton <jonboy@gordian.com> to make memory references with update
1359         work wtih -mregnames.
1360
1361 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1362
1363         * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
1364         (regrename_optimize): Rename variables `def_uses' and
1365         `ext_basic_blocks' to avoid conflicts with similarly named
1366         typedefs in traditional C.
1367
1368         * calls.c (initialize_argument_information): Fix typo in previous
1369         change.
1370
1371 2000-04-04  Richard Henderson  <rth@cygnus.com>
1372
1373         * regrename.c (consider_available): Test fixed_regs not
1374         PIC_OFFSET_TABLE_REGNUM.
1375
1376 2000-04-04  Geoff Keating  <geoffk@cygnus.com>
1377
1378         * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
1379         crtend.
1380         (CRTSTUFF_T_CFLAGS_S): Delete definition.
1381         * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
1382         (ENDFILE_LINUX_SPEC): Always use crtend.
1383         * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
1384         (powerpc-*-linux-gnu): Likewise.
1385         * configure: Regenerate.
1386
1387         * config/rs6000/eabi.h: Don't include sysv4.h.
1388         (MULTILIB_DEFAULTS): Don't define.
1389         * config/rs6000/eabiaix.h: Don't include eabi.h.
1390         * config/rs6000/eabile.h: Delete.
1391         * config/rs6000/eabilesim.h: Delete.
1392         * config/rs6000/eabisim.h: Don't include eabi.h.
1393         * config/rs6000/linux.h: Don't include sysv4.h.
1394         (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
1395         (MULTILIB_DEFAULTS): Don't redefine.
1396         * config/rs6000/rtems.h: Don't include eabi.h.
1397         * config/rs6000/sol2.h: Don't include sysv4le.h.
1398         * config/rs6000/sysv4le.h: Don't include sysv4.h.
1399         * config/rs6000/t-ppc: Delete.
1400         * config/rs6000/t-ppcgas: Correct comment.
1401         * config/rs6000/t-ppcos: Correct comment.  Don't build 
1402         multilibs for -fPIC, rather use -fPIC -mstrict-align 
1403         as default.
1404         * config/rs6000/t-ppc: Delete.
1405         * config/rs6000/vxppc.h: Don't include sysv4.h.
1406         * config/rs6000/vxppcle.h: Delete.
1407         * configure.in: Use multiple header files for p2pc ELF targets
1408         powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
1409         powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
1410         powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
1411         powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
1412         always available for these platforms.
1413
1414 2000-04-04  Richard Henderson  <rth@cygnus.com>
1415
1416         * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
1417
1418 2000-04-04  Stan Cox  <scox@cygnus.com> 
1419
1420         * Makefile.in: Add rules for regrename.o
1421         * regrename.c: New file.
1422         * rtl.h (regrename_optimize): Add prototype.
1423         * toplev.c (rename_registers_dump, flag_rename_registers): New variables
1424         (compile_file, decode_d_option): Add support for -frename-registers.
1425         (rest_of_compilation): Call regrename_optimize.
1426         * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
1427         New macros.     
1428         
1429 2000-04-04  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
1430
1431         * Makefile (gccbug): New target.
1432         (doc): Depend on it.
1433         * gcc.texi (Bugs): Link subnodes.
1434         (gccbug): New node.
1435         * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
1436         Document severities, priorities, and classes in bug form.
1437
1438 2000-04-04  Zack Weinberg  <zack@wolery.cumb.org>
1439
1440         * cpplex.c (trigraph_map, speccase): Combine into single
1441         table, chartab.
1442         (NORMAL, NONTRI): New macros.
1443         (_cpp_read_and_prescan): Change to use unified table.  Use
1444         is_hspace to test for whitespace.
1445
1446         * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1447         definition that doesn't provoke the "empty body in an
1448         if-statement" warning.
1449
1450 2000-04-04  Clinton Popetz  <cpopetz@cygnus.com>
1451
1452         * builtins.c (expand_builtin_strlen): Force the source to
1453         be a memory address.
1454
1455 2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1456
1457         * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1458
1459 Tue Apr  4 19:17:20 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1460
1461         * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1462          ECF_LONGJMP, ECF_FORK_OR_EXEC):  New constants.
1463         (ECF_IS_CONST): Rename to ECF_CONST.
1464         (special_function_p): Make static, change interface.
1465         (flags_from_decl_or_type, try_to_integrate): Break out from ...
1466         (expand_call) ... here; convert number of variables to flags.
1467         (emit_library_call_vlue_1): Likewise.
1468         (setjmp_call_p): New function.
1469         (initialize_argument_information): Accepts flags as argument;
1470         return flags.
1471         (precompute_arguments): Likewise.
1472         * tree.h (special_function_p): Remove.
1473         (setjmp_call_p): Add prototype.
1474
1475 2000-04-04  Jakub Jelinek  <jakub@redhat.com>
1476
1477         * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1478         so that addresses are offsetable by up to 16 bytes.
1479         (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1480         non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1481         offsetable.
1482
1483         * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1484         (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1485         (movsf): Don't force any constant to memory if target is integer
1486         hard register.
1487         Move fp_zero_operand check below the const0_rtx check.
1488         (movtf): Likewise. Also allow fp_zero_operand for stores into
1489         memory.
1490         (movdf): Likewise. Also allow fp_zero_operand for stores into
1491         memory and into integer hard registers.
1492         (clear_df, clear_dfp, movdf_const_intreg_sp32,
1493         movdf_const_intreg_sp64): Remove.
1494         (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
1495         conditions.
1496         (movdf_no_e_insn_v9_sp32): New pattern.
1497         (movdf_insn_v9only): Remove.
1498         (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
1499         (movdf_insn_sp64): Remove.
1500         (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
1501         (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
1502         (following splits): Rewrite conditions. Add two new splits
1503         for storing 0.0 into memory and registers.
1504         (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
1505         (movtf_insn_sp32): Redo constraints and conditions.
1506         (movtf_insn_vis_sp32): New pattern.
1507         (movtf_no_e_insn_sp32): Redo constraints and conditions.
1508         (movtf_insn_hq_sp64): Likewise.
1509         (movtf_insn_hq_vis_sp64): New pattern.
1510         (movtf_insn_sp64): Redo constraints and conditions.
1511         (movtf_insn_vis_sp64): New pattern.
1512         (movtf_no_e_insn_sp64): Redo constraints and conditions.
1513         (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
1514         or memory.
1515         * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
1516         -mvis or -m64 to take down the number of various reload patterns.
1517
1518 Tue Apr  4 00:41:53 2000  Jeffrey A Law  (law@cygnus.com)
1519
1520         * pa/pa-64.h: New file.
1521         * pa/pa64-regs.h: New file.
1522         * pa/pa64-start.h: New file.
1523         * pa/t-pa64: New file.
1524         * pa/xm-pa64hpux.h: New file.
1525
1526 2000-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1527
1528         * sparc.c (output_restore_regs): Prototype.
1529         (sparc_emit_float_lib_cmp): Constification.
1530
1531         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
1532
1533         * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
1534         Prototype.
1535
1536         * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
1537         (get_value_hash, hash_rtx): Likewise.
1538
1539         * ssa.c (compute_conservative_reg_partition): Prototype.
1540
1541         * tree.c (mark_hash_entry): Prototype.
1542
1543 2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
1544
1545         * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
1546         * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
1547         * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
1548
1549         * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
1550         * objc/lang-specs.h: Likewise.
1551
1552 2000-04-03  Neil Booth  <NeilB@earthling.net>
1553
1554         * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
1555         and SYNTAX_ERROR2. Replace `' in messages with ''.
1556         (op_to_str): Make re-entrant.
1557         (_cpp_parse_expr): Implement new error macros. Use | rather
1558         than || to logically or 2 boolean integers.  Simply expression
1559         checking we have a left operand iff needed.
1560
1561 2000-04-03  Nick Clifton  <nickc@cygnus.com>
1562
1563         * Makefile.in (diagnostic.o): Depend upon diagnostic.c
1564
1565 2000-04-03  Philip Blundell  <philb@gnu.org>
1566
1567         * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
1568
1569 2000-04-03  Felix Lee  <flee@cygnus.com>
1570
1571         * fixinc/server.c (find_shell): New function.  Avoid $SHELL.
1572         (run_shell): Use it. 
1573
1574 2000-04-03  Jonathan Larmour  <jlarmour@redhat.co.uk>
1575
1576         * Makefile.in (stmp-int-hdrs): Make include subdir here...
1577         (stmp-fixproto): ...rather than here.
1578
1579 Mon Apr  3 00:50:06 2000  Jason Eckhardt <jle@cygnus.com>
1580
1581         * pa.c (print_operand): Compute 'base' only inside the code paths
1582         that use it.
1583
1584 2000-04-03  Geoffrey Keating  <geoffk@cygnus.com>
1585
1586         * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
1587         CEIL_DIV_EXPR.
1588
1589 2000-04-03  Philipp Thomas  <pthomas@suse.de>
1590
1591         * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
1592
1593 Mon Apr  3 00:02:59 2000  Brad Lucier <lucier@math.purdue.edu>
1594
1595         * Makefile.in (alias.o): Depend on $(TREE_H).
1596
1597 2000-04-02  Zack Weinberg  <zack@wolery.cumb.org>
1598
1599         * cppinit.c (cpp_start_read): Turn off -Wtraditional if
1600         processing C++.
1601         * cpplib.c (_cpp_handle_directive): Improve warnings for
1602         traditional C and indented directives.
1603
1604         * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
1605         fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
1606         fixinc/inclhack.def: Indent the # of #include_next one space.
1607         * cp/rtti.c: Un-indent #if and #endif.
1608
1609         * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
1610         syntax error, but an error has already been printed.
1611         * cpplex.c (_cpp_parse_assertion): Give a more specific error
1612         message when called with nothing remaining on the line.
1613         (_cpp_lex_token): If _cpp_parse_assertion fails, return an
1614         OTHER token, not an ASSERTION.
1615         * cpplib.c (do_assert): When we create a 'base' node, clear
1616         its aschain pointer.
1617
1618 2000-04-02  Neil Booth <NeilB@earthling.net>
1619
1620         * cppexp.c:  New typedef op_t.  struct operation and struct 
1621         token updated to use it.
1622         (op_to_str): New function.
1623         (_cpp_parse_expr): Error messages modified to use op_to_str.
1624
1625 2000-04-02  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1626
1627         * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
1628         before checking MUST_PASS_IN_STACK.
1629
1630 2000-04-02  Neil Booth <NeilB@earthling.net>
1631
1632         * cppexp.c:  New FINISHED dummy token.  Combine operator initial
1633         flags and initial priority into a single constant.  New
1634         EQUALITY macro.  New operator flag SHORT_CIRCUIT.
1635         (_parse_cpp_expr): Implement new constants.  Take left operand
1636         checks out of reduction loop.  Handle SHORT_CIRCUIT.  End of
1637         parse indicated by reducing FINISHED token.  Remove new lines
1638         from cpp_error messages.
1639
1640 2000-04-01  Mark Mitchell  <mark@codesourcery.com>
1641
1642         * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
1643         permanent obstack.
1644
1645 2000-04-01  Zack Weinberg  <zack@wolery.cumb.org>
1646
1647         * cpplib.c: Include symcat.h.  Add 'origin' field to struct
1648         directive.  Add origin values to DIRECTIVE_TABLE.  Generate
1649         the strings and function names on the fly.  Take the #sccs
1650         entry out of the table if SCCS_DIRECTIVE is not defined.
1651         (_cpp_handle_directive): Decide if the # was at the beginning
1652         of the line here.  Issue -pedantic warnings for extended
1653         directives here.  Warn about K+R directives with the #
1654         indented, and C89/extended directives with the # not indented,
1655         here.
1656         (do_import, do_include_next, do_warning, do_ident, do_sccs,
1657         do_assert, do_unassert): Don't issue pedantic warning here.
1658
1659         * cpphash.h: Add CPP_WTRADITIONAL macro.
1660         * cpplib.h (struct cpp_options): Rename warn_stringify to
1661         warn_traditional; update comments.
1662         * cppinit.c (handle_option): Set warn_traditional not
1663         warn_stringify.
1664         * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
1665         CPP_WTRADITIONAL (pfile).
1666         * cpplex.c (_cpp_lex_token): Don't decide if directives should
1667         be ignored in -traditional mode here.
1668
1669         * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
1670         to initialize speccase[] and trigraph_map[].  Delete all
1671         references to pfile->input_speccase.  Always treat '?' as a
1672         special character.  Remove table-initialization code from
1673         _cpp_init_input_buffer.
1674
1675         * cpplib.h (struct cpp_reader): Remove input_speccase field.
1676         * cppinit.c (cpp_cleanup): Don't free input_speccase.
1677
1678 2000-04-01  Richard Henderson  <rth@cygnus.com>
1679
1680         * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
1681         (mostlyclean): Likewise.
1682
1683         * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
1684         (struct dump_file_info, enum dump_file_index, dump_file): New.
1685         (open_dump_file): Take a dump_file_index not a suffix, and a decl
1686         not a string.  Clean out file if we havn't yet done so.  Do nothing
1687         if the dump isn't enabled.
1688         (close_dump_file): Do nothing if the dump isn't open.  Dump 
1689         graph data if requested.
1690         (dump_rtl, clean_dump_file): Remove.
1691         (compile_file): Don't clean the dump files.  Only finalize .bp dump
1692         if flag_test_coverage or flag_branch_probabilities.  Only finalize
1693         .combine dump if optimizing.  Iterate over dump_file to finalize the
1694         graph dumps.
1695         (rest_of_compilation): Update for open_dump_file/close_dump_file.
1696         Convert all uses of dump_rtl.
1697         (decode_d_option): Iterate over dump_file to implement 'a' and to
1698         locate pass-specific dumps.
1699
1700 2000-04-01  Neil Booth <NeilB@earthling.net>
1701
1702         * cppexp.c: Redefine priority constants.
1703         (_cpp_parse_expr): Replace left and right priority scheme with
1704         single priority logic.  Move LOGICAL to same place as COMPARE.
1705         Remove bogus check for multiple unary +/- operators.
1706
1707 2000-04-01  Neil Booth <NeilB@earthling.net>
1708
1709         * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
1710         within the switch statement.  Binary operations break out of
1711         the switch naturally.  '(' tokens handled by forcing
1712         immediate shift.  ')' handled by forcing immediate reduce to
1713         the previous '('.  New error messages.
1714         
1715 2000-03-31  Geoff Keating  <geoffk@cygnus.com>
1716
1717         * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
1718         part', it's already in use.  Use %K instead.  Add a return at the
1719         end of what is now %K.
1720         * config/rs6000/rs6000.md (elf_low): Use %K instead of %l. 
1721
1722 Sat Apr  1 02:05:29 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1723
1724         * builtins.c  (expand_builtin_apply):  Pass proper parameters to
1725         allocate_dynamic_stack_space.
1726         * calls.c (emit_call_1):  Do not adjust stack pointer for SIB,
1727         update stack_pointer_delta; do not update arg_size_so_far.
1728         (compute_argument_block_size): Use stack_delta instead of
1729         stack_pointer_pending and arg_size_so_far.
1730         (expand_call): Add sanity checking for stack_pointer_delta;
1731         save and restore stack_pointer_delta for SIB, use
1732         stack_pointer_delta for alignment; do not update arg_space_so_far.
1733         (emit_library_call_value): Use stack_pointer_delta for alignment.
1734         (store_one_arg): Do not update arg_space_so_far.
1735         * explow.c (adjust_stack, anti_adjust_stack): Update
1736         stack_pointer_delta.
1737         (allocate_dynamic_stack_space): Add sanity checking for
1738         stack_pointer_delta.
1739         * expr.c (init_expr, clear_pending_stack_adjust): Clear
1740         stack_pointer_delta.
1741         (emit_push_insn): Update stack_pointer_delta.
1742         * function.h (struct expr_status): Add x_stack_pointer_delta;
1743         remove x_arg_space_so_far.
1744         (arg_space_so_far): Remove.
1745         (stack_pointer_delta): New macro.
1746
1747 2000-03-31  Zack Weinberg  <zack@wolery.cumb.org>
1748
1749         * cpplib.h: Merge struct cpp_options into struct cpp_reader.
1750         Reorder struct cpp_options and struct cpp_reader for better 
1751         packing.  Replace CPP_OPTIONS macro with CPP_OPTION which
1752         takes two args.  Change all 'char' flags to 'unsigned char'.
1753         Move show_column flag into struct cpp_options.  Don't
1754         prototype cpp_options_init.
1755         * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
1756         cppinit.c, cpplex.c, cpplib.c:
1757         Replace CPP_OPTIONS (pfile)->whatever with
1758         CPP_OPTION (pfile, whatever), and likewise for
1759         opts = CPP_OPTIONS (pfile); ... opts->whatever;
1760
1761         * cppinit.c (merge_include_chains): Take a cpp_reader *.
1762         Extract CPP_OPTION (pfile, pending) and work with that
1763         directly.
1764         (cpp_options_init): Delete.
1765         (cpp_reader_init): Turn on on-by-default options here.
1766         Allocate the pending structure here.              
1767         (cl_options, enum opt_code): Define these from the same table,
1768         kept in a large macro.  Add -fshow-column and -fno-show-column
1769         options.
1770
1771         * cpperror.c (v_message): If show_column is off, don't print
1772         the column number.
1773
1774         * cppmain.c: Update for new interface.
1775         * fix-header.c: Likewise.
1776
1777 2000-03-30  Geoff Keating  <geoffk@cygnus.com>
1778
1779         * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
1780         definition.
1781         * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
1782         are passed to any invocation of AR_FOR_TARGET.
1783         (AR_CREATE_FOR_TARGET): New macro.
1784         (AR_EXTRACT_FOR_TARGET): New macro.
1785         (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
1786         AR_EXTRACT_FOR_TARGET.
1787         (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
1788         in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
1789         `$(AR_FOR_TARGET) x'.  Pass AR_CREATE_FOR_TARGET and
1790         AR_EXTRACT_FOR_TARGET to sub-makes.
1791
1792 2000-03-31  Neil Booth <NeilB@earthling.net>
1793
1794         * cppexp.c: Delete SKIP_OPERAND.  Correct priority
1795         PAREN_INNER_PRIO.
1796         (_cpp_parse_expr): Check for multiple unary +/- operators.
1797         Correct priorities of ':' and '?'.  Treat ')' as having a
1798         value.  Ensure conditional expression is not void.
1799         
1800 2000-03-31  Mark Mitchell  <mark@codesourcery.com>
1801
1802         * alias.c (canon_rtx): Make it global.
1803         (rtx_equal_for_memref_p): CONST_INT equality is now pointer
1804         equality.
1805         * cse.c (struct table_elt): Add canon_exp.
1806         (insert): Clear it.
1807         (invalidate): Canonicalize expressions only once.
1808         * rtl.h (canon_rtx): Declare.
1809
1810 2000-03-30  Mark Mitchell  <mark@codesourcery.com>
1811
1812         * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
1813         * alias.c (reg_known_value): Add comments.
1814         (init_alias_analysis): Likewise.
1815         * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
1816         address.
1817         (cse_basic_block): Fix typo in comment.
1818         * emit-rtl.c: Include hashtab.h.
1819         (const_int_htab): New variable.
1820         (const_int_htab_hash): New function.
1821         (const_int_htab_eq): Likewise.
1822         (rtx_htab_mark_1): Likewise.
1823         (rtx_htab_mark): Likewise.
1824         (gen_rtx_CONST_INT): Cache all CONST_INTs.
1825         (unshare_all_rtx): Fix formatting.
1826         (init_emit_once): Initialize const_int_htab.
1827         * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
1828         address.
1829         * rtl.texi: Document the fact that all CONST_INTs with the same
1830         value are shared.
1831
1832 2000-03-30  Richard Henderson  <rth@cygnus.com>
1833
1834         * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
1835
1836 2000-03-30  Zack Weinberg  <zack@wolery.cumb.org>
1837
1838         * configure.in: Comment out --enable-c-cpplib stanza.
1839         * configure: Regenerate.
1840
1841 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1842
1843         * expr.c (store_constructor): Properly compute displacement and
1844         alignment when offset is variable.
1845
1846         * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
1847         cases of alignment in bytes.
1848
1849 Thu Mar 30 13:30:40 2000  Jeffrey A Law  (law@cygnus.com)
1850
1851         * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
1852         since it is used to generate c-parse.y.
1853         * objc-parse.c, objc-parse.y: Regenerated.
1854
1855         * function.c (expand_function_end): Pass alignment argument to
1856         emit_block_move in bits, not bytes.
1857
1858 Thu Mar 30 06:32:51 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1859
1860         * expr.c (move_by_pieces_ninsns): Fix one more missing align
1861         correction.
1862
1863         * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
1864
1865         * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
1866         * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
1867         * function.c (assign_parms): Likewise.
1868         * integrate.c (expand_inline_function): Likewise.
1869         * stmt.c (expand_decl): Likewise.
1870         (copy_rtx_and_substitute): Likewise.
1871         * expr.c (expand_expr, expand_expr_unaligned): Likewise.
1872         (clear_by_pieces): Fix error in last change.
1873         * emit-rtl.c (init_emit): Set known registers alignment in bits.
1874         * function.h (regno_pointer_align): Now unsigned.
1875         * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
1876         is in bits.
1877         * config/i386/i386.c (aligned_operand): Likewise.
1878         * config/sparc/sparc.c (mem_min_alignment): Likewise.
1879         * config/alpha/alpha.c (aligned_memory_operand): Likewise.
1880         (unaligned_memory_operand): Likewise.
1881         (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
1882         Also make alignments and sizes unsigned and some whitespace cleanup.
1883         (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
1884
1885         * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
1886         (expand_builtin_apply): Pass alignment to emit_block_move in bits.
1887         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
1888         (expand_builtin_memset): Likewise, but to clear_storage.
1889         * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
1890         (restore_fixed_argument_area): Likewise.
1891         (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
1892         (load_register_parameters): Likewise, to emit_group_load.
1893         (expand_call): Likewise, to emit_group_store and emit_block_move.
1894         (emit_library_call_value_1): Likewise, to emit_block_move.
1895         (store_one_arg): Likewise, and to emit_push_insn.
1896         * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
1897         (extract_fixed_bit_field, extract_split_bit_field): Likewise.
1898         * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
1899         (emit_block_move, emit_group_load, emit_group_store): Likewise.
1900         (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
1901         (expand_assigment, store_expr, store_constructor_field): Likewise.
1902         (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
1903         (store_constructor, store_field, get_inner_reference): Likewise.
1904         Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
1905         (expand_expr, case COMPONENT_REF): Likewise.
1906         (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
1907         and positions; reindent code.
1908         * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
1909         * function.c (purge_addressof_1): Pass bit align to store_bit_field.
1910         (assign_parms): Likewise to emit_group_store.
1911         * optabs.c (prepare_cmp_insn): Alignment is in bits.
1912         (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
1913         * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
1914         (expand_return): Likewise to {extract,store}_bit_field.
1915         * stor-layout.c (get_mode_alignment): Minor cleanup.
1916         * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
1917         * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
1918         
1919 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1920
1921         * config/arm/arm.h: Undo effects of previous delta:
1922         (ASM_SPEC): Do not define.
1923         (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
1924
1925         * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
1926         typo. 
1927
1928 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1929
1930         * cppinit.c (cpp_start_read): Call initialize_dependency_output
1931         only after reading in the primary source file.
1932
1933 2000-03-29  Geoff Keating  <geoffk@cygnus.com>
1934
1935         * c-common.c (c_common_nodes_and_builtins): The first parameter to
1936         __builtin_va_start and __builtin_va_copy is now either a 'va_list'
1937         or a reference to a va_list.
1938         * builtins.c (stabilize_va_list): Simplify now we don't have to
1939         work around C array address decay.
1940         * c-typeck.c (convert_for_assignment): Handle assignment to
1941         a reference parameter by taking the address of the RHS.
1942         * ginclude/stdarg.h (va_start): Don't take address of first parameter.
1943         (va_copy): Likewise.
1944         (__va_copy): Likewise.
1945         * ginclude/varargs.h (va_start): Likewise.
1946         (__va_copy): Likewise.
1947
1948 Wed Mar 29 15:44:53 2000  Jeffrey A Law  (law@cygnus.com)
1949
1950         * i386/djgpp.h: Remove extraneous "+".
1951
1952         * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
1953
1954         * calls.c (expand_call): Fix typo in last change.
1955
1956 2000-03-29  Jason Merrill  <jason@casey.cygnus.com>
1957
1958         * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
1959         been expanded.
1960
1961 Wed Mar 29 15:39:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1962
1963         * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
1964         (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
1965         (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
1966         * tree.c (bit_position, byte_position): Likewise.
1967         * tree.h: Declare new functions.
1968
1969 2000-03-29  Nick Clifton  <nickc@cygnus.com>
1970
1971         * config/arm/arm.c: Minor formatting changes/
1972         * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1973         already defined.
1974         (ASM_SPEC): Define if not already defined.
1975
1976 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1977
1978         * cppfiles.c (cpp_read_file): Don't pass zero-length string to
1979         _cpp_calc_hash.
1980
1981 2000-03-29  Jakub Jelinek  <jakub@redhat.com>
1982
1983         * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
1984         value, don't output it as unsigned.
1985
1986 Wed Mar 29 10:53:49 2000  Jeffrey A Law  (law@cygnus.com)
1987
1988         * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
1989
1990 2000-03-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1991
1992         * c-common.c (c_common_nodes_and_builtins): Don't special case
1993         cplus_mode when declaring builtin bzero/bcmp, always avoid
1994         prototype arguments.
1995
1996 2000-03-29  Bruce Korb  <bkorb@gnu.org>
1997
1998         * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
1999         to a non-file
2000
2001 Wed Mar 29 15:08:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2002
2003         Convert ACCUMULATE_OUTGOING_ARGS to an expression.
2004         * calls.c (PUSH_ARGS_REVERSED) Change to expression.
2005         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
2006         (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
2007         (save_fixed_argument_area, restore_fixed_argument_area):
2008         conditionize by #ifdef REG_PARM_STACK_SPACE only.
2009         (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
2010         to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
2011         (precompute_register_parameters): Avoid #ifdefs on
2012         ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
2013         (stire_one_args): Likewise.
2014         (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
2015         (emit_library_call_value_1): Likewise.
2016         (compute_argument_block_size): Align to STACK_BOUNDARY only for
2017         ACCUMULATE_OUTGOING_ARGS.
2018         * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
2019         value.
2020         (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
2021         (use_crosses_set_p): Likewise.
2022         * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
2023         #define ACCUMULATE_OUTGOING_ARGS 1.
2024         * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
2025         frames.
2026         * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
2027         constants.
2028         (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
2029         (TARGET_SWITCHES): Add push-args, no-push-args,
2030         accumulate-outgoing-args and no-accumulate-outgoing-args.
2031         (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
2032         * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
2033         (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
2034         and PUSH_ROUNDING.
2035         (emit_push_insn): Likewise.
2036         * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
2037         (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
2038         * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
2039         (STACK_DYNAMIC_OFFSET): Define correctly for both
2040         ACCUMULATE_OUTGOING_ARGS and normal mode.
2041         * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
2042         * tm.texi (PUSH_ARGS): Document.
2043         (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
2044
2045 Wed Mar 29 11:51:13 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2046
2047         * flags.h (flag_optimize_sibling_calls): Declare.
2048         * calls.c (expand_call): Fail sibcall when
2049         !flag_optimize_sibling_calls
2050         * invoke.texi (flag_optimize_sibling_calls): Document.
2051         * toplev.c (flag_optimize_sibling_calls): New global variable.
2052         (f_options): Add flag_optimize_sibling_calls.
2053         (rest_of_compilation): Conditionize
2054         optimize_sibling_and_tail_recursive_calls by
2055         flag_optimize_sibling_calls.
2056         (main): Set flag_optimize_sibling_calls for -O2.
2057         * stmt.c (expand_return): Conditionize tail recursion by
2058         flag_optimize_sibling_calls.
2059
2060 2000-03-29  Richard Henderson  <rth@cygnus.com>
2061
2062         * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
2063         (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
2064
2065 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
2066
2067         * except.c (add_eh_table_entry): Mark type_info's as referenced.        
2068
2069 2000-03-29  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2070
2071         * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
2072         is given.
2073         * config/rs6000/aix43.h (CPP_SPEC): Likewise.
2074         * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
2075         * config/rs6000/aix.h: then modified likewise.
2076
2077 2000-03-28  Richard Henderson  <rth@cygnus.com>
2078
2079         * rtl.h: Redistribute enum reg_note documentation. 
2080         Kill trailing whitespace.
2081         * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
2082         Kill trailing whitespace.
2083
2084 2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>
2085
2086         * cppfiles.c (hash_IHASH): Just return i->hash.
2087         (cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
2088         htab_find_with_hash.
2089         (cpp_read_file): Likewise.
2090         (find_include_file): Likewise.  Properly initialize
2091         ih->nshort.  Share ih->name and ih->nshort if possible.
2092         * cpphash.c (_cpp_calc_hash): New function.
2093         (hash_HASHNODE): Just return h->hash.
2094         (_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
2095         htab_find_with_hash.
2096         * cpphash.h: Prototype _cpp_calc_hash.
2097         * cppinit.c (initialize_builtins): Provide a valid hash
2098         to _cpp_make_hashnode, using _cpp_calc_hash.
2099
2100         * cpphash.c (collect_expansion): # is not a special character
2101         in object-like macros.  In -traditional mode, /**/ is not
2102         token paste at the beginning or end of the line.
2103         * cpplib.c (do_include, do_import, do_include_next): If
2104         parse_include fails, return immediately.
2105
2106 2000-03-28  Jason Merrill  <jason@casey.cygnus.com>
2107
2108         * config/arm/arm.md (return peepholes): Update to reflect the new
2109         call insn patterns.
2110         * config/arm/arm.c (arm_volatile_func): Also check
2111         current_function_nothrow.
2112         (output_return_instruction, output_func_prologue): Use it.
2113         (arm_output_epilogue, arm_expand_prologue): Likewise.
2114
2115 2000-03-27  Tom Tromey  <tromey@cygnus.com>
2116
2117         * gcc.c (handle_braces): In {x*...} case, break out of loop if
2118         switch is found.
2119
2120 Tue Mar 28 11:55:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2121
2122         * expr.c (store_constructor): SIZE now signed.
2123         For EXPR_SIZE, don't evaluate size; just needed if constant.
2124         * fold-const.c (fold): Fix a number of cases when folded tree is
2125         wrong type.
2126         * function.c (flush_addressof): Reenable.
2127         * tree.h (flush_addressof): Likewise.
2128         * toplev.c (independent_decode_option): Look at strings_processed.
2129         * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
2130
2131 Tue Mar 28 08:29:46 2000  Jan Hubicka  <jh@suse.cz>
2132
2133         * sibcall.c (indentify_call_return_value): Find last call in the chain;
2134         Allow stack adjustment after function call.
2135
2136         * regmove.c (struct csa_memlist): Make mem field rtx *.
2137         (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
2138         (try_apply_stack_adjustment): Replace whole MEM rtx.
2139         (combine_stack_adjustments_for_block): Update calls
2140         to record_one_stack_ref.
2141
2142 2000-03-28  Neil Booth  <NeilB@earthling.net>
2143
2144         * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
2145         '\\' rather than a null character, so nulls are not special.  Fix
2146         "\\\n" handling in end-of-buffer conditions.  Use trigraph map to
2147         speed trigraph conversion.
2148         (_cpp_init_input_buffer): Initialize trigraph map.
2149
2150 2000-03-27  Alan Modra  <alan@linuxcare.com.au>
2151
2152         * config/i386/i386.c (output_387_binary_op): Correct intel
2153         mode assembly output, and add spaces after commas in AT&T
2154         output.  Correct Unixware assembler comment.  Document input
2155         constraints.  Comment fp operations.  Reduce profligate buffer
2156         size.  Remove extraneous abort.  Localize temp var.
2157         (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
2158         (output_fix_trunc): Add spaces after commas in assembly output.
2159
2160 2000-03-27  Richard Henderson  <rth@cygnus.com>
2161
2162         * i386-protos.h (ix86_match_ccmode): Declare.
2163         * i386.c (ix86_match_ccmode): New.
2164         (ix86_expand_fp_compare): Update for pattern renames.
2165         (ix86_expand_strlensi_unroll_1): Likewise.
2166         * i386.h (EXTRA_CC_MODES): Add CCZ.
2167         (SELECT_CC_MODE): Use it for EQ/NE zero.
2168         * i386.md (cmpsi_ccz_1): New.
2169         (cmpqi_ccz_1): New.
2170         (*testsi_ccz_1): New.
2171         (testqi_ccz_1): New.
2172         (cmpsi_ccno_1): Rename from cmpsi_0.
2173         (testsi_ccno_1): Rename from testsi_1.
2174         (testqi_ccno_1): Rename from testqi_1.
2175         (*testqi_ext_ccz_0): Rename from testqi_ext_0.
2176         (testqi_ext_ccno_0): Rename from *testqi_ext_1.
2177         (*cmphi_0): Use ix86_match_ccmode.
2178         (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
2179         (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
2180         (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
2181         (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
2182         (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
2183         (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
2184         (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
2185         (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
2186         (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
2187         (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
2188         (appropriate peepholes): Likewise.
2189         (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
2190         (*subsi_3, *subhi_3, *subqi_3): Remove.
2191         (*negdi2_1+1 splitter): Use CCZ for neg patterns.
2192         (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
2193         (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
2194         (*neghi2_cmpz, *negqi2_cmpz): Similarly.
2195         (x86_shift_adj_1): Use CCZ.
2196         (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
2197
2198 2000-03-27  Stan Cox  <scox@cygnus.com> 
2199
2200         * resource.h (mark_resource_type): New.
2201         * resource.c (find_dead_or_set_registers, mark_target_live_regs, 
2202         find_free_register): Use mark_resource_type.
2203         (mark_set_resources): Change include_delayed_effects
2204         to mark_resource_type.
2205         * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, 
2206         redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): 
2207         Use mark_resource_type.
2208         
2209 2000-03-27  Richard Henderson  <rth@cygnus.com>
2210
2211         * i386.md (call_pop_0, call_value_pop_0): New.
2212         (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
2213         (call_value_pop_1): Likewise.
2214         (call_0, call_value_0): New.
2215         (call_1, call_value_1): Remove constraint from unused arg.
2216
2217 2000-03-27  Nick Clifton  <nickc@cygnus.com>
2218
2219         * invoke.texi (Spec Files): Document new spec % command created by
2220         Tom Tromey's recent patch.
2221
2222 2000-03-27  Jakub Jelinek  <jakub@redhat.com>
2223
2224         * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
2225         if not defined.
2226
2227 Mon Mar 27 06:04:22 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2228
2229         * expr.c (expand_assignment): Fix typo in last change.
2230
2231         * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
2232
2233 Sun Mar 26 20:15:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2234
2235         * c-convert.c (convert): Return if output or input type is ERROR_MARK.
2236         * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
2237         and DECL_INLINE if FUNCTION_DECL.
2238         (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
2239         (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
2240         Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
2241         (combine_parm_decls): Likewise.
2242         * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
2243         * print-tree.c (print_node): Likewise.
2244         Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
2245         DECL_TRANSPARENT_UNION on proper decl types.
2246         Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
2247         * stor-layout.c (layout_decl): Only check DECL_PACKED and
2248         DECL_BIT_FIELD of FIELD_DECL.
2249         * tree.h (DECL_RESULT_FLD): New macro.
2250         
2251         * expr.c (expand_assignment): Add code to handle variable-sized
2252         BLKmode case.
2253
2254 2000-03-26  Richard Henderson  <rth@cygnus.com>
2255
2256         * calls.c (expand_call): Pass parms not original exp to
2257         optimize_tail_recursion.  Mind return value instead of looking
2258         for a barrier.
2259         * stmt.c (optimize_tail_recursion): Take parameter list, not entire
2260         call_expr.  Move checks for call_expr and current_function_decl ...
2261         (expand_return): ... here.
2262
2263 2000-03-26  Tom Tromey  <tromey@cygnus.com>
2264
2265         * gcc.c (handle_braces): Recognize `%{<S}' construct.
2266         (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
2267         defines.
2268         (process_command): Use them.
2269         (check_live_switch): Likewise.
2270         (give_switch): Skip ignored switches.
2271
2272 2000-03-26  Jan Hubicka  <jh@suse.cz>
2273
2274         * jump.c (jump_optimize_1): Fix typo in elide optimizations
2275         for minimal jump pass test.
2276
2277 2000-03-26  Mark Mitchell  <mark@codesourcery.com>
2278
2279         * integrate.c (function_cannot_inline_p): Do inline functions that
2280         return `void'.
2281
2282 Sun Mar 26 11:37:55 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2283
2284         * stor-layout.c (layout_type, set_sizetype): early_type_list is
2285         now a list of TREE_LIST entries, not types.
2286         * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
2287
2288         * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
2289         * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
2290         int_bit_position.
2291         * config/mips/mips.c (function_arg): Likewise; also remove cast
2292         and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
2293         (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
2294         * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
2295         * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
2296         (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
2297         (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
2298         (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
2299         (struct mips_arg): arg_number, arg_words, fp_arg_words, and
2300         num_adjusts now unsigned.
2301         (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
2302         * config/sparc/sparc.c (struct function_arg_record_value_parms):
2303         NREGS now unsigned.
2304         (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
2305         as is BITPOS variable; use host_integerp and int_bit_position.
2306         (function_arg_record_value_2): Likewise.
2307         (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
2308         Variable REGNO now unsigned.
2309         (function_arg_record_value): NREGS now unsigned.
2310
2311 2000-03-26  Bernd Schmidt  <bernds@cygnus.co.uk>
2312
2313         * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
2314
2315 Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2316
2317         * Rework fields used to describe positions of bitfields and
2318         modify sizes to be unsigned and use HOST_WIDE_INT.
2319         * alias.c (reg_known_value_size): Now unsigned.
2320         * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
2321         (really_start_incremental_init): Use bitsize_zero_node.
2322         (push_init_level, pop_init_level, output_init_element): Likewise.
2323         Use bitsize_unit_node and bitsize_one_node.
2324         (output_pending_init_elements, process_init_element): Likewise.
2325         * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
2326         (make_extraction): Position and length HOST_WIDE_INT and unsigned
2327         HOST_WIDE_INT, respectively.
2328         (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
2329         (num_sign_bit_copies): Returns unsigned.
2330         BITWIDTH now unsigned; rework arithmetic.
2331         Remove recursive call from arg to MAX.
2332         (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
2333         (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
2334         REGNO now unsigned.
2335         (set_nonzero_bit_and_sign_copies): NUM now unsigned.
2336         (find_split_point, expand_compound_operation, make_extraction): LEN
2337         now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
2338         (make_field_assignment): Likewise.
2339         (combine_simplify_rtx): Add cast.
2340         (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
2341         (force_to_mode): WIDTH now unsigned; add cast.
2342         (if_then_else_cond): SIZE now unsigned.
2343         (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
2344         (extended_count): Now returns unsigned.
2345         (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
2346         Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
2347         (simplify_comparison): MODE_WIDTH now unsigned.
2348         (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
2349         (mark_used_regs_combine): Likewise; rework arithmetic.
2350         (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
2351         (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
2352         (record_promoted_value): REGNO now unsigned.
2353         (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
2354         (get_last_value): REGNO now unsigned.
2355         (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
2356         (reg_dead_regno, reg_dead_endregno): Now unsigned.
2357         (remove_death): Arg REGNO now unsigned.
2358         (move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
2359         (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
2360         now unsigned.
2361         * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
2362         * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
2363         (struct cse_reg_info): REGNO now unsigned.
2364         (cached_regno): Now unsigned.
2365         (REGNO_QTY_VALID_P): Add cast.
2366         (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
2367         (remove_invalid_regs): Likewise.
2368         (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
2369         as are variables END and I.
2370         (get_cse_reg_info, insert): Likewise.
2371         (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
2372         (canon_hash): Likewise.
2373         (insert_regs, lookup_for_remove): REGNO now unsigned.
2374         (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
2375         New variable RN.
2376         * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
2377         * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
2378         * emit-rtl.c (subreg_realpart_p): Add cast.
2379         (operand_subword): Arg I is now unsigned as is var PARTWORDS.
2380         (operand_subword_force): Arg I is now unsigned.
2381         * except.c (eh_regs): Variable I is now unsigned.
2382         * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
2383         * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
2384         length is unsigned HOST_WIDE_INT; likewise for internal variables.
2385         (store_split_bit_field, extract_fixed_bit_field): Likewise.
2386         (extract_split_bit_field, store_bit_field, extract_bit_field):
2387         Likewise.
2388         * expr.c (store_constructor_fields, store_constructor, store_field):
2389         Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
2390         (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
2391         (do_jump): Likewise.
2392         (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
2393         MAX_SIZE is now unsigned.
2394         (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
2395         (emit_group_store): Likewise.
2396         (emit_move_insn): I now unsigned.
2397         (store_constructor): Use host_integerp, tree_low_cst, and
2398         bitsize_unit_node.
2399         (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
2400         Rework all calculations to use trees and new fields.
2401         * expr.h (promoted_input_arg): Regno now unsigned.
2402         (store_bit_field, extract_bit_field): Adjust types of pos and size.
2403         (mark_seen_cases): Arg is HOST_WIDE_INT.
2404         * flow.c (verify_wide_reg_1): REGNO now unsigned.
2405         * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
2406         precisions and alignments are unsigned.
2407         (optimize_bit_field_compare, fold_truthop): Likewise.
2408         (int_const_binop): Adjust threshold for size_int_type_wide call.
2409         (fold_convert): Likewise.
2410         (size_int_type_wide): Make table larger and fix thinko that only
2411         had half of table used.
2412         (all_ones_mask_p, fold): Precisions are unsigned.
2413         * function.c (put_reg_info_stack): REGNO is unsigned.
2414         (instantiate_decl): Size is HOST_WIDE_INT.
2415         (instantiate_virtual_regs): I is unsigned.
2416         (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
2417         (promoted_input_arg): REGNO is unsigned.
2418         * function.h (struct function): x_max_parm_reg is now unsigned.
2419         * gcse.c (max_gcse_regno): Now unsigned.
2420         (struct null_pointer_info): min_reg and max_reg now unsigned.
2421         (lookup_set, next_set): REGNO arg now unsigned.
2422         (compute_hash_table): REGNO and I now unsigned.
2423         (handle_avail_expr): regnum_for_replacing now unsigned.
2424         (cprop_insn): REGNO now unsigned.
2425         (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
2426         * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
2427         * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
2428         * hard-reg-set.h (reg_class_size): Now unsigned.
2429         * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
2430         * jump.c (mark_modified_reg): I now unsigned; add cast.
2431         (rtx_equal_for_thread_p): Add cast.
2432         * loop.c (max_reg_before_loop): Now unsigned.
2433         (struct_movable): REGNO now unsigned.
2434         (try_copy_prop): REGNO arg unsigned.
2435         (regs_match_p): XN and YN now unsigned.
2436         (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
2437         (strength_reduce): Likewise; NREGS also unsigned.
2438         (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2439         * loop.h (struct iv_class): REGNO now unsigned.
2440         (max_reg_before_loop, first_increment_giv, last_increment_giv):
2441         Now unsigned.
2442         * machmode.h (mode_size, mode_unit_size): Now unsigned.
2443         (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2444         * optabs.c (expand_binop): I and NWORDS now unsigned.
2445         (expand_unop): I now unsigned.
2446         * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2447         print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2448         * real.c (significand_size): Now returns unsigned.
2449         * real.h (significand_size): Likewise.
2450         * regclass.c (reg_class_size): Now unsigned.
2451         (choose_hard_reg_mode): Both operands now unsigned.
2452         (record_reg_classes): REGNO and NR now unsigned.
2453         (reg_scan): NREGS now unsigned.
2454         (reg_scan_update): old_max_regno now unsigned.
2455         (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2456         * reload.c (find_valid_class): BEST_SIZE now unsigned.
2457         (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2458         (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2459         Likewise for variable R.
2460         (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2461         as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2462         (find_equiv_reg): Add casts.
2463         (regno_clobbered_p): Arg REGNO now unsigned.
2464         * reload.h (struct reload): NREGS now unsigned.
2465         (refers_to_regno_for_reload_p): Regno args are unsigned.
2466         (regno_clobbered_p): Likewise.
2467         * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2468         (compute_use_by_pseudos): REGNO now unsigned.
2469         (find_reg): I and J now unsigned, new variable K, and change loop
2470         variables accordingly; THIS_NREGS now unsigned.
2471         (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2472         (spill_hard_reg): REGNO arg now unsigned; add casts.
2473         (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2474         (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2475         (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2476         END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2477         (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2478         (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2479         (emit_reload_insns): REGNO now unsigned.
2480         (reload_cse_move2add): Add cast.
2481         (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2482         and rework loop.
2483         * resource.c (mark_referenced_resources, mark_set_resources): New
2484         variable R; REGNO and LAST_REGNO now unsigned.
2485         (mark_target_live_regs): J and REGNO now unsigned.
2486         * rtl.c (mode_size, mode_unit_size): Now unsigned.
2487         * rtl.h (union rtunion_def): New field rtuint.
2488         (XCUINT): New macro.
2489         (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2490         (operand_subword, operand_subword_force): Word number is unsigned.
2491         (choose_hard_reg_mode): Operands are unsigned.
2492         (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2493         (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2494         (regno_use_in, combine_instructions, remove_death): Likewise.
2495         (reg_scan, reg_scan_update): Likewise.
2496         (extended_count): Return is unsigned.
2497         * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
2498         INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
2499         (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
2500         (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
2501         (reg_reg_last_1): FIRS and LAST now unsigned.
2502         (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
2503         (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
2504         now unsigned.
2505         (find_regno_note, regno_use_in): Arg REGNO now unsigned.
2506         (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
2507         (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
2508         (replace_regs): Arg NREGS now unsigned.
2509         * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
2510         * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
2511         (simplify_binary_operation): Likewise.
2512         (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
2513         THIS_LAST now unsigned.
2514         (cselib_record_set): Add cast.
2515         * ssa.c (ssa_max_reg_num): Now unsigned.
2516         (rename_block): REGNO now unsigned.
2517         * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
2518         sizes now unsigned.
2519         (all_cases_count): Just return -1 not -2.
2520         COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
2521         Rework tests to use trees whenever possible.
2522         Use host_integerp and tree_low_cst.
2523         (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
2524         Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
2525         (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
2526         * stor-layout.c (mode_for_size): SIZE arg now unsigned.
2527         (smallest_mode_for_size): Likewise.
2528         (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
2529         KNOWN_ALIGN is now an alignment, so simplify code.
2530         Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
2531         (start_record_layout): Renamed from new_record_layout_info.
2532         Update to new fields.
2533         (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
2534         New functions.
2535         (place_union_field): Renamed from layout_union_field.
2536         Update to use new fields in rli.
2537         (place_field): Renamed from layout_field.
2538         Major rewrite to use new fields in rli; pass alignment to layout_decl.
2539         (finalize_record_size): Rework to use new fields in rli and handle
2540         union.
2541         (compute_record_mode): Rework to simplify and to use new DECL fields.
2542         (finalize_type_size): Make rounding more consistent.
2543         (finish_union_layout): Deleted.
2544         (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
2545         (layout_type, case RECORD_TYPE): Call new function names.
2546         (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
2547         (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
2548         (get_best_mode): UNIT is now unsigned; remove casts.
2549         * tree.c (bit_position): Compute from new fields.
2550         (byte_position, int_byte_position): New functions.
2551         (print_type_hash_statistics): Cast to remove warning.
2552         (build_range_type): Use host_integerp and tree_low_cst to try to hash.
2553         (build_index_type): Likewise; make subtype of sizetype.
2554         (build_index_2_type): Pass sizetype to build_range_type.
2555         (build_common_tree_nodes): Use size_int and bitsize_int to
2556         initialize nodes; add bitsize_{zero,one,unit}_node.
2557         * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
2558         (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
2559         (DECL_PACKED, DECL_BIT_FIELD): Likewise.
2560         (DECL_FIELD_BITPOS): Deleted.
2561         (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
2562         (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
2563         (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
2564         (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
2565         (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
2566         (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
2567         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
2568         (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
2569         (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
2570         (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
2571         (DECL_ALIGN): Adjust to new field in union.
2572         (DECL_OFFSET_ALIGN): New field.
2573         (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
2574         (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
2575         (union tree_decl): Add struct for both aligns.
2576         (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
2577         (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
2578         (struct record_layout_info): Rework fields to have offset
2579         alignment and byte and bit position.
2580         (start_record_layout, place_field): Renamed from old names.
2581         (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
2582         (byte_position, int_byte_position): Likewise.
2583         (get_inner_reference): Change types of position and length.
2584         * unroll.c (unroll_loop): New variable R; use for some loops.
2585         MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
2586         (calculate_giv_inc): Arg REGNO now unsigned.
2587         (copy_loop_body): REGNO and SRC_REGNO now unsigned.
2588         * varasm.c (assemble_variable): Clean up handling of size using
2589         host_integerp and tree_low_cst.
2590         (decode_addr_const): Use byte, not bit, position.
2591         (output_constructor): bitpos and offsets are HOST_WIDE_INT;
2592         use tree_low_cst and int_bit_position.
2593         * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
2594         
2595 Fri Mar 24 20:13:49 2000  Jason Eckhardt  <jle@cygnus.com>
2596
2597         * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
2598         (reorder_block_def): New members eff_head and eff_end.
2599         (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
2600         (verify_insn_chain): New function.
2601         (skip_insns_between_block): Add code to skip deleted insns.
2602         Check for note before using.
2603         (chain_reorder_blocks): Replace calls to skip_insns_between_block
2604         with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
2605         Check for note before using.
2606         (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
2607         (fixup_reorder_chain): Restructure, clean up, defect removal.
2608         (reorder_basic_blocks): Remove last_insn and references to it.
2609         Moved insn chain verification code into a new function (see above).
2610         Delete defective code that sets last insn.
2611         Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
2612         all blocks.
2613
2614 2000-03-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2615
2616         * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
2617
2618 2000-03-24  Richard Henderson  <rth@cygnus.com>
2619
2620         * tree.c (lang_safe_for_unsave): Remove.
2621         (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
2622         allowing for two levels of unsafeness.  Remove lang hook.
2623         * tree.h: Update declarations.
2624         * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
2625         Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
2626         Always fail sibcalls when there are pending cleanups.
2627
2628 2000-03-24  Geoff Keating  <geoffk@cygnus.com>
2629
2630         * flow.c (propagate_block): When we delete an ADDR_VEC,
2631         also delete the BARRIER following it if there is one.
2632
2633 2000-03-24  Richard Henderson  <rth@cygnus.com>
2634
2635         * builtins.c (expand_builtin_bzero): Convert `length' argument
2636         to sizetype.
2637
2638 2000-03-24  Jakub Jelinek  <jakub@redhat.com>
2639
2640         * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
2641         comparison if regno's are equal.
2642         * calls.c (initialize_argument_informat): Add ecf_flags argument.
2643         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2644         (expand_call): Update caller.
2645         Avoid making a sibling call if argument size of the callee is larger
2646         than argument size of the caller.
2647         Call hard_function_value with outgoing set if in sibcall pass.
2648         Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
2649
2650         * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
2651         Change LEAF_REGISTERS from an array initializer to actual array
2652         identifier. Move static global variable into the function.
2653         (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
2654         sequences for leaf functions.
2655         * global.c (global_alloc): Likewise.
2656         * tm.texi (LEAF_REGISTERS): Update documentation.
2657
2658         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
2659         TARGET_FLAT leaf disabling hack.
2660         (LEAF_REGISTERS): Changed from an array initializer to actual array
2661         identifier to avoid duplication and remove the above hack.
2662         (FUNCTION_OK_FOR_SIBCALL): Define.
2663         * config/sparc/sparc.md (sibcall): New attr type. Use it almost
2664         always like call attribute.
2665         (eligible_for_sibcall_delay): New attribute.
2666         (sibcall): New delay type.
2667         (sibcall, sibcall_value, sibcall_epilogue): New expands.
2668         (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
2669         sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
2670         * config/sparc/sparc.c (sparc_leaf_regs): New array.
2671         (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
2672         New functions.
2673         (output_function_epilogue): Move part of the code into
2674         output_restore_regs.
2675         (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
2676         TYPE_SIBCALL.
2677         * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
2678         prototypes.
2679
2680         * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
2681         until infrastructure is finished.
2682
2683 Fri Mar 24 13:49:45 2000  Jeffrey A Law  (law@cygnus.com)
2684
2685         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
2686         (save_parm_insns): Not here.
2687
2688 2000-03-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2689
2690         * builtins.c (expand_builtin_bzero): New function.
2691         (expand_builtin): Handle bzero.
2692
2693         * builtins.def: Add BUILT_IN_BZERO.
2694
2695         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2696         prototype & function for bzero.
2697
2698 2000-03-23  Michael Meissner  <meissner@redhat.com>
2699
2700         * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
2701         change adding TARGET_FP to the TF floating point insns, except for
2702         trunctfsf2, which generates direct calls to truncdfsf2.
2703
2704 2000-03-23  Geoff Keating  <geoffk@cygnus.com>
2705
2706         * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
2707         try to protect against middle-end changes that break binary
2708         compatibility.
2709         (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
2710
2711 2000-03-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2712
2713         * config/c4x/c4x.md (load_immed_address):  Add DP reg clobber.
2714
2715 Thu Mar 23 17:10:48 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2716
2717         * calls.c (expand_call): If TARGET is passed by reference and
2718         is readonly, write a CLOBBER.
2719
2720 2000-03-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2721
2722         * builtins.c (expand_builtin): Handle bcmp.
2723
2724         * builtins.def: Add BUILT_IN_BCMP.
2725
2726         * c-common.c (c_common_nodes_and_builtins): Provide builtin
2727         prototype & function for bcmp.
2728
2729 Thu Mar 23 11:34:39 2000  Jim Wilson  <wilson@cygnus.com>
2730
2731         * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
2732         (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
2733         * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
2734
2735 Thu Mar 23 16:04:40 2000  Andrew Haley  <aph@cygnus.com>
2736
2737         * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
2738         alternative when using -fp64 -gp32.
2739
2740 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2741
2742         * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
2743         * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
2744         * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
2745
2746         * frame.h (frame_state): Revert last change.
2747         * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
2748         * libgcc2.c (throw_helper): Revert last change.
2749         
2750 2000-03-22  Richard Henderson  <rth@cygnus.com>
2751
2752         * stmt.c (expand_asm_operands): Don't promote the temporary.
2753
2754 2000-03-22  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2755
2756         * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
2757         * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
2758           c_get_alias_set): Likewise.
2759         * c-decl.c (duplicate_decls): Likewise.
2760         * c-typeck.c (default_conversion,build_unary_op): Likewise.
2761         * calls.c (initialize_argument_information): Likewise.
2762         * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
2763         Likewise.
2764         * dwarfout.c (decl_class_context,output_type): Likewise.
2765         * expr.c (get_inner_reference): Likewise.
2766         * fold-const.c (simple_operand_p,fold): Likewise.
2767         * function.c (aggregate_value_p): Likewise.
2768         * stmt.c (expand_asm_operands): Likewise.
2769         * varasm.c (named_section): Likewise.
2770
2771 2000-03-22  Jason Merrill  <jason@casey.cygnus.com>
2772
2773         Implement dwarf2 exception handling for the ARM.
2774         * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
2775         (DWARF_FRAME_RETURN_COLUMN): Define.
2776         * config/arm/arm.c (emit_multi_reg_push): Return rtx.  Attach
2777         REG_FRAME_RELATED_EXPR note.
2778         (emit_sfm): Likewise.
2779         (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
2780         * dwarf2out.c (reg_save): Handle saving a register to itself.
2781         (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
2782         * except.c (eh_regs): Don't use the static chain reg if it's
2783         callee-saved.
2784         * frame.h (frame_state): Add cfa_saved field.
2785         * frame.c (execute_cfa_insn): Set it.
2786         * libgcc2.c (throw_helper): Don't adjust sp if it's restored in 
2787         the epilogue.
2788         * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
2789         Now takes a parm.
2790         (instantiate_virtual_regs): Adjust.
2791         * tm.texi: Adjust.
2792         * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2793         * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
2794         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
2795
2796         * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
2797         (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
2798
2799 2000-03-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2800
2801         * builtins.def: New file.
2802
2803         * Makefile.in (TREE_H): Depend on builtins.def.
2804
2805         * builtins.c (built_in_names): Use builtins.def.
2806
2807         * tree.h (built_in_function): Likewise.
2808
2809 2000-03-22  Mark Mitchell  <mark@codesourcery.com>
2810
2811         * tree.c (size_in_bytes): Return size_zero_node, not
2812         integer_zero_node.
2813
2814 2000-03-22  Geoff Keating  <geoffk@cygnus.com>
2815
2816         * config/fp-bit.c (pack_d): Correct the case when a denormal
2817         is rounded up and stops being denormal.
2818
2819 2000-03-21  Richard Henderson  <rth@cygnus.com>
2820
2821         * config/alpha/alpha.c (function_arg): Check for void_type_node
2822         before using MUST_PASS_IN_STACK.
2823
2824 2000-03-21  Stephane Carrez  <stcarrez@worldnet.fr>
2825
2826         * regmove.c (combine_stack_adjustments_for_block): Check that
2827         the stack pointer is a valid memory address.
2828
2829 Wed Mar 22 11:44:50 MET 2000  Jan Hubicka  <jh@suse.cz>
2830
2831         * calls.c: re-install Mar 16 emit_library_call merge.
2832
2833 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
2834
2835         * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
2836         we cannot be sure that if reload_completed base register will
2837         be properly aligned.
2838
2839 2000-03-21  Richard Henderson  <rth@cygnus.com>
2840
2841         * flow.c (delete_block): Fix typo last change.
2842
2843 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
2844
2845         * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
2846         not COMPLETE_TYPE_P, to check the type of the expression.
2847
2848 2000-03-21  Michael Meissner  <meissner@redhat.com>
2849
2850         * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
2851         all floating point insns that just tested the macro
2852         TARGET_HAS_XFLOATING_LIBS.
2853         (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
2854         used to only use the gprs.
2855
2856 2000-03-21  Nathan Sidwell  <nathan@codesourcery.com>
2857
2858         * tree.h (COMPLETE_TYPE_P): New macro.
2859         (COMPLETE_OR_VOID_TYPE_P): New macro.
2860         (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
2861         * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
2862         * c-aux-info.c (gen_type): Use them.
2863         * c-common.c (c_expand_expr_stmt): Likewise.
2864         * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
2865         grokdeclarator, grokparms, finish_struct, start_function,
2866         store_parm_decls, combine_parm_decls): Likewise.
2867         * c-parse.y (cast_expr): Likewise.
2868         * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
2869         c_size_in_bytes, c_alignof, build_component_ref,
2870         build_indirect_ref, build_array_ref, convert_arguments,
2871         build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
2872         * calls.c (initialize_argument_information): Likewise.
2873         * convert.c (convert_to_integer): Likewise.
2874         * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
2875         * dwarfout.c (location_or_const_value_attribute,
2876         output_enumeration_type_die, output_structure_type_die,
2877         output_union_type_die, output_type): Likewise.
2878         * expr.c (safe_from_p, expand_expr): Likewise.
2879         * function.c (assign_parms): Likewise.
2880         * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
2881         * tree.c (build_array_type, build_function_type,
2882         build_method_type, build_offset_type, build_complex_type): Likewise.
2883         * c-parse.c, c-parse.h: Regenerated.
2884
2885 2000-03-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2886
2887         * config/c4x/rtems.h: Include config/rtems.h.
2888
2889 Tue Mar 21 09:24:00 2000  Denis Chertykov  <denisc@overta.ru>
2890
2891         * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
2892         decl is a FUNCTION_DECL
2893
2894 Mon Mar 20 19:53:53 2000  Jim Wilson  <wilson@cygnus.com>
2895
2896         * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
2897         function uses output registers.  Don't save RP for leaf functions.
2898         Do save RP even if no epilogue.
2899         * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
2900         (CALL_USED_REGISTERS): Unmark in registers.
2901         (REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
2902         to near the middle.
2903
2904 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2905
2906         * config/rs6000/rs6000.md (bunordered): New expander.
2907         (bordered): New expander.
2908         (buneq): New expander.
2909         (bunge): New expander.
2910         (bungt): New expander.
2911         (bunle): New expander.
2912         (bunlt): New expander.
2913         (bltgt): New expander.
2914  
2915         * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
2916         (ccr_bit_negated_p): New function.
2917         (print_operand): For %C, generate appropriate cror for UNEQ,
2918         UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.
2919
2920 2000-03-20  Andreas Jaeger  <aj@suse.de>
2921
2922         * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
2923         warning.
2924
2925         * tree.h (safe_for_unsave): Prototype.
2926
2927 2000-03-20  Richard Henderson  <rth@cygnus.com>
2928
2929         * regmove.c (stack_memref_p): Fix typo, reorg for readability.
2930         (combine_stack_adjustments_for_block): Don't allow sp references
2931         in the side of a set we're not fixing up.
2932         * toplev.c (rest_of_compilation): Run combine_stack_adjustments
2933         after life_analysis.
2934
2935 2000-03-20  Richard Henderson  <rth@cygnus.com>
2936
2937         * calls.c (expand_call): Don't bother generating tail call
2938         sequences if there are pending cleanups.  Use
2939         expand_start_target_temps/expand_end_target_temps to elide
2940         cleanups created during sibcall expansion.
2941
2942 2000-03-20  Geoff Keating  <geoffk@cygnus.com>
2943
2944         * configure.in: Set $IFS to a value if it doesn't already have one
2945         in the --enable-checking handling.
2946         * configure: Regenerate.
2947
2948 2000-03-20  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2949
2950         * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
2951         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
2952         Regenerated.
2953
2954 Mon Mar 20 11:43:15 MET 2000  Jan Hubicka  <jh@suse.cz>
2955
2956         * jump.c (delete_noop_moves): Remove code attempting to
2957         combine stack adjustments.
2958
2959 2000-03-19  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
2960
2961         * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
2962         * except.c (emit_cleanup_handler): Use them.
2963         (expand_end_all_catch): Likewise.
2964         * function.c (fixup_var_refs): Likewise.
2965         (expand_function_end): Clear catch_clauses_last.
2966         * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
2967         * except.h (struct eh_status): New field x_catch_clauses_last.
2968         (catch_clauses_last): New define.
2969
2970         * Makefile.in (tree.o): Depend on HASHTAB_H.
2971         * tree.c: Include hashtab.h.
2972         (struct type_hash): Remove next field.
2973         (TYPE_HASH_SIZE): Remove.
2974         (TYPE_HASH_INITIAL_SIZE): New define.
2975         (type_hash_table): Change type to htab_t.
2976         (type_hash_eq, type_hash_hash, print_type_hash_statistics,
2977         mark_hash_entry): New functions.
2978         (init_obstacks): Allocate type hash.
2979         (type_hash_lookup): Use htab functions.
2980         (type_hash_add, mark_type_hash): Likewise.
2981         (dump_tree_statistics): Call print_type_hash_statistics.
2982
2983 2000-03-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2984
2985         * rs6000/t-aix41: New file.
2986
2987         * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
2988
2989 Sun Mar 19 13:27:30 2000  Hans-Peter Nilsson  <hp@axis.com>
2990
2991         * tm.texi (Driver): Fix typos and tweak entry for
2992         INCLUDE_DEFAULTS.
2993         Move misplaced STRUCT_FORCE_BLK entry ...
2994         (Storage Layout): ... to here.
2995         (Run-time Target): Recommend having TARGET_MASK_... helper macros.
2996
2997 2000-03-19  Richard Henderson  <rth@cygnus.com>
2998
2999         * flow.c (delete_block): Delete the addr_vec along with the block.
3000         (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
3001         reference labels.
3002
3003         * fold-const.c (extract_muldiv): Apply type check for defined
3004         overflow to multiply as well as divide.
3005
3006         * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
3007
3008 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
3009
3010         * emit-rtl.c (remove_unncessary_notes): Check that all
3011         NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
3012         associated NOTE_BLOCK.
3013         * function.h (identify_blocks): Update comments.
3014         (reorder_blocks): Declare.
3015         * function.c (identify_blocks): Don't take paramters.
3016         (reorder_blocks): Don't take parameters.
3017         * loop.h (find_loop_tree_blocks): Remove.
3018         (unroll_block_trees): Likewise.
3019         * loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
3020         reorder_blocks instead of unroll_block_trees.h
3021         * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
3022         * stmt.c (find_loop_tree_blocks): Remove.
3023         (unroll_block_trees): Likewise.
3024         * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
3025         in whole-function mode.
3026         * tree.h (reorder_blocks): Remove declaration.
3027
3028         * expr.c: Include intl.h.
3029         * Makefile.in (expr.o): Depend on intl.h.
3030         
3031 2000-03-18  Richard Henderson  <rth@cygnus.com>
3032
3033         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
3034
3035 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
3036
3037         * tree.h (tree_index): Remove enumerals for integer types.
3038         (integer_type_kind): New type.
3039         (integer_types): New variable.
3040         (char_type_node): Adjust.
3041         (signed_char_type_node): Likewise.
3042         (unsigned_char_type_node): Likewise.
3043         (short_integer_type_node): Likewise.
3044         (short_unsigned_type_node): Likewise.
3045         (integer_type_node): Likewise.
3046         (unsigned_type_node): Likewise.
3047         (long_integer_type_node): Likewise.
3048         (long_unsigned_type_node): Likewise.
3049         (long_long_integer_type_node): Likewise.
3050         (long_long_unsigned_type_node): Likewise.
3051         * tree.c (integer_types): New variable.
3052         (init_obstacks): Register it as a root.
3053
3054 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
3055
3056         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
3057         NEXT_INSN. Update last insn in chain.
3058
3059 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
3060
3061         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
3062         with TYPE_DECL_SUPPRESS_DEBUG set.
3063
3064 2000-03-18  Richard Henderson  <rth@cygnus.com>
3065
3066         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
3067
3068 2000-03-18  Richard Henderson  <rth@cygnus.com>
3069
3070         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
3071         care for HALF_PIC_P.
3072         (expander_call_insn_operand): Remove.
3073         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
3074         * i386.h (PREDICATE_CODES): Update.
3075         * i386.md (all call expanders): Remove predicates, remove special
3076         handling for half-pic.
3077         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
3078         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
3079         (sibcall_epilogue): New.
3080
3081 2000-03-17  Richard Henderson  <rth@cygnus.com>
3082
3083         * rtlanal.c (single_set): Reject if the parallel has anything
3084         except SET or USE or CLOBBER.
3085
3086 2000-03-17  Jeff Law  <law@cygnus.com>
3087             Richard Henderson  <rth@cygnus.com>
3088
3089         * Makefile.in (OBJS): Add sibcall.o.
3090         (sibcall.o): New.
3091         * sibcall.c: New file.
3092         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
3093         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
3094         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
3095         Emit sibcall patterns when requested.  Update all callers.
3096         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
3097         elimination seems feasable.
3098         * final.c (leaf_function_p): Sibling calls don't discount being
3099         a leaf function.
3100         * flow.c (HAVE_sibcall_epilogue): Provide default.
3101         (find_basic_blocks_1): Sibling calls don't throw.
3102         (make_edges): Make edge from sibling call to EXIT.
3103         (propagate_block): Don't remove sibcall_epilogue insns.
3104         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
3105         (sibcall_epilogue): New.
3106         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
3107         (identify_blocks_1): Likewise.  Break out from ...
3108         (identify_blocks): ... here.
3109         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
3110         (reorder_blocks): ... here.
3111         (init_function_for_compilation): Zap prologue/epilogue as varrays.
3112         (record_insns): Extend a varray instead of mallocing new memory.
3113         (contains): Read a varray not array of ints.
3114         (sibcall_epilogue_contains): New.
3115         (thread_prologue_and_epilogue_insns): Emit and record
3116         sibcall_epilogue patterns.
3117         (init_function_once): Allocate prologue/epilogue varrays.
3118         * genflags.c (gen_insn): Treat sibcall patterns as calls.
3119         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
3120         Broken out from ...
3121         (save_for_inline_nocopy): ... here.
3122         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
3123         Broken out from ...
3124         (expand_inline_function): ... here.
3125         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
3126         (subst_constants): Handle 'n' formats.
3127         * jump.c (jump_optimize_minimal): New.
3128         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
3129         optimizations if it's set.
3130         * rtl.c (copy_rtx): Do copy jump & call for insns.
3131         * rtl.h (struct rtx_def): Document use of jump and call for insns.
3132         (SIBLING_CALL_P): New.
3133         (sibcall_use_t): New.
3134         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
3135         Invoke optimize_sibling_and_tail_recursive_calls.
3136         * tree.c (lang_safe_for_unsave): New.
3137         (safe_for_unsave): New.
3138         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
3139
3140         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
3141         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
3142         (*sibcall_osf_1, *sibcall_value_osf_1): New.
3143
3144 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
3145
3146         * objc/objc-act.c (encode_method_prototype): Pass types, not
3147         PARM_DECLs, to int_size_in_bytes.
3148
3149 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
3150
3151         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
3152
3153         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3154         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
3155
3156 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3157
3158         * Clean up usages of TREE_INT_CST_LOW.
3159         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
3160         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3161         Regenerated.
3162         * c-tree.h (min_precision): Move declaration to here.
3163         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
3164         (build_unary_op, add_pending_init): Use bit_position.
3165         (pending_init_member, process_init_element): Likewise.
3166         (really_start_incremental_init, push_init_level, pop_init_level):
3167         Don't make copies of nodes or modify them in place, use consistent
3168         types when tracking positions, and use tree routines computations.
3169         (set_init_index, output_init_element): Likewise.
3170         (output_pending_init_elements, process_init_element): Likewise.
3171         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
3172         tree_low_cst and int_bit_position; also minor cleanup.
3173         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
3174         (print_cst_octal): Precision is unsigned.
3175         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
3176         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
3177         (simple_type_align_in_bits): Result is unsigned int.
3178         Use tree_int_low_cst and host_integerp.
3179         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
3180         (field_byte_offset): Result is HOST_WIDE_INT.
3181         Change types of internal variables so alignments are unsigned int,
3182         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
3183         Use host_integerp, tree_low_cst, and int_bit_position.
3184         (add_bit_offset_attribute): Likewise.
3185         (add_data_member_location_attribute): Use tree_cst_low.
3186         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
3187         (add_bit_size_attribute): Use tree_low_cst.
3188         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
3189         * dwarfout.c: Similar changes to dwarf2out.c.
3190         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
3191         * genoutput.c (n_occurences): Return -1 for null string.
3192         (strip_whitespace): Accept null string and make into function.
3193         (scan_operands): Reflect above changes.
3194         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
3195         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
3196         * ssa.c (rename_registers): Add missing cast of arg to bzero.
3197         * tree.c (int_size_in_bytes): Check for too big to represent.
3198         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
3199         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
3200         New declarations.
3201         (min_precision): Delete from here.
3202         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
3203         and int_bit_position.
3204         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
3205         (encode_method_def): Likewise.
3206         (build_ivar_list_initializer): Use int_bit_position.
3207         (generate_shared_structures): Convert size.
3208         (encode_type, encode_complete_bitfield): Use integer_zerop.
3209         (encode_bitfield): Use tree_low_cst and int_bit_position.
3210         
3211 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3212
3213         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
3214
3215 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
3216
3217         * call.c (special_function_p): It is only malloc if it returns
3218         Pmode.
3219
3220 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3221
3222         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
3223         (C33_FLAG, TARGET_C3X): Add macros.
3224         (TARGET_SWITCHES): Add -m33 option.
3225         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
3226         
3227 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3228         
3229         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
3230         (PARALLEL_PACK_FLAG): Delete.
3231         (TARGET_SWITCHES): Update.
3232         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
3233
3234 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3235
3236         * fold-const.c (fold): Fix a few cases when the returned result
3237         is not of the same type as the input.
3238
3239 2000-03-16  Nick Clifton  <nickc@cygnus.com>
3240
3241         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
3242         warning.
3243
3244 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3245
3246         * libgcc2.h: Move prototypes above macros with the same name.
3247         Wrap some function prototypes in the conditional which indicates
3248         whether they are supported, i.e. "BITS_PER_UNIT == 8".
3249
3250 2000-03-16  Richard Henderson  <rth@cygnus.com>
3251
3252         * calls.c: Revert last two changes.
3253
3254 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
3255
3256         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
3257         has exponent 0 is a zero.
3258
3259         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
3260         HASH may already be nonzero.  Add code/mode into hash value
3261         immediately after repeat label.
3262         (cselib_lookup): Don't leave the hash table in an inconsistent
3263         state before a hash lookup operation.
3264
3265 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
3266
3267         * i386.md (all HI and QI mode non-move patterns):  Conditionize
3268         by TARGET_[HQ]IMODE_MATH.
3269         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3270         x86_promote_qi_regs): Declare.
3271         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
3272         TARGET_PROMOTE_QI_REGS): New macros.
3273         (PROMOTE_MODE): New macro.
3274         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3275         x86_promote_qi_regs): New global variables.
3276
3277 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
3278
3279         * calls.c (emit_library_call_value_1): Break out from ...; handle
3280         VOIDmode function calls too.
3281         (emit_library_call_value): ... here.
3282         (emit_library_call): Implement by calling emit_library_call_value_1.
3283
3284 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
3285
3286         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
3287         Update arg_space_so_far on stack adjustments.
3288         (emit_library_call, emit_library_call_value): Likewise; take into
3289         account arg_space_so_far and pending_stack_adjust when calculcating
3290         the boundary.
3291
3292 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
3293
3294         * flow.c: Move all basic block reordering code into its own file.
3295         (create_basic_block): Externalize.
3296         * bb-reorder.c: New file. Copy all basic block reordering code from
3297         flow.c to this file.
3298         (reorder_basic_blocks): Fix fencepost error in for-loop.
3299         (reorder_basic_blocks): Remove braces from single statement for-loops.
3300         * basic-block.h: Add declaration for create_basic_block.
3301         * Makefile.in: Add rules for bb-reorder.o.
3302
3303 2000-03-16  Neil Booth  <NeilB@earthling.net>
3304
3305         * cppinit.c (handle_option):  Implement #unassert directive
3306         as -A- command line option.
3307         (print_help):  Update.
3308         * cpptexi.c:  Update.
3309
3310 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3311
3312         * md.texi (Standard Names): Document `jump'.
3313
3314 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
3315
3316         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
3317         gotos.
3318
3319 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
3320
3321         Merge changes from newppc-branch onto trunk.
3322
3323         2000-03-15  Geoff Keating  <geoffk@cygnus.com>
3324
3325         * rs6000.c (toc_hash_table): Update for new hash table functions.
3326         (toc_hash_function): Likewise.
3327         (toc_hash_eq): Likewise.
3328         (toc_hash_mark_entry): Likewise.
3329         (toc_hash_mark_table): Likewise.
3330         (output_toc): Likewise.
3331         (rs6000_add_gc_roots): Likewise.
3332
3333         2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3334
3335         * t-aix43 (AR_FOR_TARGET): Deleted.  Moved `-X32_64'...
3336         (AR_FLAGS_FOR_TARGET): here.  New macro.
3337
3338         2000-03-05  Clinton Popetz  <cpopetz@cygnus.com>
3339
3340         * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
3341         fpmem_operand) Delete.
3342         (xer_operand) New.
3343         (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
3344         (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
3345         (rs6000_save_machine_status, rs6000_restore_machine_status, 
3346         rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove 
3347         references to above variables.
3348         (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
3349         * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
3350         DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
3351         (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
3352         (XER_REGNO_P, XER_REGNO): New.
3353         (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
3354         (PREDICATE_CODES): Change fpmem_operand to xer_operand.
3355         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to 
3356         XER_REGNO_P.
3357         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
3358         REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS,         and remove FLOAT_OR_FPMEM_REGS.
3359         (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
3360         
3361         2000-02-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3362
3363         * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
3364         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
3365         * rs6000.h: from here.
3366
3367         * rs6000-protos.h (rs6000_select_section): Provide prototype.
3368         (rs6000_select_rtx_section): Likewise.
3369         (rs6000_encode_section_info): Likewise.
3370         (sdata_section): Likewise.
3371         (sdata2_section): Likewise.
3372         (sbss_section): Likewise.
3373         * sysv4.h (rs6000_select_section): Delete prototype.
3374         (rs6000_select_rtx_section): Likewise.
3375         (rs6000_encode_section_info): Likewise.
3376         (sdata_section): Likewise.
3377         (sdata2_section): Likewise.
3378         (sbss_section): Likewise.
3379         (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
3380
3381         * sysv4.h: Delete various unnecessary #undef's and put a comment
3382         on the remaining ones.
3383         Change various comments according to coding standard.
3384
3385         2000-02-29  Clinton Popetz  <cpopetz@cygnus.com>
3386
3387         * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO, 
3388         CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
3389         (CR0_REGNO_P) Remove.
3390         * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand, 
3391         setup_incoming_varargs, mtcrf_operation, print_operand, 
3392         rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue): 
3393         Use the above macros.
3394
3395         2000-02-24  Clinton Popetz  <cpopetz@cygnus.com>
3396
3397         * config/rs6000/rs6000.md: Added a new alternative for each
3398         pattern that had a 'x' alternative but no 'y' alternative.
3399         Added a new split for each of the above patterns.
3400
3401         2000-02-18  Geoff Keating  <geoffk@cygnus.com>
3402
3403         * aix41.h (ASM_CPU_SPEC): Delete.
3404         (CPP_CPU_SPEC): Delete.
3405
3406         * aix.h (RS6000_OUTPUT_BASENAME): Define.
3407         (ASM_OUTPUT_LABEL): Define.
3408         (ASM_GLOBALIZE_LABEL): Define.
3409         (STRIP_NAME_ENCODING): Define.
3410         * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
3411         (STRIP_NAME_ENCODING): Don't define.
3412         (ASM_OUTPUT_LABEL): Don't define.
3413         (ASM_GLOBALIZE_LABEL): Don't define.
3414         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
3415         names, and ASM_OUTPUT_LABEL to output labels, rather than
3416         asm_fprintf.
3417         (ASM_OUTPUT_LABEL): Define.
3418         (ASM_OUTPUT_INT): Use assemble_name.
3419         (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
3420         (STRIP_NAME_ENCODING): Don't undefine first.
3421         (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
3422         ELF.
3423         (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
3424         specified with 'asm' even with -fleading-underscore.
3425         * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
3426         (output_epilog): Likewise.
3427         (output_toc): Likewise. 
3428         * tramp.asm: Handle -fleading-underscore correctly.
3429
3430         * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
3431         -mminimal-toc.
3432         (nonlocal_goto_receiver): Delete.
3433         * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
3434
3435         * rs6000.h (ASM_OUTPUT_DEF): Don't define.
3436         (SET_ASM_OP): Define.
3437         * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
3438
3439         * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
3440         (ASM_LONG): Define.
3441
3442         * rs6000.c (rs6000_dll_import_ref): Delete, not used.
3443         * rs6000-protos.h (rs6000_dll_import_ref): Delete.
3444
3445         * rs6000.h: Add 'u' to more constants.
3446
3447         2000-02-18  David Edelsohn  <edelsohn@gnu.org>
3448
3449         * rs6000.md (mfcr+shift): Delete PowerPC64 version.
3450
3451         2000-02-15  David Edelsohn  <edelsohn@gnu.org>
3452
3453         * rs6000.c (reg_or_u_cint_operand): New function.
3454         (logical_operand): Handle 64-bit hosts.
3455         (logical_u_operand): New function.
3456         (non_logical_cint_operand): Handle 64-bit hosts.
3457         (non_logical_u_cint_operand): New function.
3458         * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
3459         (PREDICATE_CODES): Define new functions.
3460         * rs6000-protos.h: Declare new functions.
3461         * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
3462         (movdi_64): Bracket code intended for 64-bit hosts.  Create
3463         CONST_DOUBLE for 32-bit values.
3464         (scc insns): Generate DImode compares.
3465         (mfcr insns): Create DImode versions.
3466         (sge matchers): New patterns.
3467         
3468         2000-02-15  Gabriel Paubert  <paubert@iram.es>
3469
3470         * rs6000.md: Correct instructions length attributes and
3471         constraints on unsigned compare instructions.
3472         (*ne0): Disable for PowerPC64.
3473
3474         2000-02-11  Geoff Keating  <geoffk@cygnus.com>
3475
3476         * rs6000.c (output_function_profiler): Use .long for a 32-bit
3477         quantity, fix profile1.C test failure under -fPIC.
3478
3479         * rs6000.c: Add 'u' to many constants to suppress warnings.
3480         (constant_pool_expr_1): Make static.
3481         (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
3482         * rs6000.h: Add 'u' to many constants to suppress warnings.
3483
3484         * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
3485         for the start of the TOC, instead of LCTOC..0.
3486         * aix.h (toc_section): Use LCTOC..1 under AIX for the start
3487         of the TOC.
3488         * rs6000.md (load_toc_aix_si): Use LCTOC..1.
3489         (load_toc_aix_di): Use LCTOC..1.
3490
3491         * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
3492         * rs6000.c (rs6000_legitimize_address): New function from
3493         LEGITIMIZE_ADDRESS.  Only use create_TOC_reference on
3494         symbols in the constant pool that really are TOC references.
3495         (print_operand_address): For ELF, write TOC offsets under
3496         -fPIC as subtractions in the insn.
3497         (output_toc): For ELF, define symbols in TOC as normal labels,
3498         to match RTL.
3499         (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
3500         * rs6000-protos.h (rs6000_legitimize_address): Prototype.
3501         (create_TOC_reference): Prototype only when RTX_CODE is defined.
3502         * rs6000.md (movsi): Only use create_TOC_reference on
3503         symbols in the constant pool that really are TOC references.
3504
3505         * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
3506         * rs6000.c (rs6000_reorg): Delete.
3507         * rs6000-protos.h (rs6000_reorg): Delete.
3508
3509         2000-02-09  Geoff Keating  <geoffk@cygnus.com>
3510
3511         * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
3512
3513         * aix.h (SETUP_FRAME_ADDRESSES): Define.
3514         * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
3515         [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
3516         [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
3517         * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
3518         rs6000_aix_emit_builtin_unwind_init.
3519         * rs6000.md (eh_epilogue) [TARGET_AIX]: Call 
3520         rs6000_emit_eh_toc_restore on AIX.
3521         (return_eh_si): Use r2.
3522         (return_eh_di): Use r2.
3523
3524         * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
3525         since we're breaking binary compatibility anyway.
3526
3527         2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
3528
3529         * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
3530         constant_pool_expr_p): Declare them.
3531         (constant_pool_expr_p): Declare it.
3532         * config/rs6000/rs6000.c (toc_label_name): Define.
3533         (rs6000_override_options): Set toc_label_name.
3534         (input_operand): Allow any TOC_RELATIVE_EXPR_P.
3535         (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
3536         uses_TOC): New functions.
3537         (print_operand): Delete old '*' case.
3538         (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
3539         and strip off rtl for TOC before calling output_addr_const.
3540         (rs6000_emit_load_toc_table): Use toc_label_name.
3541         * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
3542         the default.
3543         (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
3544         (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
3545         (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
3546         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
3547         into explicit TOC_REGISTER offsets.
3548         (TOC_REGISTER): New macro.
3549         * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under 
3550         TARGET_TOC to reference TOC_REGISTER.
3551         (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
3552         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call  
3553         uses_TOC before emitting label references.
3554
3555         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3556
3557         * rs6000.md (stack_tie): Fix warning.
3558
3559         * eabi-ctors.c: Use 'asm' names for the start/end variables,
3560         to handle -fleading-underscore.
3561         * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
3562         (USER_LABEL_PREFIX): New macro.
3563         (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
3564         (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
3565         * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
3566         call-linux can use the same multilibs.
3567         * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
3568         and call-linux multilibs.  Do multilib with -fleading-underscore.
3569         (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
3570         (MULTILIB_EXCEPTIONS): Remove call-linux exceptions.  Add restrictions
3571         to call-aix.
3572
3573         * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
3574         have MASK_SOFT_FLOAT set.
3575         (CPP_FLOAT_DEFAULT_SPEC): New macro.
3576         (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
3577         CPP_FLOAT_DEFAULT_SPEC.
3578
3579         * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
3580         * rs6000.md: Whitespace change.
3581         * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
3582         * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
3583
3584         2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3585
3586         * rs6000.md (eh_epilogue): New expander.
3587         (eh_reg_restore): New expand/split/insn combination.
3588         (return_eh_si): New insn.
3589         (return_eh_di): New insn.
3590
3591         * eabi-ci.asm: Put a label at the start of the .eh_frame section.
3592         * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
3593         * eabi-ctors.c (__do_global_ctors): Register this object's
3594         frame.  Clean up.  Call atexit() after the constructors.
3595         (__do_global_dtors): Deregister this object's frame.  Clean up.
3596         Allow for recursive calls to exit().
3597         * rs6000.c (fixuplabelno): New variable.
3598         * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
3599         TARGET_RELOCATABLE, it slows down exec() under linux.
3600         (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
3601
3602         * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
3603         (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
3604         (ASM_OUTPUT_DWARF_DELTA2): New macro.
3605         (ASM_OUTPUT_DWARF_DELTA4): New macro.
3606         (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
3607         (ASM_OUTPUT_DWARF_ADDR): New macro.
3608         (ASM_OUTPUT_DWARF_DATA4): New macro.
3609         (ASM_OUTPUT_DWARF_DATA2): New macro.
3610         (ASM_OUTPUT_DWARF_OFFSET4): New macro.
3611         (ASM_OUTPUT_DWARF_OFFSET): New macro.
3612         (UNALIGNED_INT_ASM_OP): New macro, fake definition.
3613
3614         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
3615
3616         * rs6000.c (rs6000_sr_alias_set): New variable.
3617         (rs6000_override_options): Initialise rs6000_sr_alias_set.
3618         (rs6000_emit_stack_tie): New function.
3619         (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
3620         in a way that dwarf2out can understand.
3621         (rs6000_frame_related): New function.
3622         (rs6000_emit_prologue): Use rs6000_sr_alias_set.  Specify
3623         RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
3624         Use rs6000_emit_stack_tie when needed.
3625         (rs6000_emit_epilogue): Use rs6000_sr_alias_set.  Don't set
3626         RTX_FRAME_RELATED_P.  Use rs6000_emit_stack_tie when needed.
3627         * rs6000.md (stack_tie): New insn.
3628         (return_internal_si): Allow return value to be in the count
3629         register.
3630         (return_internal_di): Likewise.
3631
3632         * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
3633
3634         2000-02-03  Geoff Keating  <geoffk@cygnus.com>
3635
3636         * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
3637
3638         2000-01-31  Geoff Keating  <geoffk@cygnus.com>
3639
3640         * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
3641
3642         * rs6000.md (stmw): Use the right POWER opcode.
3643         (lmw): Likewise.
3644
3645         2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3646
3647         * rs6000-protos.h: New file.
3648
3649         * rs6000.c: Include tm_p.h.  Fix compile time warnings.
3650         
3651         * rs6000.h: Move prototypes to rs6000-protos.h.  Fix compile time
3652         warnings.
3653         
3654         * sysv4.h: Likewise.
3655
3656         2000-01-28  Geoff Keating  <geoffk@cygnus.com>
3657
3658         * ../../configure.in: Delete powerpcle-*-winnt*
3659         and powerpcle-*-pe|powerpcle-*-cygwin*.
3660         * ../../configure: Regenerated.
3661         * cygwin.h: Delete.
3662         * rs6000.h (OBJECT_WINDOWS_NT): Delete.
3663         (TARGET_WINDOWS_NT): Delete.
3664         (ABI_NT): Delete.
3665         (CALL_NT_DLLIMPORT): Delete.
3666         Delete NT-specific code.
3667         * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
3668         * win-nt.h: Delete.
3669         * t-winnt: Delete.
3670         * nt-ci.asm: Delete.
3671         * nt-cn.asm: Delete.
3672         * ntstack.asm: Delete.
3673
3674         2000-01-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3675
3676         * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
3677         (ASM_FILE_START): Likewise.
3678         (ASM_DECLARE_FUNCTION_NAME): Likewise.
3679         (ASM_OUTPUT_LABELREF): Likewise.
3680         (ASM_OUTPUT_SKIP): Likewise.
3681         (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3682         (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3683         (ASM_OUTPUT_CASE_LABEL): Likewise.
3684         (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3685         (ASM_OUTPUT_ASCII): Likewise.
3686
3687         2000-01-27  Clinton Popetz  <cpopetz@cygnus.com>
3688
3689         * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
3690         reload_toc_labelno for non-prologue TOC reloads.  Also, don't
3691         increment rs6000_pic_labelno here.
3692         (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
3693         and increment rs6000_pic_labelno here.
3694
3695         2000-01-24  Geoffrey Keating  <geoffk@cygnus.com>
3696
3697         * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
3698         rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
3699         allocation knows (reg) is dead before the insn.
3700
3701         2000-01-21  Geoff Keating  <geoffk@cygnus.com>
3702
3703         * rs6000.md (movsi_to_cr): Correct typo in output template.
3704
3705         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
3706
3707         * rs6000.c (rs6000_pic_labelno): Always define.
3708         (rs6000_pic_func_labelno): Delete.
3709         (lmw_operation): Check for a zero base register,
3710         which doesn't mean what we want.
3711         (stmw_operation): New function.
3712         (print_operand): Define new 'l' modifier.
3713         (rs6000_stack_info): We must save all 64 bits of the registers
3714         if TARGET_POWERPC64.
3715         (rs6000_output_load_toc_table): Delete.
3716         (rs6000_emit_load_toc_table): New function.
3717         (rs6000_allocate_stack_space): Delete.
3718         (rs6000_emit_allocate_stack): New function.
3719         (rs6000_emit_prologue): New function.
3720         (output_prolog): Use rs6000_emit_prologue.
3721         (rs6000_emit_epilogue): Change a few variable names to be
3722         more accurate.  Restore all 64 bits of the registers if
3723         TARGET_POWERPC64.  Only restore the FP registers which were used
3724         if they are being saved/restored one-at-a-time.
3725         (output_mi_thunk): Delete inefficient code generation.
3726         (output_function_profiler): Don't use rs6000_output_load_toc_table.
3727         * rs6000.h: Declare rs6000_emit_load_toc_table,
3728         rs6000_allocate_stack_space, stmw_operation.  Don't declare
3729         rs6000_output_load_toc_table.
3730         * rs6000.md (elf_high): Allow register 0, but discourage it
3731         heavily.
3732         (elf_low): Support loading into register 0.
3733         (load_toc_aix_si): New pattern.
3734         (load_toc_aix_di): New pattern.
3735         (load_toc_v4_pic_si): New pattern.
3736         (load_toc_v4_pic_di): New pattern.
3737         (load_toc_v4_PIC_1): New pattern.
3738         (load_toc_v4_PIC_1b): New pattern.
3739         (load_toc_v4_PIC_2): New pattern.
3740         (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
3741         (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
3742         (prologue): New expander.
3743         (movesi_from_cr): New pattern.
3744         (stmw): New pattern.
3745         (save_fpregs_si): New pattern.
3746         (save_fpregs_di): New pattern.
3747
3748         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3749
3750         * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
3751         (movdi): Likewise.
3752         (movhi): Likewise.
3753         (movqi): Likewise.
3754
3755         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3756
3757         * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
3758         at present.
3759         (movsi_got_internal): Likewise.
3760         (movsi_got_internal+1): Likewise.
3761         (set_sp): 'unspec 7' does a SImode clobber.
3762
3763         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3764
3765         * rs6000.md (floatsidf2): Don't use the fpmem "register", just
3766         allocate a stack temporary.
3767         (floatsidf2_internal): Likewise.
3768         (floatsidf2_internal+1): Likewise.  Don't do bizzare hacks
3769         with unspec.
3770         (floatunssidf2): Don't use the fpmem "register", just
3771         allocate a stack temporary.
3772         (floatunssidf2_internal): Likewise.
3773         (floatunssidf2_internal+1): Likewise.  Don't do bizzare hacks
3774         with unspec.
3775         (floatsidf2_loadaddr): Delete.
3776         (floatsidf2_store1): Delete.
3777         (floatsidf2_store2): Delete.
3778         (floatsidf2_load): Delete.
3779         (fix_truncdfsi2): Don't use the fpmem "register", just
3780         allocate a stack temporary.
3781         (fix_truncdfsi2_internal_si): Delete.
3782         (fix_truncdfsi2_internal_di): Delete.
3783         (fix_truncdfsi2_internal): New insn.
3784         (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
3785         (fix_truncdfsi2_store): Delete.
3786         (fix_truncdfsi2_load): Delete.
3787         (fctiwz): Produce gen_fctiwz.
3788
3789         2000-01-19  Geoffrey Keating  <geoffk@cygnus.com>
3790
3791         * eabi.h (INVOKE__main): Define.
3792         * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
3793         specially.
3794         (rs6000_emit_prologue): Likewise.
3795         * rs6000.h (struct rs6000_stack): Don't keep track of whether
3796         this is the main program.
3797
3798         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3799
3800         * rs6000.c (rs6000_va_arg): Delete some unused variables.
3801
3802         2000-01-19  Geoff Keating  <geoffk@cygnus.com>
3803
3804         * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
3805         goes after the argument.
3806
3807         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3808
3809         * rs6000.md: Document 'unspec' values used.
3810         (epilogue): New expander.
3811         (movesi_to_cr_one): New expander.
3812         (movesi_to_cr and following): New pattern.
3813         (lmw): New pattern.
3814         (return_internal_si): New pattern.
3815         (return_internal_di): New pattern.
3816         (return_and_restore_fpregs_si): New pattern.
3817         (return_and_restore_fpregs_di): New pattern.
3818         * rs6000.h: Declare new functions.
3819         * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
3820         rather than rs6000_calls_p.
3821         (rs6000_makes_calls): Delete.
3822         (lmw_operation): New function.
3823         (mtcrf_operation): New function.
3824         (rs6000_emit_epilogue): New function.
3825         (output_epilog): Call rs6000_emit_epilogue and final if
3826         !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
3827
3828         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3829
3830         * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
3831         * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
3832         * aix.h (SUBTARGET_SWITCHES): Document switches.
3833         * rs6000.h: (TARGET_SWITCHES): Don't print options twice.  Make
3834         sched-prolog and sched-epilog the same.  Document all the
3835         switches.
3836         (TARGET_OPTIONS): No longer allow -mdebug-.
3837
3838         2000-01-12  Geoff Keating  <geoffk@cygnus.com>
3839
3840         * rs6000.h (ASM_FILE_END): Move to aix.h.
3841         (EXTRA_SECTIONS): Move to aix.h.
3842         (READONLY_DATA_SECTION): Move to aix.h.
3843         (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
3844         (SELECT_SECTION): Move to aix.h.
3845         (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
3846         (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
3847         (LINK_REGISTER_REGNUM): New definition.
3848         (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
3849         (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
3850         AIX and SVR4.
3851         * sysv4.h: Delete the code between the inclusion of rs6000.h
3852         and svr4.h.
3853         (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
3854         (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
3855         (RS6000_REG_SAVE): Move generic definition to rs6000.h.
3856         (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
3857         * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
3858         (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
3859         (fix_truncdfsi2_internal_di): New pattern.
3860         (fix_truncdfsi2_store): The second arg here is Pmode too.
3861         (fix_truncdfsi2_load): The second arg here is Pmode too.
3862         (tablejumpdi): Now that switch tables hold only SImode values,
3863         gcc needs to know how to add them to the pc which is DImode.
3864         * rs6000.c (rs6000_stack_info): Use symbolic name for 
3865         LINK_REGISTER_REGNUM.
3866         (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
3867         (output_toc): Delete unused variables s1 and s2.
3868         (output_ascii): Use fputs not fprintf on a variable string.
3869
3870         2000-01-07  David Edelsohn  <edelsohn@gnu.org>
3871
3872         * rs6000.c (processor_target_table): Add power3 as alias for 630.
3873         * aix43.h: Revert Aug 2 change.
3874         (HAS_INIT_SECTION): Define, not visible yet.
3875         (LD_INIT_SWITCH): Define, not visible yet.
3876         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
3877
3878         2000-01-04  Joel Sherrill (joel@OARcorp.com>
3879
3880         * config/rs6000/rtems.h: Include config/rtems.h.
3881
3882         2000-01-04  David Edelsohn  <edelsohn@gnu.org>
3883
3884         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
3885         (SLOW_UNALIGNED_ACCESS): Define.
3886         (CASE_VECTOR_MODE): Always use 32-bit offsets.
3887         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
3888         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3889         (toc_section): Likewise and .toc pseudo-op.
3890         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
3891         64-bit mode.
3892         (TEXT_SECTION_ASM_OP): Likewise.
3893         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3894         32-bit offsets.
3895
3896         1999-12-17  Jakub Jelinek  <jakub@redhat.com>
3897
3898         * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
3899         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3900         compiling libgcc2.
3901         
3902         2000-01-06  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3903
3904         * rs6000.h: Move more stuff from here...
3905         * aix.h: to here.
3906         * sysv4.h: Cleanup accordingly.
3907         * netware.h: Likewise
3908
3909         2000-01-05  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3910
3911         * rs6000.h: Continue cleanup.
3912         * aix.h: Likewise.
3913         * lynx.h: Likewise.
3914         * netware.h: Likewise.
3915         * sol2.h: Likewise.
3916         * sysv4.h: Likewise.
3917         * win-nt.h: Likewise.
3918
3919         * rs6000.h (TARGET_SWITCHES): Add descriptions.
3920         (TARGET_OPTIONS): Likewise.
3921
3922         * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
3923         (SUBTARGET_OPTIONS): Likewise.
3924
3925         * rs6000.md: Fix compile time warnings.
3926
3927         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
3928
3929         vxworks patches from the Cygnus tree originally by
3930         Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
3931         <vmakarov@cygnus.com>.
3932         * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
3933         (ENDFILE_SPEC): Likewise.
3934         (LIB_VXWORKS_SPEC): New macro.
3935         (STARTFILE_VXWORKS_SPEC): New macro.
3936         (ENDFILE_VXWORKS_SPEC): New macro.
3937         (LINK_START_VXWORKS_SPEC): New macro.
3938         (LINK_OS_VXWORKS_SPEC): New macro.
3939         (CPP_OS_VXWORKS_SPEC): New macro.
3940         (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
3941         * vxppc.h: Rewrite to use proper configuration method.
3942         * vxppcle.h: New file.
3943         * ../../configure.in: Add powerpcle-wrs-vxworks*.
3944         * ../../configure: Rebuilt.
3945
3946         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
3947
3948         Lots of changes to rs6000.h, sysv4.h, aix.h,
3949         aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
3950         with the aim that rs6000.h is the first header
3951         included and the others override it.
3952         * aix.h: New file.
3953
3954         * x-aix41-gld: Remove.  
3955         * x-aix43: Remove.
3956         * x-aix41: Remove target-specific switches, and don't specify
3957         -Wl,-bbigtoc as we don't need it any more.
3958         * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
3959         Use t-aix43 for AIX 4.3 and above.
3960         * ../../configure: Regenerated.
3961
3962         * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
3963         options, that don't do anything yet.
3964         (MASK_SCHED_PROLOG): New macro.
3965         (MASK_SCHED_EPILOG): New macro.
3966         (TARGET_SCHED_PROLOG): New macro.
3967         (TARGET_SCHED_EPILOG): New macro.
3968
3969         2000-01-04  Geoff Keating  <geoffk@cygnus.com>
3970
3971         * rs6000.c: Correct comment, the `minimal' TOCs are actually
3972         one per translation unit, not one per function.
3973         (output_toc): Also do duplicate constant elimination
3974         for per-translation-unit TOCs.
3975
3976         * rs6000.md (nonlocal_goto_receiver): Put it back as before.  Add
3977         a comment explaining _exactly_ when this pattern gets used.
3978         (builtin_setjmp_receiver): New pattern for better clarity.
3979         (init_v4_pic): Move it into a section dealing with TOC registers.
3980
3981         1999-12-30  Geoff Keating  <geoffk@cygnus.com>
3982
3983         * rs6000.c (toc_hash_table): New variable.
3984         (rs6000_hash_constant): New function.
3985         (toc_hash_function): New function.
3986         (toc_hash_eq): New function.
3987         (toc_hash_mark_entry): New function.
3988         (toc_hash_mark_table): New function.
3989         (output_toc): Don't output duplicate TOC entries in
3990         a single file.
3991         (rs6000_add_gc_roots): Add the hash table as a GC root.
3992         * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
3993         where they clearly shouldn't be.  This may need to be fixed
3994         later when there is a GNU ar for AIX.
3995         * x-aix43: Don't define CLIB or AR_FOR_TARGET.
3996         Don't define BOOT_LDFLAGS as it is now not necessary.
3997
3998         1999-12-29  Geoff Keating  <geoffk@cygnus.com>
3999
4000         * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
4001         for va_list on AIX.  Use unsigned_char_type_node rather than
4002         constructing our own version on svr4.
4003
4004         1999-12-17  Geoff Keating  <geoffk@cygnus.com>
4005
4006         * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
4007         since patently it's not.
4008
4009         1999-12-08  Geoff Keating  <geoffk@cygnus.com>
4010
4011         * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
4012         define_expand/define_insn pair, and handle restore of the
4013         SVR4 -fpic register.
4014
4015 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
4016
4017         * acconfig.h (HAVE_GAS_WEAK): New define.
4018         * configure.in (assembler weak support): Check for .weak support.
4019         * config.in, configure: Rebuilt.
4020         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
4021         HAVE_GAS_WEAK is defined.
4022
4023 2000-03-15  Nick Clifton  <nickc@cygnus.com>
4024
4025         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
4026         asm_fprintf().
4027
4028 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
4029
4030         * cppfiles.c (open_include_file): New function.
4031         (find_include_file, cpp_read_file): Use it.
4032
4033 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
4034
4035         * cpphash.c (dump_hash_helper): Take the slot, not the element.
4036
4037 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
4038
4039         * flow.c (verify_flow_info): Check for unconditional return.
4040
4041 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
4042
4043         * config/ia64/ia64.md (restore_stack_nonlocal): New.
4044         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
4045         (__ia64_restore_stack_nonlocal): New.
4046         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
4047
4048 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4049
4050         * cpphash.c (collect_formal_parameters): Do not complain about
4051         parameter names that just start with `__VA_ARGS__'.
4052
4053 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
4054
4055         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
4056         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
4057         * i386.c (pentiumpro_cost): Set mul cost to 4.
4058         (x86_use_movx): Set for PPro.
4059
4060 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
4061
4062         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
4063         STACK_BOUNDARY for empty frames now.
4064
4065 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
4066
4067         * stor-layout.c (layout_union): Remove.
4068         (layout_union_field): New function, split out from layout_union.
4069         (finish_union_layout): Likewise.
4070         (layout_field): Handle unions by calling layout_union_field.
4071         (finish_record_layout): Handle unions.
4072         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
4073         QUAL_UNION_TYPE handling.
4074
4075 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
4076
4077         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
4078         end of basic block is jump_insn, not barrier; use create_basic_block
4079         instead of creating basic block by hand.
4080
4081 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
4082
4083         * flow.c (reorder_basic_blocks): Account for barriers when writing
4084         over NEXT_INSN (last_bb->end).
4085         (verify_flow_info): Add check for missing barriers.
4086
4087 2000-03-14  Greg McGary  <gkm@gnu.org>
4088
4089         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
4090         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
4091         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
4092         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
4093         __unbounded, __unbounded__): New keywords.
4094         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
4095         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
4096         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
4097
4098 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
4099
4100         * cselib.h: New file.
4101         * alias.c: Include "cselib.h".
4102         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
4103         MEMs as two new arguments.
4104         (get_addr): New static function.
4105         (find_base_term): Handle VALUEs.
4106         (memrefs_conflict_p): Likewise.
4107         (true_dependence): Call get_addr on the addresses.
4108         Call fixed_scalar_and_varying_struct_p with addresses that have been
4109         passed through get_addr and canon_rtx.
4110         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
4111         with true_dependence.
4112         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
4113         * loop.c: Include "cselib.h".
4114         (load_mems): Process extended basic block that enters the loop with
4115         cselib.  Use that information to change initialization of the shadow
4116         register so that a constant equivalence is seen by later passes.
4117         * reload1.c: Include "cselib.h".
4118         (reload_cse_invalidate_regno): Delete function.
4119         (reload_cse_mem_conflict_p): Likewise.
4120         (reload_cse_invalidate_mem): Likewise.
4121         (reload_cse_invalidate_rtx): Likewise.
4122         (reload_cse_regno_equal_p): Likewise.
4123         (reload_cse_check_clobber): Likewise.
4124         (reload_cse_record_set): Likewise.
4125         (reg_values): Delete static variable.
4126         (invalidate_regno_rtx): Likewise.
4127         (reload_cse_delete_noop_set): New static function.
4128         (reload_cse_simplify): New static function, broken out of
4129         reload_cse_regs_1.
4130         (reload_cse_noop_set_p): Delete unused argument INSN.
4131         Just call rtx_equal_for_cselib_p on set source and destination.
4132         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
4133         reload_cse_delete_noop_set.  Delete code to keep track of values; use
4134         cselib functions instead.  Delete code to push/pop obstacks.
4135         (reload_cse_simplify_set): Use cselib to find equivalent values.
4136         Delete code to push/pop obstacks.
4137         (reload_cse_simplify_operands): Likewise.
4138         * rtl.def (VALUE): New rtx code.
4139         * rtl.h (union rtunion_def): New elt rt_cselib.
4140         (X0CSELIB, CSELIB_VAL_PTR): New macros.
4141         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
4142         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
4143         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
4144         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
4145         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
4146         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
4147         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
4148         cselib_record_set, cselib_record_sets): New static functions.
4149         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
4150         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
4151         references_value_p): New functions.
4152         (MAX_USELESS_VALUES, REG_VALUES): New macros.
4153         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
4154         n_useless_values, reg_values, callmem, cselib_obstack,
4155         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
4156         New static variables.
4157         * varray.h (union varray_data_tag): New elt te.
4158         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
4159         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
4160         dependencies.
4161
4162 2000-03-14  Nick Clifton  <nickc@cygnus.com>
4163
4164         * gcc.c (do_spec_1): Catch the case where %* is used in a
4165         substitution pattern, but it has not been initialised.
4166         Issue a meaningful error message if an unrecognised operator
4167         is encountered in a spec string.
4168
4169 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
4170
4171         * function.c (prepare_function_start): Correctly initialize
4172         cfun->stack_alignment_needed.
4173
4174 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
4175
4176         * cppfiles.c (find_include_file): Don't assume nshort is a
4177         substring of name.
4178
4179 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
4180
4181         * configure.in (hppa configurations): Add pa32-regs.h to the
4182         list of tm files as appropriate.
4183         * configure: Rebuilt.
4184         * pa.c (compute_frame_size): Remove explicit knowledge about FP
4185         register numbering.
4186         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
4187         (fmpyaddoperands, fmpysuboperands): Likewise.
4188         * pa.h: Remove various definitions which depend on knowing
4189         how registers are numbered.
4190         * pa32-regs.h: New file with PA32 register numbering specific
4191         definitions.
4192
4193 2000-03-14  Richard Henderson  <rth@cygnus.com>
4194
4195         * regmove.c (combine_stack_adjustments): New.
4196         (stack_memref_p, single_set_for_csa): New.
4197         (free_csa_memlist, record_one_stack_memref): New.
4198         (try_apply_stack_adjustment): New.
4199         (combine_stack_adjustments_for_block): New.
4200         * rtl.h (combine_stack_adjustments): Declare.
4201         * toplev.c (rest_of_compilation): Call it.
4202
4203         * i386.md: Revert 2000-01-16 change.
4204
4205 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4206
4207         * gccbug.in: Add web category, gcc specific classes.
4208
4209 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
4210
4211         * stor-layout.c (finalize_record_size): Fix typo.
4212
4213 2000-03-14  Stan Shebs  <shebs@apple.com>
4214
4215         * c-typeck.c (c_alignof): Error on incomplete types.
4216         * extend.texi (Alignment): Document this.
4217
4218 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4219
4220         * cppfiles.c: Include mkdeps.h.
4221         (find_include_file, read_include_file): Remove _cpp_ prefix
4222         from name, make static.
4223         (_cpp_execute_include): New function, broken out of
4224         do_include.
4225
4226         * cpplib.c: Don't include mkdeps.h.
4227         (struct directive): Remove type field. Reorder entries.  The
4228         function takes only one argument.
4229         (struct if_stack): Make type field an int.
4230         (directive_table): Rename to dtable.  Generate it, the
4231         prototypes of the directive handlers, and the enum for the
4232         directive numbers, from a template macro.
4233         (do_ifndef, do_include_next, do_import): New functions.
4234         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
4235         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
4236         do_ident, do_assert, do_unassert, do_sccs): Take only one
4237         argument.
4238         (do_sccs): Define always, but alter behavior based on
4239         SCCS_DIRECTIVE.
4240         (_cpp_handle_directive, consider_directive_while_skipping):
4241         Restructure for new directive table layout.
4242
4243         (pass_thru_directive): Take a directive number, not a pointer
4244         to a struct directive.
4245         (parse_include): New function, broken out of do_include.
4246         (do_include, do_import, do_include_next): Use parse_include
4247         and _cpp_execute_include.
4248         (do_elif, do_else): Test for T_ELSE specifically when checking
4249         for #elif/#else after #else.
4250         (parse_ifdef): New function, broken out of do_ifdef.
4251         (validate_else): Expect a name arg without a leading #.
4252         (if_directive_name): Delete.
4253         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
4254         directive handlers with only one argument.
4255
4256         * cpphash.h: Update prototypes.
4257         (enum node_type): Remove entries for directives.
4258         * Makefile.in: Update dependencies.
4259
4260         * cpphash.c (dump_hash_helper): Only dump nodes of type
4261         T_MACRO.  Emit a newline after each definition.
4262
4263 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4264
4265         * gccbug.in: New file.
4266         * configure.in (all_outputs): Add gccbug.
4267         * Makefile.in (install-common): Install gccbug.
4268         (GCCBUG_INSTALL_NAME): New variable.
4269         * configure: Rebuilt.
4270         
4271 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
4272
4273         * function.c (put_var_into_stack): Use type_for_mode to calculate
4274         part_type.  Use MEM_SET_IN_STRUCT_P.
4275         * expr.c (store_field): Handle CONCAT.
4276         (store_constructor): Use fields_length.
4277         * tree.c (fields_length): New fn.
4278         * tree.h: Declare it.
4279
4280 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4281
4282         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
4283         (cpplex.o): New target.
4284         * po/POTFILES.in: Add cpplex.c.
4285
4286         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
4287         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
4288         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
4289         skip_block_comment, skip_line_comment, skip_comment,
4290         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
4291         _cpp_parse_name, skip_string, parse_string,
4292         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
4293         _cpp_get_directive_token, find_position,
4294         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
4295         (maybe_macroexpand, _cpp_lex_token): New functions.
4296
4297         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
4298         parse_goto_mark): Delete.
4299         (_cpp_handle_eof): New function.
4300         (_cpp_handle_directive): Rename from handle_directive.
4301         (_cpp_output_line_command): Rename from output_line_command.
4302         (do_if, do_elif): Call _cpp_parse_expr directly.
4303         * cppfiles.c (_cpp_read_include_file): Don't call
4304         init_input_buffer here.
4305         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
4306         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
4307         here; pop the token_buffer and skip the rest of the line here.
4308         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
4309         here.
4310
4311         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
4312         Define here.
4313         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
4314         CPP_GOTO_MARK): New macros.
4315         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
4316         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
4317         _cpp_read_and_prescan, _cpp_init_input_buffer,
4318         _cpp_grow_token_buffer, _cpp_get_directive_token,
4319         _cpp_handle_directive, _cpp_handle_eof,
4320         _cpp_output_line_command): Prototype them here.
4321         * cpplib.h (enum cpp_token): Add CPP_MACRO.
4322         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
4323         quote_string, output_line_command): Remove.
4324
4325 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
4326
4327         * stmt.c (expand_end_case): RANGE may be signed, and when checking
4328         whether it is too large we must also verify that it isn't negative.
4329
4330 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
4331
4332         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
4333         (movsi_zero_liveg0): Remove.
4334         (movsf_insn_novis_liveg0): Remove.
4335         (negsi2): Remove.
4336         (negsi2_not_liveg0): Rename to negsi2.
4337         (one_cmplsi2): Remove.
4338         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
4339         (one_cmplsi2_liveg0): Remove.
4340         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
4341         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
4342         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
4343         (PREDICATE_CODES): Remove zero_operand.
4344         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
4345         TARGET_BROKEN_SAVERESTORE.
4346         (zero_operand): Remove.
4347         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
4348         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
4349         options.
4350         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
4351         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4352         TARGET_BROKEN_SAVERESTORE): Remove.
4353         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4354         Remove.
4355         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4356         Remove.
4357         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4358         Remove.
4359
4360         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
4361
4362 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
4363
4364         * cpplib.c (do_pragma_implementation): Fix off-by-one error
4365         truncating a string.  Don't assume tokens are nul terminated.
4366         Problem noted by Andreas Jaeger <aj@suse.de>
4367
4368 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
4369
4370         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
4371         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
4372         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
4373
4374 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
4375
4376         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
4377         STRUCTURE_SIZE_BOUNDARY.
4378
4379 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
4380
4381         * tree.h (record_layout_info_s): New structure.
4382         (record_layout_info): New type.
4383         (new_record_layout_info): New function.
4384         (layout_field): Likewise.
4385         (finish_record_layout): Likewise.
4386         * stor-layout.c (layout_record): Remove.
4387         (new_record_layout_info): New function.
4388         (layout_field): New function, broken out from layout_record.
4389         (finalize_record_size): Likewise.
4390         (compute_record_mode): Likewise.
4391         (finalize_type_size): New function, broken out from layout_type.
4392         (finish_record_layout): Likewise.
4393         (layout_type): Use them.
4394         
4395 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
4396
4397         * cpphash.c: Don't include version.h.
4398         (special_symbol) [case T_VERSION]: Look for the string in
4399         hp->value.cpval; don't use version_string.
4400         * cppinit.c (initialize_builtins): Set hp->value.cpval for
4401         __VERSION__ to version_string.
4402         * Makefile.in (cpphash.o): Update deps.
4403
4404 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
4405
4406         Convert cpplib to use libiberty/hashtab.c.
4407
4408         * cpplib.h (struct cpp_reader): Make hashtab and
4409         all_include_files of type 'struct htab *'.  Delete HASHSIZE
4410         and ALL_INCLUDE_HASHSIZE macros.
4411
4412         * cpphash.h: Update prototypes.
4413         (struct hashnode): Remove next, prev, and bucket_hdr members.
4414         Make length a size_t.  Add hash member.
4415         (struct ihash): Remove next member.  Add hash member.  Make
4416         name a flexible array member.
4417
4418         * cppfiles.c: Include hashtab.h.
4419         (include_hash): Delete.
4420         (IHASHSIZE): New macro.
4421         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
4422         (cpp_included): Do the hash lookup here.
4423         (_cpp_find_include_file): Rewrite.
4424         (cpp_read_file): Put the "fake" hash entry into the hash
4425         table.  Honor the control_macro, if it turns out we've seen
4426         the file before.  Don't push the buffer here.
4427         (_cpp_read_include_file): Push the buffer here.
4428         (OMODES): New macro.  Use it whenever we call open(2).
4429
4430         * cpphash.c: Include hashtab.h.
4431         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
4432         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
4433         _cpp_lookup_slot): New functions.
4434         (HASHSIZE): new macro.
4435         (hashf, _cpp_install, _cpp_delete_macro): Delete.
4436         (_cpp_lookup): Use hashtab.h routines.
4437
4438         * cppinit.c: Include hashtab.h.
4439         (cpp_reader_init): Call _cpp_init_macro_hash and
4440         _cpp_init_include_hash.  Don't allocate hashtab directly.
4441         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
4442         pfile->all_include_files.
4443         (initialize_builtins): Use _cpp_make_hashnode and
4444         htab_find_slot to add hash entries.
4445         (cpp_finish): Just call _cpp_dump_macro_hash.
4446         * cpplib.c: Include hashtab.h.
4447         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
4448         create hash entries.
4449         (do_pragma_poison, do_assert): Likewise.
4450         (do_include): Don't push the buffer here.  Don't increment
4451         system_include_depth unless _cpp_read_include_file succeeds.
4452         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
4453         or htab_remove_elt.
4454         (do_pragma_implementation): Use alloca to create copy.
4455
4456         * Makefile.in: Update dependencies.
4457
4458 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4459
4460         * cppinit.c (cl_directive_handler): More K&R fixing.
4461
4462 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
4463
4464         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
4465         STACK_BOUNDARY.
4466         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
4467
4468 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4469
4470         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
4471         Change from char[] to macros.
4472
4473 2000-03-12  Neil Booth  <NeilB@earthling.net>
4474
4475         * cppinit.c (cpp_start_read): Update indirect function
4476         call to K&R C.
4477
4478 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
4479
4480         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
4481         entry.
4482
4483         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4484         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
4485
4486 2000-03-11  Neil Booth  <NeilB@earthling.net>
4487
4488         * cppinit.c (struct pending option): Replace undef with a 
4489         pointer to a directive handling routine.
4490         (struct cpp_pending): Replace separate assert_ and define_ 
4491         lists with one directive_ list.
4492         (new_pending_define): Rename new_pending_directive. Extra
4493         argument is the directive's handling routine.
4494         (handle_option): Update to use new_pending_directive.
4495
4496 2000-03-11  Neil Booth  <NeilB@earthling.net>
4497
4498         * cppfiles.c (file_cleanup, _cpp_find_include_file,
4499         remap_filename, _cpp_read_include_file, actual_directory,
4500         hack_vms_include_specification): Replace bcopy(), index() etc
4501         calls.  Add casts to some allocations.  Make some variables
4502         pointers to const [unsigned] char.
4503         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
4504         collect_formal_parameters): Similarly.
4505         * cppinit.c (struct pending_option, append_include_chain,
4506         cpp_options_init, cpp_reader_init, initialize_standard_includes,
4507         cpp_start_read, new_pending_define, handle_option): Similarly.
4508         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
4509         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
4510         do_pragma_implementation, detect_if_not_defined,
4511         do_ifdef, skip_if_group, cpp_get_token, parse_string,
4512         do_assert, do_unassert): Similarly.
4513         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
4514         function prototypes.
4515         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
4516
4517 2000-03-10  Richard Henderson  <rth@cygnus.com>
4518
4519         * builtins.c (expand_builtin_strlen): Revert last change.
4520         Use emit_insn_before if we're at the beginning of a sequence.
4521
4522 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
4523
4524         * builtins.c (expand_builtin_strlen): Make sure that we have something
4525         at the beginning of the sequence.
4526
4527         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
4528         deferred inlines.
4529
4530         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
4531
4532 2000-03-10  Richard Henderson  <rth@cygnus.com>
4533
4534         * except.c (can_throw): Use INTVAL on a CONST_INT.
4535         (reachable_handlers): Likewise.
4536         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
4537
4538 2000-03-10  Andreas Jaeger  <aj@suse.de>
4539
4540         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
4541         MD_STARTFILE_PREFIX since those are not needed on linux.
4542         (ASM_FILE_START): New, from mips/gnu.h.
4543
4544 2000-03-09  Richard Henderson  <rth@cygnus.com>
4545             Alex Samuel  <samuel@codesourcery.com> and others
4546         
4547         * Makefile.in (ssa.o): New rule.
4548         (OBJS): Add ssa.o.
4549         (STAGESTUFF): Add *.ssa and *.ussa.
4550         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
4551         * rtl.def (PHI): New RTL expression.
4552         * rtl.h (clear_log_links): New declaration.
4553         (convert_to_ssa): Likewise.
4554         (convert_from_ssa): Likewise.
4555         * flow.c (split_edge): If the entry node falls through to the
4556         split edge's source block, split the entry edge.
4557         (clear_log_links): New function.
4558         * toplev.c (ssa_dump): New variable.
4559         (flag_ssa): Likewise.
4560         (f_options): Add "ssa".
4561         (compile_file): Create SSA dump files.
4562         (rest_of_compilation): Go to and from SSA if enabled.
4563         (decide_d_option): Handle -de for SSA dump files.
4564         * ssa.c: New file.
4565         
4566 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
4567
4568         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
4569         same as VAR_DECL.
4570
4571 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
4572
4573         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
4574
4575 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
4576
4577         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
4578         (MD_STARTFILE_PREFIX_1): New macro.
4579
4580 2000-03-09  Robert Lipe  <robertl@sco.com>
4581
4582         * config/ia64/ia64.c: Include system.h.
4583
4584 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
4585
4586         * except.c (nothrow_function_p): If -fno-exceptions, just return.
4587         (init_eh_nesting_info): Likewise.
4588
4589         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
4590         (TREE_NOTHROW): Rename from TREE_RAISES.
4591         * toplev.c (rest_of_compilation): Set it.
4592         * print-tree.c (print_node): Adjust.
4593         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
4594         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
4595         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
4596         REG_EH_REGION note as appropriate.
4597         (libfunc_nothrow): New fn.
4598         (emit_library_call, emit_library_call_value): Use it.
4599         (expand_call): Check TREE_NOTHROW.
4600
4601         * varasm.c (make_decl_rtl): Skip initial '*' when setting
4602         DECL_ASSEMBLER_NAME.
4603
4604 2000-03-09  Andreas Jaeger  <aj@suse.de>
4605
4606         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
4607         (TARGET_MEM_FUNCTIONS): Define.
4608
4609 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
4610
4611         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
4612
4613         * except.c (can_throw): See through a SEQUENCE.
4614         (nothrow_function_p): New fn.
4615         * except.h: Declare it.
4616         * function.c (current_function_nothrow): New var.
4617         (prepare_function_start): Initialize it.
4618         * output.h: Declare it.
4619         * toplev.c (rest_of_compilation): Set it.
4620         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
4621
4622 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
4623
4624         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
4625         match.  (cpp_compare_defs): Count the nul separator when
4626         advancing over argument names.
4627
4628 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
4629
4630         * recog.c (preprocess_constraints): Matching constraints affect
4631         same alternative/different operand, not same operand/different
4632         alternative.
4633         
4634         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
4635         register and a constant specially.
4636
4637 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4638
4639         * libgcc2.h: New file.
4640         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
4641
4642 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
4643
4644         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
4645         * configure: Regenerate.
4646         * config/ia64: New.
4647
4648 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
4649
4650         * Makefile.in (LIBCPP_DEPS): New macro.
4651         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
4652         it to declare deps.
4653         * cpperror.c: Include cpphash.h.
4654         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
4655         dingleberry.
4656         (lex): Don't use CPP_WARN_UNDEF.
4657         (_cpp_parse_expr): Return an int, the truth value.
4658         * cppfiles.c: Include cpphash.h.
4659         (_cpp_merge_include_chains): Move to cppinit.c and make static.
4660         * cppinit.c (include_defaults_array): Disentangle.
4661         (cpp_cleanup): Don't free the if stack here.
4662         (cpp_finish): Pop off all buffers, not just one.
4663         * cpplib.c (eval_if_expr): Return int.
4664         (do_xifdef): Rename do_ifdef.
4665         (handle_directive): Don't use CPP_PREPROCESSED. 
4666         (cpp_get_token): Don't use CPP_C89.
4667         * fix-header.c: Don't use CPP_OPTIONS.
4668
4669         * cpplib.h: Move U_CHAR, enum node_type, struct
4670         file_name_list, struct ihash, is_idchar, is_idstart,
4671         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
4672         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
4673         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
4674         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
4675         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
4676         of _cpp_simplify_pathname, _cpp_find_include_file,
4677         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
4678         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
4679         cppinit.c.
4680         Change all uses of U_CHAR to be unsigned char instead.
4681         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
4682
4683 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
4684
4685         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
4686         (dwarf2out_begin_prologue): Set it.
4687         (output_call_frame_info): Don't emit EH unwind info for leaves.
4688
4689         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
4690         can occur outside of an EH region.
4691         * except.c: Correct comments about rethrow behavior.
4692         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
4693
4694 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
4695
4696         * flow.c (make_edges): Always call make_eh_edge for calls.
4697
4698 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
4699
4700         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
4701         (struct cpp_buffer): Remove fname and underflow fields.
4702         (struct cpp_reader): Remove get_token field.
4703         (struct include_hash): Rename to struct ihash.  Add typedef to
4704         IHASH.
4705         (struct if_stack): Remove fname field.
4706         (IF_STACK_FRAME): Rename to IF_STACK.
4707
4708         * cpperror.c (print_containing_files): Trust that there are no
4709         macro buffers below the top file buffer.
4710         * cppfiles.c: Replace all references to 'struct include_hash'
4711         with 'IHASH'.  Rename initialize_input_buffer to
4712         init_input_buffer.  Don't set or reference cpp_buffer->fname,
4713         use buffer->ihash->name instead.
4714         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
4715         not CPP_NULL_BUFFER.
4716         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
4717         IF_STACK_FRAME, IHASH not struct include_hash.
4718         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
4719         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
4720         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
4721         references to cpp_buffer->fname (delete entirely, or use
4722         ->ihash->name instead) and IF_STACK->fname.
4723         (cpp_push_buffer): Don't set new->underflow.
4724         (do_include): Use cpp_file_buffer.
4725
4726         * cpphash.c (collect_formal_parameters): Remove duplicate
4727         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
4728         used as a macro argument name.  Don't append "..." to namebuf
4729         for varargs macros.  After we're done scanning, go through
4730         namebuf and make it NUL separated, not comma separated.
4731         (_cpp_compare_defs): Remove register tag from variables.
4732         Expect defn->argnames to be NUL separated.
4733         (_cpp_dump_definition): Expect defn->argnames to be NUL
4734         separated and in forward order.
4735         * cpphash.h: Update documentation of argnames field.
4736
4737 2000-03-08  Richard Henderson  <rth@cygnus.com>
4738
4739         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
4740         to fail.  Don't pre-expand the source operand.
4741
4742         * i386.md (strlensi): Initialize eoschar and align before use.
4743
4744 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
4745
4746         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
4747         CONSTRUCTOR element.
4748
4749 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
4750
4751         * mips.c (mips_expand_prologue): If the last 
4752         named argument is the vararg marker "va_list", treat it as
4753         an unnamed argument.
4754
4755 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
4756
4757         * dbxout.c (dbxout_parms): When correcting for promoted 
4758         big-endian parameters, use the mode of the DECL_RTL rather 
4759         than UNITS_PER_WORD.
4760
4761 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
4762
4763         * c-common.h (make_fname_decl): Declare.
4764         * c-common.c (make_fname_decl): Define.
4765         (declare_hidden_char_array): Remove.
4766         (declare_function_name): Use make_fname_decl.
4767         * c-decl.c (c_make_fname_decl): New function.
4768         (init_decl_processing): Set make_fname_decl.
4769
4770 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
4771
4772         * cccp.c (handle_directive): Initialize backslash_newlines_p.
4773
4774 2000-03-07  Philipp Thomas  <pthomas@suse.de>
4775
4776         * po/POTFILES.in: Remove cppalloc.c from file list.
4777
4778 2000-03-07  Steve Chamberlain  <sac@pobox.com>
4779
4780         * pj.c (pj_expand_prologue): current_function->args_info is
4781         now current_function_args_info.  
4782
4783         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
4784         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
4785         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
4786
4787 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4788
4789         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
4790         output as hexadecimal rather than the default octal.
4791
4792 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
4793
4794         * cpphash.c (special_symbol): Fix thinko in previous commit.
4795
4796 2000-03-07  Neil Booth  <NeilB@earthling.net>
4797
4798         * cppexp.c (struct operation, left_shift, right_shift,
4799         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
4800         "int"s to "unsigned int"s.
4801         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
4802         Similarly.
4803         * cpplib.h: Update for above.
4804         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
4805         returned from allocations.
4806
4807         * cppinit.c (opt_comp, parse_options): New functions.
4808         (handle_option): Use parse_option to parse a single command
4809         line option, that possibly takes an argument.
4810         (cpp_handle_options): Sort the array of command line options on
4811         first invocation (non-ASCII hosts only).
4812         (print_help): Update.
4813
4814 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
4815
4816         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
4817         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
4818         
4819         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
4820         initialized.
4821         * cppinit.c (cpp_cleanup): Free imp->nshort also.
4822
4823         * cpperror.c (cpp_print_containing_files,
4824         cpp_print_file_and_line, v_cpp_message): Rename to
4825         print_containing_files, print_file_and_line, and v_message.
4826         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
4827         to _cpp_parse_expr, parse_escape, and lex.
4828         (parse_charconst): Remove broken multibyte support.
4829         * cppfiles.c (include_hash): Make static.
4830         (cpp_included): New function.
4831         (merge_include_chains, find_include_file, finclude,
4832         simplify_pathname): Rename to _cpp_merge_include_chains,
4833         _cpp_find_include_file, _cpp_read_include_file, and
4834         _cpp_simplify_pathname.
4835         * cpphash.c (cpp_lookup, free_definition, delete_macro,
4836         cpp_install, create_definition, macroexpand, compare_defs,
4837         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
4838         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
4839         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
4840         * cppinit.c (cpp_handle_option): Rename to handle_option, make
4841         static.
4842         * cpplib.c: Remove extern prototype of cpp_parse_expr.
4843
4844         * cpphash.h: Update prototypes.
4845         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
4846
4847 2000-03-07  Andrew Haley  <aph@cygnus.com>
4848
4849         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
4850         PTRDIFF_TYPE should be based solely on Pmode.
4851         (SIZE_TYPE): ditto.
4852
4853 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4854
4855         * rtl.h (rtunion_def): Constify member `rtstr'.
4856         (emit_line_note_after, emit_line_note, emit_line_note_force,
4857         emit_note, decode_asm_operands): Constify.
4858         
4859         * cse.c (canon_hash): Likewise.
4860
4861         * dbxout.c (dbxout_block): Likewise.
4862
4863         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
4864         v_warning_for_asm): Likewise.
4865
4866         * dwarfout.c (function_start_label): Likewise.
4867
4868         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
4869         emit_line_note_force): Likewise.
4870
4871         * final.c (last_filename, asm_insn_count, final_scan_insn,
4872         output_source_line): Likewise.
4873
4874         * function.h (struct emit_status): Likewise.
4875
4876         * gcse.c (hash_expr_1): Likewise.
4877
4878         * genattr.c (gen_attr, main): Likewise.
4879
4880         * genattrtab.c (struct function_unit, current_alternative_string,
4881         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
4882         attr_numeral, check_attr_test, check_attr_value,
4883         convert_set_attr_alternative, convert_set_attr,
4884         compute_alternative_mask, simplify_by_exploding, gen_attr,
4885         gen_unit): Likewise.
4886
4887         * genflags.c (gen_insn): Likewise.
4888
4889         * gengenrtl.c (type_from_format): Likewise.
4890
4891         * genopinit.c (gen_insn): Likewise.
4892
4893         * genoutput.c (n_occurrences, process_template, process_template):
4894         Likewise.
4895
4896         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4897         Likewise.
4898
4899         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
4900         Likewise.
4901
4902         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
4903         ggc_set_mark, ggc_get_size): Likewise.
4904
4905         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
4906
4907         * optabs.c (init_one_libfunc): Likewise.
4908
4909         * output.h (assemble_start_function): Likewise.
4910
4911         * recog.c (decode_asm_operands): Likewise.
4912
4913         * toplev.c (rest_of_compilation): Likewise.
4914
4915         * tree.h (emit_line_note_after, emit_line_note,
4916         emit_line_note_force): Likewise.
4917
4918         * varasm.c (asm_output_bss, asm_output_aligned_bss,
4919         asm_emit_uninitialised, assemble_start_function,
4920         assemble_variable, const_hash, compare_constant_1,
4921         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
4922
4923         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
4924
4925         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
4926
4927         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
4928
4929         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
4930
4931         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
4932         arm_dllimport_name_p): Likewise.
4933
4934         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
4935         Likewise.
4936
4937         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
4938
4939         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4940
4941         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
4942         arm_mark_dllexport, arm_mark_dllimport,
4943         arm_pe_encode_section_info): Likewise.
4944
4945         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
4946         ASM_FINISH_DECLARE_OBJECT): Likewise.
4947
4948         * arm/thumb.c (thumb_function_prologue): Likewise.
4949
4950         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
4951
4952         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4953
4954         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
4955
4956         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
4957
4958         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
4959
4960         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4961
4962         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
4963         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
4964
4965         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
4966
4967         * i386/i386.c (asm_output_function_prefix): Likewise.
4968
4969         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
4970
4971         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4972
4973         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
4974
4975         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
4976         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
4977         ASM_OUTPUT_SECTION_NAME): Likewise.
4978
4979         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
4980
4981         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
4982
4983         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
4984
4985         * m32r/m32r.c (m32r_encode_section_info): Likewise.
4986
4987         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4988
4989         * mcore/mcore.c (mcore_encode_section_info): Likewise.
4990
4991         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4992
4993         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4994
4995         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
4996
4997         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
4998
4999         * mips/mips.md (movdi, movsi): Likewise.
5000
5001         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5002
5003         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5004
5005         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5006
5007         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
5008         ASM_OUTPUT_ASCII): Likewise.
5009
5010         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
5011         output_mi_thunk, output_toc): Likewise.
5012
5013         * rs6000/rs6000.md (movsi): Likewise.
5014
5015         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
5016
5017         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
5018
5019         * v850/v850.c (print_operand, print_operand_address,
5020         v850_encode_data_area): Likewise.
5021
5022 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
5023         
5024         * config/mips/mips.md (zero_extendsidi2): Always force operand
5025         one to memory for mips16.
5026
5027 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5028
5029         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
5030         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
5031         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
5032         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
5033         (min_precision): Result is unsigned.
5034         (add_double, neg_double, mul_double): Low word is unsigned.
5035         (lshift_double, rshift_double, lrotate_double): Likewise.
5036         (rrotate_double, div_and_round_double): Likewise.
5037         (tree_floor_log2, compare_tree_int): New functions.
5038         (preserve_rtl_expr_temps): New declaration.
5039         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
5040         (decl_attributes): Use tree_log2 to find alignment.
5041         Check for TREE_INT_CST_HIGH for format args.
5042         (min_precision): Now unsigned.
5043         Use tree_floor_log2.
5044         (truthvalue_conversion): Delete long-disabled code.
5045         * c-decl.c (finish_struct): Clean up tests on field width.
5046         (finish_function): Use compare_tree_int.
5047         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
5048         * c-typeck.c (comptypes): Use tree_int_cst_equal.
5049         (default_conversion, digest_init): Use compare_tree_int.
5050         (build_binary_op): Use integer_all_onesp and compare_tree_int.
5051         Fix type errors in forming masks.
5052         * calls.c (initialize_argument_information): Use compare_tree_int.
5053         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5054         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
5055         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
5056         (store_field): Use compare_tree_int.
5057         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
5058         (expand_expr, case ARRAY_REF): Use compare_tree_int.
5059         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
5060         (do_store_flag): Use compare_tree_int.
5061         * fold-const.c (encode, decode): Low part is always unsigned.
5062         (force_fit_type, add_double, neg_double, mul_double): Likewise.
5063         (lshift_double, rshift_double, lrotate_double): Likewise.
5064         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
5065         (fold_convert): Use compare_tree_int.
5066         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
5067         (invert_truthvalue, case INTEGER_CST): Likewise.
5068         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
5069         * mkdeps.c (deps_dummy_targets): Make I unsigned.
5070         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
5071         (lshift_double, rshift_double, lrotate_double, rrotate_double):
5072         Likewise.
5073         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
5074         (expand_end_case): Use compare_tree_int.
5075         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5076         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
5077         (layout_decl): Likewise.
5078         (layout_record, layout_union): Make sizes unsigned.
5079         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
5080         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
5081         * tree.c (struct type_hash): hashcode is unsigned.
5082         (build_type_attribute_variant, type_hash_list): Likewise.
5083         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
5084         (attribute_hash_list, build_array_type, build_method_type): Likewise.
5085         (build_complex_type): Likewise.
5086         (real_value_from_int_cst): Remove unneeded casts.
5087         (integer_all_onesp): Add casts.
5088         (tree_floor_log2, compare_tree_int): New functions.
5089         (build_index_type): Use tree_int_cst_sgn.
5090         * varasm.c (assemble_variable): Use compare_tree_int.
5091
5092 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
5093
5094         * cpphash.c (collect_expansion): Also catch ## at start of macro.
5095
5096         * varasm.c (make_decl_rtl): Don't add a number to members of
5097         local classes.
5098         (make_function_rtl): Likewise.
5099
5100 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5101
5102         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
5103         patch from 2000-01-28.
5104
5105 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
5106
5107         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
5108         filled with an insn from the jump target.
5109
5110 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5111
5112         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
5113         (c4x_external_ref): Likewise.
5114         * config/c4x/c4x.c (struct name_list): Likewise.
5115
5116 1999-12-16  Ben Collins  <bcollins@debian.org>
5117
5118         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
5119         argument to genmultilib.
5120         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
5121         the contents into the multilib.h header.
5122         * gcc.c: Declare multilib_exclusions for the specs file.
5123         (set_multilib_dir): Use it.
5124         (print_multilib_info): Likewise.
5125         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
5126         to pass to genmultilib.
5127
5128 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5129
5130         * builtins.c (built_in_class_names, built_in_names): Constify a
5131         char*.
5132
5133         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
5134         int.
5135         (_mcleanup): Ensure value matches format specifier in sprintf.
5136
5137         * cpphash.c (special_symbol): Don't needlessly cast away
5138         const-ness.
5139
5140         * cppinit.c (base_name): Delete unused prototype.
5141
5142         * mkdeps.c (deps_init): Make definition K&R safe.
5143
5144         * tree.h (built_in_class_names, built_in_names): Constify a
5145         char*.
5146
5147 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
5148
5149         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
5150         floating point instructions for epilogue delay.
5151
5152         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
5153         to gas if it supports .register pseudo.
5154
5155         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
5156         LONG_DOUBLE_TYPE_SIZE if not defined.
5157         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
5158         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
5159         * real.c: Likewise.
5160         * gengenrtl.c: Likewise.
5161         * print-rtl.c: Likewise.
5162         * rtl.c: Likewise.
5163         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
5164         MASK_LONG_DOUBLE_128.
5165         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
5166         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
5167         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
5168         (SUBTARGET_SWITCHES): Define.
5169         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
5170         with -mlong-double-128.
5171         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5172         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5173         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5174         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
5175         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
5176         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
5177         with -mlong-double-128.
5178         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5179         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5180         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5181         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
5182         TARGET_LONG_DOUBLE_128): Define.
5183         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
5184         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
5185         long double on TARGET_ARCH64.
5186
5187 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
5188
5189         * function.c (free_temps_for_rtl_expr): Don't free slots
5190         that have been pushed into a higher level.
5191         
5192         Revert this patch:
5193         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5194
5195 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5196
5197         * basic-block.h (ALLOCA_REG_SET): Remove.
5198         (INITIALIZE_REG_SET): New macro.
5199         * flow.c (update_life_info): Use it.
5200         (calculate_global_regs_live): Likewise.
5201         (propagate_block): Likewise.
5202         * global.c (build_insn_chain): Likewise.
5203         * haifa-sched.c (schedule_region): Likewise.
5204
5205 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
5206
5207         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
5208         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
5209         (DWARF_ARANGES_PAD_SIZE): New define.
5210         (output_aranges): Use it to pad the address range header.
5211         (DWARF_ROUND): Fix for non power of 2 rounding.
5212
5213 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
5214
5215         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
5216
5217 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
5218
5219         * tree.def (RTL_EXPR): Update documentation.
5220         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
5221         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
5222         * function.c (preserve_rtl_expr_temp): New function.
5223         (preserve_rtl_expr_temps): Likewise.
5224         (preserve_rtl_expr_result): Use it.
5225
5226         Revert this patch:
5227         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5228
5229 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
5230
5231         * regmove.c (copy_src_to_dest)  Do not create src->dest move
5232         for unchanging destination.
5233
5234 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
5235
5236         * function.h (struct sequence_stack): Remove rtl_expr.
5237         (struct emit_staus): Likewise.
5238         (seq_rtl_expr): Remove.
5239         * tree.h (free_temps_for_rtl_expr): Don't declare.
5240         (start_sequence_for_rtl_expr): Likewise.
5241         * rtl.h (preserve_rtl_expr_result): Likewise.
5242         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
5243         (start_sequence_for_rtl_expr): Remove.
5244         (push_topmost_sequence): Don't save sequence_rtl_expr.
5245         (pop_topmost_sequence): Remove comment about not restoring it.
5246         (end_sequence): Don't set seq_rtl_expr.
5247         (init_emit): Don't initialize it.
5248         (mark_sequence_stack): Don't mark it.
5249         (mark_emit_status): Likewise.
5250         * except.c (protect_with_terminate): Use
5251         start_sequence_for_rtl_expr, not start_sequence.
5252         * expr.c (expand_expr, case RTL_EXPR): Don't call
5253         preserve_rtl_expr_result or free_temps_for_rtl_expr.
5254         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
5255         (preserve_rtl_expr_result): Remove.
5256         (free_temps_for_rtl_expr): Likewise.
5257         (pop_temp_slots): Likewise.
5258         (mark_temp_slot): Don't mark the rtl_expr.
5259         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
5260         start_sequence_for_rtl_expr.
5261         
5262 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
5263
5264         * mkdeps.c, mkdeps.h: New files.
5265         * po/POTFILES.in: Add them.
5266         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
5267         (cpplib.o, cppinit.o): Depend on mkdeps.h.
5268         (mkdeps.o): New target.
5269
5270         * cppfiles.c: Delete deps_output.
5271         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
5272         OBJECT_SUFFIX, and base_name.
5273         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
5274         the include hash.
5275         (initialize_dependency_output): Use deps_init,
5276         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
5277         all the unnecessary string bashing.
5278         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
5279         level.
5280         * cpplib.c (do_include): Use deps_add_dep.
5281         * cpplib.h (struct cpp_reader): Replace deps_buffer,
5282         deps_allocated_size, deps_size, deps_column members with
5283         single pointer to a struct deps.  Delete prototype of
5284         deps_output.
5285
5286         * cppinit.c: Fix thinko in previous patch.
5287
5288 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5289
5290         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
5291         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
5292         (mode_for_size_tree): New function.
5293         (layout_decl, layout_type): Call it and clean up BLKmode checks.
5294         * tree.h (mode_for_size_tree): New declaration.
5295         
5296         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
5297
5298 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
5299
5300         * stmt.c (is_body_block): Move...
5301         * dwarfout.c, dwarf2out.c: ...from here.
5302         * tree.h: Declare it.
5303         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
5304         * final.c (final_start_function): Do call remove_unnecessary_notes
5305         when scheduling.
5306
5307 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
5308
5309         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
5310         
5311         * cpplib.h (_dollar_ok): New macro.
5312         (is_idchar, is_idstart): Use it.
5313         (IStable): Rename to _cpp_IStable.  Declare it const if
5314         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
5315         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
5316         is_space): Update for renamed IStable.
5317
5318         * cppinit.c: Delete all references to FAKE_CONST and CAT
5319         macros. Define init_IStable as empty macro if gcc >=2.7 or
5320         C99. Change TABLE() to ISTABLE and hardcode name of table.
5321         (cpp_start_read): Don't change the IStable based on
5322         dollars_in_ident.
5323
5324         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
5325         changed.  Handle '$' for char1 correctly.
5326         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
5327
5328         * cppexp.c (tokentab2): Make const.
5329         (cpp_lex): Make toktab const.
5330         * cppinit.c (include_defaults_array): Make const.
5331         (initialize_standard_includes): Make default_include const.
5332
5333 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
5334
5335         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
5336         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
5337         (gen_decl_die): Likewise.
5338         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
5339         (output_decl): Likewise.
5340
5341         * varasm.c (make_function_rtl): If we change the name used in the
5342         rtl, update DECL_ASSEMBLER_NAME accordingly.
5343         (make_decl_rtl): Likewise.
5344
5345         * toplev.c (rest_of_compilation): Tweak formatting.
5346
5347         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
5348         remove_unnecessary_notes.
5349         (debug_ignore_block): New fn.
5350         * toplev.h: Declare it.
5351         * emit-rtl.c (remove_unncessary_notes): Call it.
5352         * dwarf2out.c (dwarf2out_ignore_block): New fn.
5353         * dwarf2out.h: Declare it.
5354         * final.c (final_start_function): Don't call remove_unnecessary_notes
5355         if we did insn scheduling.
5356
5357 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
5358
5359         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
5360         * cpplib.h: Delete SET_CPP_PEDANTIC.
5361
5362 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5363
5364         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
5365         result is a RECORD_TYPE.
5366
5367 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
5368
5369         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
5370
5371 2000-03-03  Richard Henderson  <rth@cygnus.com>
5372
5373         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
5374         addition over compliments over shifts.
5375
5376 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5377
5378         * reload1.c (reload_combine_note_use): Handle return register USEs.
5379         REG case: Handle multi-hard-register hard regs.
5380
5381 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5382
5383         * md.texi: Document use of '*' in insn pattern name.
5384
5385 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
5386
5387         * calls.c (special_function_p): operator new may not be malloc-like.
5388
5389         * gcse.c (dump_hash_table): Really fix error in last change.
5390
5391 2000-03-02  Denis Chertykov  <denisc@overta.ru>
5392
5393         * avr.c (print_operand): Use print_operand_address instead of
5394         output_addr_const.
5395         * avr/libgcc.S: Cleanup code.
5396
5397 2000-03-02  Richard Henderson  <rth@cygnus.com>
5398
5399         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
5400
5401 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
5402
5403         * tree.h (TYPE_ALIGN_UNIT): New macro.
5404
5405 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
5406
5407         * i386.c: (constant_call_address_operand): Reject CONST_INT.
5408
5409 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
5410
5411         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
5412         for the buffer.
5413         (SET_CPP_PEDANTIC): New macro.
5414         * cpplib.c (do_include): Don't bother checking system_header_p.
5415         (do_warning, do_ident, do_assert, do_unassert): Likewise.
5416         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
5417
5418         * function.h (struct expr_status): Add x_arg_space_so_far.
5419         (arg_space_so_far): New macro.
5420         * expr.c (init_expr): Initialize it.
5421         * calls.c (emit_call_1): Reset it.
5422         (compute_argument_block_size, expand_call): Use it.
5423         (expand_call, store_one_arg): Increment it.
5424
5425 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5426
5427         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
5428         a UNION_TYPE.
5429
5430 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
5431
5432         * cppfiles.c (cpp_read_file): New function.
5433
5434         * cpphash.c (collect_expansion): Make sure to reset last_token
5435         to NORM when we hit a string.  Handle trailing whitespace
5436         properly when the expansion is empty.
5437         (create_definition): Disable line commands while parsing the
5438         directive line.
5439         (dump_definition): If pfile->lineno == 0, output a line
5440         command ahead of the dump, and add a trailing newline.
5441
5442         * cppinit.c (append_include_chain): Add fifth argument, which
5443         indicates whether or not system headers are C++ aware.
5444         (initialize_standard_includes): New function,
5445         broken out of read_and_prescan.  Pass 'cxx_aware' value from
5446         the include_defaults_array on to append_include_chain.
5447         (dump_special_to_buffer): Const-ify char array.
5448         (builtin_array): Don't dump __BASE_FILE__.
5449         (cpp_start_read): Use cpp_read_file.  Reorder code for
5450         clarity.  Don't output line commands here for -D/-A/-U
5451         switches.  Don't call deps_output for files included with
5452         -include or -imacros.
5453
5454         * cpplib.c (do_define): Don't pay any attention to the second
5455         argument.
5456         (cpp_expand_to_buffer): Disable line commands while scanning.
5457         (output_line_command): Work in the file buffer.
5458         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
5459         Fix formatting of comments.  Prototype cpp_read_file.
5460
5461 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5462
5463         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
5464         reference the language-equivalent of sizetype.
5465         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
5466         * fold-const.c (size_binop, size_diffop): Put back checks.
5467         * gcse.c (dump_hash_table): Fix minor error in last change.
5468         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
5469         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
5470         all sizetypes.
5471
5472 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
5473
5474         * calls.c (expand_call)  Do not attempt to combine stack adjustments
5475         with inhibit_defer_pop set.
5476
5477 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
5478
5479         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
5480         the DECL_SIZE for a FIELD_DECL.
5481
5482 2000-03-01  Bruce Korb  <bkorb@gnu.org>
5483
5484         * fixinc/inclhack.tpl: remove unused symlinks
5485         * fixinc/README: GCC Maintainer info
5486         * fixinc/inclhack.sh: regen
5487         * fixinc/fixincl.sh: regen
5488
5489 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
5490
5491         * cpphash.c (collect_expansion): Trim trailing white space
5492         from macro definitions, but don't go past the last insertion
5493         point.
5494
5495 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
5496
5497         * i386.md (mulqi3): New pattern.
5498
5499 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
5500
5501         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
5502         token types.
5503         (struct cpp_reader): Add parsing_if_directive and
5504         parsing_define_directive flags.               
5505         (struct cpp_options): Remove output_conditionals flag.
5506         (check_macro_name): Delete prototype.
5507
5508         * cpphash.h (struct macrodef): Delete.
5509         (struct reflist): Separate from struct definition.
5510         (struct definition): Remove unused fields.  Add column number.
5511         (create_definition): Returns a DEFINITION *.  Takes a
5512         cpp_reader * and an int.
5513
5514         * cpphash.c (SKIP_WHITE_SPACE): Delete.
5515         (PEEKC): Copy defn from cpplib.c.
5516         (rest_extension, REST_EXTENSION_LENGTH): Delete.
5517         (struct arg): New.
5518         (struct arglist): Simplify.
5519         (collect_expansion): Rewrite.  Get tokens by calling
5520         cpp_get_token.  Add more error checking.
5521         (collect_formal_parameters): New function, broken out of
5522         create_definition and reworked to use get_directive_token.
5523         (create_definition): All real work is now in collect_expansion
5524         and collect_formal_parameters.  do_define handles finding the
5525         macro name.  Return a DEFINITION, not a MACRODEF.
5526         (macroexpand): Replace bcopy with memcpy throughout.  Replace
5527         character-at-a-time copy loop with memcpy and pointer increments.
5528         (compare-defs): d1->argnames / d2->argnames might be null.
5529
5530         * cpplib.c (copy_rest_of_line): Delete function.
5531         (skip_rest_of_line): Do all the work ourselves.
5532         (skip_string): New function.
5533         (parse_string): Use skip_string.
5534         (get_macro_name): New function.
5535         (check_macro_name): Delete.
5536         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
5537         (cpp_skip_hspace): Use CPP_BUMP_LINE.
5538         (handle_directive): ICE if we're called on a macro buffer.
5539         (do_define): Determine macro name and type (funlike/objlike)
5540         here.  Expunge all uses of MACRODEF.
5541         (cpp_push_buffer): Set line_base to NULL.
5542         (do_undef, read_line_number): Don't worry about getting a POP token.
5543         (eval_if_expression): Set/reset parsing_if_directive around
5544         cpp_parse_expr. Don't clear only_seen_white.
5545         (skip_if_group): Remove output_conditionals logic.  Use
5546         skip_rest_of_line.
5547         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
5548         tokens under appropriate conditions.
5549         (cpp_unassert): Call do_unassert not do_assert.  Oops.
5550
5551         * cppexp.c (parse_defined): New function, break out of
5552         cpp_lex.
5553         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
5554         ourselves, with cpp_defined.
5555         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
5556
5557         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
5558         * gcc.dg/strpaste-2.c: New.
5559
5560 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
5561
5562         * fold-const.c (size_binop): Don't asert inputs are the same and
5563         have TYPE_IS_SIZETYPE set.
5564         (size_diffop): Likewise.
5565
5566 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
5567
5568         * dwarfout.c (output_block): Output abstract blocks even if they
5569         don't have TREE_ASM_WRITTEN set.
5570
5571         * calls.c (emit_library_call): Check for null REG.
5572
5573 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
5574
5575         * c-decl.c (current_function_decl): Move to toplev.c.
5576         (init_decl_processing): Don't add current_function_decl as a ggc
5577         root here.
5578         * dbxout.c (dbxout_symbol): Change return type to int.
5579         (dbxout_symbol_location, dbxout_syms): Likewise.
5580         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
5581         any locals. Use current_function_func_begin_label if set.
5582         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
5583         * dwarf2out.c (dwarf2out_begin_prologue): Set
5584         current_function_func_begin_label.
5585         * final.c (final_start_function): Reset it.
5586         * toplev.c (current_function_decl): Define it here.
5587         (current_function_func_begin_label): New variable.
5588         (main): Add both as ggc roots.
5589         * tree.h (current_function_func_begin_label): Declare.
5590
5591 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5592
5593         * gcse.c: Cleanups throughout: mostly white-space, but also
5594         some minor rearrangement of code.
5595
5596 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
5597
5598         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
5599         returns a PARALLEL.  Use emit_group_load and use_group_regs
5600         as needed.  
5601         (emit_library_call_value): Similarly.
5602
5603         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
5604         * pa/quadlib.asm: Remove.
5605         * pa/quadlib.c: New file.
5606
5607         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
5608         * configure: Rebuilt.
5609
5610 2000-02-29  Philip Blundell  <pb@futuretv.com>
5611
5612         * config/arm/conix-elf.h: New file.
5613         * configure.in (arm*-*-conix*): New configuration.
5614         * configure: Regenerate.
5615
5616 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
5617
5618         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
5619         don't have TREE_ASM_WRITTEN set.
5620
5621 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5622
5623         * Eliminate DECL_FIELD_SIZE.
5624         * builtins.c (built_in_class_names, built_in_names): New variables.
5625         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
5626         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
5627         DECL_SIZE, not DECL_FIELD_SIZE.
5628         * print-tree.c (print_node): Remove code that prints extra blank
5629         lines in some cases.
5630         Properly handle inline and builtin function cases.
5631         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
5632         * tree.h (built_in_class_named, built_in_names): New declarations.
5633         (union tree_decl): Rename internal unions to u1 and u2 and change
5634         some of their components.
5635         Add new field built_in_class.
5636         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
5637         Reflect above changes.
5638         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
5639         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
5640         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
5641         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
5642
5643 2000-02-28  Dmitri Makarov  <dim@windriver.com>
5644
5645         * extend.texi: Document ARM's support for long/short calls.
5646
5647         * invoke.texi: Document ARM's -mlong-calls command line switch.
5648         
5649         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
5650         (arm_encode_call_attribute): Add prototype.
5651         (arm_set_default_type_attribute): Add prototype.
5652         (arm_strip_name_encoding): Add prototype.
5653
5654         * config/arm/arm.c (arm_init_cumulative_args): replace
5655         initialisation og 'long_calls' field with initialisation of
5656         'call_cookie' field.
5657         (enum arm_pragma_enum): New enum.
5658         (arm_pragma_long_calls): New static variable.
5659         (arm_process_pragma): Also process "#pragma long_calls_off".
5660         (arm_valid_type_attribute_p): Accept short_call attribute.
5661         (arm_comp_type_attributes): Check long/short call attributes.
5662         (arm_encode_call_attribute):  New function:  Encode long_call
5663         or short_call attribute in function name.
5664         (arm_set_default_type_attributes): New function: Assign
5665         default attributes to newly defined type.
5666         (current_file_function_operand): New function: Return true if
5667         the symbol is a function which has already been compiled.
5668         (arm_is_longcall_p): New function: Return true if the
5669         indicated function should be called via a long call.
5670         (arm_get_strip_length): New function.  Returns number of
5671         prefix characters to be stripped from a function's name.
5672         (arm_strip_name_encoding): New function.  Strip prefix characters
5673         from a function's name.
5674
5675         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
5676         with 'call_cookie'.
5677         (SHORT_CALL_FAG_CHAR): Define.
5678         (LONG_CALL_FAG_CHAR): Define.
5679         (ENCODED_SHORT_CALL_ATTR_P): Define.
5680         (ENCODED_LONG_CALL_ATTR_P): Define.
5681         (ARM_NAME_ENCODING_LENGTHS): Define.
5682         (STRIP_NAME_ENCODING): Define.
5683         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
5684         (ARM_ENCODE_CALL_TYPE): Define.
5685         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
5686         (ARM_DECLARE_FUNCTION_SIZE): Define.
5687         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
5688
5689         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
5690         if a long call is needed.
5691         (call_value): Ditto.
5692         (call_symbol): Ditto.
5693
5694         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
5695         ARM_DECLARE_FUNCTION_SIZE.
5696
5697         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
5698         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
5699         (ARM_STRIP_NAME_ENCODING): Undefine.
5700         (STRIP_NAME_ENCODING): Undefine.
5701         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
5702         (ASM_DECLARE_FUNCTION_NAME): Ditto.
5703         (ASM_OUTPUT_COMMON): Ditto.
5704         (ASM_DECLARE_OBJECT_NAME): Ditto.
5705
5706         * config/arm/pe.c (arm_dllexport_name_p): Check for
5707         ARM_PE_FLAG_CHAR.
5708         (arm_dllimport_name_p): Ditto.
5709         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
5710         (arm_mark_dllimport): Ditto.
5711         
5712 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5713
5714         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
5715
5716 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
5717
5718         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
5719
5720 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
5721
5722         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
5723         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
5724         NO_BUILTIN_WCHAR_TYPE is not defined.
5725         (CPP_WCHAR_TYPE): Delete.
5726         * cccp.c (main): Don't change wchar_type if cplusplus.
5727         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
5728
5729 2000-02-28  Nick Clifton  <nickc@cygnus.com>
5730
5731         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
5732
5733 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
5734
5735         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
5736         (ASM_WEAKEN_LABEL): Define.
5737  
5738 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
5739
5740         * expr.c (store_constructor): Do not emit USE.
5741         * rtl.h (stupid_life_analysis): Remove.
5742
5743 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5744
5745         * function.c (number_blocks): Reset next_block_index based on
5746         what debugging format is used, not what is defined.
5747         
5748         * lcm.c: Minor reformatting throughout.
5749         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
5750         
5751         * toplev.c (rest_of_compilation): Account for time in
5752         optimize_mode_switching.
5753
5754         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
5755         if only marking labels.
5756
5757 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
5758
5759         * calls.c (expand_call): Attempt to combine stack adjustments with
5760         pending stack adjustments.
5761
5762 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5763
5764         * loop.c (reg_in_basic_block_p): Don't abort when falling through
5765         to the end of the function.
5766
5767 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
5768
5769         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
5770         blocks.
5771         * final.c (next_block_index): Remove.
5772         (max_block_depth): Likewise.
5773         (pending_blocks): Likewise.
5774         (init_final): Don't initialize them.
5775         (final_start_function): Don't set next_block_index.  Set up
5776         BLOCK_NUMBER.
5777         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
5778         * function.h (number_blocks): New function.
5779         * function.c (get_block_vector): New function.
5780         (identify_blocks): Use it.
5781         (reorder_blocks): Set NOTE_BLOCK.
5782         (number_blocks): New function.
5783         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
5784         * tree.h (BLOCK_NUMBER): New macro.
5785         (tree_block): Add block_num field.
5786         * dbxout.c (next_block_number): Remove.
5787         (dbxout_init): Don't set it.
5788         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
5789         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
5790         block numbers.
5791         * toplev.c (rest_of_compilation): Always call
5792         find_loop_tree_blocks.  Fix indentation.
5793         * dwarf2out.c (next_block_number): Remove.
5794         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5795         to determine block numbers.
5796         (gen_inlined_subroutine_die): Likewise.
5797         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
5798         (decls_for_scope): Don't increment next_block_number.
5799         * dwarfout.c (next_block_number): Remove.
5800         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
5801         to determine block numbers. 
5802         (output_inlined_subroutine_die): Likewise.
5803         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
5804         (output_decls_for_scope): Don't increment next_block_number.
5805         * sdbout.c (next_block_number): Remove.
5806         (sdbout_block): Use BLOCK_NUMBER.
5807         (sdbout_begin_block): Simplify.
5808         * xcoffout.c (next_block_number): Remove.
5809         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
5810         (xcoffout_begin_block): Don't set next_block_number.
5811         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
5812         next_block_number.
5813         
5814 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5815
5816         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
5817         (expand_builtin_strcpy): Pass correct type to size_binop.
5818         (expand_builtin_strcmp): Likewise.
5819         Clean up conditional structure.
5820         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
5821         (complete_array_type): Don't use size_binop for MAXINDEX.
5822         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
5823         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
5824         (c_alignof): Use size_one_node.
5825         (build_unary_op): Pass arg of proper type to size_binop.
5826         (really_start_incremental_init, push_init_level): Use sizetype for
5827         constructor{,_bit,_unfilled}_index.
5828         (pop_init_label, output_init_element): Likewise.
5829         (output_pending_init_elements, process_init_element): Likewise.
5830         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
5831         * expr.c (store_expr): Use size_int.
5832         (store_constructor): Use proper types for size_binop args.
5833         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
5834         (expand_expr_unaligned): Likewise.
5835         (string_contant): Return object of sizetype.
5836         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
5837         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
5838         (ARGS_SIZE_TREE): Pass proper types to size_binop.
5839         * fold-const.c (int_const_binop): Refine when size_int is called.
5840         (fold_convert): Likewise.
5841         (size_int_wide): Rework to take KIND as arg, only take low order
5842         bits, handle new sizetype_tab datatype, and chain entries in
5843         size_table.
5844         (size_int_type_wide): New function.
5845         (size_binop): Validate types of arguments.
5846         (ssize_binop): Deleted.
5847         (size_diffop): New function.
5848         (extract_muldiv): Only fold division into multiplication for sizetypes.
5849         * function.c (assign_parms): Use size_diffop and make sure
5850         VAR field is of ssizetype; also pass proper type to size_binop.
5851         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
5852         (round_down): Deleted from here.
5853         * store-layout.c (sizetype_tab): Now an array.
5854         (sizetype_set, early_root_list): New variables.
5855         (variable_size): Use size_one_node.
5856         (round_up): Pass proper type to size_binop.
5857         (round_down): Moved to here and corrected as above.
5858         (layout_record): Pass proper arg types to size_binop.
5859         (layout_type): Likewise.
5860         If sizetype_set is zero, record the type just laid out.
5861         (make_unsigned_type): Don't call set_sizetype;
5862         (make_signed_type): Likewise; also, call fixup_signed_type.
5863         (initialize_sizetypes): New function.
5864         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
5865         set name of bitsizetype to "bit_size_type".
5866         Fix up type of sizes of all types made before call.
5867         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
5868         * tree.c (fix_sizetype): Deleted.
5869         (build_common_tree_nodes): Call initialize_sizetypes.
5870         (build_common_tree_nodes_2): Don't call fix_sizetype.
5871         * tree.h (TYPE_IS_SIZETYPE): New macro.
5872         (initialize_sizetype): New declaration.
5873         (enum size_type_kind): New type.
5874         (struct sizetype_tab): Deleted.
5875         (sizetype_tab): Now array; adjust sizetype macros.
5876         (size_diffop, size_int_type_wide): New functions.
5877         (size_int_wide): Change number of args and type; access macros changed.
5878         (ssize_int, sbitsize_int): New macros.
5879         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
5880         (ROUND_TYPE_SIZE_UNIT): New macro.
5881
5882 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
5883
5884         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
5885
5886 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5887
5888         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
5889         Mark as possibly unused.
5890
5891         * cse.c (cse_insn): Delete dead code involving tablejump.
5892         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
5893
5894         * Makefile.in (libcpp.a): Start by deleting it.
5895
5896 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5897
5898         * cpplib.h (enum file_change_code): Added rename_file.
5899         * cpplib.c (do_line): If a filename is given, set file_change to
5900         rename_file.
5901         (output_line_command): If file_change is rename_file, always
5902         output a # directive with the file name.
5903
5904         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
5905
5906 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
5907
5908         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
5909         when copying a PARM_DECL or RESULT_DECL.
5910
5911 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5912
5913         * fix-header.c (recognized_function): Also fix prototypes for
5914         functions taking "void".
5915
5916 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
5917
5918         * reload1.c (do_output_reload): Check reg_reloaded_valid before
5919         looking at reg_reloaded_contents.
5920
5921 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
5922
5923         * Makefile.in (STMP_FIXINC): New toggle.
5924         (LIBGCC2_DEPS): Delete all references.
5925         (stmp-headers): Delete target.  All references either deleted
5926         or changed to stmp-int-headers.
5927         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
5928         (LIBCPP_OBJS): Take out cppalloc.o.
5929         (cppalloc.o): Delete target.
5930         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
5931         (gen-protos, fix-header): Link with libiberty.a.
5932         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
5933         to empty.
5934
5935         * configure.in: Remove refs to strerror.
5936         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
5937         * system.h: Take out strerror stanza.
5938
5939         * cpperror.c (my_strerror): Delete function.
5940         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
5941         * cppmain.c (main): Call xmalloc_set_program_name first thing.
5942         * cppalloc.c: Delete file.
5943         * gen-protos.c: Don't provide xrealloc.
5944
5945         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
5946         xstrerror throughout.
5947
5948 2000-02-26  Bruce Korb  <bkorb@gnu.org>
5949
5950         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
5951         match for DOS headers, too.
5952         * fixinc/inclhack.sh,fixincl.x: Regenerate.
5953
5954 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
5955
5956         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
5957         is right for most ELF targets.
5958         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
5959         Let the default file use %U properly.
5960         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
5961         default.
5962
5963         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
5964         numbers.
5965
5966 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5967
5968         * toplev.c (documented_lang_options): Correct spelling error.
5969         (decode_d_option, decode_f_option, main): Likewise.
5970
5971         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
5972
5973         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
5974         to tell assembler it is permitted to expand large constants.
5975
5976 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
5977
5978         * protoize.c: (AUX_INFO_SUFFIX): New macro.
5979         (aux_info_suffix): Use.
5980         (SAVE_SUFFIX): New macro.
5981         (save_suffix): Use.
5982         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
5983         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
5984         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
5985
5986         * invoke.texi (Running Protoize): Update documentation.
5987
5988 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
5989
5990         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
5991
5992 2000-02-25  John Wehle  (john@feith.com)
5993
5994         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
5995
5996 2000-02-25  Anthony Green  <green@cygnus.com>
5997
5998         * toplev.c (rest_of_compilation): Rebuild jump labels if
5999         combine_instructions has created a new direct jump.
6000         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
6001         when appropriate.
6002         (combine_instructions): Call try_combine with new argument.
6003         Return non-null value when new direct jump instruction is created.
6004         * rtl.h: combine_instructions returns an int.
6005
6006 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
6007
6008         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
6009         jump when changing a computed jump into a jump to a known
6010         target.
6011
6012 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
6013
6014         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
6015         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
6016
6017         * i386.md (define_expand "clrstrsi"): Fix typo.
6018
6019 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
6020
6021         * rtl.texi: Fix typo.
6022
6023 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6024
6025         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
6026         UNITS_PER_WORD.  Change caller initial_elimination_offset.
6027         (rounded_frame_size): Take into account that argument pushed has
6028         changed.  Fix TARGET_ALIGN_DOUBLE problem.
6029
6030 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
6031
6032         * haifa-sched.c (schedule_block): Explain the real reason
6033         we delete REG_SAVE_NOTEs on the first insn of a block.
6034         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
6035
6036 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
6037
6038         * input.h (push_srcloc): New function.
6039         (pop_srcloc): Likewise.
6040         * toplev.c (push_srcloc): Define it.
6041         (pop_srcloc): Likewise.
6042
6043 2000-02-24  Richard Henderson  <rth@cygnus.com>
6044
6045         * flow.c (life_analysis): When collecting reg info, clear
6046         regs_ever_live.
6047
6048 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6049
6050         Fix bug exposed by reload.c no longer rounding the frame
6051         size to BIGGEST_ALIGNMENT:
6052         * sh.c (rounded_frame_size): New function.
6053         (sh_expand_prologue, sh_expand_epilogue): Use it.
6054         (initial_elimination_offset): Likewise.
6055
6056 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6057
6058         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
6059         * sh-protos.h (sh_need_epilogue): Declare.
6060         * sh.c (sh_need_epilogue_known): New static variable.
6061         (sh_need_epilogue): New function.
6062         (function_epilogue): Clear need_epilogue_known.
6063         * sh.md (return): Split into expander / insn pattern.
6064         Make the expander conditional on ! sh_need_epilogue ().
6065
6066 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
6067
6068         * machmode.h (get_mode_alignment): Declare.
6069         (GET_MODE_ALIGNMENT): Call it.
6070         * stor-layout.c (get_mode_alignment): New function. Make
6071         sure alignment is always power of 2.
6072
6073 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6074
6075         * i386.h: Remove useless definition of "I386" and misleading
6076         comment above it.
6077
6078 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6079
6080         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
6081         under which TREE_PERMANENT will be set.
6082         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
6083         build1): Use TREE_SET_PERMANENT.
6084         * print-tree.c (print_node): Don't report value of
6085         TREE_PERMANENT if ggc_p is true.
6086
6087         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
6088         decide whether to give a type a new alias set.
6089         * objc/objc-act.c (build_objc_string_object): Never copy the string.
6090         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
6091         of value of 'obstack'.
6092
6093
6094 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6095
6096         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
6097
6098 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6099
6100         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
6101         * cpplib.c (cpp_get_token): Produce them.
6102         * cppexp.c (cpp_lex): Handle them.
6103
6104 2000-02-23  Nick Clifton  <nickc@cygnus.com>
6105
6106         * config/arm/arm.c (arm_comp_type_attributes): Simply and
6107         comment tests on type attributes.
6108
6109 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6110
6111         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
6112         conform to documentation.
6113         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
6114         to check for special cases.
6115         * sh-protos.h (sh_loop_align): Declare.
6116         * sh.c (sh_loop_align): Define.
6117
6118 2000-02-22  Andrew Haley  <aph@cygnus.com>
6119
6120         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
6121         (SIZE_TYPE): Is 32 bits when using -mgp32.
6122         (PTRDIFF_TYPE): Ditto.
6123
6124 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6125
6126         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
6127
6128 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
6129
6130         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
6131         BIGGEST_FIELD_ALIGNMENT a constant.
6132
6133 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
6134
6135         * dwarf2out.c (output_line_info): Put the marker for the end of
6136         the line number info at the actual end.
6137         (gen_struct_or_union_type_die): Use decl_function_context 
6138         to check for local classes.
6139         * dwarfout.c (output_type): Likewise.
6140
6141 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
6142
6143         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
6144         for arguments with a mode, but no type.
6145         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
6146         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
6147         * pa/long_double.h: New file.
6148         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
6149         both have 128bit wide long doubles.
6150         * configure: Rebuilt.
6151
6152 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6153
6154         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
6155
6156         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
6157         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
6158         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
6159
6160         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
6161
6162         * integrate.c (compare_blocks, find_block): Likewise.
6163
6164         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
6165
6166         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
6167
6168         * stmt.c (stmt_status, set_file_and_line_for_stmt,
6169         expand_asm_operands): Likewise.
6170
6171 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
6172
6173         * predict.c (estimate_probability): Added the pointer heuristic to
6174         the collection of static branch predictors.
6175
6176 2000-02-21  Catherine Moore  <clm@cygnus.com>
6177
6178         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
6179         * invoke.texi (-mfix7000): Document.
6180
6181 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
6182
6183         * diagnostic.c (init_output_buffer): Make it possible to output at
6184         least 32 characters if we're given a too long prefix.
6185
6186 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
6187
6188         * varasm.c (initializer_constant_valid_p): Call
6189         lang_expand_constant to simplify the constant.
6190
6191 2000-02-20  Bruce Korb  <bkorb@gnu.org>
6192
6193         * fixinc/inclhack.def(stdio_va_list):
6194         typedef needs to be disabled.
6195         * fixinc/inclhack.sh: regen
6196         * fixinc/fixincl.x: regen
6197
6198 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
6199
6200         * print-rtl.c (print_rtx): Don't print addresses when
6201         flag_dump_unnumbered.
6202
6203 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6204
6205         * sparc.c (sparc_output_scratch_registers): Mark parameter with
6206         ATTRIBUTE_UNUSED.
6207         (sparc_va_arg, sparc_flat_output_function_prologue,
6208         sparc_flat_output_function_epilogue): Cast value to unsigned in
6209         comparison.
6210         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
6211         
6212         * sparc.md: Add default case in switch.
6213
6214 2000-02-19  Richard Henderson  <rth@cygnus.com>
6215
6216         * c-typeck.c (add_pending_init): Don't abort for multiple
6217         fields at the same offset.
6218         (pending_init_member): Test the correct member.
6219
6220 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6221
6222         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
6223         instead of SImode.
6224         (start_catch_handler) : Same.
6225
6226 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
6227
6228         * Makefile.in: Have flow.o depend on $(EXPR_H)
6229
6230 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6231
6232         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
6233         * c-decl.c (duplicate_decls, finish_enum): Likewise.
6234         (finish_decl): Remove -Wlarger-than code from here.
6235         * flags.h (id_clash_len): Now int.
6236         (larger_than_size): Now HOST_WIDE_INT.
6237         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
6238         Clean up checking to see if in table.
6239         (make_bit_field_ref): Remove extra parm to bitsize_int.
6240         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
6241         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
6242         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
6243         and for computing size of decl.
6244         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
6245         Move -Wlarger-than code to here.
6246         (layout_record): Remove extra arg to bitsize_int.
6247         Set TYPE_BINFO_SIZE_UNIT.
6248         (layout_union): Remove extra arg to bitsize_int.
6249         Use proper type for size of QUAL_UNION.
6250         (layout_type): Remove extra arg to bitsize_int.
6251         * toplev.c (id_clash_len): Now int.
6252         (larger_than_size): Now HOST_WIDE_INT.
6253         (decode_W_option): Clean up id-clash and larger-than- cases.
6254         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
6255         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
6256         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
6257         (struct tree_decl): New field size_unit.
6258         (size_int_wide): No HIGH operand; NUMBER is now signed.
6259         (size_int_2): Deleted.
6260         (size_int, bitsize_int): Don't use it and rework args.
6261         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
6262
6263 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
6264
6265         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
6266
6267 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
6268
6269         * invoke.texi (Warning Options): Add an explanation of why
6270         you might want the -Wfloat-equal flag.
6271
6272 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6273
6274         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
6275         * cppinit.c (new_pending_define): Add cast to avoid warning.
6276         * expmed.c (extract_bit_field): Likewise.
6277         * flow.c (enum reorder_skip_type): New type.
6278         (skip_insns_between_blcok): New it.
6279         Rework to avoid warning about possibly undefined variable.
6280         * function.c (assign_parms): Make thisparm_boundary unsigned.
6281         * genrecog.c (write_switch): Cast XWINT result to int.
6282         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
6283         * mips-tfile.c (init_file): Make two versions of FDR intializer:
6284         one for MIPS and one for Alpha.
6285         (get_tag, copy_object): Add casts to avoid warnings.
6286         * optabs.c (init_one_libfunc): Cast NAME to (char *).
6287         * reload.c (find_reloads): Make TYPE enum reload_type.
6288         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
6289         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
6290         * varasm.c (compare_constant_1): Add cast to avoid warning.
6291         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
6292         to (char *).
6293         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
6294         Cast switch operand of size to int.
6295         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
6296         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
6297         in unhandled case.
6298
6299 2000-02-18  Nick Clifton  <nickc@cygnus.com>
6300
6301         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
6302         anything for an alignment of zero.
6303
6304         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
6305         anything for an alignment of zero.
6306
6307 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
6308
6309         * gcc.texi (Bug Reporting): Refer to bugs.html.
6310         (Bug Lists): Likewise.
6311         * system.h (GCCBUGURL): New preprocessor define.
6312         * rtl.c (fancy_abort): Use it.
6313         * gcc.c (main): Likewise.
6314
6315 2000-02-18  Richard Henderson  <rth@cygnus.com>
6316
6317         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
6318         (life_analysis_1): Subsume into ...
6319         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
6320         Use update_life_info for the relaxation.
6321         (update_life_info): Update REG_BASIC_BLOCK for registers live on
6322         entry and regs_live_at_setjmp.
6323         (set_noop_p): Simplify.
6324         (notice_stack_pointer_modification_1): Renamed from s/_1//.
6325         (record_volatile_insns): Split into ...
6326         (delete_noop_moves): ... here,
6327         (notice_stack_pointer_modification): ... here,
6328         (insn_dead_p): ... and here.
6329         (propagate_block): Don't query INSN_VOLATILE.
6330         (mark_used_regs): Mind !PROP_REG_INFO.
6331         * toplev.c (rest_of_compilation): Call mark_constant_function here,
6332         not in life_analysis.
6333
6334 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
6335
6336         * loop.c (canonicalize_condition): New function,
6337         broken out of get_condition.
6338         (get_condition): Use it.
6339         * expr.h (canonicalize_condition): Prototype it.
6340
6341         * tree.h (tree_int_cst_msb): Declare.
6342         * tree.c (tree_int_cst_msb): New function.
6343
6344 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
6345
6346         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
6347         isn't set.
6348
6349         * invoke.texi (-fmessage-length=n): Document.
6350
6351 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
6352
6353         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
6354
6355 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
6356
6357         * function.c (thread_prologue_and_epilogue_insns): Put a line note
6358         after the prologue.
6359
6360 2000-02-17  Nick Clifton  <nickc@cygnus.com>
6361
6362         * config/arm/thumb.c: Replace includes of system headers with
6363         #include "system.h".
6364
6365 2000-02-16  Richard Henderson  <rth@cygnus.com>
6366
6367         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
6368         Add crtbeginS.o and crtendS.o.
6369         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
6370         (ENDFILE_SPEC): Use crtendS.o.
6371         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
6372
6373         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
6374         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
6375         shared and present.
6376         (__dso_handle): New variable.
6377         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
6378         bias to __CTOR_END__.
6379         
6380 2000-02-16  Richard Henderson  <rth@cygnus.com>
6381
6382         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
6383
6384 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6385
6386         * longlong.h (__clz_tab): Declare as static to match definition.
6387
6388 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
6389         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
6390         (XREF_FILE_NAME): Define.
6391
6392         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
6393         (EH_FRAME_SECTION_ASM_OP): Define.
6394         (IDENT_ASM_OP): Define.
6395         (TEXT_SECTION_ASM_OP): Define.
6396         (CPP_SPEC): Define.
6397         (CTORS_SECTION_ASM_OP): Define.
6398         (CTOR_SECTION_FUNCTION): Use it.
6399         (DTORS_SECTION_ASM_OP): Define.
6400         (DTOR_SECTION_FUNCTION): Use it.
6401
6402 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
6403
6404         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
6405         NOTE_BASIC_BLOCK.
6406
6407         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
6408         debug_bb_n): New functions.
6409         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
6410         * basic-block.h: Prototype new functions.
6411
6412 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
6413
6414         * configure.in: Add support for avr target.
6415         * configure: Rebuilt.
6416
6417         * invoke.texi: Add AVR invocation docs.
6418         * install.texi: Add information about AVR.
6419         * md.texi: Add AVR constraint letters description.
6420         * extend.texi: Add description for AVR specific attributes.
6421
6422 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
6423
6424         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
6425
6426 2000-02-16  Nick Clifton  <nickc@cygnus.com>
6427
6428         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
6429         (make_insn_raw): Move RTL check here.
6430
6431 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6432
6433         * version.c: Include gansidecl.h and version.h.
6434
6435         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
6436         
6437         * configure.in (gcc_version): When setting, narrow search to
6438         lines containing `version_string'.
6439
6440         * Makefile.in (mainversion): Likewise. 
6441         (GCC_H): New variable.
6442         (gcc.h): Delete target.
6443         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
6444         (version.o): Depend on version.h.
6445         (dbxout.o): Don't depend on gcc.h.
6446
6447 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6448                           Michael Meissner  <meissner@cygnus.com>
6449
6450         * md.texi (Simple Constraints): Add item about whitespace.
6451         * genoutput.c (strip_whitespace): New.
6452         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
6453         strip_whitespace for constraints.
6454         Test pointer using NULL, not 0.
6455
6456 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6457
6458         * cpplib.c (do_line): Pedwarn for #line > 32767.
6459
6460         * c-lex.c (readescape): Warn about '\x', but do not reject it.
6461
6462 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
6463
6464         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
6465         to default cpp spec.
6466         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
6467         * cpp.texi: Document __GNUC_PATCHLEVEL__.
6468         * cpp.1: Likewise.
6469
6470         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
6471         default spec.
6472
6473 2000-02-15  Denis Chertykov  <denisc@overta.ru>
6474
6475         * configure.in: Add support for avr target.
6476
6477 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6478
6479         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
6480         (sh_addr_diff_vec_mode): Don't declare.
6481         * sh.c (sh_addr_diff_vec_mode): Delete.
6482
6483 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6484
6485         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
6486
6487 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6488
6489         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
6490         (smulsi3_highpart_i): Name.
6491         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
6492         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
6493         (smulsi3_highpart, umulsi3_highpart): Likewise.
6494
6495         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
6496         correctly independent of endianness.
6497         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
6498         confuse the optimizers.
6499         (mulsidi3+1, umulsidi3+1): New define_split.
6500
6501 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
6502
6503         * config/sh/sh.md: Guard insn splits against illegal registers.
6504         * config/sh/sh.h: Correct comment about macros.
6505
6506 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6507                           Andrew MacLeod  <amacleod@cygnus.com>
6508
6509         * Makefile.in (lcm.o): Depend on insn-attr.h.
6510         * basic-block.h (optimize_mode_switching): Declare.
6511         * lcm.c (tm_p.h, insn-attr.h): #include.
6512         (seginfo, bb_info): New structs.
6513         (antic, transp, comp, delete, insert) : New file-scope static variables.
6514         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
6515         (reg_becomes_live, optimize_mode_switching): Likewise.
6516         * tm.texi: Add description of mode switching macros.
6517         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
6518
6519         * sh-protos.h (remove_dead_before_cse): Remove prototype.
6520         (fldi_ok, fpscr_set_from_mem): New prototypes.
6521         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
6522         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
6523         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6524         (sh_flag_remove_dead_before_cse): Remove declaration.
6525         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
6526         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
6527         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
6528         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
6529         (barrier_align): Allow for JUMP_INSNS containing a parallel.
6530         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
6531         (fldi_ok): New function.
6532         (get_fpscr_rtx): Add fpscr_rtx as GC root.
6533         (emit_sf_insn): Only generate fpu switches when optimize < 1.
6534         (emit_df_insn): Likewise.
6535         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
6536         (sh_flag_remove_dead_before_cse): Delete.
6537         (get_free_reg, fpscr_set_from_mem): New functions.
6538         * sh.md (movdf, movsf): Remove no_new_pseudos code.
6539         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
6540
6541 2000-02-15  Loren Rittle  <ljrittle@acm.org>
6542
6543         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
6544
6545 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6546
6547         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
6548         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
6549
6550         * cccp.c: Include version.h and/or don't declare `version_string'.
6551         * collect2.c: Likewise.
6552         * alpha.c: Likewise.
6553         * arm/aof.h: Likewise.
6554         * arm/coff.h: Likewise.
6555         * arm/elf.h: Likewise.
6556         * arm/pe.h: Likewise.
6557         * arm/tcoff.h: Likewise.
6558         * arm/telf.h: Likewise.
6559         * arm/tpe.h: Likewise.
6560         * arm/vxarm.h: Likewise.
6561         * convex/convex.c: Likewise.
6562         * i386/dgux.c: Likewise.
6563         * i386/sun386.h: Likewise.
6564         * m88k/m88k.c: Likewise.
6565         * mcore/mcore-pe.h: Likewise.
6566         * mips/mips.h: Likewise.
6567         * romp/romp.h: Likewise.
6568         * sh/sh.c: Likewise.
6569         * cpphash.c: Likewise.
6570         * cppinit.c: Likewise.
6571         * dwarf2out.c: Likewise.
6572         * dwarfout.c: Likewise.
6573         * gcc.c: Likewise.
6574         * gcc.h: Likewise.
6575         * mips-tfile.c: Likewise.
6576         * protoize.c: Likewise.
6577         * toplev.c: Likewise.
6578         * tree.h: Likewise.
6579         
6580         * version.c (version_string): Constify a char*.
6581
6582         * version.h: New file.
6583
6584 2000-02-14  Nick Clifton  <nickc@cygnus.com>
6585
6586         * configure.in: Add mcore-elf and mcore-pe targets.
6587         * configure: Regenerate.
6588
6589         * NEWS: Add note that MCore port has been contributed.
6590
6591         * invoke.texi: Document command line switches for MCore port.
6592         * install.texi: Add MCore to list of supported targets.
6593
6594 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
6595
6596         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
6597         then we will need to import the frame handling functions.
6598         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
6599         to import the frames themselves.
6600
6601 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
6602                           Jason Eckhardt  <jle@cygnus.com>
6603
6604         * basic_block.h: Added prototype for reorder_basic_blocks.
6605         * toplev.c: Changes to add -freorder-blocks and graph dump after
6606         block reordering is done.
6607         * flow.c (reorder_block_def): New structure for use during block
6608         reordering.
6609         (REORDER_BLOCK_*): New macros to access members of above structure.
6610         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
6611         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
6612         functions for block reordering.
6613
6614 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6615
6616         * gcc.texi (Passes): Fix typo.
6617         * md.texi (Standard Names): Ditto.
6618         * tm.texi (Storage Layout): Ditto.
6619
6620 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
6621
6622         * cpplib.c (do_define): Only free the old definition if it
6623         actually had one.
6624
6625 2000-02-13   Neil Booth  <NeilB@earthling.net>
6626
6627         * cppfiles.c (read_and_prescan): When emitting deferred
6628         newlines, test speccase[] again instead of checking each
6629         possible whitespace character in turn.  When we encounter \r,
6630         look behind for \n first, then ahead.
6631
6632 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
6633
6634         * cse.c (cse_altered): New internal flag.
6635         (cse_insn): Set it if we changed an insn.
6636         (cse_main): Clear cse_altered before each basic block.
6637         Only garbage collect if cse_altered is true afterward.
6638
6639 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6640
6641         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
6642
6643 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
6644
6645         * combine.c (simplify_comparison): Fix typo.
6646
6647 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
6648
6649         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
6650         consistently.
6651
6652 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6653
6654         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
6655         previously inserted node instead of root node.  Caller changed.
6656
6657 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6658
6659         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
6660
6661 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6662
6663         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
6664         __dereg_frame_dtor): Add prototype argument.
6665
6666         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
6667
6668         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
6669
6670         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
6671
6672         * gthr-vxworks.h (__gthread_once): Likewise.
6673
6674         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
6675
6676 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
6677
6678         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
6679         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
6680         stack pointer in functions w/o saved registers, output LEAVE more often
6681         on TARGET_USE_LEAVE machines.
6682
6683 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
6684
6685         * config/arm/arm.c (arm_init_cumulative_args); New function:
6686         Initlaise the CUMULATIE_ARGS strcuture for a function
6687         defintion. 
6688         (arm_function_arg): New function: Determine where to place a
6689         function's argument.  Also handles deciding the function's
6690         call cookie.
6691         (current_file_function_operand): New function: Return true if
6692         the symbol is a function which has already been compiled.
6693         (arm_is_long_call_p): New function: Return true if the
6694         indicated function should be called via a long call.
6695         (arm_valid_type_attribute_p): New function: Return true if the
6696         attribute is a valid, arm specific, attribute.
6697         (arm_comp_type_attribute): New function: Return true if the
6698         two types have compatable, arm specific, attributes.
6699
6700         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
6701         structure.
6702         (FUNCTION_ARG): Redefine to call arm_function_arg.
6703         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
6704         structure field.
6705         (INIT_CUMULATIVE_ARGS): Redefine to call
6706         arm_init_cumulative_args.
6707         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
6708         field. 
6709         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
6710         field. 
6711         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
6712         functions.
6713         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
6714         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
6715         (COMP_TYPE_ATTRIBUTES): Define.
6716
6717         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
6718         if a long call is needed.
6719         (call_value): Call arm_is_long_call_p to decide if a long call
6720         is needed.
6721         (call_symbol): Call arm_is_long_call_p to decide if a long call
6722         is needed.
6723
6724         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
6725
6726 2000-02-11  Denis Chertykov  <denisc@overta.ru>
6727
6728         * README.AVR: New file with information about the avr ports.
6729         * config/avr: New directory with avr port files.
6730
6731 2000-02-11  Andreas Jaeger  <aj@suse.de>
6732
6733         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
6734
6735 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
6736
6737         * cpphash.c: Fix formatting, update commentary.
6738         (dump_definition): Take three separate arguments instead of a
6739         MACRODEF structure argument.
6740         * cpphash.h: Update prototype of dump_definition.
6741         * cppinit.c (cpp_finish): Update call of dump_definition.
6742
6743         * cpplib.c (do_define): Always create new hash entry with
6744         T_MACRO type.  Remove redundant check for redefinition of
6745         poisoned identifier.  Update call of dump_definition.
6746         (do_undef): Don't call check_macro_name.  Rename sym_length to
6747         len.
6748         (do_error, do_warning): Don't use copy_rest_of_line or
6749         SKIP_WHITE_SPACE.
6750         (do_warning): Don't use pedwarn for the actual warning,
6751         only the notice about its not being in the standard.  (Fixes
6752         bug with #warning in system headers.)
6753         (do_ident): Stricter argument checking - accept only a single
6754         string after #ident.  Also, macro-expand the line.
6755         (do_xifdef): Use cpp_defined.  De-obfuscate.
6756
6757         (do_pragma): Split out specific pragma handling to separate
6758         functions.  Use get_directive_token.  Update commentary.  Do
6759         not pass on #pragma once or #pragma poison to the front end.
6760         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
6761         do_pragma_default): New.
6762
6763 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
6764
6765         * jump.c (jump_optimize_1): The first operand in a relational
6766         can be a CONST_INT.
6767         * optabs.c (emit_conditional_move): Handle relationals which
6768         have a known true/false result.
6769
6770 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6771
6772         * function.c (thread_prologue_and_epilogue_insns): Don't insert
6773         a RETURN insn into a block which already ends with a jump.
6774
6775 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
6776
6777         * haifa-sched.c (BUF_LEN): Increase a lot.
6778
6779 2000-02-11  Nick Clifton  <nickc@cygnus.com>
6780
6781         * configure.in: Add tm_p_file specification for thumb targets.
6782         * configure: Regenerate.
6783
6784         * config/arm/thumb-protos.h: New file: Prototypes for exported
6785         functions defined in thumb.c.
6786
6787 2000-02-11  Robert Lipe  <robertl@sco.com>
6788
6789         * Makefile.in (bootstrap-lean): Remove additional files.
6790         (bootstrap2-lean): Likewise.
6791         (VOL_FILES): List of files for above.
6792
6793 2000-02-11  Nathan Sidwell  <nathan@acm.org>
6794
6795         * cpphash.c (special_symbol): Remove spurious argument to
6796         cpp_lookup.
6797
6798 2000-02-11  Joel Sherrill (joel@OARcorp.com>
6799
6800         * configure.in: (i*86-*-rtems*): Swapped elf and coff
6801         stanzas.
6802         * configure: Rebuilt.
6803
6804 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
6805         
6806         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
6807
6808 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
6809
6810         * pa.c, pa.h: Remove trigraph sequences within comments.
6811
6812 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
6813
6814         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
6815
6816 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
6817
6818         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
6819
6820 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6821         
6822         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
6823
6824 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6825
6826         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
6827         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
6828         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
6829         (ASM_FILE_END): Use c4x_file_end.
6830         * config/c4x/c4x.c (c4x_global_label): New function.
6831         (c4x_external_ref, c4x_file_end): Likewise.
6832
6833         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
6834         (c4x_external_ref, c4x_end_file): Likewise.
6835
6836 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
6837
6838         * cppexp.c: Don't include cpphash.h.
6839         (parse_charconst, cpp_lex): Use cpp_defined.
6840         (cpp_lex): Use get_directive_token throughout.  Remove
6841         unnecessary cases from switch.  Move assertion-handling code
6842         down to OTHER case.
6843         (cpp_parse_expr): If we see '+' or '-', check the context to
6844         determine if they are unary or binary operators.  Streamline
6845         the jumps a bit.  Do not call skip_rest_of_line.
6846
6847         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
6848         static.  Export get_directive_token.  Update commentary.
6849         (cpp_defined): New function.
6850         (do_define): Remove reference to T_PCSTRING.  Call
6851         free_definition to release memory for old definition, when
6852         redefining a macro.
6853         (eval_if_expression): Set only_seen_white to 0 before calling
6854         cpp_parse_expr.  Call skip_rest_of_line after it returns.
6855         (cpp_read_check_assertion): Don't preserve a pointer into the
6856         token buffer across a call to cpp_get_token.
6857
6858         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
6859         * cppfiles.c (redundant_include_p): Use cpp_defined.
6860         * cpphash.c (free_definition): New function.
6861         (delete_macro): Use it.  Update commentary.
6862         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
6863         free_definition.
6864         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
6865         from enum node_type.  Prototype cpp_defined and get_directive_token.
6866         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
6867
6868         * fix-header.c (check_macro_names): Use cpp_defined.
6869         (read_scan_file): Set inhibit_warnings and inhibit_errors in
6870         the options structure.
6871
6872 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6873
6874         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
6875
6876 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
6877
6878         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
6879         rather than die->die_tag.
6880
6881 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6882
6883         * combine.c (make_extraction, force_to_mode): Avoid warning on
6884         mixed-signedness conditionals.
6885         (make_field_assignment, nonzero_bits): Likewise.
6886         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
6887         (store_split_bit_field, extract_split_bit_field): Likewise.
6888         (extract_fixed_bit_field, store_bit_field, 
6889         * expr.c: Change alignment to be unsigned everywhere.
6890         (move_by_pieces, store_constructor_field, store_constructor): 
6891         Alignment parm is unsigned.
6892         (emit_block_move, emit_group_load, emit_group_store): Likewise.
6893         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6894         (do_compare_rtx_and_jump): Likewise.
6895         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
6896         Compare align with GET_MODE_ALIGNMENT.
6897         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
6898         (get_inner_reference): Likewise.
6899         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
6900         (expand_assignment): Local vars for alignment now unsigned.
6901         (store_constructor, store_field, expand_expr, do_jump): Likewise.
6902         (do_compare_and_jump): Likewise.
6903         (store_field): Call new function expr_align.
6904         * expr.h (emit_block_move, emit_group_load, emit_group_store):
6905         Alignment arg now unsigned.
6906         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
6907         (do_compare_rtx_and_jump, store_bit_field): Likewise.
6908         (extract_bit_field): Likewise.
6909         * fold-const.c (add_double): Add cast to eliminate signedness warning.
6910         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
6911         (get_best_mode): Alignment arg is unsigned.
6912         * rtl.h (move_by_pieces): Likewise.
6913         * store-layout.c (maximum_field_alignment, set_alignment):
6914         Now unsigned.
6915         (layout_decl): Alignment arg is now unsigned.
6916         Remove unneeded casts.
6917         (layout_record, layout_union, layout_type): Remove unneeded casts.
6918         Local alignment variables now unsigned.
6919         (get_best_mode): Alignment arg now unsigned.
6920         * tree.c (expr_align): New function.
6921         * tree.h (expr_align): Likewise.
6922         (maximum_field_alignment, set_alignment): Now unsigned.
6923         (get_inner_reference): Alignment argument is now pointer to unsigned.
6924         * varasm.c (assemble_variable): Add cast to eliminate warning.
6925
6926 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
6927
6928         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
6929         then store directly into op0.
6930
6931         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
6932         the CALL_INSN, and emit the note immediately after it.
6933
6934 2000-02-10  Nick Clifton  <nickc@cygnus.com>
6935
6936         * config/arm/thumb.md (epilogue): Include a (return) in the
6937         generated insn, and emit it using emit_jump_insn not
6938         emit_insn. 
6939
6940 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
6941
6942         * function.c (assign_temp): Change zero-sized arrays to size 1.
6943         * integrate.c (expand_inline_function): Do not update
6944         stack_alignment_needed
6945         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
6946         add some sanity checking, remove optimization for function with
6947         zero frame size.
6948
6949 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6950
6951         * flow.c (mark_regs_live_at_end): Delete unused variables.
6952
6953         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
6954
6955         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
6956         in macro FRAME_GROWS_DOWNWARD.
6957
6958         * stmt.c (expand_end_bindings): Delete unused variable.
6959
6960         * unroll.c (iteration_info): Mark parameter `loop' with
6961         ATTRIBUTE_UNUSED.
6962
6963 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6964
6965         * fixinc/server.c (load_data): Return NULL if the marker line is
6966         not found.
6967         (run_shell): If load_data returns NULL, retry the command once, in
6968         a new shell.
6969
6970         * configure: Rebuilt.
6971
6972 2000-02-09  Bruce Korb  <bkorb@gnu.org>
6973
6974         * gcc/fixincludes:  ** DELETED **
6975         * gcc/fixcpp:  ** DELETED **
6976         * gcc/fixinc-nt.sed:  ** DELETED **
6977         * gcc/just-fixinc:  ** DELETED **
6978         * gcc/Makefile.in:  Removed out-dated commentary
6979         * gcc/configure.in: Removed fast-fixincludes disablement.
6980         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
6981
6982 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
6983         * function.c (thread_prologue_and_epilogue_insns): Uncomment
6984         last change.
6985
6986 2000-02-09  Richard Henderson  <rth@cygnus.com>
6987
6988         * jump.c (delete_insn): Don't delete user labels at -O0.
6989
6990 2000-02-09  Robert Lipe  <robertl@sco.com>
6991
6992         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
6993         Don't link with HOST_LIBS. 
6994
6995 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
6996
6997         * configure.in: Correct --help text for --with-dwarf2.
6998         Put tm-dwarf2.h after other tm files, if it's requested.
6999         * configure: Regenerate.
7000         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
7001         defining it.
7002
7003 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7004
7005         * cpplib.h: Provide HASHNODE typedef and forward decl of
7006         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
7007         DEFINITION, struct hashnode, struct macrodef, struct
7008         definition, scan_decls prototype, default defn of
7009         INCLUDE_LEN_FUDGE moved elsewhere.
7010
7011         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
7012         definition, and struct hashnode moved here. Remove the unused
7013         'predefined' field from struct definition.  Replace the 'args'
7014         union with its sole member.  All users updated (cpphash.c).
7015         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
7016         multiple include guard.
7017
7018         * cpphash.c (hashf): Make static; use better algorithm; drop
7019         HASHSIZE parameter; return an unsigned int.
7020         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
7021         used. Calculate HASHSIZE modulus here.
7022         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
7023         here.
7024         (create_definition): Drop PREDEFINITION parameter.
7025         * cpplib.c (do_define): Don't calculate a hash value here.
7026         Don't pass (keyword == NULL) to create_definition.
7027
7028         * scan.h: Prototype scan_decls here.
7029         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
7030         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
7031         callers of cpp_lookup and cpp_install updated.
7032         
7033         * cpphash.c (macarg): Hoist all the flag diddling out of the
7034         function...
7035         (macroexpand): ... and out of the loop that calls macarg.
7036         Skip over the initial paren before macro arguments with
7037         cpp_get_non_space_token; point may be some distance before
7038         that paren.  Abort if it's not there.
7039
7040         * cpplib.c (parse_clear_mark): Delete function.
7041         (parse_set_mark, parse_goto_mark): Make static.
7042         (ACTIVE_MARK_P): New macro.
7043         (skip_block_comment, skip_line_comment): Do not bump the line
7044         if ACTIVE_MARK_P is true.
7045         (cpp_pop_buffer): The buffer to be popped may not have an
7046         active mark.
7047         (cpp_get_token): When looking for the initial paren before
7048         macro arguments, only set a mark in a file buffer, Always
7049         return to that mark before proceeding to call macroexpand or
7050         return a NAME token.
7051
7052         * cpplib.h: Remove prototypes of parse_set_mark,
7053         parse_clear_mark, parse_goto_mark.
7054         (struct cpp_options): Rename 'put_out_comments' to
7055         'discard_comments' and invert its sense.
7056         * cppinit.c, cpphash.c, cpplib.c: All users of
7057         put_out_comments changed to use discard_comments, with
7058         opposite sense.
7059
7060 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
7061
7062         * function.c (thread_prologue_and_epilogue_insns): Don't delete
7063         the edge from a block that both jumps and falls through to the
7064         fallthru block.
7065
7066 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
7067
7068         * config/arm/arm.md (movsi): In PIC mode, make sure that a
7069         constant source address is legitimate.
7070
7071 2000-02-09  Philip Blundell  <pb@futuretv.com>
7072
7073         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
7074         correctly.
7075
7076         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
7077         generating PIC.
7078         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
7079
7080 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
7081
7082         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
7083         ends with a newline and a NUL.  Don't be so clever manipulating
7084         strings.
7085
7086 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
7087
7088         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
7089         not to BIGGEST_ALIGNMENT.
7090
7091 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
7092
7093         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
7094         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
7095         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
7096         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
7097         * frame.c (execute_cfa_insn): Handle 
7098         DW_CFA_GNU_negative_offset_extended.
7099
7100 2000-02-08  Richard Henderson  <rth@cygnus.com>
7101
7102         * flow.c (tidy_fallthru_edges): Split out from ...
7103         (delete_unreachable_blocks): ... here.
7104         (find_basic_blocks): Use it.
7105
7106 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7107
7108         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
7109
7110 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
7111
7112         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
7113         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
7114         (fix-header.o): Don't depend on cpphash.h.
7115
7116         * scan.c (hashstr): New function. 
7117         * scan.h: Prototype it.
7118         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
7119         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
7120         hashstr.  Report hash table statistics.  Add private     
7121         definition of xrealloc.
7122
7123 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7124
7125         * i386.h (TARGET_SWITCHES): Fix typo in option name.
7126
7127 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
7128
7129         * function.c (thread_prologue_and_epilogue_insns): Don't replace
7130         jumps with returns unless they are jumps to the fallthru block.
7131
7132 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
7133
7134         * i386.md (addqi3_cc): Fix contraints.
7135
7136 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7137
7138         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
7139
7140 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
7141
7142         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
7143         carriage return after a macro name.
7144
7145 2000-02-07  Fred Fish  <fnf@be.com>
7146
7147         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
7148         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
7149
7150 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
7151
7152         * cppfiles.c (deps_output): Count spacers in deps_column.
7153
7154 2000-02-07  Neil Booth  <NeilB@earthling.net>
7155
7156         * cppinit.c (initialize_dependency_output): If there is no
7157         suffix, don't try to look for known suffixes.  Use strrchr.
7158         (cpp_start_read): Remove duplicate initialization.
7159
7160 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
7161
7162         * calls.c (compute_argument_block_size): New argument
7163         preferred_stack_boundary.
7164         (expand_call): update cfun->preferred_stack_boundary, update call of
7165         compute_argument_block_size
7166         (emit_library_call): Increate cfun->preferred_stack_boundary
7167         to PREFERRED_STACK_BOUNDARY
7168         (emit_library_call_value): Likewise.
7169         * explow.c (allocate_dynamic_stack_spave): Likewise.
7170         * function.c (prepare_function_start): Set
7171         cfun->preferred_stack_boundary
7172         * function.h (struct function): Add preferred_stack_boundary field.
7173         * integrate.c (expand_inline_function): Update
7174         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
7175         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
7176         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
7177
7178 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
7179
7180         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
7181         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
7182         cpp_pedwarn, cpp_pedwarn_with_line,
7183         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
7184         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
7185         v_cpp_error_with_line, v_cpp_warning_with_line,
7186         cpp_message_from_errno, cpp_perror_with_name): Delete.
7187
7188         * cpperror.c (cpp_print_containing_files): Take starting
7189         buffer as argument.
7190         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
7191         (v_cpp_message): Now called directly by all entry points.
7192         Remove -1 case.
7193         (cpp_pfatal_with_name, cpp_message): Delete.
7194         (cpp_notice_from_errno, cpp_ice): New functions.
7195         (cpp_notice): Is now for reporting error conditions, just
7196         without an associated file.
7197         (cpp_error, cpp_error_with_line): Don't do anything if
7198         opts->inhibit_errors is on.
7199         (cpp_pedwarn_with_file_and_line): Take column argument also.
7200
7201         * cpplib.h: Update prototypes of exported functions.
7202         (struct cpp_options): Add inhibit_errors.
7203
7204         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
7205         non-error messages.  Include intl.h.
7206
7207         * cppinit.c, cppmain.c: Likewise.  Also, use
7208         cpp_notice_from_errno instead of cpp_perror_with_name or
7209         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
7210
7211         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
7212         report internal errors.
7213
7214         * cpplib.c (do_define): Switch bcopy to memcpy.
7215         Give cpp_pedwarn_with_file_and_line a dummy column argument.
7216
7217         * cpplib.c (copy_rest_of_line): Revert previous change: don't
7218         bail out early if we hit a line comment.
7219
7220 2000-02-06  Richard Henderson  <rth@cygnus.com>
7221
7222         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
7223         * basic-block.h: Declare them.
7224         * emit-rtl.h (active_insn_p): New.
7225         (next_active_insn, prev_active_insn): Use it.
7226         * rtl.h: Declare it.
7227         * function.c (emit_return_into_block): New.
7228         (thread_prologue_and_epilogue_insns): Insert return insns instead
7229         of epilogues when possible.
7230         * jump.c (jump_optimize_1): Remove code to insert a return insn
7231         on the fallthru to the exit block.
7232
7233         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
7234         and for non-empty stack frames.
7235         * i386.md (return): Expand to return-pop as needed.
7236
7237 2000-02-06  Richard Henderson  <rth@cygnus.com>
7238
7239         * simplify-rtx.c (simplify_relational_operation): Canonicalize
7240         constant to op1 for testing.
7241
7242 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7243
7244         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
7245         (fixuns_truncqfqi2): Use it.
7246
7247 2000-02-06  Richard Henderson  <rth@cygnus.com>
7248
7249         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
7250         as a TYPE_LEA insn.
7251
7252         * i386.md (widening and peepholes): Mask the constant instead of
7253         using gen_lowpart.
7254
7255 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7256
7257         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
7258         input pointer before possibly branching off to the backslash
7259         code.
7260         * cpphash.c (macroexpand): Correctly delete \r escapes when
7261         stringifying parameters.
7262         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
7263         if we can; bail out early if we hit a line comment.
7264         (handle_directive): Treat '# 123' in an .S file just like
7265         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
7266         Return 1 for '# not_a_directive'.
7267         (get_directive_token): Pop macro buffers here, so that
7268         cpp_get_token can't sneakily move past a newline.
7269         Add sanity checks. 
7270         (cpp_get_token): goto randomchar if handle_directive returns 0.
7271
7272         * cppalloc.c: Update copyright.
7273         * cpplib.c: Merge all the static function prototypes into one
7274         block.
7275         * cpplib.h: Remove #if 0 block.
7276
7277         * cpperror.c: Remove #ifdef EMACS block.
7278         * cppmain.c: Likewise.
7279         * cpphash.c: Remove #if 0 blocks.
7280         * cppinit.c: Remove #if 0 blocks, and the -lint option.
7281         * cpplib.c: Remove #if 0 blocks and code referencing
7282         pcp_inside_if or for_lint.  Remove duplicate error message.
7283         Fix error messages for #else after #else or #elif.  Reformat.
7284         Remove archaic TODO list.
7285         * cpplib.h: Remove pcp_inside_if and for_lint flags.
7286
7287 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
7288
7289         * i386/osf1elf.h: Add missing backslash to multiline string.
7290
7291 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7292
7293         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
7294
7295 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7296
7297         * Makefile.in (c-common.o): Depend on $(EXPR_H).
7298
7299         * c-common.c: Include expr.h.
7300
7301         * c-pragma.c (mark_align_stack): Add prototype.
7302
7303         * caller-save.c (add_stored_regs): Likewise.
7304
7305         * combine.c (record_promoted_value): Likewise.
7306
7307         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
7308         Likewise.
7309
7310         * cppinit.c (new_pending_define): Likewise.
7311
7312         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
7313
7314         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
7315         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
7316         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
7317         class_scope_p): Likewise.
7318
7319         * dwarf2out.h (dwarf2out_set_demangle_name_func,
7320         dwarf2out_add_library_unit_info): Likewise.
7321
7322         * ggc.h (ggc_page_print_statistics): Likewise.
7323
7324         * haifa-sched.c (propagate_deps): Likewise.
7325
7326         * reg-stack.c (next_flags_user, record_label_references): Likewise.
7327
7328         * rtl.h (set_stack_check_libfunc): Likewise.
7329
7330         * toplev.h (set_fatal_function): Likewise.
7331
7332         * toplev.c (set_fatal_function): Delete prototype.
7333         
7334         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
7335         
7336 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
7337
7338         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
7339         (FUNC_END): Likewise.
7340
7341 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7342
7343         * caller-save.c: Include tm_p.h.
7344
7345 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7346
7347         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
7348
7349 2000-02-04  Neil Booth  <NeilB@earthling.net>
7350
7351         * cccp.c (main): Check 'dir' for a NULL pointer before passing
7352         it to strcmp.
7353
7354 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
7355
7356         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
7357         * genflags.c: Use the max_operand_1 logic from genemit.c to
7358         calculate how many arguments gen_insn prototypes have.  Remove
7359         NO_MD_PROTOTYPES ifdefs from the generated file.
7360         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
7361         file.  Cast gen_insn initializers to insn_gen_fn.
7362         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
7363         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
7364
7365 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7366
7367         * fixinc/Makefile.in (HDR): Add machname.h.
7368         (clean): Likewise.
7369
7370 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7371
7372         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
7373         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
7374         (c4x_cpu_version): Ditto.
7375         * config/c4x/c4x-protos.h: ... here.
7376
7377 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
7378
7379         * dwarf2out.c (add_abstract_origin_attribute): Don't call
7380         gen_abstract_function on our context if we're a nested function.
7381
7382 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7383
7384         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
7385         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
7386
7387 2000-02-04  Bruce Korb  <bkorb@gnu.org>
7388
7389         * fixinc/genfixes(machname.h):
7390         Move the functionality from gen-machine.h into this file.
7391         UNdef MN_NAME_PAT if there are no names to change.
7392         Also, be a little kinder when AutoGen is not present.
7393
7394         * fixinc/Makefile.in(machname.h):
7395         Change the generation rule to use genfixes.
7396
7397         * fixinc/fixfixes.c(machine_name):
7398         machine_name_fix's functionality now dependent upon whether
7399         MN_NAME_PAT is defined.
7400
7401         * fixinc/fixtests.c(machine_name):
7402         ditto.
7403
7404         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
7405         of MN_NAME_PAT.
7406
7407         * fixinc/fixlib.h(mn_get_regexps):
7408         ditto
7409
7410         * fixinc/gen-machine.h: DELETED
7411
7412 2000-02-04  Jan Hubicka  <jh@suse.cz>
7413             Richard Henderson  <rth@cygnus.com>
7414
7415         * i386.c (SAVE_REGS_FIRST): Remove.
7416         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
7417         (ix86_compute_frame_size): Likewise.
7418         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
7419         (ix86_emit_restore_regs): Remove.
7420         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
7421         when a frame pointer is in use.
7422         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
7423         instead of pop to restore a register when profitable; emit leave
7424         when profitable.
7425         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
7426         as a TYPE_LEA insn.
7427         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
7428         * i386.md (prologue_allocate_stack): Remove.
7429         (epilogue_deallocate_stack): Remove.
7430         (pro_epilogue_adjust_stack): New.
7431
7432 2000-02-04  Richard Henderson  <rth@cygnus.com>
7433
7434         * function.c (diddle_return_value): Rework to use a callback function.
7435         Use current_function_return_rtx if it's been set up.
7436         (do_clobber_return_reg, clobber_return_register): New.
7437         (do_use_return_reg, use_return_register): New.
7438         (expand_function_end): Use them.
7439         * stmt.c (expand_null_return): Likewise.
7440         * function.h: Declare them.
7441         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
7442         (mark_reg): Change arguments as appropriate for callback.
7443         * integrate.c (expand_inline_function): Revert 19 Jan change.
7444
7445 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7446
7447         * tm.texi (Values in Registers): Fix typo: "fo" "for".
7448         (Misc): Say the scheduler, not the Haifa scheduler.
7449
7450 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
7451
7452         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
7453         when in_mem is set.  Update all callers.
7454
7455 2000-02-04  Richard Henderson  <rth@cygnus.com>
7456
7457         * i386/openbsd.h (INT_ASM_OP): Define.
7458
7459 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7460
7461         * tm.texi: Fix various typos.
7462
7463 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
7464
7465         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
7466         (MD_STARTFILE_PREFIX_1): New macro.
7467
7468 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
7469
7470         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
7471         destination when needed.
7472         (strmovsi, strsetsi): New expander.
7473         (strmovsi_1, strsetsi_1): New pattern.
7474         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
7475         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
7476         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
7477         * invoke.texi (align-stringops, inline-all-stringops): Document.
7478
7479 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
7480
7481         * i386/netbsd.h (INT_ASM_OP): Define.
7482
7483 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
7484
7485         * cpplib.h (cpp_reader): Add new flag, no_directives.
7486         * cpphash.c (macarg): Set it.
7487         * cpplib.c (handle_directive): If no_directives is on and we
7488         find a directive, issue an error and discard the line.
7489
7490 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
7491
7492         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
7493         FP constants.  Add ! TARGET_FPU check for FP constants.
7494
7495 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
7496         
7497         * flow.c (find_basic_blocks): Don't kill label_value_list
7498         here.
7499         (cleanup_cfg): Kill it here.
7500
7501 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7502
7503         * expr.c (store_field): Ensure ALIGN is no stricter than the
7504         alignment of EXP.
7505
7506 2000-02-02  Richard Henderson  <rth@cygnus.com>
7507
7508         * jump.c (delete_insn): Partially revert 19 Jan change; 
7509         don't convert unused code labels to notes at -O0.
7510
7511 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7512
7513         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
7514         split_all_insns to recreate REG_LABEL notes for flow2 pass.
7515
7516 2000-02-01  Richard Henderson  <rth@cygnus.com>
7517
7518         * i386.c (general_no_elim_operand): New.
7519         (nonmemory_no_elim_operand): New.
7520         (ix86_expand_move): Copy eliminable operands before a push.
7521         * i386-protos.h: Declare new functions.
7522         * i386.h (CAN_ELIMINATE): Simplify.
7523         (PREDICATE_CODES): Update.
7524         * i386.md (push insns): Don't allow eliminable register operands.
7525
7526 2000-02-01  Richard Henderson  <rth@cygnus.com>
7527
7528         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
7529         replace BLKmode with DECL_RTL's mode.
7530
7531 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
7532
7533         * frame.c (find_fde): Convert for loop to do-while so compiler
7534         sees it's always executed at least once.
7535         * libgcc2.c (BBINBUFSIZE): Kill.
7536         (__bb_init_prg): Use fgets.
7537         (__bb_exit_trace_func): Don't paste strings.
7538         * unroll.c (unroll_loop): Initialize unroll_type, not
7539         unroll_number, and tweak logic to match.
7540
7541         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
7542         all failure paths.
7543         (ix86_flags_dependant): Likewise.  Disentangle control flow.
7544         (ix86_sched_reorder): Break guts out to
7545         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
7546         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
7547         any possible use.
7548
7549         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
7550         use string concatenation.  Don't save and restore esi.
7551
7552         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
7553         (machname.h): Remove script to separate file.  Use two-step
7554         sequence so target is not created if script fails.
7555         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
7556         identifiers are defined.
7557         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
7558         an empty string, machine_name doesn't need to do anything at
7559         all.
7560         (is_cxx_header): Add more cases to regexp.
7561         * fixinc/fixlib.h: Update prototype.
7562         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
7563         mn_get_regexps.
7564         * fixinc/fixincl.c: Define NO_BOGOSITY.
7565
7566         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
7567         (hp_sysfile): Add missing comma.
7568         (math_exception): Put the wrapper ifdefs at the beginning and
7569         the end of the file.
7570         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
7571
7572 2000-02-01  Richard Henderson  <rth@cygnus.com>
7573
7574         * sparc.c (fp_zero_operand): Turn into a normal predicate.
7575         Use CONST0_RTX.  Update all callers.
7576         * sparc.h, sparc-protos.h: Update accordingly.
7577         * sparc.md (fp mov insns): Use fp_zero_operand directly
7578         where applicable.
7579
7580 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7581
7582         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
7583         example.
7584
7585 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7586
7587         * Makefile.in (specs.ready): New target.
7588         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
7589
7590 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7591
7592         * fixinc.irix: Use unique filenames for writing into /tmp,
7593         * fixinc.ptx: Likewise.
7594         * fixinc.sco: Likewise.
7595         * fixinc.svr4: Likewise.
7596         * fixinc.winnt: Likewise.
7597
7598 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7599
7600         * tsystem.h: New file.
7601
7602         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
7603         s-crtS): Depend on tsystem.h.
7604
7605         * crtstuff.c: Include tsystem.h.
7606         * frame.c: Likewise.
7607         * libgcc2.c: Likewise.
7608
7609 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
7610
7611         * builtins.c (expand_builtin_memset): Expand for variable sized
7612         lengths too.
7613
7614 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
7615
7616         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
7617         on ABI.
7618
7619 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
7620
7621         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
7622
7623         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
7624
7625 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
7626
7627         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
7628         case 3->2 combining (combining with splitting) in which 2 is CC0
7629         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
7630         checked at the begining of the function with the aid of calling 
7631         function 'can_combine_p'. 
7632
7633 2000-01-31  Dave Brolley  <brolley@redhat.com>
7634
7635         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
7636
7637 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
7638
7639         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
7640         new label.
7641
7642 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7643
7644         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
7645         
7646         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
7647         PROTO -> PARAMS.
7648
7649 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
7650
7651         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
7652         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
7653         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
7654         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
7655         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
7656         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
7657         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
7658         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
7659         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
7660         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
7661         
7662         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
7663         Add %(cpp_cpu) to CPP_SPEC.
7664
7665         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
7666         Add %(cc1_cpu) to CC1_SPEC.
7667
7668 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
7669
7670         * c-decl.c (c_decode_option): Accept optional numeric argument to
7671         -Wformat and set warn_format.
7672         * c-common.c: Don't emit warning about non-constant printf format
7673         string unless warn_format > 1.
7674
7675 2000-01-30  Richard Henderson  <rth@cygnus.com>
7676
7677         * alpha.md (return_internal): Allow after reload only.
7678
7679 2000-01-30  Richard Henderson  <rth@cygnus.com>
7680
7681         * i386.c (ix86_compute_frame_size): Omit padding1 if the
7682         local frame size is zero.
7683
7684 2000-01-30  Richard Henderson  <rth@cygnus.com>
7685
7686         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
7687         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
7688         * alpha.md (return): Turn into an expander.
7689         (return_internal): Don't use $26.
7690         (epilogue): Emit the return insn.
7691
7692 2000-01-30  Richard Henderson  <rth@cygnus.com>
7693
7694         * alpha.md (negtf2, abstf2): Fix word order thinko.
7695         (extendsftf2): New.
7696         (trunctfsf2): Avoid intermediate rounding errors.
7697
7698 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
7699
7700         * cppfiles.c (find_position): Drop 'colp' argument, return the
7701         new line base.
7702         (read_and_prescan): Adjust to match.  Don't ever manipulate
7703         line or line_base except via find_position.
7704
7705 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
7706
7707         * c-parse.in: Apply Ulrich's changes from c-parse.y.
7708         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
7709         Regenerate.
7710
7711 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
7712
7713         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
7714         just print "<command line>".  If 'filename' is null or an
7715         empty string, print "<stdin>" for the filename.
7716         * cpplib.c (do_define): Don't print the 'location of the
7717         previous definition' message if we're still parsing the
7718         command line.
7719         (cpp_pedwarn_with_file_and_line): Always call
7720         cpp_file_line_for_message.
7721
7722 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
7723
7724         * flow.c (mark_regs_live_at_end): Fix typo.
7725
7726 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
7727
7728         * c-common.c: Adjust variable names, comments, help strings to c99.
7729         * c-lex.c: Likewise.
7730         * c-parse.y: Likewise.
7731         * c-tree.h: Likewise.
7732         * cccp.c: Likewise.
7733         * cpplib.h: Likewise.
7734         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
7735         * cppinit.c: Likewise.
7736
7737 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7738
7739         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
7740         * c4x.c: Define the optab rtx values.
7741         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
7742         (c4x_emit_libcall): Use new optab rtx values.
7743         (c4x_emit_libcall3): Likewise.
7744         (c4x_emit_libcall_mulhi): Likewise.
7745         * c4x-protos.h: Add prototypes for optab rtx values and change
7746         prototypes for above c4x_emit_libcall functions.
7747
7748 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7749
7750         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
7751         syntax is used.
7752         (c4x_function_prologue): Use regnames intead of float_reg_names when
7753         TI syntax is used.
7754         (c4x_function_epilogue): Likewise.
7755         (c4x_print_operand): Likewise.
7756         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
7757         * c4x.md (set_high): Disable for TARGET_TI.
7758
7759 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7760
7761         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
7762         of framepointer + constant to ADDR_REGS class.
7763         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
7764         * c4x.c (std_or_reg_operand): New function.
7765         * c4x-protos.h (std_or_reg_operand): Prototype it.
7766
7767 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7768
7769         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
7770                 object names as libgcc2.c.
7771         * libgcc.S: Use newly defined names.
7772
7773 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
7774         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
7775         function.
7776         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
7777         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
7778         (FLOW_LOOP_LAST_BLOCK): Likewise.
7779
7780 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7781
7782         * basic-block.h (struct loop): New fields 'first' and 'last'.
7783         * flow.c (flow_loops_find): Compute loop->first and loop->last.
7784         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
7785         and loop->last to check for NOTE_INSN_LOOP_END.
7786
7787 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
7788
7789         * predict.c (estimate_probability): Use the new FIRST and LAST fields
7790         of the loop descriptor rather than HEADER and LATCH. Also added
7791         missing break statements as well making some coding style modifications
7792         as suggested by Michael Hayes.
7793
7794 2000-01-28  Richard Henderson  <rth@cygnus.com>
7795
7796         * flow.c (find_basic_blocks): Remove do_cleanup argument.
7797         Break out that code ...
7798         (cleanup_cfg): ... here.
7799         (commit_one_edge_insertion): Detect a return instruction being
7800         emitted to an edge.  Emit a barrier following; clear fallthru.
7801         (commit_edge_insertions): Verify CFG consistency.
7802         * function.c (expand_function_start): Kill unused variable.
7803         (expand_function_end): Likewise.
7804         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
7805         to insert the epilogue.
7806
7807         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
7808         (delete_null_pointer_checks): Likewise.
7809         * output.h: Likewise.
7810         * reg-stack.c (reg_to_stack): Likewise.
7811         * toplev.c (rest_of_compilation): Likewise.  Run
7812         thread_prologue_and_epilogue_insns after rebuilding the CFG.
7813
7814 2000-01-28  Richard Henderson  <rth@cygnus.com>
7815
7816         * Makefile.in (flow.o): Revert 24 Jan change.
7817         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
7818         FUNCTION_VALUE result to DECL_RESULT's mode.
7819
7820         * haifa-sched.c (schedule_insns): Don't recompute reg info
7821         after reload.
7822
7823 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
7824
7825         * configure.in: Make --enable-cpplib the default.
7826         * configure: Regenerate.
7827         * gcc.dg/990119-1.c: No longer expected to fail.
7828
7829 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
7830
7831         * jump.c (jump_optimize_1): Delete an optimization that is also done
7832         by merge_blocks in flow.
7833
7834 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7835
7836         * diagnostic.c (build_message_string, output_printf,
7837         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
7838         (build_location_prefix): Fix non-literal format string.
7839
7840 2000-01-27  Richard Henderson  <rth@cygnus.com>
7841
7842         * alpha.md (trunctfsf2): New.
7843
7844 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
7845
7846         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
7847
7848 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
7849
7850         * cppinit.c (cpp_handle_option): Recognize C++ comments under
7851         -std=gnu89.
7852         * cpplib.c (skip_block_comment, skip_line_comment): Split code
7853         out of...
7854         (skip_comment) ... here.  Permit C++ comments in system
7855         headers always.  Warn about C++ comments in user code under
7856         -std=gnu89 -pedantic.
7857         (copy_comment): Use skip_comment.
7858         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
7859         return EOF.
7860         (consider_directive_while_skipping, do_else, do_endif): Call
7861         validate_else unconditionally.
7862         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
7863         text after the conditional in a system header.
7864         * cpplib.h (struct cpp_buffer): Add flag
7865         warned_cplusplus_comments.
7866
7867 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
7868
7869         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
7870         Use unshare_all_rtl_1.
7871         (unshare_all_rtl_again): New function.
7872         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
7873
7874         * function.c (purge_addressof_1): Use unshare_all_rtl_again
7875         rather than resetting the 'used' flags ourself.
7876
7877         * toplev.c (rest_of_compilation): Add current_function_decl
7878         to the unshare_all_rtl call.
7879         * tree.h: Prototype unshare_all_rtl.
7880         * rtl.h: Prototype unshare_all_rtl_again here.
7881
7882 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
7883
7884         * genoutput.c (output_prologue): Include ggc.h in generated
7885         files.
7886         * Makefile.in (insn-output.o): Depends on ggc.h.
7887
7888 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
7889             Hans-Peter Nilsson  <hp@bitrange.com>
7890
7891         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
7892         Remove redundant include of xm-ns32k.h.
7893         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
7894         Remove redundant include of xm-ns32k.h.
7895         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
7896         Remove redundant include of xm-ns32k.h.
7897         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
7898
7899         * ns32k/ns32k.h: Update comment on multiply-add instructions.
7900         (TARGET_SWITCHES): Add documentation strings.
7901         (DWARF_FRAME_REGNUM): Override default definition.
7902         (REG_CLASS_CONTENTS): Add comments.
7903         (SUBSET_P): Format to reduce line length.
7904         (SMALL_REGISTER_CLASSES): Make a run time option.
7905         (GO_IF_NONINDEXED_ADDRESS): Reformat.
7906         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
7907         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
7908         (regclass_map): fix typo in comment.
7909         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
7910         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
7911         (trace, reg_or_mem_operand): Delete, unused function.
7912         (calc_address_cost): Small offsets are cheaper than large ones.
7913         (expand_block_move): Generate more efficient code when bytes is a
7914         known at compile time.
7915         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
7916         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
7917         instead of reg_or_mem_operand.
7918
7919         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
7920         not general_operand.  Similarly use "=rm" or stricter, not "=g".
7921         For input operands, use stricter constraints than "g" if not
7922         general_operand.  Similarly use stricter predicate than
7923         "general_operand" when stricter constraints than "g" are present,
7924         except for matching constraints.
7925         (movstrsi): Use "memory_operand" for operands 0 and 1.
7926         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
7927         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
7928         not reg_or_mem_operand.
7929         (udivmoddisi4): Ditto.
7930         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
7931         Use nonimmediate_operand for operand 3, not register_operand.
7932         (udivmoddiqi4_internal): Use register_operand for operand 1, not
7933         reg_or_mem_operand.
7934
7935 2000-01-27  Fred Fish  <fnf@be.com>
7936
7937         * gthr-posix.h: Fix typo; compatibily -> compatibility.
7938         * gthr-single.h: Likewise.
7939         * gthr-solaris.h: Likewise.
7940         * gthr-vxworks.h: Likewise.
7941         * gthr-win32.h: Likewise.
7942         * gthr.h: Likewise.
7943
7944 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
7945
7946         * cppinit.c: Add " (cpplib)" to end of string printed by
7947         -v / --version.
7948
7949 2000-01-27  Richard Henderson  <rth@cygnus.com>
7950
7951         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
7952         testing for a signed comparison.
7953         (alpha_emit_floatuns): New.
7954         * alpha-protos.h: Declare it.
7955         * alpha.md (floatunsdisf2, floatunsdidf2): New.
7956         (extendsfdf2): Tidy.
7957
7958 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
7959
7960         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
7961         no -g option specifying debugging format, default to -gstabs+.
7962
7963 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
7964
7965         * calls.c (special_function_p): New argument fork_or_exec.
7966         (expand_call): When profile_arc_flag is set and the function
7967         is in the fork_or_exec group, call __bb_fork_func first.
7968         * libgcc2.c, _bb module (__bb_fork_func): New function.
7969         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
7970         output file.
7971         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
7972         * tree.h (special_function_p): Update prototype.
7973
7974 2000-01-26  Richard Henderson  <rth@cygnus.com>
7975
7976         * alpha.c (alpha_split_tfmode_pair): New.
7977         * alpha-protos.h: Declare it.
7978         * alpha.md (abstf2, negtf2): New.
7979         (movtf insn): Add input G constraint.
7980         (movtf splitter): Use alpha_split_tfmode_pair.
7981
7982 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7983
7984         * i386/cygwin.h: PROTO -> PARAMS.
7985
7986 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
7987
7988         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
7989         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
7990         using _Qp_cmp/_Q_cmp and testing the return value.
7991         (print_operand): Call reverse_condition_maybe_unordered if
7992         we are handling CCFPmode or CCFPEmode.
7993         Handle ORDERED, UN* and LTGT comparisons.
7994         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
7995         if not TARGET_HARD_QUAD.
7996         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
7997         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
7998         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
7999         Adjust gen_b* calls so that they reflect return comparison of
8000         sparc_emit_float_lib_cmp.
8001
8002 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8003
8004         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
8005         incoming operands array is large enough for one more operand.
8006         (alpha_emit_xfloating_arith): Likewise.
8007
8008 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8009
8010         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
8011         file with one line and no trailing newline.
8012         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
8013         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
8014         checking if the match is on the line.
8015         * fixinc/gnu-regex.c: Provide regerror not __regerror.
8016
8017 2000-01-25  Richard Henderson  <rth@cygnus.com>
8018
8019         * sparc.c (output_cbranch): Fix accidental squashing of the
8020         fp branch pre-delay nop.
8021
8022 2000-01-25  Richard Henderson  <rth@cygnus.com>
8023
8024         * tree.def (UNNE_EXPR): Remove.
8025         * c-typeck.c (build_binary_op): Don't handle it.
8026         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
8027
8028         * rtl.def (UNNE): Remove.
8029         (LTGT): Add.
8030         * jump.c (reverse_condition): Update accordingly.
8031         (swap_condition): Likewise.
8032         (comparison_dominates_p): Handle unordered comparisons.
8033         (reverse_condition_maybe_unordered): New.
8034         * rtl.h (reverse_condition_maybe_unordered): Declare.
8035
8036         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
8037         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
8038         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
8039         * sparc.md (bltgt): New.
8040
8041 2000-01-25  Nick Clifton  <nickc@redhat.com>
8042
8043         * emit-rtl.c (emit_insn): Only check machine class insns for
8044         improper emission of a RETURN.
8045
8046 2000-01-25  Richard Henderson  <rth@cygnus.com>
8047
8048         * Makefile.in (flow.o): Depend on $(EXPR_H).
8049         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
8050         duplicate the structure of diddle_return_value for keeping regs live.
8051
8052 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8053
8054         * loop.c (current_loop_info): Delete.
8055         (consec_sets_invariant_p): Add loop argument, update callers.
8056         (get_condition_for_loop): Likewise.
8057         (count_nonfixed_reads, update_giv_derive): Likewise.
8058         (simplify_giv_expr, general_induction_var): Likewise.
8059         (consec_sets_giv, recombine_givs): Likewise.
8060         (move_movables): Delete loop_start and loop_end arguments,
8061         add loop argument, and update callers.
8062         (find_mem_givs, check_final_value): Likewise.
8063         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
8064         (loop_invariant_p): Rename from invariant_p, add loop argument, and
8065         update callers.
8066         (basic_induction_var): Add loop argument, delete loop_level argument,
8067         and update callers.
8068         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
8069         add loop argument, and update callers.
8070         (find_splittable_regs, find_splittable_givs): Likewise.
8071         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
8072         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
8073         (biv_total_increment): Delete loop_start and loop_end arguments;
8074         update callers.
8075         (precondition_loop_p): Delete loop_start and loop_info arguments;
8076         update callers.
8077         * loop.h (get_condition_for_loop): Add loop argument.
8078         (biv_total_increment): Delete loop_start and loop_end arguments.
8079         (precondition_loop_p): Delete loop_start and loop_info arguments;
8080         add loop argument.
8081         (final_biv_value): Delete loop_start and loop_end arguments;
8082         add loop argument.
8083         (final_giv_value, back_branch_in_range_p): Likewise.
8084
8085 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
8086
8087         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
8088
8089 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
8090
8091         * Makefile.in (c-gperf.h) : Change the "See" pointer to
8092         point to the new "generated_files" doc.
8093
8094 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
8095
8096         * config/fp-bit.c (_unord_f2): Fix typo.
8097
8098 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8099
8100         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
8101         c-typeck.c, objc/objc-act.c: Remove all references to obstack
8102         functions obsoleted by GC, such as push_obstacks_nochange,
8103         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
8104         and code which existed only to decide whether or not to call
8105         them.  Remove now-unused NESTED argument from start_function;
8106         all callers changed.  Do not change behavior based on ggc_p.
8107         The use of the ixp_obstack in c-iterate.c and the util_obstack
8108         in objc/objc-act.c remain; these are not obsoleted by garbage
8109         collection.
8110         * c-tree.h: Update prototype for start_function.
8111
8112         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
8113
8114 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
8115
8116         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
8117         mips16.
8118
8119 2000-01-25  Richard Henderson  <rth@cygnus.com>
8120
8121         * sparc-protos.h (select_cc_mode): Declare.
8122         * sparc.c (select_cc_mode): New.  Handle unordered compares.
8123         (output_cbranch): Always reverse via code change.  Handle
8124         unordered compares.  Factor tests and string updates.
8125         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
8126         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
8127         * sparc.md (bunordered, bordered): New.
8128         (bungt, bunlt, buneq, bunge, bunle): New.
8129
8130 2000-01-25  Richard Henderson  <rth@cygnus.com>
8131
8132         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
8133         * ggc-common.c (ggc_add_rtx_varray_root): New.
8134         (ggc_mark_rtx_varray): New.
8135         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
8136         functions down below ggc_mark_foo.
8137         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
8138
8139 2000-01-25  Richard Henderson  <rth@cygnus.com>
8140
8141         * alpha.c (secondary_reload_class): Don't allocate a secondary
8142         for integral mode memories into FLOAT_REGS.  Rearrange the more
8143         complicated memory expression inward.
8144
8145 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
8146
8147         * inclhack.def: Fixes to play nicer with FreeBSD, and
8148         corrections to comments.
8149         (cxx_unready): Add select expression.
8150         (irix_sockaddr): Add bypass expression.
8151         (machine_ansi_h_va_list): New fix.
8152         (stdio_va_list): No need to edit _BSD_VA_LIST_.
8153         Split out addition of "#include <stdarg.h>" to...
8154         (stdio_stdarg_h): ... here.
8155         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
8156         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
8157         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
8158         size_t.
8159         (ultrix_ifdef): Tighten up select expression.
8160
8161         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
8162         re_ct and max_mach to avoid use of shell.  Make printed names
8163         match names in inclhack.def.  Use static copyright date.
8164         Don't count c_test and test expressions as requiring regex_t
8165         slots.  Add some commentary.
8166         * inclhack.tpl: Do not include the 'This script contains N
8167         fixup scripts' line if PROGRAM is defined.  Use static
8168         copyright date.
8169
8170 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
8171
8172         * dwarf2out.c: include "varray.h", not dyn-string.h.
8173         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
8174         (addr_const_to_string, addr_to_string): Lose.
8175         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
8176         (struct dw_val_struct): val_addr is now an rtx.
8177         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
8178         (used_rtx_varray): New varray.
8179         (dwarf2out_init): Initialize it.
8180         (save_rtx): New fn.
8181         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
8182         addr_to_string.
8183         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
8184         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
8185         * Makefile.in (dwarf2out.o): Update dependencies.
8186
8187 2000-01-24  Richard Henderson  <rth@cygnus.com>
8188
8189         * i386.c (i386_dwarf_output_addr_const): New.
8190         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
8191
8192         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
8193         if defined.
8194         * dwarfout.c (output_mem_loc_descriptor): Likewise.
8195         * i386.c (i386_simplify_dwarf_addr): New.
8196         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
8197
8198 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
8199
8200         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
8201         TYPE_STUB_DECL is NULL.
8202
8203 2000-01-24  Richard Henderson  <rth@cygnus.com>
8204
8205         * builtins.c (expand_tree_builtin): Move ...
8206         * c-common.c (expand_tree_builtin): ... here.
8207
8208 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8209
8210         * loop.h (LOOP_INFO): New accessor macro.
8211         * basic-block.h (struct loop): Rename field `info' to `aux'.
8212         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
8213         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
8214         * unroll.c (loop_iterations, unroll_loop): Likewise.
8215
8216 2000-01-24  Christopher Faylor <cgf@cygnus.com>
8217
8218         * config/i386/t-cygwin: Accomodate new winsup directory layout
8219         when searching for include files.
8220
8221 2000-01-24  Richard Henderson  <rth@cygnus.com>
8222
8223         * rtl.def: Add unordered fp comparisions.
8224         * tree.def: Likewise.
8225         * tree.h: Add ISO C 9x unordered fp comparision builtins.
8226
8227         * builtins.c (expand_tree_builtin): New function.
8228         * c-typeck.c (build_function_call): Use it.
8229         (build_binary_op): Support unordered compares.
8230         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
8231
8232         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
8233         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
8234         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
8235         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
8236         * jump.c (reverse_condition): Don't abort for UNLE etc, but
8237         return UNKNOWN.
8238         (swap_condition): Handle unordered compares.
8239         (thread_jumps): Check can_reverse before reversing.
8240         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
8241         reversed for FP.
8242
8243         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
8244         setcc is present before acking for cmp_optab.  Update all callers.
8245         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
8246         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
8247         * expr.c (expand_expr): Likewise.  Support unordered compares.
8248         (do_jump, do_store_flag): Likewise.
8249         * expr.h (enum libfunc_index): Add unordered compares.
8250
8251         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
8252         (DPBIT_FUNCS): Add _unord_df.
8253         * config/fp-bit.c (_unord_f2): New.
8254         * fp-test.c (main): Try unordered compare builtins.
8255
8256         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
8257         * alpha.c (alpha_comparison_operator): Check mode properly.
8258         (alpha_swapped_comparison_operator): Likewise.
8259         (signed_comparison_operator): Likewise.
8260         (alpha_fp_comparison_operator): New.
8261         (alpha_emit_conditional_branch): Handle unordered compares.
8262         * alpha.h (PREDICATE_CODES): Update.
8263         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
8264         (bunordered, bordered): New.
8265
8266 2000-01-24  Richard Henderson  <rth@cygnus.com>
8267
8268         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
8269         * alpha.md (movtf): New expander, insn, and splitter.
8270
8271 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
8272
8273         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8274         dead registers.
8275
8276 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
8277
8278         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
8279         (FIXED_REGISTERS, CALL_USED_REGISTERS,
8280          REG_ALLOC_ORDER): Add frame pointer
8281         (FRAME_POINTER_REGNUM): Set to 20
8282         (HARD_FRAME_POINTER_REGNUM): New macro.
8283         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
8284         to HARD_FRAME_POINTER.
8285         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
8286         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
8287         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
8288         (HI_REGISTER_NAMES): Add "frame".
8289         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
8290         (debug_reg): Handle FRAME_POINTER_REGNUM.
8291         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
8292         GENERAL_REGS and INDEX_REGS.
8293         * i386.c (SAVED_REGS_FIRST): new macro.
8294         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
8295         (ix86_decompose_address, memory_address_length): Likewise.
8296         (regclass_map): Add frame pointer.
8297         (call_insn_operand): Handle frame_pointer_rtx.
8298         (reg_no_sp_operand): Likewise.
8299         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
8300         (print_operand, legitimize_pic_address): Fix formating.
8301         (ix86_compute_frame_size): Make static, update prototype, new
8302         parameters padding1, padding2, use ix86_nsaved_regs, use
8303         stack_alignment_needed.
8304         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
8305         to HARD_FRAME_POINTER_REGNUM conversions.
8306         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
8307         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
8308         (print_reg): Abort on FRAME_POINTER_REGNUM
8309
8310 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
8311
8312         * i386.h (PREDICATE_CODES): Add aligned_operand.
8313         * i386.c (aligned_operand): New function.
8314         (ix86_aligned_p): Kill.
8315         * i386.md (movhi_1): Emit mov for aligned operands.
8316         (promoting peep2s): Use aligned_operand.
8317
8318 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
8319
8320         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
8321         expression to allow underscores in macro names.
8322         (fix_char_macro_defines): Increment scanning pointer.
8323
8324 2000-01-23  Richard Henderson  <rth@cygnus.com>
8325
8326         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
8327         * alpha/osf5.h: New file.
8328         * configure.in (alpha-*-osf5): Add it to tm_file.
8329
8330         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
8331
8332         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
8333         (alpha_emit_xfloating_cvt, function_arg): Declare.
8334         * alpha.c (alpha_emit_conditional_branch): Call
8335         alpha_emit_xfloating_compare for TFmode compares.
8336         (alpha_lookup_xfloating_lib_func): New.
8337         (alpha_compute_xfloating_mode_arg): New.
8338         (alpha_emit_xfloating_libcall): New.
8339         (alpha_emit_xfloating_arith): New.
8340         (alpha_emit_xfloating_compare): New.
8341         (alpha_emit_xfloating_cvt): New.
8342         (print_operand): Add default abort case.
8343         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
8344         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
8345         (BIGGEST_ALIGNMENT): Increase to 128 bits.
8346         (RETURN_IN_MEMORY): True for TF/TCmode.
8347         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
8348         (FUNCTION_ARG): Move to function_arg.
8349         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
8350         (ASM_OUTPUT_LONG_DOUBLE): New.
8351         (ASM_OUTPUT_DOUBLE): Always output bits.
8352         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
8353         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
8354         (extenddftf2, trunctfdf2): New.
8355
8356 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8357
8358         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
8359         * config/sparc/sol2.h: ... here.
8360
8361 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8362
8363         * basic-block.h (struct loops): New field `levels'.
8364         * flow.c (flow_loops_level_compute): Traverse all outer loops.
8365         (flow_loop_level_compute): Initialise level to 1.
8366         (flow_loops_find): Set loops->levels.
8367         (flow_loops_dump): Print loops->levels.
8368
8369 2000-01-23  Richard Henderson  <rth@cygnus.com>
8370
8371         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
8372         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
8373
8374 2000-01-23  Richard Henderson  <rth@cygnus.com>
8375
8376         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
8377         * i386.h (DBX_REGISTER_NUMBER): Use them.
8378         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
8379         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
8380         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
8381         * i386/sequent.h: Kill incorrect comment.
8382
8383 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
8384
8385         * ggc-page.c (struct page_entry): Make `context_depth' an
8386         `unsigned short'.
8387         (struct globals): Likewise.
8388
8389 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
8390
8391         * loop.c (check_dbra_loop): When checking a loop for
8392         reversability, check the source of any stores to ensure
8393         they don't depend on an initial value.
8394
8395 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8396
8397         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
8398
8399 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
8400
8401         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
8402         'pz_scan' into scope of entire function.  Only affects
8403         compiles with -DDEBUG.
8404
8405 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
8406
8407         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
8408         section naming to that prior to 2000-01-07 patch.
8409         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
8410         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
8411         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
8412         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
8413         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
8414
8415 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
8416
8417         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
8418         constant.
8419
8420 2000-01-21  Jim Wilson  <wilson@cygnus.com>
8421
8422         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
8423         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
8424
8425 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
8426
8427         * cpphash.c (change_newlines): Delete function.
8428         (struct argdata): Delete 'newlines' and 'use_count' fields.
8429         (macroexpand): Remove code referencing those fields.
8430
8431 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8432
8433         * loop.c (loops_info): New variable.
8434         (loop_optimize): Allocate loops->array and free it on exit.
8435         Allocate memory for loops_info and assign to each loop,
8436         replacing alloca.
8437         (find_and_verify_loops): Do not allocate loops->array.
8438
8439 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
8440
8441         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
8442
8443 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
8444
8445         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
8446         pseudos if expanded after first flow.
8447         (movdi_pic_label_ref): Likewise.
8448
8449 2000-01-20  Richard Henderson  <rth@cygnus.com>
8450
8451         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
8452
8453 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
8454
8455         * Makefile.in (fixinc.sh): Depend on specs.
8456         * fixinc/Makefile.in: Add rule to create machname.h.
8457         (fixlib.o): Depend on machname.h.
8458         * fixinc/fixtests.c (machine_name): New test.
8459         * fixinc/fixfixes.c (machine_name): New fix.
8460         * fixinc/fixlib.c (mn_get_regexps): New helper function for
8461         the machine_name test and fix.
8462         * fixinc/fixlib.h: Prototype it.
8463         * fixinc/inclhack.def (machine_name): Use the C test and fix.
8464         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
8465
8466         * gcc.c (do_spec_1) [case P]: Take care not to create
8467         identifiers with three leading or trailing underscores.
8468
8469         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
8470         (fixincl): Don't specify libraries twice on link line.
8471         (gnu-regex.o): Remove special rule.
8472         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
8473         defined by config.h.  Do not define _REGEX_RE_COMP.
8474         (regcomp): Allocate and initialize a fastmap.
8475         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
8476
8477 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
8478
8479         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
8480
8481 2000-01-19  Richard Henderson  <rth@cygnus.com>
8482
8483         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
8484         arguments with BB.  Update all callers.  Tidy line wrapping.
8485
8486 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
8487
8488         * emit-rtl.c (try_split): Return last_insn if we split the
8489         last_insn.
8490
8491 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
8492
8493         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
8494         (ix86_initial_elimination_offset): Declare.
8495         * i386.c (ix86_nsaved_regs): Break out from ...
8496         (ix86_can_use_return_insn_p): ... here.
8497         (ix86_emit_save_regs): Break out from ...
8498         (ix86_expand_prologue): ... here.
8499         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
8500         out from ...
8501         (ix86_expand_epilogue): ... here.
8502         (ix86_compute_frame_size): Make static, add prototype.
8503         (ix86_initial_elimination_offset): Break out from ...
8504         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
8505
8506 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8507
8508         * recog.h (OUT_FCN): Delete.
8509
8510         * vax.md: Call `get_insn_template' instead of OUT_FCN.
8511
8512 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8513
8514         * cppalloc.c: PROTO -> PARAMS.
8515         * cpperror.c: Likewise.
8516         * cppfiles.c: Likewise.
8517         * cpplib.c: Likewise.
8518         * cpplib.h: Likewise.
8519
8520         * config/arm/arm-protos.h: PROTO -> PARAMS.
8521         * config/arm/arm.c: Likewise.
8522         * config/c4x/c4x.c: Likewise.
8523         * config/fr30/fr30-protos.h: Likewise.
8524         * config/nextstep.c: Likewise.
8525         * config/pa/pa.c: Likewise.
8526         * config/pj/pj.c: Likewise.
8527         * config/rs6000/rs6000.c: Likewise.
8528         * config/v850/v850-protos.h: Likewise.
8529         * config/v850/v850.c: Likewise.
8530
8531 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8532
8533         * i370-protos.h: New file.
8534
8535         * i370.c: Include tm_p.h.  Fix compile time warnings.
8536
8537         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
8538         warnings.
8539
8540         * i370.md: Likewise.
8541
8542 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8543
8544         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
8545         (target_isinf, target_isnan, eisnan): Mark parameter with
8546         ATTRIBUTE_UNUSED.
8547         (eiisinf): Wrap in INFINITY.
8548         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
8549         (ibmtoe): Remove unused variable `rndsav'.
8550
8551 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8552
8553         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
8554         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
8555
8556 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
8557
8558         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
8559         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
8560         (fix_char_macro_defines, fix_char_macro_uses): New functions.
8561
8562         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
8563         Recognize Emacs mode markers also.
8564         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
8565         C++ comments in C++ headers.  Call is_cxx_header only if
8566         necessary.
8567
8568         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
8569         bypass for ncurses.
8570         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
8571         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
8572         ... these, which use the new C fixes.
8573         (math_exception): Escape literal '+' in bypass expression.
8574
8575         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
8576         Regenerate.
8577
8578 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
8579
8580         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
8581         inside the MEM.
8582
8583 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8584
8585         * loop.c (loop_optimize): Allocate loop_info structure for each loop
8586         prior to calling scan_loop.
8587
8588 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8589
8590         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
8591         (split_branches, calc_live_regs): Likewise.
8592
8593 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
8594
8595         * sh.md (fpu_single, fp_mode): New attributes.
8596
8597 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8598
8599         * loop.c (current_loop_info): Renamed from loop_info_data
8600         and changed to a pointer.
8601         (loop_optimize): Allocate loop_info structure for each loop
8602         and initialise to zero.
8603         (scan_loop): Set current_loop_info.
8604
8605         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
8606         on iteration_var.
8607
8608 2000-01-19  Richard Henderson  <rth@cygnus.com>
8609
8610         * stupid.c: Die die die.
8611         * Makefile.in (OBJS): Remove stupid.o.
8612         (stupid.o): Likewise.
8613
8614         * except.c (emit_eh_context): Don't emit USEs for stupid.
8615         * explow.c (probe_stack_range): Likewise.
8616         * flags.h (obey_regdecls): Remove.
8617         * flow.c (find_basic_blocks): Don't run try_merge_blocks
8618         when not optimizing.
8619         (life_analysis): Limit data collection when not optimizing.
8620         (mark_regs_live_at_end): Always mark the return value registers.
8621         (mark_used_regs): Remove dummy RETURN case.
8622         (print_rtl_with_bb): Don't consult obey_regdecls.
8623         * function.c (use_variable, use_variable_after): Remove.
8624         (assign_parms): Consult optimize not obey_regdecls.
8625         (expand_function_start): Don't emit USEs for stupid.
8626         (expand_function_end): Likewise.
8627         * global.c (build_insn_chain): Export.
8628         * integrate.c (expand_inline_function): Kill return-value USE
8629         handling code.
8630         * jump.c (jump_optimize_1): Do simple jump optimizations and
8631         dead code elimination.
8632         (calculate_can_reach_end): Remove check_deleted argument.
8633         (delete_insn): Patch out insns even when not optimizing.
8634         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
8635         * rtl.h (use_variable, use_variable_after): Remove declarations.
8636         (build_insn_chain): Declare.
8637         * stmt.c (expand_value_return): Don't emit USEs for stupid.
8638         (expand_end_bindings): Likewise.
8639         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
8640         * toplev.c (obey_regdecls): Remove.
8641         (rest_of_compilation): Don't set it.  Kill stupid in favour of
8642         flow1, local-alloc, and reload.
8643         (main): Don't set obey_regdecls.
8644
8645         * config/nextstep.c (handle_pragma): Likewise.
8646
8647         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
8648
8649         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
8650
8651 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8652
8653         * alpha-protos.h: PROTO -> PARAMS.
8654         * alpha.c: Likewise.
8655         * elf.h: Likewise.
8656         * h8300.c: Likewise.
8657         * i386-protos.h: Likewise.
8658         * i386.c: Likewise.
8659         * m32r-protos.h: Likewise.
8660         * m32r.c: Likewise.
8661         * mips.c: Likewise.
8662         * mips.md: Likewise.
8663         * gmon-sol2.c: Likewise.
8664         * sparc.c: Likewise.
8665
8666 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8667
8668         * ns32k-protos.h: New file.
8669
8670         * ns32k.c: Fix compile time warnings.
8671
8672         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
8673         warnings.
8674
8675         * ns32k.md: Likewise.
8676
8677 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8678
8679         * vax-protos.h: New file.
8680
8681         * vax.c: Fix compile time warnings.
8682
8683         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
8684         warnings.
8685
8686         * vax.md: Likewise.
8687
8688         * vaxv.md: Likewise.
8689
8690 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8691
8692         * romp-protos.h: New file.
8693
8694         * romp.c: Fix compile time warnings.
8695
8696         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
8697         warnings.
8698
8699         * romp.md: Likewise.
8700
8701 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8702
8703         * we32k-protos.h: New file.
8704
8705         * we32k.c: Fix compile time warnings.
8706
8707         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
8708         warnings.
8709
8710 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8711
8712         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
8713
8714         * except.c (eh_regs): Likewise.
8715
8716         * final.c (output_operand): Likewise.
8717
8718         * fold-const.c (target_isinf, target_isnan): Likewise.
8719
8720 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
8721
8722         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
8723         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
8724
8725         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
8726         when optimize_size.
8727         (clrstrsi): Rewrite.
8728         (strsethi, strsetqi): New expanders.
8729         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
8730         (cmpstrsi): Emit compare insn before cmpstrsi_1
8731         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
8732         (strlensi_1): Likewise.
8733         (cmpstrsi_1): Likewise; do not output compare.
8734         (strlen expander): Do not unroll when optimizing for size.
8735         (*subsi3_carry): Rename to subsi3_carry
8736         (addqi3_cc): New pattern.
8737         * i386.h (processor_costs): Add move_ratio field.
8738         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
8739         * i386.c (*_cost): Set move_ratio.
8740         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
8741         (x86_expand_strlensi_1): Rewrite the main loop.
8742
8743 2000-01-17  Richard Henderson  <rth@cygnus.com>
8744
8745         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
8746         * cse.c (find_comparison_args, fold_rtx): Likewise.
8747         * integrate.c (subst_constants): Likewise.
8748         * loop.c (get_condition): Likewise.
8749
8750         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
8751
8752         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
8753
8754 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
8755
8756         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
8757         (RESTORE_WARN_FLAGS): Unpack it.
8758         Change semantic type of extension to ttype.
8759         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
8760         * c-parse.y, c-parse.c, objc/objc-parse.y,
8761         objc/objc-parse.c: Regenerate.
8762
8763 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
8764
8765         * fixinc/fixlib.c: Add copyright notice.
8766         (compile_re): New function.
8767         * fixinc/fixlib.h: Prototype compile_re.
8768
8769         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
8770         Use compile_re to compile regular expressions.
8771
8772         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
8773         where the pattern matched.
8774
8775         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
8776         use 'replace'.
8777         (ultrix_ansi_compat): Likewise.
8778         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
8779         add egrep test.
8780         (interactv_add2, interactv_add3): Delete.
8781         (x11_sprintf): Don't use filename glob.
8782         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
8783         Regenerate.
8784
8785 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8786
8787         * print-rtl.c: PROTO -> PARAMS.
8788         * real.c: Likewise.
8789         * reg-stack.c: Likewise.
8790         * resource.c: Likewise.
8791         * sdbout.h: Likewise.
8792         * simplify-rtx.c: Likewise.
8793         * stor-layout.c: Likewise.
8794         * stupid.c: Likewise.
8795         * xcoffout.c: Likewise.
8796         * xcoffout.h: Likewise.
8797
8798 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8799
8800         * toplev.c: PROTO -> PARAMS.
8801         * toplev.h: Likewise.
8802         * tree.c: Likewise.
8803         * tree.h: Likewise.
8804         * unroll.c: Likewise.
8805         * varasm.c: Likewise.
8806         * varray.c: Likewise.
8807         * varray.h: Likewise.
8808
8809 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8810
8811         * reload.c: PROTO -> PARAMS.
8812         * reload.h: Likewise.
8813         * reload1.c: Likewise.
8814         * reorg.c: Likewise.
8815         * resource.h: Likewise.
8816         * rtl.c: Likewise.
8817         * rtl.h: Likewise.
8818         * rtlanal.c: Likewise.
8819         * sbitmap.h: Likewise.
8820         * sdbout.c: Likewise.
8821         * stack.h: Likewise.
8822         * stmt.c: Likewise.
8823         * system.h: Likewise.
8824
8825 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8826
8827         * machmode.h: PROTO -> PARAMS.
8828         * mbchar.h: Likewise.
8829         * mips-tdump.c: Likewise.
8830         * mips-tfile.c: Likewise.
8831         * optabs.c: Likewise.
8832         * output.h: Likewise.
8833         * prefix.c: Likewise.
8834         * profile.c: Likewise.
8835         * protoize.c: Likewise.
8836         * real.h: Likewise.
8837         * recog.c: Likewise.
8838         * recog.h: Likewise.
8839         * regclass.c: Likewise.
8840         * regmove.c: Likewise.
8841         * regs.h: Likewise.
8842
8843 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8844
8845         * ggc-common.c: PROTO -> PARAMS.
8846         * ggc-page.c: Likewise.
8847         * ggc-simple.c: Likewise.
8848         * ggc.h: Likewise.
8849         * global.c: Likewise.
8850         * graph.c: Likewise.
8851         * gthr-win32.h: Likewise.
8852         * haifa-sched.c: Likewise.
8853         * halfpic.h: Likewise.
8854         * integrate.c: Likewise.
8855         * integrate.h: Likewise.
8856         * jump.c: Likewise.
8857         * lcm.c: Likewise.
8858         * local-alloc.c: Likewise.
8859         * loop.c: Likewise.
8860         * loop.h: Likewise.
8861
8862 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8863
8864         * genattr.c: PROTO -> PARAMS.
8865         * genattrtab.c: Likewise.
8866         * gencheck.c: Likewise.
8867         * gencodes.c: Likewise.
8868         * genconfig.c: Likewise.
8869         * genemit.c: Likewise.
8870         * genextract.c: Likewise.
8871         * genflags.c: Likewise.
8872         * gengenrtl.c: Likewise.
8873         * genopinit.c: Likewise.
8874         * genoutput.c: Likewise.
8875         * genpeep.c: Likewise.
8876         * genrecog.c: Likewise.
8877
8878 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
8879
8880         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
8881
8882 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
8883
8884         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
8885         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
8886         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
8887         * configure, config.in: Rebuilt.
8888
8889 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
8890
8891         * config/i386/i386.md: Add peephole to merge successive stack
8892         adjusts.
8893
8894 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
8895
8896         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
8897         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
8898         when walking backwards to find all the parameter loads when
8899         the basic block ends in a call.
8900
8901 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8902
8903         * loop.c (this_loop_info): Delete.
8904         (uid_loop): Add in place of uid_loop_num.  All uses updated.
8905         (loop_number_exit_count): Delete and replace with entry in loop
8906         structure.  All uses updated.
8907         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8908         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8909         (loop_outer_loop): Likewise.
8910         (loop_invalid, loop_number_exit_labels): Likewise.
8911         (loop_used_count_register): Delete and replace with entry in
8912         loop_info structure.
8913         (find_and_verify_loops): Add loops argument.
8914         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
8915         loop_end, etc. arguments with loop structure pointer.  All callers
8916         changed.
8917         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
8918         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
8919         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
8920         (insert_bct): Likewise.
8921         (basic_induction_var): New argument level.
8922         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
8923         vtop, and cont.  Add used_count_register.
8924         (uid_loop): Delete declaration.
8925         (loop_number_exit_count): Likewise.
8926         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
8927         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
8928         (loop_outer_loop, loop_used_count_register): Likewise.
8929         (loop_invalid, loop_number_exit_labels): Likewise.
8930         (unroll_loop): Replace loop_start and loop_end arguments
8931         with loop structure pointer.
8932         (loop_precondition_p, loop_iterations): Likewise.
8933         Include basic-block.h.
8934         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
8935         with loop structure pointer.
8936         (loop_precondition_p, loop_iterations): Likewise.
8937         * basic-block.h (struct loop): New entries vtop, cont,
8938         cont_dominator, start, end, top, scan_start, exit_labels,
8939         exit_count.
8940         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
8941
8942 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
8943
8944         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
8945
8946 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
8947
8948         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
8949
8950 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8951
8952         * pdp11-protos.h: New file.
8953
8954         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
8955         time warnings.
8956
8957         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
8958         warnings.
8959
8960         * pdp11.md: Likewise.
8961
8962         * 2bsd.h: Likewise.
8963
8964 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8965
8966         * mn10300-protos.h: New file.
8967
8968         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
8969         time warnings.
8970
8971         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
8972         warnings.
8973
8974         * mn10300.md: Likewise.
8975
8976 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8977
8978         * mn10200-protos.h: New file.
8979
8980         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
8981         time warnings.
8982
8983         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
8984         warnings.
8985
8986         * mn10200.md: Likewise.
8987
8988 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8989
8990         * h8300-protos.h: New file.
8991
8992         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
8993         time warnings.
8994
8995         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
8996         warnings.
8997
8998         * h8300.md: Likewise.
8999
9000 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9001
9002         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
9003         (asm_emit_uninitialised): Likewise.
9004
9005 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
9006
9007         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
9008         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
9009
9010 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9011
9012         * config/mips/mips.c (override_options): Don't turn on extra
9013         alignment for mips16.
9014
9015 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9016
9017         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
9018         eabi, and make sure queued POSTINCREMENT rtl is emitted at
9019         the right point.
9020
9021 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9022
9023         * builtins.c (PAD_VARARGS_DOWN): Define.
9024         (std_expand_builtin_va_arg): Use the above macro.
9025         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
9026         * tm.texi (Register Arguments): Document the above macro.
9027
9028 2000-01-14  Nick Clifton  <nickc@cygnus.com>
9029
9030         * emit-rtl.c (emit_insn): If checking is enabled, make sure
9031         that this function has not been used to emit a jump
9032         instruction.
9033
9034         * jump.c (return_jump_1): Cope with being passed a null rtx.
9035
9036 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9037
9038         * eh-common.h: PROTO -> PARAMS.
9039         * emit-rtl.c: Likewise.
9040         * errors.c: Likewise.
9041         * errors.h: Likewise.
9042         * except.c: Likewise.
9043         * except.h: Likewise.
9044         * explow.c: Likewise.
9045         * expmed.c: Likewise.
9046         * expr.c: Likewise.
9047         * expr.h: Likewise.
9048         * final.c: Likewise.
9049         * fix-header.c: Likewise.
9050         * flow.c: Likewise.
9051         * fold-const.c: Likewise.
9052         * function.c: Likewise.
9053         * function.h: Likewise.
9054         * gcc.c: Likewise.
9055         * gcov-io.h: Likewise.
9056         * gcov.c: Likewise.
9057         * gcse.c: Likewise.
9058
9059 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9060
9061         * sh-protos.h: New file.
9062
9063         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
9064         Add static prototypes.  Fix compile time warnings.
9065
9066         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
9067         * sh.md: Likewise.
9068         * elf.h: Likewise.
9069
9070 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9071
9072         * arc-protos.h: New file.
9073
9074         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
9075         time warnings.
9076
9077         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
9078         warnings.
9079
9080         * arc.md: Likewise.
9081
9082 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9083
9084         * dsp16xx-protos.h: New file.
9085
9086         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
9087         time warnings.
9088
9089         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
9090         warnings.
9091
9092         * dsp16xx.md: Likewise.
9093
9094 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9095
9096         * convex-protos.h: New file.
9097
9098         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
9099         time warnings.
9100
9101         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
9102         warnings.
9103
9104 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9105
9106         * elxsi-protos.h: New file.
9107
9108         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
9109         time warnings.
9110
9111         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
9112         warnings.
9113
9114         * elxsi.md: Likewise.
9115
9116 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
9117
9118         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
9119         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
9120         match the comment for MIPS16.
9121
9122 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
9123
9124         * flow.c (split_edge): Do not call set_block_for_insn if we
9125         do not have a basic_block_for_insn structure.
9126
9127         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
9128         and destination functions are 32bit aligned within the trampoline.
9129         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
9130         (TRAMPOLINE_ALIGNMENT): Define.
9131
9132         * cse.c (cse_insn): When changing (set (pc) (reg)) to
9133         (set (pc) (label_ref)), verify the change creates a valid insn.
9134
9135         * fr30.c (call_operand): Tighten and rework to match rules for
9136         call RTL expressions.
9137         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
9138         * fr30.md (call patterns): Improve constraints.
9139
9140 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
9141
9142         * fr30.c (fr30_expand_epilogue): Revert last change.
9143         Use emit_jump_insn for the return insn.
9144
9145 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
9146                           Stan Cox  <scox@cygnus.com>
9147
9148         * predict.c: New file. Preliminary infrastructure work for static
9149         branch prediction and basic block reordering.
9150         * basic-block.h: Add prototype for estimate_probability.
9151         * Makefile.in: Add rules for predict.o.
9152
9153 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
9154
9155         * fixincludes (va_list): Use __not_va_list__ for the dummy.
9156         * fixinc/*: Likewise.
9157
9158 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9159
9160         * cccp.c: PROTO -> PARAMS.
9161         * cexp.y: Likewise.
9162         * collect2.c: Likewise.
9163         * combine.c: Likewise.
9164         * convert.h: Likewise.
9165         * cse.c: Likewise.
9166         * dbxout.c: Likewise.
9167         * dbxout.h: Likewise.
9168         * diagnostic.c: Likewise.
9169         * doprint.c: Likewise.
9170         * dwarf2out.c: Likewise.
9171         * dwarf2out.h: Likewise.
9172         * dwarfout.c: Likewise.
9173         * dwarfout.h: Likewise.
9174         * dyn-string.h: Likewise.
9175
9176 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9177
9178         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
9179         macro conditionals guarding use.
9180
9181         * dwarf2out.c: Include "tm_p.h".
9182
9183         * function.c (locate_and_pad_parm): Mark parameter with
9184         ATTRIBUTE_UNUSED.
9185         (expand_function_end): Likewise for variable `context'.
9186
9187         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
9188
9189 2000-01-13  Nick Clifton  <nickc@cygnus.com>
9190
9191         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
9192         register to prevent compile time warnings.
9193
9194 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
9195
9196         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
9197         to avoid -Wtraditional warning.
9198
9199 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9200
9201         * 1750a-protos.h: New file.
9202
9203         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
9204         time warnings.
9205
9206         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
9207         warnings.
9208
9209         * 1750a.md: Likewise.
9210
9211 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9212
9213         * a29k-protos.h: New file.
9214
9215         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9216         time warnings.
9217
9218         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
9219         warnings.
9220
9221 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9222
9223         * clipper-protos.h: New file.
9224
9225         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
9226         time warnings.
9227
9228         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
9229         warnings.
9230
9231 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
9232
9233         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
9234
9235 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
9236
9237         * configure.in (--enable-new-gxx-abi): New option.
9238         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
9239         * Makefile.in (GXX_ABI_FLAG): New variable.
9240         * configure: Regenerate.
9241
9242 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9243
9244         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
9245         * tm.texi (FORCE_STRUCT_BLK): Document.
9246         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
9247
9248 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
9249
9250         * config/ns32k/ns32k.md: Revert Jan 9 change.
9251
9252         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
9253         to a mode-test, if the predicate is address_operand.
9254
9255 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
9256
9257         * combine.c (if_then_else_cond): Be careful about what kinds
9258         of RTL expressions are passed to operand_subword.
9259
9260         * flow.c (split_edge): If we have to insert a new jump, make
9261         sure to associate it with a basic block.
9262
9263         * flow.c (commit_one_edge_insertion): A block with one successor
9264         can end in a JUMP_INSN that is not a simplejump.
9265
9266 2000-01-12  Robert Lipe  <robertl@sco.com>
9267
9268         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
9269         (BUILD_VA_LIST_TYPE): Define.
9270         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
9271         with crtstuff.c.
9272
9273 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
9274
9275         * cccp.c (do_pragma): Add cast to (char *).
9276
9277 2000-01-12  Richard Henderson  <rth@cygnus.com>
9278             Fred Fish  <fnf@be.com>
9279             Jason Merrill  <jason@cygnus.com>
9280
9281         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
9282         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
9283         * i386/beos-elf.h, i386/beos-pe.h: New files.
9284
9285         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
9286         * cross-make (SYSTEM_HEADER_DIR): Define using
9287         CROSS_SYSTEM_HEADER_DIR.
9288
9289         * gcc.c (LIBRARY_PATH_ENV): Provide default.
9290         (process_command): Use it.
9291         (main): Likewise.  Kill trailing = from env vars.
9292         (build_search_list): Put it back.
9293         * collect2.c (main): Use LIBRARY_PATH_ENV.
9294
9295         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
9296         * toplev.c: Use NEED_DECLARATION_ENVIRON.
9297
9298         * tm.texi (Frame Layout): Document SMALL_STACK.
9299         * c-common.c (c_common_nodes_and_builtins): Check it.
9300
9301         * system.h: Undef alloca after including glibc's <stdlib.h>,
9302         if USE_C_ALLOCA is defined.
9303
9304         * gcc.c (set_input): New fn.
9305         (main): After all input files are compiled, reset the input file
9306         info to the first.
9307
9308         * aclocal.m4 (rindex, index): If already defined, don't attempt
9309         to redefine.
9310
9311         * ginclude/varargs.h: (__va_list__): Define ifndef.
9312         * ginclude/stdarg.h: Likewise.
9313
9314         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
9315         instead of unsigned char.
9316
9317         * hash.h (true, false, boolean): Undef before enum.
9318
9319         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
9320         proper type of "HOST_WIDE_INT *", rather than their natural type of
9321         "unsigned HOST_WIDE_INT *".
9322
9323 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9324
9325         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
9326
9327         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
9328
9329         * regclass.c (choose_hard_reg_mode): Likewise.
9330
9331         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
9332
9333         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
9334
9335 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9336
9337         * c-common.c: PROTO -> PARAMS.
9338         * c-common.h: Likewise.
9339         * c-decl.c: Likewise.
9340         * c-iterate.c: Likewise.
9341         * c-lang.c: Likewise.
9342         * c-lex.c: Likewise.
9343         * c-lex.h: Likewise.
9344         * c-parse.in: Likewise.
9345         * c-pragma.c: Likewise.
9346         * c-pragma.h: Likewise.
9347         * c-tree.h: Likewise.
9348         * c-typeck.c: Likewise.
9349         * objc/objc-act.c: Likewise.
9350         * objc/objc-act.h: Likewise.
9351
9352 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9353
9354         * m88k-protos.h: New file.
9355
9356         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9357         time warnings.
9358
9359         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
9360
9361         * m88k.md: Likewise.
9362
9363         * tekXD88.h: Likewise.
9364
9365 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9366
9367         * m68k-protos.h: New file.
9368
9369         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
9370         time warnings.
9371
9372         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
9373
9374         * mot3300.h: Likewise.
9375
9376 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
9377
9378         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
9379         extract_bitlst.
9380         (extract_bitlist): Declare bitlen.
9381
9382 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
9383
9384         * cccp.c: Accept and ignore -lang-fortran.
9385
9386         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
9387         qualifiers don't match at any level of pointerness.
9388
9389 2000-01-12  Robert Lipe  <robertl@sco.com>
9390
9391         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
9392
9393 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
9394
9395         * reload1.c (reload_reg_unavailable): New static variable.
9396         (reload_reg_free_p): Test it.
9397         (reload_reg_free_for_value_p): Test it instead of
9398         reload_reg_used.
9399         (choose_reload_regs_init): Compute it.
9400
9401 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
9402
9403         * reorg.c (fill_slots_from_thread): Check modified_in_p
9404         before replacing.
9405
9406 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
9407
9408         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
9409         these nodes even if INTERNALS is not set.
9410
9411 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
9412
9413         * gcse.c (delete_null_pointer_checks_1): Cope when
9414         get_condition cannot determine the condition.
9415
9416 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
9417
9418         * toplev.h (set_message_length): Declare.
9419
9420         * diagnostic.c (obstack_chunk_alloc): Define macro.
9421         (obstack_chunk_free): Likewise.
9422         (struct output_buffer): New data structure.
9423         (vmessage): Remove.
9424         (output_maximum_width): New variable.
9425         (doing_line_wrapping, set_message_length, init_output_buffer,
9426         get_output_prefix, output_space_left, emit_output_prefix,
9427         output_newline, output_append, output_puts, dump_output,
9428         vbuild_message_string, build_message_string, build_location_prefix,
9429         voutput_notice, output_printf, line_wrapper_printf,
9430         vline_wrapper_message_with_location):  New functions. Implement
9431         automatic line wrapping.
9432         (v_message_with_decl): Make it handle automatic line wrapping.
9433         (v_error_with_file_and_line): Likewise.
9434         (v_warning_with_file_and_line): Likewise.
9435         (announce_function): Likewise.
9436         (default_print_error_function): Likewise.
9437
9438 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
9439
9440         * cpplib.h (struct cpp_options): Change lang_asm to char.
9441         Add lang_fortran.
9442         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
9443         done in cpp_handle_option now.
9444         (initialize_builtins): Take out special case code used only by
9445         __STDC_VERSION__.
9446         (cpp_handle_option): Turn off trigraphs and trigraph warnings
9447         if -traditional.  Recognize -lang-fortran and set
9448         lang_fortran, also turn off cplusplus_comments.
9449         (print_help): Document -lang-fortran.
9450         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
9451         lang_asm. Ignore all directives other than `# 123 "file"' if
9452         CPP_PREPROCESSED.
9453         (cpp_get_token): If -traditional, don't recognize directives
9454         unless the # is in column 1.
9455         (parse_string): If lang_fortran or lang_asm, silently
9456         terminate strings ('' or "") at end of line.
9457         Remove unnecessary braces.
9458
9459 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9460             Richard Henderson  <rth@cygnus.com>
9461
9462         * resource.c (mark_referenced_resources): Mark a set strict_low_part
9463         as used.
9464         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
9465         strict_low_part when possible.
9466
9467 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9468
9469         * alias.c: PROTO -> PARAMS.
9470         * basic-block.h: Likewise.
9471         * bitmap.c: Likewise.
9472         * bitmap.h: Likewise.
9473         * builtins.c: Likewise.
9474         * c-aux-info.c: Likewise.
9475         * caller-save.c: Likewise.
9476         * calls.c: Likewise.
9477
9478 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9479
9480         * Makefile.in (toplev.o): Depend on regs.h.
9481
9482         * output.h (tdesc_section): Prototype.
9483
9484         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
9485
9486         * sdbout.c: Include "tm_p.h".
9487
9488         * toplev.c: Include "regs.h".
9489
9490 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
9491
9492         * unroll.c (unroll_loop): Add EH support.
9493
9494 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9495
9496         * pa-protos.h: New file.
9497
9498         * pa.c: Include recog.h and tm_p.h.
9499         (compute_zdepwi_operands, compute_movstrsi_length,
9500         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
9501         find_addr_reg, import_milli): Add static prototypes.
9502         (pa_cpu_string, pa_arch_string): Constify a char*.
9503         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
9504         (read_only_operand): Add argument `mode'.
9505         (singlemove_string, output_move_double, output_fp_move_double,
9506         output_block_move, output_and, output_ior, output_ascii,
9507         remove_useless_addtr_insns, milli_names, output_mul_insn,
9508         output_div_insn, output_mod_insn, output_arg_descriptor,
9509         output_cbranch, output_bb, output_bvb, output_dbra, ,
9510         output_millicode_call, output_call, hppa_encode_label,
9511         output_parallel_movb, output_parallel_addb): Constify a char*.
9512         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
9513         (output_parallel_addb): Remove extra arg to `constrain_operands'
9514
9515         * pa.h:  Move all prototypes to pa-protos.h.
9516         (pa_cpu_string, pa_arch_string): Constify a char*.
9517         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
9518
9519         * pa.md: Call `function_label_operand' with mode argument.
9520         Likewise for `read_only_operand'.
9521         Fix nesting of parens in call to `symbolic_operand'.
9522
9523 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9524
9525         * i860-protos.h: New file.
9526
9527         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
9528         time warnings.
9529
9530         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
9531
9532         * i860.md: Likewise.
9533
9534 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
9535
9536         * i386.md (movstrsi expander): Rewrite.
9537         (movstrsi_1 insn): Deleted.
9538         (strmovhi, strmovqi expander): New expanders.
9539         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
9540         * i386.c (x86_single_stringop): New global variable.
9541         * i386.h (x86_single_stringop): Declare.
9542         (TARGET_SINGLE_STRINGOP): New macro.
9543
9544 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
9545
9546         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
9547         integer vararg POSTINCREMENT before the destination of the jump
9548         for the hard fp case.
9549         (function_arg_pass_by_reference): Pass a copy of CUM to
9550         FUNCTION_ARG.
9551
9552         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
9553         for CONSTANT_ADDRESS_P above while loop for subreg.
9554
9555 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
9556
9557         * flow.c (propagate_block): When a prologue/epilogue insn
9558         is marked dead, unconditionally clear libcall_is_dead and
9559         insn_is_dead, and only dump rtl if warnings aren't being
9560         suppressed.
9561
9562 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
9563
9564         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
9565         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
9566         (FIXED_REGISTERS): Set dirflag as fixed.
9567         (CALL_USED_REGISTERS): Set dirflag as used.
9568         (REG_ALLOC_ORDER): Set dirflag as last one.
9569         (DIRFLAG_REG): New macro.
9570         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
9571         (HI_REGISTER_NAMES): Add dirflag.
9572         (DEBUF_PRINT_REG): Handle dirflag.
9573         * i386.md (type attribute): New cld and str types.
9574         (length_opcode attribute): Set cld and str to 1.
9575         (memory attribute): Set str to unknown - it is not clear from the
9576         patterns.
9577         (pent_np function unit): Prefixed string operations takes 12 cycles
9578         minimally; cld takes 2 cycles.
9579         (ppro_uops attribute): Str is "many" and cld is "few".
9580         (ppro_p0 unit): Handle cld here.
9581         (k6_alux unit): Handle cld and str types.
9582         (k6_load unit): It is ocupied by str opcodes.
9583         (k6_store unit): It is ocupied by str opcodes.
9584         (athlon_decode): Str is vector decoded.
9585         (athlon_ieu): Handle str and cld.
9586         (cld pattern): New.
9587         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
9588         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
9589         cmpstrsi_nz_1 insn): Do not output cld instruction
9590
9591 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
9592
9593         * gcc.texi (G++ and GCC): Add Java and Chill.
9594         (Bug Critera): Don't list languages.
9595
9596         * gcc.texi (Incompatibilities): No longer claim most C compilers
9597         are K&R.
9598
9599         * gcc.texi (G++ and GCC): Update other front-ends list.
9600
9601 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
9602
9603         * i386.c (ix86_expand_setcc): Fix typo.
9604         (ix86_expand_movcc): Similarly.
9605
9606         * Band-aid until haifa's bitset implementation is nuked.
9607         * haifa-sched.c (extract_bitlst): New parameter for size of the
9608         bitset in bits.  All callers changed.  Avoid looking at undefined
9609         bits in the bitset.
9610         (edgeset_bitsize): New variable.
9611         (schedule_region): Initialize edgeset_bitsize.
9612
9613 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9614
9615         * Makefile.in (optabs.o): Depend on real.h
9616         (resource.o): Depend on insn-attr.h
9617
9618         * builtins.c (result_vector): Wrap prototype in macro conditions
9619         governing definition and use.
9620
9621         * c-common.c: Include tm_p.h.
9622
9623         * c-lex.c: Likewise.
9624
9625         * elfos.h: Constify a char*.
9626
9627         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
9628         (get_attr_length, shorten_branches, profile_after_prologue): Mark
9629         parameter with ATTRIBUTE_UNUSED.
9630
9631         * fold-const.c (exact_real_inverse): Wrap variable `i' in
9632         CHECK_FLOAT_VALUE.
9633
9634         * haifa-sched.c (schedule_insns): Mark parameter with
9635         ATTRIBUTE_UNUSED.
9636
9637         * optabs.c: Include real.h.
9638
9639         * real.h (ereal_atof): Add prototype arguments.
9640
9641         * resource.c: Include insn-attr.h.
9642
9643         * sdbout.c (sdbout_queue_anonymous_type,
9644         sdbout_dequeue_anonymous_types): Wrap in macro
9645         SDB_ALLOW_FORWARD_REFERENCES.
9646         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
9647         ATTRIBUTE_UNUSED.
9648
9649         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
9650
9651         * stupid.c: Include tm_p.h.
9652
9653         * tree.c (real_value_from_int_cst): Mark parameter with
9654         ATTRIBUTE_UNUSED.
9655
9656 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9657
9658         * i960-protos.h: New file.
9659
9660         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
9661         time warnings.
9662
9663         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
9664
9665 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9666
9667         * combine.c (expand_field_assignment): Do not discard SUBREGs
9668         while computing nonzero_bits.
9669
9670 2000-01-09  Nick Clifton  <nickc@cygnus.com>
9671
9672         * config/arm/arm.c: Fix compile time warnings about signed vs
9673         unsigned constants.
9674         * config/arm/arm.h: Fix compile time warnings about signed vs
9675         unsigned constants.
9676
9677 2000-01-09  Philip Blundell  <philb@gnu.org>
9678
9679         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
9680         than `ldm' with only one register.
9681         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
9682         only one register.
9683
9684         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
9685         clobbered.
9686
9687 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
9688
9689         * config/ns32k/ns32k.md (load or push effective address): Operand 1
9690         must have SImode.
9691
9692 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9693
9694         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
9695         assignment used as truth value.
9696
9697         * function.c (assign_temp): Mark parameter `dont_promote' with
9698         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
9699         PROMOTE_FOR_CALL_ONLY.
9700
9701         * genrecog.c (write_subroutine): Mark variable `operands' with
9702         ATTRIBUTE_UNUSED.
9703
9704         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
9705         ATTRIBUTE_UNUSED.
9706
9707         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
9708         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
9709
9710         * toplev.c (note_deferral_of_defined_inline_function): Likewise
9711         for `decl'.
9712
9713 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9714
9715         * config/c4x.h: Tidy up comments.
9716         * config/c4x.c: Likewise.
9717
9718 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
9719
9720         * fold-const.c (lshift_double, rshift_double): Handle
9721         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
9722
9723 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9724
9725         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
9726         in prepare_function_start().
9727
9728 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
9729
9730         * config/v850/v850.c (expand_epilogue): Interrupt functions no
9731         longer allocate extra stack for function calls.
9732
9733 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9734
9735         * config/c4x/c4x.md (*subqf3_set): Fix typo.
9736
9737 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9738
9739         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
9740
9741 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
9742
9743         * rs6000.c (processor_target_table): Add power3 as alias for 630.
9744         * aix43.h: Revert Aug 2 change.
9745         (HAS_INIT_SECTION): Define, not visible yet.
9746         (LD_INIT_SWITCH): Define, not visible yet.
9747         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
9748
9749         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
9750
9751         * collect2.c (main): Expand ld2 size further.
9752         (export_object_lst): Cast assignment to avoid warning.
9753         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
9754         (scan_prog_file, COFF): Do not collect initialization or
9755         finalization functions generated for entire shared object if
9756         init/fini support present.
9757
9758 2000-01-07  Nick Clifton  <nickc@cygnus.com>
9759
9760         * config/elfos.h: Tidy up formatting of marcos.  Make sure
9761         that .section directives are always prefixed by a tab.
9762
9763         * config/svr4.h: Add #include "elfos.h" and remove duplicate
9764         definitions.
9765
9766 2000-01-07  Matt Austern  <austern@sgi.com>
9767
9768         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
9769         expon.
9770
9771 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
9772
9773         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
9774         crtstuff.c.
9775         (crtbegin.o, s-crtS): Likewise.
9776
9777 2000-01-06  Richard Henderson  <rth@cygnus.com>
9778
9779         * alpha.md (adddi_2+1): Limit offset such that it will be
9780         loadable with a single ldah+lda pair.
9781         (adddi_2+2): Explicitly fail split if we can't make it work.
9782
9783 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
9784
9785         * protoize.c: Conditionally include unistd.h.
9786         (IS_SAME_PATH_CHAR): New macro.
9787         (IS_SAME_PATH): New macro.
9788         (CPLUS_FILE_SUFFIX): New macro.
9789         (cplus_suffix): New static variable.
9790         (is_abspath): New static function.
9791         (in_system_include_dir): Handle DOS style pathnames.
9792         (file_could_be_converted): Likewise.
9793         (file_normally_convertible): Likewise.
9794         (directory_specified_p): Likewise.
9795         (file_excluded_p): Likewise.
9796         (abspath): Likewise.
9797         (shortpath): Likewise.
9798         (referenced_file_is_newer): Likewise.
9799         (save_def_or_dec): Likewise.
9800         (do_processing): Likewise.
9801         (main): Likewise.
9802         (edit_file): Likewise. Use rename instead of link.
9803         (rename_c_file): Likewise. Don't rename syscalls file.
9804         (munge_compile_params): Define null device for DOS based systems.
9805         (process_aux_info_file): Use binary mode if appliable.
9806         (edit_file): Likewise.
9807         * invoke.texi (Running Protoize): Document C++ suffixes used.
9808
9809         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
9810         IS_DIR_SEPARATOR macros.
9811         * collect2.c: Likewise.
9812         * cppinit.c: Likewise.
9813         * dwarf2out.c: Likewise.
9814         * gcc.c: Likewise.
9815         * gcov.c: Likewise.
9816         * prefix.c: Likewise.
9817         * rtl.c: Likewise.
9818         * toplev.c: Likewise.
9819         * system.h: And move to here.
9820
9821         * prefix.c (update_path): Fix typo in variable name.
9822
9823 2000-01-06  Richard Henderson  <rth@cygnus.com>
9824
9825         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
9826         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
9827         (count_reg_sets_1, count_reg_references): Likewise.
9828         (flow_loops_level_compute): Start counting actual loop depth at 1.
9829         (flow_loops_find): Likewise.
9830         * local-alloc.c (update_equiv_regs): Likewise.
9831         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
9832
9833 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
9834
9835         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
9836         FIRST_PSEUDO_REGISTER
9837         * dwarf2out.c: Don't include frame.h
9838         * dwarfout.c: Likewise
9839         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
9840         frame.h
9841
9842 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
9843
9844         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
9845         dead registers.
9846
9847         * i386.c (movsf splitter): Fix typo in my last checkin.
9848
9849 2000-01-05  Nick Clifton  <nickc@cygnus.com>
9850
9851         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
9852         own definition of this macro.
9853         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
9854         flag_data_sections or UNIQUE_SECTION_P are true.
9855
9856         * tm.texi (UNIQUE_SECTION): Document that it can be called for
9857         unitialised data decls.
9858
9859         * config/i386/winnt.c (i386_pe_unique_section): Cope with
9860         being called for uninitialised data.
9861
9862         * config/i386/interix.c (i386_pe_unique_section): Cope with
9863         being called for uninitialised data.
9864
9865         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
9866         for uninitialised data.
9867
9868         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
9869         for uninitialised data.
9870
9871         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
9872         for uninitialised data.
9873
9874         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
9875         (UNIQUE_SECTION_P): Always generate a unique section if
9876         flag_data_sections is true.
9877         (UNIQUE_SECTION): Also generate unique sections for
9878         uninitialised data.
9879         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
9880         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
9881         named_section().
9882
9883 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9884
9885         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
9886         SI, or DI.
9887
9888 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9889
9890         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
9891         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
9892         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
9893         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
9894         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
9895
9896         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
9897
9898 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
9899
9900         * c-decl.c (finish_enum): Simplify code to determine minimum and
9901         maximum values of the enum, and calculate the type.  Remove check
9902         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
9903         the DECL_INITIAL of each enumeration constant with a copy converted
9904         to the enumeration type.  When updating variant types, don't bother
9905         updating the type itself.
9906
9907         * c-typeck.c (build_binary_op): Simplify conditional expressions
9908         when weeding out spurious signed-unsigned warnings.  Add new
9909         spurious warning category: if the unsigned quantity is an enum
9910         and its maximum value fits in signed_type(result_type).  Update
9911         commentary.
9912         (build_conditional_expr): Warn here if one alternative is signed
9913         and the other is unsigned.
9914
9915 2000-01-05  Nick Clifton  <nickc@cygnus.com>
9916
9917         * config/fr30/fr30.h: Remove extraneous comments.
9918
9919 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
9920
9921         * reload1.c (choose_reload_regs): When disabling a reload, also
9922         set reload_spill_index to -1.
9923
9924 2000-01-04  Joel Sherrill (joel@OARcorp.com>
9925
9926         * configure.in (m68*-*-rtemscoff*): New target, formal name for
9927         old m68*-*-rtems*.
9928         (m68*-*-rtemself*): New target.
9929         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
9930         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
9931         (sparc*-*-rtemself*): New target.
9932         (sparc*-*-rtems*): Now elf not a.out.
9933         * config/i386/rtems.h: Include config/rtems.h.
9934         * config/i386/rtemself.h: Include config/rtems.h.
9935         * config/i960/rtems.h: Include config/rtems.h.
9936         * config/m68k/rtems.h: Include config/rtems.h.
9937         * config/m68k/rtemself.h: Include config/rtems.h.
9938         * config/mips/rtems64.h: Include config/rtems.h.
9939         * config/pa/rtems.h: Include config/rtems.h.
9940         * config/rs6000/rtems.h: Include config/rtems.h.
9941         * config/sh/rtems.h: Include config/rtems.h.
9942         * config/sh/rtemself.h: Include config/rtems.h.
9943         * config/sparc/rtems.h: Include config/rtems.h.
9944         * config/sparc/rtemself.h: Include config/rtems.h
9945
9946 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
9947
9948         * final.c (shorten_branches): Correctly compute length of
9949         asms without operands.
9950
9951 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
9952
9953         * configure.in: Add pj target.
9954         * configure: Regenerate.
9955         * config/pj: New directory.
9956         * config/pj/lib1funcs.S: New file.
9957         * config/pj/linux.h: New file.
9958         * config/pj/pj.c: New file.
9959         * config/pj/pj.md: New file.
9960         * config/pj/pjl.h: New file.
9961         * config/pj/t-pj: New file.
9962         * config/pj/xm-pj.h: New file
9963
9964 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
9965
9966         * toplev.c (rest_of_compilation): Run shorten-branches before
9967         reg-stack for now.
9968
9969 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9970
9971         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
9972         macros so that they're consistent with their names.
9973         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9974         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
9975
9976 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9977
9978         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
9979         modified inadvertently.
9980
9981 2000-01-04  Joel Sherrill <joel@OARcorp.com>
9982
9983         * configure.in (v850*-*-rtems*): New target.
9984         * configure: Regenerate.
9985         * config/v850/rtems.h: New file.
9986
9987 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
9988
9989         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
9990         (__gthread_key_create): Likewise.
9991         (__gthread_key_dtor):  Likewise.
9992         (__gthread_once): Fix logic.
9993         (__gthread_key_delete): Cast away constness.
9994
9995         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
9996         * invoke.texi: Document.
9997         * i386/mingw32.h (CPP_SPEC): Use.
9998         (LIBGCC_SPEC): Likewise.
9999         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
10000
10001 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
10002
10003         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
10004         (HANDLE_PRAGMA_PACK): Undefine.
10005         (SLOW_UNALIGNED_ACCESS): Define.
10006
10007 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
10008
10009         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
10010         to default definition.
10011         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
10012         (store_fixed_bit_field): Call macro with word_mode and alignment.
10013         (extract_bit_field): Call macro with relevant mode and alignment.
10014         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
10015         to default definition.
10016         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
10017         and alignment.
10018         (move_by_pieces_ninsns): Likewise.
10019         (clear_by_pieces): Likewise.
10020         (emit_push_insn): Likewise.
10021         (store_field): Call macro with relevant mode and alignment.
10022         (expand_expr): Likewise.
10023         (expand_expr_unaligned): Likewise.
10024
10025         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
10026         (SLOW_UNALIGNED_ACCESS): Define.
10027         (CASE_VECTOR_MODE): Always use 32-bit offsets.
10028         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
10029         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
10030         (toc_section): Likewise and .toc pseudo-op.
10031         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
10032         64-bit mode.
10033         (TEXT_SECTION_ASM_OP): Likewise.
10034         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
10035         32-bit offsets.
10036
10037         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
10038         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
10039         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
10040         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
10041         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
10042
10043 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
10044
10045         * regclass.c: Revert my Jan 4 change to loop cost computation.
10046
10047 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10048
10049         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
10050         compilation.
10051
10052 2000-01-04  Stan Cox  <scox@cygnus.com>
10053
10054         * haifa-sched.c (build_control_flow): Change unreachable simple
10055         loop test to check if current block has only one predecessor.
10056         (find_rgns): Initialize degree.  Use dest as degree index, not src.
10057
10058 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10059
10060         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
10061
10062         * calls.c (expand_call): Likewise for
10063         `old_stack_arg_under_construction'.
10064
10065         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
10066
10067         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
10068         `save_constant'.
10069
10070         * gcc.c (execute): Likewise for `ut' and `st'.
10071
10072         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
10073
10074         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
10075
10076         * jump.c (jump_optimize_1): Likewise for `temp2'.
10077
10078         * local-alloc.c (block_alloc): Likewise for `r1'.
10079
10080         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
10081
10082         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
10083         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
10084
10085         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
10086         and `set2'.
10087
10088         * reload.c (find_reloads): Likewise for `goal_alternative_number'
10089         and `goal_earlyclobber'.
10090
10091         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
10092
10093         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
10094
10095         * stupid.c (stupid_life_analysis): Likewise for `chain'.
10096
10097         * unroll.c (copy_loop_body): Likewise for `copy'.
10098
10099         * varasm.c (output_constructor): Likewise for `byte'.
10100
10101 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10102
10103         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
10104         all FP constants for constant->reg moves.
10105         (ix86_split_to_parts): Try to convert memory address into immediate
10106         when available in the constant pool.
10107         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
10108         moves.
10109         (LEGITIMATE_CONSTANT_P): Return 1.
10110         * i386.md (pushsf): New splitter to convert constant pool memory
10111         reference to immediate.
10112         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
10113         reload.
10114
10115 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
10116
10117         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
10118         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
10119         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
10120         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
10121         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
10122
10123 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
10124
10125         * ginclude/stdbool.h:  Support compilation as C++.
10126
10127 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
10128
10129         * fold-const.c (make_range): Don't try to reverse an unbounded range.
10130
10131 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
10132
10133         * regclass.c (regclass): Properly compute loop_cost.  Adjust
10134         comments.
10135
10136         * regclass.c: Fix minor whitespace problems.
10137
10138 2000-01-03  Anthony Green  <green@cygnus.com>
10139
10140         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
10141         Restore the pic register if required.
10142
10143 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
10144
10145         * c-common.c (format_char_info): Update comment.
10146         (check_format_info): Recognize 'z' modifier in the same way 'Z'
10147         was recognized.  Emit warning for formats new in ISO C99 only
10148         if flag_isoc9x is not set.
10149
10150 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
10151
10152         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
10153
10154 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
10155
10156         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
10157         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
10158         (make_compound_operation): Choose cheaper alternative between
10159         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
10160
10161         * regclass.c (op_costs): Remove global variable.
10162         (record_reg_classes): New parameter "op_costs" and "reg_pref".
10163         (record_operand_costs): Break out from ...
10164         (scan_one_insn): ... here.
10165         (dump_regclass): Make dumps nicer.
10166         (regclass): Dump preferrences choosed and changes done during passes.
10167
10168 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
10169
10170         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
10171
10172 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
10173
10174         * config/sparc/sparc.c (gen_df_reg): New function.
10175         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
10176         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
10177         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
10178         movtf_cc_reg_sp64+1): Use it.
10179
10180 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
10181
10182         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
10183         copied LABEL_DECLs.
10184
10185 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
10186
10187         * config/i386/i386.c (ix86_expand_unary_operator): Function
10188         definition made void.
10189         (ix86_expand_binary_operator): Update outdated preceding comment.
10190         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
10191         prototype.
10192
10193         * config/i386/i386.c (override_options): Fix option-name typo.
10194
10195 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
10196
10197         * system.h (CEIL): Define.
10198         * builtins.c (CEIL): Remove.
10199         * expmed.c (CEIL): Likewise.
10200         * expr.c (CEIL): Likewise.
10201         * stor-layout.c (CEIL): Likewise.
10202
10203 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10204
10205         * expr.c (store_constructor_field): Fix typo introduced with last
10206         gcc2 merge.
10207
10208 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
10209
10210         * tree.h (BINFO_N_BASETYPES): New macro.
10211
10212 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
10213
10214         * expmed.c (emit_store_flag): Prevent losing a pending stack
10215         adjust the same way we prevent losing queued increments.
10216
10217 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10218
10219         * function.c (update_temp_slot_address): Handle case where sum of
10220         temporary address plus offset in register is a valid address.
10221
10222 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
10223
10224         * genrecog.c (change_state) Corrected typo.
10225
10226 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10227
10228         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
10229         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
10230         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
10231
10232 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
10233
10234         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
10235         case, expand GT comparisons correctly.  Fix a comment before this
10236         part of the code.
10237
10238 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
10239
10240         * dwarfout.c: Include "frame.h"
10241         * dwarf2out.c: Likewise.
10242         * Makefile.in (dwarfout.o): Depend on frame.h
10243         (dwarf2out.o): Likewise.
10244
10245 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
10246
10247         Restore i386 binary compatibility in Dwarf EH info.
10248         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
10249         value of FIRST_PSEUDO_REGISTER.
10250         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
10251         (struct frame_state): Use DWARF_FRAME_REGISTERS.
10252         * dwarfout.c (output_reg_number): Ditto.
10253         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
10254         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
10255
10256 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
10257
10258         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
10259         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
10260         (<hack>_RE_CT): not needed
10261         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
10262         rewritten to scan the file text once only
10263         "template<..." test added
10264         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
10265         (is_cxx_header): declaration added
10266         * fixinc/fixtests.c(is_cxx_header): removed
10267         (apply_fix_p_t): removed
10268         (double_slash_test): is_cxx_header is only called once now
10269         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
10270         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
10271         within the templates.
10272         The borken spelling of "broken" was fixed.
10273         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
10274         The default level depends on FIXINC_DEBUG.
10275
10276 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10277
10278         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
10279         Otherwise provide a declaration for atexit.
10280         (init_dummy): Make sure dummy call to atexit is nevertheless
10281         called with correct number of args.
10282
10283         * frame.c: Update comments referring to other files.
10284
10285         * libgcc2.c: Likewise.
10286
10287 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10288
10289         * cse.c (free_element, get_element): Remove unused prototypes.
10290
10291         * fold-const.c (extract_muldiv): Initialize variables `op0' and
10292         `op1'.
10293
10294         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
10295         `else' clauses.
10296
10297 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
10298
10299         * configure.in,configure: case arm for mn10200-*-* now sets
10300         float_format=i32 so that float.h will correctly claim "double"
10301         to be 32 bits. Ran autoconf to generate configure from .in file.
10302
10303 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
10304
10305         * pa.md (conditional zero): If op1 is a register, force it into
10306         the same register as op0.
10307
10308 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
10309
10310         * tree.h (BINFO_BASETYPES): Improve documentation.
10311
10312 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10313
10314         * configure.in (--enable-checking): Use a more portable `for'
10315         loop syntax.
10316
10317 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10318
10319         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
10320         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
10321
10322         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
10323         Delete files.
10324
10325         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
10326         Delete descriptions.
10327
10328         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
10329         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
10330         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
10331         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
10332         xm-svr4.h: Remove all instances of sys_siglist handling.
10333
10334 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
10335
10336         * config/sparc/sparc.md (cmp_zero_qi,
10337         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
10338         cmp_zero_extendqidi2_andcc_set): New patterns.
10339
10340 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
10341
10342         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
10343         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
10344         (fpgnulib.c, xfgnulib.c): Add rules.
10345         * m68k/t-mot3300-gas: Likewise.
10346
10347 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
10348
10349         * configure.in: Avoid [[ by using test and changequote.  Add
10350         changequote required by 1999-12-14 change.
10351         * configure: Rebuild.
10352
10353 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
10354
10355         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
10356
10357 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
10358
10359         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
10360         * flow.c (find_use_as_address): Likewise.
10361         * function.c (fixup_var_refs_1): Likewise.
10362         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
10363         * jump.c (invert_exp, redirect_exp): Likewise.
10364         * loop.c (replace_call_address): Likewise.
10365         (count_nonfixed_reads): Likewise.
10366         * rtlanal.c (modified_between_p): Likewise.
10367         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
10368         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
10369         * unroll.c (remap_split_bivs): Likewise.
10370
10371 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10372
10373         * diagnostic.c (v_message_with_decl): Use .* format specifier
10374         instead of building the format specifier width manually.
10375
10376         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
10377         determining whether to provide a prototype.  Remove the
10378         sys_siglist clause in the conditional.
10379
10380 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10381
10382         * fold-const.c (operand_equal_p): Use memcmp to compare string
10383         constants.
10384         Suggested by D. J. Bernstein
10385
10386 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
10387
10388         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
10389         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
10390         compiling libgcc2.
10391         * config/mips/mips.h (TARGET_64BIT): Likewise.
10392         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
10393         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
10394         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
10395         dsps.  Give routines proper names if SI/DI modes are not used.
10396         * longlong.h: Use DWunion instead of DIunion.
10397
10398 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
10399
10400         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
10401         GC_CHECKING, GC_ALWAYS_COLLECT.
10402         * configure.in: Allow --enable-checking with an argument
10403         listing check modes to enable.
10404         * config.in, configure: Rebuilt.
10405         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
10406         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
10407         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
10408         ENABLE_GC_ALWAYS_COLLECT.
10409         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
10410         throughout.
10411         * tree.h, tree.c: Change ENABLE_CHECKING to
10412         ENABLE_TREE_CHECKING throughout.
10413
10414 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10415
10416         * fold-const.c (fold_truthop): Properly check for FP RHS.
10417
10418 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
10419
10420         * toplev.h (note_deferall_of_defined_inline_function): Declare.
10421         * toplev.c (note_deferral_of_defined_inline_function): New
10422         function, split out from ...
10423         (rest_of_compilation): ... here.  Use it.
10424
10425 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10426
10427         * expr.c (store_constructor): Don't call clear_storage if size is
10428         variable.
10429
10430 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10431
10432         * Makefile.in (toplev.o): Depend on loop.h.
10433
10434         * dwarfout.c: Include tm_p.h.
10435
10436         * emit-rtl.c (restore_emit_status): Mark parameter with
10437         ATTRIBUTE_UNUSED.
10438
10439         * final.c (final_scan_insn): Likewise.
10440
10441         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
10442         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
10443         flow_depth_first_order_compute, flow_loop_pre_header_find,
10444         flow_loop_tree_node_add, flow_loops_tree_build,
10445         flow_loop_level_compute, flow_loops_level_compute,
10446         flow_loop_outside_edge_p): Add prototypes.
10447         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
10448
10449         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
10450         Mark with ATTRIBUTE_NORETURN.
10451
10452         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
10453
10454         * local-alloc.c (no_conflict_p): Likewise.
10455
10456         * loop.c (insert_bct): Hide definitions of variables with hidden
10457         usage.
10458         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
10459
10460         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
10461         with ATTRIBUTE_UNUSED.
10462         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
10463         (reg_scan): Likewise.
10464
10465         * reload.c (find_reloads): Remove unused variables `changed'.
10466
10467         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
10468         away const-ness.
10469         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
10470         Remove unused variable `insn'.
10471
10472         * toplev.c: Include loop.h.
10473         (report_file_and_line): Remove unnecessary prototype.
10474
10475         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
10476
10477         * unroll.c (biv_total_increment): Likewise.
10478
10479 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10480
10481         * reload1.c (emit_input_reload_insns): Restore old behaviour
10482         wrt. 'special' reloads.
10483
10484 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
10485
10486         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
10487         hash.h.  (cse.c): Don't depend on hashtab.h.
10488
10489         * cse.c: Don't include hashtab.h.
10490         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
10491         of dead functions.
10492         * ggc-simple.c: Don't include hash.h.
10493
10494 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
10495
10496         * dwarf2out.c (add_abstract_origin_attribute): Call
10497         gen_abstract_function on our function context.
10498
10499 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
10500
10501         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
10502
10503 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10504
10505         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
10506         case in switch.
10507
10508 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10509
10510         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
10511         constraints to "a!r".
10512
10513 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
10514
10515         * Makefile.in (calls.o): Depend on function.h.
10516         (alias.o): Likewise.
10517
10518 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
10519
10520         * reload1.c (emit_reload_insns): Break out code and variables into...
10521         (input_reload_insns, other_input_address_reload_insns,
10522         other_input_reload_insns, input_address_reload_insns,
10523         inpaddr_address_reload_insns, output_reload_insns,
10524         output_address_reload_insns, outaddr_address_reload_insns,
10525         operand_reload_insns, other_operand_reload_insns,
10526         other_output_reload_insns): ... new static variables, and...
10527         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
10528         do_output_reload): ... new functions.
10529
10530 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10531
10532         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
10533
10534 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10535
10536         * md.texi: Add c4x constraints documentation.
10537
10538 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
10539
10540         * config/i386/dgux.c (struct option): Rename to
10541         lang_independent_option.
10542         (struct m_options): Add description field.
10543         (output_options): Rename option type, add sep declaration, output
10544         ix86_cpu_string and ix86_arch_string only if set.
10545         (output_file_start): Rename option type.
10546
10547 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
10548
10549         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
10550         stmp-int-hdrs.
10551         (libgcc2.a): Similarly.
10552
10553 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
10554
10555         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
10556         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
10557         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
10558
10559 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
10560
10561         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
10562         Remove redundant initialization of "frexpon" and "expon".
10563
10564 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10565
10566         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
10567
10568         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
10569         (store_constructor_field, expand_expr): Pass new arg.
10570
10571 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
10572
10573         * Makefile.in (explow.o): Depend on function.h.
10574
10575         * stor-layout.c (set_sizetype): Fix typo.
10576
10577 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
10578
10579         * function.c (cfun): Renamed from current_function.  All users
10580         changed.
10581         * function.h (cfun): Rename declaration as well.
10582
10583         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
10584         to be of type regset_head, not regset.  All users changed by adding
10585         address operator.
10586         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
10587
10588 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10589
10590         * config/c4x/rtems.h: New file.
10591
10592 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
10593
10594         * reload1.c (spill_failure): Take class of failed reload as argument
10595         and print it.  Caller changed.
10596
10597 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10598
10599         * rs6000.h (SUBTARGET_DEFAULT): New macro.
10600         (TARGET_SWITCHES): Allow subtargets to default switches.
10601         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
10602
10603 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
10604
10605         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
10606         in a main program.
10607
10608 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
10609
10610         * cccp.c (main): Define __STDC_VERSION__ as necessary.
10611         * cppinit.c (cpp_handle_option): Likewise.
10612
10613         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
10614         determine when to define.
10615
10616 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
10617
10618         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
10619         cmove with mismatched test and data modes.
10620
10621 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
10622
10623         * c-typeck.c (c_expand_start_case): Don't warn for long switch
10624         in system headers.
10625
10626 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10627
10628         * alias.c: Minor reformatting.
10629         * flow.c: Likewise.
10630         * regs.h: Likewise.
10631         * stor-layout.c: Likewise.
10632         * fold-const.c: Likewise.
10633         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
10634         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
10635         not arg itself.
10636         (size_int_wide): Cache nodes even if garbage collecting.
10637         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
10638         of SAVE_EXPR has no side effects.
10639         * cse.c: Move a comment.
10640         * tree.c: Minor reformatting.
10641         (int_size_in_bytes): Return -1 if constant overflows.
10642
10643 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10644
10645         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
10646
10647 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
10648
10649         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
10650         after any change to c-parse.in, even if objc-parse.y didn't
10651         change.  Oops.
10652
10653 1999-12-18  David S. Miller  <davem@redhat.com>
10654
10655         * toplev.c (rest_of_compilation): Restore BLOCK tree
10656         reconstruction and branch shortening changes lost in
10657         December 18th change.
10658
10659 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
10660
10661         * config/arm/linux-elf.h: Change all instances of
10662         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
10663         * config/arm/uclinux-elf.h: Likewise.
10664
10665 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
10666
10667         * toplev.c (notice, vmessage, v_message_with_file_and_line,
10668         v_message_with_decl, file_and_line_for_asm,
10669         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
10670         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
10671         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
10672         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
10673         pfatal_with_name, fatal_io_error, need_error_newline,
10674         last_error_function, last_error_tick, announce_function,
10675         default_print_error_function, print_error_function,
10676         report_error_function, fnotice, error_with_file_and_line,
10677         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
10678         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
10679         warning_with_decl, warning_for_asm, warning, pedwarn,
10680         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
10681         diagnostic.c
10682         (compile_file): Use fnotice instead of notice.  Adjust call.
10683
10684         * diagnostic.c: New file.
10685
10686         * Makefile.in (OBJS): Include diagnostic.o
10687         (diagnostic.o): Define dependence.
10688
10689 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10690
10691         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
10692         Tweak formatting.
10693
10694 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10695
10696         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
10697
10698 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
10699
10700         * fixtests.c (is_cxx_header): New fn, split out of
10701         double_slash_test.
10702         (else_endif_label): Allow "#endif // comment" in C++ headers,
10703         as determined by is_cxx_header.
10704         * fixfixes.c (else_endif_label_fix): Update comment.
10705         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
10706         a tty.
10707         * genfixes: Correct double thinko in commandline parsing.
10708         * hackshell.tpl: Generate correct sh syntax for bypass
10709         entries.
10710
10711         * inclhack.def (all): Whenever an inserted preprocessor
10712         conditional is split over multiple lines, use double
10713         backslashes in this file so the fixed header will be readable.
10714
10715         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
10716         and add bypass entry for correct version of this header.
10717         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
10718         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
10719
10720         (hpux8_bogus_inlines): New fix, split from...
10721         (ultrix_atof_param) ... here.
10722         (math_expression): Add bypass entry keyed to glibc comment
10723         indicating the problem has been dealt with; disable
10724         unnecessary sed operations; update commentary.
10725         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
10726         add select and bypass entries, simplify shell operation.
10727         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
10728
10729         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
10730          ultrix_atof_param): Add select entry.
10731         (stdio_va_list, sunos_mather_decl): Add bypass entry.
10732         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
10733         comments with the fixes they describe.
10734
10735         * c-parse.in (string action): Do not warn about ANSI string
10736         concatenation in system headers.  Affects C parser only.
10737         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
10738
10739 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
10740
10741         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
10742         compiling libgcc2 the macro depends always on arch cpp defines.
10743
10744 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
10745
10746         * loop.c (insert_loop_mem): Don't record MEMs from inside
10747         EXPR_LISTs.
10748
10749 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
10750
10751         * regclass.c (regclass): Do not use flowgraph when not optimizing.
10752
10753         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
10754         notes too, create one when replacement failed, attempt to simplify
10755         resulting notes.
10756         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
10757         or REG_EQUIV notes.
10758
10759 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
10760
10761         * crtstuff.c (__dso_handle): Declare.
10762         (__cxa_finalize): Likewise.
10763         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
10764         non-NULL.
10765
10766         * invoke.texi: Document -fuse-cxa-atexit.
10767
10768         * tree.h (ptr_type_node): Document.
10769         (const_ptr_type_node): Likewise.
10770
10771 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10772
10773         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
10774         (optimize_reg_copy_2): Likewise.
10775         (optimize_reg_copy_3): Likewise.
10776         (fixup_match_2): Likewise.
10777         (regmove_optimize): Likewise.
10778         (fixup_match_1): Liekwise.
10779
10780         * i386.md (HI to SImode promoting splitters): Rewrite.
10781         (pushsf mem peep2): New.
10782         (testhi to andhi peep2): Remove.
10783         * i386.h (x86_promote_QImode): New.
10784         (TARGET_PROMOTE_QImode): New.
10785         (PREDICATE_CODES): Add promotable_binary_operator.
10786         * i386.c (x86_promote_QImode0: New.
10787         (promotable_binary_operator): New.
10788         * i386-protos.h (promotable_binary_operator): New.
10789
10790         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
10791         condition.
10792         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
10793
10794 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
10795
10796         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
10797         * function.c (insert_block_after_note): Remove.
10798         (retrofit_block): Likewise.
10799         (identify_blocks): Fix indentation.
10800         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
10801         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
10802         * function.h (insert_block_after_note): Remove prototype.
10803         (retrofit_block): Likewise.
10804         * integrate.c (expand_inline_function): Don't call
10805         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
10806         just expand_start_bindings.  Use the block_map to remap old
10807         NOTE_BLOCKs to new ones.
10808         (integrate_decl_tree): Keep track of remapped blocks.
10809         * integrate.h (struct inline_remap): Add block_map.
10810         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
10811         NOTE_BLOCK on the notes.
10812         (expand_start_bindings): Rename to ...
10813         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
10814         (expand_end_bindings): Set NOTE_BLOCK.
10815         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
10816         reconstruct the BLOCK tree.
10817         * tree.h (expand_start_bindings): Macroize.  Call ...
10818         (expand_start_bindings_and_block): New function.
10819
10820 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
10821
10822         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
10823         to match the format.
10824
10825 1999-12-16  David S. Miller  <davem@redhat.com>
10826
10827         * expr.c (emit_move_insn_1): Only emit clobbers if one of
10828         the outputs is a SUBREG.
10829         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
10830         change.
10831
10832         * config/sparc/sparc.c (epilogue_renumber): Add default case
10833         to switch stmt.
10834
10835 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10836
10837         * toplev.c (rest_of_compilation): Run branch shortening after
10838         reg-stack.
10839
10840         * regclass.c (loop_depth): Remove
10841         (scan_one_insn): Do not handle LOOP_NOTE insns.
10842         (regclass): Go through basic blocks and set loop_cost
10843
10844 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
10845
10846         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
10847
10848 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10849
10850         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
10851         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
10852         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
10853
10854 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
10855
10856         * loop.c (insert_loop_mem): Ignore memory clobbers.
10857
10858         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
10859         to (OP A B).
10860
10861 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
10862
10863         * profile.c: Remove redundant #include "output.h".
10864
10865         * h8300.md (HImode preinc peephole): Fix typo.
10866
10867 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
10868
10869         * function.c (retrofit_block): Abort if we don't find a suitable insn.
10870         (insert_block_after_note): Abort if we don't have a previous block.
10871         Remove FN parameter.
10872         * function.h: Adjust.
10873
10874 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
10875
10876         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
10877         argument more than once.
10878
10879 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
10880
10881         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
10882
10883 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
10884
10885         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
10886
10887 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10888
10889         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
10890         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
10891         update stack_alignment_needed.
10892         (prepare_function_start): Initialize stack_alignment_needed
10893         * function.h (struct function): Add field stack_alignment_needed.
10894
10895 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10896
10897         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
10898         Handle live_throughout / dead_or_set instead of live_before /
10899         live_after.
10900         (save_call_clobbered_regs): Get register livenessinformation from
10901         chain->live_throughout.
10902         (add_stored_regs): New function.
10903         (insert_restore, insert_save): Add restored / saved registers to
10904         dead_or_set.
10905         * global.c (reg_dies): New parameter chain.
10906         (reg_becomes_live): Third parameter is regs_set now.
10907         Changed all callers.
10908         (reg_dies): New parameter chain.  Changed all callers.
10909         (build_insn_chain): Set live_throughout instead of
10910         live_before / live_after.
10911         * reload.h (struct insn_chain): Replace members live_before /
10912         live_after with live_throughout / dead_or_set.
10913         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
10914         instead of live_before / live_after.
10915         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
10916         (order_regs_for_reload, find_reg, finish_spills): Likewise.
10917         (choose_reload_regs_init): Likewise.
10918         * stupid.c (current_chain, find_clobbered_regs): Delete.
10919         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
10920         instead of chain->live_before / chain->live_after.
10921         (mark_hard_ref): New function.
10922         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
10923
10924 1999-12-15  David S. Miller  <davem@redhat.com>
10925
10926         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
10927
10928 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
10929
10930         * flow.c (calculate_loop_depth): Make global, remove prototype,
10931         rewrite to use new loop infrastructure.
10932         (find_basic_block): Remove calculate_loop_depth call.
10933         * toplev.c (rest_of_compilation): Call find_basic_block.
10934         * output.h (calculate_loop_depth): Declare.
10935
10936         * flow.c (dump_flow_info): Dump loop_depth.
10937         (flow_loops_nodes_find): Increase loop_depth for basic block in the
10938         body.
10939         (flow_loops_find): Initialize the loop_depth for each basic block.
10940
10941 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
10942
10943         * tree.c (decl_function_context): Handle virtual functions.
10944
10945         * tlink.c (scan_linker_output): Don't look in demangled name when
10946         looking for linker output keywords.
10947
10948         * dwarfout.c (output_type): We can defer namespace-scope classes.
10949
10950 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
10951
10952         * regclass.c (record_reg_classes): Update comment for merging
10953         register class preferences in reg->reg copies.  Tighten conditions
10954         for merging register class preferences in reg->reg copies.
10955
10956 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
10957
10958         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
10959
10960 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
10961
10962         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
10963         (INIT_SECTION_ASM_OP): Delete.
10964         (FINI_SECTION_ASM_OP): Delete.
10965         (STARTFILE_SPEC): Define to hold just crtbegin.o.
10966
10967 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
10968
10969         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
10970         the abstract origin wasn't emitted.
10971
10972         * dwarf2out.c (class_scope_p): New fn.
10973         (gen_subprogram_die): Use it.
10974         (gen_variable_die): Use it.  Tweak logic.
10975         (gen_struct_or_union_type_die): Check context_die to determine
10976         if we're function-local.
10977         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
10978
10979 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
10980
10981         * loop.c (check_dbra_loop): Can't reverse a biv that has
10982         maybe_multiple set.
10983
10984 1999-12-14  Nick Clifton  <nickc@cygnus.com>
10985
10986         * config/arm/arm.c: Add support for -mcpu=arm720 command line
10987         switch.
10988
10989 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10990
10991         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
10992         for givs made from biv increments.
10993
10994 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
10995
10996         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
10997         * alpha.c (override_options): Recognize -mcpu=ev67.
10998         * alpha.h (CPP_CPU_EV67_SPEC): New.
10999         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
11000         (EXTRA_SPECS): Update.
11001
11002 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
11003
11004         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
11005         appropriate for -lang-c89 and -std=*.
11006         * cppinit.c (cpp_handle_option): Likewise.
11007         (new_pending_define): New, split out from cpp_handle_option.
11008         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
11009         or enable trigraphs for -ansi/-std=*.
11010
11011         * ginclude/stdarg.h (__va_copy): New.
11012         (va_copy): Don't define for C89.
11013
11014 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
11015
11016         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
11017         for long long multiply-accumulate.
11018
11019 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11020
11021         * regclass.c (scan_one_insn): Set loop_cost to 1 when
11022         optimizing for size.
11023
11024 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11025
11026         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
11027         if something changed.  Back out that part of yesterday's changes.
11028
11029         * loop.c (loop_max_reg): New static variable.
11030         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
11031         max_reg_num.
11032         (scan_loop): Call reg_scan_update whenever we may have added new
11033         registers, and update loop_max_reg.
11034
11035 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11036
11037         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
11038         when source does not die.
11039
11040         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
11041
11042 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
11043
11044         * config/sparc/linux64.h (TARGET_LIVE_G0,
11045         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
11046         variants on Linux.
11047         * config/sparc/linux.h (TARGET_LIVE_G0,
11048         TARGET_BROKEN_SAVERESTORE): Likewise.
11049         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
11050         TARGET_BROKEN_SAVERESTORE): Likewise.
11051
11052         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
11053         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
11054         not %g2.
11055         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
11056         as sparc64 block profiling register.
11057         * config/sparc/sparc.c (sparc_override_options): Allow block
11058         profiling with -m32.
11059         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
11060         profiling register.
11061         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
11062         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
11063         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
11064
11065         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
11066         for sparc64.
11067         * config/sparc/sparc.h: Likewise.
11068         * config/sparc/xm-sysv4-64.h: Likewise.
11069         * config/float-sparc.h: Likewise.
11070         * glimits.h: Likewise.
11071         * longlong.h: Likewise.
11072
11073         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
11074         (ASM_IDENTIFY_GCC): Remove.
11075
11076 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
11077
11078         * combine.c (combine_simplify_rtx): Don't make shared rtl.
11079         (simplify_logical): Likewise.
11080
11081 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
11082
11083         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
11084         * cppfiles.c (INO_T_EQ): Likewise.
11085
11086 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
11087
11088         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
11089         * i386/mingw32.h (LIB_SPEC): Likewise.
11090         (STARTFILE_SPEC): Likewise.
11091         * i386/uwin.h (LIB_SPEC): Likewise.
11092         (STARTFILE_SPEC): Likewise.
11093
11094         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
11095         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
11096
11097 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
11098
11099         * combine.c (combine_simplify_rtx): Fix order of checks for
11100         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
11101
11102 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
11103
11104         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
11105         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
11106
11107 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
11108
11109         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
11110         defined.
11111         * regclass.c (inv_reg_alloc_order): New array.
11112         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
11113
11114         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
11115         counted_for_groups, counted_for_nongroups.  Add fields rld and
11116         n_reloads.
11117         * reload.c (push_secondary_reload): Don't set nongroup field of
11118         new reloads.
11119         (push_reload): Likewise.
11120         (find_reloads): Delete code to compute nongroup fields.
11121         * reload1.c (reload_insn_firstobj): New static variable.
11122         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
11123         users changed.
11124         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
11125         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
11126         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
11127         functions.
11128         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
11129         functions.
11130         (struct hard_reg_n_uses): Deleted.
11131         (potential_reload_regs): Deleted.
11132         (init_reload): Initialize spilled_pseudos and pseudos_counted.
11133         (reload): Don't try to allocate reload registers if we already know
11134         we have to make another pass.  Call select_reload_regs.  Free memory
11135         starting with reload_firstobj when starting another pass.
11136         Don't allocate spilled_pseudos.
11137         (calculate_needs_all_insns): Call copy_reloads for an insn that
11138         needs reloads; don't call calculate_needs.
11139         (spill_cost): New static array.
11140         (used_spill_regs_local): New static variable.
11141         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
11142         to compute potential_reload_regs.
11143         (find_reload_regs): Completely rewritten to use find_reg.
11144         (allocate_reload_reg): Don't test counted_for_groups or
11145         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
11146         all cllers changed.
11147         (choose_reload_regs): Add fallback code that uses the existing
11148         register allocation from find_reload_regs.
11149
11150 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
11151
11152         * flow.c (create_edge_list): Cast xmalloc return value.
11153
11154 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
11155
11156         * doprnt.c: Remove incorrect comment closure.
11157
11158         * cse.c: Fix a few minor whitespace goofs.
11159
11160 1999-12-13  Don Bowman  <don@pixstream.com>
11161
11162         * mips/vxworks.h: Fix problem with comment termination.
11163         (EXTRA_SECTIONS): Add in_sbss.
11164         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
11165
11166 1999-12-12  David S. Miller  <davem@redhat.com>
11167
11168         * cse.c (struct cse_reg_info): Add hash_next member,
11169         reorder rest of struct for better packing on 64-bit
11170         hosts.
11171         (cse_reg_info_tree): Kill.
11172         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
11173         REGHASH_FN): New custom pow2 hash mechanism.
11174         (NBUCKETS): Kill.
11175         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
11176         use a pow2 hash table.
11177         (get_cse_reg_info): Rework to use new REGHASH.
11178         (new_basic_block): Likewise, use HASH_SIZE, and inline
11179         free_element call.
11180         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
11181         and inline free_element call.
11182         (lookup_as_function, insert, flush_hash_table, invalidate,
11183         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
11184         invalidate_for_call, use_related_value, find_comparison_args,
11185         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
11186         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
11187         get_element): Kill.
11188
11189 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
11190
11191         * cse.c (cse_basic_block): Free qty_table consistently.
11192
11193 1999-12-12  David S. Miller  <davem@redhat.com>
11194             Jakub Jelinek    <jakub@redhat.com>
11195
11196         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
11197         SUBREGs by hand, gen the appropriate hard reg directly.
11198         (movtf reg/mem split): Likewise and alter_subreg on destination
11199         if necessary.
11200         (movtf mem/reg split): Similarly.
11201         (movdf_cc_sp64): Rename from hidden pattern.
11202         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
11203         (movtf_cc_sp64, following split): New pattern and splitter.
11204         (movdf_cc_reg_sp64): Rename from hidden pattern.
11205         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
11206         TARGET_HARD_QUAD.
11207         (movtf_cc_reg_sp64, following split): New pattern and splitter.
11208
11209 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
11210
11211         * loop.c (load_mems): Don't hoist written floating point mem
11212         if -ffloat-store.
11213
11214 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
11215
11216         * except.h (struct eh_queue): Add `next' pointer.
11217         (struct eh_status): Make x_ehqueue a pointer.
11218         (push_ehqueue):  Declare.
11219         (pop_ehqueue): Likewise.
11220         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
11221         pointer.
11222         (expand_fixup_region_end): Likewise.
11223         (expand_leftover_cleanups): Likewise.
11224         (push_ehqueue): Define.
11225         (pop_ehqueue): Likewise.
11226         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
11227         than doing it inline.
11228         (expand_start_all_catch):  Adjust now that ehqueue is a
11229         pointer.
11230         (mark_eh_queue): Mark all level of the queue.
11231         (mark_eh_status):  Adjust now that ehqueue is a
11232         pointer.
11233         (init_eh_for_function): Allocate ehqueue.
11234         (free_eh_status): Free it.
11235         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
11236         expansion for a fixup.
11237
11238 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11239
11240         * gthr-single.h (__gthread_active_p): Add prototype arguments.
11241
11242         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
11243         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
11244         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
11245         function_ptr, getpagesize, __enable_execute_stack,
11246         __enable_execute_stack, __clear_insn_cache,
11247         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
11248         _cleanup, _exit, __default_terminate, __terminate_func,
11249         __terminate, __empty, __throw, new_eh_context,
11250         eh_context_initialize, eh_context_static, eh_context_specific,
11251         get_eh_context, __get_eh_context, __get_eh_info,
11252         init_reg_size_table, eh_threads_initialize,
11253         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
11254         __unwinding_cleanup, throw_helper, __throw, __rethrow,
11255         __pure_virtual): Add prototype arguments.
11256         (__bb_exit_func): Cast a sizeof to long when comparing against one.
11257         Cast a signed value to unsigned long when comparing against one.
11258         (new_eh_context): Wrap in _GTHREADS macro.
11259         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
11260         declaration.
11261         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
11262         (throw_helper): Initialize variables `handler_p' and `pc_p'.
11263
11264 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11265
11266         * combine.c (record_promoted_value): Remove unused variable
11267         `links2'.
11268
11269         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
11270
11271         * global.c (record_conflicts): Likewise for `j'.
11272
11273         * genoutput.c (output_insn_data): Don't unnecessarily cast away
11274         const-ness.
11275
11276 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11277
11278         * i386-protos.h (output_387_binary_op, output_fix_trunc,
11279         output_fp_compare): Constify a char*.
11280
11281         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
11282         static prototypes.
11283         (override_options, ix86_comp_type_attributes, print_operand,
11284         output_387_binary_op, output_fix_trunc, output_fp_compare):
11285         Constify a char*.
11286         (ix86_sched_reorder): Mark parameter `clock_var' with
11287         ATTRIBUTE_UNUSED.
11288
11289         * i386.h (DEBUG_PRINT_REG): Constify a char*.
11290
11291 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
11292
11293         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
11294         operand, for use in the Java front-end.
11295
11296 1999-12-10  Ben Collins  <bcollins@debian.org>
11297
11298         * configure.in: Fix typo for "-64" in 64bit as check.
11299         * configure: Rebuilt.
11300
11301 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
11302
11303         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
11304         appropriate.
11305
11306 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11307
11308         * c-parse.in (string): With -Wtraditional, warn if ANSI string
11309         concatenation is utilized.
11310
11311         * invoke.texi (-Wtraditional): Document it.
11312
11313 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11314
11315         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
11316         Cast a ptrdiff_t to long and pass it to printf with %ld.
11317
11318 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
11319
11320         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
11321         68881, we have no 68881 registers at all.
11322         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
11323         value in a 68881 register if it is available.
11324
11325 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
11326
11327         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
11328         for long long multiply-accumulate.
11329
11330 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
11331
11332         * loop.c (insert_loop_mem): Undo last change.
11333
11334 1999-12-10  David S. Miller  <davem@redhat.com>
11335
11336         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
11337         New functions.
11338         * config/sparc/sparc-protos.h: Add them.
11339         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
11340         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
11341         constraints which use those helpers.
11342         (EXTRA_CONSTRAINT): Use this new macro.
11343         * md.texi: Update sparc target constraints documentation.
11344         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
11345         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
11346         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
11347         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
11348         (movsf high/lo_sum split): Rework for new patterns.
11349         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
11350
11351 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
11352
11353         * c-common.c (c_common_nodes_and_builtins):
11354         Create __builtin_ptrdiff_t and __builtin_size_t.
11355
11356 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
11357
11358         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
11359
11360 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11361
11362         * regclass.c (globalize_reg): Re-instate test that allows
11363         fixed registers to be declared as a variable even after functions
11364         are defined.
11365
11366 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11367
11368         * i386.md (cpu attribute): Add "athlon".
11369         (athlon_decode): New attribute.
11370         (Athlon scheduling units definitions): New.
11371         (fcmp and shld patterns): Set athlon_decode to "vector".
11372         * i386.c (athlon_cost): New.
11373         (m_ATHLON): New.
11374         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
11375         x86_use_sahf): Set for Athlon.
11376         (x86_use_fiop): Unset for Athlon.
11377         (override_options): Define Athlon alignments and "athlon" name.
11378         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
11379         * i386.h (TARGET_ATHLON): New.
11380         (enum processor_type): Add PROCESSOR_ATHLON.
11381         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
11382         for CPU_DEFAULT==5
11383         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
11384
11385 1999-12-09  Andreas Jaeger  <aj@suse.de>
11386
11387         * loop.c (record_biv): Declare parameter as int.
11388
11389         * config/i386/i386-protos.h: Declare long_memory_operand.
11390
11391 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
11392
11393         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
11394         EXPR_WITH_FILE_LOCATION.
11395
11396 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
11397
11398         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
11399         in expander.
11400
11401         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
11402
11403         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
11404         updating code.
11405
11406 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
11407
11408         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
11409         default on linux64 again.
11410         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
11411         models for multilibing.
11412         * genmultilib: Accept | as alternative separator within a set in
11413         MULTILIB_OPTIONS.
11414
11415         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
11416
11417         * calls.c (precompute_arguments): Make sure initial_value contains
11418         value pseudo which CSE expects.
11419         * cse.c (struct set): New entry orig_src.
11420         (cse_insn): Set it early on entry, use it for libcall EQUIV note
11421         replacement.
11422
11423 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
11424
11425         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
11426
11427 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
11428
11429         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
11430
11431 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
11432
11433         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
11434         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
11435
11436         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
11437         if TARGET_ARCH32.
11438
11439         * longlong.h: Merge in changes from glibc.
11440         Also don't clobber %g2 register in 32bit SPARC assembly, so that
11441         -mno-app-regs libgcc can be compiled.
11442         * libgcc2.c: Add defines so that the updated longlong.h
11443         can be used in libgcc2.a. Also, make sure on most architectures
11444         (at least on all which have optimized code in longlong.h defined
11445         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
11446
11447 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
11448
11449         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
11450         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
11451         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
11452         is GNU ld.
11453         * configure: Rebuilt.
11454
11455 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
11456
11457         * alpha.c (secondary_reload_class): For !BWX, sub-simode
11458         outputs require a register.
11459
11460 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
11461
11462         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
11463         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
11464         functions like dptoul will be resolved.
11465         (libgcc2.a): Make sure that the object files from DPBIT are named
11466         differently (prefix `_dp') from those that would be coming from
11467         FPBIT.
11468
11469 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
11470
11471         * configure.in: When target is sparc* and tm_file contains 64,
11472         test for 64bit support in assembler.  If not supported, remove
11473         sparc/t-sol2-64 from target-dependent Makefile fragments.
11474         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
11475         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
11476         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
11477         * acconfig.h (AS_SPARC64_FLAG): Added.
11478         * configure, config.in: Rebuilt.
11479         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
11480         support.  Use AS_SPARC64_FLAG.
11481
11482 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
11483
11484         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
11485         suitable for holding OFmode values so that gcc works with complex
11486         quad long doubles.
11487         (hard_64bit_mode_classes): Likewise.
11488
11489         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
11490         so that it is actually matched.
11491         (sethi_di_medlow): Likewise.
11492
11493         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
11494         as legitimate constant if -mvis.
11495         * config/sparc/sparc.md (movtf): Likewise.
11496         (clear_sf): Use const_double_operand.
11497         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
11498
11499         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
11500         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
11501         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
11502         routines, _Qp_* cannot be handled like that now.
11503         (INIT_TARGET_OPTABS): Likewise.
11504         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
11505         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
11506         sparc_emit_float_lib_cmp if ARCH64 and soft float.
11507         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
11508         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
11509         divtf3, sqrttf3): New expanders.
11510         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
11511         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
11512         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
11513         non-_hq patterns.
11514
11515         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
11516         * configure: Rebuilt.
11517         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
11518         -mcpu is given and we're doing 64bit compiles.
11519
11520 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
11521
11522         * loop.h (struct induction): Add multi_insn_incr.
11523         * loop.c (basic_induction_var): New multi_insn_incr argument.
11524         Set it if we search back through previous insns for the biv.
11525         (record_biv): New multi_insn_incr argument; fill in struct induction.
11526         (strength_reduce): Discard an iv with multiple bivs, any of
11527         which require multiple insns to increment.
11528
11529 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
11530
11531         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
11532         documentation.
11533
11534 1999-12-06  David S. Miller  <davem@redhat.com>
11535
11536         * combine.c (check_promoted_subreg): Do not conditionalize this upon
11537         PROMOTE_FUNCTION_RETURN.
11538
11539 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
11540
11541         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
11542         and handle REG_UNUSED note on insn.
11543
11544         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
11545         inner_mask instead of mask.
11546
11547 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
11548
11549         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
11550         zero if there was an error.
11551
11552 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
11553
11554         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
11555         output string.
11556
11557         * longlong.h: Fix clobbers in SPARC asm statements.
11558
11559         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
11560         valid sethi operations when TARGET_ARCH64.
11561
11562         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
11563         always use move_by_pieces to avoid infinite recursion.
11564         (restore_fixed_argument_area): Likewise.
11565
11566         * combine.c (check_promoted_subreg, record_promoted_value): New
11567         functions.
11568         (combine_instructions): Use them to retain nonzero and sign bit
11569         information after SUBREGs are eliminated by optimizations in
11570         this pass if PROMOTE_FUNCTION_RETURN.
11571
11572         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
11573         .register declaration. Don't use variables with __ prefixes.
11574
11575 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
11576
11577         * fold-const.c (optimize_bit_field_compare): Only use one mode
11578         for both RHS and LHS in non-constant case.
11579
11580 1999-12-06  Nathan Sidwell  <nathan@acm.org>
11581
11582         * frame.c (start_fde_sort): Only allocate erratic array, if
11583         linear one was allocated. Return allocated flag.
11584         (fde_insert): Only insert, if there's a valid array.
11585         (fde_end_sort): Split, sort and merge if linear and erratic
11586         arrays exist, else just sort linear one.
11587         (search_fdes): New function. Linear search through original fde
11588         structure.
11589         (frame_init): Permit multiple initializations. Cope with
11590         memory shortages.
11591         (find_fde): Fallback on linear search, if failed to sort array.
11592         (__deregister_frame_info): Only free sorted array, if we
11593         allocated it.
11594
11595 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
11596
11597         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
11598
11599 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
11600
11601         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
11602
11603 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
11604
11605         * tree.h (special_function_p): Declare.
11606         * calls.c (special_function_p): Make it global.  Don't take `name'
11607         as a parameter.  Fix typo in 1999-11-28 change.
11608         (expand_cal): Adjust.
11609
11610 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
11611
11612         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
11613         * tree.h (EXPR_WFL_FILENAME): Define in terms of
11614         EXPR_WFL_FILENAME_NODE.
11615         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
11616         the TREE_CHAIN.
11617         * print-tree.c (print_note): Print TREE_PRIVATE and
11618         TREE_PROTECTED.
11619
11620         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
11621         the original die cannot be found.
11622
11623         * varray.h (varray_head_tag): Add elements_used.
11624         (VARRAY_PUSH): New macro.
11625         (VARRAY_POP): Likewise.
11626         (VARRAY_TOP): Likewise.
11627         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
11628         types.
11629         * varray.c (varray_init): Initialize elements_used.
11630         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
11631         (INTEGRATE_H): New variable.
11632         (integrate.o): Depend on INTEGRATE_H.
11633         (unroll.o): Likewise.
11634
11635         * function.h (insert_block_after_note): Declare.
11636         * function.c (insert_block_after_note): Split out from ...
11637         (retrofit_block): ... here.
11638
11639         * stmt.c (expand_fixup): Fix typo in comment.
11640
11641 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11642
11643         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
11644         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
11645         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
11646         (regmove_optimize, fixup_match_1): Likewise.
11647
11648 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11649
11650         * flow.c (flow_loops_dump): Add missing argument when calling
11651         flow_loop_nested_p.
11652
11653 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
11654             Greg McGary  <gkm@gnu.org>
11655
11656         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
11657         (init_attributes): Add A_NO_LIMIT_STACK.
11658         (decl_attributes): Handle A_NO_LIMIT_STACK.
11659         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
11660         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
11661         Handle stack bounds checking.
11662         * flags.h (flag_stack_check): Use the word 'probe' rather than
11663         'check', because the flag doesn't actually cause any checking to
11664         be done.
11665         * function.c (expand_function_start): Set
11666         current_function_limit_stack.
11667         * function.h (struct function): Add limit_stack.
11668         (current_function_limit_stack): Define.
11669         * invoke.texi (Code Gen Options): Document new options.
11670         * rtl.h: Declare stack_limit_rtx.
11671         * toplev.c (stack_limit_rtx): New variable.
11672         (decode_f_option): Handle new options -fstack-limit-register=REG,
11673         -fstack-limit-symbol=IDENT, -fno-stack-limit.
11674         (main): Add stack_limit_rtx as GC root.
11675         * tree.h (DECL_NO_LIMIT_STACK): New macro.
11676         (struct tree_decl): New member no_limit_stack.
11677
11678         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
11679         stack_limit_rtx.
11680         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
11681         (conditional_trap+1): Get new mnemonic correct.
11682         (conditional_trap+2): New pattern for DImode traps.
11683
11684         * config/m68k/m68k.c (output_function_prologue): Handle
11685         stack_limit_rtx.
11686         * config/m68k/m68k.md (trap): New insn.
11687         (conditional_trap): New insn.
11688         * md.texi (Standard Names): Document `trap' and
11689         `conditional_trap'.
11690         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
11691         so a cc0 setter doesn't get emitted at some random place in the
11692         function.
11693
11694         * config/i960/i960.md (trap): New insn.
11695         (conditional_trap): New expander.
11696         (conditional_trap+1, conditional_trap+2): New insns for signed
11697         and unsigned cases.
11698         * config/i960/i960.c (i960_function_prologue): Use
11699         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
11700
11701 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
11702                           Geoffrey Keating  <geoffk@cygnus.com>
11703
11704         * flags.h (warn_padded, warn_packed): Add global var decls.
11705         * toplev.c (warn_padded, warn_packed): Add global var defns.
11706         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
11707         * stor-layout.c (layout_record): Add local variable `type'
11708         to hold often-used TREE_TYPE (field).  Add local variable
11709         `unpacked_align' to hold alignment that would be in force
11710         if no `packed' attribute were present.  Warn if `packed' attribute
11711         is unnecessary, or even harmful.  Warn when gcc inserts padding
11712         to satisfy alignment requirements of members.  Use NULL_TREE
11713         when checking whether var_size is set.
11714         * invoke.texi: Document new flags.
11715
11716 1999-12-03  Nathan Sidwell  <nathan@acm.org>
11717
11718         * frame.c (fde_split): Reimplement to avoid variable sized array.
11719
11720 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11721
11722         * combine.c (try_combine): Before fixing up LOG_LINKS for the
11723         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
11724
11725 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
11726
11727         * invoke.texi: Document the mips option -mno-crt0
11728
11729 1999-12-02  Mike Karr  <mkarr@mathworks.com>
11730
11731         * cccp.c (argdata): Added free_ptr member.
11732         (macroexpand): Initialize free_ptr of each argument. When an
11733         argument's buffers are freed, if the argument's free_ptr corresponds
11734         to a buffer on the input stack, then return the free_ptr to that stack
11735         frame, otherwise, free it.
11736         (macarg): If an argument begins and ends on the same input stack level,
11737         then transfer the free_ptr of that buffer to the argument in case
11738         the stack is popped during the processing of a subsequent argument.
11739
11740 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
11741
11742         * loop.c (note_reg_stored): New function.
11743         (struct note_reg_stored_arg): New structure.
11744         (try_copy_prop): Change to be more conservative; only replace within
11745         one extended basic block and stop replacing if a store to the
11746         replacement reg is seen.
11747
11748 1999-12-02  Nick Clifton  <nickc@cygnus.com>
11749
11750         * config/fp-bit.c: Initialise all fields of the NAN
11751         constants.
11752
11753         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
11754         to HANDLE_PRAGMA.
11755
11756 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
11757
11758         * i386.md (extend?f?f2): Force the input into a register, not
11759         the output.
11760
11761 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
11762
11763         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
11764         regclass' sake.
11765         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
11766         alternative because setting up 64bit constant is usually costly,
11767         especially when reload is in progress or completed.
11768         (movdf_const_intreg_sp64): Likewise.
11769         (movdf_const_intreg split): Fix building up constants when
11770         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
11771
11772 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
11773
11774         * combine.c (if_then_else_cond): Use const_true_rtx instead of
11775         const1_rtx for return values in EQ/NE comparison against (const_int 0)
11776         case.
11777
11778         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
11779         (asm_file_start): Emit .am33 into assembly file when compiling for
11780         the AM33.
11781         (print_operand_address): Handle POST_INC addresses.
11782         (can_use_return_insn, initial_offset): Check AM33 registers too.
11783         (expand_prologue): Check & save AM33 registers too.
11784         (expand_epilogue): Similarly.
11785         (secondary_reload_class): Handle AM33 specific secondary reloads.
11786         (output_tst): Emit efficient code for the AM33 too.
11787         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
11788         (TARGET_SWITCHES): Add -mam33 switch.
11789         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
11790         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
11791         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
11792         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
11793         (enum reg_class, REG_CLASS_NAMES): Likewise.
11794         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
11795         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
11796         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
11797         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
11798         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
11799         (HAVE_POST_INCREMENT): Define.
11800         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
11801         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
11802         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
11803         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
11804         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
11805         (zero_extend to SI from QI/HI): Likewise.
11806         (sign_extend to SI from QI/HI): Likewise.
11807         (mulsidi3, umulsidi3): New patterns for the AM33.
11808         (tstsi with zero extension from QI/HI): Add AM33 variants.
11809         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
11810         (return_internal_regs, store_movm): Handle new AM33 registers.
11811         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
11812         (LIBGCC, INSTALL_LIBGCC): Likewise.
11813         * invoke.texi: Document new flags.
11814
11815 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11816
11817         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
11818         (addsi3_carry): Likewise.
11819         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
11820         (sbbsi3_carry): Likewise.
11821         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
11822         (mulhi3): Likewise.
11823         (test?i_1): Ensure that only one operand is memory.
11824         (conditional move patterns): likewise.
11825         (shift and rotate patterns): Rewrite to expander, add
11826         "binary_operator_ok" to the condition.
11827
11828         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
11829         * i386.h (procesor_costs): Add movzbl_load field.
11830         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
11831         non-Q registers, accept DImode registers anywhere.
11832         (Q_CLASS_P): New.
11833         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
11834         * i386.c (*_cost): Set value for movxbl_load field.
11835
11836         * (addsi): New add to lea splitter.
11837         (ashlsi): Likewise.
11838         (lea to add/shift peep2): New.
11839
11840 1999-12-01  Mark Salter <msalter@cygnus.com>
11841
11842         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
11843         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
11844         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
11845
11846 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
11847
11848         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
11849         * i386.md (movsi_xor): New.
11850         (movsi_or): New.
11851         (movsi_1, movhi_1, movqi_1): Remove.
11852         (movsi_2): Rename to movsi_1.
11853         (movhi_2): Rename to movhi_1.
11854         (movqi_2): Rename to movqi_1.
11855         (movdi_1): Remove; remove splitter.
11856         (movdi_2): Rename to movdi_1.
11857         (divmodsi4 splitter): Do not emit clobbers for move patterns.
11858         (long move peep2): Do not create QI or HI mode mov0s
11859         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
11860
11861         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
11862         rewrite splitters.
11863
11864         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
11865         (abs?f2_if): Likewise.
11866
11867 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
11868
11869         * ggc.h (ggc_test_and_set_mark): New macro.
11870         (ggc_mark_rtx): Use ggc_test_and_set_mark.
11871         (ggc_mark_tree): Likewise.
11872         (ggc_mark_rtvec): Likewise.
11873         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
11874
11875 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
11876
11877         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
11878         containing types.
11879         (decl_scope_table): Just an array of trees now.
11880         (push_decl_scope): Simplify.
11881         (dwarf2out_init): Adjust.
11882         (local_scope_p): New fn.
11883         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
11884         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
11885         (gen_typedef_die): Likewise.
11886         (gen_lexical_block_die): Don't call push/pop_decl_scope.
11887         (gen_inlined_subroutine_die): Likewise.
11888         (gen_abstract_function): Set current_function_decl temporarily.
11889         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
11890         Handle block extern declarations.  Don't call push/pop_decl_scope.
11891         (gen_decl_die): Fix logic for block externs.
11892
11893 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11894
11895         * calls.c (special_function_p): Remove `realloc' and add `strdup'
11896         to the list of functions which have attribute malloc by default.
11897
11898 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11899
11900         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
11901         integer constant does not match the traditional type, limit the
11902         warnings to cases where the base of the type is ten.
11903
11904         * invoke.texi (-Wtraditional): Document it.
11905
11906 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11907
11908         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
11909         * rs6000.md: Only access a CONST_INT with INTVAL
11910
11911 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
11912
11913         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
11914         (compute_nearerout): Likewise.
11915         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
11916         size_t to unsigned long for formatting.
11917
11918 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
11919
11920         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
11921         Allow the user to override call-used/fixed state of %g2-5
11922         registers from the command line (with the exception of %g4 for
11923         embedded model).
11924         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
11925         there is a higher chance of having a leaf function.
11926         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
11927         for ARCH64 which has %ccr register.
11928         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
11929         patterns.
11930         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
11931         insn accept into delay slot any insn which does not use %[ol]
11932         registers.  Accept some LO_SUM and shift left by 1 for the normal
11933         restore case.
11934         (output_function_epilogue): Likewise.
11935         (epilogue_renumber): Added argument which inhibits any renumbering
11936         and just tests if the rtx does not use any %[ol] registers.
11937         (output_return): Reflect above change.
11938
11939 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
11940
11941         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
11942         aggregate passing for sizes <= 16 bytes.
11943
11944 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
11945
11946         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
11947         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
11948         * reload.c (find_dummy_reload): Likewise.
11949         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
11950         * reload1.c (reload_as_needed): Likewise.
11951         * stupid.c (stupid_find_reg): Likewise.
11952         * tm.texi (Obsolete Register Macros): Delete section.
11953         * gmicro.h: Remove all traces of the two macros.
11954         * i386.h: Likewise.
11955         * m88k.h: Likewise.
11956         * mips.h: Likewise.
11957
11958 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
11959
11960         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
11961         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
11962         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
11963         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
11964         units for the sparclite86x chip.
11965         (flush): Revert October 14th change; add SImode specifically.
11966         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
11967         * invoke.texi: Document it.
11968
11969 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
11970
11971         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
11972         psimode_truncation_operand.
11973
11974         * config/mn10200/mn10200.c (psimode_truncation_operand): New
11975         function.  Return true if the operand is either a MEM valid
11976         for a PSImode address or not a MEM at all.
11977
11978         * config/mn10200/mn10200.md (truncsipsi2): Use
11979         psimode_truncation_operand.
11980
11981 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11982
11983         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
11984         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
11985         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
11986         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
11987         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
11988         (flow_loop_level_compute, low_loops_level_compute): Likewise.
11989         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
11990         * basic-block.h: Protect from multiple inclusion.
11991         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
11992         (struct loops, struct loop): Define structures.
11993         * sbitmap.c (sbitmap_a_subset_b_p): New function.
11994         * sbitmap.h: Protect from multiple inclusion.
11995         (sbitmap_a_subset_b_p): Add prototype.
11996         * Makefile.in (LOOP_H): New macro.
11997         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
11998
11999 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
12000
12001         * cppinit.c (CAT): The argument list of this macro may not contain
12002         spaces !
12003
12004 1999-11-29  David S. Miller  <davem@redhat.com>
12005
12006         Move quantity tables and register equivalence chains into
12007         per-qty and per-register structure arrays respectively.
12008         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
12009         qty_const_insn, qty_comparison_code, qty_comparison_const,
12010         qty_comparison_qty): Delete, replace with...
12011         (qty_table): this structure table.
12012         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
12013         (reg_eqv_table): this structure table.
12014         (make_new_qty): Add argument MODE.  Caller updated.
12015         Update to use qty_table and reg_eqv_table.
12016         (make_regs_eqv, delete_reg_equiv, insert_regs,
12017         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
12018         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
12019         cse_process_notes, cse_main, cse_basic_block): Likewise.
12020
12021 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12022
12023         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
12024         operation if C is negative.
12025         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
12026         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
12027         law for some divisions if constant is negative and change other
12028         divisions to the opposite rounding.
12029
12030         * expr.c (store_constructor_field): If bit position is not multiple
12031         of alignment of TARGET's mode, use BLKmode.
12032
12033         * expr.c (expand_expr_unaligned): Add more code from full case
12034         that is needed when OP0 is in a register.
12035
12036 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12037
12038         * dwarfout.c (field_byte_offset): Size can be zero if there was
12039         an error.
12040
12041 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12042
12043         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
12044         (associate_trees): Delete unused var TEM.
12045         (extract_muldiv): Delete unused var CANCEL_P.
12046
12047         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
12048         (target_isinf, target_isnan, target_negative): Add return types to
12049         function definitions.
12050
12051 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
12052
12053         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
12054         * fixinc/hackshell.tpl: ditto
12055         * fixinc/fixtests.c(double_slash_test): more C++ header testing
12056         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
12057
12058 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
12059
12060         * reload.c (push_reload): When looking for a register to put into
12061         reg_rtx, make sure all hard regs in a multi-reg register are in the
12062         right class and nonfixed.
12063
12064         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
12065         pending_read_insns, pending_write_insns, pending_read_mems,
12066         pending_write_mems, pending_list_length, last_pending_memory_flush,
12067         last_function_call, sched_before_next_call): Move static variables
12068         into a structure.
12069         (bb_ prefixed versions): Replace with single array bb_deps.
12070         (struct deps): New structure.
12071         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
12072         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
12073         argument of type "struct deps *"; use that instead of global
12074         variables.  All callers changed.
12075         (init_rgn_data_dependencies): Delete function.
12076         (init_rtx_vector): Delete function.
12077         (init_deps): New function.
12078
12079         (free_pending_lists): Simplify, we always use the bb_deps array even
12080         if only one basic block.
12081         (compute_block_backward_dependences): Likewise.
12082         (schedule_region): Likewise.
12083
12084         (propagate_deps): New function, broken out of
12085         compute_block_backward_dependences.
12086         (compute_block_backward_dependences): Use it.
12087
12088         * alpha.md: Delete useless patterns that tried to work around
12089         register elimination problems.
12090
12091         * unroll.c (loop_iterations): Don't abort if iteration variable
12092         was made by loop.
12093
12094         From Joern Rennecke:
12095         * reload1.c (reloads_conflict): Reverse test comparing operand
12096         numbers when testing for conflict between output/outaddr reloads.
12097
12098 1999-11-29  David S. Miller  <davem@redhat.com>
12099
12100         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
12101         arg.
12102         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
12103
12104 1999-11-28  Robert Lipe  <robertl@cygnus.com>
12105
12106         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
12107         table from .fini into .dtor.
12108
12109 1999-11-28  Anthony Green  <green@cygnus.com>
12110
12111         * tree.h (struct tree_decl): Add malloc_flag.
12112         (DECL_IS_MALLOC): Define.
12113         * c-common.c (attrs): Add A_MALLOC attribute.
12114         (init_attributes): Add this attribute to the table.
12115         (decl_attributes): Handle malloc attribute.
12116         * calls.c (special_function_p): Check for the malloc attribute.
12117         * extend.texi (Function Attributes): Document malloc attribute.
12118
12119 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
12120
12121         * pa.md (reload shift-add patterns): Remove.
12122
12123 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12124
12125         * reorg.c (dbr_schedule) Print more statistics. Corrected
12126         problem when printing info when 3 delay slots are filled.
12127
12128 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
12129
12130         * combine.c (setup_incoming_promotions): Pass an outgoing
12131         regno to FUNCTION_ARG_REGNO_P which it expects.
12132
12133 1999-11-28  Andreas Jaeger  <aj@suse.de>
12134
12135         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
12136
12137 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
12138
12139         * cccp.c (do_include): Avoid initialization of automatic variable.
12140
12141         * integrate.c (mark_stores): Function definition made void, to match
12142         previous declaration.
12143         * regclass.c (dump_regclass): Ditto.
12144         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
12145
12146 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12147
12148         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
12149         known to be multiple of divisor.
12150
12151         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
12152
12153         * combine.c (try_combine): Add code to try to merge a set of a
12154         two-word pseudo to a constant with a setting of one of those words
12155         to a constant.
12156
12157         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
12158         (split_tree): Completely rework to make more general.
12159         (make_range, fold): Call negate_expr.
12160         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
12161         (fold, associate): Call new split_tree and associate_trees.
12162         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
12163
12164 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
12165
12166         * loop.c (try_copy_prop): Avoid GNU C extension.
12167
12168 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
12169
12170         * except.c (init_eh_for_function): Still zero eh_return_context,
12171         eh_return_stack_adjust, and eh_return_handler.
12172
12173         * except.h (eh_status): Adjust documentation for x_protect_list.
12174         (begin_protect_partials): New function.
12175         * except.c (enqueue_eh_entry): Fix formatting.
12176         (get_first_handler): Add consistency check.
12177         (add_partial_entry): Adjust usage of protect_list.
12178         (emit_cleanup_handler): Save and restore ehqueue.
12179         (expand_start_all_catch): Add comment.
12180         (begin_protect_partials): New function.
12181         (end_protect_partials): Adjust usage of protect_list.
12182         (init_eh_for_function): Use xcalloc.
12183
12184 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12185
12186         * c-common.c (check_format_info): Don't call a variadic function
12187         with a non-literal format string.
12188
12189         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
12190
12191         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
12192         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
12193         Likewise.
12194
12195         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
12196         Likewise.
12197
12198         * collect2.c (collect_wait): Likewise.
12199
12200         * dbxout.c (dbxout_type): Likewise.
12201
12202         * gcc.c (do_spec_1): Likewise.
12203
12204         * genemit.c (gen_insn, gen_expand): Likewise.
12205
12206         * genrecog.c (write_switch, write_subroutine): Likewise.
12207
12208         * mips-tfile.c (catch_signal, botch): Likewise.
12209
12210         * print-rtl.c (print_rtx): Likewise.
12211
12212         * toplev.c (default_print_error_function, report_error_function,
12213         _fatal_insn): Likewise.
12214
12215 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
12216
12217         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
12218
12219 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12220
12221         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
12222         operations when needed.
12223         * i386.md (fop_?f_comm): New.
12224         (fop_?f_1): Do not accept commutative operands.
12225
12226 1999-11-25  Andreas Jaeger  <aj@suse.de>
12227
12228         * config/mips/mips.md (casesi_internal): Add missing brace.
12229
12230 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
12231
12232         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
12233         (splice_child_die): Handle moving a child DIE from the declaration
12234         DIE of a class to its specification.
12235         (gen_struct_or_union_type_die): Use 'complete' consistently.
12236         (gen_decl_die): Generate the virtual context DIE first.
12237         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
12238
12239 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
12240
12241         * config/mips/mips.md (call_value_multiple_interanal1): New.
12242
12243 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
12244
12245         * dwarf2out.c (free_AT, free_die): New fns.
12246         (remove_children): Call them.
12247         (output_line_info): Disable removal of duplicate notes.
12248
12249         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
12250         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
12251         means pretend the type isn't defined.
12252         Don't defer emitting types.
12253         (gen_type_die_for_member): New fn.
12254         (gen_decl_die): Call it.
12255         (splice_child_die): New fn.
12256         (gen_member_die): Call it rather than generate duplicate dies.
12257
12258         Defer emitting information for the abstract instance of an inline
12259         until we either inline it or emit an out-of-line copy.
12260         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
12261         from output_inline_function if DECL_ABSTRACT is also set.
12262         (block_ultimate_origin): Likewise.
12263         (gen_abstract_function): New fn.
12264         (gen_decl_die, gen_inlined_subroutine_die): Call it.
12265         (gen_subprogram_die):  An abstract instance is not a declaration
12266         just because it doesn't match current_function_decl.  Don't abort
12267         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
12268         has an abstract origin.
12269         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
12270         abstract instance here.
12271
12272 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
12273
12274         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
12275         where we need to reload fpul from a system register.
12276
12277 1999-11-24  Andreas Jaeger  <aj@suse.de>
12278
12279         * config/mips/linux.h (CPP_PREDEFINES): Added.
12280         (LINK_SPEC): Remove -Y since this is only needed on sparc.
12281
12282 1999-11-24  Andreas Jaeger  <aj@suse.de>
12283
12284         * config/mips/linux.h (TARGET_VERSION): Added.
12285         (HANDLE_SYSV_PRAGMA): Added.
12286         (DEFAULT_VTABLE_THUNKS): Added.
12287
12288 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12289
12290         * local-alloc.c (qty): New structure and static variable.
12291         (qty_phys_reg): Remove, all references changed to qty.
12292         (qty_n_refs): Likewise.
12293         (qty_min_class): Likewise.
12294         (qty_birth): Likewise.
12295         (qty_death): Likewise.
12296         (qty_size): Likewise.
12297         (qty_mode): Likewise.
12298         (qty_n_calls_crossed): Likewise.
12299         (qty_alternate_class): Likewise.
12300         (qty_changes_size): Likewise.
12301         (qty_first_reg): Likewise.
12302         (alloc_qty): Rename variable QTY to QTYNO.
12303         (finf_free_reg): Likewise.
12304         (local_alloc): Allocate qty, do not allocate the removed variables.
12305
12306 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
12307
12308         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
12309         when -membedded-pic is passed.
12310
12311         * config/mips/mips.md (casesi): Handle 64-bit case too.
12312         (casesi_internal_di): New insn.
12313
12314         * config/mips/mips.c (embedded_pic_offset): Always make the
12315         embedded-pic subtractions relative to the name of the current
12316         function by use of the magic string "..CURRENT_FUNCTION".
12317         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
12318
12319 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
12320
12321         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
12322         of (const_int 0), when what we really care about is
12323         whether it's a zero constant anyway.
12324         (div_trap_mips16): Likewise.
12325
12326 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
12327
12328         * loop.c (loop_optimize): Always find_loop_tree_blocks and
12329         unroll_block_trees when generating debuggable code.
12330
12331         * tree.h (unsave_expr_1): New function.
12332         (lang_unsave): New variable.
12333         (get_callee_fndecl): New function.
12334         * tree.c (unsave_expr_now_r): New function.
12335         (lang_unsave): Define.
12336         (unsave_expr_1): Likewise.
12337         (unsave_expr_now_r): Split out from unsave_expr_now.
12338         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
12339         call unsave_expr_now_r.
12340         (get_callee_fndecl): Define.
12341
12342         * Makefile.in (gencheck): Don't depend on lang_tree_files.
12343         (gencheck.o): Do depend on lang_tree_files.
12344
12345         * integrate.h (copy_decl_for_inlining): New declaration.
12346         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
12347         (copy_decl_for_inlining): New function.
12348         (integrate_parm_decls): Use it.
12349         (integrate_decl_tree): Likewise.
12350
12351 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
12352
12353         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
12354         the second two from the first.
12355         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
12356         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
12357         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12358         ISA_HAS_FP4.
12359         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
12360         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12361         ISA_HAS_FP4.
12362
12363 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
12364
12365         * pa.md (call_internal_symref, call_value_internal_symref): No mode
12366         needed on the address operand.
12367         * pa.c (call_operand_address): Check for the correct mode.
12368
12369 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
12370
12371         * loop.c: Include "basic-block.h".
12372         (try_copy_prop, replace_loop_reg): New functions.
12373         (load_mems): Detect registers that just hold copies of the hoisted
12374         mem, and call try_copy_prop to eliminate them.
12375         * Makefile.in (loop.o): Update dependencies.
12376
12377 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
12378
12379         * Makefile.in (gencheck.o): Depend on gencheck.h.
12380         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
12381         (insn-peep.o): Depend on except.h and function.h.
12382         (insn-attrtab.o): Depend on RECOG_H.
12383         (insn-output.o): Depend on toplev.h and flags.h.
12384         (gengenrtl.o): Depend on real.h.
12385         (gen-protos.o): Depend on cpplib.h and cpphash.h.
12386         Unify all dependencies to be on RECOG_H rather than recog.h.
12387
12388 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12389
12390         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
12391         * configure.in: Try building a bi-arch 32/64-bit compiler on
12392         sparc-*-solaris2.7 and higher.
12393         * configure: Rebuild.
12394
12395 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
12396
12397         * config/freebsd.h: New, FreeBSD architecture independent file.
12398         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
12399         independent pieces.
12400         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
12401         directly by i386/freebsd.h.
12402         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
12403         independent configuration file.
12404         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
12405         directly by i386/freebsd.h.
12406         * configure: Rebuilt.
12407
12408         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
12409         which is in the user's namespace.
12410         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
12411         `i386' which is not in our namespace.
12412
12413 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
12414
12415         * invoke.texi (ARM Options): Add in -mno-alignment-traps
12416
12417 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
12418
12419         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
12420         (add_dwarf_attr, add_child_die): Just push onto the front.
12421         (reverse_die_lists): New fn.
12422         (add_sibling_attributes): Use it.
12423         (push_decl_scope): Reorganize.
12424         (add_name_and_src_coords_attributes): Don't set file and line for
12425         an artificial decl.
12426         (gen_subprogram_die): An artificial function doesn't need to match
12427         file and line.
12428         (gen_compile_unit_die): Return the generated die.  Only add
12429         AT_comp_dir if the filename is relative.
12430         (remove_AT): Simplify loop.  Also free string values.
12431         (output_die): A DIE ref can't be null.
12432         (output_value_format, value_format): Take a dw_attr_ref.
12433         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
12434         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
12435         AT_addr, AT_lbl): New fns.
12436         (various): Use them.
12437         (various): Constify.
12438
12439 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12440
12441         * combine.c (combine_simplify_rtx): When handling a SUBREG,
12442         take SUBREG_WORD into account.
12443         (if_then_else_cond): Likewise.
12444
12445 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
12446
12447         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
12448         clause from BSD license, pursuant with
12449
12450           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
12451
12452 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
12453
12454         * loop.c (load_mems): Reformat slightly.
12455         * basic-block.h (regset_head): New typedef.
12456         (INIT_REG_SET): New macro.
12457
12458 1999-11-22  Bruce Korb  <autogen@linuxbox.com
12459
12460         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
12461         (mips-dec-bsd*): non-functional code
12462         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
12463
12464         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
12465         added three replacement fixes
12466         (no_double_slash): removed comments that are not (any longer) pertinent
12467         (bad_lval): this fix currently runs against many files.
12468         The comment seems to indicate that we should select for files
12469         containing 'pragma extern_prefix'.
12470
12471         * fixinc/fixinc.x86-linux-gnu: deleted
12472         * fixinc/inclhack.sh:  regen
12473         * fixinc/fixincl.x:  regen
12474         * fixinc/fixincl.sh:  regen
12475
12476 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
12477
12478         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
12479         its code is INSN and it has no notes.
12480
12481 1999-11-22  Andrew Haley  <aph@cygnus.com>
12482
12483         * varasm.c (function_defined): Remove.
12484         (make_function_rtl): Don't set function_defined.
12485         (make_decl_rtl): Remove global register warning.
12486         * regclass.c (no_global_reg_vars): New variable.
12487         (globalize_reg): Warn if function has already been defined.
12488         (regclass_init): Set no_global_reg_vars.
12489
12490 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12491
12492         * regclass.c (reg_pref): New structure and static variable
12493         (prefclass): Delete.
12494         (altclass): Delete.
12495         (all uses of prefclass and altclass): Use reg_pref instead.
12496
12497 1999-11-21  Nick Clifton  <nickc@cygnus.com>
12498
12499         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
12500         -malignment-traps.
12501         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
12502         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12503         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
12504
12505 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
12506
12507         * varasm.c (output_constructor): Solve problem with long long
12508         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
12509
12510 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12511
12512         * global.c (allocno): New structure and static variable.
12513         (allocno_reg): Remove, all references replaced by allocno.
12514         (allocno_size): Likewise.
12515         (hard_reg_conflicts): Likewise.
12516         (hard_reg_preferences): Likewise.
12517         (hard_reg_copy_preferences): Likewise.
12518         (hard_reg_full_preferences): Likewise.
12519         (regs_someone_prefers): Likewise.
12520         (allocno_calls_crossed): Likewise.
12521         (allocno_n_refs): Likewise.
12522         (allocno_live_length): Likewise.
12523         (find_reg): Rename ALLOCNO to NUM.
12524
12525         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
12526         references updated.
12527         (may_move_out_cost): New variable.
12528         (init_reg_sets_1): Initialize may_move_out_cost.
12529         (record_reg_classes): Use may_move_out_cost.
12530
12531         * regclass.c (dump_regclass): New function.
12532         (regclass): New parameter DUMP, call DUMP_REGCLASS.
12533         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
12534         pass rtl_dump_file to regclass.
12535         * rtl.h (regclass): Update prototype.
12536
12537 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12538
12539         * i386.md (neg, not and abs patterns): Revmap to use
12540         ix86_expand_unary_operator and ix86_unary_operator_ok.
12541         (add?f and sub?f expanders): Force operand 1 to register.
12542         * i386.c (ix86_expand_unary_operator): Rewrite.
12543         (ix86_unary_operator_ok): Ensure that memory operands
12544         match real opcode.
12545         (ix86_binary_operator_ok): Do not allow operand 1 to
12546         come into memory and operand 0 not.
12547         (ix86_expand_binary_operator): Ensure that
12548         src1 is not non-matching memory.
12549
12550         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
12551         to support integer registers and memory.
12552         (abss?2_integer): Likewise.
12553
12554         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
12555         (REG_CLASS_NAMES): Likewise.
12556         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
12557         and GENERAL_REGS.
12558         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
12559         (movsf): Likewise; unify 4th and 5th alternative.
12560         (pushdf): Likewise.
12561         (movdf_1): Likewise; rename to movdf_integer.
12562         (pushxf): Likewise; rename to pushxf_integer; fix output template;
12563         remove redundant splitter.
12564         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
12565         (movdf_nointeger): New.
12566         (movxf_nointeger): New.
12567         (pushxf_nointeger): New.
12568
12569         * i386.md (extend?f?f): Split to expander and pattern, refuse two
12570         memory operands in patterns.
12571         (fop*): Refuse two memory operands.
12572
12573         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
12574         on !TARGET_USE_CLTD CPUs.
12575
12576 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
12577
12578         * extend.texi: Document C++ restricted pointers and references.
12579
12580 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
12581
12582         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
12583         (invalidate_skipped_set): Call it unconditionally.
12584         (cse_set_around_loop): Likewise.
12585
12586 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
12587
12588         * rtl.texi (mem): Add documentation for alias-set argument
12589         to RTX `mem'.
12590
12591 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12592
12593         * i386.h (struct_processor_costs): New fields int_load, int_store,
12594         fp_move, fp_load and fp_store
12595         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
12596         fp->int moves
12597         (MEMORY_MOVE_COST): New macro.
12598         * i386.c (386_cost): Define new fields.
12599         (i486_cost): Likewise.
12600         (pentium_cost): Likewise.
12601         (pentiumpro_cost): Likewise.
12602         (k6_cost): Likewise.
12603
12604 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
12605                           Geoffrey Keating  <geoffk@cygnus.com>
12606
12607         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
12608
12609         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
12610         MASK_ALIGN_INT.
12611
12612         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
12613         (TARGET_STRICT_ALIGNMENT): New macro.
12614         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
12615         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
12616         * invoke.texi (M680x0 Options): Document -mstrict-align.
12617
12618 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
12619                           Richard Henderson  <rth@cygnus.com>
12620
12621         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
12622         (ix86_split_long_move): Declare.
12623         * i386.c (split_xf, ix86_split_movdi): Remove.
12624         (ix86_split_to_parts, ix86_split_long_move): New.
12625         * i386.md (dimode move splitters): Use ix86_split_long_move.
12626         (dfmode move splitters): Likewise.
12627         (xfmode move splitters): Likewise.
12628         (movsf_1): Allow F->r.
12629         (movdf_1, movxf_1): Allow F->ro.
12630
12631 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
12632
12633         * except.h (struct eh_entry): Add goto_entry_p.
12634         (eh_region_from_symbol): Remove prototype.
12635         * except.c (find_func_region_from_symbol): New function.
12636         (emit_cleanup_handler): Likewise.
12637         (eh_region_from_symbol): Make it static.
12638         (add_new_handler): Verify the argument.
12639         (find_func_region): Update comment.
12640         (expand_eh_region_end): Expand handlers here, rater than waiting
12641         until expand_leftover_cleanups or start_all_catch.
12642         (expand_leftover_cleanups): Don't expand here.
12643         (expand_start_all_catch): Or here.
12644         (expand_rethrow): Check the return value from find_func_region.
12645         * function.c (expand_function_end): Emit the catch_clauses.
12646
12647 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
12648
12649         * integrate.c (expand_inline_function): Add necessary check for NULL.
12650
12651 1999-11-18  Nick Clifton  <nickc@cygnus.com>
12652
12653         * toplev.c (main): Correctly detect an unrecognised option.
12654
12655         * cppinit.c (cpp_handle_option): Do not claim to have consumed
12656         a -f option if it has not been recognised.
12657
12658 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
12659
12660         * basic-block.h (update_life_extent): Remove trailing comma on
12661         enumeration type list.
12662
12663 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12664
12665         * varasm.c (output_constructor) Solved problem with long long
12666         bitfields. Corrected calculating this_time and shift. Also
12667         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
12668
12669 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
12670
12671         * flow.c (split_edge): Take looping structure into account when
12672         determining where to put the new block note.
12673
12674 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
12675
12676         * Makefile.in (ggc-none.o): Provide host specific version if
12677         needed.
12678
12679 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
12680
12681         * cse.c (delete_trivially_dead_insns): Identify no-op insns
12682         containing subregs too.
12683
12684 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
12685
12686         * invoke.texi: Add documentation for -muninit-const-in-rodata.
12687         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
12688         (TARGET_UNINIT_CONST_IN_RODATA): Define.
12689         (text_section): Add switches -munint-const-in-rodata and
12690         -mno-uninit-const-in-rodata.
12691         (ASM_OUTPUT_COMMON): Remove.
12692         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
12693         const objects should be placed in read-only data. Otherwise declare
12694         them in common.
12695
12696 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
12697
12698         * jump.c (jump_optimize_1): Revert last change.
12699
12700 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
12701
12702         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
12703         test if optimizing for size.
12704
12705 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
12706
12707         * Makefile.in (toplev.o): Depend on except.h.
12708         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
12709
12710 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
12711
12712         * i386.md (divmodsi4): Rewrite to expander.
12713         (*divmodsi4_nocltd): New.
12714         (*divmodsi4_cltd): New.
12715         (divmodsi4 splitter): Handle the case when input comes in edx.
12716         (udivmodhi4): Do not use constraints in exander.
12717         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
12718
12719 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
12720
12721         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
12722         for the common case.
12723
12724 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
12725
12726         * explow.c (hard_function_value): Add outgoing argument.
12727         * expr.h (hard_function_value): Declare it.
12728         * calls.c (expand_call, emit_library_call_value): Update callers.
12729         * function.c (aggregate_value_p): Ditto.
12730         (diddle_return_value): Must look at the outgoing registers
12731         on archs with register windows.
12732
12733 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
12734
12735         * alpha.c (alpha_build_va_list): Use make_lang_type and
12736         initialize TYPE_NAME for the va_list record.
12737
12738         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
12739
12740         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
12741         for printing.
12742         * ggc.h (struct ggc_statistics): Rearrange elements for better
12743         packing on 64-bit hosts.
12744         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
12745         (compute_nearerout): Likewise.
12746
12747 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
12748
12749         * config/rs6000/rs6000.c (first_reg_to_save): Save
12750         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
12751
12752 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
12753
12754         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
12755         notion of nesting to find the DIE for a type or function.
12756         DIEs can go in limbo even if we got a context_die.
12757         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
12758         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
12759         for local type.
12760         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
12761         (gen_type_die): Writing out the context doesn't cause member class
12762         template instantiations to be written out as well.
12763
12764 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
12765
12766         * rs6000.h (ASM_OUTPUT_DEF): New.
12767         Based on proposed addition from David Edelsohn.
12768
12769 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
12770             Bruce Korb  <autogen@linuxbox.com>
12771
12772         * fixinc/inclhack.def
12773         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
12774         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
12775                 in net/inet.h.
12776         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
12777         (svr4_endian): enabled with SVR5
12778         (svr4_mkdev): simplified syntax and enabled with SVR5
12779
12780 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
12781
12782         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
12783         * configure: Rebuilt.
12784         * config/t-freebsd-thread: New file.
12785
12786 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
12787
12788         * i386.c (ix86_decompose_address): Verify the base is a REG
12789         before trying to examine its register number.
12790
12791         * basic-block.h: Remove all #defines and prototypes related to
12792         integer lists.
12793         (free_bb_mem, compute_preds_succs): Remove prototype.
12794         * rtl.h (free_bb_mem): Remove prototype.
12795         * flow.c (alloc_int_list_node); Remove function.
12796         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
12797         (compute_preds_succs, free_bb_mem): Likewise.
12798         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
12799         * toplev.c (rest_of_compilation): Likewise.
12800         * haifa-sched.c (build_control_flow): Use flow generated edge
12801         list to build the haifa specific edge list.
12802         (find_rgns): Use new CFG data structures instead of pred/succ lists.
12803         (schedule_insns): Do not build pred/succ lists anymore.  Instead
12804         build the edge table.
12805
12806         * basic-block.h (dump_bb_data): Remove declaration.
12807         * flow.c (dump_bb_data): Remove function.
12808         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
12809         (sbitmap_union_of_predsucc): Likewise.
12810
12811         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
12812         argument.  All callers changed.
12813         (delete_null_pointer_checks_1): No longer need to compute the
12814         pred/succ lists.
12815
12816         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
12817         All callers changed.
12818         (pre_expr_reaches_here_p_work): Likewise.
12819         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
12820         * lcm.c (compute_laterin): Fix initialization of LATER.
12821         (compute_nearerout): Similarly for NEARER.
12822
12823 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12824
12825         * cse.c (set_nonvarying_address_components): Delete unused function.
12826         (refers_to_p): Likewise.
12827
12828 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
12829
12830         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
12831         needed.
12832
12833 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
12834
12835         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
12836         definition in do while (0).
12837
12838 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
12839
12840         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
12841
12842 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
12843
12844         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
12845
12846 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
12847
12848         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
12849         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
12850         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
12851         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
12852
12853         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
12854         saved on the stack.  Output more accurate stack frame statistics
12855         into assembler file.
12856
12857 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
12858
12859         * genextract.c (record_insn_name): New function.
12860         (get_insn_name): No longer a stub.
12861         (main): Call record_insn_name for each insn.  After each label
12862         written, print the insn name in a comment.
12863
12864 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12865
12866         * output.h (const_section, init_section, fini_section): Add
12867         prototypes.
12868
12869         * alpha/elf.h (const_section): Delete declaration.
12870
12871         * svr4.h (const_section): Likewise.
12872
12873 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
12874
12875         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
12876         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
12877         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
12878         expressions.
12879         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
12880         variable-sized array bounds.
12881
12882 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
12883
12884         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
12885         ASM_OUTPUT_LABEL.
12886
12887 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12888
12889         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
12890         addresses the same way GO_IF_LEGITIMATE_INDEX does.
12891
12892 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12893
12894         * cse.c (hash_arg_in_struct): Delete.
12895         (struct table_elt): Delete elt in_struct.
12896         (struct set): Delete elt src_in_struct.
12897         (merge_equiv_classes): Don't set either hash_arg_in_struct or
12898         the corresponding in_struct elts.
12899         (canon_hash): Likewise.
12900         (safe_hash): Likewise.
12901         (find_best_addr): Likewise.
12902         (record_jump_cond): Likewise.
12903         (cse_insn): Likewise.
12904
12905 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
12906
12907         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
12908
12909         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
12910         unsigned types.
12911
12912 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
12913
12914         * function.c (diddle_return_value): Put back check that the DECL_RTL
12915         for the function is a register.
12916
12917         * function.c (diddle_return_value): Use hard_function_value to
12918         get an rtx suitable for use in the USE/CLOBBER insn.
12919
12920         * global.c (global_conflicts): Update comments.
12921         (record_conflicts): No need to record conflicts between pseudos here.
12922
12923 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
12924
12925         * fixinc/fixincl.c: Added verbose levels for status messages
12926
12927 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12928
12929         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
12930         operand as argument to expand_and or expand_binop.
12931
12932 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
12933
12934         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
12935         gcc_add_string_root.
12936
12937 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
12938
12939         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
12940
12941 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
12942
12943         * flow.c (compute_flow_dominators): Initially put all blocks on
12944         the worklist.
12945         * lcm.c (compute_antinout_edge, compute_available): Similarly.
12946         * gcse.c (compute_cprop_avinout): Remove.
12947         (compute_cprop_data): Use compute_available.
12948         (delete_null_pointer_checks_1): Use compute_available.
12949
12950         * basic-block.h (compute_available): Returns a void now.
12951         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
12952         to return a value anymore.
12953         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
12954         worklists.  Fix boundary cases. Compute maximal solutions.
12955         (compute_laterin, compute_nearerout): Similarly.
12956
12957         * dwarf2out.c (add_AT_location_description): Allow
12958         (mem (plus (pseudo) (...)) too.
12959
12960 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
12961
12962         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
12963
12964 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
12965                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12966
12967         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
12968
12969         * gansidecl.h: Likewise.
12970
12971         * rtl.c: Likewise.
12972
12973         * rtl.h: Likewise.
12974
12975         * toplev.h: Likewise.
12976
12977         * tree.c: Likewise.
12978
12979         * tree.h: Likewise.
12980
12981         * varray.c: Likewise.
12982
12983         * varray.h: Likewise.
12984
12985 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
12986
12987         * gcov.c (struct arcdata): Add hits and total, remove prob.
12988         (output_branch_counts): New.
12989         (process_args): Set output_branch_counts if -c.
12990         (calculate_branch_probs): Store hits and total instead of
12991         percentage.
12992         (output_data): Emit counts if output_branch_counts is true.
12993         * gcov.texi (Invoking Gcov): Document -c switch..
12994
12995 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
12996
12997         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
12998         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
12999
13000 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
13001
13002         * invoke.texi (C Dialect Options): Add missing builtins from
13003         c-common.c to list.
13004         * extend.texi (Other Builtins): Copy to this list.
13005
13006 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13007
13008         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
13009         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
13010         redundant bitmap.h.
13011
13012 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
13013
13014         * flow.c (compute_flow_dominators): No longer treat basic block 0
13015         or (n_basic_blocks - 1) specially.  Clear the AUX field before
13016         starting computation of doms/pdoms.  Fix initial state for pdoms.
13017
13018 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13019
13020         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
13021         match rtl.o's: added ggc.h and toplev.h
13022         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
13023         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
13024         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
13025
13026 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
13027
13028         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
13029         from HAVE_DOS_BASED_FILESYSTEM.
13030         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
13031         HAVE_DOS_BASED_FILESYSTEM.
13032         (main): Likewise.
13033         (split_directories): Only special-case DOS file names if
13034         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
13035         instead of explicit tests.  Conditionalize on !VMS.
13036         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
13037         tests.  Conditionalize on !VMS.
13038         (process_command): Only use make_relative_prefix if !VMS.
13039         (free_split_directories): Conditionalize on !VMS.
13040         (DIR_UP): Conditionalize on !VMS.
13041
13042 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13043
13044         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
13045
13046 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
13047
13048         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
13049         case.
13050
13051 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
13052
13053         * invoke.texi (Environment Variables): Document relative path
13054         lookup.
13055         * gcc.c (DIR_UP): If not defined, define as "..".
13056         (standard_bindir_prefix): New static, holds target location to
13057         install binaries.
13058         (split_directories): New function to split a filename into
13059         component directories.
13060         (free_split_directories): New function, release memory allocated
13061         by split_directories.
13062         (make_relative_prefix): New function, make a relative pathname if
13063         the compiler is not in the expected location.
13064         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
13065         can figure out an appropriate prefix from argv[0].
13066         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
13067         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
13068         STANDARD_BINDIR_PREFIX.
13069
13070 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13071
13072         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
13073         in c4x.c.
13074         * config/c4x/c4x.h: Moved prototypes to c4x.h.
13075         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
13076         c4x_secondary_memory_needed) Delete.
13077         (fp_zero_operand): Add mode argument.
13078
13079 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
13080
13081         * reload1.c (reload_reg_free_for_value_p): Don't use a register
13082         that is in reload_reg_used.
13083
13084 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
13085
13086         * config/arm/arm-protos.h: New file: Prototypes for functions
13087         defined in arm.c and pe.c.
13088         * config/arm/arm.h: Fix compile time warnings.
13089         * config/arm/arm.c: Fix compile time warnings.
13090         * config/arm/pe.h: Fix compile time warnings.
13091         * config/arm/aout.h: Fix compile time warnings.
13092
13093 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
13094
13095         * config/m32r/m32r-protos.h: New file: Prototypes for functions
13096         defined in m32r.c
13097
13098         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
13099         Add support for subtargets.
13100         Add prototypes for new predicates.
13101         Add scheduling macros.
13102
13103         * config/m32r/m32r.c: Fix compile time warnings.
13104         (int8_operand): New predicate function.
13105         (reg_or_cmp_int16_operand): New predicate function.
13106         (extend_operand): New predicate function.
13107         (m32r_adjust_code): New scheduling function.
13108         (m32r_adjust_priorty): New scheduling function.
13109         (m32r_sched_init): New scheduling function.
13110         (m32r_sched_reorder): New scheduling function.
13111         (m32r_sched_variable_issue): New scheduling function.
13112         (direct_return): New codegen function.
13113         (m32r_not_same_reg): New rtl testsing function.
13114
13115         * config/m32r/m32r.md: Fix compile time warnings.
13116         Add support for pre decrement and post increment memory
13117         references.
13118         Add S<cc> patterns.
13119         Add fabs patterns.
13120
13121 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13122
13123         * global.c (EXECUTE_IF_CONFLICT): Don't define.
13124         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
13125         (find_reg): Likewise.
13126
13127 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
13128
13129         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
13130         to avoid assembler errors.
13131
13132 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
13133
13134         * config/v850/v850-protos.h: New file: Prototypes for functions
13135         defined in v850.c
13136         * config/v850/v850.h: Move prototypes to v850-protos.h
13137         * config/v850/v850.c: Move prototypes to v850-protos.h
13138         * config/v850/v850.md: Fix compile time warnings.
13139
13140         * config/fr30/fr30-protos.h: New file: Prototypes for functions
13141         defined in fr30.c
13142         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
13143         * config/fr30/fr30.c: Fix compile time warnings.
13144         * config/fr30/fr30.md: Fix compile time warnings.
13145
13146 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
13147
13148         * tree.h (get_containing_scope): Declare it.
13149         * tree.c (get_containing_scope): New fucntion.
13150         (decl_function_context): Use it.
13151         * toplev.c (rest_of_compilation): Use get_containing_scope.
13152
13153 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13154
13155         * Makefile.in (rtl.o): Depend on toplev.h.
13156
13157 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
13158
13159         * cse.c (delete_trivially_dead_insns): Replace alloca with
13160         xmalloc/xcalloc.
13161         * except.c (update_rethrow_references): Likewise.
13162         (init_eh_nesting_info): Likewise.
13163         * function.c (identify_blocks): Likewise.
13164         * gcse.c (dump_hash_table): Likewise.
13165         * graph.c (print_rtl_graph_with_bb): Likewise.
13166         * loop.c (combine_movables): Likewise.
13167         (move_movables): Likewise.
13168         (count_loop_regs_set): Likewise.
13169         (strength_reduce): Likewise.
13170         * profile.c (compute_branch_probabilities): New function, split
13171         out from ...
13172         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
13173         * regclass.c (regclass): Likewise.
13174         * regmove.c (regmove_optimize): Likewise.
13175         * toplev.c (compile_file): Likewise.
13176         (main): Don't mess with the stack rlimit.
13177
13178 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
13179
13180         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
13181         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
13182
13183 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
13184
13185         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
13186
13187 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
13188
13189         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
13190         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
13191         macro expansion.
13192
13193 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
13194
13195         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
13196
13197 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
13198
13199         * gcse.c (post_dominators): Kill.
13200         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
13201         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
13202         pass in a pdom array since we do not need pdoms.
13203         * haifa-sched.c (schedule_insns): Similarly.
13204         * flow.c (compute_dominators): Remove dead function.
13205         (compute_flow_dominators): Do not compute doms or pdoms if the
13206         caller does not request them.  Split up loop to build doms and
13207         pdoms.  Use a worklist to compute doms and pdoms.
13208         * basic-block.h (compute_dominators): Remove prototype.
13209
13210 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
13211
13212         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
13213         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
13214         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
13215         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
13216         (cant_move, fed_by_spec_load, is_load_insn): Remove.
13217         (schedule_region): Remove unused variable.
13218         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
13219
13220 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
13221
13222         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
13223         (update_equiv_regs): Likewise.
13224         (block_alloc): Likewise.
13225         * reg-stack.c (reg_to_stack): Likewise.
13226         (convert_regs_2): Likewise.
13227         * reload1.c (reload_as_needed): Likewise.
13228
13229 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
13230
13231         * Makefile.in (dbxout.o): Depend on ggc.h.
13232         (dwarf2out.o): Likewise.
13233         (xcoffout.o): Likewise.
13234         * dbxout.c: Include ggc.h.
13235         (dbxout_init): Register lastfile as a root.
13236         * dwarf2out.c: Include ggc.h.
13237         (dwarf2out_line): Register lastfile as a root.
13238         * xcoffout.c: Include ggc.h.
13239         (xcoffout_source_line): Register xcoff_lastfile as a root.
13240
13241 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
13242
13243         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
13244
13245 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
13246
13247         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
13248         defined.
13249         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13250
13251 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13252
13253         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
13254         (EXECUTE_IF_CONFLICT): Likewise.
13255         (ALLOCNO_LIVE_P): Avoid signed division.
13256         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
13257         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
13258         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
13259
13260 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
13261
13262         * haifa-sched.c (schedule_block): Don't crash if there's no
13263         next insn for an interblock movement.
13264         (add_branch_dependences): Don't allow clobber insns to move either.
13265
13266 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
13267
13268         * i386.c (split_xf): New.
13269         * i386-protos.h: Declare it.
13270         * i386.md (movxf_1): Add general regs alternatives.
13271         (movxf_1+1): New splitter for same.
13272
13273 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
13274
13275         * function.c (purge_addressof_1): Add missing return values.
13276
13277 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
13278
13279         * function.c (is_addressof): New function.  Returns true if
13280         the given piece of RTL is an ADDRESSOF.
13281         (purge_addressof_1): Make boolean.  Return false if the
13282         ADDRESSOFs could not be purged.
13283         (purge_addressof): If ADDRESSOFs could not be purged from the
13284         notes attached to an insn, remove the offending note(s),
13285         unless they are attached to a libcall.
13286
13287 1999-11-05  Andreas Jaeger  <aj@suse.de>
13288
13289         * genoutput.c (null_operand =): Initialize all fields.
13290
13291         * errors.h: Add extern to prototypes.
13292
13293 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
13294
13295         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
13296         * configure: Rebuilt.
13297
13298 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
13299
13300         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
13301         (mirror_conflicts): New function.
13302         (global_alloc): Call it.
13303         (expand_preferences): Remove redundant CONFLICTP test.
13304         (find_reg, dump_conflicts): Likewise.
13305         (prune_preferences): Process conflicts one word at a time.
13306
13307 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
13308
13309         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
13310         instead of an explicit loop.
13311
13312 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
13313
13314         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
13315         if REG_RETVAL check succeeds, then put classp in src_elt.
13316
13317 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
13318
13319         * function.c (pad_to_arg_alignment): Only update argument_pad
13320         if the argument's alignment is greater than STACK_BOUNDARY.
13321
13322 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
13323
13324         * bitmap.h (BITMAP_XFREE): New.
13325         * flow.c (life_analysis): Use it.
13326         (life_analysis_1): Free blocks.
13327
13328         * combine.c (undo_commit): New.
13329         (try_combine): Use it.  Don't zap undobuf.undos.
13330         (combine_instructions): Don't zap undobuf.undos; free the
13331         undobuf.frees list.
13332
13333         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
13334
13335         * stmt.c (cost_table_): New.
13336         (estimate_case_costs): Use it instead of xmalloc.
13337
13338         * toplev.c (compile_file): Reuse dumpname memory instead
13339         of strdup'ing it.
13340
13341 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
13342
13343         * reg-stack.c (convert_regs_1): Initialize target_stack->top
13344         after verifying an EH edge.
13345
13346         * haifa-sched.c (init_rgn_data_dependences): Correctly
13347         size bb_pending_lists_length when zeroing.
13348
13349 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
13350
13351         * function.c (diddle_return_value): New.
13352         (expand_function_end): Use it.
13353         * stmt.c (expand_null_return): Likewise.
13354         (expand_value_return): Likewise.
13355
13356         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
13357
13358         * reload1.c (reload): Don't remove return value clobbers.
13359
13360 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
13361
13362         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
13363
13364 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
13365
13366         * cse.c (cse_main): Use xmalloc, not alloca.
13367         (cse_basic_block): Likewise.
13368         * local-alloc.c (local_alloc): Likewise.
13369
13370 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
13371                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13372
13373         * rtl.c: Include toplev.h.
13374         (fatal): Remove declaration.
13375
13376 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
13377
13378         * haifa-sched.c (schedule_block): Fix thinko.
13379
13380 1999-11-03  James McKelvey <mckelvey@fafnir.com>
13381
13382         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
13383         S_IR* defined values
13384
13385 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
13386
13387         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
13388         call `malloc' instead.
13389
13390 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
13391
13392         * flags.h (flag_renumber_insns): Declare.
13393         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
13394         renumbering table.
13395         * rtl.h (renumber_insns): Change prototype.
13396         * toplev.c (flag_renumber_insns): Define.
13397         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
13398
13399 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
13400
13401         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
13402         and fpsqrtd.  Use them and create fdiv function unit to more
13403         accurately represent fpu sqrt pipeline semantics on UltraSparc.
13404         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
13405
13406 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
13407
13408         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
13409         3 on UltraSparc.
13410         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
13411         insn into ready list, do not use just a raw swap.
13412
13413 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
13414
13415         * rtl.h (renumber_insns): New function.
13416         (remove_unnecessary_notes): Likewise.
13417         * emit-rtl.c (renumber_insns): Define.
13418         (remove_unncessary_notes): Likewise.
13419         * toplev.c (rest_of_compilation): Remove dead code.
13420         Use renumber_insns and remove_unncessary_notes.
13421
13422         * gcse.c (struct null_pointer_info): New type.
13423         (get_bitmap_width): New function.
13424         (current_block): Remove.
13425         (nonnull_local): Likewise.
13426         (nonnull_killed): Likewise.
13427         (invalidate_nonnull_info): Take a null_pointer_info as input.
13428         (delete_null_pointer_checks_1): New function.
13429         (delete_null_pointer_checks): Use it.
13430
13431         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
13432         (split_edges): Likewise.
13433         (schedule_block): Likewise.
13434         (compute_block_backward_dependencies): Likewise.
13435         (schedule_region): Likewise.
13436         (schedule_insns): Likewise.
13437
13438 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
13439
13440         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
13441         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
13442         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
13443         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
13444         * jump.c (delete_unreferenced_labels): Don't delete if
13445         LABEL_ALTERNATE_NAME is set.
13446         * print-rtl.c (print_rtx): Dump alternate name.
13447         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
13448         * rtl.h (LABEL_ALTERNATE_NAME): Define.
13449         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
13450         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
13451
13452 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13453
13454         * fix-header.c (recognized_extern, recognized_function): Constify
13455         a char*.
13456
13457         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
13458         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13459         (compute_available): Remove unused variable `last'.
13460         (compute_nearerout): Remove unused variable `temp_bitmap'.
13461         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13462         Remove unused variable `x'.
13463
13464         * scan.h (recognized_function, recognized_extern): Constify a
13465         char*.
13466
13467         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
13468
13469 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13470
13471         * varasm.c (decode_rtx_const): Use XSTR to access the string
13472         of a SYMBOL_REF.
13473
13474 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
13475
13476         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
13477
13478 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13479
13480         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
13481
13482 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
13483
13484         * pa.c (ireg_operand): New function.
13485         * pa.h (PREDICATE_CODES): Handle ireg_operand.
13486         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
13487         Fix out of date comment.
13488
13489         * pa.md (negdi2): Turn into expander + anonymous pattern.
13490
13491         * reload.c (find_reloads): Fix typos in recent change.
13492
13493         * dwarf2out.c: Do not include ctype.h.
13494
13495 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13496
13497         * regclass.c (record_reg_classes): Always use may_move_cost when
13498         seeing how operand fits with various register classes.
13499
13500 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
13501
13502         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
13503         * toplev.c: Revert Nov 1 13:22 change.
13504
13505 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
13506
13507         * config/pa/pa.md (height reduction patterns): Add checks for
13508         overlapping operands to avoid semantic-destroying splits for
13509         height reduction patterns.
13510
13511 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13512
13513         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
13514         have been an hyphen, fixed.
13515         * configure: Rebuilt.
13516
13517 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
13518
13519         * config/arm/tpe.h: Add prototypes for exported functions.
13520         * config/arm/pe.c: Fix compile time warnings.
13521         * config/arm/semi.h: Fix compile time warnings.
13522         * config/arm/arm.c: Fix compile time warnings.
13523         * config/arm/arm.h: Fix compile time warnings.
13524         * config/arm/arm.md: Fix compile time warnings.
13525         * config/arm/thumb.c: Fix compile time warnings.
13526         * config/arm/thumb.h: Fix compile time warnings.
13527         * config/arm/thumb.md: Fix compile time warnings.
13528
13529 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
13530
13531         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
13532         detection code
13533
13534         * unroll.c (unroll_loop): Remove LOOP notes when loop is
13535         completely unrolled.
13536
13537 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13538
13539         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
13540
13541 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
13542
13543         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
13544         * rtl.h (rtx_equal_p): Move prototype.
13545         * rtl.c (rtx_equal_function_value_matters): Move from
13546         rtlanal.c
13547         (rtx_equal_p): Likewise.
13548         * rtlanal.c (rtx_equal_function_value_matters): Delete.
13549         (rtx_equal_p): Likewise.
13550
13551 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
13552
13553         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
13554         ! HAS_INIT_SECTION.
13555
13556 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
13557
13558         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
13559
13560         * pa.h (ADDR_VEC_ALIGN): Define.
13561
13562         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
13563         notes when presented with "if (foo) break; end_of_loop" and
13564         the break sequence gets moved out of the loop.
13565
13566         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
13567         Remove explicit zero initializations of entries within MAP.
13568
13569 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
13570
13571         * reg-stack.c (convert_regs_1): Handle EH edges specially.
13572
13573 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
13574
13575         * bitmap.h (BITMAP_XMALLOC): New macro.
13576         * flow.c (CLEAN_ALLOCA): Remove.
13577         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
13578         (life_analysis): Likewise.
13579         (update_life_info): Don't use CLEAN_ALLOCA.
13580         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
13581         (calculate_global_regs_live): Likewise.
13582         (print_rtl_with_bb): Likewise.
13583         (verify_flow_info): Likewise.
13584         * global.c (global_alloc): Likewise.
13585         (global_conflicts): Likewise.
13586         * integrate.c (save_for_inline_nocopy): Likewise.
13587         (expand_inline_function): Likewise.
13588         * jump.c (jump_optimize_1): Likewise.
13589         (duplicate_loop_exit_test): Likewise.
13590         (thread_jumps): Likewise.
13591         * loop.c (loop_optimize): Likewise.
13592         (combine_givs): Likewise.
13593         (recombine_givs): Likewise.
13594         * reorg.c (dbr_schedule): Likewise.
13595         * unroll.c (unroll_loop): Likewise.
13596
13597         * combine.c (combine_instructions): Use xmalloc instead of alloca.
13598
13599 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
13600
13601         * toplev.c (rest_of_compilation): Don't optimize the CFG
13602         when rebuilding, just before dbr.
13603
13604 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13605
13606         * output.h (assemble_end_function, assemble_destructor,
13607         assemble_constructor, assemble_gc_entry, assemble_global,
13608         assemble_label, output_constant_pool) Constify a char*.
13609
13610         * varasm.c (assemble_destructor, assemble_constructor,
13611         assemble_gc_entry, assemble_end_function, assemble_global,
13612         assemble_label, output_constant_pool): Likewise.
13613
13614 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
13615
13616         * config/arm/thumb.c (thumb_expand_prologue): Add comments
13617         explaining what is goin on in this function.
13618
13619 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13620
13621         * regclass.c (record_reg_classes): In matching case, recompute
13622         costs since the direction of movement is different.
13623
13624 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
13625
13626         * resource.c (mark_target_live_regs): For unconditional branches,
13627         the resources found at the branch target should be added to the
13628         resources found so far, not intersected.
13629
13630 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
13631
13632         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
13633         old cpp's.
13634         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
13635         (sys/mman.h): Include this file only if #HAVE_MMAP.
13636         (run_compiles): Initialize `esac_fmt' with one old KR string, not
13637         with automatically concatenated ANSI strings.
13638
13639 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
13640
13641         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
13642         (DIV_ROUND_UP): Robustify.
13643         (ggc_recalculate_in_use_p): New function.
13644         (release_pages): Don't inline it.
13645         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
13646         outer contexts.
13647         (ggc_pop_context): Use ggc_recalculate_in_use_p.
13648         (clear_marks): Always save in_use_p.
13649         (sweep_pages): Use ggc_recalculate_in_use_p.
13650         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
13651         Release pages before counting statistics.
13652
13653 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
13654
13655         * toplev.c (rest_of_compilation): Fix thinko in this change:
13656
13657         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
13658
13659         (rest_of_compilation): If inside an inlined external function,
13660         pretend we are just being declared.
13661
13662 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
13663
13664         * flow.c (calculate_global_regs_live): Fix thinko.
13665
13666         * integrate.c (expand_inline_function): Fix bugs in previous
13667         change from Oct 28, 1999.
13668
13669 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
13670
13671         * stmt.c (expand_value_return): Fix typo in this change:
13672
13673         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13674         (expand_value_return): Correctly convert VAL when promoting function
13675         return; support RETURN_REG being a PARALLEL.
13676
13677 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
13678
13679         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
13680
13681 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13682
13683         * hard-reg-set.h (reg_names): Constify a char*.
13684
13685         * regclass.c  (reg_names): Likewise.
13686
13687         * regs.h (reg_names): Likewise
13688
13689         * a29k/a29k.c (reg_names): Delete declaration.
13690
13691         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
13692
13693         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
13694         arc_output_function_epilogue): Likewise.
13695
13696         * elxsi/elxsi.c (reg_names): Likewise.
13697
13698         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
13699
13700         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
13701         Likewise.
13702
13703         * m88k/m88k.c (output_function_profiler): Likewise.
13704
13705         * sparc/sparc.c (sparc_flat_output_function_prologue,
13706         sparc_flat_output_function_epilogue): Likewise.
13707
13708 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
13709
13710         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
13711         warning from -Wuninitialized and put it under -W.
13712         * function.c (uninitialized_vars_warning): Warn only when the
13713         corresponding flag is set.
13714
13715 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
13716
13717         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
13718         is nonzero and the single set does not have an elt, then assign
13719         it an elt.
13720
13721         * simplify-rtx.c: New file.
13722         * Makefile.in (OBJS): Add simplify-rtx.o
13723         (simplify-rtx.o): Add dependencies.
13724         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
13725         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
13726         (cse_gen_binary, simplify_unary_operation): Delete.
13727         (simplify_binary_operation, simplify_plus_minus): Likewise.
13728         (check_fold_consts, simplify_relation_operation): Likewise.
13729         (simplify_ternary_operation): Likewise.
13730         (delete_trivially_dead_insns): Simplify the contents of the
13731         REG_EQUAL note before trying to substitute it into the source
13732         of the reg-reg copy at the end of a libcall sequence.
13733
13734         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
13735         references/callers changed.
13736
13737         * mn10200.c (mn10200_va_arg): Force the return value into a
13738         register.
13739
13740         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
13741
13742         * cccp.c (macroexpand): Avoid out of range accesses for omitted
13743         arguments.
13744
13745 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
13746
13747         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
13748
13749 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
13750
13751         * fold-const.c (fold): Fix thinko when optimizing comparisons
13752         against -0.0.
13753
13754 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
13755
13756         * gcc.texi (Passes): Update front-end files to their current
13757         location.
13758
13759 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
13760
13761         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
13762         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
13763         (PREDICATE_CODES): Add addition_operation.
13764         * alpha-protos.h (addition_operation): Declare.
13765         (secondary_reload_class): Likewise.
13766         * alpha.c (addition_operation): New.
13767         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
13768         * alpha.md (adddi3): Turn into expander.
13769         (*lda, *adddi_2): New.
13770         (movsf, movdf patterns): Don't preference integer regs.
13771         (movsi, movdi patterns): Don't preference fp regs.
13772
13773 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
13774
13775         * genrecog.c (write_switch): Check for duplicate CODE cases.
13776
13777 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
13778
13779         * ggc-common.c: Update pre-function commentary.
13780         * ggc-page.c: Likewise.
13781         (poison): Remove.
13782         (poison_pages): Use memset directly.
13783         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
13784         (ggc_collect): Poison before sweeping.
13785         * ggc-simple.c: Update pre-function commentary.
13786         (ggc_alloc_obj): Poison non-zeroed memory.
13787
13788 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
13789
13790         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
13791         match format string, even on 64-bit hosts.
13792         * gcc-page.c (ggc_page_print_statistics): Likewise.
13793
13794 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
13795
13796         * config/i386/i386.c (ix86_cpu): Revert last patch.
13797         * config/i386/i386.h (ix86_cpu): Ditto.
13798
13799 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
13800
13801         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
13802         TYPE_SIZE, convert type of result to sizetype.
13803
13804 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
13805
13806         * flow.c (count_or_remove_death_notes): Equate NULL with the
13807         universal set.
13808
13809         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
13810         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
13811         dbr_schedule.
13812
13813         * i386.c (pic_label_no): Delete.
13814         (ix86_attr_length_default): Don't use single_set to peek
13815         inside a parallel.
13816
13817         * recog.c (peephole2_optimize): Allow recog_next_insn to index
13818         the first insn after bb->end.
13819         * i386.md (push mem peeps): Scratch is live after evaluation
13820         of the memory.
13821         (cmp mem peep): Similarly.
13822
13823 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
13824
13825         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
13826         * function.c (pad_to_arg_alignment): Add missing braces.
13827
13828 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13829
13830         * alpha/alpha-protos.h (literal_section): Add prototype.
13831         (alpha_need_linkage, alpha_start_function,alpha_end_function):
13832         Constify a char*.
13833
13834         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
13835         prototype.
13836         (alpha_start_function, alpha_end_function, float_strings,
13837         alpha_need_linkage): Constify a char*
13838
13839         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
13840
13841         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
13842
13843         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
13844
13845         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
13846
13847 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13848
13849         * flow.c (debug_flow_info): Add prototype.
13850
13851         * gcc.c (main): Likewise.
13852
13853         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
13854         Likewise.
13855
13856         * reload1.c (failed_reload, set_reload_reg): Likewise.
13857
13858         * mips-tfile.c (main): Likewise.
13859         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
13860         with ATTRIBUTE_NORETURN.
13861
13862 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
13863
13864         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
13865         DECL is not a memory ref.
13866
13867 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
13868
13869         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
13870         * config/i386/i386.c (ix86_cpu): Add extern attribute.
13871
13872 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
13873
13874         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
13875         * config/mips/elf64.h: ditto.
13876
13877 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
13878
13879         * expr.c (emit_push_insn): New argument alignment_pad.
13880         Update all callers.  Adjust stack pointer based on alignment pad.
13881         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
13882         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
13883         (locate_and_pad_parm): New argument alignment_pad.  Update all
13884         callers.
13885         * expr.h (emit_push_insn): Update prototype.
13886         (locate_and_pad_parm): Update prototype.
13887         * calls.c (arg_data):  Add new field alignment_pad.
13888         (initialize_argument_information): Initialize alignment_pad.
13889
13890 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
13891
13892         * except.c (free_eh_nesting_info): Free the info itself.
13893         * function.c (free_after_compilation): Don't free NULL.
13894         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
13895         (pre_edge_insert): Free inserted.
13896         * stmt.c (free_stmt_status): Don't free NULL.
13897
13898 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
13899
13900         * gcov.c (DIR_SEPARATOR): Provide default.
13901         (output_data): Add test for MS-DOS format absolute filename.
13902         (fancy_abort): Correct program name.
13903         (open_files): Open all files in binary mode.
13904         * libgcc2.c (__bb_exit_func): Likewise.
13905
13906         * profile.c (init_branch_prob): Specify binary when opening files.
13907
13908         * flags.h (flag_unwind_tables): New decl.
13909         * toplev.c (flag_unwind_table): New definition.
13910         (f_options): Add -funwind-tables.
13911         (decode_g_option): Clarify warning when unknown -g option is given.
13912         (rest_of_compilation): If inside an inlined external function,
13913         pretend we are just being declared.
13914
13915         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
13916         (dwarf2out_frame_finish): Likewise.
13917
13918 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
13919
13920         * fold-const.c (merge_ranges): If not in0, but in1, handle
13921         upper bounds equal like subset case.
13922
13923 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
13924
13925         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
13926         passed in a register but moved to the stack.
13927
13928 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
13929
13930         * gcc.c (pass_exit_codes, greatest_status): New variables.
13931         (struct option_map): Add entry for "--pass-exit-codes".
13932         (execute): Update greatest_status if error.
13933         (display_help): Add documentation for -pass-exit-codes.
13934         (process_command): Handle -pass-exit-codes.
13935         (main): Look at pass_exit_codes and greatest_status on call to exit.
13936
13937 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
13938
13939         * reload.c (find_reloads): Refine test for no input reload
13940         case to not includes reloads emitted after insn.
13941
13942         * function.c (find_temp_slots_from_address): Handle sum involving
13943         a register that points to a temp slot.
13944         (update_temp_slot_address): Make recursive call if both old and
13945         new are PLUS with a common operand.
13946         * calls.c (expand_call): Mark temp slot for result as having
13947         address taken.
13948
13949         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
13950
13951         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
13952         component as well as "BINUTILS".
13953
13954         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
13955         * integrate.c (copy_rtx_and_substitute): Likewise.
13956         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
13957         All callers changed.
13958         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
13959
13960         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
13961         gdb extensions, write size of type; also be more consistent
13962         in using references when this is a subtype.
13963
13964         * pa.md (extv, extzv, insv): Use define_expand to reject constant
13965         that is out of range.
13966
13967         * loop.c (unknown_constant_address_altered): New variable.
13968         (prescan_loop): Initialize it.
13969         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
13970         (invariant_p, case MEM): Remove handling for volatile and readonly;
13971         check new variable if readonly.
13972         (check_dbra_loop): Chdeck unknown_constant_address_altered.
13973
13974         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
13975         (addr_affects_sp_p): Removed from note_mem_written and only
13976         define #ifdef AUTO_INC_DEC.
13977
13978         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
13979
13980         * regclass.c (record_reg_classes): Properly handle register move
13981         directions.
13982
13983         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
13984         Don't think valid if both operands are invalid.
13985         (struct constant_descriptor): New field RTL.
13986         (mark_const_hash_entry): Mark it.
13987         (record_constant{,_rtx}): Initialize it.
13988         (output_constant_def): Allocate RTL in permanent obstack and
13989         save in table.
13990         ({record,compare}_constant_1): Modes must match for
13991         CONSTRUCTOR of ARRAY_TYPE.
13992
13993         * c-common.h (initializer_constant_valid_p): Delete decl from here.
13994         * output.h (initializer_constant_valid_p): Move decl to here.
13995         * c-common.c (initializer_constant_valid_p): Delete function from here.
13996         * varasm.c (initializer_constant_valid_p): Move function to here.
13997
13998         * tree.h (STRIP_SIGN_NOPS): New macro.
13999         * fold-const.c (optimize_minmax_comparison): New function.
14000         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
14001         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
14002         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
14003         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
14004         widening conversions.
14005         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
14006         to look at size of mode, not precision of type; also add missing cases.
14007         (optimize_bit_field_compare, decode_field_reference): Don't try to
14008         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
14009
14010         * dwarf2out.c (ctype.h): Include.
14011         (dwarf2out_set_demangle_name_func): New function.
14012         (size_of_line_info): Deleted.
14013         (output_line_info): Compute size of line info table from difference
14014         of labels.
14015         (base_type_die, add_name_attribute): Call demangle function, if any.
14016         (field_byte_offset): Use bits per word for variable length fields.
14017         (gen_array_type_die): Add array name.
14018         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
14019         (dwarf2out_add_library_unit_info): New function.
14020
14021         * explow.c (set_stack_check_libfunc): New function.
14022         (stack_check_libfunc): New static variable.
14023         (probe_stack_range): Allow front-end to set up a libfunc to call.
14024
14025         * combine.c (simplify_comparison): When making comparison in wider
14026         mode, check for having commuted an AND and a SUBREG.
14027         (contains_muldiv): New function.
14028         (try_combine): Call it when dividing a PARALLEL.
14029         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
14030         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
14031         a PLUS.
14032         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
14033         use one of the CLOBBERs instead.
14034         (if_then_else_cond): If comparing against zero, just return thing
14035         being compared.
14036
14037         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
14038         Don't generate shifts and subtract if have conditional arithmetic.
14039
14040         * rtl.h (delete_barrier): New declaration.
14041         * jump.c (jump_optimize): Set up to handle conditional call.
14042         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
14043         (delete_barrier): New function.
14044
14045         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
14046
14047         * recog.c (nonmemory_operand): Accept ADDRESSOF.
14048
14049         * tree.c (build_type_attribute_variant): Push to obstack of
14050         ttype around type_hash_canon call.
14051
14052         * expr.c (placeholder_list): Move decl to file scope.
14053         (expand_expr): Don't force access to volatile just because its
14054         address is taken.
14055         If ignoring reference operations, just expand the operands.
14056         (expand_expr, case COMPONENT_REF): Propagate
14057         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
14058         Refine test for using bitfield operations vs pointer punning.
14059         (expand_expr, case CONVERT_EXPR): If converting to
14060         BLKmode UNION_TYPE from BLKmode, just return inner object.
14061         Use proper mode in store_field call.
14062         Properly set sizes of object to store and total size in store_field
14063         call for convert to union.
14064         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
14065         memory (like for ADDR_EXPR).  Also, don't put constant in register if
14066         we'll want it in memory.
14067         (readonly_fields_p): New function.
14068         (expand_expr, case INDIRECT_REF): Call it if LHS.
14069         (expand_assignment): Handle a RESULT_DECL where
14070         DECL_RTL is a PARALLEL.
14071         (do_jump, case WITH_RECORD_EXPR): New case.
14072         (get_inner_reference): Always go inside a CONVERT_EXPR
14073         and NOP_EXPR if both modes are the same.
14074         (store_field): Use bitfield operations if size of bitsize is not same
14075         as size of RHS's type.
14076         Check for bitpos not a multiple of alignment in BLKmode case.
14077         Do block move in largest possible alignment.
14078         (store_constructor): Set BITSIZE to -1 for variable size and properly
14079         in case of array of BLKmode.
14080         (expand_expr_unaligned): New function.
14081         (do_compare_and_jump): Call it.
14082
14083         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
14084         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
14085         does not include 'o'.
14086
14087         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
14088         both SET_DEST and SET_SRC reference a virtual register.
14089         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
14090
14091         * integrate.c (expand_inline_function): Handle case of setting
14092         virtual stack vars register (from built in setjmp); when parameter
14093         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
14094         (subst_constant): Add new parm, MEMONLY.
14095         (expand_inline_function, integrate_parm_decls): Pass new parm.
14096         (integrate_decl_tree): Likewise.
14097         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
14098         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
14099         (copy_rtx_and_substitute, case SET): Add explicit calls to
14100         copy_rtx_and_substitute for both sides.
14101
14102         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
14103         constraints.
14104         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
14105         within INDEX_TYPE, instead of before.
14106         (fixup_gotos): Use f->target_rtl, not the next insn,
14107         since latter may be from a later fixup.
14108         (expand_value_return): Correctly convert VAL when promoting function
14109         return; support RETURN_REG being a PARALLEL.
14110         (expand_return): When checking for result in regs and having
14111         cleanup, consider PARALLEL in DECL_RTL as being in regs.
14112
14113 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
14114
14115         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
14116         last_nominal_fname): Mark const.
14117         (struct include_hash: name, nshort, control_macro): Mark
14118         const.
14119         (struct macrodef: symnam): Mark const.
14120         (struct if_stack: fname): Mark const.
14121         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
14122         (IStable): New character-syntax array which encompasses all
14123         the old is_foo arrays.
14124         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
14125         is_space): New macros for interrogating IStable.
14126         (check_macro_name): Kill last argument.  All callers changed.
14127
14128         * cppinit.c (initialize_char_syntax): Delete.
14129         (is_idchar, is_idstart, is_hor_space, is_space,
14130         trigraph_table): Delete.
14131         (IStable): New.  Initialize with clever macros to avoid
14132         information duplication.
14133         (builtin_array): Table of builtins to get rid of explicit list
14134         in initialize_builtins.
14135         (initialize_builtins): Use builtins_array.
14136         (cpp_start_read): Call init_IStable, and set IStable['$'] if
14137         opts->dollars_in_ident.
14138
14139         * cppexp.c: Change all refs to is_xyz[] arrays to use new
14140         is_xyz() macros.
14141         (cpp_parse_expr): Avoid 'format string is not constant'
14142         warning. Use ISGRAPH to identify printable chars.
14143         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
14144         is_xyz() macros.
14145         (read_and_prescan): Map trigraphs to chars with open-coded
14146         if-else-if-... sequence, not a lookup table.
14147         * cpphash.c: Change all refs to is_xyz[] arrays to use new
14148         is_xyz() macros.
14149         * cpplib.c: Change all refs to is_xyz[] arrays to use new
14150         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
14151         (check_macro_name): Remove ability to report an invalid
14152         assertion name, which is never used.
14153         (do_line): Constify a couple of char *'s.
14154         * cppmain.c (main): Call cpp_cleanup before returning.
14155
14156 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
14157
14158         * ggc.h (struct ggc_statistics): New type.
14159         (ggc_get_size): New function.
14160         (ggc_print_statistics): Likewise.
14161         * ggc-common.c (ggc_stats): New variable.
14162         (ggc_mark_rtx_children): Keep statistics.
14163         (ggc_mark_tree_children): Likewise.
14164         (ggc_print_statistics): New function.
14165         * ggc-page.c (struct globals): Add bytes_mapped field.
14166         (alloc_anon): Update it.
14167         (release_pages): Likewise.
14168         (ggc_get_size): New function.
14169         (ggc_page_print_statistics): New function.
14170         * ggc-simple.c (ggc_get_size): New function.
14171
14172 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
14173
14174         * flow.c (propagate_block): When the last reference to a label
14175         before an ADDR_VEC is deleted because the reference is a dead
14176         store, delete the ADDR_VEC.
14177
14178 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
14179
14180         * resource.c (find_free_register): Don't use the frame pointer
14181         if frame_pointer_needed.
14182
14183 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
14184
14185         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
14186         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
14187
14188         * config/i960/i960.c (i960_va_start): New locals base, num.
14189         Use INDIRECT_REF instead of ARRAY_REF on valist.
14190         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
14191
14192 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
14193
14194         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
14195
14196 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
14197
14198         * tree.def (PLACEHOLDER_EXPR): Update comments.
14199
14200 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14201
14202         * c-common.c (check_format_info): Avoid non-literal format string
14203         warnings when `first_arg_num' is zero.
14204
14205 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14206
14207         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
14208
14209 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
14210
14211         * arm.md (casesi_insn): Add a clobber of the condition code
14212         register.
14213
14214 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
14215
14216         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
14217         used by both cc1 and cc1plus.
14218
14219 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
14220
14221         * config/arm/arm.c: Initialise arm_structure_size_boundary to
14222         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
14223         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
14224         to the value 32 if it has not already been defined.
14225         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
14226         Override definition in arm.h with a value of 8.
14227
14228 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
14229
14230         * c-pragma.c (push_alignment): Don't check the return value
14231         of xmalloc.
14232
14233 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
14234
14235         * sparc.h (ADJUST_COST): Fix thinko.
14236
14237 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
14238
14239         * cccp.c (rescan): Fixed obp pointer handling around call to
14240         check_expand subroutine.
14241
14242 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
14243
14244         * gcse.c (delete_null_pointer_checks): Only record non-null info
14245         for pseudos when examining stores.
14246
14247         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
14248         splitters for these patterns.  Use "#" for output templates.
14249         (addsi3_carryin_shift): New pattern.
14250
14251 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
14252
14253         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
14254         of the function return register into a plain REG until
14255         after function inlining is done.
14256
14257 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
14258
14259         * jump.c (jump_optimize_1): If we did cross-jumping, and
14260         the data will matter, rebuild the CFG.
14261         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
14262         not optimizing.  Don't run shorten_branches.
14263         * toplev.c (rest_of_compilation): Run shorten_branches after
14264         reg_to_stack.
14265
14266 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
14267
14268         * rtl.h (note_stores): Add additional paramter.
14269         * rtlanal.c (reg_set_p_1): Take additional paramter.
14270         (reg_set_last_1): Likewise.
14271         (reg_set_p): Adjust call to note_stores.
14272         (reg_set_last): Likewise.
14273         (note_stores): Pass data parameter to worker function.
14274         * alias.c (record_set): Take additional parameter.
14275         (init_alias_analysis): Pass it.
14276         * caller-save.c (mark_set_regs): Take additional parameter.
14277         (save_call_clobbered_regs): Pass NULL to note_stores.
14278         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
14279         parameter.
14280         (record_dead_and_set_regs_1): Likewise.
14281         (reg_dead_at_p_1): Likewise.
14282         (combine_instructions): Adjust calls to note_stores.
14283         (try_combine): Likewise.
14284         (record_dead_insn): Remove.
14285         (record_dead_and_set_regs): Adjust calls to note_stores.
14286         (reg_dead_at_p): Likewise.
14287         * cse.c (invalidate_skipped_set): Take additional parameter.
14288         (cse_check_loop_start): Likewise.
14289         (cse_check_loop_start_value): Remove.
14290         (cse_set_around_loop): Adjust calls to note_stores.
14291         * flow.c (notice_stack_pointer_modification): Take additional
14292         parameter.  Remove duplicate declaration.
14293         (record_volatile_insns): Adjust calls to note_stores.
14294         * gcse.c (record_set_info): Take additional parameter.
14295         (record_last_set_info): Likewise.
14296         (invalidate_nonnull_info): Likewise.
14297         (record_set_insn): Remove.
14298         (compute_sets): Adjust calls to note_stores.
14299         (last_set_insn): Remove.
14300         (compute_hash_table): Adjust calls to note_stores.
14301         (insert_insn_end_bb): Likewise.
14302         (delete_null_pointer_checks): Likewise.
14303         * global.c (mark_reg_store): Take additional parameter.
14304         (mark_reg_clobber): Likewise.
14305         (reg_becomes_live): Likewise.
14306         (global_conflicts): Adjust calls to note_stores.
14307         (build_insn_chain): Likewise.
14308         * integrate.c (note_modified_parmregs): Take additional parameter.
14309         (mark_stores): Likewise.  Make it static.
14310         (save_for_inline_nocopy): Adjust calls to note_stores.
14311         (try_constants): Likewise.
14312         * integrate.h (mark_stores): Remove declaration.
14313         * jump.c (mark_modified_reg): Take additional parameter.
14314         (thread_jumps): Adjust calls to note_stores.
14315         * local-alloc.c (validate_equiv_mem_from_store): Take additional
14316         parameter.
14317         (no_equiv): Likewise.
14318         (reg_is_set): Likewise.
14319         (validate_equiv_mem): Adjust calls to note_stores.
14320         (update_equiv_regs): Likewise.
14321         (block_alloc): Likewise.
14322         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
14323         (note_addr_stored): Take additional parameter.
14324         (note_set_pseudo_multiple_uses): Likewise.
14325         (record_initial): Likewise.
14326         (prescan_loop): Adjust calls to note_stores.
14327         (strength_reduce): Likewise.
14328         (check_dbra_loop): Likewise.
14329         * regmove.c (flags_set_1): Take additional paramter.
14330         (mark_flags_life_zones): Adjust calls to note_stores.
14331         * reload1.c (mark_not_eliminable): Take additional parameter.
14332         (forget_old_reloads_1): Likewise.
14333         (reload_cse_invalidate_rtx): Likewise.
14334         (reload_cse_check_clobber): Likewise.
14335         (reload_combine_note_store): Likewise.
14336         (move2add_note_store): Likewise.
14337         (reload): Adjust calls to note_stores.
14338         (reload_as_needed): Likewise.
14339         (emit_reload_insns): Likewise.
14340         (reload_cse_regs_1): Likewise.
14341         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
14342         (reload_combine): Adjust calls to note_stores.
14343         * resource.c (update_live_status): Take additional paramter.
14344         (mark_target_live_regs): Adjust calls to note_stores.
14345         * stupid.c (find_clobbered_regs): Take additional parameter.
14346         (stupid_life_analysis): Adjust calls to note_stores.
14347
14348 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
14349
14350         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
14351         definition.
14352
14353         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
14354         definition.
14355
14356         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
14357         of the variable arm_structure_size_boundary.
14358
14359 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
14360
14361         * alias.c (init_alias_analysis): Allocate reg_known_value and
14362         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
14363         and reg_seen.
14364         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
14365         * cse.c (cse_main): Call end_alias_analysis.
14366         * haifa-sched.c (schedule_insns): Likewise.
14367         * local-alloc. (update_equiv_regs): Likewise.
14368         * reload1.c (reload_cse_regs): Likewise.
14369
14370 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14371
14372         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
14373         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
14374         mapping from MASK_FPU.
14375
14376 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
14377
14378         * sparc.md (call): Don't bound structure return size to 0xfff.
14379
14380 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
14381
14382         * resource.c (mark_target_live_regs): Check that the target
14383         insn wasn't created after compute_bb_for_insn.
14384
14385 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
14386
14387         * ggc-page.c (poison_pages): Don't be overzealous.
14388
14389 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
14390
14391         * alias.c: Update comments for ADDRESS.
14392         (nonlocal_reference_p): Look inside the ADDRESS to determine if
14393         it is a local memory reference.
14394
14395         * c-typeck.c (build_function_call): Check that the built-in
14396         function is of class BUILT_IN_NORMAL before trying to recongize
14397         it as BUILT_IN_ABS.
14398         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
14399         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
14400
14401 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
14402
14403         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
14404         of alloca.
14405         (pre_gcse): Likewise.
14406         (hoist_expr_reaches_here_p): Likewise.
14407         (hoist_code): Likewise.
14408         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
14409         code to ...
14410         (pre_expr_reaches_here_p_work): ... here.
14411         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
14412         code to ...
14413         (expr_reaches_here_p_work): ... here.
14414
14415 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
14416
14417         * resource.c (find_basic_block): Delete.
14418         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
14419         (init_resource_info): Call compute_bb_for_insn.
14420
14421 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
14422
14423         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
14424         with already adjacent blocks, but no fallthru.
14425         (merge_blocks_move_successor_nojumps): Simplify.
14426         (debug_flow_info): New.
14427
14428         * toplev.c (rest_of_compilation): Open jump1 dump file before
14429         jump and close after, as opposed to just using dump_rtl.
14430
14431 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14432
14433         * reload.h (earlyclobber_operand_p): Declare.
14434         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
14435         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
14436         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
14437         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
14438
14439 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
14440                           Richard Henderson  <rth@cygnus.com>
14441
14442         * emit-rtl.c (emit_block_insn_before): New.
14443         (emit_block_insn_after): New.
14444         * basic-block.h: Declare them.
14445
14446         * bitmap.h: Protect from multiple inclusion.
14447
14448         * recog.c (scratch_operand): Handle VOIDmode correctly.
14449
14450         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
14451
14452         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
14453         * function.c (assign_parms): Likewise.
14454         * global.c (global_conflicts): Clarify STACK_REGS commentary.
14455
14456         * reg-stack.c (max_uid): Remove.
14457         (blocks, block_begin, block_end, block_drops_in): Remove.
14458         (block_stack_in, block_out_reg_set, block_number): Remove.
14459         (struct block_info_def, BLOCK_INFO): New.
14460         (enum emit_where): New.
14461         (current_block): New.
14462         (BLOCK_NUM): Remove.
14463         (mark_regs_pat, record_label_references): Remove.
14464         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
14465         (nan): New.
14466         (goto_block_pat, print_blocks, dump_stack_info): Remove.
14467         (reg_to_stack): Simplified test for existance of fp code.  Use
14468         flow.c code.  Call shorten_branches after cross-jump opt.
14469         (check_asm_stack_operands): Renamed from record_asm_reg_life.
14470         Return false if the asm doesn't use stack regs.  Don't do life
14471         analysis on the asm.
14472         (emit_pop_insn): Replace function pointer arg `when' with
14473         enum `where'.  Update all callers.
14474         (change_stack): Likewise.  Update basic block end.
14475         (emit_swap_insn): Use current_block->head to limit reverse search
14476         for start of block.  Use emit_block_insn_after.
14477         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
14478         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
14479         structure assignment instead of bcopy.
14480         (print_stack): New.
14481         (convert_regs_entry, convert_regs_exit): New.
14482         (convert_regs_1, convert_regs_2): Split out from convert_regs.
14483         Work on basic blocks and the CFG.
14484         (convert_regs): Use them.
14485
14486         * i386.c (output_fix_trunc): Remove code for DImode input operand
14487         not at top-of-stack.
14488         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
14489         appropriate mode.
14490         (fix_truncdi_1): Allow any mode scratch.
14491
14492 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
14493
14494         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
14495         * linux.h, netbsd.h, vms.h: Not here.
14496
14497 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
14498
14499         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
14500         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
14501         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
14502         CONDITIONAL_REGISTER_USEAGE): Use them.
14503         * config/mips/mips.c (mips_move_1word,mips_move_2words,
14504         gen_conditional_branch,override_options) : Use them.
14505         * config/mips/mips.md : Use them.
14506
14507 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
14508
14509         * i386.md (zero_extendqihi2): Use SImode register name with andl.
14510
14511 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
14512
14513         * integrate.c (function_cannot_inline_p): Don't allow inlining
14514         if setjmp is used.
14515
14516 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14517
14518         * c-parse.in (cast_expr): Constify.
14519
14520         * cccp.c (special_symbol): Likewise.
14521
14522         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
14523
14524         * dwarf2out.c (base_type_die): Likewise.
14525
14526         * global.c (allocno_compare): Likewise.
14527
14528         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
14529
14530         * regclass.c (fix_register): Likewise.
14531
14532         * rtl.h (fix_register): Likewise.
14533
14534         * stupid.c (stupid_reg_compare): Likewise.
14535
14536         * toplev.c (decode_f_option): Likewise.
14537
14538         * tree.c (build_complex_type): Likewise.
14539
14540 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
14541
14542         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
14543
14544 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14545
14546         * reload.c (find_reloads): Compute mode and nregs fields of all
14547         reloads.
14548         * reload1.c (calculate_needs_all_insns): Simplify a bit.
14549         (calculate_needs): Use precomputed mode/nregs values.
14550         (allocate_reload_reg): Likewise.
14551         Break out two...
14552         (failed_reload, set_reload_reg): ... new functions.
14553         (choose_reload_regs_init): New function, mostly broken out from...
14554         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
14555         Also lose one #if 0 block.
14556
14557 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
14558
14559         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
14560         substitution.
14561
14562 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
14563
14564         * tree.h (BLOCK_TYPE_TAGS): Remove.
14565         (BLOCK_END_NOTE): Likewise.
14566         (BLOCK_LIVE_RANGE_FLAG): Likewise.
14567         (BLOCK_LIVE_RANGE_START): Likewise.
14568         (BLOCK_LIVE_RANGE_END): Likewise.
14569         (tree_block): Remove live_range_flag, live_range_var_flag, and
14570         type_tags.  Remove end_note, live_range_start, and live_range_end.
14571         (remember_end_note): Remove prototype.
14572         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
14573         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
14574         remember_end_note.
14575         * ggc-common.c (ggc_mark_tree_children): Don't mark
14576         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
14577         * integrate.c (adjust_copied_decl_tree): Remove.
14578         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
14579         * stmt.c (last_block_end_note): Remove.
14580         (init_stmt): Don't add a GC root for it.
14581         (expand_fixup): Don't set it.
14582         (remember_end_note): Remove.
14583         (expand_end_bindings): Don't set last_block_end_note.
14584
14585 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14586
14587         * reload1.c (reload_reg_free_for_value_p): Show
14588         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
14589         reloads.
14590
14591 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
14592
14593         * expmed.c (extract_bit_field): Allow for the case of non-integer
14594         objects that are smaller than a word (like SFmode on a 64-bit
14595         machine).
14596
14597         * loop.c (basic_induction_var): A non-integer variable which is
14598         being set by a paradoxical subreg is probably not a biv.
14599
14600 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14601
14602         * prefix.c (translate_name) Check for empty prefix string.
14603
14604 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
14605
14606         * Makefile.in (CPP_CROSS_NAME): New variable.
14607         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
14608         xcpp.
14609         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
14610         names of the files to be uninstalled.
14611
14612 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
14613
14614         * collect2.c (IS_DIR_SEPARATOR): Define.
14615         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
14616
14617         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
14618         functions too.
14619
14620         * haifa-sched.c (add_dependence): Update the true dependency
14621         cache the first time we add a true dependence to the LOG_LINKS chain.
14622
14623 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
14624
14625         * fold-const.c (fold): Fix comment.
14626
14627 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14628
14629         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
14630         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
14631         dbxout_start_new_source_file, dbxout_source_file,
14632         dbxout_source_line, dbxout_finish, dbxout_type_fields,
14633         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
14634         Constify a char*.
14635         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
14636         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
14637         (dbxout_block): Initialize variable `blocknum'.
14638
14639         * dbxout.h (dbxout_init, dbxout_finish,
14640         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
14641         dbxout_args, dbxout_source_line): Constify a char*.
14642
14643         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
14644         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
14645         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
14646         low_pc_attribute, high_pc_attribute, body_begin_attribute,
14647         body_end_attribute, comp_dir_attribute, sf_names_attribute,
14648         src_info_attribute, mac_info_attribute, producer_attribute,
14649         lookup_filename, generate_macinfo_entry, fundamental_type_code,
14650         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
14651         dwarfout_undef): Constify a char*.
14652         (add_incomplete_type, retry_incomplete_types): Add prototypes.
14653
14654         * dwarfout.h (dwarfout_define, dwarfout_undef,
14655         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
14656
14657 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
14658
14659         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
14660         (MULTILIB_ISA_DEFAULT): New.
14661         (MULTILIB_DEFAULTS): Use it.
14662         * config/mips/mips.c (): Remove the now unnecessary definition
14663         of MIPS_ISA_DEFAULT.
14664         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
14665         unnecessary definition.
14666
14667 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
14668
14669         * arm.md (pic_load_addr): Add constraints to operand 1.
14670
14671 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
14672
14673         * fixinc/genfixes:  Provide a means for specifying -D options to
14674         AutoGen
14675
14676 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
14677
14678         * arm.c (arm_override_options): Correct initialization of
14679         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
14680         arm_is_strong, and arm_is_6_or_7.
14681
14682         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
14683         (note_set_pseudo_multiple_uses): New function.
14684         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
14685         if a pseudo set in the loop exit is used elsewhere.
14686
14687 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
14688
14689         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
14690
14691 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
14692
14693         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
14694         a single load-address pattern.
14695
14696 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
14697
14698         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
14699         depending on whether or not line-number notes are present.
14700
14701 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14702
14703         * cccp.c (progname, file_buf, default_include, include_file,
14704         macrodef, definition, hashval, wchar_type, user_label_prefix,
14705         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
14706         expand_to_temp_buffer, is_system_include, base_name,
14707         absolute_filename, read_name_map, open_include_file,
14708         record_control_macro, check_precompiled, check_preconditions,
14709         pcfinclude, pass_thru_directive, create_definition,
14710         check_macro_name, comp_def_part, collect_expansion,
14711         check_assertion, read_token_list, assertion_install,
14712         assertion_lookup, eval_if_expression, conditional_skip,
14713         validate_else, skip_quoted_string, quote_string, macarg1,
14714         error_from_errno, install, lookup, hashf, dump_defn_1,
14715         perror_with_name, pfatal_with_name, main, trigraph_pcp,
14716         check_white_space, rescan, handle_directive, monthnames,
14717         special_symbol, do_include, remap_include_file, write_output,
14718         arglist, do_assert, do_unassert, do_line, do_error, do_once,
14719         do_ident, do_sccs, do_xifdef, skip_if_group,
14720         output_line_directive, macroexpand, macarg, change_newlines,
14721         initialize_builtins, make_definition): Constify a char*.
14722
14723         * pcp.h (stringdef): Likewise.
14724
14725 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
14726
14727         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
14728         not of pattern.
14729
14730 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
14731                           Richard Henderson  <rth@cygnus.com>
14732
14733         * alias.c: Include ggc.h.
14734         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
14735         (record_set): Verify enough room in reg_base_value.
14736         (init_alias_analysis): Allocate reg_base_value with xcalloc.
14737         Register it as a GC root.
14738         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
14739         * Makefile.in (alias.o): Depend on ggc.h.
14740
14741         * unroll.c (unroll_loop): Verify the insn before a barrier
14742         is a JUMP_INSN before checking JUMP_LABEL.
14743
14744 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14745
14746         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
14747         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
14748         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
14749         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
14750         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
14751         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
14752
14753 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14754
14755         * output.h (ctors_section, dtors_section, bss_section): Prototype.
14756
14757         * alpha/alpha-interix.h (text_section): Delete prototype.
14758         * alpha/elf.h (text_section): Likewise.
14759         * arm/linux-elf.h (text_section): Likewise.
14760         * arm/linux-telf.h (text_section): Likewise.
14761         * c4x/c4x.h (text_section): Likewise.
14762         * dsp16xx/dsp16xx.h (bss_section): Likewise.
14763         * elfos.h (text_section): Likewise.
14764         * i386/aix386ng.h (text_section): Likewise.
14765         * i386/i386-interix.h (text_section): Likewise.
14766         * i386/sco5.h (text_section): Likewise.
14767         * i386/svr3gas.h (text_section): Likewise.
14768         * nextstep.h (text_section): Likewise.
14769         * psos.h (text_section): Likewise.
14770         * ptx4.h (text_section): Likewise.
14771         * svr3.h (text_section): Likewise.
14772         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
14773
14774 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14775
14776         * final.c (peephole): Delete prototype.
14777
14778         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
14779         (pre_insert_copies): Remove unused variable `bb'.
14780
14781         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
14782         prototypes.
14783
14784         * output.h (peephole): Add prototype.
14785
14786 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
14787
14788         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
14789         -O0.
14790
14791 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
14792
14793         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
14794         for inlined declarations.
14795
14796 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
14797
14798         * arm.c (logical_binary_operator): New fucntion.
14799         * arm.h (logical_binary_operator): Declare it.
14800         (PREDICATE_CODES): Handle logical_binary_operator.
14801         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
14802         output constraints.  Add appropriate splitters.
14803         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
14804         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
14805         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
14806
14807 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14808
14809         * genoutput.c (struct operand_data): New elt eliminable.
14810         (output_operand_data): Write it.
14811         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
14812         (compare_operands): Take it into account.
14813         * recog.h (struct insn_operand_data): New elt eliminable.
14814         * reload1.c (check_eliminable_occurrences, elimination_effects): New
14815         functions.
14816         (old_asm_operands_vec, new_asm_operands_vec): Delete.
14817         (eliminate_regs): Move code that detects changes to elimination
14818         target regs into new function elimination_effects.
14819         Delete one #if 0 block.
14820         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
14821         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
14822         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
14823         Only call eliminate_regs for real operands of the insn, not for parts
14824         of its structure or parts matched by things like match_operator.
14825         Use elimination_effects and check_eliminable_occurrences.  Use
14826         copy_insn to duplicate the pattern when not in the final pass.
14827
14828 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
14829
14830         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
14831         and fld.
14832
14833 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
14834
14835         * fixinc/README: document the "mach" machine matching test
14836         * fixinc/fixfixes.c: Implement the #else/#endif label fix
14837         * fixinc/fixtests.c: Implement the #else/#endif label test
14838         * fixinc/inclhack.def: utilize these tests and fixes
14839         * fixinc/inclhack.sh:  regen
14840         * fixinc/fixincl.x:  regen
14841         * fixinc/fixincl.sh:  regen
14842
14843 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
14844
14845         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
14846         depend on ggc.h.
14847
14848 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
14849
14850         * gcc.1: Document exit codes.
14851
14852 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14853
14854         * calls.c: Include tm_p.h later, so everything we need is defined.
14855         * expr.c: Likewise.
14856         * function.c: Likewise.
14857
14858         * except.c: Include tm_p.h.
14859
14860         * sparc.c: Likewise.
14861         (dwarf2out_cfi_label): Don't prototype.
14862         (check_return_regs, epilogue_renumber,
14863         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
14864         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
14865         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
14866         ultra_schedule_insn): Add static prototype.
14867         (data_segment_operand, text_segment_operand): Call itself with the
14868         proper number of arguments.
14869         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
14870
14871         * sparc.h: Move all declarations to sparc-protos.h.
14872         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
14873         symbolic_operand.
14874
14875         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
14876
14877         * config/svr4.h (text_section, ctors_section, dtors_section): Add
14878         Prototypes.
14879         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
14880         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
14881         ASM_OUTPUT_ASCII): Constify a char*.
14882
14883         * sparc-protos.h: New file for sparc prototypes.
14884
14885 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14886
14887         * function.c (record_insns, contains): Always declare and define.
14888         (record_insns): Mark with ATTRIBUTE_UNUSED.
14889
14890 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
14891
14892         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
14893         to .section when outputting a .bss section to deal with multiple
14894         .bss input sections (as happens with -fdata-sections)
14895         Also output %progbits, not @progbits so the assembler doesn't treat as
14896         a comment.
14897         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
14898
14899         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
14900         thumb parts even when building with non-thumb CPUs, by forcing
14901         thumb mode.
14902
14903 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
14904
14905         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
14906         (movdf_const_intreg_sp64): Similarly.
14907
14908         * local-alloc.c (update_equiv_regs): Check the correct insn
14909         for pre-existing REG_EQUIV notes.
14910
14911 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
14912
14913         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
14914         block reached by a branch if we're not going to actually process
14915         this block.
14916
14917 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
14918
14919         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
14920         a local extern function declaration.
14921
14922 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
14923
14924         * i386.c (ix86_expand_prologue): Properly wrap USE around
14925         reg for CALL_INSN_FUNCTION_USAGE.
14926
14927 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
14928
14929         * config/mips/mips.md (movdf_internal1a): Allow floating-point
14930         move between GP_REGs.
14931
14932 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
14933
14934         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
14935         the mode size when finding out if an offset is legal.
14936
14937 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
14938
14939         * basic-block.h (PROP_*): Move constants from ...
14940         * flow.c: ... here.
14941         (compute_bb_for_insn): Free the array before reallocating.
14942         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
14943         (allocate_reg_life_data): Reset all reg variables collected by
14944         propagate_block.
14945         (get_block_head_tail): Don't convert from bb to block.
14946         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
14947         (find_insn_reg_weight): Take block not bb.
14948         (schedule_block): Don't set block num for moved insns.
14949         (schedule_region): Don't update_life_info or find_insn_reg_weight.
14950         (schedule_insns): Do it here instead.
14951         * combine.c (combine_instructions): Invoke compute_bb_for_insn
14952         before update_life_info.
14953         * recog.c (split_all_insns, peephole2_optimize): Update for
14954         new arg to update_life_info.
14955         * rtlanal.c (remove_note): Cope with NULL note.
14956         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
14957         if we did sched1.
14958
14959 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
14960
14961         * jump.c (jump_optimize_1): More accurately detect casesi insns.
14962
14963         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
14964         block records so that merge_blocks_nomove will clean up correctly.
14965         (split_edge): Handle casesi insns.
14966
14967         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
14968
14969 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
14970
14971         * pa.md (call, call_value): Do not emit a blockage after restoring
14972         the PIC register.
14973
14974 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
14975
14976         * c-typeck.c (c_expand_asm_operands): Fix typo.
14977
14978 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14979
14980         * arm.c (fpu_rhs_operand): Verify modes.
14981         (fpu_add_operand): Likewise.
14982         (di_operand): Likewise.
14983         (soft_df_operand): Likewise.
14984
14985 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
14986
14987         * arm.c (arm_return_in_memory): APCS rules state that the elements
14988         of a structure returned in a register must be 'integer-like'.
14989
14990 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
14991
14992         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
14993         in the source tree when the generated targets are out of date
14994         * fixinc/genfixes: Alter it to run individual fixes for make.
14995         * fixinc/README: rewrite
14996         * fixinc/inclhack.def: moved initial comments to README
14997
14998 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
14999
15000         * toplev.c (main): Do not generate an error message if an
15001         unrecognised command line switch is recognisable by another
15002         language.  If extra_warnings are enabled, then generate a
15003         warning message instead.
15004
15005 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
15006
15007         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
15008         (insert_pack_attributes): Delete prototype.
15009
15010         * c-pragma.c (default_alignment): New static variable.
15011         (push_alignment): Initialize to current effective alignment.
15012         (pop_alignment): Use to set new alignment.
15013         (insert_pack_attributes): Delete function.
15014         (handle_pragma_token): Set default_alignment as well each time
15015         a #pragma pack(<n>) is encountered.
15016
15017 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
15018
15019         * reg-stack.c (stack_result): Aggregates are not returned in
15020         stack registers.
15021
15022 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
15023
15024         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
15025
15026 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
15027
15028         * basic-block.h (set_block_num): Declare.
15029         * flow.c (update_life_info): Don't call compute_bb_for_insn
15030         or free_basic_block_vars.
15031         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
15032         (insn_orig_block): Remove.
15033         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
15034         (schedule_block): Keep BLOCK_NUM up-to-date.
15035         (schedule_insns): Use compute_bb_for_insn.
15036         * recog.c (split_all_insns): Likewise.
15037         (peephole2_optimize): Likewise.
15038
15039 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
15040
15041         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
15042         if the pic register is used.
15043
15044 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15045
15046         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
15047         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
15048         if that tests TREE_PERMANENT.
15049
15050 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
15051
15052         * cse.c (invalidate_for_call): Do not remove memory references from
15053         the table here.  It's handled elsewhere.
15054
15055         * haifa-sched.c (add_dependence): Protect references to the
15056         true dependency cache with #ifdef INSN_SCHEDULING.
15057         (remove_dependence): Similarly.
15058
15059         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
15060         to the cfg code that this is a return instruction.
15061         * mn10300.md (return_internal): Similarly.
15062
15063         * combine.c (get_last_value): If the last set of a register
15064         is after subst_low_cuid, then we can not use it to determine
15065         the register's last value.
15066
15067 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
15068
15069         * Makefile.in: Back out previous change.
15070
15071 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
15072
15073         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
15074
15075         * haifa-sched.c (add_dependence): Only check/update the cache
15076         if it exists.
15077         (remove_dependence): Likewise.
15078         (schedule_insns): Only create the true_dependency_cache if the
15079         average number of instructions in a basic block is very large.
15080
15081 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
15082
15083         * Makefile.in (ggc-common.o): Depend on genrtl.h.
15084         (ggc-simple.o): Likewise.
15085         (ggc-page.o): Likewise.
15086
15087 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
15088
15089         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
15090         Prototype for exported functions.
15091         (pre_lcm, pre_rev_lcm): Remove prototypes.
15092         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
15093         (compute_available): Move to lcm.c, and change parameter order.
15094         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
15095         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
15096         (gcse_main): No longer call compute_preds_succs.  Rebuild the
15097         set table after reach pre pass.
15098         (pre_insert_map, pre_delete_map, edge_list): New.
15099         (alloc_pre_mem): Allocate edge vectors.
15100         (free_pre_mem): Delete edge vectors.
15101         (compute_pre_data): Call new edge based lcm routines.
15102         (process_insert_insn): New function.
15103         (insert_insn_end_bb): Use it.
15104         (pre_edge_insert): New function.
15105         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
15106         needed.
15107         (pre_insert_copies): Revamp using new edge based lcm outputs.
15108         (pre_delete): Likewise.
15109         (one_pre_gcse_pass): Insert & remove fake edges to the exit
15110         block.
15111         (compute_code_hoist_vbeinout): New new edge based routines.
15112         * lcm.c: Remove all the old LCM functions.  Replace with new ones
15113         that work with the new cfg datastructures and work with edges
15114         instead of blocks.
15115
15116 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15117
15118         * reload.h (struct reload): Add new fields "mode" and "nregs".
15119         * reload1.c: Change all occurrences of reload_mode and reload_nregs
15120         to reference the "mode" and "nregs" field within struct reload.
15121
15122 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
15123
15124         * haifa-sched.c (true_dependency_cache): New.
15125         (add_dependence): Use the true dependency cache to avoid expensive
15126         walks down the LOG_LINKS dependency list.  Add entries to the
15127         cache as necessary.
15128         (remove_dependence): Remove entries from the true dependency cache
15129         as needed.
15130         (schedule_insns): Allocate and initialize and free the true
15131         dependency cache.
15132
15133         * haifa-sched.c (schedule_insns): Do not remove inter-block
15134         dependencies anymore.
15135
15136 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
15137
15138         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
15139         * i386/t-winnt: Likewise.
15140
15141 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
15142
15143         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
15144
15145 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
15146
15147         * Makefile.in (LANGUAGES): Omit "proto".
15148         (clean): Remove stale comment about removing unprotoize.c.
15149
15150 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15151
15152         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
15153         using arithmetic on void pointers.
15154
15155 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
15156
15157         * haifa-sched.c (compute_block_forward_dependencies): Only check
15158         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
15159
15160 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
15161
15162         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
15163         (expr_equiv_p): Reject memories with different alias sets.
15164
15165 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
15166
15167         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
15168         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
15169         (f_options): Add "bounded-pointers" and "bounds-check" entries.
15170         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
15171         (lang_init): Set default for flag_bounds_check if still "unspecified".
15172
15173 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15174
15175         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
15176
15177 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15178
15179         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
15180         instructions.
15181
15182 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15183
15184         * config/c4x/c4x.md (*db_noclobber,
15185         *decrement_and_branch_until_zero_noclobber): New patterns and
15186         associated splitters.
15187
15188 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15189
15190         * config/c4x/c4x.md (parallel instruction patterns): Rework
15191         constraints to keep reload happy.
15192
15193 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15194
15195         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
15196         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
15197         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
15198         Add new patterns and associated post-reload splitters.
15199
15200 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15201
15202         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
15203
15204 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15205
15206         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
15207         if appropriate.
15208         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
15209
15210 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15211
15212         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
15213         memory mode.
15214
15215 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
15216
15217         * pa.c (move_operand): Rely on memory_address_p to determine the
15218         validity of non-indexed memory addresses.
15219         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
15220         operand in DFmode and SFmode when generating PA2.0 code.
15221
15222 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
15223
15224         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
15225
15226 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
15227
15228         * mips.c (function_prologue): Fix argument types.
15229         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
15230         (casesi_internal): Write to the scratch register.
15231
15232 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
15233
15234         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
15235         to U_CHAR **.
15236         (parse_charconst): Delete unnecessary cast when calling
15237         cpp_parse_escape.
15238         (cpplib.h): Kill prototype of cpp_parse_escape.
15239
15240 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
15241
15242         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
15243         * unroll.c (unroll_loop): Cast return value of alloca.
15244         * i370/i370.c: Include function.h and toplev.h.
15245         (i370_label_scan): Remove c++ commented abort.
15246         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
15247         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
15248         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
15249         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
15250
15251 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
15252
15253         * config/t-freebsd: Do not override USER_H.
15254         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
15255
15256 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
15257                           Mumit Khan  <khan@xraylith.wisc.edu>
15258
15259         * c-parse.in (component_decl): Support anonymous struct/union.
15260         (%expect): Update.
15261         * c-parse.y: Regenerate.
15262         * c-parse.c: Likewise.
15263         * objc/objc-parse.y: Likewise.
15264         * objc/objc-parse.c: Likewise.
15265         * c-decl.c (finish_struct): Don't sort the fields.
15266         (field_decl_cmp): Delete unused function.
15267
15268 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
15269
15270         * sparc.md (movsf_const_intreg): Revert last constraint change.
15271         (movdf_const_intreg_sp32): Likewise.
15272
15273 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
15274
15275         * cse.c: Include hashtab.h instead of splay-tree.h
15276         (struct cse_reg_info): No longer use variant union.  Add new
15277         field "regno".  All references changed to avoid union.
15278         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
15279         (free_cse_reg_info): Remove.
15280         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
15281         (get_cse_reg_info): Revamp to use expandable hash tables instead
15282         of splay trees.  Initialize new fields in cse_reg_info structure.
15283         (new_basic_block): Similarly.
15284
15285 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
15286
15287         * genrecog.c (message_with_line): Prototype.
15288         (validate_pattern): Pass along the set for the dest, not a flag.
15289         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
15290         Check for PC/CC0 as sources.
15291         (nodes_identical): Check for children position match before
15292         allowing the combination.
15293
15294         * rtl.c (read_rtx): Track line number across \\\n.
15295
15296 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
15297
15298         * mips.h (SPECIAL_MODE_PREDICATES): New.
15299         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
15300         (movdi+1, movsi+1): Add output reload constraint.
15301         (casesi_internal): Likewise.  Fix commentary.
15302         (return_internal): Use pmode_register_operand.
15303
15304 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
15305
15306         * 1750a.md (movstrqi): Add missing output reload constraint.
15307         (call_value): Likewise.
15308         * a29k.md (cpxxx patterns): Add missing match_operator mode.
15309         (jmpfdec): Add missing inout reload constraint.
15310         * elxsi.md (addsi patterns): Add missing output reload constraint.
15311         (move from sp): Use @ alternates.
15312         (call_value): No constraint on output.
15313         * fr30.md (movsi_pop): Add missing output reload constraint.
15314         (movsf_constant_store): Likewise.
15315         (splits): Remove constraints.
15316         (subsi3): Add missing mode.
15317         * i370.md (cmpstrsi+1): Add missing output reload constraint.
15318         (call_value): Likewise.
15319         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
15320         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
15321         * m32r.md (movsicc_internal): Add output reload constraint.
15322         (movstrsi_internal): Add inout reload constraints.
15323         * m88k.h (reg_names): Don't declare.
15324         (SPECIAL_MODE_PREDICATES): New.
15325         * m88k.md (*): Use register_operand not reg_or_0_operand
15326         on destinations.
15327         * mn10200.h (PREDICATE_CODES): New.
15328         * ns32k.md (ffs pattern): Add output reload constraint.
15329         * pdp11.md (sob pattern): Add inout reload constraint.
15330         * sh.md (splits): Remove constraints.
15331         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
15332         * v850.md (pattern_is_ok_for_epilogue): Likewise.
15333         * vax.md (jgequ pattern): Add inout reload constraint.
15334
15335 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
15336
15337         * configure.in (djgpp): Revert previous patch.
15338         * configure: Rebuit.
15339         * config/i386/djgpp.h: Revert previous patch.
15340
15341 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
15342
15343         * fixinc/inclhack.def: Restore patch lost during last merge of
15344         "no_bogosity" branch.
15345         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15346
15347 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15348
15349         * fixincludes: Add a HPUX 11 fix for inttypes.h.
15350         * fixinc/inclhack.def: Same.
15351         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
15352
15353 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
15354
15355         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
15356         as the base of a PLUS.
15357
15358 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15359
15360         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
15361         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
15362
15363 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
15364
15365         * pa.md (post_stw+1): Use pmode_register_operand.
15366         (dcacheflush, icacheflush): Likewise.
15367
15368         * i386.md (movstricthi_1): Allow r/r.
15369
15370 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
15371
15372         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
15373         to (not (and (arg0) (arg1))). Similary for and.
15374
15375         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
15376         fallthrough to associate code.
15377         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
15378         bits in common.
15379
15380         * combine.c (simplify_logical): Convert XOR to IOR if operands have
15381         no bits in common; remove XOR to ROTATE conversion.
15382
15383 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15384
15385         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
15386
15387 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15388
15389         * config/c4x/c4x.c (dst_operand): New.
15390         (PREDICATE_CODES): Update.
15391         * config/c4x/c4x.h (dst_operand): Declare it.
15392         * config/c4x/c4x.md:  Define mode for each unspec usage.
15393         (move patterns):  Use dst_operand predicate instead of src_operand.
15394         (movqi_update, movqf_update): Delete.
15395
15396 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
15397
15398         * recog.c (pmode_register_operand): New.
15399         * recog.h: Declare it.
15400         * genrecog.c (pred_codes): Likewise.
15401         (special_mode_pred_table): Likewise.
15402         (validate_pattern): Don't warn no mode for address_operand.
15403
15404         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
15405         if the operand is not insn-like.
15406
15407 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
15408                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
15409
15410         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
15411
15412 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
15413
15414         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
15415         instead of general_operand in a SET_DEST.  Use const_double_operand
15416         instead of an explicit test against CONST_DOUBLE.
15417         (movsf_const_lo): Add missing register mode.
15418         (goto_handler_and_restore): Add auxiliary test for Pmode.
15419         (flush): Adjust to use address_operand.
15420         (return_sf_no_fpu): Add missing output constraint.
15421
15422 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
15423
15424         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
15425         for call return value.
15426         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
15427
15428 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
15429
15430         * toplev.c (main): Only warn about options for other languages.
15431         * collect2.c (main): Pass -w to sub-gcc.
15432
15433 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
15434
15435         * flow.c (propagate_block): Add call-clobbered registers to
15436         significant too.
15437
15438         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
15439         zapping mem_set_list.
15440         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
15441         (mark_set_1, mark_used_regs): Likewise.
15442
15443 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
15444
15445         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
15446
15447 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
15448
15449         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
15450         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
15451         options. Also add a new item "C-only Warning Options" to the
15452         option summary.
15453
15454 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
15455
15456         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
15457         from multiple calls.
15458
15459 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
15460
15461         * i386.md (call value patterns): Move to the end of the file.
15462         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
15463
15464 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
15465
15466         * configure.in (djgpp configuration): Define extra_objects..
15467         * configure: Rebuilt.
15468         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
15469         (DTORS_SECTION_ASM_OP): Define.
15470         (INIT_SECTION_ASM_OP): Define.
15471         (FINI_SECTION_ASM_OP): Define.
15472         (DATA_SECTION_ASM_OP): Define.
15473         (TEXT_SECTION_ASM_OP): Define.
15474         (EH_FRAME_SECTION_ASM_OP): Define.
15475         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
15476         (STARTFILE_SPEC): Add crtbegin.o.
15477         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
15478         to here from LINK_COMMAND_SPEC.
15479         (DO_GLOBAL_CTORS_BODY): Define.
15480         (CRTSTUFF_USE_FINI_SECTION): Define
15481         (HAS_INIT_SECTION): Delete.
15482
15483 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
15484
15485         * Makefile.in (all.cross): Depend on xcpp$(exeext).
15486
15487 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
15488
15489         * pa.h (PREDICATE_CODES): New.
15490
15491         * genrecog.c (validate_pattern): Condense the destination
15492         non-lvalue message.
15493
15494 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
15495
15496         * alpha.md (call-1): Supply missing mode for operator.
15497         (*): Add missing output reload constraints.  Remove constraints
15498         from define_splits.
15499
15500         * i386.h (SPECIAL_MODE_PREDICATES): New.
15501         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
15502         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
15503         (addsi_lea_3): Add missing mode for op 3.
15504         (prologue_set_got, prologue_get_pc): Add missing modes.
15505         (*) Add missing output reload constraints.
15506
15507 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
15508
15509         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
15510         check for member bit-size overflow and use var_size if it occurs.
15511         (layout_record): Use bitsize_int() to define the type size in bits.
15512         Likewise for computation and assignment to DECL_FIELD_BITPOS.
15513         (layout_decl): Likewise when assigning to DECL_SIZE.
15514
15515 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
15516
15517         * genrecog.c (validate_pattern): Typo last change.  Verify
15518         that output operands have output reloads.
15519
15520 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
15521
15522         * genrecog.c (special_mode_pred_table): New.
15523         (NUM_SPECIAL_MODE_PREDS): New.
15524         (find_operand): New.
15525         (validate_pattern): New argument `insn'.  Warn for assignment to
15526         any predicate accepting non-lvalues.  Conditionaly warn for
15527         match_operand without a mode.  Try much harder to match source
15528         and destination modes on a set.
15529         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
15530
15531 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
15532
15533         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
15534
15535 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
15536
15537         * combine.c (simplify_logical): Recognize xor pattern that encodes
15538         rotation.
15539
15540 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15541
15542         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
15543         alignment.
15544
15545 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
15546
15547         * ggc-page.c (MAP_FAILED): Provide default.
15548
15549 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
15550
15551         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
15552         * sparc.h (PREDICATE_CODES): Update.
15553
15554 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
15555
15556         * alpha.c (some_ni_operand): New.
15557         * alpha-protos.h: Declare it.
15558         * alpha.h (PREDICATE_CODES): Update.
15559         * alpha.md (sXaddq reload insns): Use some_ni_operand
15560         for SET_DEST instead of some_operand.
15561
15562 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
15563                           Jim Wilson  <wilson@cygnus.com>
15564
15565         * genrecog.c (maybe_both_true_2): Don't compare modes of
15566         two DT_pred tests.
15567         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
15568         after find_afterward.
15569         (debug_decision_1): Dump next and afterward codes.
15570
15571 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
15572
15573         * rtl.c (dump_and_abort): Remove.
15574         (fatal_with_file_and_line): New.
15575         (fatal_expected_char): New.
15576         (read_rtx_lineno, read_rtx_filename): New.
15577         (read_skip_spaces): Track line number.
15578         (read_name): Use fatal_with_file_and_line.
15579         (read_rtx): Use fatal_expected_char.  Track line number.
15580         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
15581
15582         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
15583         if it isn't a CODE_LABEL.
15584
15585         * genattr.c (main): Set read_rtx_filename.
15586         * genattrtab.c (main): Likewise.
15587         * gencodes.c (main): Likewise.
15588         * genconfig.c (main): Likewise.
15589         * genemit.c (main): Likewise.
15590         * genextract.c (main): Likewise.
15591         * genflags.c (main): Likewise.
15592         * genopinit.c (main): Likewise.
15593         * genoutput.c (main): Likewise.
15594         * genpeep.c (main): Likewise.
15595
15596         * genrecog.c (decision_test.u.insn): Add `lineno'.
15597         (pattern_lineno, error_count): New variables.
15598         (message_with_line): New.
15599         (add_to_sequence): Break out checking code to ...
15600         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
15601         (merge_insn): Use message_with_line.
15602         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
15603         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
15604
15605 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15606
15607         * expr.c (store_constructor): Clear union if constructor is empty.
15608
15609 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
15610
15611         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
15612         Add !endian checks.  Change %{...} to %(...).
15613
15614 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
15615
15616         * i386.md (*addsi3_cc): Renamed from addcsi3.
15617         (*addsi3_carry): Renamed from addxsi3.
15618         (*subsi3_cc): Renamed from subcsi3.
15619         (*subsi3_carry): Renamed from subxsi3.
15620         (*xorqi_cc_1): Renamed from xorcqi_1.
15621         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
15622         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
15623
15624 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
15625
15626         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
15627         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
15628
15629 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
15630
15631         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
15632         climb up the chain of insns.
15633
15634 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
15635
15636         * genrecog.c (write_subroutine): Careful for null trees.
15637         (process_tree): Don't elide empty functions.
15638
15639 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
15640
15641         * Makefile.in (genrtl.o): Depend on ggc.h.
15642         * configure.in (valloc): Probe for it.
15643         (with-gc): Use ggc-page if valloc present.
15644         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
15645         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
15646         (ggc_alloc_string): Moved from ggc-page.c.
15647         * ggc-none.c (ggc_alloc_obj): New.
15648         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
15649         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
15650         (struct globals): Likewise for dev_zero_fd.
15651         (init_ggc): Likewise for it's initialization.
15652         (ggc_allocated_p): Move careful dereference from ...
15653         (ggc_lookup_page_table): ... here.  Delete.
15654         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
15655         (alloc_anon): Use valloc if no mmap.
15656         (release_pages): Use free if using valloc.
15657         (ggc_alloc_obj): Renamed from alloc_obj.
15658         (ggc_set_mark): Renamed from mark_obj.
15659         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
15660         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
15661         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
15662         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
15663         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
15664         (ggc_collect): Use fp printing instead of our own rounding.
15665         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
15666         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
15667         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
15668         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
15669         (struct ggc_string, struct ggc_any): Delete.
15670         (offsetof): Provide default definition.
15671         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
15672         (PTR_KEY): New.
15673         (struct ggc_mem): New, from corpse of ggc_any.
15674         (struct ggc_status): Delete.
15675         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
15676         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
15677         (n_strings_collected, n_anys_collected): Delete.
15678         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
15679         (ggc_alloc_string, ggc_alloc): Delete.
15680         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
15681         (ggc_free_string, ggc_free_any): Delete.
15682         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
15683         (ggc_compare_addresses, ggc_mark_string): Delete.
15684         (ggc_mark_string_if_gcable, ggc_mark): Delete.
15685         (search_data): Delete.
15686         (struct globals): New.
15687         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
15688         (tree_insert, tree_lookup): New.
15689         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
15690         (clear_marks, sweep_objs): New.
15691         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
15692         (init_ggc): Set allocated_last_gc.
15693         (ggc_push_context): Gut.  Use G.context.
15694         (ggc_pop_context): Likewise.
15695         (ggc_pop_context_1): New.
15696         (debug_ggc_tree): New.
15697         (debug_ggc_balance, tally_leaves): New.
15698         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
15699         (ggc_mark_string_if_gcable): Remove decl.
15700         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
15701         (ggc_mark_rtvec_children): New.
15702         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
15703         (ggc_mark_if_gcable): New decl.
15704         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
15705         (ggc_alloc_tree, ggc_alloc): Likewise.
15706         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
15707         (ggc_alloc_obj): New decl.
15708         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
15709         (ggc_alloc_tree, ggc_alloc): Likewise.
15710         (ggc_set_mark): New decl.
15711         * rtl.h (struct rtx_def): Remove gc_mark.
15712         (struct rtvec_def): Likewise.
15713         * tree.h (struct tree_common): Likewise.
15714
15715 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
15716
15717         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
15718         float_format and thread_file definitions.
15719         * configure: Rebuilt.
15720
15721 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
15722
15723         * extend.texi (Function Names): Document types of function names.
15724
15725 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15726
15727         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
15728         an earlyclobbered output conflict with RELOAD_INPUT reloads.
15729
15730 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15731
15732         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
15733
15734 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15735
15736         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
15737
15738 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
15739
15740         * collect2.c (main): Do prelimnary link on AIX if rflag.
15741
15742 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15743
15744         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
15745         __CTOR_LIST__ in opposite order, which is the correct order for sorted
15746         constructors.
15747         (__do_global_dtors): similarly for __DTOR_LIST__.
15748
15749 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15750                                 Diego Novillo <dnovillo@cygnus.com>
15751
15752         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
15753         FPUL_REGS.
15754
15755 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
15756
15757         * fixincl/*: Merged "no_bogosity" branch
15758         * fixincl/fixlib.h: protect against doubly defining t_bool
15759         * fixincl/server.h: protect against doubly defining t_bool
15760
15761 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
15762
15763         * genoutput.c: Include toplev.h.
15764
15765 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
15766
15767         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
15768         Undef.
15769         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
15770         * configure: Regenerate.
15771
15772 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
15773
15774         * gcse.c (delete_null_pointer_checks): Returns void.
15775
15776 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15777
15778         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
15779         * emit-rtl.c (copy_insn_1): Likewise.
15780
15781 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
15782
15783         * config/mips/mips.c (mips_build_va_list): Correct
15784         TREE_CHAIN setting when hard-float.
15785         (mips_va_start): Use corrected setting.
15786         (mips_va_arg): Likewise.  Also pass a tree to build of
15787         POSTINCREMENT_EXPR rather than a naked 'int'.
15788
15789 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
15790
15791         * ggc.h (ggc_push_context): Fix comment.
15792         (ggc_pop_context): Likewise.
15793         (mark_string_if_gcable): Likewise.
15794         * ggc-common.c (ggc_mark_rtx_children): Use
15795         ggc_mark_string_if_gcable.
15796         * ggc-page.c (ggc_lookup_page_table): New function.
15797         (ggc_allocated_p): Likewise.
15798         (mark_obj): Fix formatting.
15799         (ggc_mark_string_if_gcable): New function.
15800         * ggc-simple.c (ggc_allocated_strings): New variable.
15801         (ggc_strings_used): Likewise.
15802         (ggc_compare_addresses): New function.
15803         (ggc_pop_context): Pop the `any' memory too.
15804         (ggc_mark_string_if_gcable): New function.
15805         (ggc_collect): Initialize and tear down ggc_allocated_strings.
15806
15807 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
15808
15809         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
15810         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
15811         * rs6000.c (expand_block_move): Match movstrsi_?reg register
15812         changes.
15813
15814 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
15815
15816         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
15817         (sched_reg_live_length, sched_reg_basic_block): Delete.
15818         (current_block_num, bb_live_regs, old_live_regs): Delete.
15819         (dead_notes, struct sometimes): Delete.
15820         (sched_note_set, birthing_insn_p): Delete.
15821         (adjust_priority): Gut useless reg lifetime code.
15822         (create_reg_dead_note, attach_deaths): Delete.
15823         (attach_deaths_insn, new_sometimes_live): Delete.
15824         (finish_sometimes_live): Delete.
15825         (find_pre_sched_live, find_post_sched_live): Delete.
15826         (update_reg_usage): Delete.
15827         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
15828         (schedule_insns): Delete reg lifetime code.
15829         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
15830         (unlink_other_notes): Adjust REG_NOTE commentary.
15831         (reemit_notes): Use REG_SAVE_NOTE.
15832         (schedule_block): Likewise.
15833         (schedule_region): Allocate bitmap of blocks in region.  Use
15834         count_or_remove_death_notes.  Use update_life_info.
15835
15836         * rtl.h (REG_SAVE_NOTE): New.
15837         * rtl.c (reg_note_name): Update.
15838
15839 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
15840
15841         * combine.c (refresh_blocks, need_refresh): New.
15842         (combine_instructions): Allocate refresh_blocks.  Invoke
15843         update_life_info if needed.
15844         (distribute_notes): Mark refresh_blocks instead of installing
15845         USE insns.
15846         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
15847         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
15848
15849         * Makefile.in (recog.o): Depend on basic-block.h.
15850
15851 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
15852
15853         * genrecog.c (add_to_sequence): Thinko last change: delete
15854         shadowing allow_const_int variable.
15855
15856 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15857
15858         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
15859         __GNUC__ and __GNUC_MINOR__.
15860
15861         * gansidecl.h: Likewise.
15862
15863         * rtl.c: Likewise.
15864
15865         * rtl.h: Likewise.
15866
15867         * toplev.h: Likewise.
15868
15869         * tree.c: Likewise.
15870
15871         * tree.h: Likewise.
15872
15873         * varray.c: Likewise.
15874
15875         * varray.h: Likewise.
15876
15877 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15878
15879         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
15880         use one before a jump table.
15881
15882         * rtl.def (ADDRESS): Change documentation to match reality.
15883         * md.texi: Don't document it.
15884         * gmicro.md (load address pattern): Use 'p' constraint, delete use
15885         of ADDRESS rtx.
15886
15887         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
15888
15889 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
15890
15891         * genrecog.c (add_to_sequence): Move allow_const_int test outside
15892         known predicate block; default allow_const_int true.
15893         (debug_decision_list): New.
15894
15895 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
15896
15897         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
15898
15899 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
15900
15901         * gcse.c (gcse_main): Avoid global optimizations if we have a
15902         large number of basic blocks and the ratio of edges to blocks
15903         is high.
15904         (delete_null_pointer_checks): Likewise.
15905
15906 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
15907
15908         * c-common.c (check_format_info): Warn if format string isn't a
15909         string literal.
15910
15911 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
15912
15913         * configure.in (arm*-*-*): Don't let autoconf remove brackets
15914         * configure: regenerate
15915
15916 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
15917
15918         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
15919         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
15920         (peepholes): Re-enable.
15921
15922 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
15923
15924         * Makefile.in (flow.o): Depend on TREE_H.
15925         * basic-block.h (REG_SET_EQUAL_P): New.
15926         (XOR_REG_SET): New.
15927         (n_edges): Declare.
15928         (free_regset_vector): Remove declaration.
15929         (flow_delete_insn_chain): Declare.
15930         (enum update_life_extent): New.
15931         (update_life_info, count_or_remove_death_notes): Declare.
15932         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
15933         Verify register live at bb->global_live_at_start before adding USE.
15934         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
15935         (CLEAN_ALLOCA): New.
15936         (n_edges): New.
15937         (PROP_*): New flags.
15938         (find_basic_blocks_1): Use alloc_EXPR_LIST.
15939         (clear_edges): Zero n_edges.
15940         (make_edge): Increment n_edges.
15941         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
15942         (flow_delete_insn_chain): Export.
15943         (delete_block): Decrement n_edges.
15944         (merge_blocks_nomove): Likewise.
15945         (life_analysis): Give life_analysis_1 PROP flags.
15946         (verify_wide_reg_1, verify_wide_reg): New.
15947         (verify_local_live_at_start): New.
15948         (update_life_info): Rewrite to call into propogate_block.
15949         (mark_reg): New.
15950         (mark_regs_live_at_end): After reload, if epilogue as rtl,
15951         always mark stack pointer.  Conditionally mark PIC register.
15952         After reload, mark call-saved registers, return regsiters.
15953         (life_analysis_1): Accept PROP flags not remove_dead_code.
15954         Call mark_regs_live_at_end before zeroing regs_ever_live.
15955         Use calculate_global_regs_live.  Copy global_live_at_end before
15956         calling final propagate_block.  Zero reg_next_use on exit.
15957         (calculate_global_regs_live): New.
15958         (allocate_bb_life_data): Don't allocate bb->local_set.
15959         (init_regset_vector, free_regset_vector): Remove.
15960         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
15961         Test flags before every operation.  Warn if prologue/epilogue insn
15962         would have been deleted.
15963         (mark_set_regs, mark_set_1): Accept and use FLAGS.
15964         Use alloc_EXPR_LIST.
15965         (mark_used_regs): Accept and use FLAGS, not FINAL.
15966         Remove special handling for RETURN.
15967         (try_pre_increment): Use alloc_EXPR_LIST.
15968         (dump_flow_info): Dump n_edges.
15969         (unlink_insn_chain, split_hard_reg_notes): Remove.
15970         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
15971         (find_insn_with_note, new_insn_dead_notes): Remove.
15972         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
15973         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
15974         (replace_insns): Remove.
15975         (count_or_remove_death_notes): New.
15976         (verify_flow_info): Abort on error after all checks.
15977         (remove_edge): Decrement n_edges.
15978         (remove_fake_edges): Tweek format.
15979         * haifa-sched.c (schedule_insns): Use split_all_insns.
15980         * output.h (update_life_info): Remove declaration.
15981         * recog.c (split_all_insns): From the corpse of split_block_insns,
15982         do the whole function block by block.  Use update_life_info.
15983         (recog_last_allowed_insn): New.
15984         (recog_next_insn): Mind it.
15985         (peephole2_optimize): Set it.  Walk backwards through blocks.
15986         Use update_life_info.
15987         * rtl.h (update_flow_info, replace_insns): Remove declarations.
15988         (split_all_insns): Declare.
15989         * toplev.c (rest_of_compilation): Thread prologue before flow2.
15990         Use split_all_insns.
15991
15992         * i386.md (or -1 peep2s): Disable.
15993
15994 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
15995
15996         * config/mips/mips.md (movstrsi+[123]) : Combine these into
15997         a single pattern.  Scrap the 'd' versions as unnecessary.
15998
15999         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
16000         tablejump_mips162,tablejump_internal4): The operands to a
16001         label_ref must be VOIDmode.
16002
16003 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16004
16005         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
16006
16007 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
16008
16009         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
16010
16011 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
16012
16013         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
16014         cache every function if ggc_p.
16015
16016 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16017
16018         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
16019         instead of copy_rtx.  Accept sequences that contain asm statements.
16020         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
16021         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
16022         orig_asm_operands_vector, copy_asm_operands_vector,
16023         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
16024         variables.
16025         * rtl.h (copy_insn, copy_insn_1): Declare.
16026
16027 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16028
16029         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
16030
16031         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
16032         arguments to `current_file_function_operand'.
16033
16034         * genrecog.c: Include hard-reg-set.h and resource.h in the
16035         generated output file.
16036
16037         * real.c: Include tm_p.h.
16038
16039 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16040
16041         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
16042         output operand.
16043
16044 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
16045
16046         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
16047         before the fctiwz insn.
16048
16049 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16050                           Mark Mitchell  <mark@codesourcery.com>
16051
16052         * tree.c (make_lang_type_fn): New funtion pointer.
16053         (make_lang_type): Call it.
16054         * tree.h (make_lang_type): Declare.
16055         (make_lang_type_fn): Likewise.
16056         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
16057
16058 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
16059
16060         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
16061         make sure that HIGH instructions are copied into BASE_REGS.
16062
16063 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
16064
16065         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
16066
16067 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
16068
16069         * c-decl.c (finish_struct): Use simpler method of
16070         removing elements of a singly-linked list.
16071
16072 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
16073
16074         * alpha.md (peephole2's): Comment out peephole2's that generate
16075         buggy code.
16076
16077 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
16078
16079         * genrecog.c (add_to_sequence): Disable mode check for
16080         wildcard matches.
16081
16082 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16083
16084         * ggc-simple.c (init_ggc): Set empty_string.
16085
16086 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
16087
16088         * configure.in: Detect mmap.  Add --with-gc=foo to select
16089         garbage collector; default to page if mmap available.
16090         * Makefile.in (GGC): Substitute.
16091
16092 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
16093
16094         * c-decl.c (ggc_p): Enable.
16095
16096 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16097
16098         * flow.c (verify_flow_info): Make it extern & unconditionally define.
16099
16100 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
16101
16102         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
16103         string for little-endian-data.
16104
16105 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
16106
16107         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
16108         case somebody tries to compile --enable-checking code with gcc
16109         1.34 or such.
16110
16111 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
16112
16113         * genrecog.c (add_to_sequence): Verify operand to label_ref is
16114         VOIDmode.
16115
16116 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
16117
16118         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
16119         * jump.c (jump_optimize_1): Document why.
16120
16121 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16122
16123         * collect2.c (scan_prog_file, scan_libraries): Prototype function
16124         pointers and casts for `int_handler' and `quit_handler'.
16125
16126         * flow.c (verify_flow_info, split_hard_reg_notes,
16127         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
16128         remove_edge, remove_fake_successors): Add static prototypes.
16129         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
16130         (mark_set_1): Initialize variable `regno'.
16131         (unlink_insn_chain): Likewise for variable `curr'.
16132         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
16133
16134         * loop.c (strength_reduce): Initialize variable
16135         `unrolled_insn_copies'.
16136         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
16137         prototypes.  Change these functions to take const PTR parameters
16138         to avoid prototype conflict when used as the comparson argument
16139         for qsort.
16140         (check_dbra_loop): Initialize variable `comparison_val'.
16141
16142         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
16143         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
16144         (find_valid_class): Initialize variable `best_class'.
16145         (find_reloads): Call memcpy, not bcopy.
16146
16147         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
16148         (hard_reg_use_compare): Don't needlessly cast away const.
16149         (reload_reg_class_lower): Likewise.
16150         (choose_reload_regs): Initialize variable `regno'.
16151
16152 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
16153
16154         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
16155
16156 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
16157
16158         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
16159         ({,d}discard): Add forward declarations.  Declare parameter as
16160         unused.
16161         (main_without_main): Explicitly declare return type to be int.
16162         (memcpy): Properly declare.
16163
16164         * libgcc2.c (toplevel): If inhibit_libc is defined and not
16165         building the trampoline support, declare malloc, free, and
16166         atexit.
16167         (__clear_cache): Mark arguments as potentially unused.
16168
16169         * frame.c (toplevel): If inhibit_libc is defined, declare
16170         malloc and free.
16171
16172 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
16173
16174         * flow.c (make_edge): Accept an optional 2D bitmap in which
16175         to cache edge existence.  Update all callers.
16176         (make_label_edge, make_eh_edge): Pass through the edge cache.
16177         (make_edges): Provide the cache.
16178
16179 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16180
16181         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
16182         a char*.
16183         (local_mbtowc): Change the type of variable `i' from int to size_t.
16184
16185         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
16186         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
16187
16188 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
16189
16190         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
16191         after other includes that define the appropriate types.  Include
16192         tm_p.h for getting user prototypes.
16193         * ggc-callbacks.c (toplevel): Ditto.
16194         * ggc-none.c (toplevel): Ditto.
16195         * gcc-page.c (toplevel): Ditto.
16196         * ggc-simple.c (toplevel): Ditto.
16197
16198 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
16199                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
16200
16201         * config/mips/mips.c (mips_move_2words): Split doubles if
16202         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
16203
16204 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
16205
16206         * genrecog.c (struct decision_test): New.
16207         (struct decision): Remove test-related members, sort the rest by size.
16208         (IS_SPLIT): Simplify.
16209         (new_decision, new_decision_test): New.
16210         (add_to_sequence): Use them.  No special handling for args of
16211         non-MATCH codes.
16212         (maybe_both_true): Renamed from not_both_true; return sense changed.
16213         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
16214         of maybe_both_true and adjusted for decision_test.
16215         (position_merit): Remove.
16216         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
16217         (merge_accept_insn): New, broken out of merge_trees.
16218         (merge_trees): Use them.  No special case for c_test; no node
16219         splitting; use test type instead of position_merit.
16220         (factor_tests): New.
16221         (simplify_tests): New.
16222         (break_out_subroutines): Don't write code now.
16223         (find_afterward): New.
16224         (write_afterward, write_switch, write_cond): New.
16225         (write_action, is_unconditional): New.
16226         (write_node): New.  Use them.
16227         (write_tree_1): Rewrite.  Use the new functions above.
16228         (write_tree): Remove afterward processing.
16229         (write_subroutine): Simplify function variant emission.
16230         (write_subroutines): New.
16231         (same_codes, clear_codes): Remove.
16232         (same_modes, clear_modes): Remove.
16233         (write_header): New, broken out of main.
16234         (make_insn_sequence): Use new_decision and new_decision_test.
16235         (process_tree): New, broken out of main.
16236         (main): Adjust for merge_trees interface change.
16237         Don't #define operands in the output file.
16238         (record_insn_name): New, broken out of make_insn_sequence.
16239         (debug_decision_2, debug_decision_1, debug_decision_0): New.
16240         (debug_decision): New.
16241
16242 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
16243
16244         * resource.c (find_free_register): Mark class_str argument const.
16245         * resource.h: Update prototype to match.
16246
16247         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
16248         * i386.md: Give all anonymous insns names.
16249
16250 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
16251
16252         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
16253         blocks.
16254
16255 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
16256
16257         * toplev.c (dbr_sched_time): Unconditional.
16258         (peephole2_time): New.
16259         (compile_file): Add pass numbers to all of the dump file suffixes.
16260         Dump peephole2_time.  Don't dump times for non-applicable passes.
16261         (rest_of_compilation): Add pass numbers to dump file suffixes.
16262         Conditionalize calls to the scheduler.
16263         * invoke.texi: Update.
16264
16265 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
16266
16267         * flow.c (make_edges): Fix insn iteration.
16268         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
16269         (find_basic_blocks_1): Fix spelling mistake.
16270
16271 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
16272
16273         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
16274         always have side-effects.  Use memset not bzero.
16275         (make_node): Likewise.
16276
16277 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
16278
16279         * stmt.c (expand_anon_union_decl): When any of the elements of the
16280         union is addressable, so is the entire union.
16281
16282 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
16283
16284         * sbitmap.c (sbitmap_ones): Don't set too many bits.
16285
16286         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
16287         * bitmap.c (bitmap_operation): Return true iff TO changed.
16288         (bitmap_equal_p): New.
16289         (bitmap_bit_p): Tidy arithmetic.
16290         (debug_bitmap_file): Likewise.
16291
16292 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
16293
16294         * toplev.c (rest_of_compilation): Turn on cse_not_expected
16295         before cse2 instead of after.
16296
16297 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
16298
16299         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
16300         register offsets.
16301
16302 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16303
16304         * cppinit.c (is_idchar initializer): Loosen tests to accept
16305         gcc 2.>6 and >2.
16306
16307 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
16308
16309         * mips.md: Define conditional move patterns for floating point
16310         operands and DI mode conditions.
16311
16312 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
16313
16314         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
16315         always have side-effects.
16316
16317 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
16318
16319         * mn10200.c (asm_file_start): Fix typo.
16320
16321         * cppinit.c (is_idchar initializer): Tighten tests for when
16322         to put the table into initialized memory.
16323
16324         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
16325         not an array of rtunion.
16326         * gcc-page.c (ggc_alloc_rtvec): Similarly.
16327         * gcc-simple (ggc_free_rtvec): Similarly.
16328
16329         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
16330         of rtunions.
16331
16332         * mbchar.h: Add missing #endif.
16333
16334         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
16335         (FPBIT, DPBIT): Define.
16336
16337 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16338
16339         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
16340
16341         * profile.c (instrument_arcs, output_gcov_string,
16342         tablejump_entry_p): Add static prototypes.
16343         (output_gcov_string): Constify a char*.
16344
16345         * regmove.c (replacement_quality, fixup_match_2): Add static
16346         prototypes.
16347
16348         * resource.h (reg_dead_p): Add extern prototype.
16349
16350         * rtl.c (trim_filename): Add static prototype.
16351
16352         * scan-decls.c (skip_to_closing_brace): Likewise.
16353
16354         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
16355         (expand_end_case): Initialize variable `range'.
16356         (emit_case_nodes): Remove unused prototype `rtx_fn'.
16357
16358         * varasm.c (asm_emit_uninitialised): Add static prototype.
16359         (asm_emit_uninitialised, assemble_variable): Mark parameter with
16360         ATTRIBUTE_UNUSED.
16361
16362 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16363
16364         * cpplib.c (if_directive_nameo): Add static prototype.
16365
16366         * cse.c (cse_insn): Remove unused variable `p'.
16367
16368         * except.c (create_rethrow_ref, push_entry,
16369         receive_exception_label, new_eh_region_entry, find_func_region,
16370         clear_function_eh_region, process_nestinfo): Add static prototypes.
16371         (get_reg_for_handler): Hide definition.
16372         (process_nestinfo): Initialize variable `extra_handlers'.
16373
16374         * expr.h (expand_builtin_longjmp): Add extern prototype.
16375
16376         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
16377
16378         * function.c (prepare_function_start): Likewise.
16379         (pop_function_context_from): Mark parameter `context' with
16380         ATTRIBUTE_UNUSED.
16381         (push_temp_slots_for_block, flush_addressof): Hide definition.
16382
16383         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
16384         solve_program_flow_graph, calculate_branch_probs,
16385         function_summary, main, fancy_abort): Add prototypes.
16386
16387         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
16388         (add_hash): Constify a char*.
16389
16390         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
16391         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
16392         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
16393
16394         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
16395
16396         * lists.c (free_list, zap_lists): Likewise.
16397
16398 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16399
16400         * alias.c (nonlocal_reference_p): Add static prototype.
16401
16402         * bitmap.c (bitmap_element_allocate): Prototype args in function
16403         pointer cast.
16404
16405         * builtins.c (stabilize_va_list): Add static prototype.
16406         (expand_builtin_va_arg): Constify a char*.
16407
16408         * c-lex.c (getch, put_back, extend_token_buffer_to,
16409         read_line_number, token_getch, token_put_back): Add static
16410         prototypes.
16411
16412         * c-parse.gperf (hash, is_reserved_word): Likewise.
16413
16414         * cccp.c (is_dir_separator): Likewise.
16415
16416 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16417
16418         * graph.h: New file to prototype functions exported by graph.c.
16419
16420         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
16421
16422         * graph.c: Include graph.h.
16423
16424         * toplev.c: Likewise.  Remove redundant prototypes.
16425
16426 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
16427
16428         * invoke.texi: Removed duplicated description for -Q.
16429
16430 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
16431
16432         * extend.texi: Grammar fix in __extension__ text.
16433
16434 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
16435
16436         * md.texi (define_peephole2): New section.
16437
16438 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
16439
16440         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
16441         (mov $-1 to or peepholer): Enable for pentium when optimizing for
16442         speed.
16443
16444 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
16445
16446         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
16447
16448 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
16449
16450         * i386.md (ffs expander): Emit Pentium friendly code for
16451         TARGET_PENTIUM.
16452
16453 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
16454
16455         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
16456         for non-trees.
16457         (build1): Likewise.
16458
16459 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16460
16461         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
16462
16463 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
16464
16465         * config/m68k/m68k.c (use_return_insn): Return false if the pic
16466         register is in use.
16467
16468 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16469
16470         * md.texi (No Constraints): Delete section.
16471         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
16472         * final.c (final_scan_insn): We always have register constraints.
16473         * genattrtab.c: Don't include "insn-config.h".
16474         (write_attr_case): We always have register constraints.
16475         * genconfig.c (register_constraint_flag): Delete.
16476         (walk_insn_part): Don't check whether we have register constraints.
16477         (main): Don't write out "#define REGISTER_CONSTRAINTS".
16478         * genoutput.c (have_constraints): Delete.
16479         (main): Don't set it.
16480         (output_operand_data): We always have constraints.
16481         (scan_operands): Likewise.
16482         (compare_operands): Likewise.
16483         * local-alloc.c (block_alloc): We always have constraints.
16484         (requires_inout): Always compile this function.
16485         * recog.c (extract_insn): We always have constraints.
16486         (constrain_operands, reg_fits_class_p): Always compile these
16487         functions.
16488         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
16489         fields.
16490         (struct insn_operand_data): Likewise.
16491         * regclass.c (regclass): We always have constraints.
16492         (record_reg_classes, copy_cost, record_address_regs,
16493         auto_inc_dec_reg_p): Always compile these functions.
16494         * regmove.c (regmove_optimize): We always have constraints.
16495         * reload.c (find_reloads): Likewise.
16496         * reload1.c (reload): Likewise.
16497         (reload_cse_simplify_operands): Likewise.
16498         * i860.c (output_delay_insn): Likewise.
16499
16500 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
16501
16502         * iris6.h (BUILD_VA_LIST_TYPE): Define.
16503
16504 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16505
16506         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
16507         for the va_list record.
16508
16509 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
16510
16511         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
16512         prologues.
16513
16514 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
16515
16516         * alias.c: Include insn-flags.h.
16517         * Makefile.in (alias.o): Update.
16518
16519 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
16520
16521         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
16522         to LTU and GEU.  Handle more cases using sbb.
16523
16524 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
16525
16526         * i386.md (truncatexfdf splitters): Do not use subreg.
16527         (fop XFmode patterns): Fix mode in operand testing.
16528
16529 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
16530
16531         * jump.c (jump_optimize_1): Amend last change to test only the
16532         form of the operand, not the insn.
16533
16534         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
16535         not register_operand to determine when B may need preloading.
16536
16537 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
16538
16539         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
16540         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
16541         (call-value patterns): Move to end of file.
16542         (*): Remove mode from label_ref in (pc) context.
16543         (movstrqi): Use memory not general_operand for BLKmode operands.
16544         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
16545         to register_operand operands.
16546         (peep2 patterns): Convert from commented-out peephole patterns.
16547
16548 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16549
16550         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
16551         to BUILT_IN_INIT_DWARF_REG_SIZES.
16552         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
16553         Renamed from BUILT_IN_DWARF_REG_SIZE; call
16554         expand_builtin_init_dwarf_reg_sizes.
16555         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
16556         with __builtin_init_dwarf_reg_size_table.
16557         * dwarf2out.c (struct reg_size_range): Delete.
16558         (expand_builtin_init_dwarf_reg_sizes): New function.
16559         (expand_builtin_dwarf_reg_size): Delete.
16560         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
16561         (expand_builtin_dwarf_reg_size): Don't declare.
16562         * libgcc2.c (dwarf_reg_size_table_initialized): New.
16563         (dwarf_reg_size_table): New.
16564         (init_reg_size_table): New function.
16565         (copy_reg): Use dwarf_reg_size_table.
16566         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
16567         before use.
16568
16569 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
16570
16571         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
16572         Correctly build argument list to constructor and destructor functions.
16573
16574 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
16575
16576         * c-tree.h (warn_float_equal): Declare.
16577         * c-decl.c (warn_float_equal): Define.
16578         (c_decode_option): Recognize -W[no-]float-equal.
16579         * c-typeck.c (build_binary_op): Conditionally warn
16580         about equality tests of floating point types.
16581         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
16582         * invoke.texi: Add docs for -Wfloat-equal warning.
16583
16584 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
16585
16586         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
16587         generating RTL directly.
16588         * mips.h (INIT_TARGET_OPTABS): Likewise.
16589         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
16590
16591         * expr.h (init_mov_optab): Delete declaration
16592
16593         * h8300.c (WORD_REG_USED): Update to avoid useless register
16594         saves in interrupt functions and functions which never return.
16595
16596         * cse.c (struct set): Delete inner_dest_loc field.
16597         (cse_insn): Remove assignments to inner_dest_loc field.
16598
16599 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
16600
16601         * ggc-page.c: Don't include <unistd.h> etc taken care of
16602         by "system.h".  Include <sys/mman.h> afterward.
16603
16604 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
16605
16606         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
16607         ggc_alloc_string.
16608
16609 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
16610
16611         * xcoffout.c (xcoffout_declare_function): Add documentation.
16612         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
16613         TARGET_64BIT.  Compare constant to -1, not bit pattern.
16614         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
16615         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
16616         gen_movsi typos.
16617
16618 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
16619
16620         * dwarf2out.c (add_abstract_origin_attribute): Abort if
16621         origin_die is NULL.
16622         (gen_inlined_enumeration_type_die): Do not abort if the type has
16623         not been writeen out.
16624         (gen_inlined_structure_type_die): Do not abort if the type has
16625         not been writeen out.
16626         (gen_inlined_union_type_die): Do not abort if the type has
16627         not been writeen out.
16628         (gen_tagged_type_instantiation_die): Do not abort if the type
16629         has not been written out.
16630
16631 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16632
16633         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
16634         call it.
16635         * reg-stack.c (straighten_stack): Copy hard reg set with
16636         COPY_HARD_REG_SET.
16637
16638 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
16639
16640         * builtins.c (stabilize_va_list): Stabilize array type va_list
16641         to a pointer type, not the base record type.
16642         (expand_builtin_va_copy): Dereference the pointers explicitly;
16643         use the correct size for the copy.
16644
16645         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
16646         (rs6000_va_arg): Likewise.
16647
16648 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
16649
16650         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
16651
16652 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
16653
16654         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
16655         field.
16656         (DECL_BUILT_IN_CLASS): Adjust accordingly.
16657
16658 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
16659
16660         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
16661         (init_ggc): Use it instead of a constant.
16662         (ggc_collect): Bound allocated_last_gc by it.
16663
16664 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
16665
16666         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
16667         with va_list.
16668
16669 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
16670
16671         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
16672         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
16673         * configure:  Regen.
16674         * config/mips/openbsd.h:  New, OpenBSD little endian target.
16675         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
16676         * config/mips/xm-openbsd.h:  New, OpenBSD host.
16677
16678 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
16679
16680         * config/m68k/m68k.c (output_function_prologue,
16681         output_function_epilogue): Use
16682         current_function_uses_pic_offset_table instead of regs_ever_live
16683         to decide whether to save/restore pic register.
16684         (legitimize_pic_address): Don't modify regs_ever_live any more.
16685
16686 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
16687
16688         * function.h (struct function): Add x_dont_save_pending_sizes_p.
16689         * stor-layout.c (variable_size): Don't add sizes to the pending
16690         sizes list if x_dont_save_pending_sizes_p is set.
16691
16692 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
16693
16694         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
16695         for symbolic_operand().
16696         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
16697
16698 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16699
16700         * combine.c (gen_rtx_combine): Add missing call to va_end().
16701
16702         * final.c (asm_fprintf): Likewise.
16703
16704         * genattrtab.c (attr_rtx): Likewise.
16705
16706 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
16707
16708         * cse.c: Update comments.
16709         (cse_insn): When converting a conditional/computed jump into
16710         an unconditional jump, always make sure a BARRIER immediately
16711         follows the converted jump.  Do not delete unreachable code.
16712         (cse_basic_block): Do not delete unreachable code.
16713         * toplev.c (rest_of_compilation): Move call to
16714         delete_trivially_dead_insns after the conditional call to
16715         jump_optimize.
16716
16717 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16718
16719         * collect2.c (make_temp_file): Don't prototype.
16720
16721         * gcc.c (make_temp_file): Likewise.
16722
16723         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
16724
16725 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
16726
16727         * varasm.c (asm_emit_uninitialised): New function: Generate
16728         the assembler statements necessary to declare an uninitialised
16729         variable.
16730         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
16731         variable.
16732         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
16733         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
16734         section.
16735         (assemble_variable): Use asm_emit_uninitialised to emit an
16736         uninitialised variable.
16737
16738 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
16739
16740         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
16741         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
16742         <geoffk@cygnus.com>.
16743
16744 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16745
16746         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
16747         * c-common.h (builtin_function): Don't declare.
16748
16749         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
16750         DECL_BUILT_IN.
16751         (pushdecl): Likewise.
16752         (finish_decl): Likewise.
16753         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
16754         int.  All callers changed.
16755         Set the builtin's DECL_BUILT_IN_CLASS.
16756         * tree.h (enum built_in_class): New.
16757         (enum built_in_function): Delete NOT_BUILT_IN.
16758         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
16759         in a union.
16760         (DECL_SET_FUNCTION_CODE): Likewise.
16761         (DECL_BUILT_IN_CLASS): New macro.
16762         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
16763         (struct tree_decl): Split builtin function code field into a
16764         struct.
16765         (builtin_function): Declare.
16766
16767 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
16768
16769         * optabs.c (init_traps): Fix typo in last change.
16770
16771 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
16772
16773         * toplev.c (rest_of_decl_compilation): Update comment.
16774
16775 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
16776
16777         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
16778         in .sbss if appropriate.
16779         (EXTRA_SECTION_FUNCTIONS): Add sbss.
16780         (SBSS_SECTION_ASM_OP): New macro.
16781         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
16782         (EXTRA_SECTIONS): Add in_sbss.
16783         * config/mips/mips.h: Prototype sbss_section.
16784
16785 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
16786
16787         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
16788         to disappear.
16789
16790 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
16791
16792         * optabs.c (init_traps): Register trap_rtx as a GC root.
16793
16794 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
16795
16796         * config/mips/mips.c (function_arg_pass_by_reference): Define
16797         unconditionally, since it's called unconditionally.
16798
16799 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
16800
16801         * toplev.c (documented_lang_options): Add -fshort-wchar.
16802         * c-decl.c (c_decode_option): Likewise.
16803         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
16804         for wchar_t.
16805         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
16806         * gcc.c (default_compilers): If -fshort-wchar,
16807         override __WCHAR_TYPE__.
16808         * tm.texi (C Dialect Options): Add -fshort-wchar.
16809
16810         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
16811         symbol for a variable.
16812
16813         * cpplib.h (CPP_PREPROCESSED): New macro.
16814         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
16815         we're seeing this input for a second time.
16816
16817 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
16818
16819         * emit-rtl.c (init_emit_once): Initialize modes first.
16820
16821 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
16822
16823         * config/i386/i386.c (pic_label_name): Change to char pointer.
16824         (global_offset_table): New variable.
16825         (load_pic_register): Fill global_offset_table if it hasn't
16826         already been done.  Allocate pic_label_name dynamically.
16827         * ggc.h (empty_string): New variable.
16828         * ggc-simple.c (empty_string): Likewise.
16829         (init_ggc): Allocate empty_string and add as root.
16830         * stmt.c (digit_strings): New variable.
16831         (init_stmt): Add last_block_end_note as root.  Allocate and
16832         initialize digit_strings.
16833         (expand_asm_operands): Use empty_string instead of string
16834         constant.  Use digit_strings instead of string constants.
16835         * profile.c (init_arc_profiler): Allocate string with
16836         ggc_alloc_string instead of xmalloc.
16837         (output_func_start_profiler): Likewise.
16838         * c-typeck.c (digest_init): Check if init is error_mark_node.
16839
16840 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
16841                           Richard Henderson  <rth@cygnus.com>
16842
16843         * ggc-page.c: New file.
16844         * Makefile.in (ggc-page.o): New.
16845
16846 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
16847
16848         * invoke.texi: Document -fdelete-null-pointer-checks
16849         * toplev.c (flag_delete_null_pointer_checks): New.
16850         (f_options): Add entry for -fdelete-null-pointer-checks.
16851         (rest_of_compilation): Conditionalize null pointer check
16852         elimination on flag_delete_null_pointer_checks.
16853         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
16854
16855 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
16856
16857         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
16858         copyright notice and special exception to GPL.
16859
16860 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16861
16862         * abi64.h (mips_function_value): Add prototype arguments.
16863
16864         * mips-protos.h: New file with mips prototypes.
16865
16866         * mips.c: Include "tm_p.h".
16867         (mktemp, lookup_name): Add prototype arguments.
16868         (extern_list, string_constant, mips_fill_delay_slot,
16869         mips_output_external, mips_output_external_libcall,
16870         mips_output_filename, mips_declare_object, function_prologue,
16871         mips_expand_prologue, function_epilogue, mips16_constant,
16872         build_mips16_function_stub, mips_output_conditional_branch):
16873         Constify a char*.
16874         (mips_va_start): Remove unused variable `u'.
16875         (mips_va_arg): Cast value to unsigned when comparing against one.
16876         (trace): Delete.
16877         (save_restore_insns, mips_expand_prologue): Add missing arg in
16878         call to `large_int'.
16879
16880         * mips.h: Move prototypes to mips-protos.h.
16881         (data_section, memory_address_p, rdata_section,
16882         readonly_data_section, simple_epilogue_p, text_section): Delete
16883         prototypes delcared elsewhere.
16884         (mips_epilogue_delay_slots, print_options): Delete unused decls.
16885         (trace): Delete.
16886         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
16887
16888         * mips.md: Delete extra args in call to `mips_move_2words'.
16889
16890         * xm-iris6.h (alloca): Add prototype argument.
16891
16892         * genpeep.c: Include "tm_p.h" in generated output file.
16893
16894 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16895
16896         * basic-block.h (find_edge_index): Change parameters.
16897         * flow.c (verify_edge_list): Pass basic_block parameters to
16898         find_edge_index instead of integers.
16899
16900 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
16901
16902         * combine.c (simplify_comparison): Use an unsigned shift to adjust
16903         the constant.
16904
16905 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
16906
16907         * gcc.1: Fix a formatting error.
16908
16909 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
16910
16911         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
16912         i786, mn10200, mn10300, pdp11, v850.
16913
16914 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
16915
16916         * libgcc2.c (num_digits): Add prototype with
16917         __attribute__((const)).
16918         (__terminate): Add prototype.
16919
16920 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
16921
16922         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
16923
16924         * alpha/alpha.c (print_operand): Fix type of `code'.
16925         (alpha_output_filename): Constify.
16926         * alpha/alpha.h: Move all function declarations ...
16927         * alpha/alpha-protos.h: ... here.  New file.
16928         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
16929         (SECTION_FUNCTION_TEMPLATE): Likewise.
16930
16931 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16932
16933         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
16934         * expr.c (expand_expr): Likewise.
16935         (do_jump): Likewise.
16936         (do_store_flag): Pass ccp_store_flag to can_compare_p.
16937         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
16938         accessor macros.
16939         (enum can_compare_purpose): New.
16940         (can_compare_p): Adjust prototype.
16941         (prepare_cmp_insn, prepare_operand): Declare.
16942         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
16943         * optabs.c (cmp_available_p): Deleted.
16944         (expand_abs): Pass ccp_jump to can_compare_p.
16945         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
16946         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
16947         Call can_compare_p rather than cmp_available_p.
16948         (prepare_operand): No longer static.
16949         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
16950         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
16951         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
16952         sequence to use emit_cmp_and_jump_insns.
16953         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
16954
16955 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
16956
16957         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
16958         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
16959         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
16960         (plus (reg) (const_int 0))
16961         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
16962
16963 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
16964
16965         * rs6000.c (expand_block_move): DImode loads and stores require
16966         word-aligned displacements.  Increment address registers with
16967         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
16968
16969 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
16970
16971         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
16972         is no name for the base type, rather than segfault.  If we are
16973         writing out a complex integer type, use DW_ATE_lo_user.
16974
16975         * expr.c (emit_move_insn_1): If we are copying a complex that fits
16976         in one word or less (complex char, complex short, or on 64 bit
16977         systems complex float) to/from a hard register, copy it through
16978         memory instead of dying in gen_{real,imag}part.  If we have a
16979         short complex type, prevent inlining since it allocates stack
16980         memory.
16981
16982         * tree.c (build_complex_type): If we are writing dwarf2 output,
16983         generate a name for complex integer types.
16984
16985 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16986
16987         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
16988         * flow.c (remove_edge): Remove extra whitespace.
16989         (remove_fake_edges): Fix comment.
16990         (add_noreturn_fake_exit_edges): Use the correct name.
16991
16992 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
16993
16994         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
16995         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
16996         (clean): Depend on INTL_CLEAN.
16997         (maintainer-clean): Adjust.
16998
16999 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17000
17001         * configure.in (AC_PREREQ): Bump to 2.13.
17002         (AC_C_STRINGIZE): Call this instead of using a custom macro.
17003
17004         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
17005
17006         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
17007
17008         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
17009
17010         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
17011         (HAVE_STRINGIZE): Define.
17012
17013 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
17014
17015         * c-parse.in: save and restore warn_pointer_arith on __extension__
17016         along with pedantic.
17017         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
17018         Set the type of extension to itype rather than $<itype>1 kludge.
17019         * extend.texi (Alternate Keywords): Adjust documentation.
17020         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
17021
17022 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
17023
17024         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
17025         most assembler templates.
17026
17027         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
17028         FP loads and stores.
17029         (following_call): Always return zero for the PA8000.
17030         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
17031         FP loads and stores.
17032         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
17033
17034         * pa.h (BRANCH_COST): Define.
17035
17036         * pa.md (return, return_internal): Use bve for PA2.0.
17037
17038         * pa.md (fused multiply): Add variants which reduce height for the
17039         fused multiply, but which still generate 2 insns.
17040         (fnegabs): Similarly.
17041
17042         * pa.md (subsi3): Turn into an expander.  Create two anonymous
17043         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
17044         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
17045
17046         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
17047         for TARGET_PA_20.
17048         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
17049         code generation.
17050         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
17051         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
17052
17053         * regclass.c (init_regs): Add "top_of_stack" as a garbage
17054         collection root.
17055
17056         * flow.c (record_active_eh_regions): Terminate loop after finding
17057         the last insn in the last basic block.
17058
17059 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17060
17061         * config/c4x/c4x.md: Delete parallel instruction peepholes.
17062
17063 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17064
17065         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
17066
17067 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17068
17069         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
17070         splitting to not use output template.
17071
17072 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17073
17074         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
17075         * config/c4x/c4x.c (c4x_va_start): New function.
17076
17077 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
17078
17079         * genrecog.c (not_both_true): Handle correctly cases when called for
17080         tests with different positions in the insn.
17081
17082 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17083
17084         * machmode.h (HOST_PTR_PRINTF): Move from here ...
17085
17086         * system.h (HOST_PTR_PRINTF): ... to here.
17087
17088         * mips-tfile.c: Don't include machmode.h.
17089
17090         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
17091         (mips-tfile.o): Don't depend on machmode.h.
17092
17093 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17094
17095         * haifa-sched.c (sched_analyze): Rename local variable `region' to
17096         avoid conflicts with typedef struct `region' at the top level scope.
17097
17098 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
17099
17100         * basic-block.h (basic_block): Add eh_beg, eh_end.
17101         * flow.c (entry_exit_blocks): Update.
17102         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
17103         Call new functions.
17104         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
17105         lists.c functions to allocate insn lists.
17106         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
17107         edge creation ...
17108         (make_eh_edge): ... here.  New.
17109         (move_stray_eh_region_notes): New.
17110         (record_active_eh_regions): New.
17111         (delete_unreachable_blocks): Split out block merging ...
17112         (try_merge_blocks): ... here.  New.
17113         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
17114         Dump debugging data.
17115         (merge_blocks_move_successor_nojumps): Likewise.
17116         (merge_blocks): Use eh_beg+eh_end to validate block movement.
17117
17118 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
17119
17120         * extend.texi (Bound member functions): Document unbound pmf
17121         conversion.
17122
17123 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17124
17125         * flow.c (split_edge): Handle insertion on a fallthrough edge which
17126         has the EXIT_BLOCK as a dest.
17127
17128 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17129
17130         * flow.c (remove_edge): New function to remove an edge from the
17131         flow graph.
17132         (remove_fake_successors): New function to remove fake successor edges.
17133         (remove_fake_edges): New function to remove all fake edges from the
17134         flow graph.
17135         (add_fake_exit_edges): New function to add fake edges from all blocks
17136         with no successors to the exit block.
17137         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
17138         prototypes for new functions.
17139
17140 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17141
17142         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
17143         Use Pmode to determine whether to output .dword or .word.
17144
17145 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
17146
17147         * tree.c (built_in_filename): New variable.
17148         (BUILT_IN_FILENAME): New macro.
17149         (init_tree_codes): Allocate built_in_filename.
17150         (make_node): Use built_in_filename instead of string constant.
17151
17152 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
17153
17154         * configure.in: Add fr30 target.
17155         * configure: Regenerate.
17156         * config/fr30: New directory.
17157         * config/fr30/crti.asm: New file.
17158         * config/fr30/fr30.c: New file.
17159         * config/fr30/crtn.asm: New file.
17160         * config/fr30/fr30.h: New file.
17161         * config/fr30/fr30.md: New file.
17162         * config/fr30/lib1funcs.asm: New file.
17163         * config/fr30/t-fr30: New file.
17164         * config/fr30/xm-fr30.h: New file.
17165
17166 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
17167
17168         * flow.c (merge_blocks_move_successor_nojumps): Delete the
17169         BARRIER at the end of the successor, not the BARRIER before
17170         the successor.
17171
17172         * pa.c (pa_add_gc_roots): Fix thinko in last change.
17173
17174 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
17175
17176         * stmt.c (any_pending_cleanups): Don't crash when
17177         current_function->stmt is unset.
17178
17179 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17180
17181         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
17182         other initializations that may use it for relative offsets.
17183
17184 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17185
17186         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
17187         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
17188         * config/i386/sol2dbg.h: Removed.
17189         * config/i386/sol2gas.h: New file, to enable gas work-around.
17190         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
17191         Don't use sol2dbg.h.
17192         * configure: Rebuilt.
17193
17194 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
17195
17196         * invoke.texi (-fthis-is-variable): Remove documentation.
17197
17198 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
17199
17200         * basic-block.h (compute_bb_for_insn): Declare.
17201         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
17202         to use; set size of basic_block_for_insn directly.
17203         (find_basic_blocks): Update.
17204
17205 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17206
17207         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
17208
17209 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17210
17211         * crtstuff.c (ON_EXIT): Delete empty macro definition.
17212         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
17213
17214 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
17215
17216         * c-decl.c (c_decode_option): Extend comment.
17217
17218 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
17219
17220         * toplev.c (progname): Make 'const char *'
17221         (flag_print_mem): Move out of main.
17222         (version_flag): Move out of main.
17223         (filename): Move out of main.
17224         (debug_args): Remove g prefix from options.
17225         (documented_lang_options): Remove cpplib specific options.
17226         (display_help): Add g prefix to debug options.
17227         (check_lang_option): Delete this function.
17228         (decode_d_option): New function: Decode -d... option.
17229         (decode_f_option): New function: Decode -f... option.
17230         (decode_W_option): New function: Decode -W... option.
17231         (decode_g_option): New function: Decode -g... option.
17232         (independent_decode_option): New function: Decode a language
17233         independent command line option.
17234         (main): Invoke lang_decode_option and then
17235         independent_decode_option on each command line option in
17236         turn.
17237
17238 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
17239
17240         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
17241          * fold-const.c (fold_range_test): Do not try to fold the range
17242          test if the rhs or lhs has side effects.
17243
17244         * basic-block.h (compute_flow_dominators): Declare.
17245
17246         * gcse.c (alloc_code_hoist_mem): New function.
17247         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
17248         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
17249         (hoist_code, one_code_hoisting_pass): Likewise.
17250         (gcse_main): If optimizing for size, then hoist expressions
17251         computed in multiple dominated basic blocks.
17252
17253         * gcse.c (invalid_nonnull_info): New function.
17254         (delete_null_pointer_checks): Likewise.
17255         * rtl.h (delete_null_pointer_checks): Declare.
17256         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
17257
17258         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
17259         (merge-blocks_move_successor_nojumps): Likewise.
17260         (merge_blocks): Allow merging of some blocks, even if it requires
17261         physical movement of the blocks, but not if it requires new jumps.
17262
17263         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
17264         Callers and prototype changed.
17265         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
17266
17267 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17268
17269         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
17270         -YP when both -p and -pg are present.  From i386/sol2.h.
17271
17272 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17273
17274         * Makefile.in (distclean): Delete tm_p.h.
17275         * configure.in: Create a new file, "tm_p.h", from a list in
17276         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
17277         "i386/i386-protos.h".
17278
17279         * alias.c: Include "tm_p.h".
17280         * c-typeck.c: Likewise.
17281         * calls.c: Likewise.
17282         * cse.c: Likewise.
17283         * emit-rtl.c: Likewise.
17284         * explow.c: Likewise.
17285         * expmed.c: Likewise.
17286         * expr.c: Likewise.
17287         * final.c: Likewise.
17288         * flow.c: Likewise.
17289         * fold-const.c: Likewise.
17290         * function.c: Likewise.
17291         * gcse.c: Likewise.
17292         * global.c: Likewise.
17293         * haifa-sched.c: Likewise.
17294         * integrate.c: Likewise.
17295         * jump.c: Likewise.
17296         * local-alloc.c: Likewise.
17297         * loop.c: Likewise.
17298         * optabs.c: Likewise.
17299         * recog.c: Likewise.
17300         * reg-stack.c: Likewise.
17301         * regclass.c: Likewise.
17302         * regmove.c: Likewise.
17303         * reload.c: Likewise.
17304         * reload1.c: Likewise.
17305         * reorg.c: Likewise.
17306         * resource.c: Likewise.
17307         * stmt.c: Likewise.
17308         * stor-layout.c: Likewise.
17309         * toplev.c: Likewise.
17310         * tree.c: Likewise.
17311         * unroll.c: Likewise.
17312         * genattrtab.c (main): Make generated file include "tm_p.h".
17313         * genemit.c (main): Likewise.
17314         * genoutput.c (main): Likewise.
17315         * genrecog.c (main): Likewise.
17316
17317         * i386.h: Delete all prototypes.
17318         * i386.c: Include "tm_p.h".
17319         (ix86_attr_length_default): Call constant_call_address_operand
17320         with correct number of arguments.
17321         * i386-protos.h: New file.
17322         * i386.md (unnamed patterns): Call constant_call_address_operand
17323         with correct number of arguments.
17324         (exception_receiver): Call load_pic_register with correct number
17325         of arguments.
17326
17327 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
17328
17329         * c-pragma.c (mark_align_stack): Dereference the void* properly.
17330
17331 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
17332
17333         * rtl.h (insns_safe_to_move_p): New function.
17334         * loop.c (find_and_verify_loops): Use it.
17335         * rtlanal.c (insns_safe_to_move_p): Define it.
17336
17337 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
17338
17339         * c-pragma.c: Include ggc.h.
17340         * Makefile.in (c-pragma.o): Update.
17341
17342 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17343
17344         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
17345         (LIB_SPEC): Likewise.
17346         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
17347         Reindent -YP/-p/-pg.
17348         Copied from config/sparc/sol2.h.
17349
17350 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
17351
17352         * c-pragma.c (mark_align_stack): New.
17353         (init_pragma): New.
17354         * c-pragma.h (init_pragma): Declare it.
17355         * c-lex.c (init_parse): Call it.
17356
17357 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17358
17359         * configure.in: Pick up thread library on Solaris/x86 just
17360         like on Solaris/sparc.
17361         * configure: Rebuilt.
17362
17363 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
17364
17365         * rtl.h (global_rtx_index): New enum.
17366         (global_rtl): Change to array of rtx.
17367         (pc_rtx, cc0_rtx): Redefine accordingly.
17368         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
17369         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
17370         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
17371         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
17372         (const_int_rtx): Change to array of rtx.
17373         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
17374         accordingly.
17375         * emit-rtl.c (global_rtl): Change to array of rtx.
17376         (const_int_rtx): Change to aray of rtx.
17377         (gen_rtx_CONST_INT): Redefine accordingly.
17378         (init_emit_once): Allocate and initialize global_rtl.  Likewise
17379         for const_int_rtx.  Add both as GC roots.
17380         * genattrtab.c (global_rtl): Update declaration.
17381
17382 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
17383
17384         * Makefile (USER_H): Add iso646.h back.
17385
17386 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
17387
17388         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
17389         zapping the LOG_LINKS of sched_before_next_call.
17390
17391         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
17392         * pa.c (insn_refs_are_delayed): Renamed from
17393         insn_sets_and_refs_are_delayed.
17394
17395 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
17396
17397         * functiion.h (struct function): Add x_whole_function_mode_p.
17398         (retrofit_block): Declare.
17399         * function.c (retrofit_block): New function.
17400         (identify_blocks): Add assertions.  Allow an incomplete set of
17401         block notes if we're still generating code for the function.
17402         * integrate.c: Include loop.h.
17403         (expand_inline_function): Call find_loop_tree_blocks to map block
17404         notes to blocks when in whole-function mode.  Use retrofit_block
17405         to insert new BLOCKs for the inlined function, rather than
17406         insert_block.
17407         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
17408         * Makefile.in (integrate.o): Depend on loop.h.
17409
17410 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
17411
17412         * tree.h (warn_about_unused_variables): Declare.
17413         * stmt.c (warn_about_unused_variables): New function, split out
17414         from ...
17415         (expand_end_bindings): Here.
17416
17417 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
17418
17419         * stmt.c (preserve_subexpressions_p): Don't crash when
17420         current_function->stmt is unset.
17421
17422 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
17423
17424         * stmt.c (expand_start_bindings): Allow callers to pass a flag
17425         indicating that no NOTE_INSN_BLOCK_BEG note is required.
17426         (expand_start_target_temps): Use it.
17427         * except.c (expand_eh_region_start_for_decl): Likewise.
17428         * expr.c (expand_expr): Likewise.
17429
17430 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17431
17432         * fold-const.c (operand_equal_p): Pay attention to side effects.
17433
17434 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
17435
17436         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
17437         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
17438
17439         * tlink.c (scan_linker_output): Look for keywords before accepting
17440         a mangled name in quotes.
17441
17442 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
17443
17444         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
17445         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
17446
17447 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
17448
17449         * alpha.md: Revert Thu Nov 26 change that came in through the
17450         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
17451         Avoid earlyclobber when possible.
17452
17453 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17454
17455         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
17456
17457         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
17458         Define HAVE_ON_EXIT.
17459
17460 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17461
17462         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
17463         CTYPE_CONV in all ctype macros.
17464
17465         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
17466         from system.h.
17467
17468         * cexp.y (initialize_random_junk): Likewise.
17469
17470         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
17471
17472         * i370.c (handle_pragma): Likewise.
17473
17474         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
17475
17476         * v850.c (override_options): Likewise.
17477
17478         * doprint.c (_doprnt): Likewise.
17479
17480         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
17481         Likewise.
17482
17483         * fixinc/server.c (load_data): Likewise.
17484
17485         * fold-const.c (real_hex_to_f): Likewise.
17486
17487         * genattr.c (write_upcase, gen_attr): Likewise.
17488
17489         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
17490         write_upcase): Likewise.
17491
17492         * genemit.c (print_code): Likewise.
17493
17494         * genopinit.c (gen_insn): Likewise.
17495
17496         * genpeep.c (print_code): Likewise.
17497
17498         * genrecog.c (print_code): Likewise.
17499
17500         * optabs.c (init_libfuncs): Likewise.
17501
17502 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
17503
17504         * haifa-sched.c (sched_analyze): Keep the list of notes organized
17505         in pairs.
17506         (reemit_notes): Likewise.
17507
17508 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
17509
17510         * ggc.h (ggc_root): Move to ggc-common.c.
17511         (roots): Remove.
17512         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
17513         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
17514         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
17515         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
17516         * ggc-common.c (ggc_root): Move from ggc.h.
17517         (roots): Declare, static.
17518         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
17519         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
17520         null or check/set mark bit.
17521         (ggc_mark_roots): New.
17522         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
17523
17524 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
17525
17526         * m32r.c: Include toplev.h.
17527         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
17528         (gen_compare): Rename swap_p to must_swap to match uses.
17529         Add default abort case.
17530         (m32r_output_function_epilogue): Remove unused variables.
17531         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
17532         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
17533         define to empty parameter list.  Update all uses.
17534         (predicate decls): Use enum machine_mode not int.
17535         * m32r.md (movsi): Call abort, not fatal_insn.
17536         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
17537
17538 1999-09-14  Andrew Haley  <aph@cygnus.com>
17539
17540         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
17541         use $0 instead of 0.
17542
17543 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17544
17545         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
17546         computation out of loop over hard regs.
17547
17548 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
17549
17550         * function.c (identify_blocks): Don't shadow a variable in an
17551         outer scope.
17552         * integrate.c (integrate_decl_tree): Don't use pushlevel,
17553         pushdecl, or poplevel to build up the new BLOCK tree.
17554         (expand_inline_function): Likewise.
17555         (integrate_parm_decls): Likewise.
17556
17557 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
17558
17559         * c-typeck.c (qualify_type): Merge qualifiers from both types.
17560
17561 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
17562
17563         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
17564         * invoke.texi: Document this change.
17565
17566 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
17567
17568         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
17569         Free the struct.
17570         (mark_emit_status): Renamed from mark_emit_state.
17571         * except.c (mark_eh_status): Renamed from mark_eh_state.
17572         Check not null before marking.
17573         (free_eh_status): New.
17574         * expr.c (mark_expr_status, free_expr_status): New.
17575         * function.c (free_machine_status): New.
17576         (free_after_parsing): New.
17577         (free_after_compilation): Move bits to free_after_parsing; call
17578         free_eh_status, free_expr_status; zero the marked members of the
17579         function state.
17580         (prepare_function_start): No can_garbage_collect.
17581         Call init_eh_for_function.
17582         (expand_dummy_function_end): Free up current_function state.
17583         (mark_function_status): Renamed from mark_function_state.
17584         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
17585         * function.h (struct function): No can_garbage_collect.
17586         (free_machine_status, free_after_parsing): Declare.
17587         (free_eh_status, free_expr_status): Declare.
17588         * ggc.h (mark_expr_status): Declare.
17589         * stmt.c (free_stmt_status): Free the struct.
17590         (mark_stmt_status): Renamed from mark_stmt_state.
17591         (init_stmt): Don't call init_eh.
17592         (init_stmt_for_function): Don't call init_eh_for_function.
17593         * toplev.c (compile_file): Call init_eh.
17594         (rest_of_compilation): Free basic block info before ggc_collect.
17595         Call free_after_parsing; conditionally call free_after_compilation.
17596         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
17597         Check not null before marking.
17598         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
17599
17600 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
17601
17602         * c-lex.c (yylex): Initialize warn.
17603
17604 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
17605
17606         * pa.c (emit_move_sequence): Properly set the mode of the scratch
17607         register when performing secondary reloads for the SAR register.
17608
17609 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
17610
17611         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
17612         (NOTE_BLOCK): New macro.
17613         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
17614         * function.h (identify_blocks): Change prototype.
17615         * function.c (identify_blocks): Simplify.
17616         (reorder_blocks): Likewise.
17617         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
17618         NOTE_INSN_BLOCK_{BEG,END}.
17619         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
17620         the list of saved notes if the note isn't a
17621         NOTE_INSN_BLOCK_{BEG,END}.
17622         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
17623         NOTE_BLOCK_NUMBER.
17624         (reemit_notes): Adjust recreation of notes to reflect new saved
17625         note structure.
17626         * print-rtl.c (print_rtx): Print the address of the BLOCK when
17627         printing a block note.
17628         * stmt.c (block_vector): Remove.
17629         (find_loop_tree_blocks): Simplify.
17630         (unroll_block_trees): Likewise.
17631         * tree.h (reorder_block): Change prototype.
17632
17633 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
17634
17635         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
17636         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
17637         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
17638         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
17639         (atexit, exit): Simplify.
17640         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
17641         * config/lots: Remove defns of HAVE_ATEXIT.
17642
17643 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
17644
17645         * calls.c (precompute_arguments): Fix typo in comment.
17646         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
17647         TARGET_EXPR.
17648
17649 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
17650
17651         * dsp16xx.c (override_options): Fix typos in GC root registration.
17652
17653 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
17654
17655         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
17656         from config/svr4.h.
17657         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
17658         (FUNCTION_PROFILER): Redefine appropriately for Linux.
17659         (CC1_SPEC): Likewise.
17660
17661 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17662
17663         * genattr.c (main): Add extern prototype.  Call return, not exit.
17664         * genattrtab.c (main): Likewise.
17665         * gencheck.c (main): Likewise.
17666         * gencodes.c (main): Likewise.
17667         * genconfig.c (main): Likewise.
17668         * genemit.c (main): Likewise.
17669         * genextract.c (main): Likewise.
17670         * genflags.c (main): Likewise.
17671         * gengenrtl.c (main): Likewise.
17672         * genopinit.c (main): Likewise.
17673         * genoutput.c (main): Likewise.
17674         * genpeep.c (main): Likewise.
17675         * genrecog.c (main): Likewise.
17676
17677         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
17678         * genattrtab.c (get_insn_name): Likewise.
17679         * gencodes.c (get_insn_name): Likewise.
17680         * genconfig.c (get_insn_name): Likewise.
17681         * genemit.c (get_insn_name): Likewise.
17682         * genextract.c (get_insn_name): Likewise.
17683         * genflags.c (get_insn_name): Likewise.
17684         * genopinit.c (get_insn_name): Likewise.
17685         * genpeep.c (get_insn_name): Likewise.
17686
17687         * gencheck.c (usage): Add static prototype.
17688         * genextract.c (print_path): Constify a char*.
17689         * genopinit.c (optabs): Likewise.
17690         * genoutput.c (operand_data, data, output_predicate_decls,
17691         compare_operands): Likewise.
17692         * genrecog.c (write_tree): Add default case in switch.
17693
17694 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17695
17696         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
17697
17698         * print-rtl.c (get_insn_name): Remove prototype.
17699
17700         * toplev.h (progname): Declare const.
17701
17702         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
17703         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
17704         dump_sched_info, dump_local_alloc, regset_release_memory,
17705         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
17706         error_with_file_and_line, error_with_decl, error_for_asm, error,
17707         fatal, warning_with_file_and_line, warning_with_decl, warning,
17708         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
17709         Remove redundant prototypes.
17710
17711         (notice, check_lang_option, report_file_and_line, vnotice,
17712         mark_file_stack): Add static prototype.
17713         (set_fatal_function): Add prototype.
17714         (vnotice, report_file_and_line, set_fatal_function,
17715         check_lang_option): Constify a char*.
17716         (main): Prototype.  Call return, not exit.
17717
17718 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17719
17720         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
17721
17722         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
17723
17724         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
17725
17726         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
17727
17728 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17729
17730         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
17731         behave as if it's zero in all cases.
17732         (expand_function_start): Adjust call to assign_parms.
17733         * tree.h (assign_parms): Adjust prototype.
17734         * objc/objc-act.c (hack_method_prototype): Adjust call to
17735         assign_parms.
17736
17737 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
17738
17739         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
17740         arg_pointer_rtx fixed if the argument pointer register is
17741         not fixed.
17742         (NONZERO_BASE_PLUS_P): Likewise.
17743
17744 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
17745
17746         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
17747         match_insn2 to match_insn.
17748         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
17749
17750 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
17751
17752         * Makefile.in (USER_H): Remove va-foo.h.
17753
17754         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
17755         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
17756         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
17757         va-spur.h,va-v850.h}: Remove.
17758
17759 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
17760
17761         * sparc/sparc.md (eligible_for_return_delay): New attribute.
17762         (in_return_delay): Use it instead of match_insn.
17763
17764 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17765
17766         * config/alpha/va_list.h (va-alpha.h): Do not include.
17767         (__gnuc_va_list): Typedef as in varargs.h.
17768
17769 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
17770
17771         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
17772         DECL_LIVE_RANGE_RTL.
17773
17774 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
17775
17776         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
17777         not NOTE_BLOCK_NUMBER.
17778         (expand_eh_region_end): Likewise.
17779         (find_exception_handler_labels): Likewise.
17780         (scan_region): Likewise.
17781         (exception_optimize): Likewise.
17782         (update_rethrow_references): Likewise.
17783         (set_insn_eh_region): Likewise.
17784         * final.c (final_scan_insn): Likewise.
17785         * flow.c (make_edges): Likewise.
17786         * integrate.c (expand_inline_function): Likewise.
17787         * print-rtl.c (print_rtx): Likewise.
17788
17789 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
17790
17791         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
17792         terms of builtin functions and types.
17793
17794         * mips.c (mips_build_va_list): New.
17795         (mips_va_start, mips_va_arg): New.
17796         * mips.h (BUILD_VA_LIST_TYPE): New.
17797         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17798
17799         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
17800         (sh_build_va_list, sh_va_start, sh_va_arg): New.
17801         * sh.h (BUILD_VA_LIST_TYPE): New.
17802         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
17803
17804 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
17805
17806         * recog.h (struct recog_data): Make dup_num, operand_address_p,
17807         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
17808         (struct insn_data): Likewise with n_operands, n_dups,
17809         n_alternatives, output_format.
17810         * regclass.c (scan_one_insn): Cast n_operands to int before
17811         arithmetic inside comparison.
17812
17813 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
17814
17815         * toplev.c (compile_function): Unconditionally emit nop.
17816
17817 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17818
17819         * haifa-sched.c (actual_hazard): Move declaration of variable
17820         `this_cost' into the scope where it is used.
17821
17822 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17823
17824         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
17825         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
17826         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
17827
17828         * genrecog.c (make_insn_sequence): Call memset, not bzero.
17829
17830         * jump.c (find_insert_position): Don't declare or define unless
17831         !HAVE_conditional_arithmetic.
17832         (returnjump_p_1, delete_prior_computation): Add static prototypes.
17833
17834         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
17835
17836         * recog.c (offsettable_address_p): Prototype function pointer.
17837         (preprocess_constraints): Call memset, not bzero.
17838
17839         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
17840         (gcc_obstack_init): Don't declare.
17841         (fix_sizetype): Add static prototype.
17842         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
17843         (tree_cons): Call memset, not bzero.
17844
17845         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
17846         definition in macro ASM_WEAKEN_LABEL.
17847         (mark_const_hash_entry): Add static prototype.
17848
17849 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17850
17851         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
17852
17853         * unroll.c (find_common_reg_term, subtract_reg_term,
17854         loop_find_equiv_value): Add static prototypes.
17855         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
17856         (copy_loop_body): Remove unreachable break statement.
17857
17858         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
17859
17860         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
17861
17862 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17863
17864         Undo some changes from the gcc2 merge:
17865         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
17866         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
17867         pointers.
17868
17869         Undo this change:
17870         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
17871         * emit-rtl.c (gen_lowpart_common): Disable optimization of
17872         initialized float-int union if the value is a NaN.
17873
17874 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17875
17876         * gthr-win32.h: New file.
17877
17878         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
17879         shared as a valid attribute.
17880         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
17881         * extend.texi: Document `shared' variable attribute.
17882
17883 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
17884
17885         * configure.in: Handle --enable-threads on FreeBSD.
17886         * configure: Rebuit.
17887
17888 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
17889
17890         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
17891         thread support.
17892         * configure: Rebuilt.
17893
17894 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
17895                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
17896                           Rosimildo DaSilva <rdasilva@connecttel.com>
17897
17898         * configure.in (m68k-*-rtemscoff*): Added.
17899         * configure.in (mips64orion-*-rtems*): Converted to ELF.
17900         * configure.in (sparc-*-rtemsaout*): Added as alias for old
17901         sparc-rtems configuration.
17902         * configure.in (sparc-*-rtemself*): Added.
17903         * configure.in (sparc-*-rtems*): Now ELF not a.out.
17904         * config/i386/rtems.h: Added comment.
17905         * config/sparc/rtemself.h: New file.
17906
17907         * configure.in (m68k-rtemself): Added.
17908         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
17909         and DWARF_DEBUGGING_INFO.
17910         * config/m68k/crti.s: New file.
17911         * config/m68k/crtn.s: New file.
17912         * config/m68k/t-crtstuff: New file.
17913         * config/m68k/rtemself.h: New file.
17914
17915         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
17916         global ctor/dtor and C++ exception handling.
17917         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
17918         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
17919         ENDFILE_SPEC.
17920         * config/i386/t-rtems-i386: New File.
17921
17922 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
17923
17924         * stmt.c (expand_end_case): Return right away if the case stack is
17925         empty.
17926
17927 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
17928
17929         * Makefile.in (version.c): Remove rule incorrectly brought in from
17930         the gcc2 merge.
17931
17932 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
17933
17934         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
17935         * msdos/top.sed:  Take into account a prepended $(SHELL) to
17936         move-if-change.
17937         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
17938
17939         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
17940
17941 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17942
17943         * regmove.c (fixup_match_1): Don't change an unchanging register.
17944         (stable_but_for_p): Renamed to:
17945         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
17946         Changed all callers.
17947
17948 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
17949
17950         * loop.c (strength_reduce): Don't call reg_used_between_p if the
17951         insn from BL2 is after the insn from BL.
17952
17953 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
17954
17955         * recog.h (INSN_OUTPUT_FORMAT_*): New.
17956         (struct insn_data): Merge `template' and `outfun' into `output'.
17957         Add `output_format'.
17958         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
17959         (struct data): Remove `outfun'; add `output_format'.
17960         (name_for_index): Remove declaration.
17961         (output_insn_data): Handle output formats.
17962         (process_template): Emit the bare array for @.
17963         (gen_expand, gen_split): Set output_format to NONE.
17964         * output.h (get_insn_template): Declare.
17965         * final.c (get_insn_template): New.
17966         (final_scan_insn): Use it.
17967         * toplev.c (compile_file): Likewise.
17968
17969         * c4x/c4x.c (c4x_process_after_reload): Likewise.
17970         * i860/i860.c (output_delayed_branch): Likewise.
17971         (output_delay_insn): Likewise.
17972
17973 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
17974
17975         * rtl.c (obstack_alloc_rtx): Removed.
17976
17977 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
17978
17979         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
17980
17981 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
17982
17983         * i386.c (call_insn_operand): Reject const_int.
17984         (expander_call_insn_operand): Use call_insn_operand.
17985
17986 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17987
17988         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
17989
17990 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
17991
17992         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
17993         Use DImode operation.
17994
17995 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
17996
17997         * gcc.c: Include sys/resource.h.
17998         (report_times): New flag.
17999         (execute):  If report_times is set, calculate and report the
18000         CPU time consumed by each subprocess.
18001
18002         (rus, prus): New globals.
18003         (option_map): Add --time.
18004         (display_help): Document -time.
18005         (process_command): Set report_times if -time is given.
18006         Turn off -pipe if -time is given.
18007
18008         * invoke.texi: Document new option -time.
18009
18010         * configure.in: Check for getrusage.  Check if we have to
18011         prototype getrusage.
18012         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
18013         * configure: Regenerate.
18014         * config.in: Regenerate.
18015
18016 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
18017
18018         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
18019         fields.
18020
18021 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
18022
18023         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
18024         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
18025         (nan): Return _thenan_sf or _thenan_df as appropriate.
18026         (L_thenan_sf): Define _thenan_sf.
18027         (L_thenan_df): Define _thenan_df.
18028
18029         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
18030         (DPBIT_FUNCS): Add _thenan_df.
18031
18032 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
18033
18034         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
18035         TYPE_SIZE_UNIT.
18036
18037 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18038
18039         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
18040
18041         * gcc.h: New file.
18042         (lang_specific_driver): Don't take a function pointer parameter.
18043         All callers changed.
18044
18045         * gcc.c: Include gcc.h.
18046         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
18047         lang_specific_extra_outfiles, fatal): Don't declare.
18048         (multilib_defaults_raw): Constify.
18049         (read_specs): Call memset, rather than bzero.
18050         (main): Call return, not exit.
18051         (lookup_compiler): Call memcpy, not bcopy.
18052         (fatal): Make extern.
18053
18054         * cppspec.c: Include gcc.h.
18055         (lang_specific_driver): Initialize variable `quote'.  Constify a
18056         char*.  All calls to the function pointer parameter now
18057         explicitly call `fatal'.
18058
18059         * gccspec.c (lang_specific_driver): Include gcc.h.
18060
18061 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
18062
18063         * arm.c (note_invalid_constants): Use recog_data.operand_type
18064         for recog_op_type.
18065
18066 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18067
18068         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
18069         Declare.
18070
18071         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
18072         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18073         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18074         reload_secondary_in_reload, reload_secondary_out_reload,
18075         reload_secondary_in_icode, reload_secondary_out_icode,
18076         reload_reg_rtx, reload_when_needed): Delete declarations.
18077         (struct reload): New structure.
18078         (rld): Declare new array.
18079         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
18080         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18081         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18082         reload_secondary_in_reload, reload_secondary_out_reload,
18083         reload_secondary_in_icode, reload_secondary_out_icode,
18084         reload_reg_rtx, reload_when_needed): Delete definitions.
18085         (rld): New array.
18086         (whole file): Replace uses of the deleted arrays with uses of rld.
18087         * reload1.c (whole file): Replace uses of the deleted arrays with
18088         uses of rld.
18089         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
18090         explicit loops, not with bcopy.
18091
18092 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
18093
18094         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
18095         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
18096         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
18097         insn_name): Delete and consolidate into new structures.
18098         (insn_operand_predicate_fn): New.
18099         (insn_output_fn): New.
18100         (insn_gen_fn): New.
18101         (struct insn_operand_data): New.
18102         (struct insn_data): New.
18103         (insn_data): New.
18104         (OUT_FCN): Update for insn_data change.
18105         * builtins.c (expand_builtin_strlen): Likewise.
18106         (expand_builtin_memcmp): Likewise.
18107         * combine.c (make_extraction, simplify_comparison): Likewise.
18108         * cse.c (canon_reg, cse_insn): Likewise.
18109         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
18110         * expmed.c (store_bit_field, extract_bit_field): Likewise.
18111         (emit_store_flag): Likewise.
18112         * expr.c (convert_move, emit_block_move): Likewise.
18113         (clear_storage, emit_push_insn, expand_increment): Likewise.
18114         (do_store_flag): Likewise.
18115         * expr.h (GEN_FCN): Likewise.
18116         (insn_gen_function): Die.
18117         * final.c (final_scan_insn): Update for insn_data change.
18118         (output_asm_name): Likewise.
18119         * function.c (fixup_var_refs_1): Likewise.
18120         * loop.c (check_dbra_loop): Likewise.
18121         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
18122         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
18123         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
18124         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
18125         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
18126         * regmove.c (gen_add3_insn): Likewise.
18127         * reload.c (push_secondary_reload, combine_reloads): Likewise.
18128         (find_reloads, find_reloads_address_1): Likewise.
18129         (debug_reload_to_stream): Likewise.
18130         * reload1.c (emit_reload_insns, gen_reload): Likewise.
18131         * stmt.c (expand_end_case): Likewise.
18132         * toplev.c (compile_file): Likewise.
18133
18134         * c4x/c4x.c (c4x_process_after_reload): Likewise.
18135         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18136
18137         * print-rtl.c (insn_name_ptr): Remove declaration.
18138         (get_insn_name): Declare.
18139         (print_rtx): Use it.
18140         * genoutput.c (insn_name_ptr): Remove.
18141         (next_operand_number): New.
18142         (struct operand_data): New.
18143         (null_operand, odata, odata_end): New.
18144         (struct data): Use struct operand_data.
18145         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
18146         (get_insn_name): Renamed from name_for_index.
18147         (output_prologue): Define NO_MD_PROTOTYPES.
18148         (output_predicate_decls): Break out from output_epilogue.
18149         Iterate over the operands list.
18150         (output_operand_data): Break out from output_epilogue.  Emit
18151         just the operands list.
18152         (output_insn_data): Break out from output_epilogue.  Emit just
18153         the insn data.
18154         (output_epilogue): Remove.
18155         (output_get_insn_name): New.
18156         (constraints, op_n_alternatives, predicates, address_p): Die.
18157         (modes, strict_low, seen): Die.
18158         (scan_operands): Take new param `d' instead of writing to
18159         seven global variables.
18160         (compare_operands): New.
18161         (place_operands): New.
18162         (validate_insn_alternatives): Update for struct data change.
18163         (gen_insn): Don't zero or copy 7 global arrays.  Update for
18164         scan_operands; call place_operands.
18165         (gen_peephole, gen_expand, gen_split): Likewise.
18166         (main): Update for new output routines.
18167
18168         * genattr.c (insn_name_ptr): Remove.
18169         (get_insn_name): New function.
18170         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
18171         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
18172         * genrecog.c: Likewise.
18173
18174         * alpha.md (adddi3): Make `pattern' array static.
18175
18176 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18177
18178         * config/c4x/c4x.h (c4x_rpts_cycles_string,
18179         c4x_cpu_version_string): Constify char *.
18180         * config/c4x/c4x.c (c4x_rpts_cycles_string,
18181         c4x_cpu_version_string): Likewise.
18182
18183 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
18184
18185         * tree.c (save_tree_status): Revert 10 Sep change.
18186         (restore_tree_status): Likewise.  Call obstack_free with NULL
18187         before freeing the obstack proper.
18188
18189 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
18190
18191         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
18192
18193         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
18194         surrounding context.
18195
18196 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
18197
18198         * tree.c (type_hash_canon): Put all types in the hash-table, when
18199         GC'ing.
18200
18201 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
18202
18203         * recog.h (struct recog_data, recog_data): New.
18204         (recog_foo variables): Kill.
18205         * recog.c (recog_operand, recog_operand_loc): Kill.
18206         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
18207         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
18208         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
18209         (recog_data): Define.
18210         (extract_insn): Update all recog_foo references to use recog_data.
18211         (preprocess_constraints, constrain_operands): Likewise.
18212         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
18213         * genattrtab.c (main): Likewise.
18214         * genextract.c (main): Likewise.
18215         * genoutput.c: Likewise.
18216         * genrecog.c (write_subroutine, main): Likewise.
18217         * local-alloc.c (block_alloc): Likewise.
18218         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
18219         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
18220         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
18221         * reload.c (find_reloads, find_reloads_toplev): Likewise.
18222         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
18223         (reload_cse_simplify_operands): Likewise.
18224
18225         * arc/arc.c (arc_final_prescan_insn): Likewise.
18226         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
18227         * h8300/h8300.c (notice_update_cc): Likewise.
18228         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
18229         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18230         * mn10200/mn10200.c (notice_update_cc): Likewise.
18231         * mn10300/mn10300.c (notice_update_cc): Likewise.
18232         * romp/romp.c (update_cc): Likewise.
18233         * sparc/sparc.c (check_pic): Likewise.
18234         * v850/v850.c (notice_update_cc): Likewise.
18235
18236         * genemit.c (main): Don't declare recog_operand.
18237
18238 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
18239
18240         * ggc.h (rtvec_def): Forward declare.
18241         (tree_node): Likewise.
18242         (ggc_root): Define.
18243         (roots): Declare.
18244         (ggc_set_mark_rtx): Add prototype.
18245         (ggc_set_mark_rtvec): Likewise.
18246         (ggc_set_mark_tree): Likewise.
18247         * ggc-simple.c (ggc_root): Don't define.
18248         (roots): Don't declare.
18249         (ggc_mark_rtx): Remove.
18250         (ggc_mark_rtvec): Likewise.
18251         (ggc_mark_tree): Likewise.
18252         (ggc_mark_varray): Likewise.
18253         (ggc_mark_tree_hash_table_entry): Likewise.
18254         (ggc_mark_tree_hash_table): Likewise.
18255         (ggc_set_mart_rtx): New function.
18256         (ggc_set_mark_rtvec): Likewise.
18257         (ggc_set_mark_tree): Likewise.
18258         (ggc_add_root): Remove.
18259         (ggc_add_rtx_root): Likewise.
18260         (ggc_remove_tree_root): Likewise.
18261         (ggc_add_string_root): Likewise.
18262         (ggc_add_tree_varray_root): Likewise.
18263         (ggc_add_tree_hash_table_root): Likewise.
18264         (ggc_del_root): Likewise.
18265         (ggc_mark_rtx_ptr): Likewise.
18266         (ggc_mark_tree_ptr): Likewise.
18267         (ggc_mark_string_ptr): Likewise.
18268         (ggc_mark_tree_varray_ptr): Likewise.
18269         (ggc_mark_tree_hash_table_ptr): Likewise.
18270         * ggc-common.c: New file.
18271         * Makefile.in (OBJS): Add ggc-common.o.
18272         (ggc-common.o): List dependencies.
18273
18274 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
18275
18276         * cppalloc.c (xstrdup): Use memcpy.
18277         * cpperror.c (cpp_print_containing_files): Don't use
18278         cpp_notice.
18279         * cpplib.c (conditional_skip): Set temp->lineno.
18280         (do_endif): Make error message less obscure.
18281         (if_directive_name): New function.
18282         (cpp_get_token [case EOF]): Unwind the if stack and generate
18283         error messages for each unterminated conditional in this file.
18284         (parse_string):  Do not behave differently if -traditional.
18285
18286 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
18287
18288         * builtins.c (expand_builtin_va_arg): Cope with an array-type
18289         va_list decomposing to pointer-type.
18290         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
18291         (rs6000_va_arg): Likewise.
18292
18293 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
18294
18295         * except.c (start_dynamic_handler): Compute size using
18296         STACK_SAVEAREA_MODE.
18297
18298 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18299
18300         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
18301         include directory headers.  Don't define strrchr.  Don't provide
18302         my_* replacement functions.  Prefer PTR over `pointer_type'.
18303         Don't prototype system functions.  Don't redefine getopt.
18304
18305         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
18306         safe_read, safe_write, save_pointers, restore_pointers,
18307         is_id_char, in_system_include_dir, directory_specified_p,
18308         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
18309         find_corresponding_lparen, referenced_file_is_newer,
18310         save_def_or_dec, munge_compile_params, gen_aux_info_file,
18311         process_aux_info_file, identify_lineno, check_source,
18312         seek_to_line, forward_to_next_token_char, output_bytes,
18313         output_string, output_up_to, other_variable_style_function,
18314         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
18315         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
18316         find_static_definition, connect_defs_and_decs, add_local_decl,
18317         add_global_decls, needs_to_be_converted, visit_each_hash_node,
18318         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
18319         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
18320         scan_for_missed_items, edit_file, string_list_cons): Add static
18321         prototypes.
18322         (standard_exec_prefix, target_machine, target_version,
18323         default_syscalls_dir, string_list, string_list_cons, find_file,
18324         do_cleaning): Constify a char*.
18325         (safe_read, safe_write): Use PTR, not a char*.
18326         (is_id_char): Take an int, not a char.
18327         (main): Add prototype.  Call return, not exit.
18328
18329 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
18330
18331         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
18332         when comparing types.
18333
18334 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
18335
18336         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
18337         (strength_reduce): Release the varrays from the no-bivs early exit.
18338
18339         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
18340         the loop over the registers.
18341
18342         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
18343         for a new obstack.
18344         (restore_tree_status): Check that instead when freeing the obstack.
18345
18346 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
18347
18348         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
18349         as pointers.
18350
18351 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18352
18353         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
18354         operand size modifiers.
18355
18356 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18357
18358         * c-common.c (c_common_nodes_and_builtins): Don't build
18359         va_list_type_node.
18360         * c-common.h (enum c_tree_index and related accesor macros): Remove
18361         everything now declared in tree.h.
18362         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18363         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
18364         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
18365         (error_mark_node, void_type_node, char_type_node, integer_type_node,
18366         unsigned_type_node, ptr_type_node, va_list_type_node,
18367         integer_zero_node, null_pointer_node, integer_one_node): Delete.
18368         (init_decl_processing): Call build_common_tree_nodes and
18369         build_common_tree_nodes_2 instead of building their nodes here.
18370         Don't add roots for these nodes.
18371         * stor-layout.c (size_zero_node, size_one_node): Delete.
18372         (set_sizetype): Make a new node for bitsizetype each time.
18373         * tree.c (global_trees): New variable.
18374         (init_obstacks): Add a gc root for it.
18375         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18376         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
18377         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
18378         (build_common_tree_nodes): New function.
18379         (fix_sizetype): New function.
18380         (build_common_tree_nodes_2): New function.
18381         * tree.h (enum tree_index): New.
18382         (global_trees): Declare.
18383         Add accessor macros for all nodes now moved to global_trees.
18384         Delete their declarations.
18385
18386 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
18387
18388         * c-decl.c (finish_function): When processing a nested function,
18389         push and pop GC context around rest_of_compilation.
18390
18391 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
18392
18393         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
18394         Default ix86_arch to PROCESSOR_I386.
18395         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
18396         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
18397         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
18398         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
18399         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
18400         (EXTRA_SPECS): Remove deleted specs.
18401
18402 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
18403
18404         * function.c (assign_stack_local_1): Allocate from
18405         function->x_frame_offset, not frame_offset.
18406
18407 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
18408
18409         * ggc.h (lang_cleanup_tree): Remove.
18410         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
18411         * ggc-callbacks.c (lang_cleanup_tree): Remove.
18412
18413         * c-decl.c (finish_struct): Use ggc_alloc to allocate
18414         TYPE_LANG_SPECIFIC when garbage collecting.
18415         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
18416         (lang_cleanup_tree): Remove.
18417
18418 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
18419
18420         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
18421         * crtstuff.c: Not here.
18422         * dwarf2out.c: Or here.
18423         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
18424         info.
18425
18426 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
18427
18428         * function.h (free_after_compilation): Remove decl parameter.
18429         (free_varasm_status0: Likewise.
18430         (free_emit_status): Likewise.
18431         (free_stmt_status): Likewise.
18432         (free_after_compilation): Likewise.
18433         (init_lang_status): New variable.
18434         (free_lang_status): Likewise.
18435         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
18436         * function.c (init_lang_status): New variable.
18437         (free_lang_status): Likewise.
18438         (push_function_context_to): Don't set function::decl here.
18439         (free_after_copmilation): Make decl parameter implicit.  Call
18440         free_lang_status if defined.
18441         (prepare_function_start): Call init_lang_status if defined.
18442         (init_function_start): Set function::decl here.
18443         * profile.c (output_func_start_profiler): Don't call pushdecl
18444         until we've actually started the function.
18445         * stmt.c (free_stmt_status): Make decl parameter implicit.
18446         * toplev.c (rest_of_compilation): Don't pass decl to
18447         free_after_compilation.
18448         * varasm.c (free_varasm_status): Likewise.
18449
18450 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18451
18452         * except.c (call_get_eh_context): Add root when allocating static
18453         tree variable.
18454
18455 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
18456
18457         * arm.c: Include "ggc.h".
18458         (arm_add_gc_roots): New function.
18459         (arm_override_options): Call it.
18460         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
18461
18462         * arm.md (define_asm_attributes): Add a pool_range attribute.
18463
18464 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
18465
18466         * extend.texi (Volatiles): New node.
18467
18468 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
18469
18470         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
18471         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
18472         (struct ggc_any): Replace `mark' with `magic_mark'.
18473         (ggc_alloc_string): Use memcpy, not bcopy.
18474         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
18475         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
18476         (ggc_free_any): New.
18477         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
18478         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
18479         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
18480         Use IS_MARKED. Use ggc_free_any.
18481
18482 1999-09-09  Scott Bambrough <scottb@netwinder.org>
18483
18484         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
18485
18486 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
18487
18488         * toplev.c (main): Always init_ggc.
18489
18490 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
18491
18492         * except.c (find_all_handler_type_matches): Free the list if
18493         we found no matches.
18494
18495         * combine.c (SUBST): Break out to a real function do_SUBST.
18496         (SUBST_INT): Likewise.
18497         * gcse.c (free_pre_mem): Free `temp_bitmap'.
18498         (pre_insert): Free `inserted'.
18499         * loop.c (basic_induction_var): Always set `location'.
18500
18501         * function.c (expand_function_end): Add initial_trampoline as a root.
18502         * rtl.h (init_varasm_once): Declare.
18503         * toplev.c (compile_file): Call it.
18504         * ggc-simple.c (ggc_mark_string_ptr): New.
18505         (ggc_add_string_root): New.
18506         (ggc_collect): Disable collection avoidance temporarily.
18507         * ggc.h (ggc_add_string_root): Declare.
18508         * except.c (create_rethrow_ref): Use ggc_alloc_string.
18509         * optabs.c (init_libfuncs): Likewise.
18510         * varasm.c (named_section): Use ggc_alloc_string.
18511         (make_function_rtl): Likewise.
18512         (make_decl_rtl): Likewise.
18513         (assemble_static_space): Likewise.
18514         (assemble_trampoline_template): Likewise.
18515         (output_constant_def): Likewise.
18516         (force_const_mem): Likewise.
18517         (mark_const_hash_entry): New.
18518         (mark_pool_sym_hash_table): New.
18519         (mark_varasm_state): Use it.
18520         (init_varasm_once): New.
18521
18522         * expr.h (init_one_libfunc): Declare.
18523         * optabs.c (init_one_libfunc): New.
18524         (init_optabs): Use it.
18525         * config/gofast.h: Likewise.
18526         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
18527         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
18528
18529 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
18530
18531         * Makefile.in (cppexp.o): Depend on cpphash.h.
18532         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
18533         Include cpphash.h.
18534         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
18535         * cpplib.c (do_define): Generalise to handle poisoned definitions,
18536         redefining poisoned identifiers, etc.
18537         (do_undef): Don't allow poisoned identifiers to be undefined.
18538         (do_pragma): Add #pragma poison.
18539         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18540
18541         * cccp.c: Add T_POISON node type.
18542         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
18543         poisoned xxx.
18544         (do_define): Generalise to handle poisoned definitions,
18545         redefining poisoned identifiers, etc.
18546         (do_undef): Don't allow poisoned identifiers to be undefined.
18547         (do_pragma): Add #pragma poison.
18548         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
18549
18550         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
18551         * c-pragma.h: Add ps_poison state.  We now always have generic
18552         pragmas.
18553
18554 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
18555
18556         * ggc.h (ggc_alloc): New function.
18557         (ggc_mark): Likewise.
18558         * ggc-simple.c (ggc_any): New structure.
18559         (ggc_status): Add anys.
18560         (n_anys_collected): New variable.
18561         (ggc_alloc): Define.
18562         (ggc_mark): Likewise.
18563         (ggc_collect): Collect the anys.
18564
18565 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18566
18567         * c-decl.c (mark_binding_level): Make static to match prototype.
18568
18569 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
18570
18571         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
18572
18573 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
18574
18575         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
18576         will use into account.  Expand the max width to 5.
18577         * rtl.c: Likewise.
18578
18579 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
18580
18581         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
18582         for the rtx length.
18583
18584 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
18585
18586         * alpha.md (call value patterns): Remove the result predicates.
18587
18588 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
18589
18590         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
18591         last change.
18592
18593 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18594
18595         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
18596         changed from extern char *, to extern PTR.  Also fix typo in
18597         NEED_DECLARATION_REALLOC test.
18598
18599         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
18600
18601 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18602
18603         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
18604         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
18605         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
18606         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
18607
18608         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
18609
18610         * cccp.c (pcfinclude): Likewise.
18611
18612         * global.c (allocno_compare): Likewise.
18613
18614         * haifa-sched.c (rank_for_schedule): Likewise.
18615
18616         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
18617
18618         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
18619
18620         * stupid.c (stupid_reg_compare): Likewise.
18621
18622         * tree.c (_obstack_allocated_p): Likewise.
18623
18624         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
18625
18626 1999-09-08  Bruce Korb  autogen@linuxbox.com
18627
18628         * Makefile.in: Give the hapless gperf user a hint about
18629         why "gperf -F" fails.
18630
18631 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
18632
18633         * lists.c: Include ggc.h.
18634         (zap_lists): New.
18635         (init_EXPR_INSN_LIST_cache): Install it.
18636
18637         * ggc-simple.c (init_ggc): Absorb the old init.
18638         (ggc_push_context): Use xcalloc.
18639         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
18640         (ggc_collect): Add [rvts] tags to the collection stats.
18641
18642 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
18643
18644         * cccp.c (main): Fix handling of -include and -imacros options.
18645
18646 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
18647
18648         * cpplib.c (cpp_push_buffer): Fix order of arguments.
18649
18650 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
18651
18652         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
18653         genrtl.c.
18654
18655 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
18656
18657         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
18658         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
18659         and SET_DEST. Update comment.
18660
18661 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18662
18663         * config/c4x/c4x.c: Include ggc.h.
18664         (c4x_add_gc_roots): New function.
18665         (c4x_override_options): Call c4x_add_gc_roots.
18666
18667 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
18668
18669         * defaults.h (TARGET_ESC): Move ...
18670         * system.h: ... here, where Linas had it in the first place.  Silly me.
18671
18672 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
18673
18674         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
18675         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
18676         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
18677         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
18678         * defaults.h (TARGET_ESC): Add default.
18679
18680 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
18681
18682         * configure.in: add i370-*-openedition, i370-*-mvs and
18683         i370-*-linux targets
18684
18685 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
18686
18687         * dsp16xxx.c: Include ggc.h
18688         (override_options): Mark GC roots.
18689         * mn10200.c: Include ggc.h.
18690         (asm_file_start): Mark GC roots.
18691         * tahoe.c: Include ggc.h.
18692         (extensible_operand): Mark GC roots.
18693
18694 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
18695
18696         * README: Add section discussing status of ELF ABI.
18697         * i370.c: Fix misc spelling mistakes.
18698         (i370_label_scan): Updated notes, exception handling.
18699         (i370_function_prolog): Simplify ELF stack handling.
18700         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
18701         (STACK_GROWS_DOWNWARD): ELF stack grows down.
18702         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
18703         * i370.md: (movdi): Add notes.
18704         (floatsidf2): Use stack not rtca for scratch float area.
18705         (iorsi3): Correct operand constraints.
18706         * x-oe: Restore TAROUTOPTS which are used by pax.
18707
18708 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
18709
18710         * rs6000.c: Include ggc.h.
18711         (rs6000_add_gc_roots): New function.
18712         (override_options): Call it.
18713
18714 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
18715
18716         * alpha.h (alpha_compare): New.
18717         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
18718         * alpha.c: Likewise for the definitions.
18719         (alpha_emit_conditional_branch): Update for alpha_compare.
18720         (alpha_emit_conditional_move): Likewise.
18721         * alpha.md (cmpdf, cmpdi): Likewise.
18722         (setcc patterns): Likewise.  Zero alpha_compare after use.
18723         (sne): Optimize (x != 0) into (0U < x).
18724
18725 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
18726
18727         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
18728         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
18729         (INIT_EXPANDERS): Remove.
18730         * alpha.c: Include ggc.h.
18731         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
18732         (alpha_init_machine_status, alpha_mark_machine_status): New.
18733         (override_options): Install them.
18734         (struct machine_function): Moved to alpha.h.
18735         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
18736         (alpha_init_expanders): Remove.
18737         (alpha_return_addr): Adjust to use current_function->machine.
18738         (alpha_ra_ever_killed): Likewise.
18739         (alpha_expand_epilogue): Likewise.
18740         * alpha.md (eh_epilogue): Likewise.
18741
18742 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
18743                           Melissa O'Neill  <oneill@cs.sfu.ca>
18744                           Geoffrey Keating  <geoffk@cygnus.com>
18745
18746         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
18747         call-used registers (call-saved registers must still be contiguous
18748         and end with r31, of course).
18749
18750 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
18751
18752         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
18753         (self_promoting_type_p): Delete.
18754         (self_promoting_args_p): Move ...
18755         * c-common.c: ... here.
18756         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
18757         (simple_type_promotes_to): New.
18758         * builtins.c (lang_type_promotes_to): New.
18759         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
18760         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
18761         * c-common.h: ... here.
18762         (self_promoting_args_p, simple_type_promotes_to): Declare.
18763         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
18764         (grokdeclarator): Likewise.
18765         * tree.h (lang_type_promotes_to): Declare.
18766
18767 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
18768
18769         Add some machine-dependent GC roots.
18770         * sparc.c: Include ggc.h.
18771         (sparc_add_gc_roots): New function.
18772         (mark_ultrasparc_pipeline_state): Likewise.
18773         (override_options): Call sparc_add_gc_roots.
18774         * pa.c: Include ggc.h.
18775         (pa_add_gc_roots): New function.
18776         (mark_deferred_plabels): Likewise.
18777         (override_options): Call pa_add_gc_roots.
18778         * mips.c: Include ggc.h.
18779         (mips_add_gc_roots): New function.
18780         (override_options): Use it.
18781
18782 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18783
18784         * cpperror.c (cpp_file_line_for_message): Constify a char*.
18785
18786         * cppexp.c (parse_number, parse_charconst, cpp_lex,
18787         cpp_parse_expr): Add static prototypes.
18788         (parse_charconst): Don't cast away const-ness.
18789         (token): Constify a char*.
18790
18791         * cppfiles.c (file_name_list, include_hash, find_include_file,
18792         finclude, initialize_input_buffer): Constify a char*.
18793         (file_cleanup, find_position): Add static prototypes.
18794
18795         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
18796         collect_expansion): Add static prototypes.
18797         (cpp_install, create_definition, monthnames): Constify a char*.
18798
18799         * cpphash.h (cpp_install): Likewise.
18800
18801         * cppinit.c (known_suffixes, default_include,
18802         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
18803         (base_name, dump_special_to_buffer, initialize_dependency_output):
18804         Add static prototypes.
18805
18806         * cpplib.c (my_strerror): Constify a char*.
18807         (null_underflow, null_cleanup, skip_comment, copy_comment,
18808         copy_rest_of_line, handle_directive, pass_thru_directive,
18809         get_directive_token, read_line_number, cpp_print_file_and_line,
18810         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
18811         v_cpp_warning_with_line, detect_if_not_defined,
18812         consider_directive_while_skipping): Add static prototypes.
18813         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
18814         cpp_pedwarn_with_file_and_line): Constify a char*.
18815
18816         * cpplib.h (cpp_options, include_hash, progname, definition,
18817         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
18818         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
18819         find_include_file, deps_output, include_hash): Constify a char*.
18820
18821         * cppmain.c (progname): Constify.
18822         (main): Add prototype.  Use return, not exit.
18823
18824         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
18825         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
18826         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
18827         check_protection): Add static prototype.
18828         (xfree): Remove.
18829         (progname, recognized_macrom, recognized_extern): Constify a char*.
18830         (main): Add prototype.
18831
18832         * gen-protos.c (progname): Constify a char*.
18833
18834 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
18835
18836         * emit-rtl.c (free_emit_status): Take decl as a parameter.
18837         (init_emit_once): Add more GC roots.
18838         * except.c (mark_func_eh_entry): New function.
18839         (mark_eh_node): Mark false_label and rethrow_label.
18840         (init_eh): Add more GC roots.
18841         * function.c (free_after_compilation): Take decl as a paramter.
18842         Call free_stmt_status.
18843         (mark_function_state): Don't assume x_parm_reg_stack_loc is
18844         non-NULL.
18845         * function.h (free_after_compilation): Change prototype.
18846         (free_varasm_status): Likewise.
18847         (free_emit_status): Likewise.
18848         (free_stmt_status): New function.
18849         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
18850         Remove, replacing with ...
18851         (ggc_status): New structure.
18852         (ggc_chain): New variable.
18853         (init_gcc): Define.
18854         (ggc_push_context): New function.
18855         (ggc_pop_context): Likewise.
18856         (ggc_alloc_rtx): Adjust for use of ggc_chain.
18857         (ggc_alloc_rtvec): Likewise.
18858         (ggc_alloc_tree): Likewise.
18859         (ggc_alloc_string): Likewise.
18860         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
18861         (ggc_mark_tree): Give language-dependent code a chance to mark
18862         `x' nodes.
18863         (ggc_mark_tree_varray): Handle empty arrays.
18864         (ggc_collect): Adjust for use of ggc_chain.  Clear
18865         bytes_alloced_since_last_gc.
18866         * ggc.h (ggc_pop_context): New function.
18867         (ggc_push_context): Likewise.
18868         * print-tree.c (print_node): Don't print obstacks when GC'ing.
18869         * stmt.c (free_stmt_status): New function.
18870         (init_stmt_for_function): Clear last_expr_value.
18871         * toplev.c (rest_of_compilation): Always call free_after_compilation.
18872         Conditionalize call to ggc_collect.
18873         (main): Call init_ggc.
18874         * tree.c (push_obstacks): Do the push, even when GC'ing.
18875         (push_obstacks_nochange): Likewise.
18876         (pop_obstacks): Liekwise.
18877         * varasm.c (free_varasm_status): Take decl as a parameter.
18878
18879 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
18880
18881         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
18882         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
18883         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
18884         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
18885
18886 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
18887
18888         * pa/x-pa-mpeix: New file for the MPE port.
18889
18890         * pa/quadlib.asm: New file for long double support.
18891
18892         * configure.in: Add hppa1.0-*-mpeix for MPE port.
18893         * configure: Rebuilt.
18894
18895 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
18896
18897         * final.c (shorten_branches): Fix last change.
18898
18899 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
18900
18901         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
18902
18903 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
18904
18905         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
18906         details.
18907
18908 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18909
18910         * c-aux-info.c (concat): Don't define.
18911
18912         * cccp.c (my_strerror): Likewise.  All callers changed to use
18913         xstrerror instead.
18914         (do_include): Call xstrdup, not xmalloc/strcpy.
18915         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
18916         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
18917
18918         * collect2.c (my_strsignal): Likewise.  All callers changed to use
18919         strsignal instead.
18920         (locatelib): Call xstrdup, not xmalloc/strcpy.
18921
18922         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
18923
18924         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
18925
18926         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
18927
18928         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
18929
18930         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
18931
18932         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
18933
18934         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
18935         malloc/realloc.
18936         (find_all_handler_type_matches): Likewise.  Don't check return
18937         value.
18938         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
18939         xmalloc, not malloc.
18940         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
18941
18942         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
18943         (init_spec): Call xcalloc, not xmalloc/bzero.
18944         (set_spec): Call xstrdup, not save_string.
18945         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
18946         (find_a_file): Call xstrdup, not xmalloc/strcpy.
18947         (process_command): Call xstrdup, not save_string.
18948         (main): Call xcalloc, not xmalloc/bzero.
18949
18950         * gcov.c (xmalloc): Don't define.
18951         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
18952         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
18953         (output_data): Call xcalloc, not xmalloc/bzero.
18954
18955         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
18956
18957         * mips-tdump.c (xmalloc): Don't define.
18958         (print_symbol): Call xmalloc, not malloc.
18959         (read_tfile): Call xcalloc, not calloc.
18960
18961         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
18962         Don't define.  All callers of xfree/my_strsignal changed to use
18963         free/strsignal instead.
18964         (allocate_cluster): Call xcalloc, not calloc.
18965
18966         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
18967         Fix memory leak, free allocated memory.
18968
18969         * prefix.c (translate_name): Call xstrdup, not save_string.
18970         (update_path): Likewise.
18971
18972         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
18973
18974         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
18975         Don't define.  Callers of xfree/savestring2 changed to use
18976         free/concat instead.
18977
18978         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
18979         (init_elim_table): Likewise.
18980
18981         * resource.c (init_resource_info): Likewise.
18982
18983         * stupid.c (stupid_life_analysis): Likewise.
18984
18985         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
18986         (open_dump_file): Call concat, not xmalloc/strcpy/...
18987         (clean_dump_file): Likewise.
18988         (compile_file): Call xstrdup, not xmalloc/strcpy.
18989
18990 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
18991
18992         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
18993         * v850.c (v850_va_arg): New.
18994
18995 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
18996
18997         * haifa-sched.c: Tidy comments.
18998
18999 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19000
19001         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
19002         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
19003         $(out_object_file)): Depend on ggc.h.
19004         * c-common.c: Include "ggc.h".
19005         (combine_strings): If doing GC, use ggc_alloc_string.
19006         * c-decl.c: Include "ggc.h".
19007         (ggc_p): Define with value 0.
19008         (mark_binding_level): New function.
19009         (init_decl_processing): Add GC roots.
19010         (mark_c_function_context): New function.
19011         (lang_mark_false_label_stack): New function.
19012         (lang_mark_tree): New function.
19013         (lang_cleanup_tree): New function.
19014         * c-lang.c: Include "ggc.h".
19015         (lang_init): Call c_parse_init.
19016         * c-lex.c: Include "ggc.h".
19017         (check_linenum): If doing GC, don't copy filenames to permanent
19018         obstack.
19019         * c-parse.in: Include "ggc.h".
19020         (c_parse_init): New function.
19021         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
19022         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
19023
19024         * except.c (mark_eh_state): Mark more state.
19025         * function.c (mark_function_state): Likewise.
19026         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
19027         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
19028         * toplev.c (mark_file_stack): New function.
19029         (compile_file): If doing GC, use ggc_alloc_string on input filename.
19030         (main): Add root for input_file_stack.
19031
19032         * i386.c: Include "ggc.h".
19033         (ix86_mark_machine_status): New function.
19034         (override_options): Set mark_machine_status.
19035
19036 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19037
19038         * tree.c (copy_node): Copy node contents also if doing GC.
19039
19040 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
19041
19042         * collect2.c (scan_libraries): Fix double-thinko :-).
19043
19044 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
19045
19046         * collect2.c (scan_libraries): Fix thinko.
19047
19048         * cse.c (delete_trivially_dead_insns): Do not skip the last
19049         insn if it is a real insn.
19050
19051 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
19052
19053         * Makefile.in (ggc-simple.o): Depend on hash.h.
19054         * ggc.h (ggc_add_tree_hash_table_root): Declare.
19055         (ggc_mark_tree_varray): Likewise.
19056         (ggc_mark_tree_hash_table): Likewise.
19057         * ggc-simple.c: Include hash.h.
19058         (ggc_mark_tree_hash_table_ptr): New function.
19059         (ggc_mark_tree_hash_table_entry): Likewise.
19060         (ggc_mark_tree_hash_table): Likewise.
19061         (ggc_add_tree_hash_table_root): Likewise.
19062         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
19063         rtx, when defining fields.
19064
19065 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19066
19067         * profile.c (output_func_start_profiler): Remove apparently
19068         nonsensical call to start_sequence.
19069
19070 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
19071
19072         * clipper/clipper.c (clipper_va_start): Fix typos.
19073
19074         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
19075         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
19076         (spur_va_arg): New stub.
19077
19078         * configure.in: Comment out pyramid.
19079
19080 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
19081
19082         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
19083         don't conflict with the bits that win32, cygwin, and dgux
19084         defines.
19085
19086 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
19087                           Bernd Schmidt <bernds@cygnus.co.uk>
19088
19089         * integrate.c (function_cannot_inline_p): Do not inline
19090         functions with forced labels.
19091
19092 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
19093                           Bernd Schmidt <bernds@cygnus.co.uk>
19094                           Mark Mitchell  <mark@codesourcery.com>
19095
19096         * Makefile.in (ggc-simple.o): Depend on varray.h.
19097         (rtl.o): Depend on ggc.h.
19098         (genattrtab.o): Depend on ggc.h.
19099         (print-tree.o): Likewise.
19100         (fold-const.o): Likewise.
19101         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
19102         (make_insn_raw): Don't cache insns when GC'ing.
19103         (emit_insn_before): Likewise.
19104         (emit_insn_after): Likewise.
19105         (emit_insn): Likewise.
19106         (start_sequence): Use xmalloc to allocate the sequence_stack.
19107         (end_sequence): Add free to free it.
19108         (gen_sequence): Don't cache insns when GC'ing.
19109         (clear_emit_caches): Don't use sequence_element_free_list.
19110         (init_emit): Use xcalloc, not xmalloc+bzero.
19111         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
19112         * function.c (pop_function_context_from): Use free to free the
19113         fixup_var_refs_queue.
19114         (put_reg_into_stack): Allocate it with xmalloc.
19115         * genattrtab.c: Include ggc.h.
19116         (operate_exp): Don't use obstack_free when GC'ing.
19117         (simplify_cond): Likewise.
19118         (simplify_text_exp): Likewise.
19119         (optimize_attrs): Likewise.
19120         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
19121         GC'ing.
19122         (gencode): Generate a #include for ggc.h.
19123         * ggc-callbacks.c (ggc_p): Define it to zero.
19124         * ggc-none.c (ggc_p): Likewise.
19125         * ggc-simple.c: Include varray.h.
19126         (ggc_mark_tree_varray): New function.
19127         (ggc_add_tree_varray_root): Likewise.
19128         (ggc_mark_tree_varray_ptr): Likewise.
19129         * ggc.h (ggc_p): Declare.
19130         (varray_head_tag): Likewise.
19131         (ggc_add_tree_varray_root): Declare.
19132         * print-tree.c (print_node): Don't check for TREE_PERMANENT
19133         inconsistencies when GC'ing.
19134         * rtl.c: Include ggc.h.
19135         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
19136         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
19137         (rtx_free): Don't call obstack_free when GC'ing.
19138         * toplev.c (rest_of_compilation): Call ggc_collect after every
19139         pass, if GC'ing.
19140         * tree.c (push_obstacks): Do nothing, if GC'ing.
19141         (pop_obstacks_nochange): Likewise.
19142         (pop_obstacks): Likewise.
19143         (make_node): Use ggc_alloc_tree when GC'ing.
19144         (copy_node): Likewise.
19145         (get_identifier): Use ggc_alloc_string when GC'ing.
19146         (build_string): Likewise.
19147         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
19148         (tree_cons): Likewise.
19149         (build1): Likewise.
19150         (type_hash_canon): Don't call obstack_free when GC'ing.
19151
19152 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
19153
19154         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
19155         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
19156
19157 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
19158                           Bernd Schmidt <bernds@cygnus.co.uk>
19159                           Mark Mitchell  <mark@codesourcery.com>
19160
19161         * Makefile.in (stor-layout.o): Depend on ggc.h.
19162         (expr.o): Depend on ggc.h.
19163         (profile.o): Depend on ggc.h.
19164         (stor-layout.o): Depend on ggc.h.
19165         * emit-rtl.c (init_emit_once): Add gc roots.
19166         * expr.c: Include ggc.h.
19167         (emit_block_move): Add gc roots.
19168         (clear_storage): Likewise.
19169         * expr.h (init_stor_layout_once): New function.
19170         * profile.c: Include ggc.h.
19171         (init_arc_profiler): profiler_label is a root.
19172         * scan.c (make_sstring_space): Trust xrealloc to function
19173         correctly with first parameter NULL.
19174         * stor-layout.c: Include ggc.h.
19175         (set_sizetype): Add gc root.
19176         (init_stor_layout_once): New function.
19177         * toplev.c (compile_file): Call it.
19178
19179 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
19180                           Bernd Schmidt <bernds@cygnus.co.uk>
19181                           Mark Mitchell  <mark@codesourcery.com>
19182
19183         * Makefile.in (tree.o): Depend on ggc.h.
19184         (varasm.o): Likewise.
19185         (function.o): Likewise.
19186         (stmt.o): Likewise.
19187         (except.o): Likewise.
19188         (optabs.o): Likewise.
19189         (emit-rtl.o): Likewise.
19190         * emit-rtl.c: Include ggc.h.
19191         (sequence_element_free_list): Remove, and all references.
19192         (mark_sequence): New functions.
19193         (mark_emit_state): New function.
19194         * except.c: Include ggc.h.
19195         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
19196         (mark_tree_label_node): New functions.
19197         (mark_eh_state): New function.
19198         * function.c: Include ggc.h.
19199         (mark_temp_slot, mark_function_chain): New functions.
19200         (mark_function_state): New function.
19201         (init_function_once): New function.
19202         * function.h (init_function_once): New function.
19203         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
19204         * ggc.h (label_node): Declare.
19205         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
19206         (lang_mark_false_label_stack): New function.
19207         (mark_temp_slot): Remove declaration.
19208         (mark_function_chain): Likewise.
19209         (mark_eh_state): Adjust prototype.
19210         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
19211         Likewise.
19212         * optabs.c: Include ggc.h.
19213         (mark_optab): New function.
19214         (init_optabs): Add gc roots.
19215         * stmt.c: Include ggc.h.
19216         (mark_cond_nesting, mark_loop_nesting): New functions.
19217         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
19218         (mark_stmt_state): New function.
19219         * toplev.c (compile_file): Call init_function_once.
19220         * tree.c: Include ggc.h.
19221         (type_hash): Move declaration earlier in file.
19222         (TYPE_HASH_SIZE, type_hash_table): Likewise.
19223         (init_obstacks): Add gc roots.
19224         (mark_type_hash): New function.
19225         * varasm.c: Include ggc.h.
19226         (mark_pool_constant): New function.
19227         (mark_varasm_state): New function.
19228
19229 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19230
19231         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
19232
19233 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
19234
19235         * c-decl.c (struct language_function): Renamed from struct c_function.
19236         Delete elt NEXT.
19237         (c_function_chain): Delete.
19238         (push_c_function_context): New arg F.  Don't warn about nested
19239         functions here.  Fill LANGUAGE elt of F.  Delete code to update
19240         c_function_chain.  Don't call push_function_context.
19241         (pop_c_function_context): New arg F.  Restore from there instead of
19242         from c_function_chain.  Don't call pop_function_context.  Clear out
19243         LANGUAGE field of F when done.
19244         * c-lang.c: Include "function.h"
19245         (lang_init): Initialize save_lang_status and restore_lang_status.
19246         * c-parse.in (nested_function, nested_function_notype): Warn about
19247         nested functions.  Call push_function_context/pop_function_context
19248         instead of the _c_ variants.
19249         * c-tree.h (push_c_function_context, pop_c_function_context): Update
19250         prototype.
19251         * Makefile.in (c-lang.o): Update dependencies.
19252
19253         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
19254         regno_pointer_flag, regno_pointer_align.
19255         (gen_reg_rtx): Use xrealloc to enlarge them.
19256         (free_emit_status): New function.
19257         * function.c (mark_machine_status, mark_lang_status): New variables.
19258         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
19259         in some bits from assign_stack_local.  All callers changed to use new
19260         name.
19261         (assign_stack_local): Just call assign_stack_local_1.
19262         (free_after_compilation): New function.
19263         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
19264         (trampoline_address): Likewise.
19265         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
19266         (prepare_function_start): Explicitly clear some more variables.
19267         * function.h (struct function): New elt can_garbage_collect.
19268         (mark_machine_status, mark_lang_status): Declare variables.
19269         (free_after_compilation, free_emit_status, free_varasm_status,
19270         init_varasm_status): Declare functions.
19271         * toplev.c (rest_of_compilation): Call free_after_compilation when
19272         done with the current function.
19273         * varasm.c (free_varasm_status): New function.
19274
19275 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
19276
19277         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
19278         (EXPAND_BUILTIN_VA_ARG): Define.
19279         * sparc.c (sparc_va_start): New.
19280         (sparc_va_arg): New.
19281
19282 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19283
19284         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
19285
19286 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19287
19288         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
19289
19290 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
19291
19292         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
19293         (OBJS): Add $(GGC).
19294         (ggc-callbacks.o): New target.
19295         * ggc-callbacks.c: New file.
19296
19297 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19298
19299         * expr.h: Collapse individual optab and libfunc vars to arrays.
19300         (optab_index, libfunc_index): New enumerations.
19301         (optab_table, libfunc_table): New arrays.
19302         Add accessor macros for both.
19303
19304         * optabs.c (optab_table, libfunc_table): New.
19305         Delete declarations for individual optab and libfunc vars.
19306
19307 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
19308
19309         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
19310
19311 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
19312
19313         * Makefile.in (GGC, GGC_LIB): New.
19314         (HOST_RTL): Include ggc-none.o.
19315         (ggc-simple.o): New target.
19316         (ggc-none.o): Likewise.
19317         * tree.h (tree_common): Add gc_mark.
19318         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
19319         (struct rtvec_def): Add gc_mark.
19320         * emit-rtl.c (global_rtl): Update static initializers to contain
19321         enough initializers.
19322         * ggc.h, ggc-none.c, ggc-simple.c: New files.
19323         * toplev.c (gc_time): New variable.
19324         (all_time): New variable.
19325         (compile_file): Print gc time.
19326         (print_time): Calculate percentage of the whole.
19327
19328 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19329
19330         Change obstack memory management and varasm constant pool handling so
19331         that nested functions are treated like any other functions.
19332         * function.c (init_machine_status): New variable.
19333         (push_function_context_to): Set contains_functions for the outer
19334         function.  Don't call save_varasm_status.
19335         (pop_function_context_from): Don't call restore_varasm_status.  Don't
19336         set current_function_contains_functions.
19337         (prepare_function_start): Call init_varasm_status rather than
19338         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
19339         is non-null.
19340         * function.h (struct function) Add field varasm.  Delete fields
19341         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
19342         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
19343         (init_machine_status): Declare.
19344         (save_varasm_status, restore_varasm_status): Delete declarations.
19345         (save_tree_status, restore_tree_status): Delete last argument.
19346         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
19347         code.  All callers changed.
19348         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
19349         save_constants_in_decl_trees, restore_constants, save_constants,
19350         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
19351         functions.
19352         (inlining): New variable.
19353         (reg_map, label_map, insn_map, orig_asm_operands_vector,
19354         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
19355         variables.
19356         (save_for_inline_nocopy): Don't save constants.
19357         Don't set inl_emit field in current_function.
19358         (expand_inline_function): Use emit field, not inl_emit, of the inlined
19359         function.  Set new variable inlining before
19360         calling copy_rtx_and_substitute.
19361         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
19362         constant pool references if inlining is nonzero.
19363         Delete ADDRESS and (most of the) CONST cases.
19364         (output_inline_function): Save and restore current_function/
19365         current_function_decl.  Delete restore_constants code.  Don't call
19366         init_const_rtx_hash_table.
19367         * output.h (init_const_rtx_hash_table): Don't declare.
19368         * rtl.h (struct function): Declare.
19369         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
19370         * toplev.c (rest_of_compilation): Don't treat nested functions or
19371         functions containing them specially.  Delete all code to deal with
19372         save_for_inline_copying.
19373         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
19374         inline_obstacks): Delete variables.
19375         (save_tree_status): Lose arg CONTEXT.  All callers changed.
19376         Simply allocate a new function_maybepermanent_obstack for the new
19377         function, delete all the special cases.
19378         Don't save inline_obstacks.
19379         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
19380         Delete special handling for function_maybepermanent_obstack; simply
19381         free it if empty.
19382         Don't restore inline_obstacks.
19383         (permanent_allocation):  Delete code that frees inline_obstacks.
19384         (print_inline_obstack_statistics): Delete function.
19385         (dump_tree_statistics): Don't call it.
19386         * varasm.c (struct varasm_status): New.
19387         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
19388         last_pool, pool_offset, const_double_chain): Delete global
19389         variables, replace with accessor macros.
19390         (immed_double_const): Don't walk const_double_chain outside a
19391         function, but don't treat nested functions specially anymore.
19392         (immed_real_const_1): Likewise.
19393         (clear_const_double_mem): Don't treat nested functions specially.
19394         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
19395         (save_varasm_status, restore_varasm_status): Delete functions.
19396         (init_varasm_status): New function.
19397         (force_const_mem): Don't treat nested functions specially.
19398         (find_pool_constant): Accept new arg F, search for constants in
19399         that function's pool rather than the current one.  All callers
19400         changed.
19401         (get_pool_constant_for_function, get_pool_mode_for_function): New
19402         functions.
19403
19404         * i386.c (init_386_machine_status): New function, mostly from
19405         clear_386_stack_locals.
19406         (struct machine_functions): Rename element names to avoid name
19407         clashes.
19408         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
19409         macros, replacing global variables.
19410         (clear_386_stack_locals, save_386_machine_status,
19411         restore_386_machine_status): Delete functions.
19412         (override_options): Initialize init_machine_status.
19413         * i386.h (INIT_EXPANDERS): Delete macro.
19414         (save_386_machine_status, restore_386_machine_status,
19415         clear_386_stack_locals): Delete declarations.
19416
19417 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19418
19419         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
19420         (doloop_begin):  Simplify pattern and use emit_jump_insn.
19421         (doloop_end): Simplify pattern, switch operand order,
19422         and use emit_jump_insn.
19423
19424 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19425
19426         * function.h (struct function): Add new element LANGUAGE.
19427         (save_lang_status): Declare new variable.
19428         (restore_lang_status): Likewise.
19429         * function.c (save_lang_status): Define.
19430         (restore_lang_status): Likewise.
19431         (push_function_context_to): Call language-specific save function.
19432         (pop_function_context_from): Call language-specific restore function.
19433
19434 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
19435
19436         * i386.md (movsf_1): Check REG_P before use of REGNO.
19437         (movdf_1): Likewise.
19438         (movxf_1): Likewise.
19439         (extendsfdf2): Likewise.
19440         (extendsfxf2): Likewise.
19441         (extenddfxf2): Likewise.
19442
19443 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19444
19445         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
19446         constants into memory.
19447         (c4x_shiftable_constant): New function.
19448         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
19449         (c4x_shiftable_constant): Declare.
19450         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
19451         ashlqi3_noclobber): Add new patterns and associated splitters.
19452
19453 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
19454
19455         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
19456         * dwarf2out.c (dwarf2out_frame_init): Likewise.
19457         * final.c (shorten_branches): Likewise.
19458         * global.c (global_alloc): Likewise.
19459         * haifa-sched.c (build_control_flow): Likewise.
19460         * stmt.c (check_for_full_enumeration_handling): Likewise.
19461         (estimate_case_costs): Likewise.
19462
19463 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
19464
19465         * rtl.h (RTL_CHECKC2): Fix typo in last change.
19466
19467 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
19468
19469         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
19470         (recompute_reg_usage): Likewise.
19471         * rtlanal.c (find_regno_fusage): Likewise.
19472
19473         * rtl.c (rtl_check_failed_code1): New function.
19474         (rtl_check_failed_code2): New.
19475         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
19476         (RTL_CHECKC1, RTL_CHECKC2): New.
19477         (XC*): New accessor macros.
19478         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
19479         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
19480         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
19481         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
19482         (TRAP_*, RANGE_INFO_*): Likewise.
19483
19484 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19485
19486         * Makefile.in (tlink.o): Don't depend on toplev.h.
19487
19488         * collect2.c (c_file, o_file, export_file, import_file, ldout,
19489         output_file, nm_file_name, ldd_file_name, strip_file_name,
19490         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
19491         add_prefix, prefix_from_env, prefix_from_string, do_wait,
19492         fork_execute, maybe_unlink, add_to_list,
19493         extract_init_priority, write_list, dump_list,
19494         dump_prefix_list, write_list_with_asm, write_c_file,
19495         write_c_file_stat, write_c_file_glob, scan_prog_file,
19496         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
19497         ignore_library, extract_string, notice, dump_file, target_machine,
19498         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
19499         read_file, print_load_command): Constify a char*.
19500         (fdopen, error, fatal, fatal_perror): Don't prototype.
19501         (my_strerror): Remove.  All callers use xstrerror instead.
19502         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
19503         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
19504         to xcalloc/strcpy/strcat/...  to one call to concat.
19505         (main, scan_prog_file, scan_libraries): Use an intermediate
19506         `const char **' to build an argv array.
19507         (mapfile, libselect, libcompare, locatelib): Add prototypes.
19508
19509         * collect2.h (collect_execute, collect_wait, dump_file,
19510         file_exists): Constify a char*.
19511         (ldout, c_file_name, temporary_obstack, permanent_obstack,
19512         temporary_firstobj, vflag, debug): Add extern declarations.
19513         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
19514
19515         * tlink.c: Don't include toplev.h.
19516         (vflag, debug, ldout, c_file_name, temporary_obstack,
19517         permanent_obstack, temporary_firstobj): Don't declare.
19518         (tlink_execute, frob_extension, symbol_hash_lookup,
19519         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
19520         recompile_files, read_repo_files, demangle_new_symbols,
19521         scan_linker_output): Constify a char*.
19522         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
19523         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
19524
19525 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
19526
19527         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
19528         (relative) rather than jsr (absolute) subroutine call insns.
19529         * config/m68k/m68k-coff.h: Ditto.
19530
19531 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
19532
19533         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
19534         now rework these too.
19535         (arm_reorg): If an insn can't reach the end of the current pool,
19536         ensure that we emit that pool before the insn.
19537
19538 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
19539
19540         * tlink.c (scan_linker_output): Skip the initial underscore in
19541         a mangled name if appropriate.
19542
19543 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19544
19545         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
19546         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
19547         error_with_ivar, gen_declarator, create_builtin_decl,
19548         my_build_string, generate_descriptor_table, generate_ivars_list,
19549         generate_dispatch_table, check_protocols, TAG_GETCLASS,
19550         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
19551         dump_base_name, lang_decode_option, build_encode_expr,
19552         start_class, finish_class, encode_pointer, really_start_method,
19553         gen_declaration, dump_interface, handle_class_ref, handle_impent):
19554         Constify.
19555         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
19556         Add static prototypes.
19557         (build_objc_string_decl, build_selector_reference_decl,
19558         encode_bitfield, build_class_reference_decl): Remove unused
19559         parameter, all callers changed.
19560         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
19561         (objc_printable_name): Likewise.  Change second parameter to type int.
19562         (init_objc): Use memcpy, not bcopy, to avoid casts.
19563
19564 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
19565
19566         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
19567         reg notes on a deleted insn.
19568         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
19569
19570 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
19571
19572         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
19573
19574 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19575
19576         * stmt.c (expand_asm_operands): Fix index into inout_mode when
19577         reading it.
19578
19579 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
19580
19581         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
19582         * tm.texi (MD_ASM_CLOBBERS): Document it.
19583
19584 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
19585
19586         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
19587         * except.c (expand_rethrow): Remove unused variable.
19588         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
19589         * flow.c (replace_insns): Likewise.
19590         (create_edge_list, verify_edge_list): Likewise.
19591         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
19592
19593         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
19594         is special code to run.
19595         (main): Don't define operands to emit_operand.
19596         * genrecog.c (main): Don't emit an empty peephole2_insn function.
19597
19598         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
19599
19600         * alpha/alpha.h (normal_memory_operand): Declare.
19601         (reg_no_subreg_operand): Declare.
19602         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
19603
19604 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
19605
19606         * c-parse.in (compstmt_primary_start): New, broken out of first
19607         part of compstmt handling in primary.
19608         (primary): Use it.  Add an error clause.
19609         (compstmt_nostart): Renamed from compstmt; remove all
19610         initial invocations of compstmt_start.
19611         (compstmt): New.
19612
19613 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
19614
19615         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
19616         needed.
19617
19618 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
19619
19620         * combine.c (simplify_shift_const): Remove extra semicolon.
19621         * dwarf2out.c (remove_AT): Likewise.
19622         * expmed.c (expand_mult): Likewise.
19623         * gcov.c (create_program_flow_graph): Likewise.
19624         * reorg.c (mostly_true_jump): Likewise.
19625
19626 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
19627
19628         * fold-const.c (fold_range_test): Do not try to fold the range
19629         test if the rhs or lhs has side effects.
19630
19631         * combine.c (simplify_rtx): Recognize another case of a synthesized
19632         sign extension.
19633
19634         * varasm.c (mark_constant_pool): When marking indirect references,
19635         only look at SYMBOL_REFs.
19636
19637         * except.c (expand_fixup_region_end): Do not peek at
19638         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
19639
19640 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
19641
19642         * flags.h: New variables align_loops, align_loops_log,
19643         align_jumps, align_jumps_log, align_labels, align_labels_log,
19644         align_functions, align_functions_log.
19645         * toplev.c: Define them.
19646         (f_options): Handle -falign-* when they have no argument.
19647         (main): Add logic to set variables for -falign-functions,
19648         -falign-jumps, -falign-labels, -falign-loops.
19649         Make it -fsched-verbose=<n> and -finline-limit=<n>.
19650         (display_help): Change help to match options.
19651         * final.c (LABEL_ALIGN): Default to align_labels_log.
19652         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
19653         (LOOP_ALIGN): Default to align_loops_log.
19654         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
19655         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
19656         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
19657         * varasm.c (assemble_start_function): Handle align_functions.
19658
19659         * config/sparc/sparc.h: Don't declare sparc_align_*.
19660         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
19661         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
19662         sparc.c.
19663         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
19664         it's a promise.
19665         * config/sparc/sparc.c: Delete sparc_align_loops,
19666         sparc_align_jumps, sparc_align_funcs and the corresponding string
19667         variables.
19668         (sparc_override_options): Default align_functions on ultrasparc.
19669         Delete -malign-* handling.
19670
19671         * config/mips/mips.c (override_options):  On 64-bit targets,
19672         try to align code to 64-bit boundaries.
19673         (print_operand): New substitution, %~,
19674         which aligns labels to align_labels_log.
19675         * config/mips/mips.md (div_trap_normal): Use %~.
19676         (div_trap_mips16): Likewise.
19677         (abssi): Likewise.
19678         (absdi2): Likewise.
19679         (ffssi2): Likewise.
19680         (ffsdi2): Likewise.
19681         (ashldi3_internal): Likewise.
19682         (ashrdi3_internal): Likewise.
19683         (lshrdi3_internal): Likewise.
19684         (casesi_internal): Likewise.
19685
19686 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
19687
19688         Merge new ia32 backend from the branch!
19689
19690         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
19691         See ChangeLog.P2 on new_ia32_branch for details.
19692
19693         * rtl.h (stack_regs_mentioned_p): Delete prototype.
19694         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
19695         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
19696         * i386/gas.h (ASM_FILE_START): Define.
19697         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
19698         for name change of ix86_valid_decl_attribute_p.
19699         (i386_pe_valid_type_attribute_p): Similarly.
19700
19701 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
19702
19703         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
19704         to step through CC modes.
19705
19706 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19707
19708         * regmove.c (fixup_match_1): Don't move INSN in front of P if
19709         it would end up in the shadow of a live flags regsiter.
19710
19711 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19712
19713         * reload1.c: Fix many indentation problems.
19714         * reload.c: Likewise.
19715
19716 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
19717
19718         * alias.c (non_local_reference_p): Constify fmt.
19719
19720 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
19721
19722         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
19723
19724 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
19725
19726         * cse.c (delete_trivially_dead_insns): Do not delete stores to
19727         the internal_arg_pointer.
19728
19729 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
19730
19731         Merge peephole2 from new_ia32_branch:
19732         * Makefile.in (STAGESTUFF): Add *.peephole2.
19733         (mostlyclean): Likewise.
19734         (recog.o): Depend on resource.h.
19735
19736         * final.c (peephole): Conditionalize decl on HAVE_peephole.
19737         (final_scan_insn): Likewise for the invocation of peephole.
19738         * genconfig.c (main): Look for peephole and peephole2 patterns.
19739         Emit HAVE_peephole* accordingly.
19740         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
19741         * flags.h (flag_peephole2): Declare.
19742         * toplev.c: New pass peephole2.  New flag -fpeephole2.
19743
19744         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
19745         * gencodes.c (main): Likewise.
19746         * genextract.c (main): Likewise.
19747         * genoutput.c (main): Likewise.
19748         * genemit.c (max_operand_1): Look for the max scratch operand.
19749         (gen_rtx_scratch): New.
19750         (gen_exp): Use it, and pass on new arg subroutine_type.
19751         (gen_expand): Take max scratch into account.
19752         (gen_split): Emit peephole2 functions.
19753         (output_peephole2_scratch): New.
19754         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
19755         * genrecog.c (routine_type): Add PEEPHOLE2.
19756         (IS_SPLIT): New.
19757         (make_insn_sequence): Match outer parallel for peep2.  Discard
19758         top level scratches and dups.
19759         (add_to_sequence): New args insn_type and top.  Update all callers.
19760         Handle toplevel peep2 matching insns.
19761         (write_subroutine): Handle peep2.
19762         (write_tree_1): Likewise.
19763         (write_tree): Likewise.
19764         (main): Likewise.
19765         (change_state): New arg afterward.  Update all callers.
19766         Handle matching separate insns.
19767         * recog.c (recog_next_insn): New.
19768         (peephole2_optimize): New.
19769         * rtl.def (DEFINE_PEEPHOLE2): New.
19770         * resource.c (find_free_register): New argument last_insn.  Use it
19771         to find a register available through the entire span.
19772         * resource.h (find_free_register): Update prototype.
19773
19774 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
19775
19776         * i386.c (output_strlen_unroll): Don't write xops[7]
19777         label if it wasn't set.
19778
19779 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
19780
19781         * cpplib.c (struct directive): Const-ify name pointer and
19782         function pointer prototype.
19783         (validate_else, do_define, do_line, do_include, do_undef,
19784         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
19785         do_elif, do_endif, do_sccs, do_assert, do_unassert,
19786         do_warning): Const-ify second arg.
19787         (directive_table): Mark const.  Reorder entries by frequency
19788         of usage, record statistics.
19789
19790 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
19791
19792         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
19793         bounds- check RTL accesses if --enable-checking.
19794         (RTVEC_ELT): Bounds check if --enable-checking.
19795         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
19796         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
19797         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
19798         GET_NUM_ELEM.
19799         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
19800         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
19801
19802         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
19803         (NOTE_SOURCE_FILE): Use X0STR.
19804         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
19805         MEM_ALIAS_SET): Use X0INT.
19806         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
19807         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
19808         Use X0EXP.
19809         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
19810         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
19811         (rtl_check_failed_bounds, rtl_check_failed_type1,
19812         rtl_check_failed_type2, rtvec_check_failed_bounds): New
19813         functions.
19814         (fancy_abort): Fix comment.
19815
19816         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
19817         (cse_insn): Decrement LABEL_NUSES for jump target before
19818         deleting jump insn.
19819         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
19820         * final.c (alter_subreg): Compute regno before changing x to
19821         REG; set REGNO(x) after changing it.
19822         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
19823         notes containing CONST_INTs.
19824         (delete_eh_regions): Use NOTE_EH_HANDLER.
19825         * function.c (put_reg_into_stack): Make reg a MEM before
19826         initializing it.
19827         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
19828         delete insn.
19829         (gen_mem_addressof): Make reg a MEM before initializing it.
19830         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
19831         X0WINT.
19832         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
19833         deleting an insn, not after.
19834         (block_alloc): Only look at PATTERN(insn) if we have to, and
19835         only if it's format class 'i'.
19836         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
19837         CONST_INT before using its INTVAL.
19838         * print-rtl.c (print_rtx): Use X0STR.
19839         * regmove.c (fixup_match_1): Don't look at PATTERN of
19840         non-class-'i' insn chain elements.
19841         * reload.c (loc_mentioned_in_p): Take address of
19842         in->fld[1].rtx directly.
19843         * reload1.c (reload): Change reg to a MEM before initializing
19844         it.
19845         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
19846         have no names.
19847         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
19848
19849 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
19850
19851         * config/mips/mips.c (machine_dependent_reorg): Force a
19852         barrier to output the local constant pool if a barrier hasn't
19853         been found at a natural point in the instruction stream.
19854
19855 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19856
19857         * c-parse.in (language_string): Constify.
19858
19859         * dwarf2out.c (language_string): Remove declaration.
19860
19861         * dwarfout.c (language_string): Likewise.
19862
19863         * toplev.c (language_string, init_parse, finish_parse): Likewise.
19864
19865         * tree.h (language_string, init_parse, finish_parse): Declare.
19866
19867         * i386/sun386.h (language_string): Remove declaration.
19868
19869         * mips.h (language_string): Likewise.
19870
19871         * nextstep.h (language_string): Likewise.
19872
19873         * nextstep21.h (language_string): Likewise.
19874
19875         * rs6000.c (language_string): Likewise.
19876
19877 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19878
19879         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
19880         (getpwd.o): Remove target.
19881
19882         * getpwd.c: Delete file.  Its in libiberty now.
19883
19884         * dbxout.c (getpwd): Don't prototype.
19885         * dwarf2out.c (getpwd): Likewise
19886         * dwarfout.c (getpwd): Likewise
19887         * final.c (getpwd): Likewise.
19888         * protoize.c (getpwd): Likewise.
19889
19890 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19891
19892         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
19893
19894 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
19895
19896         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
19897         mark_set_resources.
19898
19899 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
19900
19901         * fixinc/Makefile.in (subdir): New.
19902         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
19903         (Makefile): New.
19904
19905 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
19906
19907         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
19908         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
19909         be shared.
19910
19911         * invoke.texi: Fix typo.
19912
19913         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
19914         changed.  Handle autoincrement addressing modes.
19915
19916         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
19917         just like we would the virtual incoming args register when
19918         integrating.
19919
19920 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
19921
19922         * rs6000.h (ASM_FILE_START): Specify complete filename, including
19923         path, in .file directive.
19924
19925 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
19926
19927         * gcc.texi (External Bugs): Remove obsolete note about Perl on
19928         SunOS.
19929
19930 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
19931
19932         * stdbool.h: Make the typedef name _Bool, with bool a #defined
19933         alias.
19934
19935 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19936
19937         * tree.c (tree_code_name): Constify a char*.
19938
19939         * tree.h (tree_code_name, decl_printable_name): Likewise.
19940
19941         * function.h (struct function): Likewise.
19942
19943         * toplev.c (decl_name, decl_printable_name): Likewise.
19944
19945         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
19946
19947         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
19948         (init_objc): Remove function pointer cast.
19949
19950 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
19951
19952         * pa.md (interspace_jump): New pattern.
19953         (builtin_longjmp): New expander.
19954
19955 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
19956
19957         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
19958         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
19959         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
19960
19961 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
19962
19963         * jump.c (delete_prior_computation): Also check calls
19964         to constant functions.  Don't bother checking for a
19965         REG_UNUSED note before adding it.
19966         (delete_computation): Handle multi-word hard registers
19967         when synthesizing missing REG_DEAD notes for a register
19968         which is both set and used by an insn.
19969
19970 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
19971
19972         * loop.c (this_loop_info): New variable.
19973         (loop_has_call, loop_has_volatile, loop_has_tablejump,
19974         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
19975         All uses updated.
19976         (prescan_loop, strength_reduce): New argument loop_info.  All callers
19977         updated.
19978         (scan_loop): New variable loop_info, initialise to address of
19979         this_loop_info.
19980         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
19981         Delete variable loop_has_multiple_exit targets and replace with
19982         field in this_loop_info.
19983         (find_and_verify_loops): Rename this_loop to this_loop_num.
19984         (strength_reduce): Delete loop_iteration_info.  Replace variable
19985         loop_info with function argument of same name.
19986         (insert_bct): Rework test for loop being completely unrolled.
19987
19988         * loop.h (struct loop_info): New fields num, loops_enclosed,
19989         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
19990         has_indirect_jump, and cont.  Redefine use of unroll_number.
19991         (loop_unroll_number): Delete.
19992
19993         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
19994         field of loop_info.
19995         (loop_iterations): Delete variable vtop and instead use
19996         loop_info->vtop computed in prescan_loop.
19997
19998 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
19999
20000         * fix-header.c (main): Do not pass a null pointer to strcmp.
20001
20002 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
20003
20004         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
20005         filenames.
20006         * configure: Rebuilt.
20007
20008 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
20009
20010         * jump.c (jump_optimize_1): Do not delete assignments to
20011         internal_arg_pointer.
20012         * cse.c (delete_trivially_dead_insns): Always consider a set of
20013         the internal_arg_pointer live.
20014
20015 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
20016
20017         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
20018         (update_life_info) [REG_WAS_0]: Search the original insns rather
20019         than the new insns for the note.  Fix typos finding note_dest.
20020         If no dest found, discard the note rather than abort.
20021         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
20022         (replace_insns): Remove the old insn list after update_life_info
20023         not before.
20024
20025 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
20026
20027         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
20028         sched_analyze_insn.
20029         (sched_analyze_1): Let add_dependence care for not adding dups.
20030         (sched_analyze_2): Likewise.
20031         (add_branch_dependences): Likewise.
20032
20033 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20034
20035         * i386/winnt.c (export_list): New type.
20036         (exports_head): Rename to
20037         (export_head):  this.
20038         (i386_pe_record_exported_symbol): Add is_data flag.
20039         (i386_pe_asm_file_end): Emit directive for exported variables.
20040         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
20041         prototype.
20042         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
20043         (ASM_DECLARE_OBJECT_NAME): Likewise.
20044         (ASM_DECLARE_FUNCTION_NAME): Likewise.
20045         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
20046
20047 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
20048
20049         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
20050
20051         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
20052         operand.
20053
20054 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
20055
20056         * config/openbsd.h: Define SET_ASM_OP.
20057         * tm.texi: cross-reference SET_ASM_OP in the index.
20058
20059 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
20060
20061         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
20062         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
20063         and class_narrowest_mode at compile time.  Kill init_rtl.
20064         Mark rtx_length, mode_class, mode_size, mode_unit_size,
20065         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
20066         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
20067         EXTRA_CC_NAMES.
20068         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
20069         format.
20070         * rtl.h: Declare rtx_length and rtx_format as const.
20071         * machmode.def: Define CC().  Use CC() to define CCmode.  If
20072         EXTRA_CC_MODES is defined, expand it here.
20073         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
20074         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
20075         const.  Kill all references to EXTRA_CC_MODES.
20076
20077         * toplev.c: Don't prototype or call init_rtl.
20078         * optabs.c: Don't call init_mov_optab.
20079         * genemit.c: Don't generate init_mov_optab.  Don't call
20080         init_rtl.
20081         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
20082         here.
20083         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
20084         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
20085         genrecog.c: Don't call init_rtl.
20086
20087         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
20088         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
20089         definition of EXTRA_CC_MODES.
20090
20091         * md.texi: Kill ref to EXTRA_CC_NAMES.
20092         * tm.texi: Document new way to define EXTRA_CC_MODES.
20093
20094         * genrecog.c: Do not look up the name of a define_split.
20095         (Unrelated bugfix.)
20096
20097 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
20098
20099         * config/v850/v850.md: Fix typo introduced by previous delta.
20100
20101 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20102
20103         * gcc.c (fatal): Make definition static to match prototype.
20104
20105 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20106
20107         * combine.c (get_last_value): Don't look for earlier sets if the last
20108         known set is somewhere in between the insns being combined.
20109
20110 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
20111
20112         * configure.in: Don't use shell ! to negate exit codes
20113         * configure: Regenerate
20114
20115 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
20116
20117         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
20118         the fact that ALIGN is measured in bits, not bytes.
20119
20120 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
20121
20122         * errors.c: New file; defines functions error, warning, and
20123         fatal, variables have_error and progname.
20124         * errors.h: New file; prototypes and decls for stuff in errors.c.
20125
20126         * Makefile: Add rules to build errors.o and
20127         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
20128         genopinit, genrecog, genextract, genpeep, genattr, and
20129         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
20130         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
20131         genpeep.o, genattr.o, and genoutput.o.
20132
20133         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
20134         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
20135         define or prototype fatal.  Set progname at beginning of main.
20136         * genoutput.c:  Likewise, and don't define or prototype error
20137         either.
20138
20139         * c-typeck.c (c_expand_start_case): Return immediately if exp
20140         is an ERROR_MARK.
20141         * fold-const.c (operand_equal_p): Return immediately if arg1
20142         or arg0 are ERROR_MARKs.
20143         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
20144         fields of type ERROR_MARK when calculating if the record can
20145         go in a register.
20146
20147 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
20148         with much help from Jeffrey A Law and Richard Henderson
20149
20150         * i386.md: In the 6 insns which call output_fix_trunc,
20151         earlyclobber operands[0].
20152
20153 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
20154
20155         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
20156         creating new registers.
20157
20158 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
20159
20160         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
20161         i386_reg_alloc_order, i386_regparm_string,
20162         i386_align_loops_string, i386_align_jumps_string,
20163         i386_align_funcs_string, i386_preferred_stack_boundary_string,
20164         and i386_branch_cost_string as type "const char *".
20165         * i386.c: Define all above strings as type "const char *".
20166
20167 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
20168
20169         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
20170         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
20171
20172 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
20173
20174         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
20175         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
20176
20177 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
20178
20179         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
20180         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
20181         (dwarf2out_line, dwarf2out_finish): Likewise.
20182         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
20183
20184 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20185
20186         * tree.c (lang_unsave_expr_now) : Correct return type.
20187         * tree.h (lang_unsave_expr_now) : Same.
20188
20189 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
20190
20191         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
20192         instead of duplicating code.
20193
20194 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20195
20196         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
20197
20198 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
20199
20200         * tree.h: fancy_abort always takes three args.
20201         * resource.c: Move include of system.h before toplev.h.
20202
20203 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
20204
20205         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
20206         as SYMBOL_REFs.
20207
20208 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
20209
20210         * system.h: Don't redefine abort or trim_filename.
20211         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
20212         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
20213         whether or not __FUNCTION__ is available.
20214         * tree.h: Duplicate rtl.h's definition of abort, for files
20215         that don't include rtl.h.  Delete all code to perform type
20216         checking with a compiler other than GCC.
20217         * varray.h: Delete all code to perform type checking with a
20218         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
20219         its arguments exactly once, using a statement expression.
20220         Adjust the VARRAY_<type> accessor macros to match.
20221         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
20222         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
20223         caller's location.  Define fatal_insn and fatal_insn_not_found
20224         as macros that use _fatal_insn and _fatal_insn_not_found.
20225         (fancy_abort, trim_filename): Kill prototypes.
20226
20227         * rtl.c (trim_filename): Move here from toplev.c.
20228         (fancy_abort): New function.
20229         (DIR_SEPARATOR): Provide default definition.
20230         * tree.c (tree_check_failed, tree_class_check_failed): Go
20231         through fancy_abort.
20232         (tree_check, tree_class_check, cst_or_constructor_check,
20233         expr_check): Delete.
20234         * varray.c (varray_check_failed): New function.
20235         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
20236         _fatal_insn and _fatal_insn_not_found.  Go through
20237         fancy_abort.
20238         (trim_filename, fancy_abort): Delete.
20239
20240         * builtins.c (expand_builtin_args_info): Report ICE with abort.
20241         * except.c (start_catch_handler): Report ICE with error/abort
20242         combo.
20243         * final.c (output_operand_lossage): Likewise.
20244         * flow.c (verify_flow_info): Likewise.
20245
20246         * gcc.c: Prototype fatal.
20247         * gengenrtl.c: Undef abort after including rtl.h not system.h.
20248         * genattr.c, genattrtab.c, genemit.c, genextract.c,
20249         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
20250         Don't define fancy_abort.
20251
20252 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
20253
20254         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
20255         canonization.
20256
20257 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
20258
20259         * m88k.h (VERSION_INFO2): Kill.
20260         (VERSION_STRING): Kill.
20261         (TM_RCS_ID): Kill.
20262         (VERSION_INFO1): Tidy.
20263         (TARGET_VERSION): Update.
20264         * m88k/dgux.h (VERSION_INFO2): Kill.
20265         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
20266         * m88k/luna.h (VERSION_INFO1): Tidy.
20267         * m88k/sysv4.h (VERSION_INFO1): Likewise.
20268         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
20269         (output_file_start): Adjust for death of VERSION_STRING.
20270
20271 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
20272
20273         * cpplib.c (detect_if_not_defined): New function.
20274         (do_if): Use it to detect potential once-only headers.
20275
20276 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
20277
20278         * c-common.c (combine_strings): Always set TREE_CONSTANT.
20279
20280 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20281
20282         * combine.c (nonzero_bits) : Allow single-ly set registers to be
20283         anywere in the function only if they are pseudos and set before
20284         being used (not live at the start of the function).
20285         (num_sign_bit_copies) : Same.
20286         (get_last_value_validate) : Same.
20287         (get_last_value) : Same.
20288
20289 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
20290
20291         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
20292         where N and M are constant and N is an integer multiple of M.
20293
20294 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20295
20296         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
20297         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
20298         sbitmap_union_of_preds): Add prototypes.
20299         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
20300         the intersection of successors with the new flow graph structures.
20301         (sbitmap_intersection_of_preds): New function to compute the
20302         intersection of predecessors with the new flow graph structures.
20303         (sbitmap_union_of_succs): New function to compute the union of
20304         successors with the new flow graph structures.
20305         (sbitmap_union_of_preds): New function to compute the union of
20306         predecessors with the new flow graph structures.
20307         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
20308         (expr_reaches_here_p): Use edge and basic_block structures instead
20309         of s_preds and s_succs.
20310         (compute_cprop_avinout): Use new sbitmap routines.
20311         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
20312         of s_preds and s_succs.
20313         * flow.c (compute_flow_dominators): Compute dominators using
20314         edges and basic blocks instead of s_preds and s_succs.
20315
20316 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
20317
20318         * lists.c (unused_insn_list, unused_expr_list): New file for
20319         maintaining various types of lists. New statics for maintaining a
20320         cache of available INSN_LIST and EXPR_LIST nodes.
20321         (free_list): Static function for freeing a list of INSN/EXPR nodes.
20322         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
20323         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
20324         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
20325         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
20326         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
20327         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
20328         (free_INSN_LIST_node): Free an individual INSN_LIST node.
20329         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
20330         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
20331         (remove_dependence, free_pending_lists): Use new global routines.
20332         (flush_pending_lists, sched_analyze_insn): Use new global routines.
20333         (sched_analyze, compute_block_backward_dependences): Use new routines.
20334         (sched_analyze_1, sched_analyze_2): Use new routines.
20335         (schedule_insns): Use new global routines.
20336         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
20337         prototypes.
20338         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
20339         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
20340         prototypes.
20341         * toplev.c (rest_of_compilation): Initialize node cache.
20342         * Makefile.in (OBJS): Add lists.o to list of object files.
20343         (lists.o): Add dependancies.
20344
20345 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
20346
20347         * config/v850/v850.md: Fix compile time warning messages.
20348         * config/v850/v850.c: Fix compile time warning messages.
20349         * config/v850/v850.h: Fix compile time warning messages.
20350
20351 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20352
20353         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
20354         Remove unused prototype for `init_lengths'.
20355
20356 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20357
20358         * calls.c (emit_call_1): Mark parameter `stack_size' with
20359         ATTRIBUTE_UNUSED.
20360         (expand_call): Initialize variable `insn'.
20361         (emit_library_call): Likewise for variable `high_to_save'.
20362         (emit_library_call_value): Likewise.
20363         (store_one_arg): Likewise for variables `lower_bound' and
20364         `upper_bound'.
20365
20366         * combine.c (try_combine): Likewise for variables `i2_code_number'
20367         and `other_code_number'.
20368         (find_split_point): Likewise for variables `pos', `unsignedp' and
20369         `inner'.
20370         (simplify_if_then_else): Likewise for variables `op' and `c1'.
20371         (simplify_and_const_int): Remove unused variable `width'.
20372         (merge_outer_ops): Likewise.
20373
20374         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
20375         HOST_WIDE_INT' when comparing against one.
20376         (simplify_relational_operation): Likewise.
20377         (cse_insn): Initialize variables `src_eqv_volatile',
20378         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
20379
20380         * final.c (init_final): Constify parameter `filename'.
20381         (final_start_function): Mark parameter `optimize' with
20382         ATTRIBUTE_UNUSED.
20383         (profile_function): Likewise for parameters `first' and `optimize'.
20384         (output_source_line): Likewise for parameter `file'.
20385
20386         * integrate.c (subst_constants): Cast a value to `size_t' when
20387         comparing against one.
20388         (mark_stores): Initialize variable `mode'.  Cast a value to
20389         `size_t' when comparing against one.
20390
20391         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
20392
20393         * loop.c (move_movables): Initialize variable `first'.
20394         (strength_reduce): Likewise for variable `increment'.
20395         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
20396         value to `size_t' when comparing against one.
20397         (load_mems): Initialize variable `end_label'.
20398
20399         * output.h (init_final): Constify parameter.
20400
20401         * reload.c (decompose): Initialize variable `base'.
20402
20403         * reload1.c (reload): Likewise for variable `is_scalar'.
20404         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
20405         (choose_reload_regs): Initialize variable `mode'.
20406         (emit_reload_insns): Likewise for variable `store_insn'.
20407         (reload_cse_noop_set_p): Mark parameter `insn' with
20408         ATTRIBUTE_UNUSED.
20409         (reload_combine): Initialize variable `set'.
20410
20411         * unroll.c (unroll_loop): Likewise for variable `local_label'.
20412         (copy_loop_body): Cast a value to `size_t' when comparing against
20413         one.
20414
20415         * varasm.c (assemble_variable): Initialize variable `size_tree'.
20416         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
20417         (remove_from_pending_weak_list): Mark parameter `name' with
20418         ATTRIBUTE_UNUSED.
20419
20420 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20421
20422         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
20423         gcse dump file.
20424
20425 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
20426
20427         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
20428         (ASM_DECLARE_FUNCTION_NAME): Define.
20429         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
20430         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
20431         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
20432         not already defined.
20433
20434 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
20435
20436         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
20437         of n_popped when call/call_value are not defined.
20438
20439 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
20440
20441         * tm.texi: GNU CC -> GCC conversion.
20442         (CC1_SPEC): Indicate it is used for all language front ends.
20443
20444 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
20445
20446         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
20447         NOTE_INSN_EH_REGION_END correctly.
20448
20449 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
20450                           Jeff Law <law@cygnus.com>
20451
20452         * loop.c (strength_reduce): Automatically unroll loops if the
20453         unrolled loop size is smaller than the rolled loop size.
20454
20455         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
20456         and delete comment that code should be rewritten.
20457
20458 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
20459
20460         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
20461         as reachable.
20462
20463         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
20464
20465 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20466
20467         * fixinc/mkfixinc.sh: Don't fix uwin headers.
20468         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
20469         (LINK_SPEC): Add -u _main when building executables.
20470         (ASM_DECLARE_FUNCTION): Update from Cygwin.
20471         (ASM_FILE_END): Use the default for ix86-pe.
20472         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
20473
20474 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
20475
20476         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
20477         and ASM_CLOSE_PAREN are empty strings.
20478
20479 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
20480                           Geoffrey Keating <geoffk@cygnus.com>
20481
20482         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
20483         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
20484         (unprotoize.o): Ditto.
20485         (test-protoize-simple): Don't define STD_PROTO_DIR.
20486         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
20487         changes to make 'test-protoize-simple' pass.
20488         (STD_PROTO_DIR): Remove define.
20489         (STANDARD_EXEC_PREFIX): Supply default define.
20490         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
20491         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
20492         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
20493         (GET_ENV_PATH_LIST): New macro.
20494         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
20495         (do_processing): Initialize default_syscalls_dir using new
20496         macros.  Use it to initialize syscalls_absolute_filename.
20497
20498 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
20499
20500         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
20501         B into a register before emit_conditional_move.
20502
20503 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
20504
20505         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
20506         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
20507         multiplicand out of (+ (* a b) (* c d)).
20508
20509 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
20510                           Richard Henderson  <rth@cygnus.com>
20511
20512         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
20513         (new_insn_dead_notes): Likewise.
20514         (update_n_sets): Likewise.
20515         (update_flow_info): Move to flow.c, renamed to update_life_info;
20516         extend to handle multiple source insns.
20517         * flow.c: Include resource.h
20518         (unlink_insn_chain): New.
20519         (split_hard_reg_notes): New.
20520         (maybe_add_dead_note): New.
20521         (maybe_add_dead_note_use): New.
20522         (find_insn_with_note): New.
20523         (new_insn_dead_notes): New.
20524         (update_n_sets): New.
20525         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
20526         (maybe_remove_dead_notes): New.
20527         (update_life_info): New.
20528         (prepend_reg_notes): New.
20529         (replace_insns): New.
20530         * output.h (update_life_info): Declare.
20531         * recog.c (split_block_insns): Use update_life_info.
20532         * resource.c (find_free_register): Use reg_alloc_order, don't use
20533         fixed regs, make sure the mode is supported, don't use new regs.
20534         (reg_dead_p): New.
20535         * rtl.h (replace_insns): Declare.
20536
20537 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
20538
20539         * expr.c (expand_expr): Cope with COND_EXPRs with one
20540         non-returning branch.
20541
20542 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
20543
20544         * expr.c (store_expr): Always pass down the target, even when not
20545         doing CSE.
20546
20547 1999-08-24  Nick Clifton  <nickc@cygnus.com>
20548
20549         * configure.in: Define target_cpu_default for v850 targets.
20550         * configure: Regenerate
20551
20552         * config/v850/v850.h (TARGET_CPU_generic): Define.
20553         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
20554         addresses are 4 byte aligned.
20555
20556         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
20557         addresses.
20558
20559 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20560
20561         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
20562         (main): Add prototypes.
20563
20564         * genattrtab.c (substitute_address, write_const_num_delay_slots,
20565         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
20566         (write_attr_get): Emit prototypes along with function definition.
20567         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
20568         (write_complex_function): Emit static prototype along with
20569         function definition.
20570
20571         * genemit.c (gen_split): Emit prototypes along with function
20572         definition.
20573
20574         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
20575         Likewise for predicates and `insn_operand_predicate'.
20576         (process_template): Emit static prototype along with function
20577         definition.
20578
20579         * genrecog.c (make_insn_sequence): Constify a char*.  Add
20580         prototypes for get_split_*().
20581         (write_subroutine): Emit prototypes along with function
20582         definition.
20583
20584 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20585
20586         * gcse.c (find_avail_set): Follow chains of register-register copies.
20587         Use oprs_not_set_p to guarantee that the returned value can be
20588         substituted.
20589         (cprop_insn): Don't verify the return value of find_avail_set with
20590         oprs_not_set_p.
20591
20592         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
20593         (cprop_cc0_jump): New function.
20594         (cprop_insn): Break out new function cprop_jump and use it.
20595         Also use cprop_cc0_jump for machines with CC0.
20596         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
20597
20598         * tree.h (current_function_calls_setjmp,
20599         current_function_calls_longjmp): Delete declarations.
20600         * dsp16xx.c: Include "function.h".
20601         * elxsi.c: Likewise.
20602         * gmicro.c: Likewise.
20603         * h8300.c: Likewise.
20604         * i370.c: Likewise.
20605         * m32r.c: Likewise.
20606         * mn10200.c: Likewise.
20607         * mn10300.c: Likewise.
20608         * ns32k.c: Likewise.
20609         * spur.c: Likewise.
20610         * v850.c: Likewise.
20611
20612         * rtl.h (rtx_equal_function_value_matters): Declare.
20613         * toplev.c (rtx_equal_function_value_matters): Don't declare.
20614         * cse.c: Likewise.
20615         * function.c: Likewise.
20616         * emit-rtl.c: Likewise.
20617
20618 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
20619
20620         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
20621         call.
20622
20623 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
20624
20625         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
20626         exactly.
20627
20628 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
20629
20630         * cpp.texi: Add a node documenting macro varargs (copied
20631         from extend.texi).
20632
20633 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
20634
20635         * cppspec.c: Put a null pointer at the end of the new argv.
20636
20637 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
20638
20639         * configure.in: Remove code to select/de-select the haifa
20640         scheduler.  Every scheduled port gets haifa now.
20641         * configure: Rebuilt.
20642         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
20643         * sched.c Deleted.
20644         * Makefile.in: Corresponding changes.
20645
20646 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20647
20648         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
20649         All callers changed.
20650         (prepare_float_lib_cmp): Likewise.
20651         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
20652         * expr.h (emit_float_lib_cmp): Delete declaration.
20653         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
20654         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
20655         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
20656         specially.
20657         (cmptf): Now conditional on TARGET_HARD_QUAD.
20658
20659 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
20660
20661         * resource.c (mark_target_live_regs): Use
20662         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
20663
20664 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20665
20666         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
20667
20668         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
20669
20670         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
20671
20672 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20673
20674         * rtl.h (rtx_format): Constify a char*.
20675
20676         * rtl.c (rtx_format): Likewise.
20677         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
20678         (init_rtl): Use accessor macro, not `rtx_format'.
20679
20680         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
20681         char*.
20682
20683         * caller-save.c (mark_referenced_regs): Likewise.
20684
20685         * combine.c (subst, make_compound_operation, known_cond,
20686         gen_rtx_combine, update_table_tick, get_last_value_validate,
20687         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
20688
20689         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
20690         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
20691         count_reg_usage): Likewise.
20692
20693         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
20694         Likewise.
20695
20696         * final.c (leaf_renumber_regs_insn): Likewise.
20697
20698         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
20699         dump_edge_info, count_reg_references): Likewise.
20700
20701         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
20702         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
20703         Likewise.
20704
20705         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
20706         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
20707         add_label_notes): Likewise.
20708
20709         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
20710         clear_struct_flag, count_sub_rtxs, count_alternatives,
20711         compares_alternatives_p, contained_in_p, walk_attr_value,
20712         write_expr_attr_cache): Likewise.
20713
20714         * genconfig.c (walk_insn_part): Likewise.
20715
20716         * genemit.c (max_operand_1, gen_exp): Likewise.
20717
20718         * genextract.c (walk_rtx): Likewise.
20719
20720         * genflags.c (num_operands): Likewise.
20721
20722         * genoutput.c (scan_operands): Likewise.
20723
20724         * genpeep.c (match_rtx): Likewise.
20725
20726         * genrecog.c (add_to_sequence): Likewise.
20727
20728         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
20729         Likewise.
20730
20731         * integrate.c (save_constants, copy_for_inline,
20732         copy_rtx_and_substitute, subst_constants, restore_constants):
20733         Likewise.
20734
20735         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
20736         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
20737
20738         * local-alloc.c (contains_replace_regs, memref_referenced_p):
20739         Likewise.
20740
20741         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
20742         add_label_notes, replace_call_address, count_nonfixed_reads,
20743         invariant_p, find_single_use_in_loop, find_mem_givs,
20744         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
20745         Likewise.
20746
20747         * print-rtl.c (reg_names, print_rtx): Likewise.
20748
20749         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
20750
20751         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
20752         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
20753         print_blocks): Likewise.
20754
20755         * regclass.c (fix_register, record_address_regs,
20756         reg_scan_mark_refs): Likewise.
20757
20758         * regmove.c (stable_but_for_p): Likewise.
20759
20760         * reload.c (loc_mentioned_in_p, operands_match_p,
20761         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
20762         copy_replacements, refers_to_regno_for_reload_p,
20763         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
20764         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
20765         Likewise.
20766
20767         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
20768         delete_address_reloads_1, count_occurrences,
20769         reload_cse_mem_conflict_p, reload_combine_note_use,
20770         add_auto_inc_notes): Likewise.
20771
20772         * resource.c (mark_referenced_resources, mark_set_resources):
20773         Likewise.
20774
20775         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
20776         reg_mentioned_p, regs_set_between_p, modified_between_p,
20777         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
20778         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
20779         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
20780         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
20781
20782         * sched.c (sched_analyze_2, attach_deaths): Likewise.
20783
20784         * stupid.c (stupid_mark_refs): Likewise.
20785
20786         * unroll.c (remap_split_bivs): Likewise.
20787
20788         * varasm.c (mark_constants): Likewise.
20789
20790         * a29k/a29k.c (uses_local_reg_p): Likewise.
20791
20792         * alpha/alpha.c (summarize_insn): Likewise.
20793
20794         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
20795         eliminate_lr2ip): Likewise.
20796
20797         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
20798
20799         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
20800         reg_mentioned_in_mem): Likewise.
20801
20802         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
20803         symbolic_reference_mentioned_p): Likewise.
20804
20805         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
20806
20807         * sh/sh.c (regs_used, mark_use): Likewise.
20808
20809         * vax/vax.c (vax_rtx_cost): Likewise.
20810
20811 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20812
20813         * machmode.h (mode_name): Constify a char*.
20814
20815         * rtl.c (mode_name): Likewise.
20816
20817         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
20818
20819         * optabs.c (init_libfuncs): Constify a char*.
20820
20821         * print-tree.c (mode_name): Remove redundant declaration.
20822         (print_node): Use accessor macro, not `mode_name'.
20823
20824         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
20825         not `mode_name'.
20826         (new_spill_reg): Constify a char*.
20827
20828         * tree.c (mode_name): Remove redundant declaration.
20829
20830 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20831
20832         * rtl.c (rtx_name): Constify a char*.
20833
20834         * rtl.h (rtx_name, fix_sched_param): Likewise.
20835
20836         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
20837         (mypr): Use accessor macro, not `rtx_name'.
20838
20839         * genemit.c (print_code): Constify a char*.
20840
20841         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
20842
20843         * genpeep.c (print_code): Constify a char*.
20844
20845         * genrecog.c (print_code): Likewise.
20846
20847         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
20848         end_bb): Add static prototype.
20849         (draw_edge): Constify a char*.
20850         (end_bb): Remove unused parameter.
20851
20852         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
20853         print_block_visualization): Constify a char*.
20854
20855 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
20856
20857         * c-common.c (c_get_alias_set): Update comment.
20858
20859 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
20860
20861         * linux.h (LIB_SPEC): Added.
20862
20863 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20864
20865         * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
20866
20867 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
20868
20869         * tree.c (expr_check): Fix typo in last change.
20870
20871 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
20872
20873         * rtl.def (NOTE): Change format to "iuu0n".
20874         (ADDR_DIFF_VEC): Change format to "eEee0".
20875         (ADDRESSOF): Change format to "eit".
20876
20877         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
20878         (RTVEC_ELT): Change to match.
20879         (XVECEXP): Use XVEC and RTVEC_ELT.
20880         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
20881         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
20882         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
20883         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
20884         TRAP_CONDITION, TRAP_CODE): Use XEXP.
20885         (INTVAL): Use XWINT.
20886         (ADDRESSOF_DECL): Use XTREE.
20887         (SET_ADDRESSOF_DECL): Delete.
20888         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
20889         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
20890         ifdefed out since 2.6 at least.
20891         (gen_rtvec_vv): Delete prototype.
20892
20893         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
20894         not rtunion.
20895         (copy_most_rtx): Handle 't' format letter.
20896         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
20897         (gen_rtvec_vv): Delete function.  All callers changed to use
20898         gen_rtvec_v instead.
20899         * print-rtl.c (print_rtx): Move special casing of NOTEs to
20900         the '0' format letter.
20901
20902         * function.c (gen_mem_addressof): Don't use
20903         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
20904         instead.
20905         * integrate.c (copy_rtx_and_substitute): Likewise.
20906         Copy 't' slots with XTREE.
20907         (subst_constants): Treat 't' slots like '[swi]' slots.
20908         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
20909         * jump.c (rtx_equal_for_thread_p): Likewise.
20910         * rtlanal.c (rtx_equal_p): Likewise.
20911         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
20912         only four arguments.
20913         * gengenrtl.c (type_from_format): Provide correct types for
20914         'b' and 't' slots.
20915
20916
20917         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
20918         If a recent gcc is in use (always in stage2 and beyond), use
20919         statement expressions, so we don't make a function call unless
20920         the check fails.  Evaluate arguments exactly once.
20921         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
20922         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
20923         Delete.
20924         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
20925         they evaluate their arguments exactly once, irrespective of
20926         the compiler in use.
20927
20928         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
20929         is used by the currently-enabled check macros.  This is:
20930         (tree_check_failed, tree_class_check_failed): For gcc.
20931         (tree_check, tree_class_check, cst_or_constructor_check,
20932         expr_check): For other compilers.
20933
20934         * gencheck.c: Do not define any *_CHECK1 macros.
20935
20936 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
20937                           Mark Mitchell <mark@codesourcery.com>
20938
20939         * c-common.c (c_get_alias_set): Fix support for poitners and
20940         references.
20941
20942 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
20943
20944         * alias.c: Include tree.h.
20945         (nonlocal_reference_p, mark_constant_function): New functions.
20946         * flow.c (life_analysis): Call mark_constant_function.
20947         * rtl.h (mark_constant_function): Declare it.
20948
20949 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
20950
20951         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
20952         unrecognisable switches.
20953
20954 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20955
20956         * loop.c (recombine_givs): Set ix field after sorting.
20957         (recombine_givs): Remove bogus index / giv lockstep looping.
20958
20959 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
20960
20961         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
20962         on CODE.
20963         (emit_store_flag_force): Use do_compare_rtx_and_jump.
20964         (do_cmp_and_jump): Formatting fixes.
20965         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
20966         do_compare_rtx_and_jump instead of compare_from_rtx.
20967         (do_compare_rtx_and_jump): New function; mostly copied from
20968         compare_from_rtx.
20969         (do_jump_for_compare): Delete.
20970         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
20971         MIN_EXPR.
20972         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
20973         of compare/do_jump_for_compare pairs.
20974         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
20975         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
20976         compare_from_rtx/do_jump_for_compare pairs.
20977         (do_jump_by_parts_equality): Likewise.
20978         (do_jump_by_parts_equality_rtx): Likewise.
20979         * expr.h (do_compare_rtx_and_jump): Declare.
20980         * optabs.c (prepare_cmp_insn): New function, contains most of the code
20981         that used to be in emit_cmp_insn.
20982         (cmp_available_p): New function.
20983         (prepare_operand): New function.
20984         (emit_cmp_and_jump_insn_1): New function, contains some code that used
20985         to be in emit_cmp_insn.
20986         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
20987         parameters to be pointers; don't emit final compare but modify some of
20988         the values pointed to by the args so the caller can perform the
20989         correct comparison.
20990         (expand_binop): Call emit_store_flag_force with signed forms of
20991         comparison code.
20992         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
20993         emit_jump_insn pair.
20994         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
20995         emit_cmp_and_jump_insn_1.  Call emit_queue.
20996         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
20997         arg.
20998         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
20999         jump sets cc0 before deleting it.
21000         * integrate.c (expand_inline_function): Likewise.
21001         * unroll.c (unroll_loop): Similar changes in several places.
21002         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
21003         before deleting it.
21004
21005 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21006
21007         * Makefile.in (insn-recog.o): Update dependencies.
21008         * genrecog.c (main): Make generated file include "function.h".
21009
21010 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
21011
21012         * cse.c (cse_insn): Call never_reached_warning when a jump is
21013         changed to be unconditional.
21014         * flags.h: Declare warn_notreached.
21015         * flow.c (delete_block): Call never_reached_warning when
21016         a block is deleted.
21017         * jump.c (delete_barrier_successors): Call never_reached_warning
21018         when we delete everything after a BARRIER.
21019         (never_reached_warning): New function.
21020         * rtl.h: Declare never_reached_warning.
21021         * toplev.c (warn_notreached): New variable.
21022         (lang_independent_options): Set warn_notreached
21023         when -Wunreachable-code.
21024         (compile_file): We need line numbers for -Wunreachable-code.
21025
21026 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
21027
21028         * haifa-sched.c (insn_unit): Fix typo on out of range test.
21029         * sched.c (insn_unit): Likewise.
21030
21031 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
21032
21033         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
21034
21035 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21036
21037         * flow.c (create_edge_list): Use xmalloc, not malloc.
21038
21039 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
21040
21041         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
21042         C-style comments.  Do not lose the character before double slash.
21043
21044 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21045
21046         * basic-block.h (struct edge_list): Stucture to maintain a vector
21047         of edges.
21048         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
21049          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
21050         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
21051         New function prototypes.
21052         * flow.c (create_edge_list): Function to create an edge list.
21053         (free_edge_list): Discards memory used by an edge list.
21054         (print_edge_list): Debug output showing an edge list.
21055         (verify_edge_list): Internal consistency check for an edge list.
21056         (find_edge_index): Function to find an edge index for a pred and succ.
21057
21058 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
21059
21060         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
21061         hashtable.
21062
21063 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
21064
21065         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
21066
21067 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
21068
21069         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21070
21071 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
21072
21073         * toplev.c (rest_of_compilation): Allow machine dependent
21074         reorganisation pass to place information into the RTL dump
21075         file if it so wishes.
21076
21077 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
21078
21079         * explow.c (hard_function_value): Use VOIDmode instead of
21080         MAX_MACHINE_MODE.
21081         * stmt.c (expand_return): Likewise.
21082         * stor-layout.c (get_best_mode): Likewise.
21083
21084         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
21085         emit call instead of emit_insn call.
21086
21087 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21088
21089         * configure.in: Handle --disable/enable-win32-registry.
21090         * install.texi: Document --disable/enable-win32-registry.
21091         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
21092         (WIN32_REGISTRY_KEY): New macro.
21093         * prefix.c: Use to enable/disable win32-specific code.
21094         (lookup_key): Use versioned key.
21095         * configure: Regenerate.
21096         * config.in: Likewise.
21097
21098 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
21099
21100         * cpplib.c (read_line_number): New fn, split out of...
21101         (do_line): Here.
21102
21103 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
21104
21105         tree.c (lang_unsave_expr_now) : New.
21106         (unsave_expr_now): Call lang_unsave_expr_now.
21107         tree.h (lang_unsave_expr_now) : New.
21108
21109 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
21110
21111         * toplev.c (flag_new_exceptions): On by default.
21112
21113 1999-08-13  Michael Meissner  <meissner@cygnus.com>
21114
21115         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
21116
21117 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
21118
21119         * dwarfout.c (fundamental_type_code): Return FT_boolean for
21120         INTEGER_TYPE with precision==1, it's __java_boolean.
21121
21122 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21123
21124         * global.c (prune_preferences): Move some invariants out of the
21125         inner loop.
21126
21127 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
21128
21129         * configure.in (alpha*-dec-osf*): Add osf5.
21130
21131 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
21132
21133         * configure.in: Rework handling of ARM GNU/Linux slightly.
21134         (arm*-*-linux-gnuoldld): New target.
21135         * configure: Regenerate.
21136         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
21137         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
21138         * config/arm/linux-oldld.h: New file.
21139         * config/arm/linux-elf26.h: Don't include linux-elf.h.
21140         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
21141         Don't define.
21142         * config/arm/linux-elf.h (ASM_SPEC): Define.
21143         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
21144         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
21145         for 26-bit APCS and old linker.
21146         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
21147         `arm_elf'.
21148         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
21149         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
21150         don't define `arm' or `arm_elf'.
21151         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
21152         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
21153
21154 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
21155
21156         * rtl.texi: Fix typo.
21157
21158 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
21159
21160         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
21161
21162 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
21163
21164         * extend.texi (C++ Signatures): Remove node.
21165         * invoke.texi: Remove discussion of -fhandle-signatures,
21166         signature, sigof, __signature__, and __sigof__.
21167
21168 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
21169
21170         * Makefile.in (JAVAGC): Removed.
21171
21172 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
21173
21174         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21175
21176 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
21177
21178         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21179
21180 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
21181
21182         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
21183         a register that is already known to be a pointer.
21184
21185 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
21186
21187         * fixinc/inclhack.tpl: Only install assert.h conditionally.
21188         * fixinc/inclhack.sh: Regenerated.
21189         * fixinc/fixincl.sh: Regenerated.
21190
21191 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
21192
21193         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
21194         Fix documentation of -ansi flag to describe its C++ behavior.
21195         Remove bogus reference to GCC 2.9.
21196
21197 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
21198
21199         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
21200         note if it is non-NULL.
21201
21202 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21203
21204         * except.h (eh_nesting_info): Add new structure defintion.
21205         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
21206         (reachable_handlers, update_rethrow_references): Add function
21207         prototypes.
21208         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
21209         a rethrow symbol instead of an integer exception region number.
21210         * flow.c (Make_edges): Use new exception nesting routines to determine
21211         which handlers are reachable from a CALL or asynchronous insn.
21212         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
21213         goto receivers.
21214         (delete_eh_regions): Update rethrow labels, and don't delete
21215         regions which are the target of a rethrow.
21216         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
21217         avoid overloading the SYMBOL_REF_USED flag.
21218         (rethrow_symbol_map): Use new rethrow_ref field.
21219         (rethrow_used): Use new rethrow_ref field.
21220         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
21221         of an integer.  Fix formatting.
21222         (output_exception_table_entry): Use new rethrow_ref field.
21223         (can_throw): Check for EH_REGION_NOTE before deciding
21224         whether a CALL can throw or not.
21225         (scan_region): Call rethrow_used() instead of accessing data structure.
21226         (update_rethrow_references): New function to make sure only regions
21227         which are still targets of a rethrow are flagged as such.
21228         (process_nestinfo): New static function to initialize a handler
21229         list for a specific region.
21230         (init_eh_nesting_info): New function to allocate and initialize
21231         the list of all EH handlers reachable from all regions.
21232         (reachable_handlers): New function to retrieve the list of handlers
21233         reachable from a specific region and insn.
21234         (free_eh_nesting_info): New function to dispose of a list of
21235         reachable handlers.
21236
21237 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
21238
21239         * flow.c (split_edge): Set JUMP_LABEL field.
21240         (commit_one_edge_insertion): Set head correctly for insert_before.
21241         When inserting insns, update insn block numbers if allocated.
21242
21243 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21244
21245         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
21246         retry_incomplete_types): Add static prototype.
21247         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
21248         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
21249         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
21250         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
21251         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
21252         Constify a char*.
21253
21254         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
21255         dwarf2out_start_source_file, dwarf2out_line): Likewise.
21256
21257 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21258
21259         * output.h (assemble_name): Constify a char*.
21260
21261         * varasm.c (UNIQUE_SECTION, assemble_start_function,
21262         assemble_variable, assemble_name): Likewise.
21263
21264         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
21265
21266         * arm/pe.c (arm_pe_unique_section): Likewise.
21267
21268         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
21269
21270         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
21271
21272         * i386/interix.c (i386_pe_unique_section): Likewise.
21273
21274         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
21275
21276         * i386/winnt.c (i386_pe_unique_section): Likewise.
21277
21278         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
21279
21280         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
21281
21282         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
21283
21284         * pa/pa.c (output_call): Likewise.
21285
21286         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
21287
21288         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
21289
21290         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
21291         Likewise.
21292
21293         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
21294         Likewise.
21295
21296         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
21297
21298         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
21299         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
21300
21301         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
21302
21303 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21304
21305         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
21306
21307 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21308
21309         * tree.h (lang_identify): Constify a char*.
21310         (print_error_function): Add extern prototype.  Constify a char*.
21311
21312         * c-lang.c (lang_identify): Constify a char*.
21313
21314         * objc/objc-act.c (lang_identify): Constify a char*.
21315
21316 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21317
21318         * genpeep.c (main): Make generated file include "function.h".
21319         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
21320
21321 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21322
21323         * Makefile.in: Update dependencies.
21324         * alias.c: Include "function.h"
21325         * c-decl.c: Likewise.
21326         * caller-save.c: Likewise.
21327         * calls.c: Likewise.
21328         * combine.c: Likewise.
21329         * cse.c: Likewise.
21330         * explow.c: Likewise.
21331         * final.c: Likewise.
21332         * global.c: Likewise.
21333         * graph.c: Likewise.
21334         * local-alloc.c: Likewise.
21335         * loop.c: Likewise.
21336         * optabs.c: Likewise.
21337         * profile.c: Likewise.
21338         * recog.c: Likewise.
21339         * regclass.c: Likewise.
21340         * regmove.c: Likewise.
21341         * reload.c: Likewise.
21342         * reorg.c: Likewise.
21343         * resource.c: Likewise.
21344         * sched.c: Likewise.
21345         * stupid.c: Likewise.
21346         * config/1750a/1750a.c: Likewise.
21347         * config/a29k/a29k.c: Likewise.
21348         * config/arc/arc.c: Likewise.
21349         * config/arm/arm.c: Likewise.
21350         * config/arm/thumb.c: Likewise.
21351         * config/c4x/c4x.c: Likewise.
21352         * config/clipper/clipper.c: Likewise.
21353         * config/convex/convex.c: Likewise.
21354         * config/fx80/fx80.c: Likewise.
21355         * config/i860/i860.c: Likewise.
21356         * config/m68k/m68k.c: Likewise.
21357         * config/m88k/m88k.c: Likewise.
21358         * config/mips/mips.c: Likewise.
21359         * config/pdp11/pdp11.c: Likewise.
21360         * config/pyr/pyr.c: Likewise.
21361         * config/romp/romp.c: Likewise.
21362         * config/sh/sh.c: Likewise.
21363         * config/tahoe/tahoe.c: Likewise.
21364         * config/vax/vax.c: Likewise.
21365         * config/we32k/we32k.c: Likewise.
21366         * config/sparc/sparc.c: Include "function.h".
21367         (mem_min_alignment): Test current_function rather than
21368         regno_pointer_align.
21369         * config/pa/pa.c: Likewise.
21370         (compute_frame_size): Delete declaration of
21371         current_function_outgoing_args_size.
21372         * config/arc/arc.h (current_function_varargs): Delete declaration.
21373         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
21374         declaration.
21375         * config/i370/i370.h (current_function_outgoing_args_size): Delete
21376         declaration.
21377         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
21378         current_function_uses_pic_offset_table.
21379         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
21380         of current_function_returns_pointer.
21381         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21382         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21383         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21384         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21385         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21386         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21387         * config/m88k/m88k.c: Include "function.h"
21388         (call_used_regs, current_function_pretend_args_size,
21389         current_function_outgoing_args_size, frame_pointer_needed): Delete
21390         declarations.
21391         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
21392         declaration.
21393         * config/mips/mips.h (current_function_calls_alloca): Delete
21394         declaration.
21395         * config/mn10200/mn10200.h (current_function_needs_context,
21396         rtx_equal_function_value_matters): Delete declarations.
21397         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
21398         flag_pic): Delete declarations.
21399         * config/pa/pa.h (current_function_pretend_args_size,
21400         current_function_decl): Delete declarations.
21401         * config/pa/som.h (current_function_varargs): Delete declaration.
21402         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
21403         declaration.
21404         * config/pyr/pyr.h (current_function_pretend_args_size,
21405         current_function_args_size, current_function_calls_alloca): Delete
21406         declarations.
21407         * config/sh/sh.h (current_function_varargs): Delete declaration.
21408         * config/sparc/sparc.h (current_function_outgoing_args_size,
21409         current_function_calls_alloca, current_function_decl): Delete
21410         declarations.
21411         * config/spur/spur.h (current_function_pretend_args_size,
21412         current_function_calls_alloca): Delete declarations.
21413         * config/v850/v850.c (current_function_outgoing_args_size): Delete
21414         declaration.
21415         * config/vax/vms.h (current_function_name): Delete declaration.
21416         * gcse.c: Include "function.h".
21417         (current_function_name, current_function_calls_setjmp): Delete
21418         declarations.
21419         * haifa-sched.c: Include "function.h".
21420         (forced_labels): Delete declaration.
21421         * jump.c: Likewise.
21422         * reg-stack.c: Likewise.
21423         * reload1.c: Likewise.
21424         * genemit.c (main): Make generated file include function.h.
21425         * genoutput.c (output_prologue): Likewise.
21426
21427         * builtins.c (saveregs_value, apply_args_value): Delete variables.
21428         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
21429         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
21430         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
21431         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
21432         macros for some of them.
21433         (emit_filename, emit_lineno): Delete declarations.
21434         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
21435         regno_pointer_* variables through current_function.
21436         (gen_inline_header_rtx): Delete function.
21437         (save_emit_status): Delete function.
21438         (set_new_last_label_num): New function.
21439         (clear_emit_caches): New function.
21440         (restore_emit_status): Just clear last_labelnum and call
21441         clear_emit_caches.
21442         (get_last_insn_anywhere): Variable sequence_stack is now accessed
21443         through macro seq_stack.
21444         (add_insn_after): Likewise.
21445         (add_insn_before): Likewise.
21446         (remove_insn): Likewise.
21447         (pop_topmost_sequence): Likewise.
21448         (in_sequence_p): Likewise.
21449         (start_sequence_for_rtl_expr): Likewise.
21450         (start_sequence): Likewise, and likewise for
21451         sequence_rtl_expr/seq_rtl_expr.
21452         (push_topmost_sequence): Likewise.
21453         (end_sequence): Likewise.
21454         (init_virtual_regs): Now takes a "struct emit_status *" argument.
21455         All callers changed.  Store into that pointer instead of globals.
21456         (init_emit): Allocate emit elt of current_function.
21457         Changes for sequence_rtl_expr/sequence_stack renaming.
21458         Call clear_emit_caches instead of doing it in-line.
21459         Access regno_pointer_* variables through current_function.
21460         (init_emit_once) Don't clear sequence_stack.
21461
21462         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
21463         Delete variables.
21464         (arg_pointer_save_area): Delete declaration.
21465         (finish_expr_for_function): Renamed from init_queue; no longer static.
21466         (init_expr): Don't call init_queue.
21467         (save_expr_status, restore_expr_status): Delete functions.
21468         (expand_expr): Changes to reflect new layout of struct function.
21469         Don't access current_function_check_memory_usage when current_function
21470         is 0.
21471         * expr.h (forced_labels, save_expr_regs, saveregs_value,
21472         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
21473         current_function_outgoing_args_size, current_function_arg_offset_rtx,
21474         current_function_uses_const_pool, function_call_count,
21475         current_function_uses_pic_offset_table, nonlocal_labels,
21476         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
21477         current_function_check_memory_usage, nonlocal_goto_handler_slots,
21478         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
21479         declarations.
21480         (finish_expr_for_function): Declare.
21481         * flags.h (current_function_has_nonlocal_label,
21482         current_function_has_nonlocal_goto, current_function_is_thunk,
21483         current_function_has_computed_jump): Delete declarations.
21484         * flow.c (forced_labels): Delete declaration.
21485         * function.c (current_function_pops_args,
21486         current_function_returns_struct, current_function_returns_pcc_struct,
21487         current_function_needs_context, current_function_calls_setjmp,
21488         current_function_calls_longjmp, current_function_has_nonlocal_label,
21489         current_function_has_nonlocal_goto, current_function_is_thunk,
21490         current_function_has_computed_jump, current_function_calls_alloca,
21491         current_function_contains_functions, current_function_returns_pointer,
21492         current_function_epilogue_delay_list, current_function_args_size,
21493         current_function_pretend_args_size, current_function_arg_offset_rtx,
21494         current_function_outgoing_args_size, current_function_varargs,
21495         current_function_stdarg, current_function_args_info, cleanup_label,
21496         current_function_name, current_function_uses_const_pool,
21497         current_function_instrument_entry_exit, current_function_return_rtx,
21498         current_function_uses_pic_offset_table, nonlocal_labels,
21499         current_function_internal_arg_pointer, current_function_cannot_inline,
21500         current_function_check_memory_usage, function_call_count,
21501         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
21502         nonlocal_goto_stack_level, return_label, save_expr_regs,
21503         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
21504         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
21505         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
21506         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
21507         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
21508         Delete variables.
21509         (push_function_context_to): Don't save them.  Don't call
21510         save_storage_status, save_emit_status or save_expr_status.
21511         (pop_function_context_from): Don't restore them.  Don't call
21512         restore_storage_status or restore_expr_status.
21513         (get_func_frame_size): New function.
21514         (get_frame_size): Use it.
21515         (assign_outer_stack_local): Reflect some member name changes in struct
21516         function.
21517         (put_reg_into_stack): Likewise.
21518         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
21519         seq_rtl_expr.
21520         (fixup_var_refs): Likewise.
21521         (fix_lexical_addr): Likewise.
21522         (trampoline_address): Likewise.
21523         (prepare_function_start): Clear field inlinable of current_function.
21524         (init_function_for_compilation): New function.
21525         (expand_dummy_function_end): New function.
21526         (expand_function_end): Call finish_expr_for_function.
21527         * function.h (struct emit_status): New; fields moved here from struct
21528         function and from global variables.  Add accessor macros for some of
21529         the fields.
21530         (struct expr_status): Likewise.
21531         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
21532         (struct function): Add fields expr and emit, inlinable, inl_emit,
21533         original_arg_vector, original_decl_initial, inl_last_parm_insn,
21534         inl_max_label_num.  Add many comments.
21535         Add accessor macros for all elts of struct function that no longer
21536         have a global variable.
21537         (cleanup_label, return_label, frame_offset, tail_recursion_label,
21538         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
21539         stack_slot_list): Delete declarations.
21540         (get_func_frame_size): Declare.
21541         (save_expr_status, restore_expr_status, save_emit_status,
21542         save_storage_status, restore_storage_status): Delete declarations.
21543         (init_virtual_regs): Declare.
21544         * output.h (current_function_pops_args,
21545         current_function_returns_struct, current_function_returns_pcc_struct,
21546         current_function_needs_context, current_function_calls_setjmp,
21547         current_function_calls_longjmp, current_function_calls_alloca,
21548         current_function_has_nonlocal_label, current_function_varargs,
21549         current_function_has_computed_jump, current_function_returns_pointer,
21550         current_function_contains_functions, current_function_args_size,
21551         current_function_pretend_args_size, current_function_stdarg,
21552         current_function_outgoing_args_size, current_function_args_info,
21553         current_function_name, current_function_return_rtx,
21554         current_function_epilogue_delay_list,
21555         current_function_uses_const_pool, current_function_cannot_inline):
21556         Delete declarations.
21557         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
21558         regno_reg_rtx): Delete declaration.
21559         (REGNO_POINTER_FLAG): Delete macro.
21560         * stmt.c (expand_goto): Changes to reflect that some fields in struct
21561         function were renamed.
21562         * stor-layout.c (save_storage_status, restore_storage_status): Delete
21563         functions.
21564         * toplev.c: Include "function.h".
21565         (current_function_decl): Delete declaration.
21566         (compile_file): Call init_dummy_function_start and
21567         expand_dummy_function_end around some initializations that need to
21568         emit rtl.
21569         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
21570         Call init_function_for_compilation.
21571         * unroll.c: Include "function.h"
21572         (unroll_loop): Access regno_pointer_* variables through
21573         current_function.
21574
21575         * tree.h (struct tree_decl): Add elt f to saved_insns member.
21576         (DECL_SAVED_INSNS): use it.
21577         (expand_dummy_function_end): Declare.
21578         (init_function_for_compilation): Declare.
21579         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
21580         that it's no longer an INLINE_HEADER.
21581         (expand_call): Likewise.
21582         * integrate.c (finish_inline): Delete function.
21583         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
21584         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
21585         args.  Don't generate an INLINE_HEADER rtx, just return the arg
21586         vector.  All callers changed.
21587         (save_for_inline_copying):  Create a duplicate struct emit_status to
21588         hold the emit state for compiling the current function.  Use this and
21589         the other new fields in struct function that are for integration
21590         instead of an INLINE_HEADER.
21591         Use memcpy instead of bcopy.
21592         Store the current struct function in DECL_SAVED_INSNS of fndecl.
21593         (save_for_inline_nocopy): Similar changes, except no new emit_status
21594         is needed here.
21595         (expand_inline_function): Get information from function structure,
21596         not from an inline header rtx.
21597         (output_inline_function): Lose code to extract the necessary
21598         information from an inline header; simply put back the function
21599         structure into current_function.  Clear its inlinable elt.
21600         * rtl.def (INLINE_HEADER): Delete.
21601         * rtl.h: Delete all accessors for an INLINE_HEADER.
21602         (gen_inline_header_rtx): Delete declaration.
21603         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
21604         Delete declarations.
21605         (REGNO_POINTER_ALIGN): Delete.
21606         (clear_emit_caches): Declare.
21607         (set_new_last_label_num): Declare.
21608
21609 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
21610
21611         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
21612
21613         * except.c (expand_eh_region_start_for_decl): Always start a new block.
21614         * stmt.c (is_eh_region): Make sure current_function is present, too.
21615
21616 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
21617
21618         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
21619         for 64bit PA targets.
21620
21621         * pa.h (SELECT_SECTION): Define.
21622         * som.h (SELECT_SECTION): Delete.
21623
21624 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21625
21626         * alias.c (init_alias_analysis): Wrap call to
21627         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
21628
21629 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
21630
21631         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
21632         <sys/asm.h> contains an asm comment with an apostrophe
21633         * fixinc/inclhack.sh:  regen
21634         * fixinc/fixincl.x:  regen
21635
21636 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
21637
21638         * function.c (init_function_start): Clear prologue & epilogue.
21639         (prologue_epilogue_contains): New function.
21640         * alias.c (init_alias_analysis): Use it.
21641         * rtl.h (prologue_epilogue_contains): Declare it.
21642
21643 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
21644
21645         * jump.c (onlyjump_p): New function.
21646         * rtl.h: Declare it.
21647         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
21648         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
21649
21650 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
21651
21652         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
21653         to invert loops.  Simplify block scanning.
21654
21655 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
21656
21657         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
21658         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
21659
21660 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
21661
21662         * config/sparc/liteelf.h: New file to support sparclite-elf target
21663         * config/sparc/t-sp86x: New file to support sparc86x targets
21664         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
21665         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
21666         * configure.in: Support above target triplets
21667         * configure: Regenerated
21668
21669 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
21670
21671         * fixinc/server.c (server_setup): Do not prefix function used as
21672         parameter with `&'.
21673
21674 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
21675
21676         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
21677         Remove fp reg alternatives.
21678
21679 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
21680
21681         * Makefiin (TAROUTOPTS): Kill.
21682         (install-headers-tar): Use "xpf" for tar headerfile extraction
21683         * i370/x-oe (TAROUTOPTS): Delete.
21684         * m68k/x-apollo68 (TAROUTOPTS): Delete.
21685         * m68k/x-hp320 (TAROUTOPTS): Delete.
21686         * m68k/x-hp320g (TAROUTOPTS): Delete.
21687         * gcc.texi: Update bug reporting text.
21688
21689 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21690
21691         * reg-stack.c (change_stack) Fixed problem with negative array index.
21692
21693 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
21694
21695         * extend.texi, install.texi: Fix spelling mistakes.
21696
21697         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
21698         (s-attrtab); No longer try to use pre-made insn-attrtab file.
21699         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
21700         PREMADE_ATTRTAB_MD.
21701         * mips/t-ecoff: Likewise.
21702         * mips/t-elf: Likewise.
21703         * mips/t-mips: Likewise.
21704         * mips/t-osfrose: Likewise.
21705         * mips/t-r3900: Likewise.
21706         * mips/t-svr3: Likewise.
21707         * mips/t-svr4: Likewise.
21708         * mips/t-ultrix: Likewise.
21709
21710         * gcc.texi: Document recommend means to provide software floating
21711         point libraries in libgcc.a
21712
21713 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
21714
21715         * c-lex.c (yylex): We can have a number with no digits.
21716
21717 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
21718
21719         * jump.c (delete_prior_computation): New function, broken
21720         out of delete_computation.  Check for side effects with
21721         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
21722         multi-word hard registers.
21723         (delete_computation): Use it.  Check for side effects with
21724         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
21725         missing REG_DEAD note for a register which is both set and
21726         used by an insn.
21727
21728 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
21729
21730         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
21731         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
21732         (ASM_FILE_START): Import _mcount with the right type.
21733         (ASM_DECLARE_FUNCTION_NAME): Define.
21734         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
21735         * pa.c (output_function_prologue): Always emit the function's label
21736         here.
21737         * pa.h (TEXT_SPACE_P): Define.
21738         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21739         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
21740         * som.h (TEXT_SPACE_P): Delete.
21741         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
21742         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
21743
21744 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
21745
21746         * expr.c (emit_group_load): Allow src to be a CONCAT.
21747
21748 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21749
21750         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
21751         (___mulsi3): Use '!' comment character.
21752
21753 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21754
21755         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
21756
21757 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
21758
21759         * gcc.c: Update URLs and mail addresses.
21760         * gcc.texi: Likewise.
21761
21762 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
21763
21764         * rs6000.c (current_file_function_operand): Return zero for
21765         weak functions.
21766         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
21767         weak symbols.
21768         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
21769         for weak symbols.
21770
21771 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
21772
21773         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
21774         allocate space in the stack frame for the PIC register.
21775
21776 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
21777
21778         * m68k.md (xordi3, anddi3): These patterns are not available on
21779         the coldfire.
21780
21781 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
21782
21783         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
21784         (PUT_REAL): Likewise.
21785
21786 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21787
21788         * final.c (shorten_branches): Don't add an alignment for loops
21789         that have no label inside.
21790
21791 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21792
21793         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
21794         prototypes in macro HAVE_cmpstrsi.
21795
21796         * cpplib.c (cpp_get_token): Remove unused label `op3'.
21797
21798         * emit-rtl.c (operand_subword): Remove unused variable
21799         `bits_per_word'.
21800
21801         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
21802
21803         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
21804
21805 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
21806
21807         * cpphash.c (macroexpand): Delete leading whitespace when arg
21808         is concatenated before.
21809         (unsafe_chars): Correct test for whether + and - can extend a
21810         token.
21811
21812         * cppinit.c (cpp_start_read): Do dependencies for
21813         -include/-imacros files also.
21814
21815         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
21816         tokenizing non-directive lines.
21817         (cpp_expand_to_buffer): Temporarily disable no-output mode.
21818         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
21819         the input file.
21820
21821 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21822
21823         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
21824
21825         * c-lex.c: Sync with C++ frontend.
21826         (linemode): New variable.
21827         (parse_float): imag, conversion_errno, and type are output only.
21828         (yylex): Adjust.  Move initial '.' case into main switch.
21829         Use linemode.
21830         (handle_generic_pragma): Just deal with tokens.
21831         (readescape): Use ISXDIGIT and ISGRAPH.
21832         * c-parse.in: Add END_OF_LINE token.
21833
21834         * c-lex.c (lang_init): Generalize.
21835         (nextchar): Remove.  Replace uses with UNGETC.
21836         (skip_white_space): Handle linemode here.  Optimize for cpplib.
21837         (skip_white_space_on_line): Remove.
21838         (extend_token_buffer_to): New fn.
21839         (extend_token_buffer): Use it.
21840         (read_line_number, check_newline): Just deal with tokens.
21841         (token_getch, token_put_back): New fns.
21842         (yylex): Use them.  More cpplib optimizations.  Simplify.
21843
21844 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
21845                           Jason Merrill  <jason@yorick.cygnus.com>
21846
21847         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
21848         (consume_string): Make this smart about USE_CPPLIB.
21849         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
21850         (yylex): Rewrite to be intelligent about USE_CPPLIB.
21851         Also, clean up cases where we redundantly set token_buffer[0].
21852         (read_line_number): New fn.
21853         (ignore_escape_flag): New variable.
21854
21855 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
21856
21857         * a29k/t-a29kbare: Fix some comments.
21858         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
21859         (FPBIT, DPBIT): Define.
21860         * a29k/t-vx29k: Likewise.
21861         * arc/t-arc: Likewise.
21862         * arm/t-arm-elf: Likewise.
21863         * arm/t-bare: Likewise.
21864         * arm/t-pe: Likewise.
21865         * arm/t-pe-thumb: Likewise.
21866         * arm/t-semi: Likewise.
21867         * arm/t-thumb: Likewise.
21868         * arm/t-thumb-elf: Likewise.
21869         * arm/t-thumb-linux: Likewise.
21870         * h8300/t-h8300: Likewise.
21871         * i960/t-i960: Likewise.
21872         * i960/t-vxworks960: Likewise.
21873         * m32r/t-m32r: Likewise.
21874         * mips/t-ecoff: Likewise.
21875         * mips/t-elf: Likewise.
21876         * mips/t-r3900: Likewise.
21877         * pa/t-pro: Likewise.
21878         * rs6000/t-aix43: Likewise.
21879         * rs6000/t-beos: Likewise.
21880         * rs6000/t-newas: Likewise.
21881         * rs6000/t-ppccomm: Likewise.
21882         * rs6000/t-rs6000: Likewise.
21883         * rs6000/t-winnt: Likewise.
21884         * rs6000/t-xnewas: Likewise.
21885         * rs6000/t-xrs6000: Likewise.
21886         * sh/t-sh: Likewise.
21887         * sparc/t-elf: Likewise.
21888         * sparc/t-sparcbare: Likewise.
21889         * sparc/t-sparclite: Likewise.
21890         * sparc/t-splet: Likewise.
21891         * v850/t-v850: Likewise.
21892         * mn10200/t-mn10200: Fix comments.
21893         * mn10300/t-mn10300: Likewise.
21894
21895         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
21896         dummy operand.  Allocate a new pseudo for the dummy operand.
21897         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
21898
21899         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
21900
21901 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
21902
21903         * configure: Rebuilt.
21904         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
21905
21906 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
21907
21908         * recog.c (preproces_constraints): Zero recog_op_alt before
21909         processing the constraints.
21910
21911         * arm.c (typedef minipool_node): Renamed from pool_node.
21912         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
21913         (add_minipool_constant): New function.
21914         (dump_minipool): New function.
21915         (find_barrier): Remove special case for getting the insn size of
21916         an insn that references the constant pool.
21917         (minipool_fixup): New structure.
21918         (push_minipool_barrier): New function.
21919         (push_minipool_fix): New function.
21920         (note_invalid_constants): New function.
21921         (add_pool_constant, dump_table, fixit, broken_move): Delete.
21922         (arm_reorg): Rewrite code to fix up the constant pool into a
21923         series of mini-pools embedded in the insn stream.
21924         (arm_output_epilogue): New function, made mainly from the body
21925         of output_func_epilogue.
21926         (output_func_epilogue): Move insn generation part of epilogue code
21927         to arm_output_epilogue.
21928         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
21929         * arm.md (pool_range): New attribute.
21930         (zero_extendqidi2): Add attribute pool_range.
21931         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
21932         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
21933         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
21934         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
21935         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
21936         (epilogue): New expand.
21937         (epilogue_insn): New insn.  Call arm_output_epilogue.
21938
21939         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
21940         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
21941
21942 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
21943
21944         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21945
21946 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
21947
21948         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
21949
21950 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
21951
21952         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
21953
21954 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
21955
21956         * global.c: Fix comment.
21957
21958 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
21959
21960         * gcc.c (access_check): New static function.
21961         (find_a_file): Use it when searching a directory list.
21962         * collect2.c (find_a_file): Don't accept directories found when
21963         searching a directory list.
21964
21965 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
21966
21967         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
21968         function parameters with `&'.
21969         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
21970
21971 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
21972
21973         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
21974         or tidy_fallthru_edge if the last insn in the block is not
21975         an unconditional jump or a simple conditional jump.
21976
21977 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
21978
21979         * Makefile.in (c-decl.o): Depends on defaults.h.
21980
21981 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
21982
21983         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
21984         PA1.1 and above.
21985         (CLASS_MAX_NREGS): Likewise.
21986
21987 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
21988
21989         * cse.c (cse_insn): Fix dumb thinko in last change.
21990
21991 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
21992
21993         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
21994         "const char *".
21995
21996 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
21997
21998         * dwarf2out.c (add_location_or_const_value_attribute): Correct
21999         test for sizes of passed and declared parameter types.
22000
22001 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22002
22003         * fixincludes: Fix the return type of bsearch, char* -> void*.
22004
22005         * fixinc/inclhack.def: Likewise.
22006
22007 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
22008
22009         * invoke.texi (-fdump-translation-unit): New option.
22010
22011 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
22012
22013         * expr.h (PROMOTE_PROTOTYPES): Move ...
22014         * defaults.h: ... to here.
22015         * c-decl.c: Include defaults.h instead of expr.h.
22016         * c-typeck.c: Include defaults.h.
22017
22018 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
22019
22020         * toplev.h (errorcount): Declare.
22021         (warningcount): Likewise.
22022         (sorrycount): Likewise.
22023         * c-lex.c (errorcount): Don't declare.
22024         * dwarf2out.c (errorcount): Don't declare.
22025
22026 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
22027
22028         * config/libgloss.h: Add a note discouraging use with ELF.
22029         * configure.in: Don't use libgloss.h for ELF targets.
22030         Always use_collect2 on a.out targets.
22031
22032 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
22033
22034         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
22035         (force_to_mode, case ASHIFTRT): Add shiftrt label.
22036
22037 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22038
22039         * loop.c (strength_reduce): When doing biv->giv conversion, update
22040         reg note of NEXT->insn.
22041
22042 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22043
22044         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
22045
22046 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22047
22048         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
22049         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
22050         Ensure expr.h is included.
22051         * c-typecheck.c (convert_arguments): Ditto.
22052
22053         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
22054
22055         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
22056         * config/convex/convex.h: Ditto.
22057         * config/dsp16xx/dsp16xx.h: Ditto.
22058         * config/fx80/fx80.h: Ditto.
22059         * config/gmicro/gmicro.h: Ditto.
22060         * config/i370/i370.h: Ditto.
22061         * config/i386/i386.h: Ditto.
22062         * config/m32r/m32r.h: Ditto.
22063         * config/m68k/m68k.h: Ditto.
22064         * config/m88k/m88k.h: Ditto.
22065         * config/mips/mips.h: Ditto.
22066         * config/pa/pa.h: Ditto.
22067         * config/pyr/pyr.h: Ditto.
22068         * config/tahoe/tahoe.h: Ditto.
22069         * config/we32k/we32k.h: Ditto.
22070
22071         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
22072         based on arch size.
22073
22074         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
22075
22076         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
22077         from comment.
22078
22079         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
22080
22081 1999-08-02  Richard Henderson  <rth@cygnus.com>
22082
22083         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
22084         for the register spill block.
22085         (m32r_va_arg): New.
22086         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
22087         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
22088
22089         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
22090         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
22091         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
22092
22093 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22094
22095         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
22096         MAX_WCHAR_TYPE defined in sparc.h.
22097         * config/sparc/linuxaout.h: Likewise.
22098         * config/sparc/linux64.h: Likewise.
22099         Also default to -mvis if CPU is UltraSPARC.
22100
22101 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22102
22103         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
22104         (RTX_OK_FOR_OLO10): Likewise.
22105         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
22106         %lo(), allow it in addresses...
22107         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
22108         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
22109         does not make sense.
22110         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
22111         (sparc_output_scratch_registers): New function.
22112         (output_function_prologue, sparc_flat_output_function_prologue): Use
22113         it.
22114         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
22115         defined.
22116         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
22117         * configure.in: Add check for .register pseudo-op support in as and
22118         check for offsetable %lo().
22119         * acconfig.h: Add templates for the above checks.
22120         * configure: Regenerate.
22121
22122 1999-08-02  Richard Henderson  <rth@cygnus.com>
22123
22124         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
22125         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
22126         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
22127
22128 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
22129
22130         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22131         reg_biv_class.
22132
22133 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
22134
22135         * config/float-sparc.h: New file.
22136         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
22137         sparc-*-linux-gnu and sparc64-*-linux*.
22138
22139 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22140
22141         * rs6000.c (rs6000_va_list): Type is an array.
22142         (rs6000_va_start): Don't doubly adjust for varargs.
22143         (rs6000_va_arg): Evaluate long long GPR adjustment.
22144
22145 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
22146
22147         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
22148         -maix64 and -maix32.
22149         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
22150         LINK_SPEC): Change appropriately.
22151         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
22152         (u_short_cint_operand): Likewise.
22153         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
22154         for 64-bit hosts.
22155         * rs6000/t-aix43 (MULTILIB): Change to -m64.
22156
22157         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
22158
22159 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
22160
22161         * rs6000/rs6000.c (num_insns_constant_wide): Correct
22162         for type promotion.
22163         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
22164         (non_add_cint_operand): Likewise.
22165         (logical_operand): Likewise.
22166         (non_logical_cint_operand): Likewise.
22167         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
22168         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
22169         (rs6000_select_rtx_section): Suppress warning.
22170         (small_data_operand): Suppress warning.
22171         (rs6000_got_register): Suppress warning.
22172         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
22173         type, so `J' is generally the wrong constraint for a SImode value;
22174         use `L' instead.
22175         (andsi3_internal2): Likewise.
22176         (andsi3_internal3): Likewise.
22177         (iorsi3_internal1): Likewise.
22178         (xorsi3_internal1): Likewise.
22179         (movsi): Likewise.
22180         (movsf_softfloat): Likewise.
22181         (scc insns): Likewise.
22182         (movsi+2): Preserve sign bits of SImode constant.
22183         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
22184         (movdf+1): Sign-extend properly.
22185         (movdi_32+1): Sign-extend properly.
22186         (scc insns): Sign-extend properly.
22187
22188         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
22189         K, L, and T.
22190
22191 1999-08-02  Richard Henderson  <rth@cygnus.com>
22192
22193         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
22194         -mcpu parsing code.
22195         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
22196         * alpha.md (all fp insns): Likewise.
22197
22198 1999-08-02  Nick Clifton  <nickc@cygnus.com>
22199
22200         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
22201         already defined.
22202
22203 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
22204
22205         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
22206         pic_load_label generator directly.
22207         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
22208         No longer a named pattern.
22209
22210 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
22211
22212         * explow.c (force_reg): Call force_operand if X does not
22213         satisfy general_operand.
22214
22215 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
22216
22217         * fix-header.c (main): When testing for CONTINUED, use string
22218         equality, not pointer equality.
22219
22220 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
22221
22222         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
22223
22224 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
22225
22226         * cse.c (cse_insn): Fix loop which deletes insns after a jump
22227         that has become an unconditional jump.
22228
22229         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
22230         (output_function_epilogue): Similarly.
22231
22232 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22233
22234         * tree.h (init_dummy_function_start): Declare.
22235
22236 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22237
22238         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
22239         last_expr_type, last_expr_value, block_start_count, block_stack,
22240         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
22241         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
22242         dynamically in stmt elt of struct function for each function.
22243         (struct nesting): Rename function_call_count elt to n_function_calls,
22244         target_temp_slot_level to block_target_temp_slot_level.  All users
22245         changed.
22246         (struct stmt_status): New structure definition.
22247         Add many accessor macros for stmt_status elements which previously
22248         were global variables.
22249         (init_stmt_for_function): Allocate stmt elt for current_function.
22250         Reflect that block_start_count was renamed to
22251         current_block_start_count.
22252         (save_stmt_status, restore_stmt_status): Delete functions.
22253         (preserve_subexpressions_p): Don't access loop_stack when outside
22254         a function.
22255         (expand_start_bindings): Reflect that block_start_count was renamed to
22256         current_block_start_count.
22257         (expand_fixup): Likewise.
22258         (expand_decl): Don't access block_stack when outside a function.
22259         (expand_decl_cleanup): Likewise.
22260         (expand_dcc_cleanup): Likewise.
22261         (expand_dhc_cleanup): Likewise.
22262         (expand_anon_union_decl): Likewise.
22263         (set_file_and_line_for_stmt): New function.
22264         (in_control_zone_p): New function.
22265
22266         * function.h (struct function): Add new elt stmt.
22267         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
22268         case_stack, nesting_stack, nesting_depth, block_start_count,
22269         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
22270         emit_lineno, goto_fixup_chain.
22271         (save_eh_status, restore_eh_status, save_stmt_status,
22272         restore_stmt_status): Delete declarations.
22273         * function.c (push_function_context_to): Don't call save_stmt_status.
22274         (pop_function_context_to): Don't call restore_stmt_status.
22275         * tree.h (in_control_zone_p): Declare.
22276         * rtl.h (set_file_and_line_for_stmt): Declare.
22277
22278         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
22279         call set_file_and_line_for_stmt.
22280
22281 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
22282
22283         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
22284         Also update copyright.
22285
22286 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22287
22288         * c-pragma.c: Don't include "except.h".
22289         * emit-rtl.c: Likewise.
22290         * stor-layout.c: Likewise.
22291         * tree.c: Likewise.
22292         * varasm.c: Likewise.
22293
22294         * flow.c: Include "function.h".
22295         * tree.h (init_dummy_function_start): Declare new function.
22296
22297         * except.h (struct eh_status): New structure.
22298         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
22299         been included.
22300         (eh_return_stub_label, ehstack, catchstack, ehqueue,
22301         catch_clauses, false_label_stack, caught_return_label_stack,
22302         protect_list, current_function_ehc): Add accessor macros for the
22303         corresponding fields in current_function->eh; delete declarations
22304         for all items that used to be declared here.
22305         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
22306         catch_clauses, false_label_stack, caught_return_label_stack,
22307         protect_list, current_function_ehc): Delete variables.
22308         (init_eh_for_function): Allocate current_function->eh.
22309         (save_eh_status, restore_eh_status): Delete functions.
22310
22311         * function.h (struct function): Add fields next_global and eh.
22312         Delete all exception handling related fields.
22313         * function.c (current_function): New variable.
22314         (all_functions): New variable.
22315         (push_function_context_to): Don't allocate a struct function,
22316         use current_function instead.  Call init_dummy_function_start when
22317         outside a function.  Clear current_function before returning.
22318         (pop_function_context_from): Restore current_function.
22319         Don't free the restored struct function.
22320         (prepare_function_start): New function.
22321         (init_dummy_function_start): New function.
22322         (init_function_start): Break out some code into prepare_function_start
22323         and call it here.
22324
22325         * stmt.c (save_stmt_status): Don't call save_eh_status.
22326         (restore_stmt_status): Don't call restore_eh_status.
22327
22328         * Makefile.in: Update dependencies.
22329
22330 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
22331
22332         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
22333         of depending on a magic constant value.  Update comments.
22334         (hppa_expand_prologue): Similarly.
22335
22336         * pa.md (reload_indi, reload_outdi): Allow any register for the
22337         original reload register.
22338
22339 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
22340
22341         * cccp.c (print_help): Change marcos to macros.
22342
22343 1999-07-30  Richard Henderson  <rth@cygnus.com>
22344
22345         * c-typeck.c (initializer_constant_valid_p): Move ...
22346         * c-common.c (initializer_constant_valid_p): ... here.  Use
22347         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
22348         of label addresses.
22349         * c-common.h (initializer_constant_valid_p): Declare.
22350         * c-tree.h (initializer_constant_valid_p): Remove.
22351
22352 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
22353
22354         * config/i386/sol2-c1.asm: Align the stack.
22355         * config/i386/sol2-gc1.asm: Likewise.
22356
22357 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
22358
22359         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
22360         -Asparclite for sparc86x.
22361         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
22362         sparc86x.
22363         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
22364
22365 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
22366
22367         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
22368         the user if using the non-default arch size in BI_ARCH configuration.
22369         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
22370
22371         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
22372         Fix patterns so that they actually match.
22373         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
22374         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
22375         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
22376         TARGET_HARD_MUL32.
22377         (mulsidi3): Reflect this in the expand.
22378         (smulsi3_highpart): Only on TARGET_ARCH32.
22379         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
22380         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
22381         (umulsidi3): Reflect this in the expand.
22382         (umulsi3_highpart): Only on TARGET_ARCH32.
22383         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
22384         don't require g0 to be zero.
22385         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
22386         ({,u}divsi3): New expands.
22387         ({,u}divsi3_sp64): New patterns.
22388         (after lshrdi3_v8plus): Four new patterns to help combiner
22389         optimizing nested mixed mode shifts.
22390
22391         * config/sparc/sparc.c (sparc_override_options): Use deprecated
22392         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
22393         speed things up. Don't use them by default on plain v9 in 64bit
22394         mode, according to what SPAMv9 sais.
22395
22396         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
22397         top 32 bits of %[og][0-7] in signal handlers.
22398         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
22399
22400 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
22401
22402         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
22403         (ashlsi3): Corresponding changes.
22404
22405         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
22406
22407 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
22408
22409         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
22410
22411 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22412
22413         * arm.h (Hint): Delete macro.
22414         Substitute HOST_WIDE_INT for Hint in some prototypes.
22415         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
22416
22417 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
22418
22419         * builtins.c (expand_builtin_setjmp): Use force_operand to
22420         make sure that the buffer address is in a suitable form to be
22421         passed to force_reg.
22422
22423 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
22424
22425         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
22426         them here.
22427
22428 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
22429
22430         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
22431         proper mode in the condition string.
22432         (icacheflush, dcacheflush): Remove modes from match_operands.
22433
22434         * pa.c (emit_move_sequence): Always convert scratch_reg to the
22435         proper mode before using it.
22436
22437         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
22438         pair.
22439
22440         * pa.c (store_reg): Do not call add_high_const generator directly.
22441         (load_reg, set_reg_plus_d): Likewise.
22442         * pa.md (add_high_const): No longer a named pattern.
22443
22444         * pa.c (legitimize_address): Consistently use Pmode rather than
22445         SImode.  Do not call gen_pic2_highpart directly anymore.
22446         * pa.md (pic2_highpart): No longer a named pattern.
22447         (pic2_lo_sum): Similarly.  Reformat to make more readable.
22448
22449         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
22450         needed.
22451
22452         * README: Update.
22453
22454 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
22455
22456         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
22457
22458 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
22459
22460         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
22461         and tag the spill mems.
22462         (hppa_va_start): New.
22463         (hppa_va_arg): New.
22464         * pa.h (EXPAND_BUILTIN_VA_START): New.
22465         (EXPAND_BUILTIN_VA_ARG): New.
22466
22467 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
22468
22469         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
22470         and tag the spill mems.
22471         (mn10300_va_start): New.
22472         (mn10300_va_arg): New.
22473         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
22474         (EXPAND_BUILTIN_VA_ARG): New.
22475
22476 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
22477
22478         * mn10200.c (mn10200_va_arg): New.
22479         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
22480
22481 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
22482
22483         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
22484         rather than play with TREE_INT_CST_LOW.
22485
22486 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
22487
22488         * config/arm/telf.h: Include dbxelf.h.
22489         (CPP_PREDEFINES): Only define if not already defined.
22490         (ASM_IDENTIFY_GCC): Likewise.
22491         (SUBTARGET_EXTRA_SECTIONS): Likewise.
22492         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
22493         * config/arm/thumb.h (LINK_SPEC): Only define if not already
22494         defined.
22495         (DBX_DEBUGGING_INFO): Don't define.
22496         * config/arm/linux-telf.h: New file.
22497         * config/arm/linux-tgas.h: New file.
22498         * config/arm/t-thumb-linux: New file.
22499         * config/arm/uclinux-elf.h: New file.
22500         * config/arm/uclinux-telf.h: New file.
22501         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
22502         thumb-*-uclinux): New targets.
22503         * configure: Regenerate.
22504
22505 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
22506
22507         * pa.md (post_store, pre_load): New expanders.
22508         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
22509         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
22510         need to directly generate RTL for them.
22511         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
22512         changes.
22513
22514 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
22515
22516         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
22517         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
22518         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
22519         (secndary_reload_class): Make TARGET_ELF conditional compile.
22520         (print_operand_address): Similar.
22521         (output_toc): Print all values as hex.
22522         (get_issue_rate): Rearrange and add RS64A and PPC630.
22523         * rs6000.h (processor_type): Add RS64A and PPC630.
22524         (PROCESSOR_POWERPC64): New.
22525         (PROMOTE_MODE): Use word_mode.
22526         (RTX_COSTS): Add RS64A and PPC630.
22527         * rs6000.md (scheduling information): Add lmul and ldiv
22528         representing 64-bit integer multiply and divide.  Add rs64a and
22529         PPC630 information.
22530         (ashldi3): Add support for "rldic" instruction.
22531         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
22532
22533 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
22534
22535         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
22536         instead of V8 for sparclite86x in cpu_table.
22537
22538 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22539
22540         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
22541         output_file_directive.
22542
22543 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
22544
22545         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
22546         tree for op1, not the rtl.
22547
22548 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
22549
22550         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
22551         to m88k_va_start, leaving only the register spill.
22552         (m88k_build_va_list): New.
22553         (m88k_va_start): New.
22554         (m88k_va_arg): New.
22555         * m88k.h (BUILD_VA_LIST_TYPE): New.
22556         (EXPAND_BUILTIN_VA_START): New.
22557         (EXPAND_BUILTIN_VA_ARG): New.
22558
22559 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
22560
22561         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
22562         Rename from expand_builtin_saveregs.
22563         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
22564
22565 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
22566
22567         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
22568         for the register spill block.
22569         (i960_build_va_list): New.
22570         (i960_va_start): New.
22571         (i960_va_arg): New.
22572         * i960.h (BUILD_VA_LIST_TYPE): New.
22573         (EXPAND_BUILTIN_VA_START): New.
22574         (EXPAND_BUILTIN_VA_ARG): New.
22575         * i960.md (store_multiple): Use change_address on individul mems.
22576
22577 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
22578
22579         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
22580         an ARRAY_TYPE.
22581         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
22582         (expand_builtin_va_end): Evaluate arg for side effects.
22583         * c-common.c (c_common_nodes_and_builtins): Construct a
22584         va_list_arg_type_node to handle array decomposition to pointer.
22585
22586 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
22587
22588         * except.c (st_dynamic_cleanup): Use force_operand on the
22589         buffer's address.
22590
22591 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
22592
22593         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
22594         * c4x.c (c4x_va_arg): New.
22595
22596 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
22597
22598         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
22599         has manual_pop set.
22600
22601 1999-07-26  Nathan Sidwell  <nathan@acm.org>
22602
22603         * eh-common.h (__eh_matcher): Prototype correctly.
22604
22605 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
22606
22607         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
22608         (TARGET_SINGLE_PIC_BASE): Likewise.
22609         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
22610         definitions.
22611         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
22612         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
22613         (TARGET_OPTIONS): Add -mpic-register=N.
22614         (OUTPUT_INT_ADDR_CONST): New macro.
22615         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
22616         LEGITIMATE_PIC_OPERAND_P): Likewise.
22617         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
22618         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
22619         output_addr_const directly.
22620         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
22621         ARM port.
22622         (thumb_pic_register, thumb_pic_register_string): Declare.
22623
22624         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
22625         from arm.c.
22626         (label_mentioned_p): New function: Imported from arm.c.
22627         (legitimize_pic_address): New function: Imported from arm.c.
22628         (is_pic):New function: Imported from arm.c.
22629         (thumb_finalize_pic):New function: Imported from arm.c.
22630         (add_constant): Cope with PIC constants.
22631         (fixit): Cope with PIC constants.
22632         (output_return): Do not treat the PIC register as live if
22633         TARGET_SINGLE_PIC_BASE is true.
22634         (thumb_function_prologue): Do not treat the PIC register as live if
22635         TARGET_SINGLE_PIC_BASE is true.
22636         (thumb_expand_prologue): Do not treat the PIC register as live if
22637         TARGET_SINGLE_PIC_BASE is true.
22638         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
22639         TARGET_SINGLE_PIC_BASE is true.
22640         (thumb_print_operand): Accept '|'.
22641         (thumb_override_options): Process PIC options.
22642
22643         * config/arm/thumb.md (movsi): Support PIC.
22644         (call_insn): Change "i" constraint to "X".
22645         (call_value_insn): Likewise.
22646         (consttable_4, consttable_8, consttable_end): Set and clear
22647         "making_const_table" as appropriate.
22648         (pic_load_addr, pic_add_dot_plus_four): New insns.
22649
22650         * invoke.texi (Thumb Options): Fix spelling.  Document new
22651         options -msingle-pic-base and -mpic-register=.
22652
22653 1999-07-26  Andrew Haley  <aph@cygnus.com>
22654
22655         * config/m32r/initfini.c (__init): Use a full word immediate for
22656         __fini: this allows it to be placed in any memory region.
22657
22658         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
22659         -mmodel=medium.  This is OK for all memory models.
22660
22661 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
22662
22663         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
22664         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
22665
22666 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
22667
22668         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
22669         defined.
22670
22671         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
22672
22673 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
22674
22675         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
22676         (BUILD_VA_LIST_TYPE): New.
22677         (EXPAND_BUILTIN_VA_START): New.
22678         (EXPAND_BUILTIN_VA_ARG): New.
22679         * i860.c (output_delayed_branch): Disable.
22680         (output_delay_insn): Likewise.
22681         (i860_saveregs): New.
22682         (i860_build_va_list): New.
22683         (i860_va_start): New.
22684         (i860_va_arg): New.
22685         * i860.md: Disable all peepholes using output_delayed_branch.
22686         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
22687
22688 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
22689
22690         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
22691         (BUILD_VA_LIST_TYPE): New.
22692         (EXPAND_BUILTIN_VA_START): New.
22693         (EXPAND_BUILTIN_VA_ARG): New.
22694         * clipper.c (clipper_builtin_saveregs): Only dump registers.
22695         Return the address of the save area.
22696         (clipper_build_va_list): New.
22697         (clipper_va_start): New.
22698         (clipper_va_arg): New.
22699
22700 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
22701
22702         * arc.h (EXPAND_BUILTIN_VA_START): New.
22703         (EXPAND_BUILTIN_VA_ARG): New.
22704         * arc.c (arc_setup_incoming_varargs): Set alias set of
22705         varargs save area.
22706         (arc_va_start): New.
22707         (arc_va_arg): New.
22708
22709 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
22710
22711         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
22712         (BUILD_VA_LIST_TYPE): New.
22713         (EXPAND_BUILTIN_VA_START): New.
22714         (EXPAND_BUILTIN_VA_ARG): New.
22715         * alpha.c (alpha_builtin_saveregs): Delete.
22716         (alpha_build_va_list): New.
22717         (alpha_va_start): New.
22718         (alpha_va_arg): New.
22719
22720 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
22721
22722         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
22723         column zero.
22724         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
22725         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
22726
22727         * gcc.texi: More changes related to list conversion.
22728         * invoke.texi: Likewise.
22729
22730 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
22731
22732         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
22733         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
22734         (expand_builtin_next_arg): Accept ARGLIST not EXP.
22735         (stabilize_va_list): New function.
22736         (std_expand_builtin_va_start): New function.
22737         (expand_builtin_va_start): New function.
22738         (get_varargs_alias_set): New function.
22739         (std_expand_builtin_va_arg): New function.
22740         (expand_builtin_va_arg): New function.
22741         (expand_builtin_va_end): New function.
22742         (expand_builtin_va_copy): New function.
22743         (expand_builtin): Call them.
22744         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
22745         __builtin_{varargs_start,stdarg_start,end,copy}.
22746         (build_va_arg): New function.
22747         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
22748         (build_va_arg): Declare.
22749         * c-decl.c (ptr_type_node, va_list_type_node): New.
22750         * c-parse.gperf (__builtin_va_arg): New.
22751         * c-parse.in (VA_ARG): New token.
22752         (unary_expr): Recognize it.
22753         * expr.c (expand_expr): Expand VA_ARG_EXPR.
22754         * expr.h (std_expand_builtin_va_start): Declare.
22755         (std_expand_builtin_va_arg): Declare.
22756         (expand_builtin_va_arg): Declare.
22757         (get_varargs_alias_set): Declare.
22758         * tree.def (VA_ARG_EXPR): New.
22759         * tree.h (BUILT_IN_VARARGS_START): New.
22760         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
22761         (ptr_type_node, va_list_type_node): Declare.
22762         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
22763         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
22764         * m88k.h, m88k.c: Likewise.
22765         * mn10300.h, mn10300.c: Likewise.
22766         * pa.h, pa.c: Likewise.
22767         * rs6000.h, rs6000.c: Likewise.
22768         * sh.h, sh.c: Likewise.
22769         * sparc.h, sparc.c: Likewise.
22770
22771         * emit-rtl.c (operand_subword): Copy alias set.
22772         (change_address): Likewise.
22773
22774 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
22775
22776         * pa.c (compute_frame_size): Scan all the used callee saved registers,
22777         not just the first one.
22778
22779 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
22780
22781         * config/arm/arm.h (TARGET_SWITCHES): Add
22782         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
22783         (TARGET_OPTIONS): Add -mpic-register=.
22784         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
22785         (arm_pic_register_string): Declare.
22786         (NEED_PLT_GOT): Delete, replace with ...
22787         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
22788         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
22789         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
22790         * config/arm/arm.c (arm_override_options): Add new option
22791         -mpic-register=N.
22792         (arm_pic_register_string): New variable.
22793         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
22794         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
22795         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
22796         (output_return_instruction): Likewise.
22797         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
22798         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
22799         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
22800
22801         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
22802         mention of -msched-prolog.  Document new options -msingle-pic-base
22803         and -mpic-register=.
22804
22805 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
22806
22807         * haifa-sched.c (reemit_notes): Tidy.
22808         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
22809         haifa's routine.
22810
22811 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
22812
22813         * explow.c (trunc_int_for_mode): New function.
22814         (plus_constant_wide): Use it.
22815         * combine.c (simplify_and_const_int): Likewise.
22816         (merge_outer_ops): Likewise.
22817         (simplify_shift_const): Likewise.
22818         * cse.c (simplify_unary_operation): Likewise.
22819         (simplify_binary_operation): Likewise.
22820         * emit-rtl.c (operand_subword): Likewise.
22821         * rtl.h: Declare it.
22822
22823 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22824
22825         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
22826         (use NUM_REGS instead of NUM_INTS).
22827
22828 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22829
22830         * builtins.c: New file.
22831         * expr.c (saveregs_value, apply_args_value):  Delete definition,
22832         moved into builtins.c.
22833         (string_constant): No longer static.
22834         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
22835         apply_args_size, apply_result_size, result_vector,
22836         expand_builtin_apply_args, expand_builtin_apply,
22837         expand_builtin_return): Delete functions, moved into builtins.c.
22838         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
22839         * expr.h (saveregs_value, apply_args_value): Declare variables.
22840         (expand_builtin, string_constant): Declare functions.
22841         * Makefile.in: Update to build builtin.o.
22842
22843 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
22844
22845         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
22846         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
22847         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
22848         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
22849         false.
22850         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
22851         Define to zero.
22852
22853 1999-07-21  Michael Meissner  <meissner@cygnus.com>
22854
22855         * print-rtl.c (print_rtx): Print the names of the virtual
22856         registers.
22857
22858 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
22859
22860         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
22861         introduced in previous delta.
22862
22863 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22864
22865         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
22866         to avoid name clash.
22867
22868 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
22869
22870         * c-lex.c (yylex) : Correct the test for overflow when lexing
22871         integer literals.
22872
22873 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
22874
22875         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
22876         (adjust_priority): Always call ADJUST_PRIORITY.
22877         (schedule_insn): Only put insns into the ready at cost 0.
22878         (schedule_block): Remove redundant initial sort.  Give clock_var
22879         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
22880         is not 0.
22881         * tm.texi (MD_SCHED_REORDER): Update docs.
22882
22883         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
22884         * sparc.c (ultra_reorder_called_this_block): Delete.
22885         (ultrasparc_sched_init): Don't set it.
22886         (ultrasparc_sched_reorder): Don't check it.
22887
22888 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
22889
22890         * rs6000.h (struct rs6000_args): Add sysv_gregno.
22891         * rs6000.c (init_cumulative_args): Init sysv_gregno.
22892         (function_arg_boundary): Align DFmode.
22893         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
22894         to get fp reg and stack overflow correct.
22895         (function_arg): Likewise.
22896         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
22897         (setup_incoming_varargs): Restructure for ABI_V4; use
22898         function_arg_advance to skip final named argument.
22899         (expand_builtin_saveregs): Properly unskip the last integer arg
22900         when doing varargs.  Adjust overflow location calculation.
22901
22902         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
22903         explicitly unsigned.
22904         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
22905         (__VA_GP_REGSAVE): Similarly.
22906         (__va_longlong_p): Delete.
22907         (__va_arg_type_violation): New declaration.
22908         (va_arg): Restructure.  Flag promotion errors.  Align double.
22909         TFmode passed by reference.
22910
22911         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
22912         in the HOST_BITS_PER_WIDE_INT > 32 case.
22913
22914 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
22915
22916         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
22917
22918 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
22919
22920         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
22921         * toplev.c (documented_lang_options): Add -fpreprocessed.
22922         * cpplib.h (struct cpp_buffer): Add preprocessed.
22923         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
22924         (cpp_start_read): Don't expand macros or emit an initial #line
22925         directive if -fpreprocessed.
22926
22927 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
22928
22929         * cpplib.h (struct cpp_buffer): Added manual_pop for
22930         better C++ tokenization.
22931         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
22932         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
22933         * c-common.c (cpp_token): Make non-static.
22934
22935 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
22936
22937         * c-common.h: New file.
22938         * c-common.c (permanent_obstack): Delete unused declaration.
22939         (c_global_trees): New array.
22940         (c_common_nodes_and_builtins): New function; split off common code
22941         from init_decl_processing in both c-decl.c and cp/decl.c.
22942         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
22943         c_global_trees and accessor macros defined in c-common.h.
22944         Include c-common.h.
22945         * c-decl.c: Delete definitions for tree nodes that were replaced by
22946         c_global_trees.
22947         (init_decl_processing): Build void_list_node.
22948         Call c_common_nodes_and_builtins; delete code to generate the common
22949         builtins here.
22950         * objc/objc-act.c (build_module_descriptor): Rename variable
22951         void_list_node to avoid clash with c-common.h.
22952
22953         * Makefile.in: Update dependencies.
22954         * objc/Make-lang.in: Likewise.
22955
22956 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
22957
22958         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
22959         (UNIQUE_SECTION_P): Likewise.
22960         (UNIQUE_SECTION): Likewise.
22961
22962 1999-07-19  Linas Vepstas  <linas@linas.org>
22963
22964         * config/i370/README: New file.
22965         * config/i370/linux.h: New file.
22966         * config/i370/mvs.h: New file.
22967         * config/i370/oe.h: New file.
22968         * config/i370/t-linux: New file.
22969         * config/i370/t-mvs: New file.
22970         * config/i370/t-oe: New file.
22971         * config/i370/x-oe: New file.
22972         * config/i370/xm-linux.h: New file.
22973         * config/i370/xm-mvs.h: New file.
22974         * config/i370/xm-oe.h: New file.
22975
22976         * i370.c (label_node_t): Add first_ref_page, label_addr,
22977         label_first_ref, label_last_ref members.
22978         (mvs_need_base_reload): Renamed from mvs_label_emitted.
22979         (MAX_MVS_LABEL_SIZE): Define.
22980         (MAX_LONG_LABEL_SIZE): Define.
22981         (alias_node_t, alias_anchor, alias_number): New.
22982         (mvs_function_table): Reorder for EBCDIC.
22983         (ascebc, ebcasc): Unconditionally define.
22984         (i370_branch_dest, i370_branch_length): New functions.
22985         (i370_short_branch, i370_label_scan): New functions.
22986         (mvs_get_label): Renamed from mvs_add_label.  Search for
22987         an existing label before creating a new one.
22988         (mvs_add_label): New function.
22989         (mvs_get_label_page): New function.
22990         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
22991         over the entire list.
22992         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
22993         (mvs_check_page) [TARGET_ELF_ABI]: New function.
22994         (mvs_add_alias, mvs_need_alias): New functions.
22995         (mvs_get_alias, mvs_check_alias): New functions.
22996         (handle_pragma): New function.
22997         (mvs_function_check): New function.
22998         (unsigned_jump_follows_p): Search harder.
22999         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
23000         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
23001         * i370.h (TARGET_VERSION): Delete.
23002         (CPP_SPEC, CPP_PREDEFINES): Delete.
23003         (mvs_label_emitted): Delete.
23004         (TARGET_EBCDIC): Delete.
23005         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
23006         (HANDLE_PRAGMA): Define.
23007         (HARD_REGNO_NREGS): Handle complex modes.
23008         (HARD_REGNO_MODE_OK): Likewise.
23009         (CLASS_MAX_NREGS): Likewise.
23010         (RET_REG): Likewise.
23011         (EXTRA_CONSTRAINT): Define.
23012         (RETURN_IN_MEMORY): True for DImode.
23013         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
23014         (FUNCTION_PROFILER): Delete.
23015         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
23016         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
23017         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
23018         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
23019         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
23020         (ASM_FILE_START): Add "RMODE ANY".
23021         (ASM_OUTPUT_EXTERNAL): Check for aliases.
23022         (ASM_GLOBALIZE_LABEL): Likewise.
23023         (ASM_OUTPUT_LABELREF): Likewise.
23024         (ASM_OUTPUT_COMMON): Likewise.
23025         (PRINT_OPERAND): Handle 'K', 'W', default.
23026         (PRINT_OPERAND_ADDRESS): New.
23027         (Lots of defines): Add support for TARGET_ELF_ABI.
23028         * i370.md (attr length): New.  Define for all patterns.
23029         (*): Lots of tweeks to assembly output and constraints.
23030
23031 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
23032
23033         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
23034         Disable patterns performing SImode comparisons with SImode values
23035         if TARGET_POWERPC64 and instruction does not sign-extend or does
23036         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
23037         differ for signed quantities.
23038         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
23039         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
23040         (decrement_and_branch_on_count): Add 64-bit variant.
23041
23042 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23043
23044         * final.c (output_asm_insn): When searching for the matching string
23045         for a given dialect, don't run past the end of the list of
23046         alternatives if there are fewer alternatives in the template than
23047         dialects.
23048
23049 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
23050
23051         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
23052         Removed paragraph about compression of files and size limitation,
23053         duplicated in the FAQ.  Use gcc-patches for posting patches.
23054         * gcc.c (main): Updated URL with bug reporting instructions to
23055         gcc.gnu.org.  Removed e-mail address.
23056         * system.h (abort): Likewise.
23057
23058 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23059
23060         * Makefile.in (stmp-multilib-sub): Make the files extracted
23061         from $(LIBGCC1) writable.
23062
23063 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
23064
23065         * config/arm/aout.h: Reformat for improved readability.
23066
23067         * config/arm/arm.h: Reformat for improved readability.
23068         Replace uses of fprintf with asm_fprintf where appropriate.
23069         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
23070         function declaration assembler actions.
23071         (NUM_INTS): New macro: Convert from bytes to words.
23072         (NUM_REGS): New macro: Compute number of registers required to
23073         hold a quanitity of tyep MODE.
23074         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
23075         types.
23076         (NUM_ARG_REGS): New macro: The number of argument registers
23077         available.
23078         (ARG_REGISTER): New macro: Compute the register number of the Nth
23079         argument register.
23080         (LAST_ARG_REGNUM): New macro: The number of the last argument
23081         register.
23082         (SP_REGNUM): New macro: Register number of the stack pointer.
23083         (FP_REGNUM): New macro: Register number of the frame pointer.
23084         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
23085         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
23086         CUMULATIVE_ARGS so that it counts registers not bytes.
23087
23088         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
23089         TARGET_INTERWORK.
23090         Replace uses of fprintf with asm_fprintf where appropriate.
23091         (output_ascii_pseudo_op): Replace with version from thumb.c
23092
23093         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
23094
23095         * config/arm/elf.h (CPP_PREDEFINES): Replace with
23096         SUBTARGET_CPP_SPEC.
23097         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
23098         (ASM_FILE_START): Emit ASM_APP_OFF.
23099
23100 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
23101
23102         * pa.c (compute_frame_size): Round frame according to
23103         STACK_BOUNDARY rather than a hardwired value.
23104
23105         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
23106
23107         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
23108         of "1".
23109         * configure: Rebuilt.
23110
23111         * configure.in (hppa*-*-linux*): New configuration.
23112         * configure: Rebuilt.
23113         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
23114         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
23115         * pa/pa-linux.h: New file.
23116         * pa/t-linux: New file.
23117         * pa/xm-linux.h: New file.
23118
23119         * pa.c (hppa_legitimize_address): Change references from SImode to
23120         either Pmode or word_mode as appropriate.
23121         (emit_move_sequence, store_reg, load_reg): Likewise.
23122         (set_reg_plus_d, hppa_expand_prologue): Likewise.
23123         (output_mul_insn): Likewise.
23124         * pa.h (PROMOTE_MODE): Likewise.
23125         (INITIALZE_TRAMPOLINE): Likewise.
23126         (Pmode): Define to word_mode.
23127
23128         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
23129         value of 4.  Allocate 8 bytes for each FP register save.
23130         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
23131         value of 4.
23132         (hppa_expand_prologue): Likewise.
23133         * pa.h (PROMOTE_MODE): Likewise.
23134         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
23135         (FUNCTION_ARG_BOUNDARY): Likewise.
23136
23137         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
23138
23139         * pa.c (out_of_line_prologue_epilogue): Delete.
23140         (override_options): Remove -mspace related code.
23141         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
23142         (compute_frame_size): Only allocate space for register that
23143         actually need to be saved.
23144         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
23145         (TARGET_SWITCHES): Remove -mspace, -mno-space
23146         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
23147         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
23148         * pa/ee.asm, pa/ee_fp.asm: Delete.
23149
23150         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
23151
23152         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
23153         directive in column zero.
23154
23155 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
23156
23157         * m68k.c (output_function_prologue): Fix computation of save mask
23158         when generating PIC code.
23159
23160 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
23161
23162         * tree.c (build_type_attribute_variant): Move current_obstack restore
23163         after build_qualified_type call.
23164
23165 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
23166
23167         * configure.in: Use t-iris6, even with GNU LD.
23168         * config/mips/iris6gld.h: Fix typo in linker spec.
23169         * config/mips/t-iris6gld: Remove.
23170
23171 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
23172
23173         * rs6000.md (insv, extzv): Remove SImode dependence in named
23174         patterns.  Explicitly generate DImode RTL if PowerPC64 and
23175         operand is DImode.
23176         (insvdi): Reverse start and size in instruction template.
23177
23178 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
23179
23180         * invoke.texi: Typo fixes.
23181
23182 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
23183
23184         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
23185         handle at this time instead of silently generating incorrect code.
23186         (gen_imagpart): Likewise.
23187
23188         * reload.c (find_reloads): Emit a USE for a pseudo register without
23189         a hard register if we could not create an optional reload for the
23190         pseudo.
23191
23192 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23193
23194         * c-typeck.c (output_init_element, process_init_element):
23195         When advancing constructor_unfilled_fields for a RECORD_TYPE,
23196         check for nameless bit fields.
23197
23198 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
23199
23200         * regclass.c (scan_one_insn): Notice subregs that change the
23201         size of their operand.
23202         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
23203
23204 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
23205
23206         * configure.in (alpha*-*-*): Include alpha/t-ieee.
23207         * configure: Rebuilt.
23208         * alpha/t-ieee: New file.
23209
23210 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
23211
23212         * rs6000.c (find_addr_reg): Do not select r0 as an address
23213         register.
23214
23215 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
23216
23217         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
23218
23219 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
23220
23221         * rs6000.md (movsf): Do not force easy FP constants into memory.
23222
23223         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
23224         immed_double_const to ensure they are properly truncated then
23225         sign extended.
23226
23227 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
23228
23229         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
23230         always unless NO_DEBUG is used.  Compile this code
23231         unconditionally.
23232         (replace_symbols_in_block): Compile it unconditionally.
23233
23234 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
23235
23236         * configure.in (i?86-*-elf*): New target.
23237         * configure: Rebuilt.
23238         * i386/i386elf.h, i386/t-i386elf: New files.
23239
23240 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
23241
23242         * toplev.c (main): Don't complain about saying -gdwarf.
23243         (rest_of_compilation): Remove redundant code.
23244
23245 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
23246
23247         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
23248
23249 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
23250
23251         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
23252         "Li960R:", to avoid name clash.
23253
23254 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
23255
23256         * loop.c (check_dbra_loop): When reversing a loop, delete all
23257         REG_EQUAL notes referencing the reversed biv except those which are
23258         for a giv based on it.
23259
23260 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
23261
23262         * version.c: Drop "gcc-" prefix from version #.
23263
23264 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
23265
23266         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
23267         the label if we're being verbose.
23268
23269 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
23270
23271         * m68k.c (output_function_prologue): Add pic register to mask
23272         if live and flag_pic.
23273         (output_function_epilogue): Likewise.
23274
23275 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
23276
23277         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
23278         directives in column zero.
23279
23280         * pa/elf.h (ASM_FILE_START): Define.
23281         * pa/som.h (ASM_FILE_START): Include .level directives.
23282         * pa/hpux10.h (ASM_FILE_START): Delete.
23283         * pa/hpux11.h (ASM_FILE_START): Delete.
23284
23285         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
23286
23287 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23288
23289         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
23290         when reload_out equals reload_in.
23291
23292 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
23293
23294         * invoke.texi (Spec Files): New node: Describe the contents of
23295         spec files.
23296
23297 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
23298
23299         * invoke.texi (DEC Alpha Options): Put @end table at
23300         beginning of line, to avoid confusing texi2html.
23301
23302 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
23303
23304         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
23305         introduced in previous delta.
23306
23307 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
23308
23309         * reload1.c (gen_reload): When synthesizing a 3 operand add
23310         sequence, improve test for when to reload OP1 into the reload
23311         register instead of OP0.
23312
23313 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
23314
23315         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
23316
23317 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
23318
23319         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
23320         string literal.
23321
23322 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
23323
23324         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
23325         (va_dcl): Use __builtin_va_alist_t.
23326
23327 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
23328
23329         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
23330         on the permanent_obstack.
23331         * dwarfout.c (output_type): Likewise.
23332
23333 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23334
23335         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23336         Merged from c-typeck.c and cp/typeck.c.
23337         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23338         Merged into c-common.
23339
23340 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
23341
23342         * c-lex.c (errorcount): Declare it.
23343         (finish_parse): Update errorcount when using CPPLIB.
23344
23345 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
23346
23347         * fixinc/inclhack.def(end_else_label): Double the backslash so
23348         sed gets a chance to see it.
23349         * fixinc/inclhack.sh: regen
23350         * fixinc/fixincl.x: regen
23351
23352 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
23353
23354         Add framework to support armv5 architecture when it becomes
23355         available:
23356
23357         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
23358         (arm_arch5): New variable.
23359         (all_architectures): Add armv5 line.
23360         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
23361         -march=armv5 is specified on the command line.
23362         (arm_arch5): Export this variable.
23363         * invoke.texi: Document new string accepted by -march= switch for
23364         ARM ports.
23365
23366         * config/arm/arm.h: Replace use of constant 12 as a register
23367         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
23368         * config/arm/arm.c: Replace use of constant 12 as a register
23369         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
23370
23371         * config/arm/elf.h: Tidy up.
23372         * config/arm/coff.h: Tidy up.
23373
23374 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
23375
23376         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
23377         * gcc/config/mips/t-iris6gld: New file.
23378         * gcc/config/mips/iris6gld.h: Likewise.
23379
23380 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23381
23382         * c-decl.c (widest_integer_literal_type_node,
23383         widest_unsigned_literal_type) : New.
23384         (init_decl_processing): Handle/use the two new types.
23385         * c-common.c (type_for_size,type_for_mode) : Same.
23386         * c-lex.c (yylex) : Same.
23387         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23388         Same.
23389         * c-tree.h (widest_integer_literal_type_node,
23390         widest_unsigned_literal_type) : New.
23391
23392 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
23393
23394         * dwarfout.c (field_byte_offset): Correctly compute the object's
23395         byte offset for the first bit of a field which crosses an alignment
23396         boundary on a !BYTES_BIG_ENDIAN target.
23397
23398 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
23399
23400         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
23401         ntohs.
23402
23403 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
23404                           Jeff Law <law@cygnus.com>
23405
23406         * ginclude/varargs.h (va_dcl): Use word_mode for type of
23407         __builtin_va_list.
23408
23409         * except.c: Include intl.h.
23410         (expand_eh_return): Set current_function_cannot_inline.
23411         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
23412         * function.h (struct function): Add eh_return_stub_label.
23413         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
23414         * Makefile.in (except.o): Depend on intl.h.
23415
23416 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
23417
23418         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
23419         same as offsettable in cases 1 and 2.
23420
23421 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
23422
23423         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
23424         (extlh, extwh): Likewise.
23425
23426 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23427
23428         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
23429
23430 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
23431
23432         * configure.in: Add arm-pe and thumb-pe targets.
23433         * configure: Regenerate.
23434
23435         * thumb.c (arm_naked_function_p): New function: Determines if
23436         a function is naked (has no gcc generated prologue/epilogue).
23437         (is_called_in_ARM_mode): Return true if the func has the
23438         interfacearm attribute.
23439         (output_return): Do not generate a return for naked functions.
23440         (thumb_function_prologue): Do not generate a prologue for
23441         naked functions.
23442         (thumb_expand_prologue): Do not generate a prologue for naked
23443         functions.
23444         (thumb_expand_epilogue): Do not generate an epilogue for naked
23445         functions.
23446         (arm_valid_machine_decl_attribute): New function, copied from
23447         arm.c:  Permit naked and interfacearm attributes.
23448
23449         * config/arm/pe.c: New file: Support code for arm-pe target.
23450         * config/arm/pe.h: New file: Header file for arm-pe target.
23451         * config/arm/tpe.h: New file: Header file for thumb-pe target.
23452         * config/arm/t-thumb-pe: New file: Makefile fragment for
23453         thumb-pe target.
23454
23455 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
23456
23457         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
23458         -fPIC or -fpic is specified.
23459
23460 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
23461
23462         * expr.c (emit_block_move): Use copy_to_mode_reg for
23463         !TARGET_MEM_FUNCTIONS case too.
23464
23465         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
23466         appropriate.
23467         * configure: Rebuilt.
23468         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
23469         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
23470         definitions made redundant by dbxelf.h inclusion.  Delete
23471         lots of definitions related to assembly output that are
23472         specific to the SOM object format.
23473         * pa.c (output_function_prologue): Do not emit the function's
23474         name for OBJ_ELF.
23475         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
23476         * pa-pro.h: Deleted.
23477         * som.h: New file with SOM specific definitions.
23478         * elf.h: New file with ELF specific definitions.
23479
23480         * elfos.h (const_section): Output a tab before assembler directives.
23481         (ctors_section, dtors_section): Likewise.
23482         (ASM_OUTPUT_SECTION_NAME): Likewise.
23483
23484         * pa/pa1.h: Delete unused file.
23485
23486 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
23487
23488         * configure.in (hppa*-hp-hpux11*): New configuration.
23489         * configure: Rebuilt.
23490         * pa/pa-hpux11.h: New file.
23491         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
23492         command line.
23493
23494         * mips.md (leasi, leadi): New patterns.
23495
23496         * expr.c (emit_block_move): Properly handle case where one of the
23497         block move arguments has a queued increment or decrement.
23498         (clear_storage): Similarly.  Fix formatting goof.
23499
23500 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
23501
23502         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
23503         semicolon from the BSD VA_LIST replacement expression.
23504
23505         * fixinc/inclhack.sh: regen
23506         * fixinc/fixincl.x: regen
23507
23508         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
23509         now use the fixincl program.
23510
23511 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
23512
23513         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
23514         case.  Also make the PIC register call_used.
23515
23516         * m68k.h (FINALIZE_PIC): Delete.
23517         * m68k.c (finalize_pic): Delete.
23518
23519 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
23520
23521         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
23522         to memory.
23523
23524 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
23525
23526         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
23527
23528 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
23529
23530         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
23531
23532 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
23533
23534         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
23535
23536 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
23537
23538         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
23539
23540 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
23541
23542         * rs6000.c (output_toc): Always use hex values for floating-point
23543         constants.  Store single-precision values in upper-half of TOC
23544         entry in 64-bit mode.
23545         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
23546         to final constraints.
23547         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
23548         (fctiwz): Improve accuracy of RTL for pattern.
23549
23550 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
23551
23552         * expr.c (expand_expr): Allow RTL_EXPR's through the
23553         MAX_INTEGER_COMPUTATION_MODE checks.
23554
23555 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
23556
23557         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
23558         such that MASK_SUPPORT_ARCH is not negative.
23559
23560 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
23561
23562         * loop.c (verify_dominator): Properly handle ADDR_VEC and
23563         ADDR_DIFF_VEC insns that appear inside loops.
23564
23565 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
23566                           Jeff Law <law@cygnus.com>
23567
23568         * rs6000.md (movdf_hardfloat32): Revert previous patch.
23569         Handle LO_SUM the same as offsettable in cases 1 and 2.
23570         * rs6000.c (find_addr_reg): Revert previous patch.
23571
23572 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
23573
23574         * system.h (strstr): New external function declaration.
23575         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
23576         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
23577         * config.in, configure: Rebuilt.
23578
23579 1999-06-24  Tom Tromey  <tromey@cygnus.com>
23580
23581         * gcc.c (main): Read user-specified specs files after computing
23582         additional startfile_prefixes.
23583
23584 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
23585
23586         Revert these two patches:
23587
23588         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23589         * loop.c (strength_reduce): When doing biv->giv conversion, update
23590         reg note of NEXT->insn.
23591
23592         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23593         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23594         reg_biv_class.
23595         (recombine_givs): Set ix field after sorting.
23596
23597 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23598
23599         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
23600         for the parts of an UNSPEC / UNSPEC_VOLATILE.
23601
23602 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
23603
23604         *fixinc/inclhack.def:  Add fix development commentary
23605         (read_ret_type): reactivate and add selection clause
23606         (zzz_*): tweak output file name to match what is used in hackshell.tpl
23607         *fixinc/{fixincl.x|inclhack.sh}: regen
23608
23609 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
23610
23611         * expr.c (expand_expr): STRIP_NOPS before checking against
23612         MAX_INTEGER_COMPUTATION_MODE
23613         (check_max_integer_computation_mode): Likewise.
23614
23615 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
23616
23617         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
23618
23619 1999-06-22  Jim Wilson  <wilson@cygnus.com>
23620
23621         * expr.c (store_expr): When target is a promoted subreg, return a
23622         promoted subreg as a result.
23623
23624 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
23625
23626         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
23627         coding standards.
23628         (dwarf2out_define): Mark unused parameters appropriately.
23629         (gen_unspecified_parameters_die): Ditto.
23630         (gen_subprogram_die): Fix signed/unsigned warnings.
23631         (gen_variable_die): Ditto.
23632
23633 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
23634
23635         * fixinc/inclhack.def(end_else_label): combined else_label
23636         and endif_label and fixed the sed expression.
23637         *fixinc/{fixincl.x|inclhack.sh}: regen
23638
23639 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
23640
23641         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
23642         'x' when handling non-offsettable addresses
23643
23644 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
23645
23646         * final.c (shorten_branches): Don't try to split an insn that has
23647         been deleted.
23648
23649 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
23650
23651         * config/mips/mips.c (symbolic_expression_p): New function.
23652         (mips_select_rtx_section): Put symbolic expressions in the
23653         data section, not the read-only data section.
23654
23655 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
23656
23657         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
23658
23659 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
23660
23661         * collect2.c (main): Log frame table count.
23662         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
23663         (scan_prog_file) [COFF]: Handle frame tables.
23664
23665         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
23666         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
23667         * alpha/elf.h: Undef them again.
23668         * alpha/vms.h: Remove their definitions.
23669
23670 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23671
23672         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
23673         remove the clobber of r0 and change the REG_UNUSED note to
23674         REG_INC.
23675
23676 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
23677
23678         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
23679         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
23680         fits in HOST_WIDE_INT and one uses union to access a long constant
23681         as double.
23682
23683 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
23684
23685         * sparc.c (sparc_override_options): Don't allow profiling for
23686         code models other than medlow.
23687         (sparc_function_profiler): New function from old FUNCTION_PROFILER
23688         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
23689         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
23690         (sparc_block_profiler): Likewise.
23691         (sparc_function_block_profiler_exit): Likewise.
23692         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
23693         (FUNCTION_BLOCK_PROFILER): Likewise.
23694         (BLOCK_PROFILER): Likewise.
23695         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
23696         (MCOUNT_FUNCTION): New.
23697         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
23698         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
23699         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
23700         (MCOUNT_FUNCTION): New.
23701         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
23702         (BLOCK_PROFILER): Delete.
23703         (MCOUNT_FUNCTION): New.
23704
23705 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
23706
23707         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
23708
23709 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
23710
23711         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23712         Add the macros.
23713
23714         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23715         Ditto.
23716
23717         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23718         Ditto.
23719
23720         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
23721         Ditto.
23722
23723 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
23724
23725         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
23726         types.
23727
23728 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
23729
23730         * i386/djgpp.h (LIB_SPEC): New.
23731         (STARTFILE_SPEC): New.
23732
23733         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
23734
23735 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
23736
23737         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
23738         compiler flags.
23739
23740         * system.h (WSTOPSIG): New macro.
23741
23742 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
23743
23744         * c-pragma.c (push_alignment): Don't ignore alignments greater than
23745         4 bytes.
23746         (insert_pack_attributes): Take into account member natural
23747         alignment.
23748
23749         * i386/winnt.c (exports_head): New static variable.
23750         (i386_pe_record_exported_symbol): New function.
23751         (i386_pe_asm_file_end): Use.
23752         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
23753         symbols to be emitted at end of assembly.
23754         (ASM_DECLARE_OBJECT_NAME): Likewise.
23755         (ASM_DECLARE_FUNCTION_NAME): Likewise.
23756
23757         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
23758         -iwithprefix.
23759
23760 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
23761
23762         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
23763         in last change.
23764
23765 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
23766
23767         * haifa-sched.c (sched_analyze_1): Use free_list instead of
23768         zapping reg_last_uses directly.
23769         (sched_analyze_2, sched_analyze_insn): Likewise.
23770         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
23771
23772 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
23773
23774         * rs6000.md (movdf_hardfloat32): Use worst case insn length
23775         attributes for cases 1 and 2.
23776
23777 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
23778
23779         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
23780         instead of set.
23781
23782 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
23783
23784         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
23785
23786 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
23787
23788         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
23789         PIC_OFFSET_TABLE_REGNUM for general alloaction.
23790         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
23791         must be stacked if it is used for PIC accesses.
23792         * arm.c (use_return_insn): Handle PIC register specially.
23793         (output_return_instruction): Likewise.
23794         (output_func_{prologue,epilogue}): Likewise.
23795         (output_expand_prologue): Likewise.
23796
23797         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
23798         (*strsi_predec): Renamed from *strqi_predec.
23799         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
23800         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
23801
23802         * arm.c (arm_override_options): Remove warning about PIC code
23803         not being supported.
23804
23805 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
23806
23807         * rs6000.c (find_addr_reg): New function.
23808         * rs6000.h (find_addr_reg): Declare.
23809         (offsettable_addr_operand): Delete.
23810         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
23811         from and stores to GPRs.
23812
23813 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
23814
23815         * alpha.c (alpha_expand_block_move): Use get_insns rather than
23816         gen_sequence as argument to emit_no_conflict_block.
23817
23818 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23819
23820         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
23821         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
23822         *fixinc/fixincl.x: regen
23823         *fixinc/inclhack.sh: regen
23824
23825 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
23826
23827         * added support for -mpcrel (PC relative addressing for m68k)
23828         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
23829         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
23830         * m68k.c (print_operand_address): Handle 32-bit PIC case.
23831         (comments for general_src_operand): Add some explanation
23832         about EXTRA_CONSTRAINTS.
23833         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
23834         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
23835         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
23836         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
23837         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
23838         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
23839         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
23840         if not already set.
23841         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
23842         * m68k.h (TARGET_PCREL): New target flag.
23843         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
23844         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
23845         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
23846         contains a SYMBOL_REF.  Relax this constraint during reload, since
23847         we want to use the predicates, not reload's built-in concept of a
23848         valid memory address, to control what insns need reloading.
23849         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
23850         operands (essentially 'g', 'm', and 's' under normal circumstances).
23851         * m68k.c (print_operand): Cause printing of pc-relative addresses
23852         to include pc register.
23853         (print_operand_address): Ditto.
23854         (general_src_operand): Accept operands that are not only
23855         general_operands, but are also valid when used as a pc-relative
23856         source.
23857         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
23858         (memory_src_operand): Similar, for memory_operands.
23859         (pcrel_address): New predicate to accept the special case of a
23860         pc-relative address.
23861         * m68k.md (many patterns): Rewrite common SImode, HImode, and
23862         QImode insns to accept *_src_operand instead of *_operand where
23863         pc-relative operands can fit.  For example, a pc-relative operand
23864         can be used as a memory source operand for addsi3, but not as a
23865         memory destination.
23866         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
23867
23868 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
23869
23870         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
23871         .thumb_set pseudo op to mark aliases of thumb functions.
23872
23873 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
23874
23875         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
23876         preference to ASM_OUTPUT_DEF, if it is defined.
23877
23878         * tm.texi: Document new, optional target macro
23879         ASM_OUTPUT_DEF_FROM_DECLS.
23880
23881 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
23882
23883         * fixincludes: ISCNTL patch
23884         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
23885         (dgux_int_varargs): new for DG/UX
23886         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
23887
23888 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
23889
23890         * invoke.texi (ia32 options): Fix typo.
23891
23892 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23893
23894         * loop.c (strength_reduce): When doing biv->giv conversion, update
23895         reg note of NEXT->insn.
23896
23897 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
23898
23899         * loop.c (move_movables): Note issues with replacing REGs with
23900         SUBREGs.
23901         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
23902
23903 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
23904
23905         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
23906
23907         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
23908         the reference to `mcount' was not correct for the ELF on FreeBSD.
23909
23910 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23911
23912         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
23913         reg_biv_class.
23914
23915         (recombine_givs): Set ix field after sorting.
23916
23917 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
23918
23919         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
23920         to safe to extract a subword out of a REG.
23921
23922 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23923
23924         * sh.md (mulsi3): Don't add a no-op move at the end.
23925
23926 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23927
23928         * cse.c (cse_insn): Don't put hard register source into tables for
23929         the last insn of a libcall.
23930
23931 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
23932
23933         * loop.c (strength_reduce): Insert sets of derived givs at every
23934         biv increment, even if it's the only one.
23935
23936 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
23937
23938         * dwarfout.c (add_incomplete_type): New fn.
23939         (output_type): Call it.
23940         (retry_incomplete_types): New fn.
23941         (dwarfout_finish): Call it.
23942
23943         From Eric Raskin <ehr@listworks.com>:
23944         (output_type): Output types for bases.
23945
23946 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
23947
23948         * mips.c (mips_output_conditional_branch): Add `break'
23949         between `default' label and `close braces'.
23950
23951 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
23952
23953         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
23954         specifications and make it realistic.
23955         (LIB_SPEC): Likewise.
23956
23957 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
23958
23959         * config/mips/mips.c (mips_secondary_reload_class): Check for
23960         (PLUS (SP) (REG)) and return appropriate register class.
23961         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
23962         Handle (PLUS (SP) (REG)).
23963         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
23964         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
23965         of emit_insn for tablejump.
23966
23967 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
23968
23969         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
23970         asm_fprintf format string by itself.
23971         (output_function_profiler): Likewise.
23972
23973 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
23974
23975         * combine.c (simplify_logical, case AND): Only call
23976         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
23977         or the constant is positive.
23978
23979 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
23980
23981         * configure.in: Fix typo in rs6000-ibm-aix4 case.
23982         * configure: Regenerate.
23983
23984 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
23985
23986         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
23987         require a sub-version #.
23988         * configure: Rebuilt.
23989
23990 1999-06-14  Robert Lipe  (robertlipe@usa.net)
23991
23992         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
23993
23994 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
23995
23996         * c-typeck.c (process_init_element): Detect excess elements in
23997         char array initializer.
23998
23999 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
24000
24001         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
24002
24003 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24004
24005         * invoke.texi (Option Summary): Add -fpermissive flag.
24006
24007 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
24008
24009         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
24010         that require PIC code sequences.
24011
24012 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
24013
24014         * configure.in: Add new target: thumb-elf.
24015         * configure: Regenerate.
24016         * config/arm/t-thumb-elf: New file: Makefile fragment for
24017         thumb-elf build.
24018         * config/arm/telf.h: New file: Header file for thumb-elf
24019         build.
24020
24021 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
24022
24023         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
24024         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
24025         initializers is some circumstances.
24026
24027         * fixinc/inclhack.def (endif_label): Add additional selector for
24028         more bogus stuff after #endif statements.
24029         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
24030
24031 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24032
24033         * i386/cygwin.h (SET_ASM_OP): Define.
24034
24035 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24036
24037         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
24038
24039 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24040
24041         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
24042         latter.
24043
24044         * sh.md (ic_invalidate_line_i): Remove second alternative.
24045
24046 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24047
24048         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
24049         test for the presence of valid prototypes.  Delete bypass expr.
24050         (ioctl_fix_ctrl): Correct the selection expression.
24051         (no_double_slash): Correct quoting rules
24052         *fixinc/fixincl.x: regen
24053         *fixinc/inclhack.sh: regen
24054
24055 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
24056
24057         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
24058
24059 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24060
24061         * rs6000.md (movsi_got_internal_mem): Delete.
24062         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
24063         (GOT_TOC_REGNUM): Delete.
24064         (PIC_OFFSET_TABLE_REGNUM): Define.
24065         (FINALIZE_PIC): Disable.
24066         * rs6000.c (rs6000_got_register): New code for fixed pic register.
24067         (rs6000_replace_regno): Delete.
24068         (rs6000_finalize_pic): Likewise.
24069         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
24070
24071 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24072
24073         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
24074         is a note; use <= for the compare; advance P while it is
24075         a NOTE.
24076
24077 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
24078
24079         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
24080         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
24081
24082         * varasm.c (remove_from_pending_weak_list): Verify t->name
24083         is non-NULL before passing it to strcmp.
24084
24085 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24086
24087         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
24088         the typed arguments are not part of a comment
24089         (ioctl_fix_ctrl): Added a purpose comment
24090         *fixinc/fixincl.x: regenerate
24091         *fixinc/inclhack.sh: regenerate
24092
24093 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24094
24095         * invoke.texi: Add C4x invocation docs.
24096
24097 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
24098
24099         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
24100         Define new macros.
24101         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
24102         TARGET_EXPOSE_LDP.
24103         (c4x_legitimize_reload_address): New function.
24104         * config/c4x/c4x.md: Update docs.
24105
24106 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
24107
24108         * fixincludes: Avoid removing '.'.
24109         * fixinc/fixinc.svr4: Likewise.
24110         * fixinc/fixinc.winnt: Likewise.
24111         * fixinc/inclhack.tpl: Likewise.
24112         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
24113
24114 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24115
24116         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
24117         pattern.
24118         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
24119
24120 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
24121
24122         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
24123         correctly.
24124
24125 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
24126
24127         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
24128         * configure: Regenerate.
24129
24130 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
24131
24132         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
24133         values.
24134
24135 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
24136
24137         * fixinc/inclhack.def (avoid_bool): Also catch
24138         "typedef [unsigned] int bool".
24139         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24140
24141         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
24142         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
24143         * configure: Rebuilt.
24144
24145 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
24146
24147         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
24148         such that we can override its definitions if necessary.
24149         (CPP_SPEC): New define.  Support processor specific predefines via
24150         %(cpp_cpu).
24151         (CC1_SPEC): New define.  Support processor specific compiler
24152         options via %(cc1_cpu).
24153         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
24154         -static.
24155
24156 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24157
24158         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
24159         between sed's -e flag, and the open-quote following it.
24160         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24161
24162 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
24163                           Jeffrey A Law  (law@cygnus.com)
24164
24165         * varasm.c (assemble_start_function): Remove the function
24166         from the pending weak decls list when we define a function.
24167         (assemble_variable): Similarly for variables.
24168         (weak_finish): Ignore items on the list with a NULL name.
24169         (remove_from_ending_weak_list); New function to "remove" an item
24170         from the pending weak declarations list.
24171
24172 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24173
24174         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
24175
24176 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
24177
24178         * c-lex.c (GETC): Redefine to call getch.
24179         (UNGETC): Redefine to call put_back.
24180         (putback_buffer): New structure type.
24181         (putback): New static structure.
24182         (getch): New function.
24183         (put_back): New function.
24184         (yylex): Replace unused bytes from bad multibyte character.
24185
24186 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
24187
24188         * cpplib.c (do_define): Cast `alloca' return value.
24189         (do_include, do_undef, do_pragma): Likewise.
24190         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
24191         values.
24192         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
24193         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
24194
24195 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24196
24197         * sparc.md (abstf2): This should be an expand.
24198         (split after abstf2_notv9): Fix mode.
24199         (abstf2_hq_v9): New pattern.
24200         (abstf2_v9): Only use when no hard quad.
24201         (absdf2_v9): Fix if target is not the same as source.
24202         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
24203         Add correct output constraints.
24204
24205 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
24206
24207         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
24208         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
24209
24210 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
24211
24212         * mips.h (mips_output_conditional_branch): New function.
24213         (mips_adjust_insn_length): Likewise.
24214         (ASSEMBLER_SCRATCH_REGNUM): New macro.
24215         (ADJUST_INSN_LENGTH): Likewise.
24216         * mips.c (print_operand): Add `F' and `W' for floating-point
24217         comparison opcodes.
24218         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
24219         are now in bytes.
24220         (mips_adjust_insn_length): New function.
24221         (mips_output_conditional_branch): New function.
24222         * mips.md (length): Adjust attribute definition to handle
24223         conditional branches.  Change lengths to bytes, rather than
24224         instructions throughout.  Remove length attribute from
24225         instructions whose length is four bytes, and rely on the default
24226         instead.
24227         (dslot): Fix typo in comment.
24228         Reword conditional branch patterns to use
24229         mips_output_conditional_branch.
24230
24231 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
24232
24233         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
24234         (LIB_SPEC): Likewise.
24235         Link with -lprof1_r for -g/-pg.
24236
24237 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24238
24239         * loop.c (check_dbra_loop): Fix change of Jan 19.
24240
24241 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
24242
24243         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
24244         (STARTFILE_SPEC):  Define, override the svr4.h version.
24245         (ENDFILE_SPEC):  Likewise.
24246
24247 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
24248
24249         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
24250         * fixinc/fixincl.x: Regenerated.
24251         * fixinc/inclhack.sh: Regenerated.
24252
24253 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24254
24255         * sh.c (barrier_align): Don't return early for normal branch/barrier
24256         when optimizing for SH2.
24257
24258 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
24259
24260         * i386/udk.h (LINK_SPEC): Correct linker search path for
24261         system libraries.
24262
24263 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24264
24265         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
24266         (braf_label_ref_operand): Delete.
24267         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
24268         * sh.md (casesi_jump_2): Operand1 is now the inside of a
24269         label_ref, and has no predicate.
24270         The patten has a predicate to guard against invalid substitutions.
24271         (dummy_jump): Delete.
24272         (casesi): Update use of casesi_jump_2.
24273
24274 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24275
24276         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
24277         *fixinc/fixincl.x: regenerate
24278         *fixinc/inclhack.sh: regenerate
24279
24280 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
24281
24282         * dwarf2out.c (add_incomplete_type): New fn.
24283         (gen_struct_or_union_type_die): Call it.
24284         (retry_incomplete_types): New fn.
24285         (dwarf2out_finish): Call it.
24286
24287 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
24288
24289         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
24290         current block starts with a CODE_LABEL and ends with a CALL and
24291         we can not find all the argument setup instructions for the CALL.
24292
24293 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
24294
24295         Revert this change:
24296         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24297         something is a candidate for optimize_bit_field_compare.
24298
24299 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24300
24301         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
24302
24303 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
24304
24305         * alpha.c (override_options): Thinko in last patch.
24306
24307         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
24308         (LIB_SPEC): Recognize -pthread.
24309
24310 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
24311
24312         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
24313         definition in config/arm/coff.h
24314         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
24315
24316 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24317
24318         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
24319         fixes that need "file=xxx\n" prepended before invocation
24320         (start_fixer - new): starting the fixer process is complex enough
24321         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
24322         (process): uses the new routine; omit usage of putenv()
24323         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
24324         * fixinc/fixincl.x: regenerate
24325
24326 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
24327
24328         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
24329         and version #s (1.1 -> 2.96) as needed.
24330         * README.g77: Kill way out of date file in the toplevel directory.
24331
24332 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
24333
24334         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
24335         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
24336         * configure: Rebuilt.
24337         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
24338         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
24339         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
24340         (SWITCH_TAKES_ARG): Likewise.
24341         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
24342         * config/t-freebsd: Moved from config/i386/ so it can used for all
24343         FreeBSD targets.
24344
24345 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
24346
24347         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
24348
24349 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
24350
24351         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
24352         * configure: Rebuilt.
24353
24354 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
24355
24356         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
24357         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
24358         * rs6000/rs6000.c (rs6000_file_start): Use putc.
24359         (rs6000_output_load_toc_table): Same.
24360         (output_prolog, output_mi_thunk): Same.
24361         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
24362         (ASM_GLOBALIZE_LABEL): Use putc.
24363
24364 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
24365
24366         * alpha.md (reload_*_help): New patterns and splitters.
24367         (reload_*): Use them.
24368         (mov[qh]i): Likewise.
24369
24370 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
24371
24372         * cccp.c (handle_directive): Handle backslash-newlines in quoted
24373         strings correctly.
24374
24375 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
24376
24377         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
24378
24379 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
24380
24381         * flow.c (mark_regs_live_at_end, insn_dead_p,
24382         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
24383         and HARD_FRAME_POINTER_REGNUM special treatment if reload
24384         hasn't run or the frame pointer is needed.
24385         * haifa-sched.c (attach_deaths): Likewise.
24386         * sched.c (attach_deaths): Likewise.
24387
24388 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
24389
24390         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
24391         calculate_can_reach_end returns nonzero.
24392
24393         * configure.in (native gas tests): Search for an assembler in the
24394         same manner that the installed compiler will.
24395         * configure: Rebuilt.
24396         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
24397
24398         * alias.c (find_base_term): Improve handling of addresses
24399         constructed from binary operations.
24400
24401 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
24402
24403         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
24404
24405 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
24406
24407         * function.h (cleanup_label, frame_offset): Declare.
24408         (tail_recursion_label, tail_recursion_reentry): Likewise.
24409         (arg_pointer_save_area, rtl_expr_chain): Likewise.
24410         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
24411         (tail_recursion_label, tail_recursion_reentry): Likewise.
24412         (arg_pointer_save_area, rtl_expr_chain): Likewise.
24413
24414 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
24415
24416         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
24417         defined.
24418         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
24419         (MAX_OFILE_ALIGNMENT): Define.
24420
24421 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
24422
24423         * fixincl.c: Replace local include scheme with #includes of
24424         gansidecl.h and system.h.
24425         * procopen.c:  Likewise.
24426         * server.c:  Likewise.
24427
24428 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
24429
24430         * i386/t-dgux (EXTRA_PARTS): Add crti.o
24431         (crti.o): Add build rule and dependencies.
24432         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
24433
24434 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24435
24436         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
24437         (LIB_LINUX_SPEC): Likewise.
24438         (LIB_LINUX_SPEC): Add support for -pthread
24439         (CPP_OS_LINUX_SPEC): Likewise.
24440         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
24441         specified.
24442
24443 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
24444
24445         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
24446         conditional move.
24447         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
24448         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
24449         for IEEE math and CC_FCOMI.
24450         (put_jump_code): No IEEE if CC_FCOMI is set.
24451
24452 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24453
24454         * fold-const.c (fold_truthop): Make the field reference unsigned
24455         when converting a single bit compare.
24456
24457 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24458
24459         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
24460
24461 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
24462
24463         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
24464         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
24465         version did.
24466
24467         * reload.c (push_reload): Do not call remove_address_replacements
24468         when presented with identical optional reloads.
24469
24470 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
24471
24472         * alpha.h (MASK_FIX, TARGET_FIX): New.
24473         (MASK_*): Reorganize constants.
24474         (CPP_AM_FIX_SPEC): New.
24475         (TARGET_SWITCHES): Add FIX.
24476         (EXTRA_SPECS): Likewise.
24477         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
24478         (SECONDARY_MEMORY_NEEDED): Likewise.
24479         (REGISTER_MOVE_COST): Likewise.
24480         * alpha.c (override_options): Add FIX support.  Always use
24481         ALPHA_TP_PROG for ev6.
24482         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
24483         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
24484         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
24485
24486 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
24487
24488         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24489         something is a candidate for optimize_bit_field_compare.
24490
24491 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
24492
24493         * gcc.texi (Passes): Document branch-shortening.
24494         * invoke.texi (Debugging Options): Document the fact that `-dp'
24495         outputs length information for instructions.
24496
24497 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
24498
24499         * flow.c: Revert previous delta.
24500
24501 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
24502
24503         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
24504         FRAME_POINTER_REGNUM.
24505         (mark_set_1): Ditto.
24506         (mark_used_regs): Ditto.
24507
24508 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
24509
24510         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
24511         (GOT_PCREL): New macro.  Define to 1 if not already defined.
24512         * arm/elf.h (GOT_PCREL): Define to 0.
24513         * arm.c (arm_finalize_pic): Take into account the setting of
24514         GOT_PCREL.
24515
24516 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
24517
24518         * output.h (STRIP_NAME_ENCODING): Provide default definition.
24519         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
24520
24521         * flow.c (mark_set_1): Do not record BLKmode stores as dead
24522         store elimination candidates.
24523
24524 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
24525
24526         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
24527         TARGET_GAS.
24528
24529 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
24530
24531         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
24532         Add use of x-aix41-gld.
24533
24534 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
24535
24536         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
24537         (ASM_OUTPUT_DESTRUCTOR): Define.
24538
24539 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
24540
24541         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
24542         last CODE_LABEL in a loop if we have previously passed a jump
24543         to the top of the loop.
24544
24545 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
24546
24547         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
24548         applying Philip's patch.
24549
24550 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
24551
24552         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
24553         are not VAR_DECLs.
24554
24555 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
24556
24557         * loop.c (strength_reduce): Grow reg_single_usage as needed.
24558
24559 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
24560
24561         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
24562         Also remove a useless comment.
24563
24564 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
24565
24566         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
24567
24568 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
24569
24570         * collect2.c (main): Only generate import or export file and add
24571         to link arguments if non-empty.  Use xmalloc not alloca.
24572         (write_{export,import}_file): Delete.
24573         (write_aix_file): New function.
24574         (locatelib): Use xmalloc not malloc.
24575         (GCC_OK_SYMBOL): Do not check type if aix64.
24576
24577 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
24578
24579         Based on patch by Scott Bambrough and Pat Beirne:
24580         * config/arm/arm.c (making_const_table): New variable.
24581         * config/arm/arm.h (making_const_table): Declare.
24582         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
24583         appropriate.
24584         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
24585         Keep track of when we are building the constant table.
24586
24587 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
24588
24589         * config/arm/arm.c (arm_override_options): Fix erroneous warning
24590         message.
24591
24592 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
24593
24594         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
24595         defined.
24596
24597 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
24598
24599         * tm.texi (FUNCTION_ARG): Correct description of a stack element
24600         in a PARALLEL.
24601
24602 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
24603
24604         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
24605
24606 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
24607
24608         * rs6000.c (output_mi_thunk): Enable full support again.
24609
24610 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
24611
24612         * sh.h (BRANCH_COST): Define.
24613
24614 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
24615
24616         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
24617
24618 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
24619
24620         * function.c (assign_stack_local): Align stack slot propertly.
24621         (assign_outer_stack_local): Likewise.
24622
24623 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
24624
24625         * expr.h (lang_expand_constant): Declare.
24626         * toplev.c (lang_expand_constant): Define it.
24627         * varasm.c (output_constant): Use it.
24628
24629 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24630
24631         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
24632         Change function definitions to K&R style.
24633
24634 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24635
24636         * fixinc/fixincl.c: We must not ignore SIGCLD now.
24637
24638 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
24639
24640         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
24641         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
24642         (several places): omit static initialization
24643         (process): use single fd, since only the read fd is used
24644         * fixinc/gnu-regex.c: define 'const' away, if not supported
24645         * fixinc/procopen.c(several places): omit static initialization
24646         * fixinc/server.c: define 'volitile' away, if not supported
24647
24648 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
24649
24650         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
24651         asm_fprintf and %L to generate the label name.
24652         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
24653         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
24654
24655 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
24656
24657         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
24658         insn for a conditional jump can not be found.
24659
24660 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
24661
24662         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
24663         on variables in specific sections other than .sbss and .sdata.
24664
24665 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
24666
24667         * stmt.c (expand_return): Call start_cleanup_deferral and
24668         end_cleanup_deferral around conditional code.
24669
24670 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
24671
24672         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
24673         filename lists.  Utilizes new "krstr" AutoGen function.
24674         * fixinc/fixincl.x: Rebuilt.
24675
24676 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
24677
24678         * i386.c (output_float_compare): Avoid GNU-C extensions.
24679
24680 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
24681
24682         * version.c: Bump to distinguish mainline tree from the
24683         gcc-2.95 branch.
24684
24685 See ChangeLog.1 for earlier changes.
24686
24687