OSDN Git Service

* expr.c: Include intl.h.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
2
3         * expr.c: Include intl.h.
4
5 2000-03-18  Richard Henderson  <rth@cygnus.com>
6
7         * expr.c (emit_move_insn_1): Clarify cannot_inline message.
8
9 2000-03-18  Mark Mitchell  <mark@codesourcery.com>
10
11         * tree.h (tree_index): Remove enumerals for integer types.
12         (integer_type_kind): New type.
13         (integer_types): New variable.
14         (char_type_node): Adjust.
15         (signed_char_type_node): Likewise.
16         (unsigned_char_type_node): Likewise.
17         (short_integer_type_node): Likewise.
18         (short_unsigned_type_node): Likewise.
19         (integer_type_node): Likewise.
20         (unsigned_type_node): Likewise.
21         (long_integer_type_node): Likewise.
22         (long_unsigned_type_node): Likewise.
23         (long_long_integer_type_node): Likewise.
24         (long_long_unsigned_type_node): Likewise.
25         * tree.c (integer_types): New variable.
26         (init_obstacks): Register it as a root.
27
28 Sat Mar 18 14:38:00 2000  Jason Eckhardt  <jle@cygnus.com>
29
30         * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
31         NEXT_INSN. Update last insn in chain.
32
33 2000-03-17  Jason Merrill  <jason@casey.cygnus.com>
34
35         * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
36         with TYPE_DECL_SUPPRESS_DEBUG set.
37
38 2000-03-18  Richard Henderson  <rth@cygnus.com>
39
40         * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
41
42 2000-03-18  Richard Henderson  <rth@cygnus.com>
43
44         * i386.c (call_insn_operand): Always allow SYMBOL_REF,
45         care for HALF_PIC_P.
46         (expander_call_insn_operand): Remove.
47         (ix86_expand_epilogue): New arg `emit_return' to control return insn.
48         * i386.h (PREDICATE_CODES): Update.
49         * i386.md (all call expanders): Remove predicates, remove special
50         handling for half-pic.
51         (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
52         (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
53         (sibcall_epilogue): New.
54
55 2000-03-17  Richard Henderson  <rth@cygnus.com>
56
57         * rtlanal.c (single_set): Reject if the parallel has anything
58         except SET or USE or CLOBBER.
59
60 2000-03-17  Jeff Law  <law@cygnus.com>
61             Richard Henderson  <rth@cygnus.com>
62
63         * Makefile.in (OBJS): Add sibcall.o.
64         (sibcall.o): New.
65         * sibcall.c: New file.
66         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
67         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
68         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
69         Emit sibcall patterns when requested.  Update all callers.
70         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
71         elimination seems feasable.
72         * final.c (leaf_function_p): Sibling calls don't discount being
73         a leaf function.
74         * flow.c (HAVE_sibcall_epilogue): Provide default.
75         (find_basic_blocks_1): Sibling calls don't throw.
76         (make_edges): Make edge from sibling call to EXIT.
77         (propagate_block): Don't remove sibcall_epilogue insns.
78         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
79         (sibcall_epilogue): New.
80         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
81         (identify_blocks_1): Likewise.  Break out from ...
82         (identify_blocks): ... here.
83         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
84         (reorder_blocks): ... here.
85         (init_function_for_compilation): Zap prologue/epilogue as varrays.
86         (record_insns): Extend a varray instead of mallocing new memory.
87         (contains): Read a varray not array of ints.
88         (sibcall_epilogue_contains): New.
89         (thread_prologue_and_epilogue_insns): Emit and record
90         sibcall_epilogue patterns.
91         (init_function_once): Allocate prologue/epilogue varrays.
92         * genflags.c (gen_insn): Treat sibcall patterns as calls.
93         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
94         Broken out from ...
95         (save_for_inline_nocopy): ... here.
96         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
97         Broken out from ...
98         (expand_inline_function): ... here.
99         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
100         (subst_constants): Handle 'n' formats.
101         * jump.c (jump_optimize_minimal): New.
102         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
103         optimizations if it's set.
104         * rtl.c (copy_rtx): Do copy jump & call for insns.
105         * rtl.h (struct rtx_def): Document use of jump and call for insns.
106         (SIBLING_CALL_P): New.
107         (sibcall_use_t): New.
108         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
109         Invoke optimize_sibling_and_tail_recursive_calls.
110         * tree.c (lang_safe_for_unsave): New.
111         (safe_for_unsave): New.
112         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
113
114         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
115         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
116         (*sibcall_osf_1, *sibcall_value_osf_1): New.
117
118 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
119
120         * objc/objc-act.c (encode_method_prototype): Pass types, not
121         PARM_DECLs, to int_size_in_bytes.
122
123 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
124
125         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
126
127         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
128         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
129
130 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
131
132         * Clean up usages of TREE_INT_CST_LOW.
133         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
134         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
135         Regenerated.
136         * c-tree.h (min_precision): Move declaration to here.
137         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
138         (build_unary_op, add_pending_init): Use bit_position.
139         (pending_init_member, process_init_element): Likewise.
140         (really_start_incremental_init, push_init_level, pop_init_level):
141         Don't make copies of nodes or modify them in place, use consistent
142         types when tracking positions, and use tree routines computations.
143         (set_init_index, output_init_element): Likewise.
144         (output_pending_init_elements, process_init_element): Likewise.
145         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
146         tree_low_cst and int_bit_position; also minor cleanup.
147         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
148         (print_cst_octal): Precision is unsigned.
149         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
150         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
151         (simple_type_align_in_bits): Result is unsigned int.
152         Use tree_int_low_cst and host_integerp.
153         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
154         (field_byte_offset): Result is HOST_WIDE_INT.
155         Change types of internal variables so alignments are unsigned int,
156         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
157         Use host_integerp, tree_low_cst, and int_bit_position.
158         (add_bit_offset_attribute): Likewise.
159         (add_data_member_location_attribute): Use tree_cst_low.
160         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
161         (add_bit_size_attribute): Use tree_low_cst.
162         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
163         * dwarfout.c: Similar changes to dwarf2out.c.
164         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
165         * genoutput.c (n_occurences): Return -1 for null string.
166         (strip_whitespace): Accept null string and make into function.
167         (scan_operands): Reflect above changes.
168         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
169         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
170         * ssa.c (rename_registers): Add missing cast of arg to bzero.
171         * tree.c (int_size_in_bytes): Check for too big to represent.
172         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
173         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
174         New declarations.
175         (min_precision): Delete from here.
176         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
177         and int_bit_position.
178         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
179         (encode_method_def): Likewise.
180         (build_ivar_list_initializer): Use int_bit_position.
181         (generate_shared_structures): Convert size.
182         (encode_type, encode_complete_bitfield): Use integer_zerop.
183         (encode_bitfield): Use tree_low_cst and int_bit_position.
184         
185 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
186
187         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
188
189 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
190
191         * call.c (special_function_p): It is only malloc if it returns
192         Pmode.
193
194 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
195
196         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
197         (C33_FLAG, TARGET_C3X): Add macros.
198         (TARGET_SWITCHES): Add -m33 option.
199         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
200         
201 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
202         
203         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
204         (PARALLEL_PACK_FLAG): Delete.
205         (TARGET_SWITCHES): Update.
206         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
207
208 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
209
210         * fold-const.c (fold): Fix a few cases when the returned result
211         is not of the same type as the input.
212
213 2000-03-16  Nick Clifton  <nickc@cygnus.com>
214
215         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
216         warning.
217
218 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
219
220         * libgcc2.h: Move prototypes above macros with the same name.
221         Wrap some function prototypes in the conditional which indicates
222         whether they are supported, i.e. "BITS_PER_UNIT == 8".
223
224 2000-03-16  Richard Henderson  <rth@cygnus.com>
225
226         * calls.c: Revert last two changes.
227
228 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
229
230         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
231         has exponent 0 is a zero.
232
233         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
234         HASH may already be nonzero.  Add code/mode into hash value
235         immediately after repeat label.
236         (cselib_lookup): Don't leave the hash table in an inconsistent
237         state before a hash lookup operation.
238
239 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
240
241         * i386.md (all HI and QI mode non-move patterns):  Conditionize
242         by TARGET_[HQ]IMODE_MATH.
243         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
244         x86_promote_qi_regs): Declare.
245         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
246         TARGET_PROMOTE_QI_REGS): New macros.
247         (PROMOTE_MODE): New macro.
248         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
249         x86_promote_qi_regs): New global variables.
250
251 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
252
253         * calls.c (emit_library_call_value_1): Break out from ...; handle
254         VOIDmode function calls too.
255         (emit_library_call_value): ... here.
256         (emit_library_call): Implement by calling emit_library_call_value_1.
257
258 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
259
260         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
261         Update arg_space_so_far on stack adjustments.
262         (emit_library_call, emit_library_call_value): Likewise; take into
263         account arg_space_so_far and pending_stack_adjust when calculcating
264         the boundary.
265
266 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
267
268         * flow.c: Move all basic block reordering code into its own file.
269         (create_basic_block): Externalize.
270         * bb-reorder.c: New file. Copy all basic block reordering code from
271         flow.c to this file.
272         (reorder_basic_blocks): Fix fencepost error in for-loop.
273         (reorder_basic_blocks): Remove braces from single statement for-loops.
274         * basic-block.h: Add declaration for create_basic_block.
275         * Makefile.in: Add rules for bb-reorder.o.
276
277 2000-03-16  Neil Booth  <NeilB@earthling.net>
278
279         * cppinit.c (handle_option):  Implement #unassert directive
280         as -A- command line option.
281         (print_help):  Update.
282         * cpptexi.c:  Update.
283
284 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
285
286         * md.texi (Standard Names): Document `jump'.
287
288 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
289
290         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
291         gotos.
292
293 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
294
295         See the ChangeLog on the branch for more details.
296         
297         * configure.in: Merge in changes from newppc-branch.
298         * configure: Regenerate.
299         * config/rs6000/*: Merge in changes from newppc-branch.
300         Also correct copyright notices.
301
302 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
303
304         * acconfig.h (HAVE_GAS_WEAK): New define.
305         * configure.in (assembler weak support): Check for .weak support.
306         * config.in, configure: Rebuilt.
307         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
308         HAVE_GAS_WEAK is defined.
309
310 2000-03-15  Nick Clifton  <nickc@cygnus.com>
311
312         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
313         asm_fprintf().
314
315 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
316
317         * cppfiles.c (open_include_file): New function.
318         (find_include_file, cpp_read_file): Use it.
319
320 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
321
322         * cpphash.c (dump_hash_helper): Take the slot, not the element.
323
324 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
325
326         * flow.c (verify_flow_info): Check for unconditional return.
327
328 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
329
330         * config/ia64/ia64.md (restore_stack_nonlocal): New.
331         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
332         (__ia64_restore_stack_nonlocal): New.
333         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
334
335 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
336
337         * cpphash.c (collect_formal_parameters): Do not complain about
338         parameter names that just start with `__VA_ARGS__'.
339
340 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
341
342         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
343         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
344         * i386.c (pentiumpro_cost): Set mul cost to 4.
345         (x86_use_movx): Set for PPro.
346
347 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
348
349         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
350         STACK_BOUNDARY for empty frames now.
351
352 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
353
354         * stor-layout.c (layout_union): Remove.
355         (layout_union_field): New function, split out from layout_union.
356         (finish_union_layout): Likewise.
357         (layout_field): Handle unions by calling layout_union_field.
358         (finish_record_layout): Handle unions.
359         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
360         QUAL_UNION_TYPE handling.
361
362 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
363
364         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
365         end of basic block is jump_insn, not barrier; use create_basic_block
366         instead of creating basic block by hand.
367
368 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
369
370         * flow.c (reorder_basic_blocks): Account for barriers when writing
371         over NEXT_INSN (last_bb->end).
372         (verify_flow_info): Add check for missing barriers.
373
374 2000-03-14  Greg McGary  <gkm@gnu.org>
375
376         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
377         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
378         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
379         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
380         __unbounded, __unbounded__): New keywords.
381         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
382         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
383         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
384
385 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
386
387         * cselib.h: New file.
388         * alias.c: Include "cselib.h".
389         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
390         MEMs as two new arguments.
391         (get_addr): New static function.
392         (find_base_term): Handle VALUEs.
393         (memrefs_conflict_p): Likewise.
394         (true_dependence): Call get_addr on the addresses.
395         Call fixed_scalar_and_varying_struct_p with addresses that have been
396         passed through get_addr and canon_rtx.
397         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
398         with true_dependence.
399         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
400         * loop.c: Include "cselib.h".
401         (load_mems): Process extended basic block that enters the loop with
402         cselib.  Use that information to change initialization of the shadow
403         register so that a constant equivalence is seen by later passes.
404         * reload1.c: Include "cselib.h".
405         (reload_cse_invalidate_regno): Delete function.
406         (reload_cse_mem_conflict_p): Likewise.
407         (reload_cse_invalidate_mem): Likewise.
408         (reload_cse_invalidate_rtx): Likewise.
409         (reload_cse_regno_equal_p): Likewise.
410         (reload_cse_check_clobber): Likewise.
411         (reload_cse_record_set): Likewise.
412         (reg_values): Delete static variable.
413         (invalidate_regno_rtx): Likewise.
414         (reload_cse_delete_noop_set): New static function.
415         (reload_cse_simplify): New static function, broken out of
416         reload_cse_regs_1.
417         (reload_cse_noop_set_p): Delete unused argument INSN.
418         Just call rtx_equal_for_cselib_p on set source and destination.
419         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
420         reload_cse_delete_noop_set.  Delete code to keep track of values; use
421         cselib functions instead.  Delete code to push/pop obstacks.
422         (reload_cse_simplify_set): Use cselib to find equivalent values.
423         Delete code to push/pop obstacks.
424         (reload_cse_simplify_operands): Likewise.
425         * rtl.def (VALUE): New rtx code.
426         * rtl.h (union rtunion_def): New elt rt_cselib.
427         (X0CSELIB, CSELIB_VAL_PTR): New macros.
428         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
429         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
430         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
431         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
432         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
433         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
434         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
435         cselib_record_set, cselib_record_sets): New static functions.
436         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
437         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
438         references_value_p): New functions.
439         (MAX_USELESS_VALUES, REG_VALUES): New macros.
440         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
441         n_useless_values, reg_values, callmem, cselib_obstack,
442         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
443         New static variables.
444         * varray.h (union varray_data_tag): New elt te.
445         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
446         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
447         dependencies.
448
449 2000-03-14  Nick Clifton  <nickc@cygnus.com>
450
451         * gcc.c (do_spec_1): Catch the case where %* is used in a
452         substitution pattern, but it has not been initialised.
453         Issue a meaningful error message if an unrecognised operator
454         is encountered in a spec string.
455
456 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
457
458         * function.c (prepare_function_start): Correctly initialize
459         cfun->stack_alignment_needed.
460
461 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
462
463         * cppfiles.c (find_include_file): Don't assume nshort is a
464         substring of name.
465
466 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
467
468         * configure.in (hppa configurations): Add pa32-regs.h to the
469         list of tm files as appropriate.
470         * configure: Rebuilt.
471         * pa.c (compute_frame_size): Remove explicit knowledge about FP
472         register numbering.
473         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
474         (fmpyaddoperands, fmpysuboperands): Likewise.
475         * pa.h: Remove various definitions which depend on knowing
476         how registers are numbered.
477         * pa32-regs.h: New file with PA32 register numbering specific
478         definitions.
479
480 2000-03-14  Richard Henderson  <rth@cygnus.com>
481
482         * regmove.c (combine_stack_adjustments): New.
483         (stack_memref_p, single_set_for_csa): New.
484         (free_csa_memlist, record_one_stack_memref): New.
485         (try_apply_stack_adjustment): New.
486         (combine_stack_adjustments_for_block): New.
487         * rtl.h (combine_stack_adjustments): Declare.
488         * toplev.c (rest_of_compilation): Call it.
489
490         * i386.md: Revert 2000-01-16 change.
491
492 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
493
494         * gccbug.in: Add web category, gcc specific classes.
495
496 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
497
498         * stor-layout.c (finalize_record_size): Fix typo.
499
500 2000-03-14  Stan Shebs  <shebs@apple.com>
501
502         * c-typeck.c (c_alignof): Error on incomplete types.
503         * extend.texi (Alignment): Document this.
504
505 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
506
507         * cppfiles.c: Include mkdeps.h.
508         (find_include_file, read_include_file): Remove _cpp_ prefix
509         from name, make static.
510         (_cpp_execute_include): New function, broken out of
511         do_include.
512
513         * cpplib.c: Don't include mkdeps.h.
514         (struct directive): Remove type field. Reorder entries.  The
515         function takes only one argument.
516         (struct if_stack): Make type field an int.
517         (directive_table): Rename to dtable.  Generate it, the
518         prototypes of the directive handlers, and the enum for the
519         directive numbers, from a template macro.
520         (do_ifndef, do_include_next, do_import): New functions.
521         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
522         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
523         do_ident, do_assert, do_unassert, do_sccs): Take only one
524         argument.
525         (do_sccs): Define always, but alter behavior based on
526         SCCS_DIRECTIVE.
527         (_cpp_handle_directive, consider_directive_while_skipping):
528         Restructure for new directive table layout.
529
530         (pass_thru_directive): Take a directive number, not a pointer
531         to a struct directive.
532         (parse_include): New function, broken out of do_include.
533         (do_include, do_import, do_include_next): Use parse_include
534         and _cpp_execute_include.
535         (do_elif, do_else): Test for T_ELSE specifically when checking
536         for #elif/#else after #else.
537         (parse_ifdef): New function, broken out of do_ifdef.
538         (validate_else): Expect a name arg without a leading #.
539         (if_directive_name): Delete.
540         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
541         directive handlers with only one argument.
542
543         * cpphash.h: Update prototypes.
544         (enum node_type): Remove entries for directives.
545         * Makefile.in: Update dependencies.
546
547         * cpphash.c (dump_hash_helper): Only dump nodes of type
548         T_MACRO.  Emit a newline after each definition.
549
550 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
551
552         * gccbug.in: New file.
553         * configure.in (all_outputs): Add gccbug.
554         * Makefile.in (install-common): Install gccbug.
555         (GCCBUG_INSTALL_NAME): New variable.
556         * configure: Rebuilt.
557         
558 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
559
560         * function.c (put_var_into_stack): Use type_for_mode to calculate
561         part_type.  Use MEM_SET_IN_STRUCT_P.
562         * expr.c (store_field): Handle CONCAT.
563         (store_constructor): Use fields_length.
564         * tree.c (fields_length): New fn.
565         * tree.h: Declare it.
566
567 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
568
569         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
570         (cpplex.o): New target.
571         * po/POTFILES.in: Add cpplex.c.
572
573         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
574         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
575         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
576         skip_block_comment, skip_line_comment, skip_comment,
577         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
578         _cpp_parse_name, skip_string, parse_string,
579         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
580         _cpp_get_directive_token, find_position,
581         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
582         (maybe_macroexpand, _cpp_lex_token): New functions.
583
584         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
585         parse_goto_mark): Delete.
586         (_cpp_handle_eof): New function.
587         (_cpp_handle_directive): Rename from handle_directive.
588         (_cpp_output_line_command): Rename from output_line_command.
589         (do_if, do_elif): Call _cpp_parse_expr directly.
590         * cppfiles.c (_cpp_read_include_file): Don't call
591         init_input_buffer here.
592         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
593         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
594         here; pop the token_buffer and skip the rest of the line here.
595         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
596         here.
597
598         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
599         Define here.
600         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
601         CPP_GOTO_MARK): New macros.
602         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
603         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
604         _cpp_read_and_prescan, _cpp_init_input_buffer,
605         _cpp_grow_token_buffer, _cpp_get_directive_token,
606         _cpp_handle_directive, _cpp_handle_eof,
607         _cpp_output_line_command): Prototype them here.
608         * cpplib.h (enum cpp_token): Add CPP_MACRO.
609         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
610         quote_string, output_line_command): Remove.
611
612 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
613
614         * stmt.c (expand_end_case): RANGE may be signed, and when checking
615         whether it is too large we must also verify that it isn't negative.
616
617 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
618
619         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
620         (movsi_zero_liveg0): Remove.
621         (movsf_insn_novis_liveg0): Remove.
622         (negsi2): Remove.
623         (negsi2_not_liveg0): Rename to negsi2.
624         (one_cmplsi2): Remove.
625         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
626         (one_cmplsi2_liveg0): Remove.
627         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
628         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
629         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
630         (PREDICATE_CODES): Remove zero_operand.
631         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
632         TARGET_BROKEN_SAVERESTORE.
633         (zero_operand): Remove.
634         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
635         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
636         options.
637         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
638         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
639         TARGET_BROKEN_SAVERESTORE): Remove.
640         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
641         Remove.
642         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
643         Remove.
644         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
645         Remove.
646
647         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
648
649 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
650
651         * cpplib.c (do_pragma_implementation): Fix off-by-one error
652         truncating a string.  Don't assume tokens are nul terminated.
653         Problem noted by Andreas Jaeger <aj@suse.de>
654
655 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
656
657         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
658         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
659         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
660
661 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
662
663         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
664         STRUCTURE_SIZE_BOUNDARY.
665
666 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
667
668         * tree.h (record_layout_info_s): New structure.
669         (record_layout_info): New type.
670         (new_record_layout_info): New function.
671         (layout_field): Likewise.
672         (finish_record_layout): Likewise.
673         * stor-layout.c (layout_record): Remove.
674         (new_record_layout_info): New function.
675         (layout_field): New function, broken out from layout_record.
676         (finalize_record_size): Likewise.
677         (compute_record_mode): Likewise.
678         (finalize_type_size): New function, broken out from layout_type.
679         (finish_record_layout): Likewise.
680         (layout_type): Use them.
681         
682 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
683
684         * cpphash.c: Don't include version.h.
685         (special_symbol) [case T_VERSION]: Look for the string in
686         hp->value.cpval; don't use version_string.
687         * cppinit.c (initialize_builtins): Set hp->value.cpval for
688         __VERSION__ to version_string.
689         * Makefile.in (cpphash.o): Update deps.
690
691 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
692
693         Convert cpplib to use libiberty/hashtab.c.
694
695         * cpplib.h (struct cpp_reader): Make hashtab and
696         all_include_files of type 'struct htab *'.  Delete HASHSIZE
697         and ALL_INCLUDE_HASHSIZE macros.
698
699         * cpphash.h: Update prototypes.
700         (struct hashnode): Remove next, prev, and bucket_hdr members.
701         Make length a size_t.  Add hash member.
702         (struct ihash): Remove next member.  Add hash member.  Make
703         name a flexible array member.
704
705         * cppfiles.c: Include hashtab.h.
706         (include_hash): Delete.
707         (IHASHSIZE): New macro.
708         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
709         (cpp_included): Do the hash lookup here.
710         (_cpp_find_include_file): Rewrite.
711         (cpp_read_file): Put the "fake" hash entry into the hash
712         table.  Honor the control_macro, if it turns out we've seen
713         the file before.  Don't push the buffer here.
714         (_cpp_read_include_file): Push the buffer here.
715         (OMODES): New macro.  Use it whenever we call open(2).
716
717         * cpphash.c: Include hashtab.h.
718         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
719         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
720         _cpp_lookup_slot): New functions.
721         (HASHSIZE): new macro.
722         (hashf, _cpp_install, _cpp_delete_macro): Delete.
723         (_cpp_lookup): Use hashtab.h routines.
724
725         * cppinit.c: Include hashtab.h.
726         (cpp_reader_init): Call _cpp_init_macro_hash and
727         _cpp_init_include_hash.  Don't allocate hashtab directly.
728         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
729         pfile->all_include_files.
730         (initialize_builtins): Use _cpp_make_hashnode and
731         htab_find_slot to add hash entries.
732         (cpp_finish): Just call _cpp_dump_macro_hash.
733         * cpplib.c: Include hashtab.h.
734         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
735         create hash entries.
736         (do_pragma_poison, do_assert): Likewise.
737         (do_include): Don't push the buffer here.  Don't increment
738         system_include_depth unless _cpp_read_include_file succeeds.
739         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
740         or htab_remove_elt.
741         (do_pragma_implementation): Use alloca to create copy.
742
743         * Makefile.in: Update dependencies.
744
745 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
746
747         * cppinit.c (cl_directive_handler): More K&R fixing.
748
749 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
750
751         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
752         STACK_BOUNDARY.
753         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
754
755 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
756
757         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
758         Change from char[] to macros.
759
760 2000-03-12  Neil Booth  <NeilB@earthling.net>
761
762         * cppinit.c (cpp_start_read): Update indirect function
763         call to K&R C.
764
765 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
766
767         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
768         entry.
769
770         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
771         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
772
773 2000-03-11  Neil Booth  <NeilB@earthling.net>
774
775         * cppinit.c (struct pending option): Replace undef with a 
776         pointer to a directive handling routine.
777         (struct cpp_pending): Replace separate assert_ and define_ 
778         lists with one directive_ list.
779         (new_pending_define): Rename new_pending_directive. Extra
780         argument is the directive's handling routine.
781         (handle_option): Update to use new_pending_directive.
782
783 2000-03-11  Neil Booth  <NeilB@earthling.net>
784
785         * cppfiles.c (file_cleanup, _cpp_find_include_file,
786         remap_filename, _cpp_read_include_file, actual_directory,
787         hack_vms_include_specification): Replace bcopy(), index() etc
788         calls.  Add casts to some allocations.  Make some variables
789         pointers to const [unsigned] char.
790         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
791         collect_formal_parameters): Similarly.
792         * cppinit.c (struct pending_option, append_include_chain,
793         cpp_options_init, cpp_reader_init, initialize_standard_includes,
794         cpp_start_read, new_pending_define, handle_option): Similarly.
795         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
796         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
797         do_pragma_implementation, detect_if_not_defined,
798         do_ifdef, skip_if_group, cpp_get_token, parse_string,
799         do_assert, do_unassert): Similarly.
800         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
801         function prototypes.
802         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
803
804 2000-03-10  Richard Henderson  <rth@cygnus.com>
805
806         * builtins.c (expand_builtin_strlen): Revert last change.
807         Use emit_insn_before if we're at the beginning of a sequence.
808
809 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
810
811         * builtins.c (expand_builtin_strlen): Make sure that we have something
812         at the beginning of the sequence.
813
814         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
815         deferred inlines.
816
817         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
818
819 2000-03-10  Richard Henderson  <rth@cygnus.com>
820
821         * except.c (can_throw): Use INTVAL on a CONST_INT.
822         (reachable_handlers): Likewise.
823         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
824
825 2000-03-10  Andreas Jaeger  <aj@suse.de>
826
827         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
828         MD_STARTFILE_PREFIX since those are not needed on linux.
829         (ASM_FILE_START): New, from mips/gnu.h.
830
831 2000-03-09  Richard Henderson  <rth@cygnus.com>
832             Alex Samuel  <samuel@codesourcery.com> and others
833         
834         * Makefile.in (ssa.o): New rule.
835         (OBJS): Add ssa.o.
836         (STAGESTUFF): Add *.ssa and *.ussa.
837         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
838         * rtl.def (PHI): New RTL expression.
839         * rtl.h (clear_log_links): New declaration.
840         (convert_to_ssa): Likewise.
841         (convert_from_ssa): Likewise.
842         * flow.c (split_edge): If the entry node falls through to the
843         split edge's source block, split the entry edge.
844         (clear_log_links): New function.
845         * toplev.c (ssa_dump): New variable.
846         (flag_ssa): Likewise.
847         (f_options): Add "ssa".
848         (compile_file): Create SSA dump files.
849         (rest_of_compilation): Go to and from SSA if enabled.
850         (decide_d_option): Handle -de for SSA dump files.
851         * ssa.c: New file.
852         
853 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
854
855         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
856         same as VAR_DECL.
857
858 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
859
860         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
861
862 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
863
864         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
865         (MD_STARTFILE_PREFIX_1): New macro.
866
867 2000-03-09  Robert Lipe  <robertl@sco.com>
868
869         * config/ia64/ia64.c: Include system.h.
870
871 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
872
873         * except.c (nothrow_function_p): If -fno-exceptions, just return.
874         (init_eh_nesting_info): Likewise.
875
876         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
877         (TREE_NOTHROW): Rename from TREE_RAISES.
878         * toplev.c (rest_of_compilation): Set it.
879         * print-tree.c (print_node): Adjust.
880         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
881         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
882         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
883         REG_EH_REGION note as appropriate.
884         (libfunc_nothrow): New fn.
885         (emit_library_call, emit_library_call_value): Use it.
886         (expand_call): Check TREE_NOTHROW.
887
888         * varasm.c (make_decl_rtl): Skip initial '*' when setting
889         DECL_ASSEMBLER_NAME.
890
891 2000-03-09  Andreas Jaeger  <aj@suse.de>
892
893         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
894         (TARGET_MEM_FUNCTIONS): Define.
895
896 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
897
898         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
899
900         * except.c (can_throw): See through a SEQUENCE.
901         (nothrow_function_p): New fn.
902         * except.h: Declare it.
903         * function.c (current_function_nothrow): New var.
904         (prepare_function_start): Initialize it.
905         * output.h: Declare it.
906         * toplev.c (rest_of_compilation): Set it.
907         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
908
909 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
910
911         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
912         match.  (cpp_compare_defs): Count the nul separator when
913         advancing over argument names.
914
915 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
916
917         * recog.c (preprocess_constraints): Matching constraints affect
918         same alternative/different operand, not same operand/different
919         alternative.
920         
921         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
922         register and a constant specially.
923
924 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
925
926         * libgcc2.h: New file.
927         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
928
929 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
930
931         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
932         * configure: Regenerate.
933         * config/ia64: New.
934
935 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
936
937         * Makefile.in (LIBCPP_DEPS): New macro.
938         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
939         it to declare deps.
940         * cpperror.c: Include cpphash.h.
941         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
942         dingleberry.
943         (lex): Don't use CPP_WARN_UNDEF.
944         (_cpp_parse_expr): Return an int, the truth value.
945         * cppfiles.c: Include cpphash.h.
946         (_cpp_merge_include_chains): Move to cppinit.c and make static.
947         * cppinit.c (include_defaults_array): Disentangle.
948         (cpp_cleanup): Don't free the if stack here.
949         (cpp_finish): Pop off all buffers, not just one.
950         * cpplib.c (eval_if_expr): Return int.
951         (do_xifdef): Rename do_ifdef.
952         (handle_directive): Don't use CPP_PREPROCESSED. 
953         (cpp_get_token): Don't use CPP_C89.
954         * fix-header.c: Don't use CPP_OPTIONS.
955
956         * cpplib.h: Move U_CHAR, enum node_type, struct
957         file_name_list, struct ihash, is_idchar, is_idstart,
958         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
959         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
960         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
961         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
962         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
963         of _cpp_simplify_pathname, _cpp_find_include_file,
964         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
965         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
966         cppinit.c.
967         Change all uses of U_CHAR to be unsigned char instead.
968         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
969
970 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
971
972         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
973         (dwarf2out_begin_prologue): Set it.
974         (output_call_frame_info): Don't emit EH unwind info for leaves.
975
976         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
977         can occur outside of an EH region.
978         * except.c: Correct comments about rethrow behavior.
979         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
980
981 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
982
983         * flow.c (make_edges): Always call make_eh_edge for calls.
984
985 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
986
987         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
988         (struct cpp_buffer): Remove fname and underflow fields.
989         (struct cpp_reader): Remove get_token field.
990         (struct include_hash): Rename to struct ihash.  Add typedef to
991         IHASH.
992         (struct if_stack): Remove fname field.
993         (IF_STACK_FRAME): Rename to IF_STACK.
994
995         * cpperror.c (print_containing_files): Trust that there are no
996         macro buffers below the top file buffer.
997         * cppfiles.c: Replace all references to 'struct include_hash'
998         with 'IHASH'.  Rename initialize_input_buffer to
999         init_input_buffer.  Don't set or reference cpp_buffer->fname,
1000         use buffer->ihash->name instead.
1001         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
1002         not CPP_NULL_BUFFER.
1003         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
1004         IF_STACK_FRAME, IHASH not struct include_hash.
1005         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
1006         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
1007         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
1008         references to cpp_buffer->fname (delete entirely, or use
1009         ->ihash->name instead) and IF_STACK->fname.
1010         (cpp_push_buffer): Don't set new->underflow.
1011         (do_include): Use cpp_file_buffer.
1012
1013         * cpphash.c (collect_formal_parameters): Remove duplicate
1014         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
1015         used as a macro argument name.  Don't append "..." to namebuf
1016         for varargs macros.  After we're done scanning, go through
1017         namebuf and make it NUL separated, not comma separated.
1018         (_cpp_compare_defs): Remove register tag from variables.
1019         Expect defn->argnames to be NUL separated.
1020         (_cpp_dump_definition): Expect defn->argnames to be NUL
1021         separated and in forward order.
1022         * cpphash.h: Update documentation of argnames field.
1023
1024 2000-03-08  Richard Henderson  <rth@cygnus.com>
1025
1026         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
1027         to fail.  Don't pre-expand the source operand.
1028
1029         * i386.md (strlensi): Initialize eoschar and align before use.
1030
1031 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
1032
1033         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
1034         CONSTRUCTOR element.
1035
1036 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
1037
1038         * mips.c (mips_expand_prologue): If the last 
1039         named argument is the vararg marker "va_list", treat it as
1040         an unnamed argument.
1041
1042 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
1043
1044         * dbxout.c (dbxout_parms): When correcting for promoted 
1045         big-endian parameters, use the mode of the DECL_RTL rather 
1046         than UNITS_PER_WORD.
1047
1048 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
1049
1050         * c-common.h (make_fname_decl): Declare.
1051         * c-common.c (make_fname_decl): Define.
1052         (declare_hidden_char_array): Remove.
1053         (declare_function_name): Use make_fname_decl.
1054         * c-decl.c (c_make_fname_decl): New function.
1055         (init_decl_processing): Set make_fname_decl.
1056
1057 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
1058
1059         * cccp.c (handle_directive): Initialize backslash_newlines_p.
1060
1061 2000-03-07  Philipp Thomas  <pthomas@suse.de>
1062
1063         * po/POTFILES.in: Remove cppalloc.c from file list.
1064
1065 2000-03-07  Steve Chamberlain  <sac@pobox.com>
1066
1067         * pj.c (pj_expand_prologue): current_function->args_info is
1068         now current_function_args_info.  
1069
1070         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
1071         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
1072         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
1073
1074 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1075
1076         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
1077         output as hexadecimal rather than the default octal.
1078
1079 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
1080
1081         * cpphash.c (special_symbol): Fix thinko in previous commit.
1082
1083 2000-03-07  Neil Booth  <NeilB@earthling.net>
1084
1085         * cppexp.c (struct operation, left_shift, right_shift,
1086         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
1087         "int"s to "unsigned int"s.
1088         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
1089         Similarly.
1090         * cpplib.h: Update for above.
1091         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
1092         returned from allocations.
1093
1094         * cppinit.c (opt_comp, parse_options): New functions.
1095         (handle_option): Use parse_option to parse a single command
1096         line option, that possibly takes an argument.
1097         (cpp_handle_options): Sort the array of command line options on
1098         first invocation (non-ASCII hosts only).
1099         (print_help): Update.
1100
1101 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
1102
1103         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
1104         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
1105         
1106         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
1107         initialized.
1108         * cppinit.c (cpp_cleanup): Free imp->nshort also.
1109
1110         * cpperror.c (cpp_print_containing_files,
1111         cpp_print_file_and_line, v_cpp_message): Rename to
1112         print_containing_files, print_file_and_line, and v_message.
1113         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
1114         to _cpp_parse_expr, parse_escape, and lex.
1115         (parse_charconst): Remove broken multibyte support.
1116         * cppfiles.c (include_hash): Make static.
1117         (cpp_included): New function.
1118         (merge_include_chains, find_include_file, finclude,
1119         simplify_pathname): Rename to _cpp_merge_include_chains,
1120         _cpp_find_include_file, _cpp_read_include_file, and
1121         _cpp_simplify_pathname.
1122         * cpphash.c (cpp_lookup, free_definition, delete_macro,
1123         cpp_install, create_definition, macroexpand, compare_defs,
1124         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
1125         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
1126         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
1127         * cppinit.c (cpp_handle_option): Rename to handle_option, make
1128         static.
1129         * cpplib.c: Remove extern prototype of cpp_parse_expr.
1130
1131         * cpphash.h: Update prototypes.
1132         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
1133
1134 2000-03-07  Andrew Haley  <aph@cygnus.com>
1135
1136         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
1137         PTRDIFF_TYPE should be based solely on Pmode.
1138         (SIZE_TYPE): ditto.
1139
1140 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1141
1142         * rtl.h (rtunion_def): Constify member `rtstr'.
1143         (emit_line_note_after, emit_line_note, emit_line_note_force,
1144         emit_note, decode_asm_operands): Constify.
1145         
1146         * cse.c (canon_hash): Likewise.
1147
1148         * dbxout.c (dbxout_block): Likewise.
1149
1150         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
1151         v_warning_for_asm): Likewise.
1152
1153         * dwarfout.c (function_start_label): Likewise.
1154
1155         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
1156         emit_line_note_force): Likewise.
1157
1158         * final.c (last_filename, asm_insn_count, final_scan_insn,
1159         output_source_line): Likewise.
1160
1161         * function.h (struct emit_status): Likewise.
1162
1163         * gcse.c (hash_expr_1): Likewise.
1164
1165         * genattr.c (gen_attr, main): Likewise.
1166
1167         * genattrtab.c (struct function_unit, current_alternative_string,
1168         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
1169         attr_numeral, check_attr_test, check_attr_value,
1170         convert_set_attr_alternative, convert_set_attr,
1171         compute_alternative_mask, simplify_by_exploding, gen_attr,
1172         gen_unit): Likewise.
1173
1174         * genflags.c (gen_insn): Likewise.
1175
1176         * gengenrtl.c (type_from_format): Likewise.
1177
1178         * genopinit.c (gen_insn): Likewise.
1179
1180         * genoutput.c (n_occurrences, process_template, process_template):
1181         Likewise.
1182
1183         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
1184         Likewise.
1185
1186         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
1187         Likewise.
1188
1189         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
1190         ggc_set_mark, ggc_get_size): Likewise.
1191
1192         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
1193
1194         * optabs.c (init_one_libfunc): Likewise.
1195
1196         * output.h (assemble_start_function): Likewise.
1197
1198         * recog.c (decode_asm_operands): Likewise.
1199
1200         * toplev.c (rest_of_compilation): Likewise.
1201
1202         * tree.h (emit_line_note_after, emit_line_note,
1203         emit_line_note_force): Likewise.
1204
1205         * varasm.c (asm_output_bss, asm_output_aligned_bss,
1206         asm_emit_uninitialised, assemble_start_function,
1207         assemble_variable, const_hash, compare_constant_1,
1208         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
1209
1210         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
1211
1212         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
1213
1214         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
1215
1216         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
1217
1218         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
1219         arm_dllimport_name_p): Likewise.
1220
1221         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
1222         Likewise.
1223
1224         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
1225
1226         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1227
1228         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
1229         arm_mark_dllexport, arm_mark_dllimport,
1230         arm_pe_encode_section_info): Likewise.
1231
1232         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
1233         ASM_FINISH_DECLARE_OBJECT): Likewise.
1234
1235         * arm/thumb.c (thumb_function_prologue): Likewise.
1236
1237         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
1238
1239         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1240
1241         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
1242
1243         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
1244
1245         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
1246
1247         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1248
1249         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
1250         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
1251
1252         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
1253
1254         * i386/i386.c (asm_output_function_prefix): Likewise.
1255
1256         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
1257
1258         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1259
1260         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
1261
1262         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
1263         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
1264         ASM_OUTPUT_SECTION_NAME): Likewise.
1265
1266         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
1267
1268         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
1269
1270         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
1271
1272         * m32r/m32r.c (m32r_encode_section_info): Likewise.
1273
1274         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1275
1276         * mcore/mcore.c (mcore_encode_section_info): Likewise.
1277
1278         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1279
1280         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1281
1282         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1283
1284         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
1285
1286         * mips/mips.md (movdi, movsi): Likewise.
1287
1288         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1289
1290         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1291
1292         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1293
1294         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
1295         ASM_OUTPUT_ASCII): Likewise.
1296
1297         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
1298         output_mi_thunk, output_toc): Likewise.
1299
1300         * rs6000/rs6000.md (movsi): Likewise.
1301
1302         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
1303
1304         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
1305
1306         * v850/v850.c (print_operand, print_operand_address,
1307         v850_encode_data_area): Likewise.
1308
1309 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
1310         
1311         * config/mips/mips.md (zero_extendsidi2): Always force operand
1312         one to memory for mips16.
1313
1314 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1315
1316         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
1317         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
1318         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
1319         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
1320         (min_precision): Result is unsigned.
1321         (add_double, neg_double, mul_double): Low word is unsigned.
1322         (lshift_double, rshift_double, lrotate_double): Likewise.
1323         (rrotate_double, div_and_round_double): Likewise.
1324         (tree_floor_log2, compare_tree_int): New functions.
1325         (preserve_rtl_expr_temps): New declaration.
1326         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
1327         (decl_attributes): Use tree_log2 to find alignment.
1328         Check for TREE_INT_CST_HIGH for format args.
1329         (min_precision): Now unsigned.
1330         Use tree_floor_log2.
1331         (truthvalue_conversion): Delete long-disabled code.
1332         * c-decl.c (finish_struct): Clean up tests on field width.
1333         (finish_function): Use compare_tree_int.
1334         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
1335         * c-typeck.c (comptypes): Use tree_int_cst_equal.
1336         (default_conversion, digest_init): Use compare_tree_int.
1337         (build_binary_op): Use integer_all_onesp and compare_tree_int.
1338         Fix type errors in forming masks.
1339         * calls.c (initialize_argument_information): Use compare_tree_int.
1340         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
1341         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
1342         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
1343         (store_field): Use compare_tree_int.
1344         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
1345         (expand_expr, case ARRAY_REF): Use compare_tree_int.
1346         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
1347         (do_store_flag): Use compare_tree_int.
1348         * fold-const.c (encode, decode): Low part is always unsigned.
1349         (force_fit_type, add_double, neg_double, mul_double): Likewise.
1350         (lshift_double, rshift_double, lrotate_double): Likewise.
1351         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
1352         (fold_convert): Use compare_tree_int.
1353         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
1354         (invert_truthvalue, case INTEGER_CST): Likewise.
1355         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
1356         * mkdeps.c (deps_dummy_targets): Make I unsigned.
1357         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
1358         (lshift_double, rshift_double, lrotate_double, rrotate_double):
1359         Likewise.
1360         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
1361         (expand_end_case): Use compare_tree_int.
1362         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
1363         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
1364         (layout_decl): Likewise.
1365         (layout_record, layout_union): Make sizes unsigned.
1366         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
1367         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
1368         * tree.c (struct type_hash): hashcode is unsigned.
1369         (build_type_attribute_variant, type_hash_list): Likewise.
1370         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
1371         (attribute_hash_list, build_array_type, build_method_type): Likewise.
1372         (build_complex_type): Likewise.
1373         (real_value_from_int_cst): Remove unneeded casts.
1374         (integer_all_onesp): Add casts.
1375         (tree_floor_log2, compare_tree_int): New functions.
1376         (build_index_type): Use tree_int_cst_sgn.
1377         * varasm.c (assemble_variable): Use compare_tree_int.
1378
1379 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
1380
1381         * cpphash.c (collect_expansion): Also catch ## at start of macro.
1382
1383         * varasm.c (make_decl_rtl): Don't add a number to members of
1384         local classes.
1385         (make_function_rtl): Likewise.
1386
1387 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1388
1389         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
1390         patch from 2000-01-28.
1391
1392 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
1393
1394         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
1395         filled with an insn from the jump target.
1396
1397 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1398
1399         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
1400         (c4x_external_ref): Likewise.
1401         * config/c4x/c4x.c (struct name_list): Likewise.
1402
1403 1999-12-16  Ben Collins  <bcollins@debian.org>
1404
1405         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
1406         argument to genmultilib.
1407         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
1408         the contents into the multilib.h header.
1409         * gcc.c: Declare multilib_exclusions for the specs file.
1410         (set_multilib_dir): Use it.
1411         (print_multilib_info): Likewise.
1412         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
1413         to pass to genmultilib.
1414
1415 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1416
1417         * builtins.c (built_in_class_names, built_in_names): Constify a
1418         char*.
1419
1420         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
1421         int.
1422         (_mcleanup): Ensure value matches format specifier in sprintf.
1423
1424         * cpphash.c (special_symbol): Don't needlessly cast away
1425         const-ness.
1426
1427         * cppinit.c (base_name): Delete unused prototype.
1428
1429         * mkdeps.c (deps_init): Make definition K&R safe.
1430
1431         * tree.h (built_in_class_names, built_in_names): Constify a
1432         char*.
1433
1434 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
1435
1436         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
1437         floating point instructions for epilogue delay.
1438
1439         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
1440         to gas if it supports .register pseudo.
1441
1442         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
1443         LONG_DOUBLE_TYPE_SIZE if not defined.
1444         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
1445         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
1446         * real.c: Likewise.
1447         * gengenrtl.c: Likewise.
1448         * print-rtl.c: Likewise.
1449         * rtl.c: Likewise.
1450         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
1451         MASK_LONG_DOUBLE_128.
1452         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
1453         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
1454         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
1455         (SUBTARGET_SWITCHES): Define.
1456         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
1457         with -mlong-double-128.
1458         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
1459         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
1460         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
1461         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
1462         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
1463         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
1464         with -mlong-double-128.
1465         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
1466         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
1467         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
1468         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
1469         TARGET_LONG_DOUBLE_128): Define.
1470         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
1471         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
1472         long double on TARGET_ARCH64.
1473
1474 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
1475
1476         * function.c (free_temps_for_rtl_expr): Don't free slots
1477         that have been pushed into a higher level.
1478         
1479         Revert this patch:
1480         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
1481
1482 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
1483
1484         * basic-block.h (ALLOCA_REG_SET): Remove.
1485         (INITIALIZE_REG_SET): New macro.
1486         * flow.c (update_life_info): Use it.
1487         (calculate_global_regs_live): Likewise.
1488         (propagate_block): Likewise.
1489         * global.c (build_insn_chain): Likewise.
1490         * haifa-sched.c (schedule_region): Likewise.
1491
1492 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
1493
1494         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
1495         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
1496         (DWARF_ARANGES_PAD_SIZE): New define.
1497         (output_aranges): Use it to pad the address range header.
1498         (DWARF_ROUND): Fix for non power of 2 rounding.
1499
1500 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
1501
1502         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
1503
1504 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
1505
1506         * tree.def (RTL_EXPR): Update documentation.
1507         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
1508         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
1509         * function.c (preserve_rtl_expr_temp): New function.
1510         (preserve_rtl_expr_temps): Likewise.
1511         (preserve_rtl_expr_result): Use it.
1512
1513         Revert this patch:
1514         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
1515
1516 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
1517
1518         * regmove.c (copy_src_to_dest)  Do not create src->dest move
1519         for unchanging destination.
1520
1521 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
1522
1523         * function.h (struct sequence_stack): Remove rtl_expr.
1524         (struct emit_staus): Likewise.
1525         (seq_rtl_expr): Remove.
1526         * tree.h (free_temps_for_rtl_expr): Don't declare.
1527         (start_sequence_for_rtl_expr): Likewise.
1528         * rtl.h (preserve_rtl_expr_result): Likewise.
1529         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
1530         (start_sequence_for_rtl_expr): Remove.
1531         (push_topmost_sequence): Don't save sequence_rtl_expr.
1532         (pop_topmost_sequence): Remove comment about not restoring it.
1533         (end_sequence): Don't set seq_rtl_expr.
1534         (init_emit): Don't initialize it.
1535         (mark_sequence_stack): Don't mark it.
1536         (mark_emit_status): Likewise.
1537         * except.c (protect_with_terminate): Use
1538         start_sequence_for_rtl_expr, not start_sequence.
1539         * expr.c (expand_expr, case RTL_EXPR): Don't call
1540         preserve_rtl_expr_result or free_temps_for_rtl_expr.
1541         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
1542         (preserve_rtl_expr_result): Remove.
1543         (free_temps_for_rtl_expr): Likewise.
1544         (pop_temp_slots): Likewise.
1545         (mark_temp_slot): Don't mark the rtl_expr.
1546         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
1547         start_sequence_for_rtl_expr.
1548         
1549 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
1550
1551         * mkdeps.c, mkdeps.h: New files.
1552         * po/POTFILES.in: Add them.
1553         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
1554         (cpplib.o, cppinit.o): Depend on mkdeps.h.
1555         (mkdeps.o): New target.
1556
1557         * cppfiles.c: Delete deps_output.
1558         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
1559         OBJECT_SUFFIX, and base_name.
1560         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
1561         the include hash.
1562         (initialize_dependency_output): Use deps_init,
1563         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
1564         all the unnecessary string bashing.
1565         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
1566         level.
1567         * cpplib.c (do_include): Use deps_add_dep.
1568         * cpplib.h (struct cpp_reader): Replace deps_buffer,
1569         deps_allocated_size, deps_size, deps_column members with
1570         single pointer to a struct deps.  Delete prototype of
1571         deps_output.
1572
1573         * cppinit.c: Fix thinko in previous patch.
1574
1575 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1576
1577         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
1578         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
1579         (mode_for_size_tree): New function.
1580         (layout_decl, layout_type): Call it and clean up BLKmode checks.
1581         * tree.h (mode_for_size_tree): New declaration.
1582         
1583         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
1584
1585 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
1586
1587         * stmt.c (is_body_block): Move...
1588         * dwarfout.c, dwarf2out.c: ...from here.
1589         * tree.h: Declare it.
1590         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
1591         * final.c (final_start_function): Do call remove_unnecessary_notes
1592         when scheduling.
1593
1594 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
1595
1596         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
1597         
1598         * cpplib.h (_dollar_ok): New macro.
1599         (is_idchar, is_idstart): Use it.
1600         (IStable): Rename to _cpp_IStable.  Declare it const if
1601         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
1602         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
1603         is_space): Update for renamed IStable.
1604
1605         * cppinit.c: Delete all references to FAKE_CONST and CAT
1606         macros. Define init_IStable as empty macro if gcc >=2.7 or
1607         C99. Change TABLE() to ISTABLE and hardcode name of table.
1608         (cpp_start_read): Don't change the IStable based on
1609         dollars_in_ident.
1610
1611         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
1612         changed.  Handle '$' for char1 correctly.
1613         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
1614
1615         * cppexp.c (tokentab2): Make const.
1616         (cpp_lex): Make toktab const.
1617         * cppinit.c (include_defaults_array): Make const.
1618         (initialize_standard_includes): Make default_include const.
1619
1620 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
1621
1622         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
1623         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
1624         (gen_decl_die): Likewise.
1625         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
1626         (output_decl): Likewise.
1627
1628         * varasm.c (make_function_rtl): If we change the name used in the
1629         rtl, update DECL_ASSEMBLER_NAME accordingly.
1630         (make_decl_rtl): Likewise.
1631
1632         * toplev.c (rest_of_compilation): Tweak formatting.
1633
1634         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
1635         remove_unnecessary_notes.
1636         (debug_ignore_block): New fn.
1637         * toplev.h: Declare it.
1638         * emit-rtl.c (remove_unncessary_notes): Call it.
1639         * dwarf2out.c (dwarf2out_ignore_block): New fn.
1640         * dwarf2out.h: Declare it.
1641         * final.c (final_start_function): Don't call remove_unnecessary_notes
1642         if we did insn scheduling.
1643
1644 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
1645
1646         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
1647         * cpplib.h: Delete SET_CPP_PEDANTIC.
1648
1649 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1650
1651         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
1652         result is a RECORD_TYPE.
1653
1654 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1655
1656         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
1657
1658 2000-03-03  Richard Henderson  <rth@cygnus.com>
1659
1660         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
1661         addition over compliments over shifts.
1662
1663 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1664
1665         * reload1.c (reload_combine_note_use): Handle return register USEs.
1666         REG case: Handle multi-hard-register hard regs.
1667
1668 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1669
1670         * md.texi: Document use of '*' in insn pattern name.
1671
1672 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
1673
1674         * calls.c (special_function_p): operator new may not be malloc-like.
1675
1676         * gcse.c (dump_hash_table): Really fix error in last change.
1677
1678 2000-03-02  Denis Chertykov  <denisc@overta.ru>
1679
1680         * avr.c (print_operand): Use print_operand_address instead of
1681         output_addr_const.
1682         * avr/libgcc.S: Cleanup code.
1683
1684 2000-03-02  Richard Henderson  <rth@cygnus.com>
1685
1686         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
1687
1688 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
1689
1690         * tree.h (TYPE_ALIGN_UNIT): New macro.
1691
1692 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
1693
1694         * i386.c: (constant_call_address_operand): Reject CONST_INT.
1695
1696 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
1697
1698         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
1699         for the buffer.
1700         (SET_CPP_PEDANTIC): New macro.
1701         * cpplib.c (do_include): Don't bother checking system_header_p.
1702         (do_warning, do_ident, do_assert, do_unassert): Likewise.
1703         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
1704
1705         * function.h (struct expr_status): Add x_arg_space_so_far.
1706         (arg_space_so_far): New macro.
1707         * expr.c (init_expr): Initialize it.
1708         * calls.c (emit_call_1): Reset it.
1709         (compute_argument_block_size, expand_call): Use it.
1710         (expand_call, store_one_arg): Increment it.
1711
1712 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1713
1714         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
1715         a UNION_TYPE.
1716
1717 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
1718
1719         * cppfiles.c (cpp_read_file): New function.
1720
1721         * cpphash.c (collect_expansion): Make sure to reset last_token
1722         to NORM when we hit a string.  Handle trailing whitespace
1723         properly when the expansion is empty.
1724         (create_definition): Disable line commands while parsing the
1725         directive line.
1726         (dump_definition): If pfile->lineno == 0, output a line
1727         command ahead of the dump, and add a trailing newline.
1728
1729         * cppinit.c (append_include_chain): Add fifth argument, which
1730         indicates whether or not system headers are C++ aware.
1731         (initialize_standard_includes): New function,
1732         broken out of read_and_prescan.  Pass 'cxx_aware' value from
1733         the include_defaults_array on to append_include_chain.
1734         (dump_special_to_buffer): Const-ify char array.
1735         (builtin_array): Don't dump __BASE_FILE__.
1736         (cpp_start_read): Use cpp_read_file.  Reorder code for
1737         clarity.  Don't output line commands here for -D/-A/-U
1738         switches.  Don't call deps_output for files included with
1739         -include or -imacros.
1740
1741         * cpplib.c (do_define): Don't pay any attention to the second
1742         argument.
1743         (cpp_expand_to_buffer): Disable line commands while scanning.
1744         (output_line_command): Work in the file buffer.
1745         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
1746         Fix formatting of comments.  Prototype cpp_read_file.
1747
1748 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1749
1750         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
1751         reference the language-equivalent of sizetype.
1752         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
1753         * fold-const.c (size_binop, size_diffop): Put back checks.
1754         * gcse.c (dump_hash_table): Fix minor error in last change.
1755         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
1756         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
1757         all sizetypes.
1758
1759 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
1760
1761         * calls.c (expand_call)  Do not attempt to combine stack adjustments
1762         with inhibit_defer_pop set.
1763
1764 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
1765
1766         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
1767         the DECL_SIZE for a FIELD_DECL.
1768
1769 2000-03-01  Bruce Korb  <bkorb@gnu.org>
1770
1771         * fixinc/inclhack.tpl: remove unused symlinks
1772         * fixinc/README: GCC Maintainer info
1773         * fixinc/inclhack.sh: regen
1774         * fixinc/fixincl.sh: regen
1775
1776 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
1777
1778         * cpphash.c (collect_expansion): Trim trailing white space
1779         from macro definitions, but don't go past the last insertion
1780         point.
1781
1782 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
1783
1784         * i386.md (mulqi3): New pattern.
1785
1786 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
1787
1788         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
1789         token types.
1790         (struct cpp_reader): Add parsing_if_directive and
1791         parsing_define_directive flags.               
1792         (struct cpp_options): Remove output_conditionals flag.
1793         (check_macro_name): Delete prototype.
1794
1795         * cpphash.h (struct macrodef): Delete.
1796         (struct reflist): Separate from struct definition.
1797         (struct definition): Remove unused fields.  Add column number.
1798         (create_definition): Returns a DEFINITION *.  Takes a
1799         cpp_reader * and an int.
1800
1801         * cpphash.c (SKIP_WHITE_SPACE): Delete.
1802         (PEEKC): Copy defn from cpplib.c.
1803         (rest_extension, REST_EXTENSION_LENGTH): Delete.
1804         (struct arg): New.
1805         (struct arglist): Simplify.
1806         (collect_expansion): Rewrite.  Get tokens by calling
1807         cpp_get_token.  Add more error checking.
1808         (collect_formal_parameters): New function, broken out of
1809         create_definition and reworked to use get_directive_token.
1810         (create_definition): All real work is now in collect_expansion
1811         and collect_formal_parameters.  do_define handles finding the
1812         macro name.  Return a DEFINITION, not a MACRODEF.
1813         (macroexpand): Replace bcopy with memcpy throughout.  Replace
1814         character-at-a-time copy loop with memcpy and pointer increments.
1815         (compare-defs): d1->argnames / d2->argnames might be null.
1816
1817         * cpplib.c (copy_rest_of_line): Delete function.
1818         (skip_rest_of_line): Do all the work ourselves.
1819         (skip_string): New function.
1820         (parse_string): Use skip_string.
1821         (get_macro_name): New function.
1822         (check_macro_name): Delete.
1823         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
1824         (cpp_skip_hspace): Use CPP_BUMP_LINE.
1825         (handle_directive): ICE if we're called on a macro buffer.
1826         (do_define): Determine macro name and type (funlike/objlike)
1827         here.  Expunge all uses of MACRODEF.
1828         (cpp_push_buffer): Set line_base to NULL.
1829         (do_undef, read_line_number): Don't worry about getting a POP token.
1830         (eval_if_expression): Set/reset parsing_if_directive around
1831         cpp_parse_expr. Don't clear only_seen_white.
1832         (skip_if_group): Remove output_conditionals logic.  Use
1833         skip_rest_of_line.
1834         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
1835         tokens under appropriate conditions.
1836         (cpp_unassert): Call do_unassert not do_assert.  Oops.
1837
1838         * cppexp.c (parse_defined): New function, break out of
1839         cpp_lex.
1840         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
1841         ourselves, with cpp_defined.
1842         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
1843
1844         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
1845         * gcc.dg/strpaste-2.c: New.
1846
1847 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
1848
1849         * fold-const.c (size_binop): Don't asert inputs are the same and
1850         have TYPE_IS_SIZETYPE set.
1851         (size_diffop): Likewise.
1852
1853 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
1854
1855         * dwarfout.c (output_block): Output abstract blocks even if they
1856         don't have TREE_ASM_WRITTEN set.
1857
1858         * calls.c (emit_library_call): Check for null REG.
1859
1860 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
1861
1862         * c-decl.c (current_function_decl): Move to toplev.c.
1863         (init_decl_processing): Don't add current_function_decl as a ggc
1864         root here.
1865         * dbxout.c (dbxout_symbol): Change return type to int.
1866         (dbxout_symbol_location, dbxout_syms): Likewise.
1867         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
1868         any locals. Use current_function_func_begin_label if set.
1869         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
1870         * dwarf2out.c (dwarf2out_begin_prologue): Set
1871         current_function_func_begin_label.
1872         * final.c (final_start_function): Reset it.
1873         * toplev.c (current_function_decl): Define it here.
1874         (current_function_func_begin_label): New variable.
1875         (main): Add both as ggc roots.
1876         * tree.h (current_function_func_begin_label): Declare.
1877
1878 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1879
1880         * gcse.c: Cleanups throughout: mostly white-space, but also
1881         some minor rearrangement of code.
1882
1883 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
1884
1885         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
1886         returns a PARALLEL.  Use emit_group_load and use_group_regs
1887         as needed.  
1888         (emit_library_call_value): Similarly.
1889
1890         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
1891         * pa/quadlib.asm: Remove.
1892         * pa/quadlib.c: New file.
1893
1894         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
1895         * configure: Rebuilt.
1896
1897 2000-02-29  Philip Blundell  <pb@futuretv.com>
1898
1899         * config/arm/conix-elf.h: New file.
1900         * configure.in (arm*-*-conix*): New configuration.
1901         * configure: Regenerate.
1902
1903 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
1904
1905         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
1906         don't have TREE_ASM_WRITTEN set.
1907
1908 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1909
1910         * Eliminate DECL_FIELD_SIZE.
1911         * builtins.c (built_in_class_names, built_in_names): New variables.
1912         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
1913         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
1914         DECL_SIZE, not DECL_FIELD_SIZE.
1915         * print-tree.c (print_node): Remove code that prints extra blank
1916         lines in some cases.
1917         Properly handle inline and builtin function cases.
1918         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
1919         * tree.h (built_in_class_named, built_in_names): New declarations.
1920         (union tree_decl): Rename internal unions to u1 and u2 and change
1921         some of their components.
1922         Add new field built_in_class.
1923         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
1924         Reflect above changes.
1925         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
1926         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
1927         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
1928         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
1929
1930 2000-02-28  Dmitri Makarov  <dim@windriver.com>
1931
1932         * extend.texi: Document ARM's support for long/short calls.
1933
1934         * invoke.texi: Document ARM's -mlong-calls command line switch.
1935         
1936         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
1937         (arm_encode_call_attribute): Add prototype.
1938         (arm_set_default_type_attribute): Add prototype.
1939         (arm_strip_name_encoding): Add prototype.
1940
1941         * config/arm/arm.c (arm_init_cumulative_args): replace
1942         initialisation og 'long_calls' field with initialisation of
1943         'call_cookie' field.
1944         (enum arm_pragma_enum): New enum.
1945         (arm_pragma_long_calls): New static variable.
1946         (arm_process_pragma): Also process "#pragma long_calls_off".
1947         (arm_valid_type_attribute_p): Accept short_call attribute.
1948         (arm_comp_type_attributes): Check long/short call attributes.
1949         (arm_encode_call_attribute):  New function:  Encode long_call
1950         or short_call attribute in function name.
1951         (arm_set_default_type_attributes): New function: Assign
1952         default attributes to newly defined type.
1953         (current_file_function_operand): New function: Return true if
1954         the symbol is a function which has already been compiled.
1955         (arm_is_longcall_p): New function: Return true if the
1956         indicated function should be called via a long call.
1957         (arm_get_strip_length): New function.  Returns number of
1958         prefix characters to be stripped from a function's name.
1959         (arm_strip_name_encoding): New function.  Strip prefix characters
1960         from a function's name.
1961
1962         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
1963         with 'call_cookie'.
1964         (SHORT_CALL_FAG_CHAR): Define.
1965         (LONG_CALL_FAG_CHAR): Define.
1966         (ENCODED_SHORT_CALL_ATTR_P): Define.
1967         (ENCODED_LONG_CALL_ATTR_P): Define.
1968         (ARM_NAME_ENCODING_LENGTHS): Define.
1969         (STRIP_NAME_ENCODING): Define.
1970         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
1971         (ARM_ENCODE_CALL_TYPE): Define.
1972         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
1973         (ARM_DECLARE_FUNCTION_SIZE): Define.
1974         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
1975
1976         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
1977         if a long call is needed.
1978         (call_value): Ditto.
1979         (call_symbol): Ditto.
1980
1981         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
1982         ARM_DECLARE_FUNCTION_SIZE.
1983
1984         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
1985         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
1986         (ARM_STRIP_NAME_ENCODING): Undefine.
1987         (STRIP_NAME_ENCODING): Undefine.
1988         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
1989         (ASM_DECLARE_FUNCTION_NAME): Ditto.
1990         (ASM_OUTPUT_COMMON): Ditto.
1991         (ASM_DECLARE_OBJECT_NAME): Ditto.
1992
1993         * config/arm/pe.c (arm_dllexport_name_p): Check for
1994         ARM_PE_FLAG_CHAR.
1995         (arm_dllimport_name_p): Ditto.
1996         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
1997         (arm_mark_dllimport): Ditto.
1998         
1999 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2000
2001         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
2002
2003 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
2004
2005         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
2006
2007 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
2008
2009         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
2010         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
2011         NO_BUILTIN_WCHAR_TYPE is not defined.
2012         (CPP_WCHAR_TYPE): Delete.
2013         * cccp.c (main): Don't change wchar_type if cplusplus.
2014         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
2015
2016 2000-02-28  Nick Clifton  <nickc@cygnus.com>
2017
2018         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
2019
2020 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
2021
2022         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
2023         (ASM_WEAKEN_LABEL): Define.
2024  
2025 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
2026
2027         * expr.c (store_constructor): Do not emit USE.
2028         * rtl.h (stupid_life_analysis): Remove.
2029
2030 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2031
2032         * function.c (number_blocks): Reset next_block_index based on
2033         what debugging format is used, not what is defined.
2034         
2035         * lcm.c: Minor reformatting throughout.
2036         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
2037         
2038         * toplev.c (rest_of_compilation): Account for time in
2039         optimize_mode_switching.
2040
2041         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
2042         if only marking labels.
2043
2044 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
2045
2046         * calls.c (expand_call): Attempt to combine stack adjustments with
2047         pending stack adjustments.
2048
2049 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2050
2051         * loop.c (reg_in_basic_block_p): Don't abort when falling through
2052         to the end of the function.
2053
2054 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
2055
2056         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
2057         blocks.
2058         * final.c (next_block_index): Remove.
2059         (max_block_depth): Likewise.
2060         (pending_blocks): Likewise.
2061         (init_final): Don't initialize them.
2062         (final_start_function): Don't set next_block_index.  Set up
2063         BLOCK_NUMBER.
2064         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
2065         * function.h (number_blocks): New function.
2066         * function.c (get_block_vector): New function.
2067         (identify_blocks): Use it.
2068         (reorder_blocks): Set NOTE_BLOCK.
2069         (number_blocks): New function.
2070         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
2071         * tree.h (BLOCK_NUMBER): New macro.
2072         (tree_block): Add block_num field.
2073         * dbxout.c (next_block_number): Remove.
2074         (dbxout_init): Don't set it.
2075         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
2076         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
2077         block numbers.
2078         * toplev.c (rest_of_compilation): Always call
2079         find_loop_tree_blocks.  Fix indentation.
2080         * dwarf2out.c (next_block_number): Remove.
2081         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
2082         to determine block numbers.
2083         (gen_inlined_subroutine_die): Likewise.
2084         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
2085         (decls_for_scope): Don't increment next_block_number.
2086         * dwarfout.c (next_block_number): Remove.
2087         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
2088         to determine block numbers. 
2089         (output_inlined_subroutine_die): Likewise.
2090         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
2091         (output_decls_for_scope): Don't increment next_block_number.
2092         * sdbout.c (next_block_number): Remove.
2093         (sdbout_block): Use BLOCK_NUMBER.
2094         (sdbout_begin_block): Simplify.
2095         * xcoffout.c (next_block_number): Remove.
2096         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
2097         (xcoffout_begin_block): Don't set next_block_number.
2098         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
2099         next_block_number.
2100         
2101 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2102
2103         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
2104         (expand_builtin_strcpy): Pass correct type to size_binop.
2105         (expand_builtin_strcmp): Likewise.
2106         Clean up conditional structure.
2107         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
2108         (complete_array_type): Don't use size_binop for MAXINDEX.
2109         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
2110         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
2111         (c_alignof): Use size_one_node.
2112         (build_unary_op): Pass arg of proper type to size_binop.
2113         (really_start_incremental_init, push_init_level): Use sizetype for
2114         constructor{,_bit,_unfilled}_index.
2115         (pop_init_label, output_init_element): Likewise.
2116         (output_pending_init_elements, process_init_element): Likewise.
2117         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
2118         * expr.c (store_expr): Use size_int.
2119         (store_constructor): Use proper types for size_binop args.
2120         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
2121         (expand_expr_unaligned): Likewise.
2122         (string_contant): Return object of sizetype.
2123         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
2124         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
2125         (ARGS_SIZE_TREE): Pass proper types to size_binop.
2126         * fold-const.c (int_const_binop): Refine when size_int is called.
2127         (fold_convert): Likewise.
2128         (size_int_wide): Rework to take KIND as arg, only take low order
2129         bits, handle new sizetype_tab datatype, and chain entries in
2130         size_table.
2131         (size_int_type_wide): New function.
2132         (size_binop): Validate types of arguments.
2133         (ssize_binop): Deleted.
2134         (size_diffop): New function.
2135         (extract_muldiv): Only fold division into multiplication for sizetypes.
2136         * function.c (assign_parms): Use size_diffop and make sure
2137         VAR field is of ssizetype; also pass proper type to size_binop.
2138         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
2139         (round_down): Deleted from here.
2140         * store-layout.c (sizetype_tab): Now an array.
2141         (sizetype_set, early_root_list): New variables.
2142         (variable_size): Use size_one_node.
2143         (round_up): Pass proper type to size_binop.
2144         (round_down): Moved to here and corrected as above.
2145         (layout_record): Pass proper arg types to size_binop.
2146         (layout_type): Likewise.
2147         If sizetype_set is zero, record the type just laid out.
2148         (make_unsigned_type): Don't call set_sizetype;
2149         (make_signed_type): Likewise; also, call fixup_signed_type.
2150         (initialize_sizetypes): New function.
2151         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
2152         set name of bitsizetype to "bit_size_type".
2153         Fix up type of sizes of all types made before call.
2154         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
2155         * tree.c (fix_sizetype): Deleted.
2156         (build_common_tree_nodes): Call initialize_sizetypes.
2157         (build_common_tree_nodes_2): Don't call fix_sizetype.
2158         * tree.h (TYPE_IS_SIZETYPE): New macro.
2159         (initialize_sizetype): New declaration.
2160         (enum size_type_kind): New type.
2161         (struct sizetype_tab): Deleted.
2162         (sizetype_tab): Now array; adjust sizetype macros.
2163         (size_diffop, size_int_type_wide): New functions.
2164         (size_int_wide): Change number of args and type; access macros changed.
2165         (ssize_int, sbitsize_int): New macros.
2166         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
2167         (ROUND_TYPE_SIZE_UNIT): New macro.
2168
2169 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
2170
2171         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
2172
2173 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2174
2175         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
2176         Mark as possibly unused.
2177
2178         * cse.c (cse_insn): Delete dead code involving tablejump.
2179         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
2180
2181         * Makefile.in (libcpp.a): Start by deleting it.
2182
2183 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2184
2185         * cpplib.h (enum file_change_code): Added rename_file.
2186         * cpplib.c (do_line): If a filename is given, set file_change to
2187         rename_file.
2188         (output_line_command): If file_change is rename_file, always
2189         output a # directive with the file name.
2190
2191         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
2192
2193 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
2194
2195         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
2196         when copying a PARM_DECL or RESULT_DECL.
2197
2198 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2199
2200         * fix-header.c (recognized_function): Also fix prototypes for
2201         functions taking "void".
2202
2203 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
2204
2205         * reload1.c (do_output_reload): Check reg_reloaded_valid before
2206         looking at reg_reloaded_contents.
2207
2208 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
2209
2210         * Makefile.in (STMP_FIXINC): New toggle.
2211         (LIBGCC2_DEPS): Delete all references.
2212         (stmp-headers): Delete target.  All references either deleted
2213         or changed to stmp-int-headers.
2214         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
2215         (LIBCPP_OBJS): Take out cppalloc.o.
2216         (cppalloc.o): Delete target.
2217         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
2218         (gen-protos, fix-header): Link with libiberty.a.
2219         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
2220         to empty.
2221
2222         * configure.in: Remove refs to strerror.
2223         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
2224         * system.h: Take out strerror stanza.
2225
2226         * cpperror.c (my_strerror): Delete function.
2227         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
2228         * cppmain.c (main): Call xmalloc_set_program_name first thing.
2229         * cppalloc.c: Delete file.
2230         * gen-protos.c: Don't provide xrealloc.
2231
2232         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
2233         xstrerror throughout.
2234
2235 2000-02-26  Bruce Korb  <bkorb@gnu.org>
2236
2237         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
2238         match for DOS headers, too.
2239         * fixinc/inclhack.sh,fixincl.x: Regenerate.
2240
2241 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
2242
2243         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
2244         is right for most ELF targets.
2245         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
2246         Let the default file use %U properly.
2247         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
2248         default.
2249
2250         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
2251         numbers.
2252
2253 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2254
2255         * toplev.c (documented_lang_options): Correct spelling error.
2256         (decode_d_option, decode_f_option, main): Likewise.
2257
2258         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
2259
2260         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
2261         to tell assembler it is permitted to expand large constants.
2262
2263 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
2264
2265         * protoize.c: (AUX_INFO_SUFFIX): New macro.
2266         (aux_info_suffix): Use.
2267         (SAVE_SUFFIX): New macro.
2268         (save_suffix): Use.
2269         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
2270         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
2271         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
2272
2273         * invoke.texi (Running Protoize): Update documentation.
2274
2275 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
2276
2277         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
2278
2279 2000-02-25  John Wehle  (john@feith.com)
2280
2281         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
2282
2283 2000-02-25  Anthony Green  <green@cygnus.com>
2284
2285         * toplev.c (rest_of_compilation): Rebuild jump labels if
2286         combine_instructions has created a new direct jump.
2287         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
2288         when appropriate.
2289         (combine_instructions): Call try_combine with new argument.
2290         Return non-null value when new direct jump instruction is created.
2291         * rtl.h: combine_instructions returns an int.
2292
2293 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
2294
2295         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
2296         jump when changing a computed jump into a jump to a known
2297         target.
2298
2299 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
2300
2301         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
2302         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
2303
2304         * i386.md (define_expand "clrstrsi"): Fix typo.
2305
2306 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
2307
2308         * rtl.texi: Fix typo.
2309
2310 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2311
2312         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
2313         UNITS_PER_WORD.  Change caller initial_elimination_offset.
2314         (rounded_frame_size): Take into account that argument pushed has
2315         changed.  Fix TARGET_ALIGN_DOUBLE problem.
2316
2317 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
2318
2319         * haifa-sched.c (schedule_block): Explain the real reason
2320         we delete REG_SAVE_NOTEs on the first insn of a block.
2321         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
2322
2323 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
2324
2325         * input.h (push_srcloc): New function.
2326         (pop_srcloc): Likewise.
2327         * toplev.c (push_srcloc): Define it.
2328         (pop_srcloc): Likewise.
2329
2330 2000-02-24  Richard Henderson  <rth@cygnus.com>
2331
2332         * flow.c (life_analysis): When collecting reg info, clear
2333         regs_ever_live.
2334
2335 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2336
2337         Fix bug exposed by reload.c no longer rounding the frame
2338         size to BIGGEST_ALIGNMENT:
2339         * sh.c (rounded_frame_size): New function.
2340         (sh_expand_prologue, sh_expand_epilogue): Use it.
2341         (initial_elimination_offset): Likewise.
2342
2343 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2344
2345         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
2346         * sh-protos.h (sh_need_epilogue): Declare.
2347         * sh.c (sh_need_epilogue_known): New static variable.
2348         (sh_need_epilogue): New function.
2349         (function_epilogue): Clear need_epilogue_known.
2350         * sh.md (return): Split into expander / insn pattern.
2351         Make the expander conditional on ! sh_need_epilogue ().
2352
2353 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
2354
2355         * machmode.h (get_mode_alignment): Declare.
2356         (GET_MODE_ALIGNMENT): Call it.
2357         * stor-layout.c (get_mode_alignment): New function. Make
2358         sure alignment is always power of 2.
2359
2360 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
2361
2362         * i386.h: Remove useless definition of "I386" and misleading
2363         comment above it.
2364
2365 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
2366
2367         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
2368         under which TREE_PERMANENT will be set.
2369         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
2370         build1): Use TREE_SET_PERMANENT.
2371         * print-tree.c (print_node): Don't report value of
2372         TREE_PERMANENT if ggc_p is true.
2373
2374         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
2375         decide whether to give a type a new alias set.
2376         * objc/objc-act.c (build_objc_string_object): Never copy the string.
2377         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
2378         of value of 'obstack'.
2379
2380
2381 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2382
2383         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
2384
2385 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2386
2387         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
2388         * cpplib.c (cpp_get_token): Produce them.
2389         * cppexp.c (cpp_lex): Handle them.
2390
2391 2000-02-23  Nick Clifton  <nickc@cygnus.com>
2392
2393         * config/arm/arm.c (arm_comp_type_attributes): Simply and
2394         comment tests on type attributes.
2395
2396 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2397
2398         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
2399         conform to documentation.
2400         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
2401         to check for special cases.
2402         * sh-protos.h (sh_loop_align): Declare.
2403         * sh.c (sh_loop_align): Define.
2404
2405 2000-02-22  Andrew Haley  <aph@cygnus.com>
2406
2407         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
2408         (SIZE_TYPE): Is 32 bits when using -mgp32.
2409         (PTRDIFF_TYPE): Ditto.
2410
2411 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2412
2413         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
2414
2415 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
2416
2417         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
2418         BIGGEST_FIELD_ALIGNMENT a constant.
2419
2420 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
2421
2422         * dwarf2out.c (output_line_info): Put the marker for the end of
2423         the line number info at the actual end.
2424         (gen_struct_or_union_type_die): Use decl_function_context 
2425         to check for local classes.
2426         * dwarfout.c (output_type): Likewise.
2427
2428 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
2429
2430         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
2431         for arguments with a mode, but no type.
2432         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
2433         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
2434         * pa/long_double.h: New file.
2435         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
2436         both have 128bit wide long doubles.
2437         * configure: Rebuilt.
2438
2439 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2440
2441         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
2442
2443         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
2444         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
2445         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
2446
2447         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
2448
2449         * integrate.c (compare_blocks, find_block): Likewise.
2450
2451         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
2452
2453         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
2454
2455         * stmt.c (stmt_status, set_file_and_line_for_stmt,
2456         expand_asm_operands): Likewise.
2457
2458 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
2459
2460         * predict.c (estimate_probability): Added the pointer heuristic to
2461         the collection of static branch predictors.
2462
2463 2000-02-21  Catherine Moore  <clm@cygnus.com>
2464
2465         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
2466         * invoke.texi (-mfix7000): Document.
2467
2468 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
2469
2470         * diagnostic.c (init_output_buffer): Make it possible to output at
2471         least 32 characters if we're given a too long prefix.
2472
2473 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
2474
2475         * varasm.c (initializer_constant_valid_p): Call
2476         lang_expand_constant to simplify the constant.
2477
2478 2000-02-20  Bruce Korb  <bkorb@gnu.org>
2479
2480         * fixinc/inclhack.def(stdio_va_list):
2481         typedef needs to be disabled.
2482         * fixinc/inclhack.sh: regen
2483         * fixinc/fixincl.x: regen
2484
2485 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
2486
2487         * print-rtl.c (print_rtx): Don't print addresses when
2488         flag_dump_unnumbered.
2489
2490 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2491
2492         * sparc.c (sparc_output_scratch_registers): Mark parameter with
2493         ATTRIBUTE_UNUSED.
2494         (sparc_va_arg, sparc_flat_output_function_prologue,
2495         sparc_flat_output_function_epilogue): Cast value to unsigned in
2496         comparison.
2497         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
2498         
2499         * sparc.md: Add default case in switch.
2500
2501 2000-02-19  Richard Henderson  <rth@cygnus.com>
2502
2503         * c-typeck.c (add_pending_init): Don't abort for multiple
2504         fields at the same offset.
2505         (pending_init_member): Test the correct member.
2506
2507 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2508
2509         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
2510         instead of SImode.
2511         (start_catch_handler) : Same.
2512
2513 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
2514
2515         * Makefile.in: Have flow.o depend on $(EXPR_H)
2516
2517 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2518
2519         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
2520         * c-decl.c (duplicate_decls, finish_enum): Likewise.
2521         (finish_decl): Remove -Wlarger-than code from here.
2522         * flags.h (id_clash_len): Now int.
2523         (larger_than_size): Now HOST_WIDE_INT.
2524         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
2525         Clean up checking to see if in table.
2526         (make_bit_field_ref): Remove extra parm to bitsize_int.
2527         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
2528         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
2529         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
2530         and for computing size of decl.
2531         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
2532         Move -Wlarger-than code to here.
2533         (layout_record): Remove extra arg to bitsize_int.
2534         Set TYPE_BINFO_SIZE_UNIT.
2535         (layout_union): Remove extra arg to bitsize_int.
2536         Use proper type for size of QUAL_UNION.
2537         (layout_type): Remove extra arg to bitsize_int.
2538         * toplev.c (id_clash_len): Now int.
2539         (larger_than_size): Now HOST_WIDE_INT.
2540         (decode_W_option): Clean up id-clash and larger-than- cases.
2541         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
2542         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
2543         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
2544         (struct tree_decl): New field size_unit.
2545         (size_int_wide): No HIGH operand; NUMBER is now signed.
2546         (size_int_2): Deleted.
2547         (size_int, bitsize_int): Don't use it and rework args.
2548         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
2549
2550 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
2551
2552         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
2553
2554 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
2555
2556         * invoke.texi (Warning Options): Add an explanation of why
2557         you might want the -Wfloat-equal flag.
2558
2559 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2560
2561         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
2562         * cppinit.c (new_pending_define): Add cast to avoid warning.
2563         * expmed.c (extract_bit_field): Likewise.
2564         * flow.c (enum reorder_skip_type): New type.
2565         (skip_insns_between_blcok): New it.
2566         Rework to avoid warning about possibly undefined variable.
2567         * function.c (assign_parms): Make thisparm_boundary unsigned.
2568         * genrecog.c (write_switch): Cast XWINT result to int.
2569         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
2570         * mips-tfile.c (init_file): Make two versions of FDR intializer:
2571         one for MIPS and one for Alpha.
2572         (get_tag, copy_object): Add casts to avoid warnings.
2573         * optabs.c (init_one_libfunc): Cast NAME to (char *).
2574         * reload.c (find_reloads): Make TYPE enum reload_type.
2575         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
2576         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
2577         * varasm.c (compare_constant_1): Add cast to avoid warning.
2578         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
2579         to (char *).
2580         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
2581         Cast switch operand of size to int.
2582         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
2583         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
2584         in unhandled case.
2585
2586 2000-02-18  Nick Clifton  <nickc@cygnus.com>
2587
2588         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
2589         anything for an alignment of zero.
2590
2591         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
2592         anything for an alignment of zero.
2593
2594 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
2595
2596         * gcc.texi (Bug Reporting): Refer to bugs.html.
2597         (Bug Lists): Likewise.
2598         * system.h (GCCBUGURL): New preprocessor define.
2599         * rtl.c (fancy_abort): Use it.
2600         * gcc.c (main): Likewise.
2601
2602 2000-02-18  Richard Henderson  <rth@cygnus.com>
2603
2604         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
2605         (life_analysis_1): Subsume into ...
2606         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
2607         Use update_life_info for the relaxation.
2608         (update_life_info): Update REG_BASIC_BLOCK for registers live on
2609         entry and regs_live_at_setjmp.
2610         (set_noop_p): Simplify.
2611         (notice_stack_pointer_modification_1): Renamed from s/_1//.
2612         (record_volatile_insns): Split into ...
2613         (delete_noop_moves): ... here,
2614         (notice_stack_pointer_modification): ... here,
2615         (insn_dead_p): ... and here.
2616         (propagate_block): Don't query INSN_VOLATILE.
2617         (mark_used_regs): Mind !PROP_REG_INFO.
2618         * toplev.c (rest_of_compilation): Call mark_constant_function here,
2619         not in life_analysis.
2620
2621 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
2622
2623         * loop.c (canonicalize_condition): New function,
2624         broken out of get_condition.
2625         (get_condition): Use it.
2626         * expr.h (canonicalize_condition): Prototype it.
2627
2628         * tree.h (tree_int_cst_msb): Declare.
2629         * tree.c (tree_int_cst_msb): New function.
2630
2631 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
2632
2633         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
2634         isn't set.
2635
2636         * invoke.texi (-fmessage-length=n): Document.
2637
2638 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
2639
2640         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
2641
2642 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
2643
2644         * function.c (thread_prologue_and_epilogue_insns): Put a line note
2645         after the prologue.
2646
2647 2000-02-17  Nick Clifton  <nickc@cygnus.com>
2648
2649         * config/arm/thumb.c: Replace includes of system headers with
2650         #include "system.h".
2651
2652 2000-02-16  Richard Henderson  <rth@cygnus.com>
2653
2654         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
2655         Add crtbeginS.o and crtendS.o.
2656         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
2657         (ENDFILE_SPEC): Use crtendS.o.
2658         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
2659
2660         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
2661         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
2662         shared and present.
2663         (__dso_handle): New variable.
2664         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
2665         bias to __CTOR_END__.
2666         
2667 2000-02-16  Richard Henderson  <rth@cygnus.com>
2668
2669         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
2670
2671 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2672
2673         * longlong.h (__clz_tab): Declare as static to match definition.
2674
2675 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
2676         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
2677         (XREF_FILE_NAME): Define.
2678
2679         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
2680         (EH_FRAME_SECTION_ASM_OP): Define.
2681         (IDENT_ASM_OP): Define.
2682         (TEXT_SECTION_ASM_OP): Define.
2683         (CPP_SPEC): Define.
2684         (CTORS_SECTION_ASM_OP): Define.
2685         (CTOR_SECTION_FUNCTION): Use it.
2686         (DTORS_SECTION_ASM_OP): Define.
2687         (DTOR_SECTION_FUNCTION): Use it.
2688
2689 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
2690
2691         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
2692         NOTE_BASIC_BLOCK.
2693
2694         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
2695         debug_bb_n): New functions.
2696         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
2697         * basic-block.h: Prototype new functions.
2698
2699 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
2700
2701         * configure.in: Add support for avr target.
2702         * configure: Rebuilt.
2703
2704         * invoke.texi: Add AVR invocation docs.
2705         * install.texi: Add information about AVR.
2706         * md.texi: Add AVR constraint letters description.
2707         * extend.texi: Add description for AVR specific attributes.
2708
2709 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
2710
2711         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
2712
2713 2000-02-16  Nick Clifton  <nickc@cygnus.com>
2714
2715         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
2716         (make_insn_raw): Move RTL check here.
2717
2718 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2719
2720         * version.c: Include gansidecl.h and version.h.
2721
2722         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
2723         
2724         * configure.in (gcc_version): When setting, narrow search to
2725         lines containing `version_string'.
2726
2727         * Makefile.in (mainversion): Likewise. 
2728         (GCC_H): New variable.
2729         (gcc.h): Delete target.
2730         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
2731         (version.o): Depend on version.h.
2732         (dbxout.o): Don't depend on gcc.h.
2733
2734 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2735                           Michael Meissner  <meissner@cygnus.com>
2736
2737         * md.texi (Simple Constraints): Add item about whitespace.
2738         * genoutput.c (strip_whitespace): New.
2739         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
2740         strip_whitespace for constraints.
2741         Test pointer using NULL, not 0.
2742
2743 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2744
2745         * cpplib.c (do_line): Pedwarn for #line > 32767.
2746
2747         * c-lex.c (readescape): Warn about '\x', but do not reject it.
2748
2749 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
2750
2751         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
2752         to default cpp spec.
2753         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
2754         * cpp.texi: Document __GNUC_PATCHLEVEL__.
2755         * cpp.1: Likewise.
2756
2757         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
2758         default spec.
2759
2760 2000-02-15  Denis Chertykov  <denisc@overta.ru>
2761
2762         * configure.in: Add support for avr target.
2763
2764 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2765
2766         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
2767         (sh_addr_diff_vec_mode): Don't declare.
2768         * sh.c (sh_addr_diff_vec_mode): Delete.
2769
2770 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2771
2772         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
2773
2774 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2775
2776         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
2777         (smulsi3_highpart_i): Name.
2778         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
2779         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
2780         (smulsi3_highpart, umulsi3_highpart): Likewise.
2781
2782         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
2783         correctly independent of endianness.
2784         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
2785         confuse the optimizers.
2786         (mulsidi3+1, umulsidi3+1): New define_split.
2787
2788 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
2789
2790         * config/sh/sh.md: Guard insn splits against illegal registers.
2791         * config/sh/sh.h: Correct comment about macros.
2792
2793 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2794                           Andrew MacLeod  <amacleod@cygnus.com>
2795
2796         * Makefile.in (lcm.o): Depend on insn-attr.h.
2797         * basic-block.h (optimize_mode_switching): Declare.
2798         * lcm.c (tm_p.h, insn-attr.h): #include.
2799         (seginfo, bb_info): New structs.
2800         (antic, transp, comp, delete, insert) : New file-scope static variables.
2801         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
2802         (reg_becomes_live, optimize_mode_switching): Likewise.
2803         * tm.texi: Add description of mode switching macros.
2804         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
2805
2806         * sh-protos.h (remove_dead_before_cse): Remove prototype.
2807         (fldi_ok, fpscr_set_from_mem): New prototypes.
2808         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
2809         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
2810         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
2811         (sh_flag_remove_dead_before_cse): Remove declaration.
2812         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
2813         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
2814         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
2815         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
2816         (barrier_align): Allow for JUMP_INSNS containing a parallel.
2817         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
2818         (fldi_ok): New function.
2819         (get_fpscr_rtx): Add fpscr_rtx as GC root.
2820         (emit_sf_insn): Only generate fpu switches when optimize < 1.
2821         (emit_df_insn): Likewise.
2822         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
2823         (sh_flag_remove_dead_before_cse): Delete.
2824         (get_free_reg, fpscr_set_from_mem): New functions.
2825         * sh.md (movdf, movsf): Remove no_new_pseudos code.
2826         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
2827
2828 2000-02-15  Loren Rittle  <ljrittle@acm.org>
2829
2830         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
2831
2832 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2833
2834         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
2835         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
2836
2837         * cccp.c: Include version.h and/or don't declare `version_string'.
2838         * collect2.c: Likewise.
2839         * alpha.c: Likewise.
2840         * arm/aof.h: Likewise.
2841         * arm/coff.h: Likewise.
2842         * arm/elf.h: Likewise.
2843         * arm/pe.h: Likewise.
2844         * arm/tcoff.h: Likewise.
2845         * arm/telf.h: Likewise.
2846         * arm/tpe.h: Likewise.
2847         * arm/vxarm.h: Likewise.
2848         * convex/convex.c: Likewise.
2849         * i386/dgux.c: Likewise.
2850         * i386/sun386.h: Likewise.
2851         * m88k/m88k.c: Likewise.
2852         * mcore/mcore-pe.h: Likewise.
2853         * mips/mips.h: Likewise.
2854         * romp/romp.h: Likewise.
2855         * sh/sh.c: Likewise.
2856         * cpphash.c: Likewise.
2857         * cppinit.c: Likewise.
2858         * dwarf2out.c: Likewise.
2859         * dwarfout.c: Likewise.
2860         * gcc.c: Likewise.
2861         * gcc.h: Likewise.
2862         * mips-tfile.c: Likewise.
2863         * protoize.c: Likewise.
2864         * toplev.c: Likewise.
2865         * tree.h: Likewise.
2866         
2867         * version.c (version_string): Constify a char*.
2868
2869         * version.h: New file.
2870
2871 2000-02-14  Nick Clifton  <nickc@cygnus.com>
2872
2873         * configure.in: Add mcore-elf and mcore-pe targets.
2874         * configure: Regenerate.
2875
2876         * NEWS: Add note that MCore port has been contributed.
2877
2878         * invoke.texi: Document command line switches for MCore port.
2879         * install.texi: Add MCore to list of supported targets.
2880
2881 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
2882
2883         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
2884         then we will need to import the frame handling functions.
2885         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
2886         to import the frames themselves.
2887
2888 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
2889                           Jason Eckhardt  <jle@cygnus.com>
2890
2891         * basic_block.h: Added prototype for reorder_basic_blocks.
2892         * toplev.c: Changes to add -freorder-blocks and graph dump after
2893         block reordering is done.
2894         * flow.c (reorder_block_def): New structure for use during block
2895         reordering.
2896         (REORDER_BLOCK_*): New macros to access members of above structure.
2897         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
2898         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
2899         functions for block reordering.
2900
2901 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2902
2903         * gcc.texi (Passes): Fix typo.
2904         * md.texi (Standard Names): Ditto.
2905         * tm.texi (Storage Layout): Ditto.
2906
2907 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
2908
2909         * cpplib.c (do_define): Only free the old definition if it
2910         actually had one.
2911
2912 2000-02-13   Neil Booth  <NeilB@earthling.net>
2913
2914         * cppfiles.c (read_and_prescan): When emitting deferred
2915         newlines, test speccase[] again instead of checking each
2916         possible whitespace character in turn.  When we encounter \r,
2917         look behind for \n first, then ahead.
2918
2919 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
2920
2921         * cse.c (cse_altered): New internal flag.
2922         (cse_insn): Set it if we changed an insn.
2923         (cse_main): Clear cse_altered before each basic block.
2924         Only garbage collect if cse_altered is true afterward.
2925
2926 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2927
2928         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
2929
2930 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
2931
2932         * combine.c (simplify_comparison): Fix typo.
2933
2934 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
2935
2936         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
2937         consistently.
2938
2939 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2940
2941         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
2942         previously inserted node instead of root node.  Caller changed.
2943
2944 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2945
2946         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
2947
2948 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2949
2950         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
2951         __dereg_frame_dtor): Add prototype argument.
2952
2953         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
2954
2955         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
2956
2957         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
2958
2959         * gthr-vxworks.h (__gthread_once): Likewise.
2960
2961         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
2962
2963 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
2964
2965         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
2966         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
2967         stack pointer in functions w/o saved registers, output LEAVE more often
2968         on TARGET_USE_LEAVE machines.
2969
2970 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
2971
2972         * config/arm/arm.c (arm_init_cumulative_args); New function:
2973         Initlaise the CUMULATIE_ARGS strcuture for a function
2974         defintion. 
2975         (arm_function_arg): New function: Determine where to place a
2976         function's argument.  Also handles deciding the function's
2977         call cookie.
2978         (current_file_function_operand): New function: Return true if
2979         the symbol is a function which has already been compiled.
2980         (arm_is_long_call_p): New function: Return true if the
2981         indicated function should be called via a long call.
2982         (arm_valid_type_attribute_p): New function: Return true if the
2983         attribute is a valid, arm specific, attribute.
2984         (arm_comp_type_attribute): New function: Return true if the
2985         two types have compatable, arm specific, attributes.
2986
2987         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
2988         structure.
2989         (FUNCTION_ARG): Redefine to call arm_function_arg.
2990         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
2991         structure field.
2992         (INIT_CUMULATIVE_ARGS): Redefine to call
2993         arm_init_cumulative_args.
2994         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
2995         field. 
2996         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
2997         field. 
2998         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
2999         functions.
3000         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
3001         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
3002         (COMP_TYPE_ATTRIBUTES): Define.
3003
3004         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
3005         if a long call is needed.
3006         (call_value): Call arm_is_long_call_p to decide if a long call
3007         is needed.
3008         (call_symbol): Call arm_is_long_call_p to decide if a long call
3009         is needed.
3010
3011         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
3012
3013 2000-02-11  Denis Chertykov  <denisc@overta.ru>
3014
3015         * README.AVR: New file with information about the avr ports.
3016         * config/avr: New directory with avr port files.
3017
3018 2000-02-11  Andreas Jaeger  <aj@suse.de>
3019
3020         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
3021
3022 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
3023
3024         * cpphash.c: Fix formatting, update commentary.
3025         (dump_definition): Take three separate arguments instead of a
3026         MACRODEF structure argument.
3027         * cpphash.h: Update prototype of dump_definition.
3028         * cppinit.c (cpp_finish): Update call of dump_definition.
3029
3030         * cpplib.c (do_define): Always create new hash entry with
3031         T_MACRO type.  Remove redundant check for redefinition of
3032         poisoned identifier.  Update call of dump_definition.
3033         (do_undef): Don't call check_macro_name.  Rename sym_length to
3034         len.
3035         (do_error, do_warning): Don't use copy_rest_of_line or
3036         SKIP_WHITE_SPACE.
3037         (do_warning): Don't use pedwarn for the actual warning,
3038         only the notice about its not being in the standard.  (Fixes
3039         bug with #warning in system headers.)
3040         (do_ident): Stricter argument checking - accept only a single
3041         string after #ident.  Also, macro-expand the line.
3042         (do_xifdef): Use cpp_defined.  De-obfuscate.
3043
3044         (do_pragma): Split out specific pragma handling to separate
3045         functions.  Use get_directive_token.  Update commentary.  Do
3046         not pass on #pragma once or #pragma poison to the front end.
3047         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
3048         do_pragma_default): New.
3049
3050 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
3051
3052         * jump.c (jump_optimize_1): The first operand in a relational
3053         can be a CONST_INT.
3054         * optabs.c (emit_conditional_move): Handle relationals which
3055         have a known true/false result.
3056
3057 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
3058
3059         * function.c (thread_prologue_and_epilogue_insns): Don't insert
3060         a RETURN insn into a block which already ends with a jump.
3061
3062 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
3063
3064         * haifa-sched.c (BUF_LEN): Increase a lot.
3065
3066 2000-02-11  Nick Clifton  <nickc@cygnus.com>
3067
3068         * configure.in: Add tm_p_file specification for thumb targets.
3069         * configure: Regenerate.
3070
3071         * config/arm/thumb-protos.h: New file: Prototypes for exported
3072         functions defined in thumb.c.
3073
3074 2000-02-11  Robert Lipe  <robertl@sco.com>
3075
3076         * Makefile.in (bootstrap-lean): Remove additional files.
3077         (bootstrap2-lean): Likewise.
3078         (VOL_FILES): List of files for above.
3079
3080 2000-02-11  Nathan Sidwell  <nathan@acm.org>
3081
3082         * cpphash.c (special_symbol): Remove spurious argument to
3083         cpp_lookup.
3084
3085 2000-02-11  Joel Sherrill (joel@OARcorp.com>
3086
3087         * configure.in: (i*86-*-rtems*): Swapped elf and coff
3088         stanzas.
3089         * configure: Rebuilt.
3090
3091 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
3092         
3093         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
3094
3095 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
3096
3097         * pa.c, pa.h: Remove trigraph sequences within comments.
3098
3099 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
3100
3101         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
3102
3103 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
3104
3105         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
3106
3107 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3108         
3109         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
3110
3111 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3112
3113         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
3114         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
3115         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
3116         (ASM_FILE_END): Use c4x_file_end.
3117         * config/c4x/c4x.c (c4x_global_label): New function.
3118         (c4x_external_ref, c4x_file_end): Likewise.
3119
3120         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
3121         (c4x_external_ref, c4x_end_file): Likewise.
3122
3123 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
3124
3125         * cppexp.c: Don't include cpphash.h.
3126         (parse_charconst, cpp_lex): Use cpp_defined.
3127         (cpp_lex): Use get_directive_token throughout.  Remove
3128         unnecessary cases from switch.  Move assertion-handling code
3129         down to OTHER case.
3130         (cpp_parse_expr): If we see '+' or '-', check the context to
3131         determine if they are unary or binary operators.  Streamline
3132         the jumps a bit.  Do not call skip_rest_of_line.
3133
3134         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
3135         static.  Export get_directive_token.  Update commentary.
3136         (cpp_defined): New function.
3137         (do_define): Remove reference to T_PCSTRING.  Call
3138         free_definition to release memory for old definition, when
3139         redefining a macro.
3140         (eval_if_expression): Set only_seen_white to 0 before calling
3141         cpp_parse_expr.  Call skip_rest_of_line after it returns.
3142         (cpp_read_check_assertion): Don't preserve a pointer into the
3143         token buffer across a call to cpp_get_token.
3144
3145         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
3146         * cppfiles.c (redundant_include_p): Use cpp_defined.
3147         * cpphash.c (free_definition): New function.
3148         (delete_macro): Use it.  Update commentary.
3149         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
3150         free_definition.
3151         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
3152         from enum node_type.  Prototype cpp_defined and get_directive_token.
3153         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
3154
3155         * fix-header.c (check_macro_names): Use cpp_defined.
3156         (read_scan_file): Set inhibit_warnings and inhibit_errors in
3157         the options structure.
3158
3159 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3160
3161         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
3162
3163 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
3164
3165         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
3166         rather than die->die_tag.
3167
3168 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3169
3170         * combine.c (make_extraction, force_to_mode): Avoid warning on
3171         mixed-signedness conditionals.
3172         (make_field_assignment, nonzero_bits): Likewise.
3173         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
3174         (store_split_bit_field, extract_split_bit_field): Likewise.
3175         (extract_fixed_bit_field, store_bit_field, 
3176         * expr.c: Change alignment to be unsigned everywhere.
3177         (move_by_pieces, store_constructor_field, store_constructor): 
3178         Alignment parm is unsigned.
3179         (emit_block_move, emit_group_load, emit_group_store): Likewise.
3180         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
3181         (do_compare_rtx_and_jump): Likewise.
3182         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
3183         Compare align with GET_MODE_ALIGNMENT.
3184         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
3185         (get_inner_reference): Likewise.
3186         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
3187         (expand_assignment): Local vars for alignment now unsigned.
3188         (store_constructor, store_field, expand_expr, do_jump): Likewise.
3189         (do_compare_and_jump): Likewise.
3190         (store_field): Call new function expr_align.
3191         * expr.h (emit_block_move, emit_group_load, emit_group_store):
3192         Alignment arg now unsigned.
3193         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
3194         (do_compare_rtx_and_jump, store_bit_field): Likewise.
3195         (extract_bit_field): Likewise.
3196         * fold-const.c (add_double): Add cast to eliminate signedness warning.
3197         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
3198         (get_best_mode): Alignment arg is unsigned.
3199         * rtl.h (move_by_pieces): Likewise.
3200         * store-layout.c (maximum_field_alignment, set_alignment):
3201         Now unsigned.
3202         (layout_decl): Alignment arg is now unsigned.
3203         Remove unneeded casts.
3204         (layout_record, layout_union, layout_type): Remove unneeded casts.
3205         Local alignment variables now unsigned.
3206         (get_best_mode): Alignment arg now unsigned.
3207         * tree.c (expr_align): New function.
3208         * tree.h (expr_align): Likewise.
3209         (maximum_field_alignment, set_alignment): Now unsigned.
3210         (get_inner_reference): Alignment argument is now pointer to unsigned.
3211         * varasm.c (assemble_variable): Add cast to eliminate warning.
3212
3213 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
3214
3215         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
3216         then store directly into op0.
3217
3218         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
3219         the CALL_INSN, and emit the note immediately after it.
3220
3221 2000-02-10  Nick Clifton  <nickc@cygnus.com>
3222
3223         * config/arm/thumb.md (epilogue): Include a (return) in the
3224         generated insn, and emit it using emit_jump_insn not
3225         emit_insn. 
3226
3227 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
3228
3229         * function.c (assign_temp): Change zero-sized arrays to size 1.
3230         * integrate.c (expand_inline_function): Do not update
3231         stack_alignment_needed
3232         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
3233         add some sanity checking, remove optimization for function with
3234         zero frame size.
3235
3236 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3237
3238         * flow.c (mark_regs_live_at_end): Delete unused variables.
3239
3240         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
3241
3242         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
3243         in macro FRAME_GROWS_DOWNWARD.
3244
3245         * stmt.c (expand_end_bindings): Delete unused variable.
3246
3247         * unroll.c (iteration_info): Mark parameter `loop' with
3248         ATTRIBUTE_UNUSED.
3249
3250 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3251
3252         * fixinc/server.c (load_data): Return NULL if the marker line is
3253         not found.
3254         (run_shell): If load_data returns NULL, retry the command once, in
3255         a new shell.
3256
3257         * configure: Rebuilt.
3258
3259 2000-02-09  Bruce Korb  <bkorb@gnu.org>
3260
3261         * gcc/fixincludes:  ** DELETED **
3262         * gcc/fixcpp:  ** DELETED **
3263         * gcc/fixinc-nt.sed:  ** DELETED **
3264         * gcc/just-fixinc:  ** DELETED **
3265         * gcc/Makefile.in:  Removed out-dated commentary
3266         * gcc/configure.in: Removed fast-fixincludes disablement.
3267         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
3268
3269 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
3270         * function.c (thread_prologue_and_epilogue_insns): Uncomment
3271         last change.
3272
3273 2000-02-09  Richard Henderson  <rth@cygnus.com>
3274
3275         * jump.c (delete_insn): Don't delete user labels at -O0.
3276
3277 2000-02-09  Robert Lipe  <robertl@sco.com>
3278
3279         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
3280         Don't link with HOST_LIBS. 
3281
3282 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
3283
3284         * configure.in: Correct --help text for --with-dwarf2.
3285         Put tm-dwarf2.h after other tm files, if it's requested.
3286         * configure: Regenerate.
3287         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
3288         defining it.
3289
3290 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
3291
3292         * cpplib.h: Provide HASHNODE typedef and forward decl of
3293         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
3294         DEFINITION, struct hashnode, struct macrodef, struct
3295         definition, scan_decls prototype, default defn of
3296         INCLUDE_LEN_FUDGE moved elsewhere.
3297
3298         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
3299         definition, and struct hashnode moved here. Remove the unused
3300         'predefined' field from struct definition.  Replace the 'args'
3301         union with its sole member.  All users updated (cpphash.c).
3302         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
3303         multiple include guard.
3304
3305         * cpphash.c (hashf): Make static; use better algorithm; drop
3306         HASHSIZE parameter; return an unsigned int.
3307         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
3308         used. Calculate HASHSIZE modulus here.
3309         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
3310         here.
3311         (create_definition): Drop PREDEFINITION parameter.
3312         * cpplib.c (do_define): Don't calculate a hash value here.
3313         Don't pass (keyword == NULL) to create_definition.
3314
3315         * scan.h: Prototype scan_decls here.
3316         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
3317         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
3318         callers of cpp_lookup and cpp_install updated.
3319         
3320         * cpphash.c (macarg): Hoist all the flag diddling out of the
3321         function...
3322         (macroexpand): ... and out of the loop that calls macarg.
3323         Skip over the initial paren before macro arguments with
3324         cpp_get_non_space_token; point may be some distance before
3325         that paren.  Abort if it's not there.
3326
3327         * cpplib.c (parse_clear_mark): Delete function.
3328         (parse_set_mark, parse_goto_mark): Make static.
3329         (ACTIVE_MARK_P): New macro.
3330         (skip_block_comment, skip_line_comment): Do not bump the line
3331         if ACTIVE_MARK_P is true.
3332         (cpp_pop_buffer): The buffer to be popped may not have an
3333         active mark.
3334         (cpp_get_token): When looking for the initial paren before
3335         macro arguments, only set a mark in a file buffer, Always
3336         return to that mark before proceeding to call macroexpand or
3337         return a NAME token.
3338
3339         * cpplib.h: Remove prototypes of parse_set_mark,
3340         parse_clear_mark, parse_goto_mark.
3341         (struct cpp_options): Rename 'put_out_comments' to
3342         'discard_comments' and invert its sense.
3343         * cppinit.c, cpphash.c, cpplib.c: All users of
3344         put_out_comments changed to use discard_comments, with
3345         opposite sense.
3346
3347 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
3348
3349         * function.c (thread_prologue_and_epilogue_insns): Don't delete
3350         the edge from a block that both jumps and falls through to the
3351         fallthru block.
3352
3353 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
3354
3355         * config/arm/arm.md (movsi): In PIC mode, make sure that a
3356         constant source address is legitimate.
3357
3358 2000-02-09  Philip Blundell  <pb@futuretv.com>
3359
3360         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
3361         correctly.
3362
3363         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
3364         generating PIC.
3365         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
3366
3367 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
3368
3369         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
3370         ends with a newline and a NUL.  Don't be so clever manipulating
3371         strings.
3372
3373 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
3374
3375         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
3376         not to BIGGEST_ALIGNMENT.
3377
3378 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
3379
3380         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
3381         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
3382         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
3383         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
3384         * frame.c (execute_cfa_insn): Handle 
3385         DW_CFA_GNU_negative_offset_extended.
3386
3387 2000-02-08  Richard Henderson  <rth@cygnus.com>
3388
3389         * flow.c (tidy_fallthru_edges): Split out from ...
3390         (delete_unreachable_blocks): ... here.
3391         (find_basic_blocks): Use it.
3392
3393 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3394
3395         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
3396
3397 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
3398
3399         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
3400         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
3401         (fix-header.o): Don't depend on cpphash.h.
3402
3403         * scan.c (hashstr): New function. 
3404         * scan.h: Prototype it.
3405         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
3406         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
3407         hashstr.  Report hash table statistics.  Add private     
3408         definition of xrealloc.
3409
3410 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3411
3412         * i386.h (TARGET_SWITCHES): Fix typo in option name.
3413
3414 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
3415
3416         * function.c (thread_prologue_and_epilogue_insns): Don't replace
3417         jumps with returns unless they are jumps to the fallthru block.
3418
3419 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
3420
3421         * i386.md (addqi3_cc): Fix contraints.
3422
3423 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3424
3425         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
3426
3427 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
3428
3429         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
3430         carriage return after a macro name.
3431
3432 2000-02-07  Fred Fish  <fnf@be.com>
3433
3434         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
3435         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
3436
3437 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
3438
3439         * cppfiles.c (deps_output): Count spacers in deps_column.
3440
3441 2000-02-07  Neil Booth  <NeilB@earthling.net>
3442
3443         * cppinit.c (initialize_dependency_output): If there is no
3444         suffix, don't try to look for known suffixes.  Use strrchr.
3445         (cpp_start_read): Remove duplicate initialization.
3446
3447 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
3448
3449         * calls.c (compute_argument_block_size): New argument
3450         preferred_stack_boundary.
3451         (expand_call): update cfun->preferred_stack_boundary, update call of
3452         compute_argument_block_size
3453         (emit_library_call): Increate cfun->preferred_stack_boundary
3454         to PREFERRED_STACK_BOUNDARY
3455         (emit_library_call_value): Likewise.
3456         * explow.c (allocate_dynamic_stack_spave): Likewise.
3457         * function.c (prepare_function_start): Set
3458         cfun->preferred_stack_boundary
3459         * function.h (struct function): Add preferred_stack_boundary field.
3460         * integrate.c (expand_inline_function): Update
3461         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
3462         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
3463         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
3464
3465 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
3466
3467         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
3468         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
3469         cpp_pedwarn, cpp_pedwarn_with_line,
3470         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
3471         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
3472         v_cpp_error_with_line, v_cpp_warning_with_line,
3473         cpp_message_from_errno, cpp_perror_with_name): Delete.
3474
3475         * cpperror.c (cpp_print_containing_files): Take starting
3476         buffer as argument.
3477         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
3478         (v_cpp_message): Now called directly by all entry points.
3479         Remove -1 case.
3480         (cpp_pfatal_with_name, cpp_message): Delete.
3481         (cpp_notice_from_errno, cpp_ice): New functions.
3482         (cpp_notice): Is now for reporting error conditions, just
3483         without an associated file.
3484         (cpp_error, cpp_error_with_line): Don't do anything if
3485         opts->inhibit_errors is on.
3486         (cpp_pedwarn_with_file_and_line): Take column argument also.
3487
3488         * cpplib.h: Update prototypes of exported functions.
3489         (struct cpp_options): Add inhibit_errors.
3490
3491         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
3492         non-error messages.  Include intl.h.
3493
3494         * cppinit.c, cppmain.c: Likewise.  Also, use
3495         cpp_notice_from_errno instead of cpp_perror_with_name or
3496         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
3497
3498         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
3499         report internal errors.
3500
3501         * cpplib.c (do_define): Switch bcopy to memcpy.
3502         Give cpp_pedwarn_with_file_and_line a dummy column argument.
3503
3504         * cpplib.c (copy_rest_of_line): Revert previous change: don't
3505         bail out early if we hit a line comment.
3506
3507 2000-02-06  Richard Henderson  <rth@cygnus.com>
3508
3509         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
3510         * basic-block.h: Declare them.
3511         * emit-rtl.h (active_insn_p): New.
3512         (next_active_insn, prev_active_insn): Use it.
3513         * rtl.h: Declare it.
3514         * function.c (emit_return_into_block): New.
3515         (thread_prologue_and_epilogue_insns): Insert return insns instead
3516         of epilogues when possible.
3517         * jump.c (jump_optimize_1): Remove code to insert a return insn
3518         on the fallthru to the exit block.
3519
3520         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
3521         and for non-empty stack frames.
3522         * i386.md (return): Expand to return-pop as needed.
3523
3524 2000-02-06  Richard Henderson  <rth@cygnus.com>
3525
3526         * simplify-rtx.c (simplify_relational_operation): Canonicalize
3527         constant to op1 for testing.
3528
3529 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3530
3531         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
3532         (fixuns_truncqfqi2): Use it.
3533
3534 2000-02-06  Richard Henderson  <rth@cygnus.com>
3535
3536         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
3537         as a TYPE_LEA insn.
3538
3539         * i386.md (widening and peepholes): Mask the constant instead of
3540         using gen_lowpart.
3541
3542 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
3543
3544         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
3545         input pointer before possibly branching off to the backslash
3546         code.
3547         * cpphash.c (macroexpand): Correctly delete \r escapes when
3548         stringifying parameters.
3549         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
3550         if we can; bail out early if we hit a line comment.
3551         (handle_directive): Treat '# 123' in an .S file just like
3552         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
3553         Return 1 for '# not_a_directive'.
3554         (get_directive_token): Pop macro buffers here, so that
3555         cpp_get_token can't sneakily move past a newline.
3556         Add sanity checks. 
3557         (cpp_get_token): goto randomchar if handle_directive returns 0.
3558
3559         * cppalloc.c: Update copyright.
3560         * cpplib.c: Merge all the static function prototypes into one
3561         block.
3562         * cpplib.h: Remove #if 0 block.
3563
3564         * cpperror.c: Remove #ifdef EMACS block.
3565         * cppmain.c: Likewise.
3566         * cpphash.c: Remove #if 0 blocks.
3567         * cppinit.c: Remove #if 0 blocks, and the -lint option.
3568         * cpplib.c: Remove #if 0 blocks and code referencing
3569         pcp_inside_if or for_lint.  Remove duplicate error message.
3570         Fix error messages for #else after #else or #elif.  Reformat.
3571         Remove archaic TODO list.
3572         * cpplib.h: Remove pcp_inside_if and for_lint flags.
3573
3574 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
3575
3576         * i386/osf1elf.h: Add missing backslash to multiline string.
3577
3578 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3579
3580         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
3581
3582 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3583
3584         * Makefile.in (c-common.o): Depend on $(EXPR_H).
3585
3586         * c-common.c: Include expr.h.
3587
3588         * c-pragma.c (mark_align_stack): Add prototype.
3589
3590         * caller-save.c (add_stored_regs): Likewise.
3591
3592         * combine.c (record_promoted_value): Likewise.
3593
3594         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
3595         Likewise.
3596
3597         * cppinit.c (new_pending_define): Likewise.
3598
3599         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
3600
3601         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
3602         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
3603         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
3604         class_scope_p): Likewise.
3605
3606         * dwarf2out.h (dwarf2out_set_demangle_name_func,
3607         dwarf2out_add_library_unit_info): Likewise.
3608
3609         * ggc.h (ggc_page_print_statistics): Likewise.
3610
3611         * haifa-sched.c (propagate_deps): Likewise.
3612
3613         * reg-stack.c (next_flags_user, record_label_references): Likewise.
3614
3615         * rtl.h (set_stack_check_libfunc): Likewise.
3616
3617         * toplev.h (set_fatal_function): Likewise.
3618
3619         * toplev.c (set_fatal_function): Delete prototype.
3620         
3621         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
3622         
3623 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3624
3625         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
3626         (FUNC_END): Likewise.
3627
3628 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3629
3630         * caller-save.c: Include tm_p.h.
3631
3632 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3633
3634         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
3635
3636 2000-02-04  Neil Booth  <NeilB@earthling.net>
3637
3638         * cccp.c (main): Check 'dir' for a NULL pointer before passing
3639         it to strcmp.
3640
3641 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
3642
3643         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
3644         * genflags.c: Use the max_operand_1 logic from genemit.c to
3645         calculate how many arguments gen_insn prototypes have.  Remove
3646         NO_MD_PROTOTYPES ifdefs from the generated file.
3647         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
3648         file.  Cast gen_insn initializers to insn_gen_fn.
3649         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
3650         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
3651
3652 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3653
3654         * fixinc/Makefile.in (HDR): Add machname.h.
3655         (clean): Likewise.
3656
3657 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3658
3659         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
3660         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
3661         (c4x_cpu_version): Ditto.
3662         * config/c4x/c4x-protos.h: ... here.
3663
3664 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
3665
3666         * dwarf2out.c (add_abstract_origin_attribute): Don't call
3667         gen_abstract_function on our context if we're a nested function.
3668
3669 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3670
3671         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
3672         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
3673
3674 2000-02-04  Bruce Korb  <bkorb@gnu.org>
3675
3676         * fixinc/genfixes(machname.h):
3677         Move the functionality from gen-machine.h into this file.
3678         UNdef MN_NAME_PAT if there are no names to change.
3679         Also, be a little kinder when AutoGen is not present.
3680
3681         * fixinc/Makefile.in(machname.h):
3682         Change the generation rule to use genfixes.
3683
3684         * fixinc/fixfixes.c(machine_name):
3685         machine_name_fix's functionality now dependent upon whether
3686         MN_NAME_PAT is defined.
3687
3688         * fixinc/fixtests.c(machine_name):
3689         ditto.
3690
3691         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
3692         of MN_NAME_PAT.
3693
3694         * fixinc/fixlib.h(mn_get_regexps):
3695         ditto
3696
3697         * fixinc/gen-machine.h: DELETED
3698
3699 2000-02-04  Jan Hubicka  <jh@suse.cz>
3700             Richard Henderson  <rth@cygnus.com>
3701
3702         * i386.c (SAVE_REGS_FIRST): Remove.
3703         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
3704         (ix86_compute_frame_size): Likewise.
3705         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
3706         (ix86_emit_restore_regs): Remove.
3707         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
3708         when a frame pointer is in use.
3709         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
3710         instead of pop to restore a register when profitable; emit leave
3711         when profitable.
3712         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
3713         as a TYPE_LEA insn.
3714         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
3715         * i386.md (prologue_allocate_stack): Remove.
3716         (epilogue_deallocate_stack): Remove.
3717         (pro_epilogue_adjust_stack): New.
3718
3719 2000-02-04  Richard Henderson  <rth@cygnus.com>
3720
3721         * function.c (diddle_return_value): Rework to use a callback function.
3722         Use current_function_return_rtx if it's been set up.
3723         (do_clobber_return_reg, clobber_return_register): New.
3724         (do_use_return_reg, use_return_register): New.
3725         (expand_function_end): Use them.
3726         * stmt.c (expand_null_return): Likewise.
3727         * function.h: Declare them.
3728         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
3729         (mark_reg): Change arguments as appropriate for callback.
3730         * integrate.c (expand_inline_function): Revert 19 Jan change.
3731
3732 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3733
3734         * tm.texi (Values in Registers): Fix typo: "fo" "for".
3735         (Misc): Say the scheduler, not the Haifa scheduler.
3736
3737 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
3738
3739         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
3740         when in_mem is set.  Update all callers.
3741
3742 2000-02-04  Richard Henderson  <rth@cygnus.com>
3743
3744         * i386/openbsd.h (INT_ASM_OP): Define.
3745
3746 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3747
3748         * tm.texi: Fix various typos.
3749
3750 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
3751
3752         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
3753         (MD_STARTFILE_PREFIX_1): New macro.
3754
3755 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
3756
3757         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
3758         destination when needed.
3759         (strmovsi, strsetsi): New expander.
3760         (strmovsi_1, strsetsi_1): New pattern.
3761         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
3762         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
3763         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
3764         * invoke.texi (align-stringops, inline-all-stringops): Document.
3765
3766 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
3767
3768         * i386/netbsd.h (INT_ASM_OP): Define.
3769
3770 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
3771
3772         * cpplib.h (cpp_reader): Add new flag, no_directives.
3773         * cpphash.c (macarg): Set it.
3774         * cpplib.c (handle_directive): If no_directives is on and we
3775         find a directive, issue an error and discard the line.
3776
3777 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
3778
3779         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
3780         FP constants.  Add ! TARGET_FPU check for FP constants.
3781
3782 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
3783         
3784         * flow.c (find_basic_blocks): Don't kill label_value_list
3785         here.
3786         (cleanup_cfg): Kill it here.
3787
3788 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3789
3790         * expr.c (store_field): Ensure ALIGN is no stricter than the
3791         alignment of EXP.
3792
3793 2000-02-02  Richard Henderson  <rth@cygnus.com>
3794
3795         * jump.c (delete_insn): Partially revert 19 Jan change; 
3796         don't convert unused code labels to notes at -O0.
3797
3798 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3799
3800         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
3801         split_all_insns to recreate REG_LABEL notes for flow2 pass.
3802
3803 2000-02-01  Richard Henderson  <rth@cygnus.com>
3804
3805         * i386.c (general_no_elim_operand): New.
3806         (nonmemory_no_elim_operand): New.
3807         (ix86_expand_move): Copy eliminable operands before a push.
3808         * i386-protos.h: Declare new functions.
3809         * i386.h (CAN_ELIMINATE): Simplify.
3810         (PREDICATE_CODES): Update.
3811         * i386.md (push insns): Don't allow eliminable register operands.
3812
3813 2000-02-01  Richard Henderson  <rth@cygnus.com>
3814
3815         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
3816         replace BLKmode with DECL_RTL's mode.
3817
3818 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
3819
3820         * frame.c (find_fde): Convert for loop to do-while so compiler
3821         sees it's always executed at least once.
3822         * libgcc2.c (BBINBUFSIZE): Kill.
3823         (__bb_init_prg): Use fgets.
3824         (__bb_exit_trace_func): Don't paste strings.
3825         * unroll.c (unroll_loop): Initialize unroll_type, not
3826         unroll_number, and tweak logic to match.
3827
3828         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
3829         all failure paths.
3830         (ix86_flags_dependant): Likewise.  Disentangle control flow.
3831         (ix86_sched_reorder): Break guts out to
3832         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
3833         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
3834         any possible use.
3835
3836         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
3837         use string concatenation.  Don't save and restore esi.
3838
3839         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
3840         (machname.h): Remove script to separate file.  Use two-step
3841         sequence so target is not created if script fails.
3842         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
3843         identifiers are defined.
3844         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
3845         an empty string, machine_name doesn't need to do anything at
3846         all.
3847         (is_cxx_header): Add more cases to regexp.
3848         * fixinc/fixlib.h: Update prototype.
3849         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
3850         mn_get_regexps.
3851         * fixinc/fixincl.c: Define NO_BOGOSITY.
3852
3853         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
3854         (hp_sysfile): Add missing comma.
3855         (math_exception): Put the wrapper ifdefs at the beginning and
3856         the end of the file.
3857         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
3858
3859 2000-02-01  Richard Henderson  <rth@cygnus.com>
3860
3861         * sparc.c (fp_zero_operand): Turn into a normal predicate.
3862         Use CONST0_RTX.  Update all callers.
3863         * sparc.h, sparc-protos.h: Update accordingly.
3864         * sparc.md (fp mov insns): Use fp_zero_operand directly
3865         where applicable.
3866
3867 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3868
3869         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
3870         example.
3871
3872 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3873
3874         * Makefile.in (specs.ready): New target.
3875         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
3876
3877 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3878
3879         * fixinc.irix: Use unique filenames for writing into /tmp,
3880         * fixinc.ptx: Likewise.
3881         * fixinc.sco: Likewise.
3882         * fixinc.svr4: Likewise.
3883         * fixinc.winnt: Likewise.
3884
3885 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3886
3887         * tsystem.h: New file.
3888
3889         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
3890         s-crtS): Depend on tsystem.h.
3891
3892         * crtstuff.c: Include tsystem.h.
3893         * frame.c: Likewise.
3894         * libgcc2.c: Likewise.
3895
3896 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
3897
3898         * builtins.c (expand_builtin_memset): Expand for variable sized
3899         lengths too.
3900
3901 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
3902
3903         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
3904         on ABI.
3905
3906 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3907
3908         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
3909
3910         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
3911
3912 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
3913
3914         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
3915         case 3->2 combining (combining with splitting) in which 2 is CC0
3916         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
3917         checked at the begining of the function with the aid of calling 
3918         function 'can_combine_p'. 
3919
3920 2000-01-31  Dave Brolley  <brolley@redhat.com>
3921
3922         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
3923
3924 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
3925
3926         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
3927         new label.
3928
3929 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3930
3931         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
3932         
3933         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
3934         PROTO -> PARAMS.
3935
3936 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
3937
3938         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
3939         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
3940         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
3941         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
3942         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
3943         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
3944         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
3945         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
3946         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
3947         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
3948         
3949         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
3950         Add %(cpp_cpu) to CPP_SPEC.
3951
3952         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
3953         Add %(cc1_cpu) to CC1_SPEC.
3954
3955 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
3956
3957         * c-decl.c (c_decode_option): Accept optional numeric argument to
3958         -Wformat and set warn_format.
3959         * c-common.c: Don't emit warning about non-constant printf format
3960         string unless warn_format > 1.
3961
3962 2000-01-30  Richard Henderson  <rth@cygnus.com>
3963
3964         * alpha.md (return_internal): Allow after reload only.
3965
3966 2000-01-30  Richard Henderson  <rth@cygnus.com>
3967
3968         * i386.c (ix86_compute_frame_size): Omit padding1 if the
3969         local frame size is zero.
3970
3971 2000-01-30  Richard Henderson  <rth@cygnus.com>
3972
3973         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
3974         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
3975         * alpha.md (return): Turn into an expander.
3976         (return_internal): Don't use $26.
3977         (epilogue): Emit the return insn.
3978
3979 2000-01-30  Richard Henderson  <rth@cygnus.com>
3980
3981         * alpha.md (negtf2, abstf2): Fix word order thinko.
3982         (extendsftf2): New.
3983         (trunctfsf2): Avoid intermediate rounding errors.
3984
3985 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
3986
3987         * cppfiles.c (find_position): Drop 'colp' argument, return the
3988         new line base.
3989         (read_and_prescan): Adjust to match.  Don't ever manipulate
3990         line or line_base except via find_position.
3991
3992 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
3993
3994         * c-parse.in: Apply Ulrich's changes from c-parse.y.
3995         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
3996         Regenerate.
3997
3998 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
3999
4000         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
4001         just print "<command line>".  If 'filename' is null or an
4002         empty string, print "<stdin>" for the filename.
4003         * cpplib.c (do_define): Don't print the 'location of the
4004         previous definition' message if we're still parsing the
4005         command line.
4006         (cpp_pedwarn_with_file_and_line): Always call
4007         cpp_file_line_for_message.
4008
4009 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
4010
4011         * flow.c (mark_regs_live_at_end): Fix typo.
4012
4013 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
4014
4015         * c-common.c: Adjust variable names, comments, help strings to c99.
4016         * c-lex.c: Likewise.
4017         * c-parse.y: Likewise.
4018         * c-tree.h: Likewise.
4019         * cccp.c: Likewise.
4020         * cpplib.h: Likewise.
4021         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
4022         * cppinit.c: Likewise.
4023
4024 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4025
4026         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
4027         * c4x.c: Define the optab rtx values.
4028         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
4029         (c4x_emit_libcall): Use new optab rtx values.
4030         (c4x_emit_libcall3): Likewise.
4031         (c4x_emit_libcall_mulhi): Likewise.
4032         * c4x-protos.h: Add prototypes for optab rtx values and change
4033         prototypes for above c4x_emit_libcall functions.
4034
4035 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4036
4037         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
4038         syntax is used.
4039         (c4x_function_prologue): Use regnames intead of float_reg_names when
4040         TI syntax is used.
4041         (c4x_function_epilogue): Likewise.
4042         (c4x_print_operand): Likewise.
4043         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
4044         * c4x.md (set_high): Disable for TARGET_TI.
4045
4046 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4047
4048         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
4049         of framepointer + constant to ADDR_REGS class.
4050         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
4051         * c4x.c (std_or_reg_operand): New function.
4052         * c4x-protos.h (std_or_reg_operand): Prototype it.
4053
4054 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4055
4056         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
4057                 object names as libgcc2.c.
4058         * libgcc.S: Use newly defined names.
4059
4060 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
4061         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
4062         function.
4063         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
4064         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
4065         (FLOW_LOOP_LAST_BLOCK): Likewise.
4066
4067 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4068
4069         * basic-block.h (struct loop): New fields 'first' and 'last'.
4070         * flow.c (flow_loops_find): Compute loop->first and loop->last.
4071         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
4072         and loop->last to check for NOTE_INSN_LOOP_END.
4073
4074 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
4075
4076         * predict.c (estimate_probability): Use the new FIRST and LAST fields
4077         of the loop descriptor rather than HEADER and LATCH. Also added
4078         missing break statements as well making some coding style modifications
4079         as suggested by Michael Hayes.
4080
4081 2000-01-28  Richard Henderson  <rth@cygnus.com>
4082
4083         * flow.c (find_basic_blocks): Remove do_cleanup argument.
4084         Break out that code ...
4085         (cleanup_cfg): ... here.
4086         (commit_one_edge_insertion): Detect a return instruction being
4087         emitted to an edge.  Emit a barrier following; clear fallthru.
4088         (commit_edge_insertions): Verify CFG consistency.
4089         * function.c (expand_function_start): Kill unused variable.
4090         (expand_function_end): Likewise.
4091         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
4092         to insert the epilogue.
4093
4094         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
4095         (delete_null_pointer_checks): Likewise.
4096         * output.h: Likewise.
4097         * reg-stack.c (reg_to_stack): Likewise.
4098         * toplev.c (rest_of_compilation): Likewise.  Run
4099         thread_prologue_and_epilogue_insns after rebuilding the CFG.
4100
4101 2000-01-28  Richard Henderson  <rth@cygnus.com>
4102
4103         * Makefile.in (flow.o): Revert 24 Jan change.
4104         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
4105         FUNCTION_VALUE result to DECL_RESULT's mode.
4106
4107         * haifa-sched.c (schedule_insns): Don't recompute reg info
4108         after reload.
4109
4110 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
4111
4112         * configure.in: Make --enable-cpplib the default.
4113         * configure: Regenerate.
4114         * gcc.dg/990119-1.c: No longer expected to fail.
4115
4116 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
4117
4118         * jump.c (jump_optimize_1): Delete an optimization that is also done
4119         by merge_blocks in flow.
4120
4121 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4122
4123         * diagnostic.c (build_message_string, output_printf,
4124         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
4125         (build_location_prefix): Fix non-literal format string.
4126
4127 2000-01-27  Richard Henderson  <rth@cygnus.com>
4128
4129         * alpha.md (trunctfsf2): New.
4130
4131 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
4132
4133         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
4134
4135 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
4136
4137         * cppinit.c (cpp_handle_option): Recognize C++ comments under
4138         -std=gnu89.
4139         * cpplib.c (skip_block_comment, skip_line_comment): Split code
4140         out of...
4141         (skip_comment) ... here.  Permit C++ comments in system
4142         headers always.  Warn about C++ comments in user code under
4143         -std=gnu89 -pedantic.
4144         (copy_comment): Use skip_comment.
4145         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
4146         return EOF.
4147         (consider_directive_while_skipping, do_else, do_endif): Call
4148         validate_else unconditionally.
4149         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
4150         text after the conditional in a system header.
4151         * cpplib.h (struct cpp_buffer): Add flag
4152         warned_cplusplus_comments.
4153
4154 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
4155
4156         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
4157         Use unshare_all_rtl_1.
4158         (unshare_all_rtl_again): New function.
4159         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
4160
4161         * function.c (purge_addressof_1): Use unshare_all_rtl_again
4162         rather than resetting the 'used' flags ourself.
4163
4164         * toplev.c (rest_of_compilation): Add current_function_decl
4165         to the unshare_all_rtl call.
4166         * tree.h: Prototype unshare_all_rtl.
4167         * rtl.h: Prototype unshare_all_rtl_again here.
4168
4169 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
4170
4171         * genoutput.c (output_prologue): Include ggc.h in generated
4172         files.
4173         * Makefile.in (insn-output.o): Depends on ggc.h.
4174
4175 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
4176             Hans-Peter Nilsson  <hp@bitrange.com>
4177
4178         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
4179         Remove redundant include of xm-ns32k.h.
4180         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
4181         Remove redundant include of xm-ns32k.h.
4182         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
4183         Remove redundant include of xm-ns32k.h.
4184         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
4185
4186         * ns32k/ns32k.h: Update comment on multiply-add instructions.
4187         (TARGET_SWITCHES): Add documentation strings.
4188         (DWARF_FRAME_REGNUM): Override default definition.
4189         (REG_CLASS_CONTENTS): Add comments.
4190         (SUBSET_P): Format to reduce line length.
4191         (SMALL_REGISTER_CLASSES): Make a run time option.
4192         (GO_IF_NONINDEXED_ADDRESS): Reformat.
4193         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
4194         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
4195         (regclass_map): fix typo in comment.
4196         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
4197         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
4198         (trace, reg_or_mem_operand): Delete, unused function.
4199         (calc_address_cost): Small offsets are cheaper than large ones.
4200         (expand_block_move): Generate more efficient code when bytes is a
4201         known at compile time.
4202         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
4203         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
4204         instead of reg_or_mem_operand.
4205
4206         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
4207         not general_operand.  Similarly use "=rm" or stricter, not "=g".
4208         For input operands, use stricter constraints than "g" if not
4209         general_operand.  Similarly use stricter predicate than
4210         "general_operand" when stricter constraints than "g" are present,
4211         except for matching constraints.
4212         (movstrsi): Use "memory_operand" for operands 0 and 1.
4213         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
4214         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
4215         not reg_or_mem_operand.
4216         (udivmoddisi4): Ditto.
4217         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
4218         Use nonimmediate_operand for operand 3, not register_operand.
4219         (udivmoddiqi4_internal): Use register_operand for operand 1, not
4220         reg_or_mem_operand.
4221
4222 2000-01-27  Fred Fish  <fnf@be.com>
4223
4224         * gthr-posix.h: Fix typo; compatibily -> compatibility.
4225         * gthr-single.h: Likewise.
4226         * gthr-solaris.h: Likewise.
4227         * gthr-vxworks.h: Likewise.
4228         * gthr-win32.h: Likewise.
4229         * gthr.h: Likewise.
4230
4231 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
4232
4233         * cppinit.c: Add " (cpplib)" to end of string printed by
4234         -v / --version.
4235
4236 2000-01-27  Richard Henderson  <rth@cygnus.com>
4237
4238         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
4239         testing for a signed comparison.
4240         (alpha_emit_floatuns): New.
4241         * alpha-protos.h: Declare it.
4242         * alpha.md (floatunsdisf2, floatunsdidf2): New.
4243         (extendsfdf2): Tidy.
4244
4245 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
4246
4247         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
4248         no -g option specifying debugging format, default to -gstabs+.
4249
4250 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
4251
4252         * calls.c (special_function_p): New argument fork_or_exec.
4253         (expand_call): When profile_arc_flag is set and the function
4254         is in the fork_or_exec group, call __bb_fork_func first.
4255         * libgcc2.c, _bb module (__bb_fork_func): New function.
4256         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
4257         output file.
4258         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
4259         * tree.h (special_function_p): Update prototype.
4260
4261 2000-01-26  Richard Henderson  <rth@cygnus.com>
4262
4263         * alpha.c (alpha_split_tfmode_pair): New.
4264         * alpha-protos.h: Declare it.
4265         * alpha.md (abstf2, negtf2): New.
4266         (movtf insn): Add input G constraint.
4267         (movtf splitter): Use alpha_split_tfmode_pair.
4268
4269 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4270
4271         * i386/cygwin.h: PROTO -> PARAMS.
4272
4273 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
4274
4275         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
4276         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
4277         using _Qp_cmp/_Q_cmp and testing the return value.
4278         (print_operand): Call reverse_condition_maybe_unordered if
4279         we are handling CCFPmode or CCFPEmode.
4280         Handle ORDERED, UN* and LTGT comparisons.
4281         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
4282         if not TARGET_HARD_QUAD.
4283         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
4284         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
4285         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
4286         Adjust gen_b* calls so that they reflect return comparison of
4287         sparc_emit_float_lib_cmp.
4288
4289 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4290
4291         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
4292         incoming operands array is large enough for one more operand.
4293         (alpha_emit_xfloating_arith): Likewise.
4294
4295 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
4296
4297         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
4298         file with one line and no trailing newline.
4299         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
4300         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
4301         checking if the match is on the line.
4302         * fixinc/gnu-regex.c: Provide regerror not __regerror.
4303
4304 2000-01-25  Richard Henderson  <rth@cygnus.com>
4305
4306         * sparc.c (output_cbranch): Fix accidental squashing of the
4307         fp branch pre-delay nop.
4308
4309 2000-01-25  Richard Henderson  <rth@cygnus.com>
4310
4311         * tree.def (UNNE_EXPR): Remove.
4312         * c-typeck.c (build_binary_op): Don't handle it.
4313         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
4314
4315         * rtl.def (UNNE): Remove.
4316         (LTGT): Add.
4317         * jump.c (reverse_condition): Update accordingly.
4318         (swap_condition): Likewise.
4319         (comparison_dominates_p): Handle unordered comparisons.
4320         (reverse_condition_maybe_unordered): New.
4321         * rtl.h (reverse_condition_maybe_unordered): Declare.
4322
4323         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
4324         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
4325         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
4326         * sparc.md (bltgt): New.
4327
4328 2000-01-25  Nick Clifton  <nickc@redhat.com>
4329
4330         * emit-rtl.c (emit_insn): Only check machine class insns for
4331         improper emission of a RETURN.
4332
4333 2000-01-25  Richard Henderson  <rth@cygnus.com>
4334
4335         * Makefile.in (flow.o): Depend on $(EXPR_H).
4336         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
4337         duplicate the structure of diddle_return_value for keeping regs live.
4338
4339 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4340
4341         * loop.c (current_loop_info): Delete.
4342         (consec_sets_invariant_p): Add loop argument, update callers.
4343         (get_condition_for_loop): Likewise.
4344         (count_nonfixed_reads, update_giv_derive): Likewise.
4345         (simplify_giv_expr, general_induction_var): Likewise.
4346         (consec_sets_giv, recombine_givs): Likewise.
4347         (move_movables): Delete loop_start and loop_end arguments,
4348         add loop argument, and update callers.
4349         (find_mem_givs, check_final_value): Likewise.
4350         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
4351         (loop_invariant_p): Rename from invariant_p, add loop argument, and
4352         update callers.
4353         (basic_induction_var): Add loop argument, delete loop_level argument,
4354         and update callers.
4355         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
4356         add loop argument, and update callers.
4357         (find_splittable_regs, find_splittable_givs): Likewise.
4358         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
4359         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
4360         (biv_total_increment): Delete loop_start and loop_end arguments;
4361         update callers.
4362         (precondition_loop_p): Delete loop_start and loop_info arguments;
4363         update callers.
4364         * loop.h (get_condition_for_loop): Add loop argument.
4365         (biv_total_increment): Delete loop_start and loop_end arguments.
4366         (precondition_loop_p): Delete loop_start and loop_info arguments;
4367         add loop argument.
4368         (final_biv_value): Delete loop_start and loop_end arguments;
4369         add loop argument.
4370         (final_giv_value, back_branch_in_range_p): Likewise.
4371
4372 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
4373
4374         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
4375
4376 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
4377
4378         * Makefile.in (c-gperf.h) : Change the "See" pointer to
4379         point to the new "generated_files" doc.
4380
4381 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
4382
4383         * config/fp-bit.c (_unord_f2): Fix typo.
4384
4385 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
4386
4387         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
4388         c-typeck.c, objc/objc-act.c: Remove all references to obstack
4389         functions obsoleted by GC, such as push_obstacks_nochange,
4390         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
4391         and code which existed only to decide whether or not to call
4392         them.  Remove now-unused NESTED argument from start_function;
4393         all callers changed.  Do not change behavior based on ggc_p.
4394         The use of the ixp_obstack in c-iterate.c and the util_obstack
4395         in objc/objc-act.c remain; these are not obsoleted by garbage
4396         collection.
4397         * c-tree.h: Update prototype for start_function.
4398
4399         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
4400
4401 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
4402
4403         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
4404         mips16.
4405
4406 2000-01-25  Richard Henderson  <rth@cygnus.com>
4407
4408         * sparc-protos.h (select_cc_mode): Declare.
4409         * sparc.c (select_cc_mode): New.  Handle unordered compares.
4410         (output_cbranch): Always reverse via code change.  Handle
4411         unordered compares.  Factor tests and string updates.
4412         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
4413         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
4414         * sparc.md (bunordered, bordered): New.
4415         (bungt, bunlt, buneq, bunge, bunle): New.
4416
4417 2000-01-25  Richard Henderson  <rth@cygnus.com>
4418
4419         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
4420         * ggc-common.c (ggc_add_rtx_varray_root): New.
4421         (ggc_mark_rtx_varray): New.
4422         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
4423         functions down below ggc_mark_foo.
4424         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
4425
4426 2000-01-25  Richard Henderson  <rth@cygnus.com>
4427
4428         * alpha.c (secondary_reload_class): Don't allocate a secondary
4429         for integral mode memories into FLOAT_REGS.  Rearrange the more
4430         complicated memory expression inward.
4431
4432 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
4433
4434         * inclhack.def: Fixes to play nicer with FreeBSD, and
4435         corrections to comments.
4436         (cxx_unready): Add select expression.
4437         (irix_sockaddr): Add bypass expression.
4438         (machine_ansi_h_va_list): New fix.
4439         (stdio_va_list): No need to edit _BSD_VA_LIST_.
4440         Split out addition of "#include <stdarg.h>" to...
4441         (stdio_stdarg_h): ... here.
4442         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
4443         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
4444         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
4445         size_t.
4446         (ultrix_ifdef): Tighten up select expression.
4447
4448         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
4449         re_ct and max_mach to avoid use of shell.  Make printed names
4450         match names in inclhack.def.  Use static copyright date.
4451         Don't count c_test and test expressions as requiring regex_t
4452         slots.  Add some commentary.
4453         * inclhack.tpl: Do not include the 'This script contains N
4454         fixup scripts' line if PROGRAM is defined.  Use static
4455         copyright date.
4456
4457 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
4458
4459         * dwarf2out.c: include "varray.h", not dyn-string.h.
4460         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
4461         (addr_const_to_string, addr_to_string): Lose.
4462         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
4463         (struct dw_val_struct): val_addr is now an rtx.
4464         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
4465         (used_rtx_varray): New varray.
4466         (dwarf2out_init): Initialize it.
4467         (save_rtx): New fn.
4468         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
4469         addr_to_string.
4470         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
4471         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
4472         * Makefile.in (dwarf2out.o): Update dependencies.
4473
4474 2000-01-24  Richard Henderson  <rth@cygnus.com>
4475
4476         * i386.c (i386_dwarf_output_addr_const): New.
4477         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
4478
4479         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
4480         if defined.
4481         * dwarfout.c (output_mem_loc_descriptor): Likewise.
4482         * i386.c (i386_simplify_dwarf_addr): New.
4483         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
4484
4485 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
4486
4487         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
4488         TYPE_STUB_DECL is NULL.
4489
4490 2000-01-24  Richard Henderson  <rth@cygnus.com>
4491
4492         * builtins.c (expand_tree_builtin): Move ...
4493         * c-common.c (expand_tree_builtin): ... here.
4494
4495 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4496
4497         * loop.h (LOOP_INFO): New accessor macro.
4498         * basic-block.h (struct loop): Rename field `info' to `aux'.
4499         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
4500         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
4501         * unroll.c (loop_iterations, unroll_loop): Likewise.
4502
4503 2000-01-24  Christopher Faylor <cgf@cygnus.com>
4504
4505         * config/i386/t-cygwin: Accomodate new winsup directory layout
4506         when searching for include files.
4507
4508 2000-01-24  Richard Henderson  <rth@cygnus.com>
4509
4510         * rtl.def: Add unordered fp comparisions.
4511         * tree.def: Likewise.
4512         * tree.h: Add ISO C 9x unordered fp comparision builtins.
4513
4514         * builtins.c (expand_tree_builtin): New function.
4515         * c-typeck.c (build_function_call): Use it.
4516         (build_binary_op): Support unordered compares.
4517         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
4518
4519         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
4520         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
4521         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
4522         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
4523         * jump.c (reverse_condition): Don't abort for UNLE etc, but
4524         return UNKNOWN.
4525         (swap_condition): Handle unordered compares.
4526         (thread_jumps): Check can_reverse before reversing.
4527         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
4528         reversed for FP.
4529
4530         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
4531         setcc is present before acking for cmp_optab.  Update all callers.
4532         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
4533         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
4534         * expr.c (expand_expr): Likewise.  Support unordered compares.
4535         (do_jump, do_store_flag): Likewise.
4536         * expr.h (enum libfunc_index): Add unordered compares.
4537
4538         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
4539         (DPBIT_FUNCS): Add _unord_df.
4540         * config/fp-bit.c (_unord_f2): New.
4541         * fp-test.c (main): Try unordered compare builtins.
4542
4543         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
4544         * alpha.c (alpha_comparison_operator): Check mode properly.
4545         (alpha_swapped_comparison_operator): Likewise.
4546         (signed_comparison_operator): Likewise.
4547         (alpha_fp_comparison_operator): New.
4548         (alpha_emit_conditional_branch): Handle unordered compares.
4549         * alpha.h (PREDICATE_CODES): Update.
4550         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
4551         (bunordered, bordered): New.
4552
4553 2000-01-24  Richard Henderson  <rth@cygnus.com>
4554
4555         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
4556         * alpha.md (movtf): New expander, insn, and splitter.
4557
4558 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
4559
4560         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
4561         dead registers.
4562
4563 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
4564
4565         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
4566         (FIXED_REGISTERS, CALL_USED_REGISTERS,
4567          REG_ALLOC_ORDER): Add frame pointer
4568         (FRAME_POINTER_REGNUM): Set to 20
4569         (HARD_FRAME_POINTER_REGNUM): New macro.
4570         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
4571         to HARD_FRAME_POINTER.
4572         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
4573         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
4574         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
4575         (HI_REGISTER_NAMES): Add "frame".
4576         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
4577         (debug_reg): Handle FRAME_POINTER_REGNUM.
4578         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
4579         GENERAL_REGS and INDEX_REGS.
4580         * i386.c (SAVED_REGS_FIRST): new macro.
4581         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
4582         (ix86_decompose_address, memory_address_length): Likewise.
4583         (regclass_map): Add frame pointer.
4584         (call_insn_operand): Handle frame_pointer_rtx.
4585         (reg_no_sp_operand): Likewise.
4586         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
4587         (print_operand, legitimize_pic_address): Fix formating.
4588         (ix86_compute_frame_size): Make static, update prototype, new
4589         parameters padding1, padding2, use ix86_nsaved_regs, use
4590         stack_alignment_needed.
4591         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
4592         to HARD_FRAME_POINTER_REGNUM conversions.
4593         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
4594         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
4595         (print_reg): Abort on FRAME_POINTER_REGNUM
4596
4597 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
4598
4599         * i386.h (PREDICATE_CODES): Add aligned_operand.
4600         * i386.c (aligned_operand): New function.
4601         (ix86_aligned_p): Kill.
4602         * i386.md (movhi_1): Emit mov for aligned operands.
4603         (promoting peep2s): Use aligned_operand.
4604
4605 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
4606
4607         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
4608         expression to allow underscores in macro names.
4609         (fix_char_macro_defines): Increment scanning pointer.
4610
4611 2000-01-23  Richard Henderson  <rth@cygnus.com>
4612
4613         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
4614         * alpha/osf5.h: New file.
4615         * configure.in (alpha-*-osf5): Add it to tm_file.
4616
4617         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
4618
4619         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
4620         (alpha_emit_xfloating_cvt, function_arg): Declare.
4621         * alpha.c (alpha_emit_conditional_branch): Call
4622         alpha_emit_xfloating_compare for TFmode compares.
4623         (alpha_lookup_xfloating_lib_func): New.
4624         (alpha_compute_xfloating_mode_arg): New.
4625         (alpha_emit_xfloating_libcall): New.
4626         (alpha_emit_xfloating_arith): New.
4627         (alpha_emit_xfloating_compare): New.
4628         (alpha_emit_xfloating_cvt): New.
4629         (print_operand): Add default abort case.
4630         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
4631         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
4632         (BIGGEST_ALIGNMENT): Increase to 128 bits.
4633         (RETURN_IN_MEMORY): True for TF/TCmode.
4634         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
4635         (FUNCTION_ARG): Move to function_arg.
4636         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
4637         (ASM_OUTPUT_LONG_DOUBLE): New.
4638         (ASM_OUTPUT_DOUBLE): Always output bits.
4639         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
4640         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
4641         (extenddftf2, trunctfdf2): New.
4642
4643 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4644
4645         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
4646         * config/sparc/sol2.h: ... here.
4647
4648 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4649
4650         * basic-block.h (struct loops): New field `levels'.
4651         * flow.c (flow_loops_level_compute): Traverse all outer loops.
4652         (flow_loop_level_compute): Initialise level to 1.
4653         (flow_loops_find): Set loops->levels.
4654         (flow_loops_dump): Print loops->levels.
4655
4656 2000-01-23  Richard Henderson  <rth@cygnus.com>
4657
4658         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
4659         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
4660
4661 2000-01-23  Richard Henderson  <rth@cygnus.com>
4662
4663         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
4664         * i386.h (DBX_REGISTER_NUMBER): Use them.
4665         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
4666         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
4667         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
4668         * i386/sequent.h: Kill incorrect comment.
4669
4670 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
4671
4672         * ggc-page.c (struct page_entry): Make `context_depth' an
4673         `unsigned short'.
4674         (struct globals): Likewise.
4675
4676 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
4677
4678         * loop.c (check_dbra_loop): When checking a loop for
4679         reversability, check the source of any stores to ensure
4680         they don't depend on an initial value.
4681
4682 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4683
4684         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
4685
4686 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
4687
4688         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
4689         'pz_scan' into scope of entire function.  Only affects
4690         compiles with -DDEBUG.
4691
4692 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
4693
4694         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
4695         section naming to that prior to 2000-01-07 patch.
4696         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
4697         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
4698         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
4699         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
4700         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
4701
4702 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
4703
4704         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
4705         constant.
4706
4707 2000-01-21  Jim Wilson  <wilson@cygnus.com>
4708
4709         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
4710         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
4711
4712 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
4713
4714         * cpphash.c (change_newlines): Delete function.
4715         (struct argdata): Delete 'newlines' and 'use_count' fields.
4716         (macroexpand): Remove code referencing those fields.
4717
4718 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4719
4720         * loop.c (loops_info): New variable.
4721         (loop_optimize): Allocate loops->array and free it on exit.
4722         Allocate memory for loops_info and assign to each loop,
4723         replacing alloca.
4724         (find_and_verify_loops): Do not allocate loops->array.
4725
4726 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
4727
4728         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
4729
4730 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
4731
4732         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
4733         pseudos if expanded after first flow.
4734         (movdi_pic_label_ref): Likewise.
4735
4736 2000-01-20  Richard Henderson  <rth@cygnus.com>
4737
4738         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
4739
4740 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
4741
4742         * Makefile.in (fixinc.sh): Depend on specs.
4743         * fixinc/Makefile.in: Add rule to create machname.h.
4744         (fixlib.o): Depend on machname.h.
4745         * fixinc/fixtests.c (machine_name): New test.
4746         * fixinc/fixfixes.c (machine_name): New fix.
4747         * fixinc/fixlib.c (mn_get_regexps): New helper function for
4748         the machine_name test and fix.
4749         * fixinc/fixlib.h: Prototype it.
4750         * fixinc/inclhack.def (machine_name): Use the C test and fix.
4751         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
4752
4753         * gcc.c (do_spec_1) [case P]: Take care not to create
4754         identifiers with three leading or trailing underscores.
4755
4756         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
4757         (fixincl): Don't specify libraries twice on link line.
4758         (gnu-regex.o): Remove special rule.
4759         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
4760         defined by config.h.  Do not define _REGEX_RE_COMP.
4761         (regcomp): Allocate and initialize a fastmap.
4762         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
4763
4764 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
4765
4766         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
4767
4768 2000-01-19  Richard Henderson  <rth@cygnus.com>
4769
4770         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
4771         arguments with BB.  Update all callers.  Tidy line wrapping.
4772
4773 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
4774
4775         * emit-rtl.c (try_split): Return last_insn if we split the
4776         last_insn.
4777
4778 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
4779
4780         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
4781         (ix86_initial_elimination_offset): Declare.
4782         * i386.c (ix86_nsaved_regs): Break out from ...
4783         (ix86_can_use_return_insn_p): ... here.
4784         (ix86_emit_save_regs): Break out from ...
4785         (ix86_expand_prologue): ... here.
4786         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
4787         out from ...
4788         (ix86_expand_epilogue): ... here.
4789         (ix86_compute_frame_size): Make static, add prototype.
4790         (ix86_initial_elimination_offset): Break out from ...
4791         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
4792
4793 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4794
4795         * recog.h (OUT_FCN): Delete.
4796
4797         * vax.md: Call `get_insn_template' instead of OUT_FCN.
4798
4799 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4800
4801         * cppalloc.c: PROTO -> PARAMS.
4802         * cpperror.c: Likewise.
4803         * cppfiles.c: Likewise.
4804         * cpplib.c: Likewise.
4805         * cpplib.h: Likewise.
4806
4807         * config/arm/arm-protos.h: PROTO -> PARAMS.
4808         * config/arm/arm.c: Likewise.
4809         * config/c4x/c4x.c: Likewise.
4810         * config/fr30/fr30-protos.h: Likewise.
4811         * config/nextstep.c: Likewise.
4812         * config/pa/pa.c: Likewise.
4813         * config/pj/pj.c: Likewise.
4814         * config/rs6000/rs6000.c: Likewise.
4815         * config/v850/v850-protos.h: Likewise.
4816         * config/v850/v850.c: Likewise.
4817
4818 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4819
4820         * i370-protos.h: New file.
4821
4822         * i370.c: Include tm_p.h.  Fix compile time warnings.
4823
4824         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
4825         warnings.
4826
4827         * i370.md: Likewise.
4828
4829 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4830
4831         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
4832         (target_isinf, target_isnan, eisnan): Mark parameter with
4833         ATTRIBUTE_UNUSED.
4834         (eiisinf): Wrap in INFINITY.
4835         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
4836         (ibmtoe): Remove unused variable `rndsav'.
4837
4838 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4839
4840         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
4841         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
4842
4843 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
4844
4845         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
4846         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
4847         (fix_char_macro_defines, fix_char_macro_uses): New functions.
4848
4849         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
4850         Recognize Emacs mode markers also.
4851         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
4852         C++ comments in C++ headers.  Call is_cxx_header only if
4853         necessary.
4854
4855         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
4856         bypass for ncurses.
4857         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
4858         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
4859         ... these, which use the new C fixes.
4860         (math_exception): Escape literal '+' in bypass expression.
4861
4862         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
4863         Regenerate.
4864
4865 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4866
4867         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
4868         inside the MEM.
4869
4870 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4871
4872         * loop.c (loop_optimize): Allocate loop_info structure for each loop
4873         prior to calling scan_loop.
4874
4875 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4876
4877         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
4878         (split_branches, calc_live_regs): Likewise.
4879
4880 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4881
4882         * sh.md (fpu_single, fp_mode): New attributes.
4883
4884 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4885
4886         * loop.c (current_loop_info): Renamed from loop_info_data
4887         and changed to a pointer.
4888         (loop_optimize): Allocate loop_info structure for each loop
4889         and initialise to zero.
4890         (scan_loop): Set current_loop_info.
4891
4892         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
4893         on iteration_var.
4894
4895 2000-01-19  Richard Henderson  <rth@cygnus.com>
4896
4897         * stupid.c: Die die die.
4898         * Makefile.in (OBJS): Remove stupid.o.
4899         (stupid.o): Likewise.
4900
4901         * except.c (emit_eh_context): Don't emit USEs for stupid.
4902         * explow.c (probe_stack_range): Likewise.
4903         * flags.h (obey_regdecls): Remove.
4904         * flow.c (find_basic_blocks): Don't run try_merge_blocks
4905         when not optimizing.
4906         (life_analysis): Limit data collection when not optimizing.
4907         (mark_regs_live_at_end): Always mark the return value registers.
4908         (mark_used_regs): Remove dummy RETURN case.
4909         (print_rtl_with_bb): Don't consult obey_regdecls.
4910         * function.c (use_variable, use_variable_after): Remove.
4911         (assign_parms): Consult optimize not obey_regdecls.
4912         (expand_function_start): Don't emit USEs for stupid.
4913         (expand_function_end): Likewise.
4914         * global.c (build_insn_chain): Export.
4915         * integrate.c (expand_inline_function): Kill return-value USE
4916         handling code.
4917         * jump.c (jump_optimize_1): Do simple jump optimizations and
4918         dead code elimination.
4919         (calculate_can_reach_end): Remove check_deleted argument.
4920         (delete_insn): Patch out insns even when not optimizing.
4921         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
4922         * rtl.h (use_variable, use_variable_after): Remove declarations.
4923         (build_insn_chain): Declare.
4924         * stmt.c (expand_value_return): Don't emit USEs for stupid.
4925         (expand_end_bindings): Likewise.
4926         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
4927         * toplev.c (obey_regdecls): Remove.
4928         (rest_of_compilation): Don't set it.  Kill stupid in favour of
4929         flow1, local-alloc, and reload.
4930         (main): Don't set obey_regdecls.
4931
4932         * config/nextstep.c (handle_pragma): Likewise.
4933
4934         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
4935
4936         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
4937
4938 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4939
4940         * alpha-protos.h: PROTO -> PARAMS.
4941         * alpha.c: Likewise.
4942         * elf.h: Likewise.
4943         * h8300.c: Likewise.
4944         * i386-protos.h: Likewise.
4945         * i386.c: Likewise.
4946         * m32r-protos.h: Likewise.
4947         * m32r.c: Likewise.
4948         * mips.c: Likewise.
4949         * mips.md: Likewise.
4950         * gmon-sol2.c: Likewise.
4951         * sparc.c: Likewise.
4952
4953 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4954
4955         * ns32k-protos.h: New file.
4956
4957         * ns32k.c: Fix compile time warnings.
4958
4959         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
4960         warnings.
4961
4962         * ns32k.md: Likewise.
4963
4964 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4965
4966         * vax-protos.h: New file.
4967
4968         * vax.c: Fix compile time warnings.
4969
4970         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
4971         warnings.
4972
4973         * vax.md: Likewise.
4974
4975         * vaxv.md: Likewise.
4976
4977 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4978
4979         * romp-protos.h: New file.
4980
4981         * romp.c: Fix compile time warnings.
4982
4983         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
4984         warnings.
4985
4986         * romp.md: Likewise.
4987
4988 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4989
4990         * we32k-protos.h: New file.
4991
4992         * we32k.c: Fix compile time warnings.
4993
4994         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
4995         warnings.
4996
4997 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4998
4999         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
5000
5001         * except.c (eh_regs): Likewise.
5002
5003         * final.c (output_operand): Likewise.
5004
5005         * fold-const.c (target_isinf, target_isnan): Likewise.
5006
5007 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
5008
5009         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
5010         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
5011
5012         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
5013         when optimize_size.
5014         (clrstrsi): Rewrite.
5015         (strsethi, strsetqi): New expanders.
5016         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
5017         (cmpstrsi): Emit compare insn before cmpstrsi_1
5018         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
5019         (strlensi_1): Likewise.
5020         (cmpstrsi_1): Likewise; do not output compare.
5021         (strlen expander): Do not unroll when optimizing for size.
5022         (*subsi3_carry): Rename to subsi3_carry
5023         (addqi3_cc): New pattern.
5024         * i386.h (processor_costs): Add move_ratio field.
5025         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
5026         * i386.c (*_cost): Set move_ratio.
5027         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
5028         (x86_expand_strlensi_1): Rewrite the main loop.
5029
5030 2000-01-17  Richard Henderson  <rth@cygnus.com>
5031
5032         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
5033         * cse.c (find_comparison_args, fold_rtx): Likewise.
5034         * integrate.c (subst_constants): Likewise.
5035         * loop.c (get_condition): Likewise.
5036
5037         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
5038
5039         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
5040
5041 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
5042
5043         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
5044         (RESTORE_WARN_FLAGS): Unpack it.
5045         Change semantic type of extension to ttype.
5046         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
5047         * c-parse.y, c-parse.c, objc/objc-parse.y,
5048         objc/objc-parse.c: Regenerate.
5049
5050 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
5051
5052         * fixinc/fixlib.c: Add copyright notice.
5053         (compile_re): New function.
5054         * fixinc/fixlib.h: Prototype compile_re.
5055
5056         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
5057         Use compile_re to compile regular expressions.
5058
5059         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
5060         where the pattern matched.
5061
5062         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
5063         use 'replace'.
5064         (ultrix_ansi_compat): Likewise.
5065         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
5066         add egrep test.
5067         (interactv_add2, interactv_add3): Delete.
5068         (x11_sprintf): Don't use filename glob.
5069         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
5070         Regenerate.
5071
5072 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5073
5074         * print-rtl.c: PROTO -> PARAMS.
5075         * real.c: Likewise.
5076         * reg-stack.c: Likewise.
5077         * resource.c: Likewise.
5078         * sdbout.h: Likewise.
5079         * simplify-rtx.c: Likewise.
5080         * stor-layout.c: Likewise.
5081         * stupid.c: Likewise.
5082         * xcoffout.c: Likewise.
5083         * xcoffout.h: Likewise.
5084
5085 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5086
5087         * toplev.c: PROTO -> PARAMS.
5088         * toplev.h: Likewise.
5089         * tree.c: Likewise.
5090         * tree.h: Likewise.
5091         * unroll.c: Likewise.
5092         * varasm.c: Likewise.
5093         * varray.c: Likewise.
5094         * varray.h: Likewise.
5095
5096 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5097
5098         * reload.c: PROTO -> PARAMS.
5099         * reload.h: Likewise.
5100         * reload1.c: Likewise.
5101         * reorg.c: Likewise.
5102         * resource.h: Likewise.
5103         * rtl.c: Likewise.
5104         * rtl.h: Likewise.
5105         * rtlanal.c: Likewise.
5106         * sbitmap.h: Likewise.
5107         * sdbout.c: Likewise.
5108         * stack.h: Likewise.
5109         * stmt.c: Likewise.
5110         * system.h: Likewise.
5111
5112 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5113
5114         * machmode.h: PROTO -> PARAMS.
5115         * mbchar.h: Likewise.
5116         * mips-tdump.c: Likewise.
5117         * mips-tfile.c: Likewise.
5118         * optabs.c: Likewise.
5119         * output.h: Likewise.
5120         * prefix.c: Likewise.
5121         * profile.c: Likewise.
5122         * protoize.c: Likewise.
5123         * real.h: Likewise.
5124         * recog.c: Likewise.
5125         * recog.h: Likewise.
5126         * regclass.c: Likewise.
5127         * regmove.c: Likewise.
5128         * regs.h: Likewise.
5129
5130 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5131
5132         * ggc-common.c: PROTO -> PARAMS.
5133         * ggc-page.c: Likewise.
5134         * ggc-simple.c: Likewise.
5135         * ggc.h: Likewise.
5136         * global.c: Likewise.
5137         * graph.c: Likewise.
5138         * gthr-win32.h: Likewise.
5139         * haifa-sched.c: Likewise.
5140         * halfpic.h: Likewise.
5141         * integrate.c: Likewise.
5142         * integrate.h: Likewise.
5143         * jump.c: Likewise.
5144         * lcm.c: Likewise.
5145         * local-alloc.c: Likewise.
5146         * loop.c: Likewise.
5147         * loop.h: Likewise.
5148
5149 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5150
5151         * genattr.c: PROTO -> PARAMS.
5152         * genattrtab.c: Likewise.
5153         * gencheck.c: Likewise.
5154         * gencodes.c: Likewise.
5155         * genconfig.c: Likewise.
5156         * genemit.c: Likewise.
5157         * genextract.c: Likewise.
5158         * genflags.c: Likewise.
5159         * gengenrtl.c: Likewise.
5160         * genopinit.c: Likewise.
5161         * genoutput.c: Likewise.
5162         * genpeep.c: Likewise.
5163         * genrecog.c: Likewise.
5164
5165 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
5166
5167         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
5168
5169 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5170
5171         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
5172         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
5173         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
5174         * configure, config.in: Rebuilt.
5175
5176 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
5177
5178         * config/i386/i386.md: Add peephole to merge successive stack
5179         adjusts.
5180
5181 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
5182
5183         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
5184         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
5185         when walking backwards to find all the parameter loads when
5186         the basic block ends in a call.
5187
5188 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5189
5190         * loop.c (this_loop_info): Delete.
5191         (uid_loop): Add in place of uid_loop_num.  All uses updated.
5192         (loop_number_exit_count): Delete and replace with entry in loop
5193         structure.  All uses updated.
5194         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
5195         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
5196         (loop_outer_loop): Likewise.
5197         (loop_invalid, loop_number_exit_labels): Likewise.
5198         (loop_used_count_register): Delete and replace with entry in
5199         loop_info structure.
5200         (find_and_verify_loops): Add loops argument.
5201         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
5202         loop_end, etc. arguments with loop structure pointer.  All callers
5203         changed.
5204         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
5205         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
5206         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
5207         (insert_bct): Likewise.
5208         (basic_induction_var): New argument level.
5209         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
5210         vtop, and cont.  Add used_count_register.
5211         (uid_loop): Delete declaration.
5212         (loop_number_exit_count): Likewise.
5213         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
5214         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
5215         (loop_outer_loop, loop_used_count_register): Likewise.
5216         (loop_invalid, loop_number_exit_labels): Likewise.
5217         (unroll_loop): Replace loop_start and loop_end arguments
5218         with loop structure pointer.
5219         (loop_precondition_p, loop_iterations): Likewise.
5220         Include basic-block.h.
5221         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
5222         with loop structure pointer.
5223         (loop_precondition_p, loop_iterations): Likewise.
5224         * basic-block.h (struct loop): New entries vtop, cont,
5225         cont_dominator, start, end, top, scan_start, exit_labels,
5226         exit_count.
5227         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
5228
5229 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5230
5231         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
5232
5233 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
5234
5235         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
5236
5237 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5238
5239         * pdp11-protos.h: New file.
5240
5241         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
5242         time warnings.
5243
5244         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
5245         warnings.
5246
5247         * pdp11.md: Likewise.
5248
5249         * 2bsd.h: Likewise.
5250
5251 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5252
5253         * mn10300-protos.h: New file.
5254
5255         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
5256         time warnings.
5257
5258         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
5259         warnings.
5260
5261         * mn10300.md: Likewise.
5262
5263 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5264
5265         * mn10200-protos.h: New file.
5266
5267         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
5268         time warnings.
5269
5270         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
5271         warnings.
5272
5273         * mn10200.md: Likewise.
5274
5275 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5276
5277         * h8300-protos.h: New file.
5278
5279         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
5280         time warnings.
5281
5282         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
5283         warnings.
5284
5285         * h8300.md: Likewise.
5286
5287 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5288
5289         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
5290         (asm_emit_uninitialised): Likewise.
5291
5292 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
5293
5294         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
5295         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
5296
5297 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
5298
5299         * config/mips/mips.c (override_options): Don't turn on extra
5300         alignment for mips16.
5301
5302 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
5303
5304         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
5305         eabi, and make sure queued POSTINCREMENT rtl is emitted at
5306         the right point.
5307
5308 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
5309
5310         * builtins.c (PAD_VARARGS_DOWN): Define.
5311         (std_expand_builtin_va_arg): Use the above macro.
5312         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
5313         * tm.texi (Register Arguments): Document the above macro.
5314
5315 2000-01-14  Nick Clifton  <nickc@cygnus.com>
5316
5317         * emit-rtl.c (emit_insn): If checking is enabled, make sure
5318         that this function has not been used to emit a jump
5319         instruction.
5320
5321         * jump.c (return_jump_1): Cope with being passed a null rtx.
5322
5323 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5324
5325         * eh-common.h: PROTO -> PARAMS.
5326         * emit-rtl.c: Likewise.
5327         * errors.c: Likewise.
5328         * errors.h: Likewise.
5329         * except.c: Likewise.
5330         * except.h: Likewise.
5331         * explow.c: Likewise.
5332         * expmed.c: Likewise.
5333         * expr.c: Likewise.
5334         * expr.h: Likewise.
5335         * final.c: Likewise.
5336         * fix-header.c: Likewise.
5337         * flow.c: Likewise.
5338         * fold-const.c: Likewise.
5339         * function.c: Likewise.
5340         * function.h: Likewise.
5341         * gcc.c: Likewise.
5342         * gcov-io.h: Likewise.
5343         * gcov.c: Likewise.
5344         * gcse.c: Likewise.
5345
5346 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5347
5348         * sh-protos.h: New file.
5349
5350         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
5351         Add static prototypes.  Fix compile time warnings.
5352
5353         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
5354         * sh.md: Likewise.
5355         * elf.h: Likewise.
5356
5357 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5358
5359         * arc-protos.h: New file.
5360
5361         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
5362         time warnings.
5363
5364         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
5365         warnings.
5366
5367         * arc.md: Likewise.
5368
5369 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5370
5371         * dsp16xx-protos.h: New file.
5372
5373         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
5374         time warnings.
5375
5376         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
5377         warnings.
5378
5379         * dsp16xx.md: Likewise.
5380
5381 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5382
5383         * convex-protos.h: New file.
5384
5385         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
5386         time warnings.
5387
5388         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
5389         warnings.
5390
5391 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5392
5393         * elxsi-protos.h: New file.
5394
5395         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
5396         time warnings.
5397
5398         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
5399         warnings.
5400
5401         * elxsi.md: Likewise.
5402
5403 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
5404
5405         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
5406         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
5407         match the comment for MIPS16.
5408
5409 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
5410
5411         * flow.c (split_edge): Do not call set_block_for_insn if we
5412         do not have a basic_block_for_insn structure.
5413
5414         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
5415         and destination functions are 32bit aligned within the trampoline.
5416         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
5417         (TRAMPOLINE_ALIGNMENT): Define.
5418
5419         * cse.c (cse_insn): When changing (set (pc) (reg)) to
5420         (set (pc) (label_ref)), verify the change creates a valid insn.
5421
5422         * fr30.c (call_operand): Tighten and rework to match rules for
5423         call RTL expressions.
5424         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
5425         * fr30.md (call patterns): Improve constraints.
5426
5427 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
5428
5429         * fr30.c (fr30_expand_epilogue): Revert last change.
5430         Use emit_jump_insn for the return insn.
5431
5432 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
5433                           Stan Cox  <scox@cygnus.com>
5434
5435         * predict.c: New file. Preliminary infrastructure work for static
5436         branch prediction and basic block reordering.
5437         * basic-block.h: Add prototype for estimate_probability.
5438         * Makefile.in: Add rules for predict.o.
5439
5440 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
5441
5442         * fixincludes (va_list): Use __not_va_list__ for the dummy.
5443         * fixinc/*: Likewise.
5444
5445 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5446
5447         * cccp.c: PROTO -> PARAMS.
5448         * cexp.y: Likewise.
5449         * collect2.c: Likewise.
5450         * combine.c: Likewise.
5451         * convert.h: Likewise.
5452         * cse.c: Likewise.
5453         * dbxout.c: Likewise.
5454         * dbxout.h: Likewise.
5455         * diagnostic.c: Likewise.
5456         * doprint.c: Likewise.
5457         * dwarf2out.c: Likewise.
5458         * dwarf2out.h: Likewise.
5459         * dwarfout.c: Likewise.
5460         * dwarfout.h: Likewise.
5461         * dyn-string.h: Likewise.
5462
5463 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5464
5465         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
5466         macro conditionals guarding use.
5467
5468         * dwarf2out.c: Include "tm_p.h".
5469
5470         * function.c (locate_and_pad_parm): Mark parameter with
5471         ATTRIBUTE_UNUSED.
5472         (expand_function_end): Likewise for variable `context'.
5473
5474         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
5475
5476 2000-01-13  Nick Clifton  <nickc@cygnus.com>
5477
5478         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
5479         register to prevent compile time warnings.
5480
5481 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
5482
5483         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
5484         to avoid -Wtraditional warning.
5485
5486 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5487
5488         * 1750a-protos.h: New file.
5489
5490         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
5491         time warnings.
5492
5493         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
5494         warnings.
5495
5496         * 1750a.md: Likewise.
5497
5498 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5499
5500         * a29k-protos.h: New file.
5501
5502         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
5503         time warnings.
5504
5505         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
5506         warnings.
5507
5508 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5509
5510         * clipper-protos.h: New file.
5511
5512         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
5513         time warnings.
5514
5515         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
5516         warnings.
5517
5518 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5519
5520         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
5521
5522 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
5523
5524         * configure.in (--enable-new-gxx-abi): New option.
5525         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
5526         * Makefile.in (GXX_ABI_FLAG): New variable.
5527         * configure: Regenerate.
5528
5529 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5530
5531         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
5532         * tm.texi (FORCE_STRUCT_BLK): Document.
5533         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
5534
5535 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
5536
5537         * config/ns32k/ns32k.md: Revert Jan 9 change.
5538
5539         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
5540         to a mode-test, if the predicate is address_operand.
5541
5542 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
5543
5544         * combine.c (if_then_else_cond): Be careful about what kinds
5545         of RTL expressions are passed to operand_subword.
5546
5547         * flow.c (split_edge): If we have to insert a new jump, make
5548         sure to associate it with a basic block.
5549
5550         * flow.c (commit_one_edge_insertion): A block with one successor
5551         can end in a JUMP_INSN that is not a simplejump.
5552
5553 2000-01-12  Robert Lipe  <robertl@sco.com>
5554
5555         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
5556         (BUILD_VA_LIST_TYPE): Define.
5557         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
5558         with crtstuff.c.
5559
5560 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
5561
5562         * cccp.c (do_pragma): Add cast to (char *).
5563
5564 2000-01-12  Richard Henderson  <rth@cygnus.com>
5565             Fred Fish  <fnf@be.com>
5566             Jason Merrill  <jason@cygnus.com>
5567
5568         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
5569         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
5570         * i386/beos-elf.h, i386/beos-pe.h: New files.
5571
5572         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
5573         * cross-make (SYSTEM_HEADER_DIR): Define using
5574         CROSS_SYSTEM_HEADER_DIR.
5575
5576         * gcc.c (LIBRARY_PATH_ENV): Provide default.
5577         (process_command): Use it.
5578         (main): Likewise.  Kill trailing = from env vars.
5579         (build_search_list): Put it back.
5580         * collect2.c (main): Use LIBRARY_PATH_ENV.
5581
5582         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
5583         * toplev.c: Use NEED_DECLARATION_ENVIRON.
5584
5585         * tm.texi (Frame Layout): Document SMALL_STACK.
5586         * c-common.c (c_common_nodes_and_builtins): Check it.
5587
5588         * system.h: Undef alloca after including glibc's <stdlib.h>,
5589         if USE_C_ALLOCA is defined.
5590
5591         * gcc.c (set_input): New fn.
5592         (main): After all input files are compiled, reset the input file
5593         info to the first.
5594
5595         * aclocal.m4 (rindex, index): If already defined, don't attempt
5596         to redefine.
5597
5598         * ginclude/varargs.h: (__va_list__): Define ifndef.
5599         * ginclude/stdarg.h: Likewise.
5600
5601         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
5602         instead of unsigned char.
5603
5604         * hash.h (true, false, boolean): Undef before enum.
5605
5606         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
5607         proper type of "HOST_WIDE_INT *", rather than their natural type of
5608         "unsigned HOST_WIDE_INT *".
5609
5610 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5611
5612         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
5613
5614         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
5615
5616         * regclass.c (choose_hard_reg_mode): Likewise.
5617
5618         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
5619
5620         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
5621
5622 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5623
5624         * c-common.c: PROTO -> PARAMS.
5625         * c-common.h: Likewise.
5626         * c-decl.c: Likewise.
5627         * c-iterate.c: Likewise.
5628         * c-lang.c: Likewise.
5629         * c-lex.c: Likewise.
5630         * c-lex.h: Likewise.
5631         * c-parse.in: Likewise.
5632         * c-pragma.c: Likewise.
5633         * c-pragma.h: Likewise.
5634         * c-tree.h: Likewise.
5635         * c-typeck.c: Likewise.
5636         * objc/objc-act.c: Likewise.
5637         * objc/objc-act.h: Likewise.
5638
5639 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5640
5641         * m88k-protos.h: New file.
5642
5643         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
5644         time warnings.
5645
5646         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
5647
5648         * m88k.md: Likewise.
5649
5650         * tekXD88.h: Likewise.
5651
5652 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5653
5654         * m68k-protos.h: New file.
5655
5656         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
5657         time warnings.
5658
5659         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
5660
5661         * mot3300.h: Likewise.
5662
5663 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
5664
5665         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
5666         extract_bitlst.
5667         (extract_bitlist): Declare bitlen.
5668
5669 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
5670
5671         * cccp.c: Accept and ignore -lang-fortran.
5672
5673         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
5674         qualifiers don't match at any level of pointerness.
5675
5676 2000-01-12  Robert Lipe  <robertl@sco.com>
5677
5678         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
5679
5680 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
5681
5682         * reload1.c (reload_reg_unavailable): New static variable.
5683         (reload_reg_free_p): Test it.
5684         (reload_reg_free_for_value_p): Test it instead of
5685         reload_reg_used.
5686         (choose_reload_regs_init): Compute it.
5687
5688 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
5689
5690         * reorg.c (fill_slots_from_thread): Check modified_in_p
5691         before replacing.
5692
5693 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
5694
5695         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
5696         these nodes even if INTERNALS is not set.
5697
5698 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
5699
5700         * gcse.c (delete_null_pointer_checks_1): Cope when
5701         get_condition cannot determine the condition.
5702
5703 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
5704
5705         * toplev.h (set_message_length): Declare.
5706
5707         * diagnostic.c (obstack_chunk_alloc): Define macro.
5708         (obstack_chunk_free): Likewise.
5709         (struct output_buffer): New data structure.
5710         (vmessage): Remove.
5711         (output_maximum_width): New variable.
5712         (doing_line_wrapping, set_message_length, init_output_buffer,
5713         get_output_prefix, output_space_left, emit_output_prefix,
5714         output_newline, output_append, output_puts, dump_output,
5715         vbuild_message_string, build_message_string, build_location_prefix,
5716         voutput_notice, output_printf, line_wrapper_printf,
5717         vline_wrapper_message_with_location):  New functions. Implement
5718         automatic line wrapping.
5719         (v_message_with_decl): Make it handle automatic line wrapping.
5720         (v_error_with_file_and_line): Likewise.
5721         (v_warning_with_file_and_line): Likewise.
5722         (announce_function): Likewise.
5723         (default_print_error_function): Likewise.
5724
5725 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
5726
5727         * cpplib.h (struct cpp_options): Change lang_asm to char.
5728         Add lang_fortran.
5729         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
5730         done in cpp_handle_option now.
5731         (initialize_builtins): Take out special case code used only by
5732         __STDC_VERSION__.
5733         (cpp_handle_option): Turn off trigraphs and trigraph warnings
5734         if -traditional.  Recognize -lang-fortran and set
5735         lang_fortran, also turn off cplusplus_comments.
5736         (print_help): Document -lang-fortran.
5737         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
5738         lang_asm. Ignore all directives other than `# 123 "file"' if
5739         CPP_PREPROCESSED.
5740         (cpp_get_token): If -traditional, don't recognize directives
5741         unless the # is in column 1.
5742         (parse_string): If lang_fortran or lang_asm, silently
5743         terminate strings ('' or "") at end of line.
5744         Remove unnecessary braces.
5745
5746 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5747             Richard Henderson  <rth@cygnus.com>
5748
5749         * resource.c (mark_referenced_resources): Mark a set strict_low_part
5750         as used.
5751         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
5752         strict_low_part when possible.
5753
5754 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5755
5756         * alias.c: PROTO -> PARAMS.
5757         * basic-block.h: Likewise.
5758         * bitmap.c: Likewise.
5759         * bitmap.h: Likewise.
5760         * builtins.c: Likewise.
5761         * c-aux-info.c: Likewise.
5762         * caller-save.c: Likewise.
5763         * calls.c: Likewise.
5764
5765 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5766
5767         * Makefile.in (toplev.o): Depend on regs.h.
5768
5769         * output.h (tdesc_section): Prototype.
5770
5771         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
5772
5773         * sdbout.c: Include "tm_p.h".
5774
5775         * toplev.c: Include "regs.h".
5776
5777 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
5778
5779         * unroll.c (unroll_loop): Add EH support.
5780
5781 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5782
5783         * pa-protos.h: New file.
5784
5785         * pa.c: Include recog.h and tm_p.h.
5786         (compute_zdepwi_operands, compute_movstrsi_length,
5787         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
5788         find_addr_reg, import_milli): Add static prototypes.
5789         (pa_cpu_string, pa_arch_string): Constify a char*.
5790         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
5791         (read_only_operand): Add argument `mode'.
5792         (singlemove_string, output_move_double, output_fp_move_double,
5793         output_block_move, output_and, output_ior, output_ascii,
5794         remove_useless_addtr_insns, milli_names, output_mul_insn,
5795         output_div_insn, output_mod_insn, output_arg_descriptor,
5796         output_cbranch, output_bb, output_bvb, output_dbra, ,
5797         output_millicode_call, output_call, hppa_encode_label,
5798         output_parallel_movb, output_parallel_addb): Constify a char*.
5799         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
5800         (output_parallel_addb): Remove extra arg to `constrain_operands'
5801
5802         * pa.h:  Move all prototypes to pa-protos.h.
5803         (pa_cpu_string, pa_arch_string): Constify a char*.
5804         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
5805
5806         * pa.md: Call `function_label_operand' with mode argument.
5807         Likewise for `read_only_operand'.
5808         Fix nesting of parens in call to `symbolic_operand'.
5809
5810 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5811
5812         * i860-protos.h: New file.
5813
5814         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
5815         time warnings.
5816
5817         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
5818
5819         * i860.md: Likewise.
5820
5821 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
5822
5823         * i386.md (movstrsi expander): Rewrite.
5824         (movstrsi_1 insn): Deleted.
5825         (strmovhi, strmovqi expander): New expanders.
5826         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
5827         * i386.c (x86_single_stringop): New global variable.
5828         * i386.h (x86_single_stringop): Declare.
5829         (TARGET_SINGLE_STRINGOP): New macro.
5830
5831 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
5832
5833         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
5834         integer vararg POSTINCREMENT before the destination of the jump
5835         for the hard fp case.
5836         (function_arg_pass_by_reference): Pass a copy of CUM to
5837         FUNCTION_ARG.
5838
5839         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
5840         for CONSTANT_ADDRESS_P above while loop for subreg.
5841
5842 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
5843
5844         * flow.c (propagate_block): When a prologue/epilogue insn
5845         is marked dead, unconditionally clear libcall_is_dead and
5846         insn_is_dead, and only dump rtl if warnings aren't being
5847         suppressed.
5848
5849 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
5850
5851         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
5852         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
5853         (FIXED_REGISTERS): Set dirflag as fixed.
5854         (CALL_USED_REGISTERS): Set dirflag as used.
5855         (REG_ALLOC_ORDER): Set dirflag as last one.
5856         (DIRFLAG_REG): New macro.
5857         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
5858         (HI_REGISTER_NAMES): Add dirflag.
5859         (DEBUF_PRINT_REG): Handle dirflag.
5860         * i386.md (type attribute): New cld and str types.
5861         (length_opcode attribute): Set cld and str to 1.
5862         (memory attribute): Set str to unknown - it is not clear from the
5863         patterns.
5864         (pent_np function unit): Prefixed string operations takes 12 cycles
5865         minimally; cld takes 2 cycles.
5866         (ppro_uops attribute): Str is "many" and cld is "few".
5867         (ppro_p0 unit): Handle cld here.
5868         (k6_alux unit): Handle cld and str types.
5869         (k6_load unit): It is ocupied by str opcodes.
5870         (k6_store unit): It is ocupied by str opcodes.
5871         (athlon_decode): Str is vector decoded.
5872         (athlon_ieu): Handle str and cld.
5873         (cld pattern): New.
5874         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
5875         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
5876         cmpstrsi_nz_1 insn): Do not output cld instruction
5877
5878 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
5879
5880         * gcc.texi (G++ and GCC): Add Java and Chill.
5881         (Bug Critera): Don't list languages.
5882
5883         * gcc.texi (Incompatibilities): No longer claim most C compilers
5884         are K&R.
5885
5886         * gcc.texi (G++ and GCC): Update other front-ends list.
5887
5888 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
5889
5890         * i386.c (ix86_expand_setcc): Fix typo.
5891         (ix86_expand_movcc): Similarly.
5892
5893         * Band-aid until haifa's bitset implementation is nuked.
5894         * haifa-sched.c (extract_bitlst): New parameter for size of the
5895         bitset in bits.  All callers changed.  Avoid looking at undefined
5896         bits in the bitset.
5897         (edgeset_bitsize): New variable.
5898         (schedule_region): Initialize edgeset_bitsize.
5899
5900 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5901
5902         * Makefile.in (optabs.o): Depend on real.h
5903         (resource.o): Depend on insn-attr.h
5904
5905         * builtins.c (result_vector): Wrap prototype in macro conditions
5906         governing definition and use.
5907
5908         * c-common.c: Include tm_p.h.
5909
5910         * c-lex.c: Likewise.
5911
5912         * elfos.h: Constify a char*.
5913
5914         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
5915         (get_attr_length, shorten_branches, profile_after_prologue): Mark
5916         parameter with ATTRIBUTE_UNUSED.
5917
5918         * fold-const.c (exact_real_inverse): Wrap variable `i' in
5919         CHECK_FLOAT_VALUE.
5920
5921         * haifa-sched.c (schedule_insns): Mark parameter with
5922         ATTRIBUTE_UNUSED.
5923
5924         * optabs.c: Include real.h.
5925
5926         * real.h (ereal_atof): Add prototype arguments.
5927
5928         * resource.c: Include insn-attr.h.
5929
5930         * sdbout.c (sdbout_queue_anonymous_type,
5931         sdbout_dequeue_anonymous_types): Wrap in macro
5932         SDB_ALLOW_FORWARD_REFERENCES.
5933         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
5934         ATTRIBUTE_UNUSED.
5935
5936         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
5937
5938         * stupid.c: Include tm_p.h.
5939
5940         * tree.c (real_value_from_int_cst): Mark parameter with
5941         ATTRIBUTE_UNUSED.
5942
5943 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5944
5945         * i960-protos.h: New file.
5946
5947         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
5948         time warnings.
5949
5950         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
5951
5952 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5953
5954         * combine.c (expand_field_assignment): Do not discard SUBREGs
5955         while computing nonzero_bits.
5956
5957 2000-01-09  Nick Clifton  <nickc@cygnus.com>
5958
5959         * config/arm/arm.c: Fix compile time warnings about signed vs
5960         unsigned constants.
5961         * config/arm/arm.h: Fix compile time warnings about signed vs
5962         unsigned constants.
5963
5964 2000-01-09  Philip Blundell  <philb@gnu.org>
5965
5966         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
5967         than `ldm' with only one register.
5968         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
5969         only one register.
5970
5971         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
5972         clobbered.
5973
5974 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
5975
5976         * config/ns32k/ns32k.md (load or push effective address): Operand 1
5977         must have SImode.
5978
5979 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5980
5981         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
5982         assignment used as truth value.
5983
5984         * function.c (assign_temp): Mark parameter `dont_promote' with
5985         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
5986         PROMOTE_FOR_CALL_ONLY.
5987
5988         * genrecog.c (write_subroutine): Mark variable `operands' with
5989         ATTRIBUTE_UNUSED.
5990
5991         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
5992         ATTRIBUTE_UNUSED.
5993
5994         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
5995         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
5996
5997         * toplev.c (note_deferral_of_defined_inline_function): Likewise
5998         for `decl'.
5999
6000 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6001
6002         * config/c4x.h: Tidy up comments.
6003         * config/c4x.c: Likewise.
6004
6005 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
6006
6007         * fold-const.c (lshift_double, rshift_double): Handle
6008         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
6009
6010 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
6011
6012         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
6013         in prepare_function_start().
6014
6015 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
6016
6017         * config/v850/v850.c (expand_epilogue): Interrupt functions no
6018         longer allocate extra stack for function calls.
6019
6020 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6021
6022         * config/c4x/c4x.md (*subqf3_set): Fix typo.
6023
6024 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6025
6026         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
6027
6028 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
6029
6030         * rs6000.c (processor_target_table): Add power3 as alias for 630.
6031         * aix43.h: Revert Aug 2 change.
6032         (HAS_INIT_SECTION): Define, not visible yet.
6033         (LD_INIT_SWITCH): Define, not visible yet.
6034         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
6035
6036         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
6037
6038         * collect2.c (main): Expand ld2 size further.
6039         (export_object_lst): Cast assignment to avoid warning.
6040         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
6041         (scan_prog_file, COFF): Do not collect initialization or
6042         finalization functions generated for entire shared object if
6043         init/fini support present.
6044
6045 2000-01-07  Nick Clifton  <nickc@cygnus.com>
6046
6047         * config/elfos.h: Tidy up formatting of marcos.  Make sure
6048         that .section directives are always prefixed by a tab.
6049
6050         * config/svr4.h: Add #include "elfos.h" and remove duplicate
6051         definitions.
6052
6053 2000-01-07  Matt Austern  <austern@sgi.com>
6054
6055         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
6056         expon.
6057
6058 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
6059
6060         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
6061         crtstuff.c.
6062         (crtbegin.o, s-crtS): Likewise.
6063
6064 2000-01-06  Richard Henderson  <rth@cygnus.com>
6065
6066         * alpha.md (adddi_2+1): Limit offset such that it will be
6067         loadable with a single ldah+lda pair.
6068         (adddi_2+2): Explicitly fail split if we can't make it work.
6069
6070 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
6071
6072         * protoize.c: Conditionally include unistd.h.
6073         (IS_SAME_PATH_CHAR): New macro.
6074         (IS_SAME_PATH): New macro.
6075         (CPLUS_FILE_SUFFIX): New macro.
6076         (cplus_suffix): New static variable.
6077         (is_abspath): New static function.
6078         (in_system_include_dir): Handle DOS style pathnames.
6079         (file_could_be_converted): Likewise.
6080         (file_normally_convertible): Likewise.
6081         (directory_specified_p): Likewise.
6082         (file_excluded_p): Likewise.
6083         (abspath): Likewise.
6084         (shortpath): Likewise.
6085         (referenced_file_is_newer): Likewise.
6086         (save_def_or_dec): Likewise.
6087         (do_processing): Likewise.
6088         (main): Likewise.
6089         (edit_file): Likewise. Use rename instead of link.
6090         (rename_c_file): Likewise. Don't rename syscalls file.
6091         (munge_compile_params): Define null device for DOS based systems.
6092         (process_aux_info_file): Use binary mode if appliable.
6093         (edit_file): Likewise.
6094         * invoke.texi (Running Protoize): Document C++ suffixes used.
6095
6096         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
6097         IS_DIR_SEPARATOR macros.
6098         * collect2.c: Likewise.
6099         * cppinit.c: Likewise.
6100         * dwarf2out.c: Likewise.
6101         * gcc.c: Likewise.
6102         * gcov.c: Likewise.
6103         * prefix.c: Likewise.
6104         * rtl.c: Likewise.
6105         * toplev.c: Likewise.
6106         * system.h: And move to here.
6107
6108         * prefix.c (update_path): Fix typo in variable name.
6109
6110 2000-01-06  Richard Henderson  <rth@cygnus.com>
6111
6112         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
6113         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
6114         (count_reg_sets_1, count_reg_references): Likewise.
6115         (flow_loops_level_compute): Start counting actual loop depth at 1.
6116         (flow_loops_find): Likewise.
6117         * local-alloc.c (update_equiv_regs): Likewise.
6118         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
6119
6120 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
6121
6122         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
6123         FIRST_PSEUDO_REGISTER
6124         * dwarf2out.c: Don't include frame.h
6125         * dwarfout.c: Likewise
6126         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
6127         frame.h
6128
6129 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
6130
6131         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
6132         dead registers.
6133
6134         * i386.c (movsf splitter): Fix typo in my last checkin.
6135
6136 2000-01-05  Nick Clifton  <nickc@cygnus.com>
6137
6138         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
6139         own definition of this macro.
6140         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
6141         flag_data_sections or UNIQUE_SECTION_P are true.
6142
6143         * tm.texi (UNIQUE_SECTION): Document that it can be called for
6144         unitialised data decls.
6145
6146         * config/i386/winnt.c (i386_pe_unique_section): Cope with
6147         being called for uninitialised data.
6148
6149         * config/i386/interix.c (i386_pe_unique_section): Cope with
6150         being called for uninitialised data.
6151
6152         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
6153         for uninitialised data.
6154
6155         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
6156         for uninitialised data.
6157
6158         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
6159         for uninitialised data.
6160
6161         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
6162         (UNIQUE_SECTION_P): Always generate a unique section if
6163         flag_data_sections is true.
6164         (UNIQUE_SECTION): Also generate unique sections for
6165         uninitialised data.
6166         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
6167         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
6168         named_section().
6169
6170 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6171
6172         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
6173         SI, or DI.
6174
6175 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6176
6177         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
6178         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
6179         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
6180         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
6181         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
6182
6183         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
6184
6185 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
6186
6187         * c-decl.c (finish_enum): Simplify code to determine minimum and
6188         maximum values of the enum, and calculate the type.  Remove check
6189         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
6190         the DECL_INITIAL of each enumeration constant with a copy converted
6191         to the enumeration type.  When updating variant types, don't bother
6192         updating the type itself.
6193
6194         * c-typeck.c (build_binary_op): Simplify conditional expressions
6195         when weeding out spurious signed-unsigned warnings.  Add new
6196         spurious warning category: if the unsigned quantity is an enum
6197         and its maximum value fits in signed_type(result_type).  Update
6198         commentary.
6199         (build_conditional_expr): Warn here if one alternative is signed
6200         and the other is unsigned.
6201
6202 2000-01-05  Nick Clifton  <nickc@cygnus.com>
6203
6204         * config/fr30/fr30.h: Remove extraneous comments.
6205
6206 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
6207
6208         * reload1.c (choose_reload_regs): When disabling a reload, also
6209         set reload_spill_index to -1.
6210
6211 2000-01-04  Joel Sherrill (joel@OARcorp.com>
6212
6213         * configure.in (m68*-*-rtemscoff*): New target, formal name for
6214         old m68*-*-rtems*.
6215         (m68*-*-rtemself*): New target.
6216         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
6217         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
6218         (sparc*-*-rtemself*): New target.
6219         (sparc*-*-rtems*): Now elf not a.out.
6220         * config/i386/rtems.h: Include config/rtems.h.
6221         * config/i386/rtemself.h: Include config/rtems.h.
6222         * config/i960/rtems.h: Include config/rtems.h.
6223         * config/m68k/rtems.h: Include config/rtems.h.
6224         * config/m68k/rtemself.h: Include config/rtems.h.
6225         * config/mips/rtems64.h: Include config/rtems.h.
6226         * config/pa/rtems.h: Include config/rtems.h.
6227         * config/rs6000/rtems.h: Include config/rtems.h.
6228         * config/sh/rtems.h: Include config/rtems.h.
6229         * config/sh/rtemself.h: Include config/rtems.h.
6230         * config/sparc/rtems.h: Include config/rtems.h.
6231         * config/sparc/rtemself.h: Include config/rtems.h
6232
6233 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
6234
6235         * final.c (shorten_branches): Correctly compute length of
6236         asms without operands.
6237
6238 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
6239
6240         * configure.in: Add pj target.
6241         * configure: Regenerate.
6242         * config/pj: New directory.
6243         * config/pj/lib1funcs.S: New file.
6244         * config/pj/linux.h: New file.
6245         * config/pj/pj.c: New file.
6246         * config/pj/pj.md: New file.
6247         * config/pj/pjl.h: New file.
6248         * config/pj/t-pj: New file.
6249         * config/pj/xm-pj.h: New file
6250
6251 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
6252
6253         * toplev.c (rest_of_compilation): Run shorten-branches before
6254         reg-stack for now.
6255
6256 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6257
6258         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
6259         macros so that they're consistent with their names.
6260         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
6261         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
6262
6263 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6264
6265         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
6266         modified inadvertently.
6267
6268 2000-01-04  Joel Sherrill <joel@OARcorp.com>
6269
6270         * configure.in (v850*-*-rtems*): New target.
6271         * configure: Regenerate.
6272         * config/v850/rtems.h: New file.
6273
6274 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
6275
6276         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
6277         (__gthread_key_create): Likewise.
6278         (__gthread_key_dtor):  Likewise.
6279         (__gthread_once): Fix logic.
6280         (__gthread_key_delete): Cast away constness.
6281
6282         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
6283         * invoke.texi: Document.
6284         * i386/mingw32.h (CPP_SPEC): Use.
6285         (LIBGCC_SPEC): Likewise.
6286         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
6287
6288 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
6289
6290         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
6291         (HANDLE_PRAGMA_PACK): Undefine.
6292         (SLOW_UNALIGNED_ACCESS): Define.
6293
6294 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
6295
6296         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
6297         to default definition.
6298         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
6299         (store_fixed_bit_field): Call macro with word_mode and alignment.
6300         (extract_bit_field): Call macro with relevant mode and alignment.
6301         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
6302         to default definition.
6303         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
6304         and alignment.
6305         (move_by_pieces_ninsns): Likewise.
6306         (clear_by_pieces): Likewise.
6307         (emit_push_insn): Likewise.
6308         (store_field): Call macro with relevant mode and alignment.
6309         (expand_expr): Likewise.
6310         (expand_expr_unaligned): Likewise.
6311
6312         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
6313         (SLOW_UNALIGNED_ACCESS): Define.
6314         (CASE_VECTOR_MODE): Always use 32-bit offsets.
6315         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
6316         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
6317         (toc_section): Likewise and .toc pseudo-op.
6318         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
6319         64-bit mode.
6320         (TEXT_SECTION_ASM_OP): Likewise.
6321         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
6322         32-bit offsets.
6323
6324         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
6325         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
6326         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
6327         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
6328         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
6329
6330 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
6331
6332         * regclass.c: Revert my Jan 4 change to loop cost computation.
6333
6334 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
6335
6336         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
6337         compilation.
6338
6339 2000-01-04  Stan Cox  <scox@cygnus.com>
6340
6341         * haifa-sched.c (build_control_flow): Change unreachable simple
6342         loop test to check if current block has only one predecessor.
6343         (find_rgns): Initialize degree.  Use dest as degree index, not src.
6344
6345 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6346
6347         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
6348
6349         * calls.c (expand_call): Likewise for
6350         `old_stack_arg_under_construction'.
6351
6352         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
6353
6354         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
6355         `save_constant'.
6356
6357         * gcc.c (execute): Likewise for `ut' and `st'.
6358
6359         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
6360
6361         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
6362
6363         * jump.c (jump_optimize_1): Likewise for `temp2'.
6364
6365         * local-alloc.c (block_alloc): Likewise for `r1'.
6366
6367         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
6368
6369         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
6370         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
6371
6372         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
6373         and `set2'.
6374
6375         * reload.c (find_reloads): Likewise for `goal_alternative_number'
6376         and `goal_earlyclobber'.
6377
6378         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
6379
6380         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
6381
6382         * stupid.c (stupid_life_analysis): Likewise for `chain'.
6383
6384         * unroll.c (copy_loop_body): Likewise for `copy'.
6385
6386         * varasm.c (output_constructor): Likewise for `byte'.
6387
6388 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
6389
6390         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
6391         all FP constants for constant->reg moves.
6392         (ix86_split_to_parts): Try to convert memory address into immediate
6393         when available in the constant pool.
6394         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
6395         moves.
6396         (LEGITIMATE_CONSTANT_P): Return 1.
6397         * i386.md (pushsf): New splitter to convert constant pool memory
6398         reference to immediate.
6399         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
6400         reload.
6401
6402 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
6403
6404         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
6405         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
6406         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
6407         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
6408         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
6409
6410 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
6411
6412         * ginclude/stdbool.h:  Support compilation as C++.
6413
6414 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6415
6416         * fold-const.c (make_range): Don't try to reverse an unbounded range.
6417
6418 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
6419
6420         * regclass.c (regclass): Properly compute loop_cost.  Adjust
6421         comments.
6422
6423         * regclass.c: Fix minor whitespace problems.
6424
6425 2000-01-03  Anthony Green  <green@cygnus.com>
6426
6427         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
6428         Restore the pic register if required.
6429
6430 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
6431
6432         * c-common.c (format_char_info): Update comment.
6433         (check_format_info): Recognize 'z' modifier in the same way 'Z'
6434         was recognized.  Emit warning for formats new in ISO C99 only
6435         if flag_isoc9x is not set.
6436
6437 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
6438
6439         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
6440
6441 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
6442
6443         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
6444         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
6445         (make_compound_operation): Choose cheaper alternative between
6446         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
6447
6448         * regclass.c (op_costs): Remove global variable.
6449         (record_reg_classes): New parameter "op_costs" and "reg_pref".
6450         (record_operand_costs): Break out from ...
6451         (scan_one_insn): ... here.
6452         (dump_regclass): Make dumps nicer.
6453         (regclass): Dump preferrences choosed and changes done during passes.
6454
6455 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
6456
6457         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
6458
6459 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
6460
6461         * config/sparc/sparc.c (gen_df_reg): New function.
6462         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
6463         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
6464         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
6465         movtf_cc_reg_sp64+1): Use it.
6466
6467 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
6468
6469         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
6470         copied LABEL_DECLs.
6471
6472 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6473
6474         * config/i386/i386.c (ix86_expand_unary_operator): Function
6475         definition made void.
6476         (ix86_expand_binary_operator): Update outdated preceding comment.
6477         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
6478         prototype.
6479
6480         * config/i386/i386.c (override_options): Fix option-name typo.
6481
6482 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
6483
6484         * system.h (CEIL): Define.
6485         * builtins.c (CEIL): Remove.
6486         * expmed.c (CEIL): Likewise.
6487         * expr.c (CEIL): Likewise.
6488         * stor-layout.c (CEIL): Likewise.
6489
6490 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6491
6492         * expr.c (store_constructor_field): Fix typo introduced with last
6493         gcc2 merge.
6494
6495 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
6496
6497         * tree.h (BINFO_N_BASETYPES): New macro.
6498
6499 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
6500
6501         * expmed.c (emit_store_flag): Prevent losing a pending stack
6502         adjust the same way we prevent losing queued increments.
6503
6504 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6505
6506         * function.c (update_temp_slot_address): Handle case where sum of
6507         temporary address plus offset in register is a valid address.
6508
6509 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
6510
6511         * genrecog.c (change_state) Corrected typo.
6512
6513 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6514
6515         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
6516         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
6517         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
6518
6519 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
6520
6521         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
6522         case, expand GT comparisons correctly.  Fix a comment before this
6523         part of the code.
6524
6525 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
6526
6527         * dwarfout.c: Include "frame.h"
6528         * dwarf2out.c: Likewise.
6529         * Makefile.in (dwarfout.o): Depend on frame.h
6530         (dwarf2out.o): Likewise.
6531
6532 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
6533
6534         Restore i386 binary compatibility in Dwarf EH info.
6535         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
6536         value of FIRST_PSEUDO_REGISTER.
6537         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
6538         (struct frame_state): Use DWARF_FRAME_REGISTERS.
6539         * dwarfout.c (output_reg_number): Ditto.
6540         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
6541         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
6542
6543 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
6544
6545         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
6546         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
6547         (<hack>_RE_CT): not needed
6548         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
6549         rewritten to scan the file text once only
6550         "template<..." test added
6551         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
6552         (is_cxx_header): declaration added
6553         * fixinc/fixtests.c(is_cxx_header): removed
6554         (apply_fix_p_t): removed
6555         (double_slash_test): is_cxx_header is only called once now
6556         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
6557         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
6558         within the templates.
6559         The borken spelling of "broken" was fixed.
6560         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
6561         The default level depends on FIXINC_DEBUG.
6562
6563 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6564
6565         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
6566         Otherwise provide a declaration for atexit.
6567         (init_dummy): Make sure dummy call to atexit is nevertheless
6568         called with correct number of args.
6569
6570         * frame.c: Update comments referring to other files.
6571
6572         * libgcc2.c: Likewise.
6573
6574 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6575
6576         * cse.c (free_element, get_element): Remove unused prototypes.
6577
6578         * fold-const.c (extract_muldiv): Initialize variables `op0' and
6579         `op1'.
6580
6581         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
6582         `else' clauses.
6583
6584 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
6585
6586         * configure.in,configure: case arm for mn10200-*-* now sets
6587         float_format=i32 so that float.h will correctly claim "double"
6588         to be 32 bits. Ran autoconf to generate configure from .in file.
6589
6590 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
6591
6592         * pa.md (conditional zero): If op1 is a register, force it into
6593         the same register as op0.
6594
6595 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
6596
6597         * tree.h (BINFO_BASETYPES): Improve documentation.
6598
6599 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6600
6601         * configure.in (--enable-checking): Use a more portable `for'
6602         loop syntax.
6603
6604 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6605
6606         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
6607         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
6608
6609         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
6610         Delete files.
6611
6612         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
6613         Delete descriptions.
6614
6615         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
6616         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
6617         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
6618         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
6619         xm-svr4.h: Remove all instances of sys_siglist handling.
6620
6621 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
6622
6623         * config/sparc/sparc.md (cmp_zero_qi,
6624         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
6625         cmp_zero_extendqidi2_andcc_set): New patterns.
6626
6627 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
6628
6629         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
6630         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
6631         (fpgnulib.c, xfgnulib.c): Add rules.
6632         * m68k/t-mot3300-gas: Likewise.
6633
6634 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
6635
6636         * configure.in: Avoid [[ by using test and changequote.  Add
6637         changequote required by 1999-12-14 change.
6638         * configure: Rebuild.
6639
6640 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
6641
6642         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
6643
6644 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
6645
6646         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
6647         * flow.c (find_use_as_address): Likewise.
6648         * function.c (fixup_var_refs_1): Likewise.
6649         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
6650         * jump.c (invert_exp, redirect_exp): Likewise.
6651         * loop.c (replace_call_address): Likewise.
6652         (count_nonfixed_reads): Likewise.
6653         * rtlanal.c (modified_between_p): Likewise.
6654         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
6655         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
6656         * unroll.c (remap_split_bivs): Likewise.
6657
6658 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6659
6660         * diagnostic.c (v_message_with_decl): Use .* format specifier
6661         instead of building the format specifier width manually.
6662
6663         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
6664         determining whether to provide a prototype.  Remove the
6665         sys_siglist clause in the conditional.
6666
6667 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6668
6669         * fold-const.c (operand_equal_p): Use memcmp to compare string
6670         constants.
6671         Suggested by D. J. Bernstein
6672
6673 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
6674
6675         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
6676         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
6677         compiling libgcc2.
6678         * config/mips/mips.h (TARGET_64BIT): Likewise.
6679         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
6680         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
6681         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
6682         dsps.  Give routines proper names if SI/DI modes are not used.
6683         * longlong.h: Use DWunion instead of DIunion.
6684
6685 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
6686
6687         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
6688         GC_CHECKING, GC_ALWAYS_COLLECT.
6689         * configure.in: Allow --enable-checking with an argument
6690         listing check modes to enable.
6691         * config.in, configure: Rebuilt.
6692         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
6693         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
6694         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
6695         ENABLE_GC_ALWAYS_COLLECT.
6696         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
6697         throughout.
6698         * tree.h, tree.c: Change ENABLE_CHECKING to
6699         ENABLE_TREE_CHECKING throughout.
6700
6701 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6702
6703         * fold-const.c (fold_truthop): Properly check for FP RHS.
6704
6705 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
6706
6707         * toplev.h (note_deferall_of_defined_inline_function): Declare.
6708         * toplev.c (note_deferral_of_defined_inline_function): New
6709         function, split out from ...
6710         (rest_of_compilation): ... here.  Use it.
6711
6712 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6713
6714         * expr.c (store_constructor): Don't call clear_storage if size is
6715         variable.
6716
6717 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6718
6719         * Makefile.in (toplev.o): Depend on loop.h.
6720
6721         * dwarfout.c: Include tm_p.h.
6722
6723         * emit-rtl.c (restore_emit_status): Mark parameter with
6724         ATTRIBUTE_UNUSED.
6725
6726         * final.c (final_scan_insn): Likewise.
6727
6728         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
6729         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
6730         flow_depth_first_order_compute, flow_loop_pre_header_find,
6731         flow_loop_tree_node_add, flow_loops_tree_build,
6732         flow_loop_level_compute, flow_loops_level_compute,
6733         flow_loop_outside_edge_p): Add prototypes.
6734         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
6735
6736         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
6737         Mark with ATTRIBUTE_NORETURN.
6738
6739         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
6740
6741         * local-alloc.c (no_conflict_p): Likewise.
6742
6743         * loop.c (insert_bct): Hide definitions of variables with hidden
6744         usage.
6745         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
6746
6747         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
6748         with ATTRIBUTE_UNUSED.
6749         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
6750         (reg_scan): Likewise.
6751
6752         * reload.c (find_reloads): Remove unused variables `changed'.
6753
6754         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
6755         away const-ness.
6756         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
6757         Remove unused variable `insn'.
6758
6759         * toplev.c: Include loop.h.
6760         (report_file_and_line): Remove unnecessary prototype.
6761
6762         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
6763
6764         * unroll.c (biv_total_increment): Likewise.
6765
6766 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6767
6768         * reload1.c (emit_input_reload_insns): Restore old behaviour
6769         wrt. 'special' reloads.
6770
6771 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
6772
6773         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
6774         hash.h.  (cse.c): Don't depend on hashtab.h.
6775
6776         * cse.c: Don't include hashtab.h.
6777         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
6778         of dead functions.
6779         * ggc-simple.c: Don't include hash.h.
6780
6781 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
6782
6783         * dwarf2out.c (add_abstract_origin_attribute): Call
6784         gen_abstract_function on our function context.
6785
6786 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
6787
6788         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
6789
6790 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6791
6792         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
6793         case in switch.
6794
6795 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6796
6797         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
6798         constraints to "a!r".
6799
6800 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
6801
6802         * Makefile.in (calls.o): Depend on function.h.
6803         (alias.o): Likewise.
6804
6805 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
6806
6807         * reload1.c (emit_reload_insns): Break out code and variables into...
6808         (input_reload_insns, other_input_address_reload_insns,
6809         other_input_reload_insns, input_address_reload_insns,
6810         inpaddr_address_reload_insns, output_reload_insns,
6811         output_address_reload_insns, outaddr_address_reload_insns,
6812         operand_reload_insns, other_operand_reload_insns,
6813         other_output_reload_insns): ... new static variables, and...
6814         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
6815         do_output_reload): ... new functions.
6816
6817 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6818
6819         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
6820
6821 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6822
6823         * md.texi: Add c4x constraints documentation.
6824
6825 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6826
6827         * config/i386/dgux.c (struct option): Rename to
6828         lang_independent_option.
6829         (struct m_options): Add description field.
6830         (output_options): Rename option type, add sep declaration, output
6831         ix86_cpu_string and ix86_arch_string only if set.
6832         (output_file_start): Rename option type.
6833
6834 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
6835
6836         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
6837         stmp-int-hdrs.
6838         (libgcc2.a): Similarly.
6839
6840 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
6841
6842         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
6843         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
6844         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
6845
6846 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
6847
6848         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
6849         Remove redundant initialization of "frexpon" and "expon".
6850
6851 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6852
6853         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
6854
6855         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
6856         (store_constructor_field, expand_expr): Pass new arg.
6857
6858 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
6859
6860         * Makefile.in (explow.o): Depend on function.h.
6861
6862         * stor-layout.c (set_sizetype): Fix typo.
6863
6864 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
6865
6866         * function.c (cfun): Renamed from current_function.  All users
6867         changed.
6868         * function.h (cfun): Rename declaration as well.
6869
6870         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
6871         to be of type regset_head, not regset.  All users changed by adding
6872         address operator.
6873         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
6874
6875 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6876
6877         * config/c4x/rtems.h: New file.
6878
6879 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
6880
6881         * reload1.c (spill_failure): Take class of failed reload as argument
6882         and print it.  Caller changed.
6883
6884 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6885
6886         * rs6000.h (SUBTARGET_DEFAULT): New macro.
6887         (TARGET_SWITCHES): Allow subtargets to default switches.
6888         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
6889
6890 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
6891
6892         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
6893         in a main program.
6894
6895 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
6896
6897         * cccp.c (main): Define __STDC_VERSION__ as necessary.
6898         * cppinit.c (cpp_handle_option): Likewise.
6899
6900         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
6901         determine when to define.
6902
6903 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
6904
6905         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
6906         cmove with mismatched test and data modes.
6907
6908 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
6909
6910         * c-typeck.c (c_expand_start_case): Don't warn for long switch
6911         in system headers.
6912
6913 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6914
6915         * alias.c: Minor reformatting.
6916         * flow.c: Likewise.
6917         * regs.h: Likewise.
6918         * stor-layout.c: Likewise.
6919         * fold-const.c: Likewise.
6920         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
6921         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
6922         not arg itself.
6923         (size_int_wide): Cache nodes even if garbage collecting.
6924         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
6925         of SAVE_EXPR has no side effects.
6926         * cse.c: Move a comment.
6927         * tree.c: Minor reformatting.
6928         (int_size_in_bytes): Return -1 if constant overflows.
6929
6930 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6931
6932         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
6933
6934 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
6935
6936         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
6937         after any change to c-parse.in, even if objc-parse.y didn't
6938         change.  Oops.
6939
6940 1999-12-18  David S. Miller  <davem@redhat.com>
6941
6942         * toplev.c (rest_of_compilation): Restore BLOCK tree
6943         reconstruction and branch shortening changes lost in
6944         December 18th change.
6945
6946 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
6947
6948         * config/arm/linux-elf.h: Change all instances of
6949         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
6950         * config/arm/uclinux-elf.h: Likewise.
6951
6952 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
6953
6954         * toplev.c (notice, vmessage, v_message_with_file_and_line,
6955         v_message_with_decl, file_and_line_for_asm,
6956         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
6957         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
6958         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
6959         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
6960         pfatal_with_name, fatal_io_error, need_error_newline,
6961         last_error_function, last_error_tick, announce_function,
6962         default_print_error_function, print_error_function,
6963         report_error_function, fnotice, error_with_file_and_line,
6964         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
6965         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
6966         warning_with_decl, warning_for_asm, warning, pedwarn,
6967         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
6968         diagnostic.c
6969         (compile_file): Use fnotice instead of notice.  Adjust call.
6970
6971         * diagnostic.c: New file.
6972
6973         * Makefile.in (OBJS): Include diagnostic.o
6974         (diagnostic.o): Define dependence.
6975
6976 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6977
6978         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
6979         Tweak formatting.
6980
6981 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6982
6983         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
6984
6985 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
6986
6987         * fixtests.c (is_cxx_header): New fn, split out of
6988         double_slash_test.
6989         (else_endif_label): Allow "#endif // comment" in C++ headers,
6990         as determined by is_cxx_header.
6991         * fixfixes.c (else_endif_label_fix): Update comment.
6992         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
6993         a tty.
6994         * genfixes: Correct double thinko in commandline parsing.
6995         * hackshell.tpl: Generate correct sh syntax for bypass
6996         entries.
6997
6998         * inclhack.def (all): Whenever an inserted preprocessor
6999         conditional is split over multiple lines, use double
7000         backslashes in this file so the fixed header will be readable.
7001
7002         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
7003         and add bypass entry for correct version of this header.
7004         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
7005         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
7006
7007         (hpux8_bogus_inlines): New fix, split from...
7008         (ultrix_atof_param) ... here.
7009         (math_expression): Add bypass entry keyed to glibc comment
7010         indicating the problem has been dealt with; disable
7011         unnecessary sed operations; update commentary.
7012         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
7013         add select and bypass entries, simplify shell operation.
7014         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
7015
7016         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
7017          ultrix_atof_param): Add select entry.
7018         (stdio_va_list, sunos_mather_decl): Add bypass entry.
7019         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
7020         comments with the fixes they describe.
7021
7022         * c-parse.in (string action): Do not warn about ANSI string
7023         concatenation in system headers.  Affects C parser only.
7024         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
7025
7026 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
7027
7028         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
7029         compiling libgcc2 the macro depends always on arch cpp defines.
7030
7031 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
7032
7033         * loop.c (insert_loop_mem): Don't record MEMs from inside
7034         EXPR_LISTs.
7035
7036 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
7037
7038         * regclass.c (regclass): Do not use flowgraph when not optimizing.
7039
7040         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
7041         notes too, create one when replacement failed, attempt to simplify
7042         resulting notes.
7043         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
7044         or REG_EQUIV notes.
7045
7046 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
7047
7048         * crtstuff.c (__dso_handle): Declare.
7049         (__cxa_finalize): Likewise.
7050         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
7051         non-NULL.
7052
7053         * invoke.texi: Document -fuse-cxa-atexit.
7054
7055         * tree.h (ptr_type_node): Document.
7056         (const_ptr_type_node): Likewise.
7057
7058 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7059
7060         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
7061         (optimize_reg_copy_2): Likewise.
7062         (optimize_reg_copy_3): Likewise.
7063         (fixup_match_2): Likewise.
7064         (regmove_optimize): Likewise.
7065         (fixup_match_1): Liekwise.
7066
7067         * i386.md (HI to SImode promoting splitters): Rewrite.
7068         (pushsf mem peep2): New.
7069         (testhi to andhi peep2): Remove.
7070         * i386.h (x86_promote_QImode): New.
7071         (TARGET_PROMOTE_QImode): New.
7072         (PREDICATE_CODES): Add promotable_binary_operator.
7073         * i386.c (x86_promote_QImode0: New.
7074         (promotable_binary_operator): New.
7075         * i386-protos.h (promotable_binary_operator): New.
7076
7077         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
7078         condition.
7079         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
7080
7081 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
7082
7083         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
7084         * function.c (insert_block_after_note): Remove.
7085         (retrofit_block): Likewise.
7086         (identify_blocks): Fix indentation.
7087         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
7088         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
7089         * function.h (insert_block_after_note): Remove prototype.
7090         (retrofit_block): Likewise.
7091         * integrate.c (expand_inline_function): Don't call
7092         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
7093         just expand_start_bindings.  Use the block_map to remap old
7094         NOTE_BLOCKs to new ones.
7095         (integrate_decl_tree): Keep track of remapped blocks.
7096         * integrate.h (struct inline_remap): Add block_map.
7097         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
7098         NOTE_BLOCK on the notes.
7099         (expand_start_bindings): Rename to ...
7100         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
7101         (expand_end_bindings): Set NOTE_BLOCK.
7102         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
7103         reconstruct the BLOCK tree.
7104         * tree.h (expand_start_bindings): Macroize.  Call ...
7105         (expand_start_bindings_and_block): New function.
7106
7107 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
7108
7109         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
7110         to match the format.
7111
7112 1999-12-16  David S. Miller  <davem@redhat.com>
7113
7114         * expr.c (emit_move_insn_1): Only emit clobbers if one of
7115         the outputs is a SUBREG.
7116         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
7117         change.
7118
7119         * config/sparc/sparc.c (epilogue_renumber): Add default case
7120         to switch stmt.
7121
7122 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7123
7124         * toplev.c (rest_of_compilation): Run branch shortening after
7125         reg-stack.
7126
7127         * regclass.c (loop_depth): Remove
7128         (scan_one_insn): Do not handle LOOP_NOTE insns.
7129         (regclass): Go through basic blocks and set loop_cost
7130
7131 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
7132
7133         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
7134
7135 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7136
7137         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
7138         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
7139         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
7140
7141 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
7142
7143         * loop.c (insert_loop_mem): Ignore memory clobbers.
7144
7145         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
7146         to (OP A B).
7147
7148 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
7149
7150         * profile.c: Remove redundant #include "output.h".
7151
7152         * h8300.md (HImode preinc peephole): Fix typo.
7153
7154 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
7155
7156         * function.c (retrofit_block): Abort if we don't find a suitable insn.
7157         (insert_block_after_note): Abort if we don't have a previous block.
7158         Remove FN parameter.
7159         * function.h: Adjust.
7160
7161 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
7162
7163         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
7164         argument more than once.
7165
7166 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
7167
7168         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
7169
7170 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
7171
7172         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
7173
7174 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7175
7176         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
7177         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
7178         update stack_alignment_needed.
7179         (prepare_function_start): Initialize stack_alignment_needed
7180         * function.h (struct function): Add field stack_alignment_needed.
7181
7182 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7183
7184         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
7185         Handle live_throughout / dead_or_set instead of live_before /
7186         live_after.
7187         (save_call_clobbered_regs): Get register livenessinformation from
7188         chain->live_throughout.
7189         (add_stored_regs): New function.
7190         (insert_restore, insert_save): Add restored / saved registers to
7191         dead_or_set.
7192         * global.c (reg_dies): New parameter chain.
7193         (reg_becomes_live): Third parameter is regs_set now.
7194         Changed all callers.
7195         (reg_dies): New parameter chain.  Changed all callers.
7196         (build_insn_chain): Set live_throughout instead of
7197         live_before / live_after.
7198         * reload.h (struct insn_chain): Replace members live_before /
7199         live_after with live_throughout / dead_or_set.
7200         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
7201         instead of live_before / live_after.
7202         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
7203         (order_regs_for_reload, find_reg, finish_spills): Likewise.
7204         (choose_reload_regs_init): Likewise.
7205         * stupid.c (current_chain, find_clobbered_regs): Delete.
7206         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
7207         instead of chain->live_before / chain->live_after.
7208         (mark_hard_ref): New function.
7209         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
7210
7211 1999-12-15  David S. Miller  <davem@redhat.com>
7212
7213         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
7214
7215 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7216
7217         * flow.c (calculate_loop_depth): Make global, remove prototype,
7218         rewrite to use new loop infrastructure.
7219         (find_basic_block): Remove calculate_loop_depth call.
7220         * toplev.c (rest_of_compilation): Call find_basic_block.
7221         * output.h (calculate_loop_depth): Declare.
7222
7223         * flow.c (dump_flow_info): Dump loop_depth.
7224         (flow_loops_nodes_find): Increase loop_depth for basic block in the
7225         body.
7226         (flow_loops_find): Initialize the loop_depth for each basic block.
7227
7228 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
7229
7230         * tree.c (decl_function_context): Handle virtual functions.
7231
7232         * tlink.c (scan_linker_output): Don't look in demangled name when
7233         looking for linker output keywords.
7234
7235         * dwarfout.c (output_type): We can defer namespace-scope classes.
7236
7237 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
7238
7239         * regclass.c (record_reg_classes): Update comment for merging
7240         register class preferences in reg->reg copies.  Tighten conditions
7241         for merging register class preferences in reg->reg copies.
7242
7243 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
7244
7245         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
7246
7247 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
7248
7249         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
7250         (INIT_SECTION_ASM_OP): Delete.
7251         (FINI_SECTION_ASM_OP): Delete.
7252         (STARTFILE_SPEC): Define to hold just crtbegin.o.
7253
7254 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
7255
7256         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
7257         the abstract origin wasn't emitted.
7258
7259         * dwarf2out.c (class_scope_p): New fn.
7260         (gen_subprogram_die): Use it.
7261         (gen_variable_die): Use it.  Tweak logic.
7262         (gen_struct_or_union_type_die): Check context_die to determine
7263         if we're function-local.
7264         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
7265
7266 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
7267
7268         * loop.c (check_dbra_loop): Can't reverse a biv that has
7269         maybe_multiple set.
7270
7271 1999-12-14  Nick Clifton  <nickc@cygnus.com>
7272
7273         * config/arm/arm.c: Add support for -mcpu=arm720 command line
7274         switch.
7275
7276 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7277
7278         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
7279         for givs made from biv increments.
7280
7281 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
7282
7283         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
7284         * alpha.c (override_options): Recognize -mcpu=ev67.
7285         * alpha.h (CPP_CPU_EV67_SPEC): New.
7286         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
7287         (EXTRA_SPECS): Update.
7288
7289 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
7290
7291         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
7292         appropriate for -lang-c89 and -std=*.
7293         * cppinit.c (cpp_handle_option): Likewise.
7294         (new_pending_define): New, split out from cpp_handle_option.
7295         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
7296         or enable trigraphs for -ansi/-std=*.
7297
7298         * ginclude/stdarg.h (__va_copy): New.
7299         (va_copy): Don't define for C89.
7300
7301 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
7302
7303         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
7304         for long long multiply-accumulate.
7305
7306 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7307
7308         * regclass.c (scan_one_insn): Set loop_cost to 1 when
7309         optimizing for size.
7310
7311 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
7312
7313         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
7314         if something changed.  Back out that part of yesterday's changes.
7315
7316         * loop.c (loop_max_reg): New static variable.
7317         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
7318         max_reg_num.
7319         (scan_loop): Call reg_scan_update whenever we may have added new
7320         registers, and update loop_max_reg.
7321
7322 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7323
7324         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
7325         when source does not die.
7326
7327         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
7328
7329 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
7330
7331         * config/sparc/linux64.h (TARGET_LIVE_G0,
7332         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
7333         variants on Linux.
7334         * config/sparc/linux.h (TARGET_LIVE_G0,
7335         TARGET_BROKEN_SAVERESTORE): Likewise.
7336         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
7337         TARGET_BROKEN_SAVERESTORE): Likewise.
7338
7339         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
7340         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
7341         not %g2.
7342         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
7343         as sparc64 block profiling register.
7344         * config/sparc/sparc.c (sparc_override_options): Allow block
7345         profiling with -m32.
7346         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
7347         profiling register.
7348         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
7349         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
7350         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
7351
7352         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
7353         for sparc64.
7354         * config/sparc/sparc.h: Likewise.
7355         * config/sparc/xm-sysv4-64.h: Likewise.
7356         * config/float-sparc.h: Likewise.
7357         * glimits.h: Likewise.
7358         * longlong.h: Likewise.
7359
7360         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
7361         (ASM_IDENTIFY_GCC): Remove.
7362
7363 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
7364
7365         * combine.c (combine_simplify_rtx): Don't make shared rtl.
7366         (simplify_logical): Likewise.
7367
7368 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
7369
7370         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
7371         * cppfiles.c (INO_T_EQ): Likewise.
7372
7373 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
7374
7375         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
7376         * i386/mingw32.h (LIB_SPEC): Likewise.
7377         (STARTFILE_SPEC): Likewise.
7378         * i386/uwin.h (LIB_SPEC): Likewise.
7379         (STARTFILE_SPEC): Likewise.
7380
7381         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
7382         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
7383
7384 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
7385
7386         * combine.c (combine_simplify_rtx): Fix order of checks for
7387         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
7388
7389 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
7390
7391         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
7392         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
7393
7394 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
7395
7396         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
7397         defined.
7398         * regclass.c (inv_reg_alloc_order): New array.
7399         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
7400
7401         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
7402         counted_for_groups, counted_for_nongroups.  Add fields rld and
7403         n_reloads.
7404         * reload.c (push_secondary_reload): Don't set nongroup field of
7405         new reloads.
7406         (push_reload): Likewise.
7407         (find_reloads): Delete code to compute nongroup fields.
7408         * reload1.c (reload_insn_firstobj): New static variable.
7409         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
7410         users changed.
7411         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
7412         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
7413         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
7414         functions.
7415         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
7416         functions.
7417         (struct hard_reg_n_uses): Deleted.
7418         (potential_reload_regs): Deleted.
7419         (init_reload): Initialize spilled_pseudos and pseudos_counted.
7420         (reload): Don't try to allocate reload registers if we already know
7421         we have to make another pass.  Call select_reload_regs.  Free memory
7422         starting with reload_firstobj when starting another pass.
7423         Don't allocate spilled_pseudos.
7424         (calculate_needs_all_insns): Call copy_reloads for an insn that
7425         needs reloads; don't call calculate_needs.
7426         (spill_cost): New static array.
7427         (used_spill_regs_local): New static variable.
7428         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
7429         to compute potential_reload_regs.
7430         (find_reload_regs): Completely rewritten to use find_reg.
7431         (allocate_reload_reg): Don't test counted_for_groups or
7432         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
7433         all cllers changed.
7434         (choose_reload_regs): Add fallback code that uses the existing
7435         register allocation from find_reload_regs.
7436
7437 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
7438
7439         * flow.c (create_edge_list): Cast xmalloc return value.
7440
7441 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
7442
7443         * doprnt.c: Remove incorrect comment closure.
7444
7445         * cse.c: Fix a few minor whitespace goofs.
7446
7447 1999-12-13  Don Bowman  <don@pixstream.com>
7448
7449         * mips/vxworks.h: Fix problem with comment termination.
7450         (EXTRA_SECTIONS): Add in_sbss.
7451         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
7452
7453 1999-12-12  David S. Miller  <davem@redhat.com>
7454
7455         * cse.c (struct cse_reg_info): Add hash_next member,
7456         reorder rest of struct for better packing on 64-bit
7457         hosts.
7458         (cse_reg_info_tree): Kill.
7459         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
7460         REGHASH_FN): New custom pow2 hash mechanism.
7461         (NBUCKETS): Kill.
7462         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
7463         use a pow2 hash table.
7464         (get_cse_reg_info): Rework to use new REGHASH.
7465         (new_basic_block): Likewise, use HASH_SIZE, and inline
7466         free_element call.
7467         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
7468         and inline free_element call.
7469         (lookup_as_function, insert, flush_hash_table, invalidate,
7470         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
7471         invalidate_for_call, use_related_value, find_comparison_args,
7472         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
7473         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
7474         get_element): Kill.
7475
7476 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
7477
7478         * cse.c (cse_basic_block): Free qty_table consistently.
7479
7480 1999-12-12  David S. Miller  <davem@redhat.com>
7481             Jakub Jelinek    <jakub@redhat.com>
7482
7483         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
7484         SUBREGs by hand, gen the appropriate hard reg directly.
7485         (movtf reg/mem split): Likewise and alter_subreg on destination
7486         if necessary.
7487         (movtf mem/reg split): Similarly.
7488         (movdf_cc_sp64): Rename from hidden pattern.
7489         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
7490         (movtf_cc_sp64, following split): New pattern and splitter.
7491         (movdf_cc_reg_sp64): Rename from hidden pattern.
7492         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
7493         TARGET_HARD_QUAD.
7494         (movtf_cc_reg_sp64, following split): New pattern and splitter.
7495
7496 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
7497
7498         * loop.c (load_mems): Don't hoist written floating point mem
7499         if -ffloat-store.
7500
7501 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
7502
7503         * except.h (struct eh_queue): Add `next' pointer.
7504         (struct eh_status): Make x_ehqueue a pointer.
7505         (push_ehqueue):  Declare.
7506         (pop_ehqueue): Likewise.
7507         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
7508         pointer.
7509         (expand_fixup_region_end): Likewise.
7510         (expand_leftover_cleanups): Likewise.
7511         (push_ehqueue): Define.
7512         (pop_ehqueue): Likewise.
7513         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
7514         than doing it inline.
7515         (expand_start_all_catch):  Adjust now that ehqueue is a
7516         pointer.
7517         (mark_eh_queue): Mark all level of the queue.
7518         (mark_eh_status):  Adjust now that ehqueue is a
7519         pointer.
7520         (init_eh_for_function): Allocate ehqueue.
7521         (free_eh_status): Free it.
7522         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
7523         expansion for a fixup.
7524
7525 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7526
7527         * gthr-single.h (__gthread_active_p): Add prototype arguments.
7528
7529         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
7530         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
7531         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
7532         function_ptr, getpagesize, __enable_execute_stack,
7533         __enable_execute_stack, __clear_insn_cache,
7534         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
7535         _cleanup, _exit, __default_terminate, __terminate_func,
7536         __terminate, __empty, __throw, new_eh_context,
7537         eh_context_initialize, eh_context_static, eh_context_specific,
7538         get_eh_context, __get_eh_context, __get_eh_info,
7539         init_reg_size_table, eh_threads_initialize,
7540         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
7541         __unwinding_cleanup, throw_helper, __throw, __rethrow,
7542         __pure_virtual): Add prototype arguments.
7543         (__bb_exit_func): Cast a sizeof to long when comparing against one.
7544         Cast a signed value to unsigned long when comparing against one.
7545         (new_eh_context): Wrap in _GTHREADS macro.
7546         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
7547         declaration.
7548         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
7549         (throw_helper): Initialize variables `handler_p' and `pc_p'.
7550
7551 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7552
7553         * combine.c (record_promoted_value): Remove unused variable
7554         `links2'.
7555
7556         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
7557
7558         * global.c (record_conflicts): Likewise for `j'.
7559
7560         * genoutput.c (output_insn_data): Don't unnecessarily cast away
7561         const-ness.
7562
7563 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7564
7565         * i386-protos.h (output_387_binary_op, output_fix_trunc,
7566         output_fp_compare): Constify a char*.
7567
7568         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
7569         static prototypes.
7570         (override_options, ix86_comp_type_attributes, print_operand,
7571         output_387_binary_op, output_fix_trunc, output_fp_compare):
7572         Constify a char*.
7573         (ix86_sched_reorder): Mark parameter `clock_var' with
7574         ATTRIBUTE_UNUSED.
7575
7576         * i386.h (DEBUG_PRINT_REG): Constify a char*.
7577
7578 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
7579
7580         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
7581         operand, for use in the Java front-end.
7582
7583 1999-12-10  Ben Collins  <bcollins@debian.org>
7584
7585         * configure.in: Fix typo for "-64" in 64bit as check.
7586         * configure: Rebuilt.
7587
7588 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
7589
7590         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
7591         appropriate.
7592
7593 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7594
7595         * c-parse.in (string): With -Wtraditional, warn if ANSI string
7596         concatenation is utilized.
7597
7598         * invoke.texi (-Wtraditional): Document it.
7599
7600 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7601
7602         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
7603         Cast a ptrdiff_t to long and pass it to printf with %ld.
7604
7605 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
7606
7607         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
7608         68881, we have no 68881 registers at all.
7609         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
7610         value in a 68881 register if it is available.
7611
7612 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
7613
7614         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
7615         for long long multiply-accumulate.
7616
7617 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
7618
7619         * loop.c (insert_loop_mem): Undo last change.
7620
7621 1999-12-10  David S. Miller  <davem@redhat.com>
7622
7623         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
7624         New functions.
7625         * config/sparc/sparc-protos.h: Add them.
7626         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
7627         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
7628         constraints which use those helpers.
7629         (EXTRA_CONSTRAINT): Use this new macro.
7630         * md.texi: Update sparc target constraints documentation.
7631         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
7632         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
7633         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
7634         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
7635         (movsf high/lo_sum split): Rework for new patterns.
7636         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
7637
7638 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
7639
7640         * c-common.c (c_common_nodes_and_builtins):
7641         Create __builtin_ptrdiff_t and __builtin_size_t.
7642
7643 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
7644
7645         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
7646
7647 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7648
7649         * regclass.c (globalize_reg): Re-instate test that allows
7650         fixed registers to be declared as a variable even after functions
7651         are defined.
7652
7653 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7654
7655         * i386.md (cpu attribute): Add "athlon".
7656         (athlon_decode): New attribute.
7657         (Athlon scheduling units definitions): New.
7658         (fcmp and shld patterns): Set athlon_decode to "vector".
7659         * i386.c (athlon_cost): New.
7660         (m_ATHLON): New.
7661         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
7662         x86_use_sahf): Set for Athlon.
7663         (x86_use_fiop): Unset for Athlon.
7664         (override_options): Define Athlon alignments and "athlon" name.
7665         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
7666         * i386.h (TARGET_ATHLON): New.
7667         (enum processor_type): Add PROCESSOR_ATHLON.
7668         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
7669         for CPU_DEFAULT==5
7670         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
7671
7672 1999-12-09  Andreas Jaeger  <aj@suse.de>
7673
7674         * loop.c (record_biv): Declare parameter as int.
7675
7676         * config/i386/i386-protos.h: Declare long_memory_operand.
7677
7678 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
7679
7680         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
7681         EXPR_WITH_FILE_LOCATION.
7682
7683 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
7684
7685         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
7686         in expander.
7687
7688         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
7689
7690         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
7691         updating code.
7692
7693 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
7694
7695         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
7696         default on linux64 again.
7697         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
7698         models for multilibing.
7699         * genmultilib: Accept | as alternative separator within a set in
7700         MULTILIB_OPTIONS.
7701
7702         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
7703
7704         * calls.c (precompute_arguments): Make sure initial_value contains
7705         value pseudo which CSE expects.
7706         * cse.c (struct set): New entry orig_src.
7707         (cse_insn): Set it early on entry, use it for libcall EQUIV note
7708         replacement.
7709
7710 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
7711
7712         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
7713
7714 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
7715
7716         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
7717
7718 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
7719
7720         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
7721         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
7722
7723         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
7724         if TARGET_ARCH32.
7725
7726         * longlong.h: Merge in changes from glibc.
7727         Also don't clobber %g2 register in 32bit SPARC assembly, so that
7728         -mno-app-regs libgcc can be compiled.
7729         * libgcc2.c: Add defines so that the updated longlong.h
7730         can be used in libgcc2.a. Also, make sure on most architectures
7731         (at least on all which have optimized code in longlong.h defined
7732         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
7733
7734 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7735
7736         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
7737         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
7738         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
7739         is GNU ld.
7740         * configure: Rebuilt.
7741
7742 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
7743
7744         * alpha.c (secondary_reload_class): For !BWX, sub-simode
7745         outputs require a register.
7746
7747 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
7748
7749         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
7750         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
7751         functions like dptoul will be resolved.
7752         (libgcc2.a): Make sure that the object files from DPBIT are named
7753         differently (prefix `_dp') from those that would be coming from
7754         FPBIT.
7755
7756 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
7757
7758         * configure.in: When target is sparc* and tm_file contains 64,
7759         test for 64bit support in assembler.  If not supported, remove
7760         sparc/t-sol2-64 from target-dependent Makefile fragments.
7761         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
7762         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
7763         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
7764         * acconfig.h (AS_SPARC64_FLAG): Added.
7765         * configure, config.in: Rebuilt.
7766         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
7767         support.  Use AS_SPARC64_FLAG.
7768
7769 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
7770
7771         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
7772         suitable for holding OFmode values so that gcc works with complex
7773         quad long doubles.
7774         (hard_64bit_mode_classes): Likewise.
7775
7776         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
7777         so that it is actually matched.
7778         (sethi_di_medlow): Likewise.
7779
7780         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
7781         as legitimate constant if -mvis.
7782         * config/sparc/sparc.md (movtf): Likewise.
7783         (clear_sf): Use const_double_operand.
7784         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
7785
7786         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
7787         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
7788         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
7789         routines, _Qp_* cannot be handled like that now.
7790         (INIT_TARGET_OPTABS): Likewise.
7791         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
7792         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
7793         sparc_emit_float_lib_cmp if ARCH64 and soft float.
7794         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
7795         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
7796         divtf3, sqrttf3): New expanders.
7797         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
7798         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
7799         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
7800         non-_hq patterns.
7801
7802         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
7803         * configure: Rebuilt.
7804         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
7805         -mcpu is given and we're doing 64bit compiles.
7806
7807 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
7808
7809         * loop.h (struct induction): Add multi_insn_incr.
7810         * loop.c (basic_induction_var): New multi_insn_incr argument.
7811         Set it if we search back through previous insns for the biv.
7812         (record_biv): New multi_insn_incr argument; fill in struct induction.
7813         (strength_reduce): Discard an iv with multiple bivs, any of
7814         which require multiple insns to increment.
7815
7816 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7817
7818         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
7819         documentation.
7820
7821 1999-12-06  David S. Miller  <davem@redhat.com>
7822
7823         * combine.c (check_promoted_subreg): Do not conditionalize this upon
7824         PROMOTE_FUNCTION_RETURN.
7825
7826 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
7827
7828         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
7829         and handle REG_UNUSED note on insn.
7830
7831         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
7832         inner_mask instead of mask.
7833
7834 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
7835
7836         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
7837         zero if there was an error.
7838
7839 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
7840
7841         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
7842         output string.
7843
7844         * longlong.h: Fix clobbers in SPARC asm statements.
7845
7846         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
7847         valid sethi operations when TARGET_ARCH64.
7848
7849         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
7850         always use move_by_pieces to avoid infinite recursion.
7851         (restore_fixed_argument_area): Likewise.
7852
7853         * combine.c (check_promoted_subreg, record_promoted_value): New
7854         functions.
7855         (combine_instructions): Use them to retain nonzero and sign bit
7856         information after SUBREGs are eliminated by optimizations in
7857         this pass if PROMOTE_FUNCTION_RETURN.
7858
7859         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
7860         .register declaration. Don't use variables with __ prefixes.
7861
7862 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7863
7864         * fold-const.c (optimize_bit_field_compare): Only use one mode
7865         for both RHS and LHS in non-constant case.
7866
7867 1999-12-06  Nathan Sidwell  <nathan@acm.org>
7868
7869         * frame.c (start_fde_sort): Only allocate erratic array, if
7870         linear one was allocated. Return allocated flag.
7871         (fde_insert): Only insert, if there's a valid array.
7872         (fde_end_sort): Split, sort and merge if linear and erratic
7873         arrays exist, else just sort linear one.
7874         (search_fdes): New function. Linear search through original fde
7875         structure.
7876         (frame_init): Permit multiple initializations. Cope with
7877         memory shortages.
7878         (find_fde): Fallback on linear search, if failed to sort array.
7879         (__deregister_frame_info): Only free sorted array, if we
7880         allocated it.
7881
7882 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
7883
7884         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
7885
7886 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
7887
7888         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
7889
7890 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
7891
7892         * tree.h (special_function_p): Declare.
7893         * calls.c (special_function_p): Make it global.  Don't take `name'
7894         as a parameter.  Fix typo in 1999-11-28 change.
7895         (expand_cal): Adjust.
7896
7897 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
7898
7899         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
7900         * tree.h (EXPR_WFL_FILENAME): Define in terms of
7901         EXPR_WFL_FILENAME_NODE.
7902         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
7903         the TREE_CHAIN.
7904         * print-tree.c (print_note): Print TREE_PRIVATE and
7905         TREE_PROTECTED.
7906
7907         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
7908         the original die cannot be found.
7909
7910         * varray.h (varray_head_tag): Add elements_used.
7911         (VARRAY_PUSH): New macro.
7912         (VARRAY_POP): Likewise.
7913         (VARRAY_TOP): Likewise.
7914         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
7915         types.
7916         * varray.c (varray_init): Initialize elements_used.
7917         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
7918         (INTEGRATE_H): New variable.
7919         (integrate.o): Depend on INTEGRATE_H.
7920         (unroll.o): Likewise.
7921
7922         * function.h (insert_block_after_note): Declare.
7923         * function.c (insert_block_after_note): Split out from ...
7924         (retrofit_block): ... here.
7925
7926         * stmt.c (expand_fixup): Fix typo in comment.
7927
7928 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7929
7930         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
7931         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
7932         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
7933         (regmove_optimize, fixup_match_1): Likewise.
7934
7935 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7936
7937         * flow.c (flow_loops_dump): Add missing argument when calling
7938         flow_loop_nested_p.
7939
7940 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
7941             Greg McGary  <gkm@gnu.org>
7942
7943         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
7944         (init_attributes): Add A_NO_LIMIT_STACK.
7945         (decl_attributes): Handle A_NO_LIMIT_STACK.
7946         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
7947         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
7948         Handle stack bounds checking.
7949         * flags.h (flag_stack_check): Use the word 'probe' rather than
7950         'check', because the flag doesn't actually cause any checking to
7951         be done.
7952         * function.c (expand_function_start): Set
7953         current_function_limit_stack.
7954         * function.h (struct function): Add limit_stack.
7955         (current_function_limit_stack): Define.
7956         * invoke.texi (Code Gen Options): Document new options.
7957         * rtl.h: Declare stack_limit_rtx.
7958         * toplev.c (stack_limit_rtx): New variable.
7959         (decode_f_option): Handle new options -fstack-limit-register=REG,
7960         -fstack-limit-symbol=IDENT, -fno-stack-limit.
7961         (main): Add stack_limit_rtx as GC root.
7962         * tree.h (DECL_NO_LIMIT_STACK): New macro.
7963         (struct tree_decl): New member no_limit_stack.
7964
7965         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
7966         stack_limit_rtx.
7967         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
7968         (conditional_trap+1): Get new mnemonic correct.
7969         (conditional_trap+2): New pattern for DImode traps.
7970
7971         * config/m68k/m68k.c (output_function_prologue): Handle
7972         stack_limit_rtx.
7973         * config/m68k/m68k.md (trap): New insn.
7974         (conditional_trap): New insn.
7975         * md.texi (Standard Names): Document `trap' and
7976         `conditional_trap'.
7977         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
7978         so a cc0 setter doesn't get emitted at some random place in the
7979         function.
7980
7981         * config/i960/i960.md (trap): New insn.
7982         (conditional_trap): New expander.
7983         (conditional_trap+1, conditional_trap+2): New insns for signed
7984         and unsigned cases.
7985         * config/i960/i960.c (i960_function_prologue): Use
7986         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
7987
7988 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
7989                           Geoffrey Keating  <geoffk@cygnus.com>
7990
7991         * flags.h (warn_padded, warn_packed): Add global var decls.
7992         * toplev.c (warn_padded, warn_packed): Add global var defns.
7993         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
7994         * stor-layout.c (layout_record): Add local variable `type'
7995         to hold often-used TREE_TYPE (field).  Add local variable
7996         `unpacked_align' to hold alignment that would be in force
7997         if no `packed' attribute were present.  Warn if `packed' attribute
7998         is unnecessary, or even harmful.  Warn when gcc inserts padding
7999         to satisfy alignment requirements of members.  Use NULL_TREE
8000         when checking whether var_size is set.
8001         * invoke.texi: Document new flags.
8002
8003 1999-12-03  Nathan Sidwell  <nathan@acm.org>
8004
8005         * frame.c (fde_split): Reimplement to avoid variable sized array.
8006
8007 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8008
8009         * combine.c (try_combine): Before fixing up LOG_LINKS for the
8010         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
8011
8012 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
8013
8014         * invoke.texi: Document the mips option -mno-crt0
8015
8016 1999-12-02  Mike Karr  <mkarr@mathworks.com>
8017
8018         * cccp.c (argdata): Added free_ptr member.
8019         (macroexpand): Initialize free_ptr of each argument. When an
8020         argument's buffers are freed, if the argument's free_ptr corresponds
8021         to a buffer on the input stack, then return the free_ptr to that stack
8022         frame, otherwise, free it.
8023         (macarg): If an argument begins and ends on the same input stack level,
8024         then transfer the free_ptr of that buffer to the argument in case
8025         the stack is popped during the processing of a subsequent argument.
8026
8027 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
8028
8029         * loop.c (note_reg_stored): New function.
8030         (struct note_reg_stored_arg): New structure.
8031         (try_copy_prop): Change to be more conservative; only replace within
8032         one extended basic block and stop replacing if a store to the
8033         replacement reg is seen.
8034
8035 1999-12-02  Nick Clifton  <nickc@cygnus.com>
8036
8037         * config/fp-bit.c: Initialise all fields of the NAN
8038         constants.
8039
8040         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
8041         to HANDLE_PRAGMA.
8042
8043 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
8044
8045         * i386.md (extend?f?f2): Force the input into a register, not
8046         the output.
8047
8048 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
8049
8050         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
8051         regclass' sake.
8052         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
8053         alternative because setting up 64bit constant is usually costly,
8054         especially when reload is in progress or completed.
8055         (movdf_const_intreg_sp64): Likewise.
8056         (movdf_const_intreg split): Fix building up constants when
8057         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
8058
8059 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
8060
8061         * combine.c (if_then_else_cond): Use const_true_rtx instead of
8062         const1_rtx for return values in EQ/NE comparison against (const_int 0)
8063         case.
8064
8065         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
8066         (asm_file_start): Emit .am33 into assembly file when compiling for
8067         the AM33.
8068         (print_operand_address): Handle POST_INC addresses.
8069         (can_use_return_insn, initial_offset): Check AM33 registers too.
8070         (expand_prologue): Check & save AM33 registers too.
8071         (expand_epilogue): Similarly.
8072         (secondary_reload_class): Handle AM33 specific secondary reloads.
8073         (output_tst): Emit efficient code for the AM33 too.
8074         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
8075         (TARGET_SWITCHES): Add -mam33 switch.
8076         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
8077         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
8078         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
8079         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
8080         (enum reg_class, REG_CLASS_NAMES): Likewise.
8081         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
8082         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
8083         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
8084         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
8085         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
8086         (HAVE_POST_INCREMENT): Define.
8087         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
8088         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
8089         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
8090         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
8091         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
8092         (zero_extend to SI from QI/HI): Likewise.
8093         (sign_extend to SI from QI/HI): Likewise.
8094         (mulsidi3, umulsidi3): New patterns for the AM33.
8095         (tstsi with zero extension from QI/HI): Add AM33 variants.
8096         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
8097         (return_internal_regs, store_movm): Handle new AM33 registers.
8098         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
8099         (LIBGCC, INSTALL_LIBGCC): Likewise.
8100         * invoke.texi: Document new flags.
8101
8102 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8103
8104         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
8105         (addsi3_carry): Likewise.
8106         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
8107         (sbbsi3_carry): Likewise.
8108         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
8109         (mulhi3): Likewise.
8110         (test?i_1): Ensure that only one operand is memory.
8111         (conditional move patterns): likewise.
8112         (shift and rotate patterns): Rewrite to expander, add
8113         "binary_operator_ok" to the condition.
8114
8115         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
8116         * i386.h (procesor_costs): Add movzbl_load field.
8117         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
8118         non-Q registers, accept DImode registers anywhere.
8119         (Q_CLASS_P): New.
8120         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
8121         * i386.c (*_cost): Set value for movxbl_load field.
8122
8123         * (addsi): New add to lea splitter.
8124         (ashlsi): Likewise.
8125         (lea to add/shift peep2): New.
8126
8127 1999-12-01  Mark Salter <msalter@cygnus.com>
8128
8129         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
8130         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
8131         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
8132
8133 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8134
8135         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
8136         * i386.md (movsi_xor): New.
8137         (movsi_or): New.
8138         (movsi_1, movhi_1, movqi_1): Remove.
8139         (movsi_2): Rename to movsi_1.
8140         (movhi_2): Rename to movhi_1.
8141         (movqi_2): Rename to movqi_1.
8142         (movdi_1): Remove; remove splitter.
8143         (movdi_2): Rename to movdi_1.
8144         (divmodsi4 splitter): Do not emit clobbers for move patterns.
8145         (long move peep2): Do not create QI or HI mode mov0s
8146         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
8147
8148         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
8149         rewrite splitters.
8150
8151         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
8152         (abs?f2_if): Likewise.
8153
8154 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
8155
8156         * ggc.h (ggc_test_and_set_mark): New macro.
8157         (ggc_mark_rtx): Use ggc_test_and_set_mark.
8158         (ggc_mark_tree): Likewise.
8159         (ggc_mark_rtvec): Likewise.
8160         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
8161
8162 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
8163
8164         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
8165         containing types.
8166         (decl_scope_table): Just an array of trees now.
8167         (push_decl_scope): Simplify.
8168         (dwarf2out_init): Adjust.
8169         (local_scope_p): New fn.
8170         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
8171         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
8172         (gen_typedef_die): Likewise.
8173         (gen_lexical_block_die): Don't call push/pop_decl_scope.
8174         (gen_inlined_subroutine_die): Likewise.
8175         (gen_abstract_function): Set current_function_decl temporarily.
8176         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
8177         Handle block extern declarations.  Don't call push/pop_decl_scope.
8178         (gen_decl_die): Fix logic for block externs.
8179
8180 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8181
8182         * calls.c (special_function_p): Remove `realloc' and add `strdup'
8183         to the list of functions which have attribute malloc by default.
8184
8185 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8186
8187         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
8188         integer constant does not match the traditional type, limit the
8189         warnings to cases where the base of the type is ten.
8190
8191         * invoke.texi (-Wtraditional): Document it.
8192
8193 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8194
8195         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
8196         * rs6000.md: Only access a CONST_INT with INTVAL
8197
8198 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
8199
8200         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
8201         (compute_nearerout): Likewise.
8202         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
8203         size_t to unsigned long for formatting.
8204
8205 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
8206
8207         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
8208         Allow the user to override call-used/fixed state of %g2-5
8209         registers from the command line (with the exception of %g4 for
8210         embedded model).
8211         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
8212         there is a higher chance of having a leaf function.
8213         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
8214         for ARCH64 which has %ccr register.
8215         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
8216         patterns.
8217         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
8218         insn accept into delay slot any insn which does not use %[ol]
8219         registers.  Accept some LO_SUM and shift left by 1 for the normal
8220         restore case.
8221         (output_function_epilogue): Likewise.
8222         (epilogue_renumber): Added argument which inhibits any renumbering
8223         and just tests if the rtx does not use any %[ol] registers.
8224         (output_return): Reflect above change.
8225
8226 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
8227
8228         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
8229         aggregate passing for sizes <= 16 bytes.
8230
8231 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
8232
8233         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
8234         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
8235         * reload.c (find_dummy_reload): Likewise.
8236         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
8237         * reload1.c (reload_as_needed): Likewise.
8238         * stupid.c (stupid_find_reg): Likewise.
8239         * tm.texi (Obsolete Register Macros): Delete section.
8240         * gmicro.h: Remove all traces of the two macros.
8241         * i386.h: Likewise.
8242         * m88k.h: Likewise.
8243         * mips.h: Likewise.
8244
8245 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
8246
8247         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
8248         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
8249         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
8250         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
8251         units for the sparclite86x chip.
8252         (flush): Revert October 14th change; add SImode specifically.
8253         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
8254         * invoke.texi: Document it.
8255
8256 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
8257
8258         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
8259         psimode_truncation_operand.
8260
8261         * config/mn10200/mn10200.c (psimode_truncation_operand): New
8262         function.  Return true if the operand is either a MEM valid
8263         for a PSImode address or not a MEM at all.
8264
8265         * config/mn10200/mn10200.md (truncsipsi2): Use
8266         psimode_truncation_operand.
8267
8268 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8269
8270         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
8271         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
8272         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
8273         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
8274         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
8275         (flow_loop_level_compute, low_loops_level_compute): Likewise.
8276         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
8277         * basic-block.h: Protect from multiple inclusion.
8278         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
8279         (struct loops, struct loop): Define structures.
8280         * sbitmap.c (sbitmap_a_subset_b_p): New function.
8281         * sbitmap.h: Protect from multiple inclusion.
8282         (sbitmap_a_subset_b_p): Add prototype.
8283         * Makefile.in (LOOP_H): New macro.
8284         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
8285
8286 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
8287
8288         * cppinit.c (CAT): The argument list of this macro may not contain
8289         spaces !
8290
8291 1999-11-29  David S. Miller  <davem@redhat.com>
8292
8293         Move quantity tables and register equivalence chains into
8294         per-qty and per-register structure arrays respectively.
8295         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
8296         qty_const_insn, qty_comparison_code, qty_comparison_const,
8297         qty_comparison_qty): Delete, replace with...
8298         (qty_table): this structure table.
8299         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
8300         (reg_eqv_table): this structure table.
8301         (make_new_qty): Add argument MODE.  Caller updated.
8302         Update to use qty_table and reg_eqv_table.
8303         (make_regs_eqv, delete_reg_equiv, insert_regs,
8304         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
8305         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
8306         cse_process_notes, cse_main, cse_basic_block): Likewise.
8307
8308 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8309
8310         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
8311         operation if C is negative.
8312         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
8313         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
8314         law for some divisions if constant is negative and change other
8315         divisions to the opposite rounding.
8316
8317         * expr.c (store_constructor_field): If bit position is not multiple
8318         of alignment of TARGET's mode, use BLKmode.
8319
8320         * expr.c (expand_expr_unaligned): Add more code from full case
8321         that is needed when OP0 is in a register.
8322
8323 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8324
8325         * dwarfout.c (field_byte_offset): Size can be zero if there was
8326         an error.
8327
8328 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
8329
8330         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
8331         (associate_trees): Delete unused var TEM.
8332         (extract_muldiv): Delete unused var CANCEL_P.
8333
8334         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
8335         (target_isinf, target_isnan, target_negative): Add return types to
8336         function definitions.
8337
8338 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
8339
8340         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
8341         * fixinc/hackshell.tpl: ditto
8342         * fixinc/fixtests.c(double_slash_test): more C++ header testing
8343         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
8344
8345 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
8346
8347         * reload.c (push_reload): When looking for a register to put into
8348         reg_rtx, make sure all hard regs in a multi-reg register are in the
8349         right class and nonfixed.
8350
8351         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
8352         pending_read_insns, pending_write_insns, pending_read_mems,
8353         pending_write_mems, pending_list_length, last_pending_memory_flush,
8354         last_function_call, sched_before_next_call): Move static variables
8355         into a structure.
8356         (bb_ prefixed versions): Replace with single array bb_deps.
8357         (struct deps): New structure.
8358         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
8359         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
8360         argument of type "struct deps *"; use that instead of global
8361         variables.  All callers changed.
8362         (init_rgn_data_dependencies): Delete function.
8363         (init_rtx_vector): Delete function.
8364         (init_deps): New function.
8365
8366         (free_pending_lists): Simplify, we always use the bb_deps array even
8367         if only one basic block.
8368         (compute_block_backward_dependences): Likewise.
8369         (schedule_region): Likewise.
8370
8371         (propagate_deps): New function, broken out of
8372         compute_block_backward_dependences.
8373         (compute_block_backward_dependences): Use it.
8374
8375         * alpha.md: Delete useless patterns that tried to work around
8376         register elimination problems.
8377
8378         * unroll.c (loop_iterations): Don't abort if iteration variable
8379         was made by loop.
8380
8381         From Joern Rennecke:
8382         * reload1.c (reloads_conflict): Reverse test comparing operand
8383         numbers when testing for conflict between output/outaddr reloads.
8384
8385 1999-11-29  David S. Miller  <davem@redhat.com>
8386
8387         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
8388         arg.
8389         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
8390
8391 1999-11-28  Robert Lipe  <robertl@cygnus.com>
8392
8393         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
8394         table from .fini into .dtor.
8395
8396 1999-11-28  Anthony Green  <green@cygnus.com>
8397
8398         * tree.h (struct tree_decl): Add malloc_flag.
8399         (DECL_IS_MALLOC): Define.
8400         * c-common.c (attrs): Add A_MALLOC attribute.
8401         (init_attributes): Add this attribute to the table.
8402         (decl_attributes): Handle malloc attribute.
8403         * calls.c (special_function_p): Check for the malloc attribute.
8404         * extend.texi (Function Attributes): Document malloc attribute.
8405
8406 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
8407
8408         * pa.md (reload shift-add patterns): Remove.
8409
8410 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8411
8412         * reorg.c (dbr_schedule) Print more statistics. Corrected
8413         problem when printing info when 3 delay slots are filled.
8414
8415 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
8416
8417         * combine.c (setup_incoming_promotions): Pass an outgoing
8418         regno to FUNCTION_ARG_REGNO_P which it expects.
8419
8420 1999-11-28  Andreas Jaeger  <aj@suse.de>
8421
8422         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
8423
8424 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
8425
8426         * cccp.c (do_include): Avoid initialization of automatic variable.
8427
8428         * integrate.c (mark_stores): Function definition made void, to match
8429         previous declaration.
8430         * regclass.c (dump_regclass): Ditto.
8431         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
8432
8433 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8434
8435         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
8436         known to be multiple of divisor.
8437
8438         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
8439
8440         * combine.c (try_combine): Add code to try to merge a set of a
8441         two-word pseudo to a constant with a setting of one of those words
8442         to a constant.
8443
8444         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
8445         (split_tree): Completely rework to make more general.
8446         (make_range, fold): Call negate_expr.
8447         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
8448         (fold, associate): Call new split_tree and associate_trees.
8449         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
8450
8451 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
8452
8453         * loop.c (try_copy_prop): Avoid GNU C extension.
8454
8455 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
8456
8457         * except.c (init_eh_for_function): Still zero eh_return_context,
8458         eh_return_stack_adjust, and eh_return_handler.
8459
8460         * except.h (eh_status): Adjust documentation for x_protect_list.
8461         (begin_protect_partials): New function.
8462         * except.c (enqueue_eh_entry): Fix formatting.
8463         (get_first_handler): Add consistency check.
8464         (add_partial_entry): Adjust usage of protect_list.
8465         (emit_cleanup_handler): Save and restore ehqueue.
8466         (expand_start_all_catch): Add comment.
8467         (begin_protect_partials): New function.
8468         (end_protect_partials): Adjust usage of protect_list.
8469         (init_eh_for_function): Use xcalloc.
8470
8471 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8472
8473         * c-common.c (check_format_info): Don't call a variadic function
8474         with a non-literal format string.
8475
8476         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
8477
8478         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
8479         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
8480         Likewise.
8481
8482         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
8483         Likewise.
8484
8485         * collect2.c (collect_wait): Likewise.
8486
8487         * dbxout.c (dbxout_type): Likewise.
8488
8489         * gcc.c (do_spec_1): Likewise.
8490
8491         * genemit.c (gen_insn, gen_expand): Likewise.
8492
8493         * genrecog.c (write_switch, write_subroutine): Likewise.
8494
8495         * mips-tfile.c (catch_signal, botch): Likewise.
8496
8497         * print-rtl.c (print_rtx): Likewise.
8498
8499         * toplev.c (default_print_error_function, report_error_function,
8500         _fatal_insn): Likewise.
8501
8502 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
8503
8504         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
8505
8506 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8507
8508         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
8509         operations when needed.
8510         * i386.md (fop_?f_comm): New.
8511         (fop_?f_1): Do not accept commutative operands.
8512
8513 1999-11-25  Andreas Jaeger  <aj@suse.de>
8514
8515         * config/mips/mips.md (casesi_internal): Add missing brace.
8516
8517 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
8518
8519         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
8520         (splice_child_die): Handle moving a child DIE from the declaration
8521         DIE of a class to its specification.
8522         (gen_struct_or_union_type_die): Use 'complete' consistently.
8523         (gen_decl_die): Generate the virtual context DIE first.
8524         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
8525
8526 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
8527
8528         * config/mips/mips.md (call_value_multiple_interanal1): New.
8529
8530 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
8531
8532         * dwarf2out.c (free_AT, free_die): New fns.
8533         (remove_children): Call them.
8534         (output_line_info): Disable removal of duplicate notes.
8535
8536         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
8537         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
8538         means pretend the type isn't defined.
8539         Don't defer emitting types.
8540         (gen_type_die_for_member): New fn.
8541         (gen_decl_die): Call it.
8542         (splice_child_die): New fn.
8543         (gen_member_die): Call it rather than generate duplicate dies.
8544
8545         Defer emitting information for the abstract instance of an inline
8546         until we either inline it or emit an out-of-line copy.
8547         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
8548         from output_inline_function if DECL_ABSTRACT is also set.
8549         (block_ultimate_origin): Likewise.
8550         (gen_abstract_function): New fn.
8551         (gen_decl_die, gen_inlined_subroutine_die): Call it.
8552         (gen_subprogram_die):  An abstract instance is not a declaration
8553         just because it doesn't match current_function_decl.  Don't abort
8554         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
8555         has an abstract origin.
8556         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
8557         abstract instance here.
8558
8559 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
8560
8561         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
8562         where we need to reload fpul from a system register.
8563
8564 1999-11-24  Andreas Jaeger  <aj@suse.de>
8565
8566         * config/mips/linux.h (CPP_PREDEFINES): Added.
8567         (LINK_SPEC): Remove -Y since this is only needed on sparc.
8568
8569 1999-11-24  Andreas Jaeger  <aj@suse.de>
8570
8571         * config/mips/linux.h (TARGET_VERSION): Added.
8572         (HANDLE_SYSV_PRAGMA): Added.
8573         (DEFAULT_VTABLE_THUNKS): Added.
8574
8575 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8576
8577         * local-alloc.c (qty): New structure and static variable.
8578         (qty_phys_reg): Remove, all references changed to qty.
8579         (qty_n_refs): Likewise.
8580         (qty_min_class): Likewise.
8581         (qty_birth): Likewise.
8582         (qty_death): Likewise.
8583         (qty_size): Likewise.
8584         (qty_mode): Likewise.
8585         (qty_n_calls_crossed): Likewise.
8586         (qty_alternate_class): Likewise.
8587         (qty_changes_size): Likewise.
8588         (qty_first_reg): Likewise.
8589         (alloc_qty): Rename variable QTY to QTYNO.
8590         (finf_free_reg): Likewise.
8591         (local_alloc): Allocate qty, do not allocate the removed variables.
8592
8593 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
8594
8595         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
8596         when -membedded-pic is passed.
8597
8598         * config/mips/mips.md (casesi): Handle 64-bit case too.
8599         (casesi_internal_di): New insn.
8600
8601         * config/mips/mips.c (embedded_pic_offset): Always make the
8602         embedded-pic subtractions relative to the name of the current
8603         function by use of the magic string "..CURRENT_FUNCTION".
8604         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
8605
8606 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
8607
8608         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
8609         of (const_int 0), when what we really care about is
8610         whether it's a zero constant anyway.
8611         (div_trap_mips16): Likewise.
8612
8613 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
8614
8615         * loop.c (loop_optimize): Always find_loop_tree_blocks and
8616         unroll_block_trees when generating debuggable code.
8617
8618         * tree.h (unsave_expr_1): New function.
8619         (lang_unsave): New variable.
8620         (get_callee_fndecl): New function.
8621         * tree.c (unsave_expr_now_r): New function.
8622         (lang_unsave): Define.
8623         (unsave_expr_1): Likewise.
8624         (unsave_expr_now_r): Split out from unsave_expr_now.
8625         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
8626         call unsave_expr_now_r.
8627         (get_callee_fndecl): Define.
8628
8629         * Makefile.in (gencheck): Don't depend on lang_tree_files.
8630         (gencheck.o): Do depend on lang_tree_files.
8631
8632         * integrate.h (copy_decl_for_inlining): New declaration.
8633         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
8634         (copy_decl_for_inlining): New function.
8635         (integrate_parm_decls): Use it.
8636         (integrate_decl_tree): Likewise.
8637
8638 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
8639
8640         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
8641         the second two from the first.
8642         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
8643         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
8644         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
8645         ISA_HAS_FP4.
8646         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
8647         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
8648         ISA_HAS_FP4.
8649
8650 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
8651
8652         * pa.md (call_internal_symref, call_value_internal_symref): No mode
8653         needed on the address operand.
8654         * pa.c (call_operand_address): Check for the correct mode.
8655
8656 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
8657
8658         * loop.c: Include "basic-block.h".
8659         (try_copy_prop, replace_loop_reg): New functions.
8660         (load_mems): Detect registers that just hold copies of the hoisted
8661         mem, and call try_copy_prop to eliminate them.
8662         * Makefile.in (loop.o): Update dependencies.
8663
8664 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
8665
8666         * Makefile.in (gencheck.o): Depend on gencheck.h.
8667         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
8668         (insn-peep.o): Depend on except.h and function.h.
8669         (insn-attrtab.o): Depend on RECOG_H.
8670         (insn-output.o): Depend on toplev.h and flags.h.
8671         (gengenrtl.o): Depend on real.h.
8672         (gen-protos.o): Depend on cpplib.h and cpphash.h.
8673         Unify all dependencies to be on RECOG_H rather than recog.h.
8674
8675 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8676
8677         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
8678         * configure.in: Try building a bi-arch 32/64-bit compiler on
8679         sparc-*-solaris2.7 and higher.
8680         * configure: Rebuild.
8681
8682 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
8683
8684         * config/freebsd.h: New, FreeBSD architecture independent file.
8685         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
8686         independent pieces.
8687         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
8688         directly by i386/freebsd.h.
8689         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
8690         independent configuration file.
8691         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
8692         directly by i386/freebsd.h.
8693         * configure: Rebuilt.
8694
8695         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
8696         which is in the user's namespace.
8697         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
8698         `i386' which is not in our namespace.
8699
8700 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
8701
8702         * invoke.texi (ARM Options): Add in -mno-alignment-traps
8703
8704 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
8705
8706         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
8707         (add_dwarf_attr, add_child_die): Just push onto the front.
8708         (reverse_die_lists): New fn.
8709         (add_sibling_attributes): Use it.
8710         (push_decl_scope): Reorganize.
8711         (add_name_and_src_coords_attributes): Don't set file and line for
8712         an artificial decl.
8713         (gen_subprogram_die): An artificial function doesn't need to match
8714         file and line.
8715         (gen_compile_unit_die): Return the generated die.  Only add
8716         AT_comp_dir if the filename is relative.
8717         (remove_AT): Simplify loop.  Also free string values.
8718         (output_die): A DIE ref can't be null.
8719         (output_value_format, value_format): Take a dw_attr_ref.
8720         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
8721         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
8722         AT_addr, AT_lbl): New fns.
8723         (various): Use them.
8724         (various): Constify.
8725
8726 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8727
8728         * combine.c (combine_simplify_rtx): When handling a SUBREG,
8729         take SUBREG_WORD into account.
8730         (if_then_else_cond): Likewise.
8731
8732 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
8733
8734         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
8735         clause from BSD license, pursuant with
8736
8737           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
8738
8739 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
8740
8741         * loop.c (load_mems): Reformat slightly.
8742         * basic-block.h (regset_head): New typedef.
8743         (INIT_REG_SET): New macro.
8744
8745 1999-11-22  Bruce Korb  <autogen@linuxbox.com
8746
8747         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
8748         (mips-dec-bsd*): non-functional code
8749         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
8750
8751         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
8752         added three replacement fixes
8753         (no_double_slash): removed comments that are not (any longer) pertinent
8754         (bad_lval): this fix currently runs against many files.
8755         The comment seems to indicate that we should select for files
8756         containing 'pragma extern_prefix'.
8757
8758         * fixinc/fixinc.x86-linux-gnu: deleted
8759         * fixinc/inclhack.sh:  regen
8760         * fixinc/fixincl.x:  regen
8761         * fixinc/fixincl.sh:  regen
8762
8763 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
8764
8765         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
8766         its code is INSN and it has no notes.
8767
8768 1999-11-22  Andrew Haley  <aph@cygnus.com>
8769
8770         * varasm.c (function_defined): Remove.
8771         (make_function_rtl): Don't set function_defined.
8772         (make_decl_rtl): Remove global register warning.
8773         * regclass.c (no_global_reg_vars): New variable.
8774         (globalize_reg): Warn if function has already been defined.
8775         (regclass_init): Set no_global_reg_vars.
8776
8777 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8778
8779         * regclass.c (reg_pref): New structure and static variable
8780         (prefclass): Delete.
8781         (altclass): Delete.
8782         (all uses of prefclass and altclass): Use reg_pref instead.
8783
8784 1999-11-21  Nick Clifton  <nickc@cygnus.com>
8785
8786         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
8787         -malignment-traps.
8788         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
8789         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
8790         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
8791
8792 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
8793
8794         * varasm.c (output_constructor): Solve problem with long long
8795         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
8796
8797 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8798
8799         * global.c (allocno): New structure and static variable.
8800         (allocno_reg): Remove, all references replaced by allocno.
8801         (allocno_size): Likewise.
8802         (hard_reg_conflicts): Likewise.
8803         (hard_reg_preferences): Likewise.
8804         (hard_reg_copy_preferences): Likewise.
8805         (hard_reg_full_preferences): Likewise.
8806         (regs_someone_prefers): Likewise.
8807         (allocno_calls_crossed): Likewise.
8808         (allocno_n_refs): Likewise.
8809         (allocno_live_length): Likewise.
8810         (find_reg): Rename ALLOCNO to NUM.
8811
8812         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
8813         references updated.
8814         (may_move_out_cost): New variable.
8815         (init_reg_sets_1): Initialize may_move_out_cost.
8816         (record_reg_classes): Use may_move_out_cost.
8817
8818         * regclass.c (dump_regclass): New function.
8819         (regclass): New parameter DUMP, call DUMP_REGCLASS.
8820         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
8821         pass rtl_dump_file to regclass.
8822         * rtl.h (regclass): Update prototype.
8823
8824 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8825
8826         * i386.md (neg, not and abs patterns): Revmap to use
8827         ix86_expand_unary_operator and ix86_unary_operator_ok.
8828         (add?f and sub?f expanders): Force operand 1 to register.
8829         * i386.c (ix86_expand_unary_operator): Rewrite.
8830         (ix86_unary_operator_ok): Ensure that memory operands
8831         match real opcode.
8832         (ix86_binary_operator_ok): Do not allow operand 1 to
8833         come into memory and operand 0 not.
8834         (ix86_expand_binary_operator): Ensure that
8835         src1 is not non-matching memory.
8836
8837         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
8838         to support integer registers and memory.
8839         (abss?2_integer): Likewise.
8840
8841         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
8842         (REG_CLASS_NAMES): Likewise.
8843         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
8844         and GENERAL_REGS.
8845         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
8846         (movsf): Likewise; unify 4th and 5th alternative.
8847         (pushdf): Likewise.
8848         (movdf_1): Likewise; rename to movdf_integer.
8849         (pushxf): Likewise; rename to pushxf_integer; fix output template;
8850         remove redundant splitter.
8851         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
8852         (movdf_nointeger): New.
8853         (movxf_nointeger): New.
8854         (pushxf_nointeger): New.
8855
8856         * i386.md (extend?f?f): Split to expander and pattern, refuse two
8857         memory operands in patterns.
8858         (fop*): Refuse two memory operands.
8859
8860         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
8861         on !TARGET_USE_CLTD CPUs.
8862
8863 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
8864
8865         * extend.texi: Document C++ restricted pointers and references.
8866
8867 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
8868
8869         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
8870         (invalidate_skipped_set): Call it unconditionally.
8871         (cse_set_around_loop): Likewise.
8872
8873 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
8874
8875         * rtl.texi (mem): Add documentation for alias-set argument
8876         to RTX `mem'.
8877
8878 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8879
8880         * i386.h (struct_processor_costs): New fields int_load, int_store,
8881         fp_move, fp_load and fp_store
8882         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
8883         fp->int moves
8884         (MEMORY_MOVE_COST): New macro.
8885         * i386.c (386_cost): Define new fields.
8886         (i486_cost): Likewise.
8887         (pentium_cost): Likewise.
8888         (pentiumpro_cost): Likewise.
8889         (k6_cost): Likewise.
8890
8891 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
8892                           Geoffrey Keating  <geoffk@cygnus.com>
8893
8894         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
8895
8896         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
8897         MASK_ALIGN_INT.
8898
8899         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
8900         (TARGET_STRICT_ALIGNMENT): New macro.
8901         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
8902         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
8903         * invoke.texi (M680x0 Options): Document -mstrict-align.
8904
8905 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
8906                           Richard Henderson  <rth@cygnus.com>
8907
8908         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
8909         (ix86_split_long_move): Declare.
8910         * i386.c (split_xf, ix86_split_movdi): Remove.
8911         (ix86_split_to_parts, ix86_split_long_move): New.
8912         * i386.md (dimode move splitters): Use ix86_split_long_move.
8913         (dfmode move splitters): Likewise.
8914         (xfmode move splitters): Likewise.
8915         (movsf_1): Allow F->r.
8916         (movdf_1, movxf_1): Allow F->ro.
8917
8918 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
8919
8920         * except.h (struct eh_entry): Add goto_entry_p.
8921         (eh_region_from_symbol): Remove prototype.
8922         * except.c (find_func_region_from_symbol): New function.
8923         (emit_cleanup_handler): Likewise.
8924         (eh_region_from_symbol): Make it static.
8925         (add_new_handler): Verify the argument.
8926         (find_func_region): Update comment.
8927         (expand_eh_region_end): Expand handlers here, rater than waiting
8928         until expand_leftover_cleanups or start_all_catch.
8929         (expand_leftover_cleanups): Don't expand here.
8930         (expand_start_all_catch): Or here.
8931         (expand_rethrow): Check the return value from find_func_region.
8932         * function.c (expand_function_end): Emit the catch_clauses.
8933
8934 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
8935
8936         * integrate.c (expand_inline_function): Add necessary check for NULL.
8937
8938 1999-11-18  Nick Clifton  <nickc@cygnus.com>
8939
8940         * toplev.c (main): Correctly detect an unrecognised option.
8941
8942         * cppinit.c (cpp_handle_option): Do not claim to have consumed
8943         a -f option if it has not been recognised.
8944
8945 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
8946
8947         * basic-block.h (update_life_extent): Remove trailing comma on
8948         enumeration type list.
8949
8950 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8951
8952         * varasm.c (output_constructor) Solved problem with long long
8953         bitfields. Corrected calculating this_time and shift. Also
8954         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
8955
8956 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
8957
8958         * flow.c (split_edge): Take looping structure into account when
8959         determining where to put the new block note.
8960
8961 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
8962
8963         * Makefile.in (ggc-none.o): Provide host specific version if
8964         needed.
8965
8966 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
8967
8968         * cse.c (delete_trivially_dead_insns): Identify no-op insns
8969         containing subregs too.
8970
8971 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
8972
8973         * invoke.texi: Add documentation for -muninit-const-in-rodata.
8974         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
8975         (TARGET_UNINIT_CONST_IN_RODATA): Define.
8976         (text_section): Add switches -munint-const-in-rodata and
8977         -mno-uninit-const-in-rodata.
8978         (ASM_OUTPUT_COMMON): Remove.
8979         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
8980         const objects should be placed in read-only data. Otherwise declare
8981         them in common.
8982
8983 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
8984
8985         * jump.c (jump_optimize_1): Revert last change.
8986
8987 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
8988
8989         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
8990         test if optimizing for size.
8991
8992 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
8993
8994         * Makefile.in (toplev.o): Depend on except.h.
8995         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
8996
8997 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8998
8999         * i386.md (divmodsi4): Rewrite to expander.
9000         (*divmodsi4_nocltd): New.
9001         (*divmodsi4_cltd): New.
9002         (divmodsi4 splitter): Handle the case when input comes in edx.
9003         (udivmodhi4): Do not use constraints in exander.
9004         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
9005
9006 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
9007
9008         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
9009         for the common case.
9010
9011 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
9012
9013         * explow.c (hard_function_value): Add outgoing argument.
9014         * expr.h (hard_function_value): Declare it.
9015         * calls.c (expand_call, emit_library_call_value): Update callers.
9016         * function.c (aggregate_value_p): Ditto.
9017         (diddle_return_value): Must look at the outgoing registers
9018         on archs with register windows.
9019
9020 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
9021
9022         * alpha.c (alpha_build_va_list): Use make_lang_type and
9023         initialize TYPE_NAME for the va_list record.
9024
9025         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
9026
9027         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
9028         for printing.
9029         * ggc.h (struct ggc_statistics): Rearrange elements for better
9030         packing on 64-bit hosts.
9031         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
9032         (compute_nearerout): Likewise.
9033
9034 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
9035
9036         * config/rs6000/rs6000.c (first_reg_to_save): Save
9037         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
9038
9039 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
9040
9041         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
9042         notion of nesting to find the DIE for a type or function.
9043         DIEs can go in limbo even if we got a context_die.
9044         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
9045         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
9046         for local type.
9047         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
9048         (gen_type_die): Writing out the context doesn't cause member class
9049         template instantiations to be written out as well.
9050
9051 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
9052
9053         * rs6000.h (ASM_OUTPUT_DEF): New.
9054         Based on proposed addition from David Edelsohn.
9055
9056 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
9057             Bruce Korb  <autogen@linuxbox.com>
9058
9059         * fixinc/inclhack.def
9060         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
9061         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
9062                 in net/inet.h.
9063         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
9064         (svr4_endian): enabled with SVR5
9065         (svr4_mkdev): simplified syntax and enabled with SVR5
9066
9067 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
9068
9069         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
9070         * configure: Rebuilt.
9071         * config/t-freebsd-thread: New file.
9072
9073 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
9074
9075         * i386.c (ix86_decompose_address): Verify the base is a REG
9076         before trying to examine its register number.
9077
9078         * basic-block.h: Remove all #defines and prototypes related to
9079         integer lists.
9080         (free_bb_mem, compute_preds_succs): Remove prototype.
9081         * rtl.h (free_bb_mem): Remove prototype.
9082         * flow.c (alloc_int_list_node); Remove function.
9083         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
9084         (compute_preds_succs, free_bb_mem): Likewise.
9085         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
9086         * toplev.c (rest_of_compilation): Likewise.
9087         * haifa-sched.c (build_control_flow): Use flow generated edge
9088         list to build the haifa specific edge list.
9089         (find_rgns): Use new CFG data structures instead of pred/succ lists.
9090         (schedule_insns): Do not build pred/succ lists anymore.  Instead
9091         build the edge table.
9092
9093         * basic-block.h (dump_bb_data): Remove declaration.
9094         * flow.c (dump_bb_data): Remove function.
9095         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
9096         (sbitmap_union_of_predsucc): Likewise.
9097
9098         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
9099         argument.  All callers changed.
9100         (delete_null_pointer_checks_1): No longer need to compute the
9101         pred/succ lists.
9102
9103         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
9104         All callers changed.
9105         (pre_expr_reaches_here_p_work): Likewise.
9106         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
9107         * lcm.c (compute_laterin): Fix initialization of LATER.
9108         (compute_nearerout): Similarly for NEARER.
9109
9110 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9111
9112         * cse.c (set_nonvarying_address_components): Delete unused function.
9113         (refers_to_p): Likewise.
9114
9115 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
9116
9117         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
9118         needed.
9119
9120 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9121
9122         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
9123         definition in do while (0).
9124
9125 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
9126
9127         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
9128
9129 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
9130
9131         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
9132
9133 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
9134
9135         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
9136         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
9137         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
9138         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
9139
9140         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
9141         saved on the stack.  Output more accurate stack frame statistics
9142         into assembler file.
9143
9144 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
9145
9146         * genextract.c (record_insn_name): New function.
9147         (get_insn_name): No longer a stub.
9148         (main): Call record_insn_name for each insn.  After each label
9149         written, print the insn name in a comment.
9150
9151 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9152
9153         * output.h (const_section, init_section, fini_section): Add
9154         prototypes.
9155
9156         * alpha/elf.h (const_section): Delete declaration.
9157
9158         * svr4.h (const_section): Likewise.
9159
9160 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
9161
9162         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
9163         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
9164         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
9165         expressions.
9166         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
9167         variable-sized array bounds.
9168
9169 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
9170
9171         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
9172         ASM_OUTPUT_LABEL.
9173
9174 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9175
9176         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
9177         addresses the same way GO_IF_LEGITIMATE_INDEX does.
9178
9179 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9180
9181         * cse.c (hash_arg_in_struct): Delete.
9182         (struct table_elt): Delete elt in_struct.
9183         (struct set): Delete elt src_in_struct.
9184         (merge_equiv_classes): Don't set either hash_arg_in_struct or
9185         the corresponding in_struct elts.
9186         (canon_hash): Likewise.
9187         (safe_hash): Likewise.
9188         (find_best_addr): Likewise.
9189         (record_jump_cond): Likewise.
9190         (cse_insn): Likewise.
9191
9192 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
9193
9194         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
9195
9196         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
9197         unsigned types.
9198
9199 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
9200
9201         * function.c (diddle_return_value): Put back check that the DECL_RTL
9202         for the function is a register.
9203
9204         * function.c (diddle_return_value): Use hard_function_value to
9205         get an rtx suitable for use in the USE/CLOBBER insn.
9206
9207         * global.c (global_conflicts): Update comments.
9208         (record_conflicts): No need to record conflicts between pseudos here.
9209
9210 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
9211
9212         * fixinc/fixincl.c: Added verbose levels for status messages
9213
9214 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9215
9216         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
9217         operand as argument to expand_and or expand_binop.
9218
9219 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
9220
9221         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
9222         gcc_add_string_root.
9223
9224 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
9225
9226         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
9227
9228 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
9229
9230         * flow.c (compute_flow_dominators): Initially put all blocks on
9231         the worklist.
9232         * lcm.c (compute_antinout_edge, compute_available): Similarly.
9233         * gcse.c (compute_cprop_avinout): Remove.
9234         (compute_cprop_data): Use compute_available.
9235         (delete_null_pointer_checks_1): Use compute_available.
9236
9237         * basic-block.h (compute_available): Returns a void now.
9238         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
9239         to return a value anymore.
9240         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
9241         worklists.  Fix boundary cases. Compute maximal solutions.
9242         (compute_laterin, compute_nearerout): Similarly.
9243
9244         * dwarf2out.c (add_AT_location_description): Allow
9245         (mem (plus (pseudo) (...)) too.
9246
9247 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
9248
9249         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
9250
9251 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
9252                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9253
9254         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
9255
9256         * gansidecl.h: Likewise.
9257
9258         * rtl.c: Likewise.
9259
9260         * rtl.h: Likewise.
9261
9262         * toplev.h: Likewise.
9263
9264         * tree.c: Likewise.
9265
9266         * tree.h: Likewise.
9267
9268         * varray.c: Likewise.
9269
9270         * varray.h: Likewise.
9271
9272 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
9273
9274         * gcov.c (struct arcdata): Add hits and total, remove prob.
9275         (output_branch_counts): New.
9276         (process_args): Set output_branch_counts if -c.
9277         (calculate_branch_probs): Store hits and total instead of
9278         percentage.
9279         (output_data): Emit counts if output_branch_counts is true.
9280         * gcov.texi (Invoking Gcov): Document -c switch..
9281
9282 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
9283
9284         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
9285         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
9286
9287 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
9288
9289         * invoke.texi (C Dialect Options): Add missing builtins from
9290         c-common.c to list.
9291         * extend.texi (Other Builtins): Copy to this list.
9292
9293 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9294
9295         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
9296         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
9297         redundant bitmap.h.
9298
9299 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
9300
9301         * flow.c (compute_flow_dominators): No longer treat basic block 0
9302         or (n_basic_blocks - 1) specially.  Clear the AUX field before
9303         starting computation of doms/pdoms.  Fix initial state for pdoms.
9304
9305 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9306
9307         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
9308         match rtl.o's: added ggc.h and toplev.h
9309         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
9310         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
9311         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
9312
9313 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
9314
9315         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
9316         from HAVE_DOS_BASED_FILESYSTEM.
9317         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
9318         HAVE_DOS_BASED_FILESYSTEM.
9319         (main): Likewise.
9320         (split_directories): Only special-case DOS file names if
9321         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
9322         instead of explicit tests.  Conditionalize on !VMS.
9323         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
9324         tests.  Conditionalize on !VMS.
9325         (process_command): Only use make_relative_prefix if !VMS.
9326         (free_split_directories): Conditionalize on !VMS.
9327         (DIR_UP): Conditionalize on !VMS.
9328
9329 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
9330
9331         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
9332
9333 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
9334
9335         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
9336         case.
9337
9338 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
9339
9340         * invoke.texi (Environment Variables): Document relative path
9341         lookup.
9342         * gcc.c (DIR_UP): If not defined, define as "..".
9343         (standard_bindir_prefix): New static, holds target location to
9344         install binaries.
9345         (split_directories): New function to split a filename into
9346         component directories.
9347         (free_split_directories): New function, release memory allocated
9348         by split_directories.
9349         (make_relative_prefix): New function, make a relative pathname if
9350         the compiler is not in the expected location.
9351         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
9352         can figure out an appropriate prefix from argv[0].
9353         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
9354         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
9355         STANDARD_BINDIR_PREFIX.
9356
9357 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9358
9359         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
9360         in c4x.c.
9361         * config/c4x/c4x.h: Moved prototypes to c4x.h.
9362         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
9363         c4x_secondary_memory_needed) Delete.
9364         (fp_zero_operand): Add mode argument.
9365
9366 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
9367
9368         * reload1.c (reload_reg_free_for_value_p): Don't use a register
9369         that is in reload_reg_used.
9370
9371 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
9372
9373         * config/arm/arm-protos.h: New file: Prototypes for functions
9374         defined in arm.c and pe.c.
9375         * config/arm/arm.h: Fix compile time warnings.
9376         * config/arm/arm.c: Fix compile time warnings.
9377         * config/arm/pe.h: Fix compile time warnings.
9378         * config/arm/aout.h: Fix compile time warnings.
9379
9380 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
9381
9382         * config/m32r/m32r-protos.h: New file: Prototypes for functions
9383         defined in m32r.c
9384
9385         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
9386         Add support for subtargets.
9387         Add prototypes for new predicates.
9388         Add scheduling macros.
9389
9390         * config/m32r/m32r.c: Fix compile time warnings.
9391         (int8_operand): New predicate function.
9392         (reg_or_cmp_int16_operand): New predicate function.
9393         (extend_operand): New predicate function.
9394         (m32r_adjust_code): New scheduling function.
9395         (m32r_adjust_priorty): New scheduling function.
9396         (m32r_sched_init): New scheduling function.
9397         (m32r_sched_reorder): New scheduling function.
9398         (m32r_sched_variable_issue): New scheduling function.
9399         (direct_return): New codegen function.
9400         (m32r_not_same_reg): New rtl testsing function.
9401
9402         * config/m32r/m32r.md: Fix compile time warnings.
9403         Add support for pre decrement and post increment memory
9404         references.
9405         Add S<cc> patterns.
9406         Add fabs patterns.
9407
9408 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9409
9410         * global.c (EXECUTE_IF_CONFLICT): Don't define.
9411         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
9412         (find_reg): Likewise.
9413
9414 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
9415
9416         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
9417         to avoid assembler errors.
9418
9419 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
9420
9421         * config/v850/v850-protos.h: New file: Prototypes for functions
9422         defined in v850.c
9423         * config/v850/v850.h: Move prototypes to v850-protos.h
9424         * config/v850/v850.c: Move prototypes to v850-protos.h
9425         * config/v850/v850.md: Fix compile time warnings.
9426
9427         * config/fr30/fr30-protos.h: New file: Prototypes for functions
9428         defined in fr30.c
9429         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
9430         * config/fr30/fr30.c: Fix compile time warnings.
9431         * config/fr30/fr30.md: Fix compile time warnings.
9432
9433 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
9434
9435         * tree.h (get_containing_scope): Declare it.
9436         * tree.c (get_containing_scope): New fucntion.
9437         (decl_function_context): Use it.
9438         * toplev.c (rest_of_compilation): Use get_containing_scope.
9439
9440 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9441
9442         * Makefile.in (rtl.o): Depend on toplev.h.
9443
9444 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
9445
9446         * cse.c (delete_trivially_dead_insns): Replace alloca with
9447         xmalloc/xcalloc.
9448         * except.c (update_rethrow_references): Likewise.
9449         (init_eh_nesting_info): Likewise.
9450         * function.c (identify_blocks): Likewise.
9451         * gcse.c (dump_hash_table): Likewise.
9452         * graph.c (print_rtl_graph_with_bb): Likewise.
9453         * loop.c (combine_movables): Likewise.
9454         (move_movables): Likewise.
9455         (count_loop_regs_set): Likewise.
9456         (strength_reduce): Likewise.
9457         * profile.c (compute_branch_probabilities): New function, split
9458         out from ...
9459         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
9460         * regclass.c (regclass): Likewise.
9461         * regmove.c (regmove_optimize): Likewise.
9462         * toplev.c (compile_file): Likewise.
9463         (main): Don't mess with the stack rlimit.
9464
9465 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
9466
9467         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
9468         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
9469
9470 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
9471
9472         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
9473
9474 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
9475
9476         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
9477         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
9478         macro expansion.
9479
9480 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
9481
9482         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
9483
9484 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
9485
9486         * gcse.c (post_dominators): Kill.
9487         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
9488         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
9489         pass in a pdom array since we do not need pdoms.
9490         * haifa-sched.c (schedule_insns): Similarly.
9491         * flow.c (compute_dominators): Remove dead function.
9492         (compute_flow_dominators): Do not compute doms or pdoms if the
9493         caller does not request them.  Split up loop to build doms and
9494         pdoms.  Use a worklist to compute doms and pdoms.
9495         * basic-block.h (compute_dominators): Remove prototype.
9496
9497 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
9498
9499         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
9500         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
9501         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
9502         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
9503         (cant_move, fed_by_spec_load, is_load_insn): Remove.
9504         (schedule_region): Remove unused variable.
9505         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
9506
9507 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
9508
9509         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
9510         (update_equiv_regs): Likewise.
9511         (block_alloc): Likewise.
9512         * reg-stack.c (reg_to_stack): Likewise.
9513         (convert_regs_2): Likewise.
9514         * reload1.c (reload_as_needed): Likewise.
9515
9516 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
9517
9518         * Makefile.in (dbxout.o): Depend on ggc.h.
9519         (dwarf2out.o): Likewise.
9520         (xcoffout.o): Likewise.
9521         * dbxout.c: Include ggc.h.
9522         (dbxout_init): Register lastfile as a root.
9523         * dwarf2out.c: Include ggc.h.
9524         (dwarf2out_line): Register lastfile as a root.
9525         * xcoffout.c: Include ggc.h.
9526         (xcoffout_source_line): Register xcoff_lastfile as a root.
9527
9528 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
9529
9530         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
9531
9532 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
9533
9534         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
9535         defined.
9536         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
9537
9538 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9539
9540         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
9541         (EXECUTE_IF_CONFLICT): Likewise.
9542         (ALLOCNO_LIVE_P): Avoid signed division.
9543         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
9544         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
9545         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
9546
9547 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
9548
9549         * haifa-sched.c (schedule_block): Don't crash if there's no
9550         next insn for an interblock movement.
9551         (add_branch_dependences): Don't allow clobber insns to move either.
9552
9553 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
9554
9555         * i386.c (split_xf): New.
9556         * i386-protos.h: Declare it.
9557         * i386.md (movxf_1): Add general regs alternatives.
9558         (movxf_1+1): New splitter for same.
9559
9560 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
9561
9562         * function.c (purge_addressof_1): Add missing return values.
9563
9564 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
9565
9566         * function.c (is_addressof): New function.  Returns true if
9567         the given piece of RTL is an ADDRESSOF.
9568         (purge_addressof_1): Make boolean.  Return false if the
9569         ADDRESSOFs could not be purged.
9570         (purge_addressof): If ADDRESSOFs could not be purged from the
9571         notes attached to an insn, remove the offending note(s),
9572         unless they are attached to a libcall.
9573
9574 1999-11-05  Andreas Jaeger  <aj@suse.de>
9575
9576         * genoutput.c (null_operand =): Initialize all fields.
9577
9578         * errors.h: Add extern to prototypes.
9579
9580 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
9581
9582         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
9583         * configure: Rebuilt.
9584
9585 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9586
9587         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
9588         (mirror_conflicts): New function.
9589         (global_alloc): Call it.
9590         (expand_preferences): Remove redundant CONFLICTP test.
9591         (find_reg, dump_conflicts): Likewise.
9592         (prune_preferences): Process conflicts one word at a time.
9593
9594 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
9595
9596         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
9597         instead of an explicit loop.
9598
9599 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
9600
9601         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
9602         if REG_RETVAL check succeeds, then put classp in src_elt.
9603
9604 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
9605
9606         * function.c (pad_to_arg_alignment): Only update argument_pad
9607         if the argument's alignment is greater than STACK_BOUNDARY.
9608
9609 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
9610
9611         * bitmap.h (BITMAP_XFREE): New.
9612         * flow.c (life_analysis): Use it.
9613         (life_analysis_1): Free blocks.
9614
9615         * combine.c (undo_commit): New.
9616         (try_combine): Use it.  Don't zap undobuf.undos.
9617         (combine_instructions): Don't zap undobuf.undos; free the
9618         undobuf.frees list.
9619
9620         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
9621
9622         * stmt.c (cost_table_): New.
9623         (estimate_case_costs): Use it instead of xmalloc.
9624
9625         * toplev.c (compile_file): Reuse dumpname memory instead
9626         of strdup'ing it.
9627
9628 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
9629
9630         * reg-stack.c (convert_regs_1): Initialize target_stack->top
9631         after verifying an EH edge.
9632
9633         * haifa-sched.c (init_rgn_data_dependences): Correctly
9634         size bb_pending_lists_length when zeroing.
9635
9636 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
9637
9638         * function.c (diddle_return_value): New.
9639         (expand_function_end): Use it.
9640         * stmt.c (expand_null_return): Likewise.
9641         (expand_value_return): Likewise.
9642
9643         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
9644
9645         * reload1.c (reload): Don't remove return value clobbers.
9646
9647 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
9648
9649         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
9650
9651 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
9652
9653         * cse.c (cse_main): Use xmalloc, not alloca.
9654         (cse_basic_block): Likewise.
9655         * local-alloc.c (local_alloc): Likewise.
9656
9657 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
9658                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9659
9660         * rtl.c: Include toplev.h.
9661         (fatal): Remove declaration.
9662
9663 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
9664
9665         * haifa-sched.c (schedule_block): Fix thinko.
9666
9667 1999-11-03  James McKelvey <mckelvey@fafnir.com>
9668
9669         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
9670         S_IR* defined values
9671
9672 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
9673
9674         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
9675         call `malloc' instead.
9676
9677 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
9678
9679         * flags.h (flag_renumber_insns): Declare.
9680         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
9681         renumbering table.
9682         * rtl.h (renumber_insns): Change prototype.
9683         * toplev.c (flag_renumber_insns): Define.
9684         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
9685
9686 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
9687
9688         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
9689         and fpsqrtd.  Use them and create fdiv function unit to more
9690         accurately represent fpu sqrt pipeline semantics on UltraSparc.
9691         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
9692
9693 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
9694
9695         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
9696         3 on UltraSparc.
9697         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
9698         insn into ready list, do not use just a raw swap.
9699
9700 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
9701
9702         * rtl.h (renumber_insns): New function.
9703         (remove_unnecessary_notes): Likewise.
9704         * emit-rtl.c (renumber_insns): Define.
9705         (remove_unncessary_notes): Likewise.
9706         * toplev.c (rest_of_compilation): Remove dead code.
9707         Use renumber_insns and remove_unncessary_notes.
9708
9709         * gcse.c (struct null_pointer_info): New type.
9710         (get_bitmap_width): New function.
9711         (current_block): Remove.
9712         (nonnull_local): Likewise.
9713         (nonnull_killed): Likewise.
9714         (invalidate_nonnull_info): Take a null_pointer_info as input.
9715         (delete_null_pointer_checks_1): New function.
9716         (delete_null_pointer_checks): Use it.
9717
9718         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
9719         (split_edges): Likewise.
9720         (schedule_block): Likewise.
9721         (compute_block_backward_dependencies): Likewise.
9722         (schedule_region): Likewise.
9723         (schedule_insns): Likewise.
9724
9725 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
9726
9727         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
9728         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
9729         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
9730         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
9731         * jump.c (delete_unreferenced_labels): Don't delete if
9732         LABEL_ALTERNATE_NAME is set.
9733         * print-rtl.c (print_rtx): Dump alternate name.
9734         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
9735         * rtl.h (LABEL_ALTERNATE_NAME): Define.
9736         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
9737         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
9738
9739 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9740
9741         * fix-header.c (recognized_extern, recognized_function): Constify
9742         a char*.
9743
9744         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
9745         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
9746         (compute_available): Remove unused variable `last'.
9747         (compute_nearerout): Remove unused variable `temp_bitmap'.
9748         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
9749         Remove unused variable `x'.
9750
9751         * scan.h (recognized_function, recognized_extern): Constify a
9752         char*.
9753
9754         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
9755
9756 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9757
9758         * varasm.c (decode_rtx_const): Use XSTR to access the string
9759         of a SYMBOL_REF.
9760
9761 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
9762
9763         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
9764
9765 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9766
9767         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
9768
9769 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
9770
9771         * pa.c (ireg_operand): New function.
9772         * pa.h (PREDICATE_CODES): Handle ireg_operand.
9773         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
9774         Fix out of date comment.
9775
9776         * pa.md (negdi2): Turn into expander + anonymous pattern.
9777
9778         * reload.c (find_reloads): Fix typos in recent change.
9779
9780         * dwarf2out.c: Do not include ctype.h.
9781
9782 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9783
9784         * regclass.c (record_reg_classes): Always use may_move_cost when
9785         seeing how operand fits with various register classes.
9786
9787 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
9788
9789         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
9790         * toplev.c: Revert Nov 1 13:22 change.
9791
9792 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
9793
9794         * config/pa/pa.md (height reduction patterns): Add checks for
9795         overlapping operands to avoid semantic-destroying splits for
9796         height reduction patterns.
9797
9798 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9799
9800         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
9801         have been an hyphen, fixed.
9802         * configure: Rebuilt.
9803
9804 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
9805
9806         * config/arm/tpe.h: Add prototypes for exported functions.
9807         * config/arm/pe.c: Fix compile time warnings.
9808         * config/arm/semi.h: Fix compile time warnings.
9809         * config/arm/arm.c: Fix compile time warnings.
9810         * config/arm/arm.h: Fix compile time warnings.
9811         * config/arm/arm.md: Fix compile time warnings.
9812         * config/arm/thumb.c: Fix compile time warnings.
9813         * config/arm/thumb.h: Fix compile time warnings.
9814         * config/arm/thumb.md: Fix compile time warnings.
9815
9816 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
9817
9818         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
9819         detection code
9820
9821         * unroll.c (unroll_loop): Remove LOOP notes when loop is
9822         completely unrolled.
9823
9824 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9825
9826         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
9827
9828 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
9829
9830         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
9831         * rtl.h (rtx_equal_p): Move prototype.
9832         * rtl.c (rtx_equal_function_value_matters): Move from
9833         rtlanal.c
9834         (rtx_equal_p): Likewise.
9835         * rtlanal.c (rtx_equal_function_value_matters): Delete.
9836         (rtx_equal_p): Likewise.
9837
9838 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
9839
9840         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
9841         ! HAS_INIT_SECTION.
9842
9843 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
9844
9845         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
9846
9847         * pa.h (ADDR_VEC_ALIGN): Define.
9848
9849         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
9850         notes when presented with "if (foo) break; end_of_loop" and
9851         the break sequence gets moved out of the loop.
9852
9853         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
9854         Remove explicit zero initializations of entries within MAP.
9855
9856 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
9857
9858         * reg-stack.c (convert_regs_1): Handle EH edges specially.
9859
9860 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
9861
9862         * bitmap.h (BITMAP_XMALLOC): New macro.
9863         * flow.c (CLEAN_ALLOCA): Remove.
9864         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
9865         (life_analysis): Likewise.
9866         (update_life_info): Don't use CLEAN_ALLOCA.
9867         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
9868         (calculate_global_regs_live): Likewise.
9869         (print_rtl_with_bb): Likewise.
9870         (verify_flow_info): Likewise.
9871         * global.c (global_alloc): Likewise.
9872         (global_conflicts): Likewise.
9873         * integrate.c (save_for_inline_nocopy): Likewise.
9874         (expand_inline_function): Likewise.
9875         * jump.c (jump_optimize_1): Likewise.
9876         (duplicate_loop_exit_test): Likewise.
9877         (thread_jumps): Likewise.
9878         * loop.c (loop_optimize): Likewise.
9879         (combine_givs): Likewise.
9880         (recombine_givs): Likewise.
9881         * reorg.c (dbr_schedule): Likewise.
9882         * unroll.c (unroll_loop): Likewise.
9883
9884         * combine.c (combine_instructions): Use xmalloc instead of alloca.
9885
9886 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
9887
9888         * toplev.c (rest_of_compilation): Don't optimize the CFG
9889         when rebuilding, just before dbr.
9890
9891 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9892
9893         * output.h (assemble_end_function, assemble_destructor,
9894         assemble_constructor, assemble_gc_entry, assemble_global,
9895         assemble_label, output_constant_pool) Constify a char*.
9896
9897         * varasm.c (assemble_destructor, assemble_constructor,
9898         assemble_gc_entry, assemble_end_function, assemble_global,
9899         assemble_label, output_constant_pool): Likewise.
9900
9901 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
9902
9903         * config/arm/thumb.c (thumb_expand_prologue): Add comments
9904         explaining what is goin on in this function.
9905
9906 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9907
9908         * regclass.c (record_reg_classes): In matching case, recompute
9909         costs since the direction of movement is different.
9910
9911 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
9912
9913         * resource.c (mark_target_live_regs): For unconditional branches,
9914         the resources found at the branch target should be added to the
9915         resources found so far, not intersected.
9916
9917 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
9918
9919         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
9920         old cpp's.
9921         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
9922         (sys/mman.h): Include this file only if #HAVE_MMAP.
9923         (run_compiles): Initialize `esac_fmt' with one old KR string, not
9924         with automatically concatenated ANSI strings.
9925
9926 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
9927
9928         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
9929         (DIV_ROUND_UP): Robustify.
9930         (ggc_recalculate_in_use_p): New function.
9931         (release_pages): Don't inline it.
9932         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
9933         outer contexts.
9934         (ggc_pop_context): Use ggc_recalculate_in_use_p.
9935         (clear_marks): Always save in_use_p.
9936         (sweep_pages): Use ggc_recalculate_in_use_p.
9937         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
9938         Release pages before counting statistics.
9939
9940 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
9941
9942         * toplev.c (rest_of_compilation): Fix thinko in this change:
9943
9944         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
9945
9946         (rest_of_compilation): If inside an inlined external function,
9947         pretend we are just being declared.
9948
9949 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
9950
9951         * flow.c (calculate_global_regs_live): Fix thinko.
9952
9953         * integrate.c (expand_inline_function): Fix bugs in previous
9954         change from Oct 28, 1999.
9955
9956 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
9957
9958         * stmt.c (expand_value_return): Fix typo in this change:
9959
9960         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9961         (expand_value_return): Correctly convert VAL when promoting function
9962         return; support RETURN_REG being a PARALLEL.
9963
9964 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
9965
9966         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
9967
9968 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9969
9970         * hard-reg-set.h (reg_names): Constify a char*.
9971
9972         * regclass.c  (reg_names): Likewise.
9973
9974         * regs.h (reg_names): Likewise
9975
9976         * a29k/a29k.c (reg_names): Delete declaration.
9977
9978         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
9979
9980         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
9981         arc_output_function_epilogue): Likewise.
9982
9983         * elxsi/elxsi.c (reg_names): Likewise.
9984
9985         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
9986
9987         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
9988         Likewise.
9989
9990         * m88k/m88k.c (output_function_profiler): Likewise.
9991
9992         * sparc/sparc.c (sparc_flat_output_function_prologue,
9993         sparc_flat_output_function_epilogue): Likewise.
9994
9995 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
9996
9997         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
9998         warning from -Wuninitialized and put it under -W.
9999         * function.c (uninitialized_vars_warning): Warn only when the
10000         corresponding flag is set.
10001
10002 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
10003
10004         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
10005         is nonzero and the single set does not have an elt, then assign
10006         it an elt.
10007
10008         * simplify-rtx.c: New file.
10009         * Makefile.in (OBJS): Add simplify-rtx.o
10010         (simplify-rtx.o): Add dependencies.
10011         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
10012         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
10013         (cse_gen_binary, simplify_unary_operation): Delete.
10014         (simplify_binary_operation, simplify_plus_minus): Likewise.
10015         (check_fold_consts, simplify_relation_operation): Likewise.
10016         (simplify_ternary_operation): Likewise.
10017         (delete_trivially_dead_insns): Simplify the contents of the
10018         REG_EQUAL note before trying to substitute it into the source
10019         of the reg-reg copy at the end of a libcall sequence.
10020
10021         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
10022         references/callers changed.
10023
10024         * mn10200.c (mn10200_va_arg): Force the return value into a
10025         register.
10026
10027         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
10028
10029         * cccp.c (macroexpand): Avoid out of range accesses for omitted
10030         arguments.
10031
10032 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
10033
10034         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
10035
10036 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
10037
10038         * fold-const.c (fold): Fix thinko when optimizing comparisons
10039         against -0.0.
10040
10041 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
10042
10043         * gcc.texi (Passes): Update front-end files to their current
10044         location.
10045
10046 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
10047
10048         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
10049         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
10050         (PREDICATE_CODES): Add addition_operation.
10051         * alpha-protos.h (addition_operation): Declare.
10052         (secondary_reload_class): Likewise.
10053         * alpha.c (addition_operation): New.
10054         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
10055         * alpha.md (adddi3): Turn into expander.
10056         (*lda, *adddi_2): New.
10057         (movsf, movdf patterns): Don't preference integer regs.
10058         (movsi, movdi patterns): Don't preference fp regs.
10059
10060 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
10061
10062         * genrecog.c (write_switch): Check for duplicate CODE cases.
10063
10064 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
10065
10066         * ggc-common.c: Update pre-function commentary.
10067         * ggc-page.c: Likewise.
10068         (poison): Remove.
10069         (poison_pages): Use memset directly.
10070         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
10071         (ggc_collect): Poison before sweeping.
10072         * ggc-simple.c: Update pre-function commentary.
10073         (ggc_alloc_obj): Poison non-zeroed memory.
10074
10075 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
10076
10077         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
10078         match format string, even on 64-bit hosts.
10079         * gcc-page.c (ggc_page_print_statistics): Likewise.
10080
10081 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
10082
10083         * config/i386/i386.c (ix86_cpu): Revert last patch.
10084         * config/i386/i386.h (ix86_cpu): Ditto.
10085
10086 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
10087
10088         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
10089         TYPE_SIZE, convert type of result to sizetype.
10090
10091 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
10092
10093         * flow.c (count_or_remove_death_notes): Equate NULL with the
10094         universal set.
10095
10096         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
10097         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
10098         dbr_schedule.
10099
10100         * i386.c (pic_label_no): Delete.
10101         (ix86_attr_length_default): Don't use single_set to peek
10102         inside a parallel.
10103
10104         * recog.c (peephole2_optimize): Allow recog_next_insn to index
10105         the first insn after bb->end.
10106         * i386.md (push mem peeps): Scratch is live after evaluation
10107         of the memory.
10108         (cmp mem peep): Similarly.
10109
10110 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
10111
10112         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
10113         * function.c (pad_to_arg_alignment): Add missing braces.
10114
10115 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10116
10117         * alpha/alpha-protos.h (literal_section): Add prototype.
10118         (alpha_need_linkage, alpha_start_function,alpha_end_function):
10119         Constify a char*.
10120
10121         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
10122         prototype.
10123         (alpha_start_function, alpha_end_function, float_strings,
10124         alpha_need_linkage): Constify a char*
10125
10126         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
10127
10128         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
10129
10130         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
10131
10132         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
10133
10134 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10135
10136         * flow.c (debug_flow_info): Add prototype.
10137
10138         * gcc.c (main): Likewise.
10139
10140         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
10141         Likewise.
10142
10143         * reload1.c (failed_reload, set_reload_reg): Likewise.
10144
10145         * mips-tfile.c (main): Likewise.
10146         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
10147         with ATTRIBUTE_NORETURN.
10148
10149 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
10150
10151         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
10152         DECL is not a memory ref.
10153
10154 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
10155
10156         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
10157         * config/i386/i386.c (ix86_cpu): Add extern attribute.
10158
10159 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
10160
10161         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
10162         * config/mips/elf64.h: ditto.
10163
10164 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
10165
10166         * expr.c (emit_push_insn): New argument alignment_pad.
10167         Update all callers.  Adjust stack pointer based on alignment pad.
10168         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
10169         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
10170         (locate_and_pad_parm): New argument alignment_pad.  Update all
10171         callers.
10172         * expr.h (emit_push_insn): Update prototype.
10173         (locate_and_pad_parm): Update prototype.
10174         * calls.c (arg_data):  Add new field alignment_pad.
10175         (initialize_argument_information): Initialize alignment_pad.
10176
10177 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
10178
10179         * except.c (free_eh_nesting_info): Free the info itself.
10180         * function.c (free_after_compilation): Don't free NULL.
10181         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
10182         (pre_edge_insert): Free inserted.
10183         * stmt.c (free_stmt_status): Don't free NULL.
10184
10185 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
10186
10187         * gcov.c (DIR_SEPARATOR): Provide default.
10188         (output_data): Add test for MS-DOS format absolute filename.
10189         (fancy_abort): Correct program name.
10190         (open_files): Open all files in binary mode.
10191         * libgcc2.c (__bb_exit_func): Likewise.
10192
10193         * profile.c (init_branch_prob): Specify binary when opening files.
10194
10195         * flags.h (flag_unwind_tables): New decl.
10196         * toplev.c (flag_unwind_table): New definition.
10197         (f_options): Add -funwind-tables.
10198         (decode_g_option): Clarify warning when unknown -g option is given.
10199         (rest_of_compilation): If inside an inlined external function,
10200         pretend we are just being declared.
10201
10202         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
10203         (dwarf2out_frame_finish): Likewise.
10204
10205 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
10206
10207         * fold-const.c (merge_ranges): If not in0, but in1, handle
10208         upper bounds equal like subset case.
10209
10210 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
10211
10212         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
10213         passed in a register but moved to the stack.
10214
10215 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
10216
10217         * gcc.c (pass_exit_codes, greatest_status): New variables.
10218         (struct option_map): Add entry for "--pass-exit-codes".
10219         (execute): Update greatest_status if error.
10220         (display_help): Add documentation for -pass-exit-codes.
10221         (process_command): Handle -pass-exit-codes.
10222         (main): Look at pass_exit_codes and greatest_status on call to exit.
10223
10224 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10225
10226         * reload.c (find_reloads): Refine test for no input reload
10227         case to not includes reloads emitted after insn.
10228
10229         * function.c (find_temp_slots_from_address): Handle sum involving
10230         a register that points to a temp slot.
10231         (update_temp_slot_address): Make recursive call if both old and
10232         new are PLUS with a common operand.
10233         * calls.c (expand_call): Mark temp slot for result as having
10234         address taken.
10235
10236         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
10237
10238         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
10239         component as well as "BINUTILS".
10240
10241         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
10242         * integrate.c (copy_rtx_and_substitute): Likewise.
10243         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
10244         All callers changed.
10245         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
10246
10247         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
10248         gdb extensions, write size of type; also be more consistent
10249         in using references when this is a subtype.
10250
10251         * pa.md (extv, extzv, insv): Use define_expand to reject constant
10252         that is out of range.
10253
10254         * loop.c (unknown_constant_address_altered): New variable.
10255         (prescan_loop): Initialize it.
10256         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
10257         (invariant_p, case MEM): Remove handling for volatile and readonly;
10258         check new variable if readonly.
10259         (check_dbra_loop): Chdeck unknown_constant_address_altered.
10260
10261         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
10262         (addr_affects_sp_p): Removed from note_mem_written and only
10263         define #ifdef AUTO_INC_DEC.
10264
10265         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
10266
10267         * regclass.c (record_reg_classes): Properly handle register move
10268         directions.
10269
10270         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
10271         Don't think valid if both operands are invalid.
10272         (struct constant_descriptor): New field RTL.
10273         (mark_const_hash_entry): Mark it.
10274         (record_constant{,_rtx}): Initialize it.
10275         (output_constant_def): Allocate RTL in permanent obstack and
10276         save in table.
10277         ({record,compare}_constant_1): Modes must match for
10278         CONSTRUCTOR of ARRAY_TYPE.
10279
10280         * c-common.h (initializer_constant_valid_p): Delete decl from here.
10281         * output.h (initializer_constant_valid_p): Move decl to here.
10282         * c-common.c (initializer_constant_valid_p): Delete function from here.
10283         * varasm.c (initializer_constant_valid_p): Move function to here.
10284
10285         * tree.h (STRIP_SIGN_NOPS): New macro.
10286         * fold-const.c (optimize_minmax_comparison): New function.
10287         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
10288         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
10289         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
10290         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
10291         widening conversions.
10292         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
10293         to look at size of mode, not precision of type; also add missing cases.
10294         (optimize_bit_field_compare, decode_field_reference): Don't try to
10295         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
10296
10297         * dwarf2out.c (ctype.h): Include.
10298         (dwarf2out_set_demangle_name_func): New function.
10299         (size_of_line_info): Deleted.
10300         (output_line_info): Compute size of line info table from difference
10301         of labels.
10302         (base_type_die, add_name_attribute): Call demangle function, if any.
10303         (field_byte_offset): Use bits per word for variable length fields.
10304         (gen_array_type_die): Add array name.
10305         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
10306         (dwarf2out_add_library_unit_info): New function.
10307
10308         * explow.c (set_stack_check_libfunc): New function.
10309         (stack_check_libfunc): New static variable.
10310         (probe_stack_range): Allow front-end to set up a libfunc to call.
10311
10312         * combine.c (simplify_comparison): When making comparison in wider
10313         mode, check for having commuted an AND and a SUBREG.
10314         (contains_muldiv): New function.
10315         (try_combine): Call it when dividing a PARALLEL.
10316         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
10317         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
10318         a PLUS.
10319         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
10320         use one of the CLOBBERs instead.
10321         (if_then_else_cond): If comparing against zero, just return thing
10322         being compared.
10323
10324         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
10325         Don't generate shifts and subtract if have conditional arithmetic.
10326
10327         * rtl.h (delete_barrier): New declaration.
10328         * jump.c (jump_optimize): Set up to handle conditional call.
10329         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
10330         (delete_barrier): New function.
10331
10332         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
10333
10334         * recog.c (nonmemory_operand): Accept ADDRESSOF.
10335
10336         * tree.c (build_type_attribute_variant): Push to obstack of
10337         ttype around type_hash_canon call.
10338
10339         * expr.c (placeholder_list): Move decl to file scope.
10340         (expand_expr): Don't force access to volatile just because its
10341         address is taken.
10342         If ignoring reference operations, just expand the operands.
10343         (expand_expr, case COMPONENT_REF): Propagate
10344         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
10345         Refine test for using bitfield operations vs pointer punning.
10346         (expand_expr, case CONVERT_EXPR): If converting to
10347         BLKmode UNION_TYPE from BLKmode, just return inner object.
10348         Use proper mode in store_field call.
10349         Properly set sizes of object to store and total size in store_field
10350         call for convert to union.
10351         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
10352         memory (like for ADDR_EXPR).  Also, don't put constant in register if
10353         we'll want it in memory.
10354         (readonly_fields_p): New function.
10355         (expand_expr, case INDIRECT_REF): Call it if LHS.
10356         (expand_assignment): Handle a RESULT_DECL where
10357         DECL_RTL is a PARALLEL.
10358         (do_jump, case WITH_RECORD_EXPR): New case.
10359         (get_inner_reference): Always go inside a CONVERT_EXPR
10360         and NOP_EXPR if both modes are the same.
10361         (store_field): Use bitfield operations if size of bitsize is not same
10362         as size of RHS's type.
10363         Check for bitpos not a multiple of alignment in BLKmode case.
10364         Do block move in largest possible alignment.
10365         (store_constructor): Set BITSIZE to -1 for variable size and properly
10366         in case of array of BLKmode.
10367         (expand_expr_unaligned): New function.
10368         (do_compare_and_jump): Call it.
10369
10370         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
10371         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
10372         does not include 'o'.
10373
10374         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
10375         both SET_DEST and SET_SRC reference a virtual register.
10376         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
10377
10378         * integrate.c (expand_inline_function): Handle case of setting
10379         virtual stack vars register (from built in setjmp); when parameter
10380         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
10381         (subst_constant): Add new parm, MEMONLY.
10382         (expand_inline_function, integrate_parm_decls): Pass new parm.
10383         (integrate_decl_tree): Likewise.
10384         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
10385         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
10386         (copy_rtx_and_substitute, case SET): Add explicit calls to
10387         copy_rtx_and_substitute for both sides.
10388
10389         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
10390         constraints.
10391         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
10392         within INDEX_TYPE, instead of before.
10393         (fixup_gotos): Use f->target_rtl, not the next insn,
10394         since latter may be from a later fixup.
10395         (expand_value_return): Correctly convert VAL when promoting function
10396         return; support RETURN_REG being a PARALLEL.
10397         (expand_return): When checking for result in regs and having
10398         cleanup, consider PARALLEL in DECL_RTL as being in regs.
10399
10400 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
10401
10402         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
10403         last_nominal_fname): Mark const.
10404         (struct include_hash: name, nshort, control_macro): Mark
10405         const.
10406         (struct macrodef: symnam): Mark const.
10407         (struct if_stack: fname): Mark const.
10408         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
10409         (IStable): New character-syntax array which encompasses all
10410         the old is_foo arrays.
10411         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
10412         is_space): New macros for interrogating IStable.
10413         (check_macro_name): Kill last argument.  All callers changed.
10414
10415         * cppinit.c (initialize_char_syntax): Delete.
10416         (is_idchar, is_idstart, is_hor_space, is_space,
10417         trigraph_table): Delete.
10418         (IStable): New.  Initialize with clever macros to avoid
10419         information duplication.
10420         (builtin_array): Table of builtins to get rid of explicit list
10421         in initialize_builtins.
10422         (initialize_builtins): Use builtins_array.
10423         (cpp_start_read): Call init_IStable, and set IStable['$'] if
10424         opts->dollars_in_ident.
10425
10426         * cppexp.c: Change all refs to is_xyz[] arrays to use new
10427         is_xyz() macros.
10428         (cpp_parse_expr): Avoid 'format string is not constant'
10429         warning. Use ISGRAPH to identify printable chars.
10430         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
10431         is_xyz() macros.
10432         (read_and_prescan): Map trigraphs to chars with open-coded
10433         if-else-if-... sequence, not a lookup table.
10434         * cpphash.c: Change all refs to is_xyz[] arrays to use new
10435         is_xyz() macros.
10436         * cpplib.c: Change all refs to is_xyz[] arrays to use new
10437         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
10438         (check_macro_name): Remove ability to report an invalid
10439         assertion name, which is never used.
10440         (do_line): Constify a couple of char *'s.
10441         * cppmain.c (main): Call cpp_cleanup before returning.
10442
10443 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
10444
10445         * ggc.h (struct ggc_statistics): New type.
10446         (ggc_get_size): New function.
10447         (ggc_print_statistics): Likewise.
10448         * ggc-common.c (ggc_stats): New variable.
10449         (ggc_mark_rtx_children): Keep statistics.
10450         (ggc_mark_tree_children): Likewise.
10451         (ggc_print_statistics): New function.
10452         * ggc-page.c (struct globals): Add bytes_mapped field.
10453         (alloc_anon): Update it.
10454         (release_pages): Likewise.
10455         (ggc_get_size): New function.
10456         (ggc_page_print_statistics): New function.
10457         * ggc-simple.c (ggc_get_size): New function.
10458
10459 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
10460
10461         * flow.c (propagate_block): When the last reference to a label
10462         before an ADDR_VEC is deleted because the reference is a dead
10463         store, delete the ADDR_VEC.
10464
10465 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
10466
10467         * resource.c (find_free_register): Don't use the frame pointer
10468         if frame_pointer_needed.
10469
10470 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
10471
10472         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
10473         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
10474
10475         * config/i960/i960.c (i960_va_start): New locals base, num.
10476         Use INDIRECT_REF instead of ARRAY_REF on valist.
10477         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
10478
10479 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
10480
10481         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
10482
10483 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
10484
10485         * tree.def (PLACEHOLDER_EXPR): Update comments.
10486
10487 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10488
10489         * c-common.c (check_format_info): Avoid non-literal format string
10490         warnings when `first_arg_num' is zero.
10491
10492 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10493
10494         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
10495
10496 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
10497
10498         * arm.md (casesi_insn): Add a clobber of the condition code
10499         register.
10500
10501 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
10502
10503         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
10504         used by both cc1 and cc1plus.
10505
10506 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
10507
10508         * config/arm/arm.c: Initialise arm_structure_size_boundary to
10509         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
10510         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
10511         to the value 32 if it has not already been defined.
10512         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
10513         Override definition in arm.h with a value of 8.
10514
10515 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
10516
10517         * c-pragma.c (push_alignment): Don't check the return value
10518         of xmalloc.
10519
10520 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
10521
10522         * sparc.h (ADJUST_COST): Fix thinko.
10523
10524 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
10525
10526         * cccp.c (rescan): Fixed obp pointer handling around call to
10527         check_expand subroutine.
10528
10529 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
10530
10531         * gcse.c (delete_null_pointer_checks): Only record non-null info
10532         for pseudos when examining stores.
10533
10534         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
10535         splitters for these patterns.  Use "#" for output templates.
10536         (addsi3_carryin_shift): New pattern.
10537
10538 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
10539
10540         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
10541         of the function return register into a plain REG until
10542         after function inlining is done.
10543
10544 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
10545
10546         * jump.c (jump_optimize_1): If we did cross-jumping, and
10547         the data will matter, rebuild the CFG.
10548         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
10549         not optimizing.  Don't run shorten_branches.
10550         * toplev.c (rest_of_compilation): Run shorten_branches after
10551         reg_to_stack.
10552
10553 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
10554
10555         * rtl.h (note_stores): Add additional paramter.
10556         * rtlanal.c (reg_set_p_1): Take additional paramter.
10557         (reg_set_last_1): Likewise.
10558         (reg_set_p): Adjust call to note_stores.
10559         (reg_set_last): Likewise.
10560         (note_stores): Pass data parameter to worker function.
10561         * alias.c (record_set): Take additional parameter.
10562         (init_alias_analysis): Pass it.
10563         * caller-save.c (mark_set_regs): Take additional parameter.
10564         (save_call_clobbered_regs): Pass NULL to note_stores.
10565         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
10566         parameter.
10567         (record_dead_and_set_regs_1): Likewise.
10568         (reg_dead_at_p_1): Likewise.
10569         (combine_instructions): Adjust calls to note_stores.
10570         (try_combine): Likewise.
10571         (record_dead_insn): Remove.
10572         (record_dead_and_set_regs): Adjust calls to note_stores.
10573         (reg_dead_at_p): Likewise.
10574         * cse.c (invalidate_skipped_set): Take additional parameter.
10575         (cse_check_loop_start): Likewise.
10576         (cse_check_loop_start_value): Remove.
10577         (cse_set_around_loop): Adjust calls to note_stores.
10578         * flow.c (notice_stack_pointer_modification): Take additional
10579         parameter.  Remove duplicate declaration.
10580         (record_volatile_insns): Adjust calls to note_stores.
10581         * gcse.c (record_set_info): Take additional parameter.
10582         (record_last_set_info): Likewise.
10583         (invalidate_nonnull_info): Likewise.
10584         (record_set_insn): Remove.
10585         (compute_sets): Adjust calls to note_stores.
10586         (last_set_insn): Remove.
10587         (compute_hash_table): Adjust calls to note_stores.
10588         (insert_insn_end_bb): Likewise.
10589         (delete_null_pointer_checks): Likewise.
10590         * global.c (mark_reg_store): Take additional parameter.
10591         (mark_reg_clobber): Likewise.
10592         (reg_becomes_live): Likewise.
10593         (global_conflicts): Adjust calls to note_stores.
10594         (build_insn_chain): Likewise.
10595         * integrate.c (note_modified_parmregs): Take additional parameter.
10596         (mark_stores): Likewise.  Make it static.
10597         (save_for_inline_nocopy): Adjust calls to note_stores.
10598         (try_constants): Likewise.
10599         * integrate.h (mark_stores): Remove declaration.
10600         * jump.c (mark_modified_reg): Take additional parameter.
10601         (thread_jumps): Adjust calls to note_stores.
10602         * local-alloc.c (validate_equiv_mem_from_store): Take additional
10603         parameter.
10604         (no_equiv): Likewise.
10605         (reg_is_set): Likewise.
10606         (validate_equiv_mem): Adjust calls to note_stores.
10607         (update_equiv_regs): Likewise.
10608         (block_alloc): Likewise.
10609         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
10610         (note_addr_stored): Take additional parameter.
10611         (note_set_pseudo_multiple_uses): Likewise.
10612         (record_initial): Likewise.
10613         (prescan_loop): Adjust calls to note_stores.
10614         (strength_reduce): Likewise.
10615         (check_dbra_loop): Likewise.
10616         * regmove.c (flags_set_1): Take additional paramter.
10617         (mark_flags_life_zones): Adjust calls to note_stores.
10618         * reload1.c (mark_not_eliminable): Take additional parameter.
10619         (forget_old_reloads_1): Likewise.
10620         (reload_cse_invalidate_rtx): Likewise.
10621         (reload_cse_check_clobber): Likewise.
10622         (reload_combine_note_store): Likewise.
10623         (move2add_note_store): Likewise.
10624         (reload): Adjust calls to note_stores.
10625         (reload_as_needed): Likewise.
10626         (emit_reload_insns): Likewise.
10627         (reload_cse_regs_1): Likewise.
10628         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
10629         (reload_combine): Adjust calls to note_stores.
10630         * resource.c (update_live_status): Take additional paramter.
10631         (mark_target_live_regs): Adjust calls to note_stores.
10632         * stupid.c (find_clobbered_regs): Take additional parameter.
10633         (stupid_life_analysis): Adjust calls to note_stores.
10634
10635 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
10636
10637         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
10638         definition.
10639
10640         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
10641         definition.
10642
10643         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
10644         of the variable arm_structure_size_boundary.
10645
10646 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
10647
10648         * alias.c (init_alias_analysis): Allocate reg_known_value and
10649         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
10650         and reg_seen.
10651         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
10652         * cse.c (cse_main): Call end_alias_analysis.
10653         * haifa-sched.c (schedule_insns): Likewise.
10654         * local-alloc. (update_equiv_regs): Likewise.
10655         * reload1.c (reload_cse_regs): Likewise.
10656
10657 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10658
10659         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
10660         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
10661         mapping from MASK_FPU.
10662
10663 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
10664
10665         * sparc.md (call): Don't bound structure return size to 0xfff.
10666
10667 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
10668
10669         * resource.c (mark_target_live_regs): Check that the target
10670         insn wasn't created after compute_bb_for_insn.
10671
10672 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
10673
10674         * ggc-page.c (poison_pages): Don't be overzealous.
10675
10676 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
10677
10678         * alias.c: Update comments for ADDRESS.
10679         (nonlocal_reference_p): Look inside the ADDRESS to determine if
10680         it is a local memory reference.
10681
10682         * c-typeck.c (build_function_call): Check that the built-in
10683         function is of class BUILT_IN_NORMAL before trying to recongize
10684         it as BUILT_IN_ABS.
10685         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
10686         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
10687
10688 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
10689
10690         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
10691         of alloca.
10692         (pre_gcse): Likewise.
10693         (hoist_expr_reaches_here_p): Likewise.
10694         (hoist_code): Likewise.
10695         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
10696         code to ...
10697         (pre_expr_reaches_here_p_work): ... here.
10698         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
10699         code to ...
10700         (expr_reaches_here_p_work): ... here.
10701
10702 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
10703
10704         * resource.c (find_basic_block): Delete.
10705         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
10706         (init_resource_info): Call compute_bb_for_insn.
10707
10708 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
10709
10710         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
10711         with already adjacent blocks, but no fallthru.
10712         (merge_blocks_move_successor_nojumps): Simplify.
10713         (debug_flow_info): New.
10714
10715         * toplev.c (rest_of_compilation): Open jump1 dump file before
10716         jump and close after, as opposed to just using dump_rtl.
10717
10718 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10719
10720         * reload.h (earlyclobber_operand_p): Declare.
10721         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
10722         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
10723         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
10724         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
10725
10726 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
10727                           Richard Henderson  <rth@cygnus.com>
10728
10729         * emit-rtl.c (emit_block_insn_before): New.
10730         (emit_block_insn_after): New.
10731         * basic-block.h: Declare them.
10732
10733         * bitmap.h: Protect from multiple inclusion.
10734
10735         * recog.c (scratch_operand): Handle VOIDmode correctly.
10736
10737         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
10738
10739         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
10740         * function.c (assign_parms): Likewise.
10741         * global.c (global_conflicts): Clarify STACK_REGS commentary.
10742
10743         * reg-stack.c (max_uid): Remove.
10744         (blocks, block_begin, block_end, block_drops_in): Remove.
10745         (block_stack_in, block_out_reg_set, block_number): Remove.
10746         (struct block_info_def, BLOCK_INFO): New.
10747         (enum emit_where): New.
10748         (current_block): New.
10749         (BLOCK_NUM): Remove.
10750         (mark_regs_pat, record_label_references): Remove.
10751         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
10752         (nan): New.
10753         (goto_block_pat, print_blocks, dump_stack_info): Remove.
10754         (reg_to_stack): Simplified test for existance of fp code.  Use
10755         flow.c code.  Call shorten_branches after cross-jump opt.
10756         (check_asm_stack_operands): Renamed from record_asm_reg_life.
10757         Return false if the asm doesn't use stack regs.  Don't do life
10758         analysis on the asm.
10759         (emit_pop_insn): Replace function pointer arg `when' with
10760         enum `where'.  Update all callers.
10761         (change_stack): Likewise.  Update basic block end.
10762         (emit_swap_insn): Use current_block->head to limit reverse search
10763         for start of block.  Use emit_block_insn_after.
10764         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
10765         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
10766         structure assignment instead of bcopy.
10767         (print_stack): New.
10768         (convert_regs_entry, convert_regs_exit): New.
10769         (convert_regs_1, convert_regs_2): Split out from convert_regs.
10770         Work on basic blocks and the CFG.
10771         (convert_regs): Use them.
10772
10773         * i386.c (output_fix_trunc): Remove code for DImode input operand
10774         not at top-of-stack.
10775         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
10776         appropriate mode.
10777         (fix_truncdi_1): Allow any mode scratch.
10778
10779 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
10780
10781         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
10782         * linux.h, netbsd.h, vms.h: Not here.
10783
10784 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
10785
10786         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
10787         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
10788         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
10789         CONDITIONAL_REGISTER_USEAGE): Use them.
10790         * config/mips/mips.c (mips_move_1word,mips_move_2words,
10791         gen_conditional_branch,override_options) : Use them.
10792         * config/mips/mips.md : Use them.
10793
10794 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
10795
10796         * i386.md (zero_extendqihi2): Use SImode register name with andl.
10797
10798 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
10799
10800         * integrate.c (function_cannot_inline_p): Don't allow inlining
10801         if setjmp is used.
10802
10803 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10804
10805         * c-parse.in (cast_expr): Constify.
10806
10807         * cccp.c (special_symbol): Likewise.
10808
10809         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
10810
10811         * dwarf2out.c (base_type_die): Likewise.
10812
10813         * global.c (allocno_compare): Likewise.
10814
10815         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
10816
10817         * regclass.c (fix_register): Likewise.
10818
10819         * rtl.h (fix_register): Likewise.
10820
10821         * stupid.c (stupid_reg_compare): Likewise.
10822
10823         * toplev.c (decode_f_option): Likewise.
10824
10825         * tree.c (build_complex_type): Likewise.
10826
10827 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
10828
10829         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
10830
10831 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10832
10833         * reload.c (find_reloads): Compute mode and nregs fields of all
10834         reloads.
10835         * reload1.c (calculate_needs_all_insns): Simplify a bit.
10836         (calculate_needs): Use precomputed mode/nregs values.
10837         (allocate_reload_reg): Likewise.
10838         Break out two...
10839         (failed_reload, set_reload_reg): ... new functions.
10840         (choose_reload_regs_init): New function, mostly broken out from...
10841         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
10842         Also lose one #if 0 block.
10843
10844 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
10845
10846         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
10847         substitution.
10848
10849 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
10850
10851         * tree.h (BLOCK_TYPE_TAGS): Remove.
10852         (BLOCK_END_NOTE): Likewise.
10853         (BLOCK_LIVE_RANGE_FLAG): Likewise.
10854         (BLOCK_LIVE_RANGE_START): Likewise.
10855         (BLOCK_LIVE_RANGE_END): Likewise.
10856         (tree_block): Remove live_range_flag, live_range_var_flag, and
10857         type_tags.  Remove end_note, live_range_start, and live_range_end.
10858         (remember_end_note): Remove prototype.
10859         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
10860         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
10861         remember_end_note.
10862         * ggc-common.c (ggc_mark_tree_children): Don't mark
10863         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
10864         * integrate.c (adjust_copied_decl_tree): Remove.
10865         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
10866         * stmt.c (last_block_end_note): Remove.
10867         (init_stmt): Don't add a GC root for it.
10868         (expand_fixup): Don't set it.
10869         (remember_end_note): Remove.
10870         (expand_end_bindings): Don't set last_block_end_note.
10871
10872 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10873
10874         * reload1.c (reload_reg_free_for_value_p): Show
10875         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
10876         reloads.
10877
10878 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
10879
10880         * expmed.c (extract_bit_field): Allow for the case of non-integer
10881         objects that are smaller than a word (like SFmode on a 64-bit
10882         machine).
10883
10884         * loop.c (basic_induction_var): A non-integer variable which is
10885         being set by a paradoxical subreg is probably not a biv.
10886
10887 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10888
10889         * prefix.c (translate_name) Check for empty prefix string.
10890
10891 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
10892
10893         * Makefile.in (CPP_CROSS_NAME): New variable.
10894         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
10895         xcpp.
10896         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
10897         names of the files to be uninstalled.
10898
10899 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
10900
10901         * collect2.c (IS_DIR_SEPARATOR): Define.
10902         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
10903
10904         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
10905         functions too.
10906
10907         * haifa-sched.c (add_dependence): Update the true dependency
10908         cache the first time we add a true dependence to the LOG_LINKS chain.
10909
10910 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
10911
10912         * fold-const.c (fold): Fix comment.
10913
10914 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10915
10916         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
10917         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
10918         dbxout_start_new_source_file, dbxout_source_file,
10919         dbxout_source_line, dbxout_finish, dbxout_type_fields,
10920         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
10921         Constify a char*.
10922         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
10923         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
10924         (dbxout_block): Initialize variable `blocknum'.
10925
10926         * dbxout.h (dbxout_init, dbxout_finish,
10927         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
10928         dbxout_args, dbxout_source_line): Constify a char*.
10929
10930         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
10931         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
10932         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
10933         low_pc_attribute, high_pc_attribute, body_begin_attribute,
10934         body_end_attribute, comp_dir_attribute, sf_names_attribute,
10935         src_info_attribute, mac_info_attribute, producer_attribute,
10936         lookup_filename, generate_macinfo_entry, fundamental_type_code,
10937         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
10938         dwarfout_undef): Constify a char*.
10939         (add_incomplete_type, retry_incomplete_types): Add prototypes.
10940
10941         * dwarfout.h (dwarfout_define, dwarfout_undef,
10942         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
10943
10944 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
10945
10946         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
10947         (MULTILIB_ISA_DEFAULT): New.
10948         (MULTILIB_DEFAULTS): Use it.
10949         * config/mips/mips.c (): Remove the now unnecessary definition
10950         of MIPS_ISA_DEFAULT.
10951         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
10952         unnecessary definition.
10953
10954 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
10955
10956         * arm.md (pic_load_addr): Add constraints to operand 1.
10957
10958 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
10959
10960         * fixinc/genfixes:  Provide a means for specifying -D options to
10961         AutoGen
10962
10963 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
10964
10965         * arm.c (arm_override_options): Correct initialization of
10966         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
10967         arm_is_strong, and arm_is_6_or_7.
10968
10969         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
10970         (note_set_pseudo_multiple_uses): New function.
10971         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
10972         if a pseudo set in the loop exit is used elsewhere.
10973
10974 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
10975
10976         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
10977
10978 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
10979
10980         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
10981         a single load-address pattern.
10982
10983 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
10984
10985         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
10986         depending on whether or not line-number notes are present.
10987
10988 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10989
10990         * cccp.c (progname, file_buf, default_include, include_file,
10991         macrodef, definition, hashval, wchar_type, user_label_prefix,
10992         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
10993         expand_to_temp_buffer, is_system_include, base_name,
10994         absolute_filename, read_name_map, open_include_file,
10995         record_control_macro, check_precompiled, check_preconditions,
10996         pcfinclude, pass_thru_directive, create_definition,
10997         check_macro_name, comp_def_part, collect_expansion,
10998         check_assertion, read_token_list, assertion_install,
10999         assertion_lookup, eval_if_expression, conditional_skip,
11000         validate_else, skip_quoted_string, quote_string, macarg1,
11001         error_from_errno, install, lookup, hashf, dump_defn_1,
11002         perror_with_name, pfatal_with_name, main, trigraph_pcp,
11003         check_white_space, rescan, handle_directive, monthnames,
11004         special_symbol, do_include, remap_include_file, write_output,
11005         arglist, do_assert, do_unassert, do_line, do_error, do_once,
11006         do_ident, do_sccs, do_xifdef, skip_if_group,
11007         output_line_directive, macroexpand, macarg, change_newlines,
11008         initialize_builtins, make_definition): Constify a char*.
11009
11010         * pcp.h (stringdef): Likewise.
11011
11012 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
11013
11014         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
11015         not of pattern.
11016
11017 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
11018                           Richard Henderson  <rth@cygnus.com>
11019
11020         * alias.c: Include ggc.h.
11021         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
11022         (record_set): Verify enough room in reg_base_value.
11023         (init_alias_analysis): Allocate reg_base_value with xcalloc.
11024         Register it as a GC root.
11025         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
11026         * Makefile.in (alias.o): Depend on ggc.h.
11027
11028         * unroll.c (unroll_loop): Verify the insn before a barrier
11029         is a JUMP_INSN before checking JUMP_LABEL.
11030
11031 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11032
11033         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
11034         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
11035         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
11036         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
11037         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
11038         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
11039
11040 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11041
11042         * output.h (ctors_section, dtors_section, bss_section): Prototype.
11043
11044         * alpha/alpha-interix.h (text_section): Delete prototype.
11045         * alpha/elf.h (text_section): Likewise.
11046         * arm/linux-elf.h (text_section): Likewise.
11047         * arm/linux-telf.h (text_section): Likewise.
11048         * c4x/c4x.h (text_section): Likewise.
11049         * dsp16xx/dsp16xx.h (bss_section): Likewise.
11050         * elfos.h (text_section): Likewise.
11051         * i386/aix386ng.h (text_section): Likewise.
11052         * i386/i386-interix.h (text_section): Likewise.
11053         * i386/sco5.h (text_section): Likewise.
11054         * i386/svr3gas.h (text_section): Likewise.
11055         * nextstep.h (text_section): Likewise.
11056         * psos.h (text_section): Likewise.
11057         * ptx4.h (text_section): Likewise.
11058         * svr3.h (text_section): Likewise.
11059         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
11060
11061 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11062
11063         * final.c (peephole): Delete prototype.
11064
11065         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
11066         (pre_insert_copies): Remove unused variable `bb'.
11067
11068         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
11069         prototypes.
11070
11071         * output.h (peephole): Add prototype.
11072
11073 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
11074
11075         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
11076         -O0.
11077
11078 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
11079
11080         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
11081         for inlined declarations.
11082
11083 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
11084
11085         * arm.c (logical_binary_operator): New fucntion.
11086         * arm.h (logical_binary_operator): Declare it.
11087         (PREDICATE_CODES): Handle logical_binary_operator.
11088         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
11089         output constraints.  Add appropriate splitters.
11090         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
11091         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
11092         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
11093
11094 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11095
11096         * genoutput.c (struct operand_data): New elt eliminable.
11097         (output_operand_data): Write it.
11098         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
11099         (compare_operands): Take it into account.
11100         * recog.h (struct insn_operand_data): New elt eliminable.
11101         * reload1.c (check_eliminable_occurrences, elimination_effects): New
11102         functions.
11103         (old_asm_operands_vec, new_asm_operands_vec): Delete.
11104         (eliminate_regs): Move code that detects changes to elimination
11105         target regs into new function elimination_effects.
11106         Delete one #if 0 block.
11107         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
11108         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
11109         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
11110         Only call eliminate_regs for real operands of the insn, not for parts
11111         of its structure or parts matched by things like match_operator.
11112         Use elimination_effects and check_eliminable_occurrences.  Use
11113         copy_insn to duplicate the pattern when not in the final pass.
11114
11115 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
11116
11117         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
11118         and fld.
11119
11120 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
11121
11122         * fixinc/README: document the "mach" machine matching test
11123         * fixinc/fixfixes.c: Implement the #else/#endif label fix
11124         * fixinc/fixtests.c: Implement the #else/#endif label test
11125         * fixinc/inclhack.def: utilize these tests and fixes
11126         * fixinc/inclhack.sh:  regen
11127         * fixinc/fixincl.x:  regen
11128         * fixinc/fixincl.sh:  regen
11129
11130 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
11131
11132         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
11133         depend on ggc.h.
11134
11135 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
11136
11137         * gcc.1: Document exit codes.
11138
11139 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11140
11141         * calls.c: Include tm_p.h later, so everything we need is defined.
11142         * expr.c: Likewise.
11143         * function.c: Likewise.
11144
11145         * except.c: Include tm_p.h.
11146
11147         * sparc.c: Likewise.
11148         (dwarf2out_cfi_label): Don't prototype.
11149         (check_return_regs, epilogue_renumber,
11150         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
11151         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
11152         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
11153         ultra_schedule_insn): Add static prototype.
11154         (data_segment_operand, text_segment_operand): Call itself with the
11155         proper number of arguments.
11156         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
11157
11158         * sparc.h: Move all declarations to sparc-protos.h.
11159         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
11160         symbolic_operand.
11161
11162         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
11163
11164         * config/svr4.h (text_section, ctors_section, dtors_section): Add
11165         Prototypes.
11166         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
11167         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
11168         ASM_OUTPUT_ASCII): Constify a char*.
11169
11170         * sparc-protos.h: New file for sparc prototypes.
11171
11172 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11173
11174         * function.c (record_insns, contains): Always declare and define.
11175         (record_insns): Mark with ATTRIBUTE_UNUSED.
11176
11177 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
11178
11179         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
11180         to .section when outputting a .bss section to deal with multiple
11181         .bss input sections (as happens with -fdata-sections)
11182         Also output %progbits, not @progbits so the assembler doesn't treat as
11183         a comment.
11184         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
11185
11186         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
11187         thumb parts even when building with non-thumb CPUs, by forcing
11188         thumb mode.
11189
11190 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
11191
11192         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
11193         (movdf_const_intreg_sp64): Similarly.
11194
11195         * local-alloc.c (update_equiv_regs): Check the correct insn
11196         for pre-existing REG_EQUIV notes.
11197
11198 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
11199
11200         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
11201         block reached by a branch if we're not going to actually process
11202         this block.
11203
11204 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
11205
11206         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
11207         a local extern function declaration.
11208
11209 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
11210
11211         * i386.c (ix86_expand_prologue): Properly wrap USE around
11212         reg for CALL_INSN_FUNCTION_USAGE.
11213
11214 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
11215
11216         * config/mips/mips.md (movdf_internal1a): Allow floating-point
11217         move between GP_REGs.
11218
11219 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
11220
11221         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
11222         the mode size when finding out if an offset is legal.
11223
11224 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
11225
11226         * basic-block.h (PROP_*): Move constants from ...
11227         * flow.c: ... here.
11228         (compute_bb_for_insn): Free the array before reallocating.
11229         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
11230         (allocate_reg_life_data): Reset all reg variables collected by
11231         propagate_block.
11232         (get_block_head_tail): Don't convert from bb to block.
11233         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
11234         (find_insn_reg_weight): Take block not bb.
11235         (schedule_block): Don't set block num for moved insns.
11236         (schedule_region): Don't update_life_info or find_insn_reg_weight.
11237         (schedule_insns): Do it here instead.
11238         * combine.c (combine_instructions): Invoke compute_bb_for_insn
11239         before update_life_info.
11240         * recog.c (split_all_insns, peephole2_optimize): Update for
11241         new arg to update_life_info.
11242         * rtlanal.c (remove_note): Cope with NULL note.
11243         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
11244         if we did sched1.
11245
11246 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
11247
11248         * jump.c (jump_optimize_1): More accurately detect casesi insns.
11249
11250         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
11251         block records so that merge_blocks_nomove will clean up correctly.
11252         (split_edge): Handle casesi insns.
11253
11254         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
11255
11256 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
11257
11258         * pa.md (call, call_value): Do not emit a blockage after restoring
11259         the PIC register.
11260
11261 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
11262
11263         * c-typeck.c (c_expand_asm_operands): Fix typo.
11264
11265 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11266
11267         * arm.c (fpu_rhs_operand): Verify modes.
11268         (fpu_add_operand): Likewise.
11269         (di_operand): Likewise.
11270         (soft_df_operand): Likewise.
11271
11272 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
11273
11274         * arm.c (arm_return_in_memory): APCS rules state that the elements
11275         of a structure returned in a register must be 'integer-like'.
11276
11277 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
11278
11279         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
11280         in the source tree when the generated targets are out of date
11281         * fixinc/genfixes: Alter it to run individual fixes for make.
11282         * fixinc/README: rewrite
11283         * fixinc/inclhack.def: moved initial comments to README
11284
11285 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
11286
11287         * toplev.c (main): Do not generate an error message if an
11288         unrecognised command line switch is recognisable by another
11289         language.  If extra_warnings are enabled, then generate a
11290         warning message instead.
11291
11292 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11293
11294         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
11295         (insert_pack_attributes): Delete prototype.
11296
11297         * c-pragma.c (default_alignment): New static variable.
11298         (push_alignment): Initialize to current effective alignment.
11299         (pop_alignment): Use to set new alignment.
11300         (insert_pack_attributes): Delete function.
11301         (handle_pragma_token): Set default_alignment as well each time
11302         a #pragma pack(<n>) is encountered.
11303
11304 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
11305
11306         * reg-stack.c (stack_result): Aggregates are not returned in
11307         stack registers.
11308
11309 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
11310
11311         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
11312
11313 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
11314
11315         * basic-block.h (set_block_num): Declare.
11316         * flow.c (update_life_info): Don't call compute_bb_for_insn
11317         or free_basic_block_vars.
11318         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
11319         (insn_orig_block): Remove.
11320         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
11321         (schedule_block): Keep BLOCK_NUM up-to-date.
11322         (schedule_insns): Use compute_bb_for_insn.
11323         * recog.c (split_all_insns): Likewise.
11324         (peephole2_optimize): Likewise.
11325
11326 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
11327
11328         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
11329         if the pic register is used.
11330
11331 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11332
11333         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
11334         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
11335         if that tests TREE_PERMANENT.
11336
11337 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
11338
11339         * cse.c (invalidate_for_call): Do not remove memory references from
11340         the table here.  It's handled elsewhere.
11341
11342         * haifa-sched.c (add_dependence): Protect references to the
11343         true dependency cache with #ifdef INSN_SCHEDULING.
11344         (remove_dependence): Similarly.
11345
11346         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
11347         to the cfg code that this is a return instruction.
11348         * mn10300.md (return_internal): Similarly.
11349
11350         * combine.c (get_last_value): If the last set of a register
11351         is after subst_low_cuid, then we can not use it to determine
11352         the register's last value.
11353
11354 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
11355
11356         * Makefile.in: Back out previous change.
11357
11358 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
11359
11360         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
11361
11362         * haifa-sched.c (add_dependence): Only check/update the cache
11363         if it exists.
11364         (remove_dependence): Likewise.
11365         (schedule_insns): Only create the true_dependency_cache if the
11366         average number of instructions in a basic block is very large.
11367
11368 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
11369
11370         * Makefile.in (ggc-common.o): Depend on genrtl.h.
11371         (ggc-simple.o): Likewise.
11372         (ggc-page.o): Likewise.
11373
11374 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
11375
11376         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
11377         Prototype for exported functions.
11378         (pre_lcm, pre_rev_lcm): Remove prototypes.
11379         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
11380         (compute_available): Move to lcm.c, and change parameter order.
11381         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
11382         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
11383         (gcse_main): No longer call compute_preds_succs.  Rebuild the
11384         set table after reach pre pass.
11385         (pre_insert_map, pre_delete_map, edge_list): New.
11386         (alloc_pre_mem): Allocate edge vectors.
11387         (free_pre_mem): Delete edge vectors.
11388         (compute_pre_data): Call new edge based lcm routines.
11389         (process_insert_insn): New function.
11390         (insert_insn_end_bb): Use it.
11391         (pre_edge_insert): New function.
11392         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
11393         needed.
11394         (pre_insert_copies): Revamp using new edge based lcm outputs.
11395         (pre_delete): Likewise.
11396         (one_pre_gcse_pass): Insert & remove fake edges to the exit
11397         block.
11398         (compute_code_hoist_vbeinout): New new edge based routines.
11399         * lcm.c: Remove all the old LCM functions.  Replace with new ones
11400         that work with the new cfg datastructures and work with edges
11401         instead of blocks.
11402
11403 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11404
11405         * reload.h (struct reload): Add new fields "mode" and "nregs".
11406         * reload1.c: Change all occurrences of reload_mode and reload_nregs
11407         to reference the "mode" and "nregs" field within struct reload.
11408
11409 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
11410
11411         * haifa-sched.c (true_dependency_cache): New.
11412         (add_dependence): Use the true dependency cache to avoid expensive
11413         walks down the LOG_LINKS dependency list.  Add entries to the
11414         cache as necessary.
11415         (remove_dependence): Remove entries from the true dependency cache
11416         as needed.
11417         (schedule_insns): Allocate and initialize and free the true
11418         dependency cache.
11419
11420         * haifa-sched.c (schedule_insns): Do not remove inter-block
11421         dependencies anymore.
11422
11423 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
11424
11425         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
11426         * i386/t-winnt: Likewise.
11427
11428 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
11429
11430         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
11431
11432 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
11433
11434         * Makefile.in (LANGUAGES): Omit "proto".
11435         (clean): Remove stale comment about removing unprotoize.c.
11436
11437 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11438
11439         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
11440         using arithmetic on void pointers.
11441
11442 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
11443
11444         * haifa-sched.c (compute_block_forward_dependencies): Only check
11445         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
11446
11447 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
11448
11449         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
11450         (expr_equiv_p): Reject memories with different alias sets.
11451
11452 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
11453
11454         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
11455         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
11456         (f_options): Add "bounded-pointers" and "bounds-check" entries.
11457         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
11458         (lang_init): Set default for flag_bounds_check if still "unspecified".
11459
11460 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11461
11462         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
11463
11464 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11465
11466         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
11467         instructions.
11468
11469 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11470
11471         * config/c4x/c4x.md (*db_noclobber,
11472         *decrement_and_branch_until_zero_noclobber): New patterns and
11473         associated splitters.
11474
11475 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11476
11477         * config/c4x/c4x.md (parallel instruction patterns): Rework
11478         constraints to keep reload happy.
11479
11480 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11481
11482         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
11483         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
11484         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
11485         Add new patterns and associated post-reload splitters.
11486
11487 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11488
11489         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
11490
11491 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11492
11493         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
11494         if appropriate.
11495         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
11496
11497 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11498
11499         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
11500         memory mode.
11501
11502 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
11503
11504         * pa.c (move_operand): Rely on memory_address_p to determine the
11505         validity of non-indexed memory addresses.
11506         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
11507         operand in DFmode and SFmode when generating PA2.0 code.
11508
11509 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
11510
11511         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
11512
11513 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
11514
11515         * mips.c (function_prologue): Fix argument types.
11516         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
11517         (casesi_internal): Write to the scratch register.
11518
11519 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
11520
11521         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
11522         to U_CHAR **.
11523         (parse_charconst): Delete unnecessary cast when calling
11524         cpp_parse_escape.
11525         (cpplib.h): Kill prototype of cpp_parse_escape.
11526
11527 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
11528
11529         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
11530         * unroll.c (unroll_loop): Cast return value of alloca.
11531         * i370/i370.c: Include function.h and toplev.h.
11532         (i370_label_scan): Remove c++ commented abort.
11533         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
11534         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
11535         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
11536         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
11537
11538 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
11539
11540         * config/t-freebsd: Do not override USER_H.
11541         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
11542
11543 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
11544                           Mumit Khan  <khan@xraylith.wisc.edu>
11545
11546         * c-parse.in (component_decl): Support anonymous struct/union.
11547         (%expect): Update.
11548         * c-parse.y: Regenerate.
11549         * c-parse.c: Likewise.
11550         * objc/objc-parse.y: Likewise.
11551         * objc/objc-parse.c: Likewise.
11552         * c-decl.c (finish_struct): Don't sort the fields.
11553         (field_decl_cmp): Delete unused function.
11554
11555 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
11556
11557         * sparc.md (movsf_const_intreg): Revert last constraint change.
11558         (movdf_const_intreg_sp32): Likewise.
11559
11560 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
11561
11562         * cse.c: Include hashtab.h instead of splay-tree.h
11563         (struct cse_reg_info): No longer use variant union.  Add new
11564         field "regno".  All references changed to avoid union.
11565         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
11566         (free_cse_reg_info): Remove.
11567         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
11568         (get_cse_reg_info): Revamp to use expandable hash tables instead
11569         of splay trees.  Initialize new fields in cse_reg_info structure.
11570         (new_basic_block): Similarly.
11571
11572 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
11573
11574         * genrecog.c (message_with_line): Prototype.
11575         (validate_pattern): Pass along the set for the dest, not a flag.
11576         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
11577         Check for PC/CC0 as sources.
11578         (nodes_identical): Check for children position match before
11579         allowing the combination.
11580
11581         * rtl.c (read_rtx): Track line number across \\\n.
11582
11583 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
11584
11585         * mips.h (SPECIAL_MODE_PREDICATES): New.
11586         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
11587         (movdi+1, movsi+1): Add output reload constraint.
11588         (casesi_internal): Likewise.  Fix commentary.
11589         (return_internal): Use pmode_register_operand.
11590
11591 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
11592
11593         * 1750a.md (movstrqi): Add missing output reload constraint.
11594         (call_value): Likewise.
11595         * a29k.md (cpxxx patterns): Add missing match_operator mode.
11596         (jmpfdec): Add missing inout reload constraint.
11597         * elxsi.md (addsi patterns): Add missing output reload constraint.
11598         (move from sp): Use @ alternates.
11599         (call_value): No constraint on output.
11600         * fr30.md (movsi_pop): Add missing output reload constraint.
11601         (movsf_constant_store): Likewise.
11602         (splits): Remove constraints.
11603         (subsi3): Add missing mode.
11604         * i370.md (cmpstrsi+1): Add missing output reload constraint.
11605         (call_value): Likewise.
11606         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
11607         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
11608         * m32r.md (movsicc_internal): Add output reload constraint.
11609         (movstrsi_internal): Add inout reload constraints.
11610         * m88k.h (reg_names): Don't declare.
11611         (SPECIAL_MODE_PREDICATES): New.
11612         * m88k.md (*): Use register_operand not reg_or_0_operand
11613         on destinations.
11614         * mn10200.h (PREDICATE_CODES): New.
11615         * ns32k.md (ffs pattern): Add output reload constraint.
11616         * pdp11.md (sob pattern): Add inout reload constraint.
11617         * sh.md (splits): Remove constraints.
11618         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
11619         * v850.md (pattern_is_ok_for_epilogue): Likewise.
11620         * vax.md (jgequ pattern): Add inout reload constraint.
11621
11622 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
11623
11624         * configure.in (djgpp): Revert previous patch.
11625         * configure: Rebuit.
11626         * config/i386/djgpp.h: Revert previous patch.
11627
11628 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
11629
11630         * fixinc/inclhack.def: Restore patch lost during last merge of
11631         "no_bogosity" branch.
11632         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
11633
11634 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11635
11636         * fixincludes: Add a HPUX 11 fix for inttypes.h.
11637         * fixinc/inclhack.def: Same.
11638         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
11639
11640 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
11641
11642         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
11643         as the base of a PLUS.
11644
11645 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11646
11647         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
11648         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
11649
11650 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
11651
11652         * pa.md (post_stw+1): Use pmode_register_operand.
11653         (dcacheflush, icacheflush): Likewise.
11654
11655         * i386.md (movstricthi_1): Allow r/r.
11656
11657 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
11658
11659         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
11660         to (not (and (arg0) (arg1))). Similary for and.
11661
11662         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
11663         fallthrough to associate code.
11664         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
11665         bits in common.
11666
11667         * combine.c (simplify_logical): Convert XOR to IOR if operands have
11668         no bits in common; remove XOR to ROTATE conversion.
11669
11670 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11671
11672         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
11673
11674 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11675
11676         * config/c4x/c4x.c (dst_operand): New.
11677         (PREDICATE_CODES): Update.
11678         * config/c4x/c4x.h (dst_operand): Declare it.
11679         * config/c4x/c4x.md:  Define mode for each unspec usage.
11680         (move patterns):  Use dst_operand predicate instead of src_operand.
11681         (movqi_update, movqf_update): Delete.
11682
11683 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
11684
11685         * recog.c (pmode_register_operand): New.
11686         * recog.h: Declare it.
11687         * genrecog.c (pred_codes): Likewise.
11688         (special_mode_pred_table): Likewise.
11689         (validate_pattern): Don't warn no mode for address_operand.
11690
11691         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
11692         if the operand is not insn-like.
11693
11694 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
11695                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
11696
11697         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
11698
11699 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
11700
11701         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
11702         instead of general_operand in a SET_DEST.  Use const_double_operand
11703         instead of an explicit test against CONST_DOUBLE.
11704         (movsf_const_lo): Add missing register mode.
11705         (goto_handler_and_restore): Add auxiliary test for Pmode.
11706         (flush): Adjust to use address_operand.
11707         (return_sf_no_fpu): Add missing output constraint.
11708
11709 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
11710
11711         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
11712         for call return value.
11713         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
11714
11715 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
11716
11717         * toplev.c (main): Only warn about options for other languages.
11718         * collect2.c (main): Pass -w to sub-gcc.
11719
11720 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
11721
11722         * flow.c (propagate_block): Add call-clobbered registers to
11723         significant too.
11724
11725         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
11726         zapping mem_set_list.
11727         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
11728         (mark_set_1, mark_used_regs): Likewise.
11729
11730 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
11731
11732         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
11733
11734 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11735
11736         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
11737         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
11738         options. Also add a new item "C-only Warning Options" to the
11739         option summary.
11740
11741 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
11742
11743         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
11744         from multiple calls.
11745
11746 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
11747
11748         * i386.md (call value patterns): Move to the end of the file.
11749         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
11750
11751 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
11752
11753         * configure.in (djgpp configuration): Define extra_objects..
11754         * configure: Rebuilt.
11755         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
11756         (DTORS_SECTION_ASM_OP): Define.
11757         (INIT_SECTION_ASM_OP): Define.
11758         (FINI_SECTION_ASM_OP): Define.
11759         (DATA_SECTION_ASM_OP): Define.
11760         (TEXT_SECTION_ASM_OP): Define.
11761         (EH_FRAME_SECTION_ASM_OP): Define.
11762         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
11763         (STARTFILE_SPEC): Add crtbegin.o.
11764         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
11765         to here from LINK_COMMAND_SPEC.
11766         (DO_GLOBAL_CTORS_BODY): Define.
11767         (CRTSTUFF_USE_FINI_SECTION): Define
11768         (HAS_INIT_SECTION): Delete.
11769
11770 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
11771
11772         * Makefile.in (all.cross): Depend on xcpp$(exeext).
11773
11774 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
11775
11776         * pa.h (PREDICATE_CODES): New.
11777
11778         * genrecog.c (validate_pattern): Condense the destination
11779         non-lvalue message.
11780
11781 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
11782
11783         * alpha.md (call-1): Supply missing mode for operator.
11784         (*): Add missing output reload constraints.  Remove constraints
11785         from define_splits.
11786
11787         * i386.h (SPECIAL_MODE_PREDICATES): New.
11788         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
11789         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
11790         (addsi_lea_3): Add missing mode for op 3.
11791         (prologue_set_got, prologue_get_pc): Add missing modes.
11792         (*) Add missing output reload constraints.
11793
11794 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
11795
11796         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
11797         check for member bit-size overflow and use var_size if it occurs.
11798         (layout_record): Use bitsize_int() to define the type size in bits.
11799         Likewise for computation and assignment to DECL_FIELD_BITPOS.
11800         (layout_decl): Likewise when assigning to DECL_SIZE.
11801
11802 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
11803
11804         * genrecog.c (validate_pattern): Typo last change.  Verify
11805         that output operands have output reloads.
11806
11807 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
11808
11809         * genrecog.c (special_mode_pred_table): New.
11810         (NUM_SPECIAL_MODE_PREDS): New.
11811         (find_operand): New.
11812         (validate_pattern): New argument `insn'.  Warn for assignment to
11813         any predicate accepting non-lvalues.  Conditionaly warn for
11814         match_operand without a mode.  Try much harder to match source
11815         and destination modes on a set.
11816         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
11817
11818 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
11819
11820         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
11821
11822 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
11823
11824         * combine.c (simplify_logical): Recognize xor pattern that encodes
11825         rotation.
11826
11827 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11828
11829         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
11830         alignment.
11831
11832 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
11833
11834         * ggc-page.c (MAP_FAILED): Provide default.
11835
11836 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
11837
11838         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
11839         * sparc.h (PREDICATE_CODES): Update.
11840
11841 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
11842
11843         * alpha.c (some_ni_operand): New.
11844         * alpha-protos.h: Declare it.
11845         * alpha.h (PREDICATE_CODES): Update.
11846         * alpha.md (sXaddq reload insns): Use some_ni_operand
11847         for SET_DEST instead of some_operand.
11848
11849 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
11850                           Jim Wilson  <wilson@cygnus.com>
11851
11852         * genrecog.c (maybe_both_true_2): Don't compare modes of
11853         two DT_pred tests.
11854         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
11855         after find_afterward.
11856         (debug_decision_1): Dump next and afterward codes.
11857
11858 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
11859
11860         * rtl.c (dump_and_abort): Remove.
11861         (fatal_with_file_and_line): New.
11862         (fatal_expected_char): New.
11863         (read_rtx_lineno, read_rtx_filename): New.
11864         (read_skip_spaces): Track line number.
11865         (read_name): Use fatal_with_file_and_line.
11866         (read_rtx): Use fatal_expected_char.  Track line number.
11867         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
11868
11869         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
11870         if it isn't a CODE_LABEL.
11871
11872         * genattr.c (main): Set read_rtx_filename.
11873         * genattrtab.c (main): Likewise.
11874         * gencodes.c (main): Likewise.
11875         * genconfig.c (main): Likewise.
11876         * genemit.c (main): Likewise.
11877         * genextract.c (main): Likewise.
11878         * genflags.c (main): Likewise.
11879         * genopinit.c (main): Likewise.
11880         * genoutput.c (main): Likewise.
11881         * genpeep.c (main): Likewise.
11882
11883         * genrecog.c (decision_test.u.insn): Add `lineno'.
11884         (pattern_lineno, error_count): New variables.
11885         (message_with_line): New.
11886         (add_to_sequence): Break out checking code to ...
11887         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
11888         (merge_insn): Use message_with_line.
11889         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
11890         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
11891
11892 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11893
11894         * expr.c (store_constructor): Clear union if constructor is empty.
11895
11896 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
11897
11898         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
11899         Add !endian checks.  Change %{...} to %(...).
11900
11901 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
11902
11903         * i386.md (*addsi3_cc): Renamed from addcsi3.
11904         (*addsi3_carry): Renamed from addxsi3.
11905         (*subsi3_cc): Renamed from subcsi3.
11906         (*subsi3_carry): Renamed from subxsi3.
11907         (*xorqi_cc_1): Renamed from xorcqi_1.
11908         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
11909         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
11910
11911 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
11912
11913         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
11914         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
11915
11916 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
11917
11918         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
11919         climb up the chain of insns.
11920
11921 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
11922
11923         * genrecog.c (write_subroutine): Careful for null trees.
11924         (process_tree): Don't elide empty functions.
11925
11926 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
11927
11928         * Makefile.in (genrtl.o): Depend on ggc.h.
11929         * configure.in (valloc): Probe for it.
11930         (with-gc): Use ggc-page if valloc present.
11931         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
11932         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
11933         (ggc_alloc_string): Moved from ggc-page.c.
11934         * ggc-none.c (ggc_alloc_obj): New.
11935         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
11936         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
11937         (struct globals): Likewise for dev_zero_fd.
11938         (init_ggc): Likewise for it's initialization.
11939         (ggc_allocated_p): Move careful dereference from ...
11940         (ggc_lookup_page_table): ... here.  Delete.
11941         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
11942         (alloc_anon): Use valloc if no mmap.
11943         (release_pages): Use free if using valloc.
11944         (ggc_alloc_obj): Renamed from alloc_obj.
11945         (ggc_set_mark): Renamed from mark_obj.
11946         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
11947         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
11948         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
11949         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
11950         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
11951         (ggc_collect): Use fp printing instead of our own rounding.
11952         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
11953         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
11954         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
11955         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
11956         (struct ggc_string, struct ggc_any): Delete.
11957         (offsetof): Provide default definition.
11958         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
11959         (PTR_KEY): New.
11960         (struct ggc_mem): New, from corpse of ggc_any.
11961         (struct ggc_status): Delete.
11962         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
11963         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
11964         (n_strings_collected, n_anys_collected): Delete.
11965         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
11966         (ggc_alloc_string, ggc_alloc): Delete.
11967         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
11968         (ggc_free_string, ggc_free_any): Delete.
11969         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
11970         (ggc_compare_addresses, ggc_mark_string): Delete.
11971         (ggc_mark_string_if_gcable, ggc_mark): Delete.
11972         (search_data): Delete.
11973         (struct globals): New.
11974         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
11975         (tree_insert, tree_lookup): New.
11976         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
11977         (clear_marks, sweep_objs): New.
11978         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
11979         (init_ggc): Set allocated_last_gc.
11980         (ggc_push_context): Gut.  Use G.context.
11981         (ggc_pop_context): Likewise.
11982         (ggc_pop_context_1): New.
11983         (debug_ggc_tree): New.
11984         (debug_ggc_balance, tally_leaves): New.
11985         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
11986         (ggc_mark_string_if_gcable): Remove decl.
11987         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
11988         (ggc_mark_rtvec_children): New.
11989         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
11990         (ggc_mark_if_gcable): New decl.
11991         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
11992         (ggc_alloc_tree, ggc_alloc): Likewise.
11993         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
11994         (ggc_alloc_obj): New decl.
11995         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
11996         (ggc_alloc_tree, ggc_alloc): Likewise.
11997         (ggc_set_mark): New decl.
11998         * rtl.h (struct rtx_def): Remove gc_mark.
11999         (struct rtvec_def): Likewise.
12000         * tree.h (struct tree_common): Likewise.
12001
12002 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
12003
12004         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
12005         float_format and thread_file definitions.
12006         * configure: Rebuilt.
12007
12008 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
12009
12010         * extend.texi (Function Names): Document types of function names.
12011
12012 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12013
12014         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
12015         an earlyclobbered output conflict with RELOAD_INPUT reloads.
12016
12017 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12018
12019         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
12020
12021 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12022
12023         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
12024
12025 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
12026
12027         * collect2.c (main): Do prelimnary link on AIX if rflag.
12028
12029 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
12030
12031         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
12032         __CTOR_LIST__ in opposite order, which is the correct order for sorted
12033         constructors.
12034         (__do_global_dtors): similarly for __DTOR_LIST__.
12035
12036 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
12037                                 Diego Novillo <dnovillo@cygnus.com>
12038
12039         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
12040         FPUL_REGS.
12041
12042 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
12043
12044         * fixincl/*: Merged "no_bogosity" branch
12045         * fixincl/fixlib.h: protect against doubly defining t_bool
12046         * fixincl/server.h: protect against doubly defining t_bool
12047
12048 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
12049
12050         * genoutput.c: Include toplev.h.
12051
12052 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
12053
12054         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
12055         Undef.
12056         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
12057         * configure: Regenerate.
12058
12059 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
12060
12061         * gcse.c (delete_null_pointer_checks): Returns void.
12062
12063 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12064
12065         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
12066         * emit-rtl.c (copy_insn_1): Likewise.
12067
12068 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
12069
12070         * config/mips/mips.c (mips_build_va_list): Correct
12071         TREE_CHAIN setting when hard-float.
12072         (mips_va_start): Use corrected setting.
12073         (mips_va_arg): Likewise.  Also pass a tree to build of
12074         POSTINCREMENT_EXPR rather than a naked 'int'.
12075
12076 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
12077
12078         * ggc.h (ggc_push_context): Fix comment.
12079         (ggc_pop_context): Likewise.
12080         (mark_string_if_gcable): Likewise.
12081         * ggc-common.c (ggc_mark_rtx_children): Use
12082         ggc_mark_string_if_gcable.
12083         * ggc-page.c (ggc_lookup_page_table): New function.
12084         (ggc_allocated_p): Likewise.
12085         (mark_obj): Fix formatting.
12086         (ggc_mark_string_if_gcable): New function.
12087         * ggc-simple.c (ggc_allocated_strings): New variable.
12088         (ggc_strings_used): Likewise.
12089         (ggc_compare_addresses): New function.
12090         (ggc_pop_context): Pop the `any' memory too.
12091         (ggc_mark_string_if_gcable): New function.
12092         (ggc_collect): Initialize and tear down ggc_allocated_strings.
12093
12094 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
12095
12096         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
12097         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
12098         * rs6000.c (expand_block_move): Match movstrsi_?reg register
12099         changes.
12100
12101 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
12102
12103         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
12104         (sched_reg_live_length, sched_reg_basic_block): Delete.
12105         (current_block_num, bb_live_regs, old_live_regs): Delete.
12106         (dead_notes, struct sometimes): Delete.
12107         (sched_note_set, birthing_insn_p): Delete.
12108         (adjust_priority): Gut useless reg lifetime code.
12109         (create_reg_dead_note, attach_deaths): Delete.
12110         (attach_deaths_insn, new_sometimes_live): Delete.
12111         (finish_sometimes_live): Delete.
12112         (find_pre_sched_live, find_post_sched_live): Delete.
12113         (update_reg_usage): Delete.
12114         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
12115         (schedule_insns): Delete reg lifetime code.
12116         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
12117         (unlink_other_notes): Adjust REG_NOTE commentary.
12118         (reemit_notes): Use REG_SAVE_NOTE.
12119         (schedule_block): Likewise.
12120         (schedule_region): Allocate bitmap of blocks in region.  Use
12121         count_or_remove_death_notes.  Use update_life_info.
12122
12123         * rtl.h (REG_SAVE_NOTE): New.
12124         * rtl.c (reg_note_name): Update.
12125
12126 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
12127
12128         * combine.c (refresh_blocks, need_refresh): New.
12129         (combine_instructions): Allocate refresh_blocks.  Invoke
12130         update_life_info if needed.
12131         (distribute_notes): Mark refresh_blocks instead of installing
12132         USE insns.
12133         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
12134         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
12135
12136         * Makefile.in (recog.o): Depend on basic-block.h.
12137
12138 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
12139
12140         * genrecog.c (add_to_sequence): Thinko last change: delete
12141         shadowing allow_const_int variable.
12142
12143 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12144
12145         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
12146         __GNUC__ and __GNUC_MINOR__.
12147
12148         * gansidecl.h: Likewise.
12149
12150         * rtl.c: Likewise.
12151
12152         * rtl.h: Likewise.
12153
12154         * toplev.h: Likewise.
12155
12156         * tree.c: Likewise.
12157
12158         * tree.h: Likewise.
12159
12160         * varray.c: Likewise.
12161
12162         * varray.h: Likewise.
12163
12164 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12165
12166         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
12167         use one before a jump table.
12168
12169         * rtl.def (ADDRESS): Change documentation to match reality.
12170         * md.texi: Don't document it.
12171         * gmicro.md (load address pattern): Use 'p' constraint, delete use
12172         of ADDRESS rtx.
12173
12174         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
12175
12176 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
12177
12178         * genrecog.c (add_to_sequence): Move allow_const_int test outside
12179         known predicate block; default allow_const_int true.
12180         (debug_decision_list): New.
12181
12182 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
12183
12184         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
12185
12186 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
12187
12188         * gcse.c (gcse_main): Avoid global optimizations if we have a
12189         large number of basic blocks and the ratio of edges to blocks
12190         is high.
12191         (delete_null_pointer_checks): Likewise.
12192
12193 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
12194
12195         * c-common.c (check_format_info): Warn if format string isn't a
12196         string literal.
12197
12198 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
12199
12200         * configure.in (arm*-*-*): Don't let autoconf remove brackets
12201         * configure: regenerate
12202
12203 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
12204
12205         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
12206         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
12207         (peepholes): Re-enable.
12208
12209 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
12210
12211         * Makefile.in (flow.o): Depend on TREE_H.
12212         * basic-block.h (REG_SET_EQUAL_P): New.
12213         (XOR_REG_SET): New.
12214         (n_edges): Declare.
12215         (free_regset_vector): Remove declaration.
12216         (flow_delete_insn_chain): Declare.
12217         (enum update_life_extent): New.
12218         (update_life_info, count_or_remove_death_notes): Declare.
12219         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
12220         Verify register live at bb->global_live_at_start before adding USE.
12221         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
12222         (CLEAN_ALLOCA): New.
12223         (n_edges): New.
12224         (PROP_*): New flags.
12225         (find_basic_blocks_1): Use alloc_EXPR_LIST.
12226         (clear_edges): Zero n_edges.
12227         (make_edge): Increment n_edges.
12228         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
12229         (flow_delete_insn_chain): Export.
12230         (delete_block): Decrement n_edges.
12231         (merge_blocks_nomove): Likewise.
12232         (life_analysis): Give life_analysis_1 PROP flags.
12233         (verify_wide_reg_1, verify_wide_reg): New.
12234         (verify_local_live_at_start): New.
12235         (update_life_info): Rewrite to call into propogate_block.
12236         (mark_reg): New.
12237         (mark_regs_live_at_end): After reload, if epilogue as rtl,
12238         always mark stack pointer.  Conditionally mark PIC register.
12239         After reload, mark call-saved registers, return regsiters.
12240         (life_analysis_1): Accept PROP flags not remove_dead_code.
12241         Call mark_regs_live_at_end before zeroing regs_ever_live.
12242         Use calculate_global_regs_live.  Copy global_live_at_end before
12243         calling final propagate_block.  Zero reg_next_use on exit.
12244         (calculate_global_regs_live): New.
12245         (allocate_bb_life_data): Don't allocate bb->local_set.
12246         (init_regset_vector, free_regset_vector): Remove.
12247         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
12248         Test flags before every operation.  Warn if prologue/epilogue insn
12249         would have been deleted.
12250         (mark_set_regs, mark_set_1): Accept and use FLAGS.
12251         Use alloc_EXPR_LIST.
12252         (mark_used_regs): Accept and use FLAGS, not FINAL.
12253         Remove special handling for RETURN.
12254         (try_pre_increment): Use alloc_EXPR_LIST.
12255         (dump_flow_info): Dump n_edges.
12256         (unlink_insn_chain, split_hard_reg_notes): Remove.
12257         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
12258         (find_insn_with_note, new_insn_dead_notes): Remove.
12259         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
12260         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
12261         (replace_insns): Remove.
12262         (count_or_remove_death_notes): New.
12263         (verify_flow_info): Abort on error after all checks.
12264         (remove_edge): Decrement n_edges.
12265         (remove_fake_edges): Tweek format.
12266         * haifa-sched.c (schedule_insns): Use split_all_insns.
12267         * output.h (update_life_info): Remove declaration.
12268         * recog.c (split_all_insns): From the corpse of split_block_insns,
12269         do the whole function block by block.  Use update_life_info.
12270         (recog_last_allowed_insn): New.
12271         (recog_next_insn): Mind it.
12272         (peephole2_optimize): Set it.  Walk backwards through blocks.
12273         Use update_life_info.
12274         * rtl.h (update_flow_info, replace_insns): Remove declarations.
12275         (split_all_insns): Declare.
12276         * toplev.c (rest_of_compilation): Thread prologue before flow2.
12277         Use split_all_insns.
12278
12279         * i386.md (or -1 peep2s): Disable.
12280
12281 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
12282
12283         * config/mips/mips.md (movstrsi+[123]) : Combine these into
12284         a single pattern.  Scrap the 'd' versions as unnecessary.
12285
12286         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
12287         tablejump_mips162,tablejump_internal4): The operands to a
12288         label_ref must be VOIDmode.
12289
12290 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12291
12292         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
12293
12294 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
12295
12296         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
12297
12298 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
12299
12300         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
12301         cache every function if ggc_p.
12302
12303 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12304
12305         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
12306         instead of copy_rtx.  Accept sequences that contain asm statements.
12307         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
12308         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
12309         orig_asm_operands_vector, copy_asm_operands_vector,
12310         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
12311         variables.
12312         * rtl.h (copy_insn, copy_insn_1): Declare.
12313
12314 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12315
12316         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
12317
12318         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
12319         arguments to `current_file_function_operand'.
12320
12321         * genrecog.c: Include hard-reg-set.h and resource.h in the
12322         generated output file.
12323
12324         * real.c: Include tm_p.h.
12325
12326 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12327
12328         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
12329         output operand.
12330
12331 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
12332
12333         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
12334         before the fctiwz insn.
12335
12336 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12337                           Mark Mitchell  <mark@codesourcery.com>
12338
12339         * tree.c (make_lang_type_fn): New funtion pointer.
12340         (make_lang_type): Call it.
12341         * tree.h (make_lang_type): Declare.
12342         (make_lang_type_fn): Likewise.
12343         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
12344
12345 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
12346
12347         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
12348         make sure that HIGH instructions are copied into BASE_REGS.
12349
12350 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
12351
12352         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
12353
12354 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
12355
12356         * c-decl.c (finish_struct): Use simpler method of
12357         removing elements of a singly-linked list.
12358
12359 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
12360
12361         * alpha.md (peephole2's): Comment out peephole2's that generate
12362         buggy code.
12363
12364 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
12365
12366         * genrecog.c (add_to_sequence): Disable mode check for
12367         wildcard matches.
12368
12369 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12370
12371         * ggc-simple.c (init_ggc): Set empty_string.
12372
12373 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
12374
12375         * configure.in: Detect mmap.  Add --with-gc=foo to select
12376         garbage collector; default to page if mmap available.
12377         * Makefile.in (GGC): Substitute.
12378
12379 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
12380
12381         * c-decl.c (ggc_p): Enable.
12382
12383 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12384
12385         * flow.c (verify_flow_info): Make it extern & unconditionally define.
12386
12387 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
12388
12389         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
12390         string for little-endian-data.
12391
12392 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
12393
12394         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
12395         case somebody tries to compile --enable-checking code with gcc
12396         1.34 or such.
12397
12398 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
12399
12400         * genrecog.c (add_to_sequence): Verify operand to label_ref is
12401         VOIDmode.
12402
12403 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
12404
12405         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
12406         * jump.c (jump_optimize_1): Document why.
12407
12408 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12409
12410         * collect2.c (scan_prog_file, scan_libraries): Prototype function
12411         pointers and casts for `int_handler' and `quit_handler'.
12412
12413         * flow.c (verify_flow_info, split_hard_reg_notes,
12414         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
12415         remove_edge, remove_fake_successors): Add static prototypes.
12416         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
12417         (mark_set_1): Initialize variable `regno'.
12418         (unlink_insn_chain): Likewise for variable `curr'.
12419         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
12420
12421         * loop.c (strength_reduce): Initialize variable
12422         `unrolled_insn_copies'.
12423         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
12424         prototypes.  Change these functions to take const PTR parameters
12425         to avoid prototype conflict when used as the comparson argument
12426         for qsort.
12427         (check_dbra_loop): Initialize variable `comparison_val'.
12428
12429         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
12430         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
12431         (find_valid_class): Initialize variable `best_class'.
12432         (find_reloads): Call memcpy, not bcopy.
12433
12434         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
12435         (hard_reg_use_compare): Don't needlessly cast away const.
12436         (reload_reg_class_lower): Likewise.
12437         (choose_reload_regs): Initialize variable `regno'.
12438
12439 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
12440
12441         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
12442
12443 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
12444
12445         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
12446         ({,d}discard): Add forward declarations.  Declare parameter as
12447         unused.
12448         (main_without_main): Explicitly declare return type to be int.
12449         (memcpy): Properly declare.
12450
12451         * libgcc2.c (toplevel): If inhibit_libc is defined and not
12452         building the trampoline support, declare malloc, free, and
12453         atexit.
12454         (__clear_cache): Mark arguments as potentially unused.
12455
12456         * frame.c (toplevel): If inhibit_libc is defined, declare
12457         malloc and free.
12458
12459 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
12460
12461         * flow.c (make_edge): Accept an optional 2D bitmap in which
12462         to cache edge existence.  Update all callers.
12463         (make_label_edge, make_eh_edge): Pass through the edge cache.
12464         (make_edges): Provide the cache.
12465
12466 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12467
12468         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
12469         a char*.
12470         (local_mbtowc): Change the type of variable `i' from int to size_t.
12471
12472         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
12473         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
12474
12475 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
12476
12477         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
12478         after other includes that define the appropriate types.  Include
12479         tm_p.h for getting user prototypes.
12480         * ggc-callbacks.c (toplevel): Ditto.
12481         * ggc-none.c (toplevel): Ditto.
12482         * gcc-page.c (toplevel): Ditto.
12483         * ggc-simple.c (toplevel): Ditto.
12484
12485 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
12486                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
12487
12488         * config/mips/mips.c (mips_move_2words): Split doubles if
12489         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
12490
12491 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
12492
12493         * genrecog.c (struct decision_test): New.
12494         (struct decision): Remove test-related members, sort the rest by size.
12495         (IS_SPLIT): Simplify.
12496         (new_decision, new_decision_test): New.
12497         (add_to_sequence): Use them.  No special handling for args of
12498         non-MATCH codes.
12499         (maybe_both_true): Renamed from not_both_true; return sense changed.
12500         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
12501         of maybe_both_true and adjusted for decision_test.
12502         (position_merit): Remove.
12503         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
12504         (merge_accept_insn): New, broken out of merge_trees.
12505         (merge_trees): Use them.  No special case for c_test; no node
12506         splitting; use test type instead of position_merit.
12507         (factor_tests): New.
12508         (simplify_tests): New.
12509         (break_out_subroutines): Don't write code now.
12510         (find_afterward): New.
12511         (write_afterward, write_switch, write_cond): New.
12512         (write_action, is_unconditional): New.
12513         (write_node): New.  Use them.
12514         (write_tree_1): Rewrite.  Use the new functions above.
12515         (write_tree): Remove afterward processing.
12516         (write_subroutine): Simplify function variant emission.
12517         (write_subroutines): New.
12518         (same_codes, clear_codes): Remove.
12519         (same_modes, clear_modes): Remove.
12520         (write_header): New, broken out of main.
12521         (make_insn_sequence): Use new_decision and new_decision_test.
12522         (process_tree): New, broken out of main.
12523         (main): Adjust for merge_trees interface change.
12524         Don't #define operands in the output file.
12525         (record_insn_name): New, broken out of make_insn_sequence.
12526         (debug_decision_2, debug_decision_1, debug_decision_0): New.
12527         (debug_decision): New.
12528
12529 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
12530
12531         * resource.c (find_free_register): Mark class_str argument const.
12532         * resource.h: Update prototype to match.
12533
12534         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
12535         * i386.md: Give all anonymous insns names.
12536
12537 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
12538
12539         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
12540         blocks.
12541
12542 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
12543
12544         * toplev.c (dbr_sched_time): Unconditional.
12545         (peephole2_time): New.
12546         (compile_file): Add pass numbers to all of the dump file suffixes.
12547         Dump peephole2_time.  Don't dump times for non-applicable passes.
12548         (rest_of_compilation): Add pass numbers to dump file suffixes.
12549         Conditionalize calls to the scheduler.
12550         * invoke.texi: Update.
12551
12552 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
12553
12554         * flow.c (make_edges): Fix insn iteration.
12555         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
12556         (find_basic_blocks_1): Fix spelling mistake.
12557
12558 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
12559
12560         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
12561         always have side-effects.  Use memset not bzero.
12562         (make_node): Likewise.
12563
12564 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
12565
12566         * stmt.c (expand_anon_union_decl): When any of the elements of the
12567         union is addressable, so is the entire union.
12568
12569 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
12570
12571         * sbitmap.c (sbitmap_ones): Don't set too many bits.
12572
12573         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
12574         * bitmap.c (bitmap_operation): Return true iff TO changed.
12575         (bitmap_equal_p): New.
12576         (bitmap_bit_p): Tidy arithmetic.
12577         (debug_bitmap_file): Likewise.
12578
12579 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
12580
12581         * toplev.c (rest_of_compilation): Turn on cse_not_expected
12582         before cse2 instead of after.
12583
12584 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
12585
12586         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
12587         register offsets.
12588
12589 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12590
12591         * cppinit.c (is_idchar initializer): Loosen tests to accept
12592         gcc 2.>6 and >2.
12593
12594 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
12595
12596         * mips.md: Define conditional move patterns for floating point
12597         operands and DI mode conditions.
12598
12599 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
12600
12601         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
12602         always have side-effects.
12603
12604 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
12605
12606         * mn10200.c (asm_file_start): Fix typo.
12607
12608         * cppinit.c (is_idchar initializer): Tighten tests for when
12609         to put the table into initialized memory.
12610
12611         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
12612         not an array of rtunion.
12613         * gcc-page.c (ggc_alloc_rtvec): Similarly.
12614         * gcc-simple (ggc_free_rtvec): Similarly.
12615
12616         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
12617         of rtunions.
12618
12619         * mbchar.h: Add missing #endif.
12620
12621         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
12622         (FPBIT, DPBIT): Define.
12623
12624 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12625
12626         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
12627
12628         * profile.c (instrument_arcs, output_gcov_string,
12629         tablejump_entry_p): Add static prototypes.
12630         (output_gcov_string): Constify a char*.
12631
12632         * regmove.c (replacement_quality, fixup_match_2): Add static
12633         prototypes.
12634
12635         * resource.h (reg_dead_p): Add extern prototype.
12636
12637         * rtl.c (trim_filename): Add static prototype.
12638
12639         * scan-decls.c (skip_to_closing_brace): Likewise.
12640
12641         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
12642         (expand_end_case): Initialize variable `range'.
12643         (emit_case_nodes): Remove unused prototype `rtx_fn'.
12644
12645         * varasm.c (asm_emit_uninitialised): Add static prototype.
12646         (asm_emit_uninitialised, assemble_variable): Mark parameter with
12647         ATTRIBUTE_UNUSED.
12648
12649 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12650
12651         * cpplib.c (if_directive_nameo): Add static prototype.
12652
12653         * cse.c (cse_insn): Remove unused variable `p'.
12654
12655         * except.c (create_rethrow_ref, push_entry,
12656         receive_exception_label, new_eh_region_entry, find_func_region,
12657         clear_function_eh_region, process_nestinfo): Add static prototypes.
12658         (get_reg_for_handler): Hide definition.
12659         (process_nestinfo): Initialize variable `extra_handlers'.
12660
12661         * expr.h (expand_builtin_longjmp): Add extern prototype.
12662
12663         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
12664
12665         * function.c (prepare_function_start): Likewise.
12666         (pop_function_context_from): Mark parameter `context' with
12667         ATTRIBUTE_UNUSED.
12668         (push_temp_slots_for_block, flush_addressof): Hide definition.
12669
12670         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
12671         solve_program_flow_graph, calculate_branch_probs,
12672         function_summary, main, fancy_abort): Add prototypes.
12673
12674         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
12675         (add_hash): Constify a char*.
12676
12677         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
12678         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
12679         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
12680
12681         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
12682
12683         * lists.c (free_list, zap_lists): Likewise.
12684
12685 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12686
12687         * alias.c (nonlocal_reference_p): Add static prototype.
12688
12689         * bitmap.c (bitmap_element_allocate): Prototype args in function
12690         pointer cast.
12691
12692         * builtins.c (stabilize_va_list): Add static prototype.
12693         (expand_builtin_va_arg): Constify a char*.
12694
12695         * c-lex.c (getch, put_back, extend_token_buffer_to,
12696         read_line_number, token_getch, token_put_back): Add static
12697         prototypes.
12698
12699         * c-parse.gperf (hash, is_reserved_word): Likewise.
12700
12701         * cccp.c (is_dir_separator): Likewise.
12702
12703 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12704
12705         * graph.h: New file to prototype functions exported by graph.c.
12706
12707         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
12708
12709         * graph.c: Include graph.h.
12710
12711         * toplev.c: Likewise.  Remove redundant prototypes.
12712
12713 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
12714
12715         * invoke.texi: Removed duplicated description for -Q.
12716
12717 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
12718
12719         * extend.texi: Grammar fix in __extension__ text.
12720
12721 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
12722
12723         * md.texi (define_peephole2): New section.
12724
12725 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
12726
12727         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
12728         (mov $-1 to or peepholer): Enable for pentium when optimizing for
12729         speed.
12730
12731 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
12732
12733         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
12734
12735 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
12736
12737         * i386.md (ffs expander): Emit Pentium friendly code for
12738         TARGET_PENTIUM.
12739
12740 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
12741
12742         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
12743         for non-trees.
12744         (build1): Likewise.
12745
12746 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12747
12748         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
12749
12750 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
12751
12752         * config/m68k/m68k.c (use_return_insn): Return false if the pic
12753         register is in use.
12754
12755 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12756
12757         * md.texi (No Constraints): Delete section.
12758         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
12759         * final.c (final_scan_insn): We always have register constraints.
12760         * genattrtab.c: Don't include "insn-config.h".
12761         (write_attr_case): We always have register constraints.
12762         * genconfig.c (register_constraint_flag): Delete.
12763         (walk_insn_part): Don't check whether we have register constraints.
12764         (main): Don't write out "#define REGISTER_CONSTRAINTS".
12765         * genoutput.c (have_constraints): Delete.
12766         (main): Don't set it.
12767         (output_operand_data): We always have constraints.
12768         (scan_operands): Likewise.
12769         (compare_operands): Likewise.
12770         * local-alloc.c (block_alloc): We always have constraints.
12771         (requires_inout): Always compile this function.
12772         * recog.c (extract_insn): We always have constraints.
12773         (constrain_operands, reg_fits_class_p): Always compile these
12774         functions.
12775         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
12776         fields.
12777         (struct insn_operand_data): Likewise.
12778         * regclass.c (regclass): We always have constraints.
12779         (record_reg_classes, copy_cost, record_address_regs,
12780         auto_inc_dec_reg_p): Always compile these functions.
12781         * regmove.c (regmove_optimize): We always have constraints.
12782         * reload.c (find_reloads): Likewise.
12783         * reload1.c (reload): Likewise.
12784         (reload_cse_simplify_operands): Likewise.
12785         * i860.c (output_delay_insn): Likewise.
12786
12787 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
12788
12789         * iris6.h (BUILD_VA_LIST_TYPE): Define.
12790
12791 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12792
12793         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
12794         for the va_list record.
12795
12796 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
12797
12798         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
12799         prologues.
12800
12801 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
12802
12803         * alias.c: Include insn-flags.h.
12804         * Makefile.in (alias.o): Update.
12805
12806 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
12807
12808         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
12809         to LTU and GEU.  Handle more cases using sbb.
12810
12811 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
12812
12813         * i386.md (truncatexfdf splitters): Do not use subreg.
12814         (fop XFmode patterns): Fix mode in operand testing.
12815
12816 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
12817
12818         * jump.c (jump_optimize_1): Amend last change to test only the
12819         form of the operand, not the insn.
12820
12821         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
12822         not register_operand to determine when B may need preloading.
12823
12824 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
12825
12826         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
12827         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
12828         (call-value patterns): Move to end of file.
12829         (*): Remove mode from label_ref in (pc) context.
12830         (movstrqi): Use memory not general_operand for BLKmode operands.
12831         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
12832         to register_operand operands.
12833         (peep2 patterns): Convert from commented-out peephole patterns.
12834
12835 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12836
12837         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
12838         to BUILT_IN_INIT_DWARF_REG_SIZES.
12839         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
12840         Renamed from BUILT_IN_DWARF_REG_SIZE; call
12841         expand_builtin_init_dwarf_reg_sizes.
12842         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
12843         with __builtin_init_dwarf_reg_size_table.
12844         * dwarf2out.c (struct reg_size_range): Delete.
12845         (expand_builtin_init_dwarf_reg_sizes): New function.
12846         (expand_builtin_dwarf_reg_size): Delete.
12847         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
12848         (expand_builtin_dwarf_reg_size): Don't declare.
12849         * libgcc2.c (dwarf_reg_size_table_initialized): New.
12850         (dwarf_reg_size_table): New.
12851         (init_reg_size_table): New function.
12852         (copy_reg): Use dwarf_reg_size_table.
12853         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
12854         before use.
12855
12856 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
12857
12858         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
12859         Correctly build argument list to constructor and destructor functions.
12860
12861 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
12862
12863         * c-tree.h (warn_float_equal): Declare.
12864         * c-decl.c (warn_float_equal): Define.
12865         (c_decode_option): Recognize -W[no-]float-equal.
12866         * c-typeck.c (build_binary_op): Conditionally warn
12867         about equality tests of floating point types.
12868         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
12869         * invoke.texi: Add docs for -Wfloat-equal warning.
12870
12871 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
12872
12873         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
12874         generating RTL directly.
12875         * mips.h (INIT_TARGET_OPTABS): Likewise.
12876         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
12877
12878         * expr.h (init_mov_optab): Delete declaration
12879
12880         * h8300.c (WORD_REG_USED): Update to avoid useless register
12881         saves in interrupt functions and functions which never return.
12882
12883         * cse.c (struct set): Delete inner_dest_loc field.
12884         (cse_insn): Remove assignments to inner_dest_loc field.
12885
12886 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
12887
12888         * ggc-page.c: Don't include <unistd.h> etc taken care of
12889         by "system.h".  Include <sys/mman.h> afterward.
12890
12891 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
12892
12893         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
12894         ggc_alloc_string.
12895
12896 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
12897
12898         * xcoffout.c (xcoffout_declare_function): Add documentation.
12899         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
12900         TARGET_64BIT.  Compare constant to -1, not bit pattern.
12901         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
12902         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
12903         gen_movsi typos.
12904
12905 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
12906
12907         * dwarf2out.c (add_abstract_origin_attribute): Abort if
12908         origin_die is NULL.
12909         (gen_inlined_enumeration_type_die): Do not abort if the type has
12910         not been writeen out.
12911         (gen_inlined_structure_type_die): Do not abort if the type has
12912         not been writeen out.
12913         (gen_inlined_union_type_die): Do not abort if the type has
12914         not been writeen out.
12915         (gen_tagged_type_instantiation_die): Do not abort if the type
12916         has not been written out.
12917
12918 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12919
12920         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
12921         call it.
12922         * reg-stack.c (straighten_stack): Copy hard reg set with
12923         COPY_HARD_REG_SET.
12924
12925 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
12926
12927         * builtins.c (stabilize_va_list): Stabilize array type va_list
12928         to a pointer type, not the base record type.
12929         (expand_builtin_va_copy): Dereference the pointers explicitly;
12930         use the correct size for the copy.
12931
12932         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
12933         (rs6000_va_arg): Likewise.
12934
12935 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
12936
12937         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
12938
12939 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
12940
12941         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
12942         field.
12943         (DECL_BUILT_IN_CLASS): Adjust accordingly.
12944
12945 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
12946
12947         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
12948         (init_ggc): Use it instead of a constant.
12949         (ggc_collect): Bound allocated_last_gc by it.
12950
12951 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
12952
12953         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
12954         with va_list.
12955
12956 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
12957
12958         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
12959         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
12960         * configure:  Regen.
12961         * config/mips/openbsd.h:  New, OpenBSD little endian target.
12962         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
12963         * config/mips/xm-openbsd.h:  New, OpenBSD host.
12964
12965 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
12966
12967         * config/m68k/m68k.c (output_function_prologue,
12968         output_function_epilogue): Use
12969         current_function_uses_pic_offset_table instead of regs_ever_live
12970         to decide whether to save/restore pic register.
12971         (legitimize_pic_address): Don't modify regs_ever_live any more.
12972
12973 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
12974
12975         * function.h (struct function): Add x_dont_save_pending_sizes_p.
12976         * stor-layout.c (variable_size): Don't add sizes to the pending
12977         sizes list if x_dont_save_pending_sizes_p is set.
12978
12979 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
12980
12981         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
12982         for symbolic_operand().
12983         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
12984
12985 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12986
12987         * combine.c (gen_rtx_combine): Add missing call to va_end().
12988
12989         * final.c (asm_fprintf): Likewise.
12990
12991         * genattrtab.c (attr_rtx): Likewise.
12992
12993 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
12994
12995         * cse.c: Update comments.
12996         (cse_insn): When converting a conditional/computed jump into
12997         an unconditional jump, always make sure a BARRIER immediately
12998         follows the converted jump.  Do not delete unreachable code.
12999         (cse_basic_block): Do not delete unreachable code.
13000         * toplev.c (rest_of_compilation): Move call to
13001         delete_trivially_dead_insns after the conditional call to
13002         jump_optimize.
13003
13004 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13005
13006         * collect2.c (make_temp_file): Don't prototype.
13007
13008         * gcc.c (make_temp_file): Likewise.
13009
13010         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
13011
13012 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
13013
13014         * varasm.c (asm_emit_uninitialised): New function: Generate
13015         the assembler statements necessary to declare an uninitialised
13016         variable.
13017         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
13018         variable.
13019         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
13020         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
13021         section.
13022         (assemble_variable): Use asm_emit_uninitialised to emit an
13023         uninitialised variable.
13024
13025 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
13026
13027         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
13028         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
13029         <geoffk@cygnus.com>.
13030
13031 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13032
13033         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
13034         * c-common.h (builtin_function): Don't declare.
13035
13036         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
13037         DECL_BUILT_IN.
13038         (pushdecl): Likewise.
13039         (finish_decl): Likewise.
13040         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
13041         int.  All callers changed.
13042         Set the builtin's DECL_BUILT_IN_CLASS.
13043         * tree.h (enum built_in_class): New.
13044         (enum built_in_function): Delete NOT_BUILT_IN.
13045         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
13046         in a union.
13047         (DECL_SET_FUNCTION_CODE): Likewise.
13048         (DECL_BUILT_IN_CLASS): New macro.
13049         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
13050         (struct tree_decl): Split builtin function code field into a
13051         struct.
13052         (builtin_function): Declare.
13053
13054 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
13055
13056         * optabs.c (init_traps): Fix typo in last change.
13057
13058 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
13059
13060         * toplev.c (rest_of_decl_compilation): Update comment.
13061
13062 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
13063
13064         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
13065         in .sbss if appropriate.
13066         (EXTRA_SECTION_FUNCTIONS): Add sbss.
13067         (SBSS_SECTION_ASM_OP): New macro.
13068         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
13069         (EXTRA_SECTIONS): Add in_sbss.
13070         * config/mips/mips.h: Prototype sbss_section.
13071
13072 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
13073
13074         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
13075         to disappear.
13076
13077 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
13078
13079         * optabs.c (init_traps): Register trap_rtx as a GC root.
13080
13081 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13082
13083         * config/mips/mips.c (function_arg_pass_by_reference): Define
13084         unconditionally, since it's called unconditionally.
13085
13086 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
13087
13088         * toplev.c (documented_lang_options): Add -fshort-wchar.
13089         * c-decl.c (c_decode_option): Likewise.
13090         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
13091         for wchar_t.
13092         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
13093         * gcc.c (default_compilers): If -fshort-wchar,
13094         override __WCHAR_TYPE__.
13095         * tm.texi (C Dialect Options): Add -fshort-wchar.
13096
13097         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
13098         symbol for a variable.
13099
13100         * cpplib.h (CPP_PREPROCESSED): New macro.
13101         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
13102         we're seeing this input for a second time.
13103
13104 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
13105
13106         * emit-rtl.c (init_emit_once): Initialize modes first.
13107
13108 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
13109
13110         * config/i386/i386.c (pic_label_name): Change to char pointer.
13111         (global_offset_table): New variable.
13112         (load_pic_register): Fill global_offset_table if it hasn't
13113         already been done.  Allocate pic_label_name dynamically.
13114         * ggc.h (empty_string): New variable.
13115         * ggc-simple.c (empty_string): Likewise.
13116         (init_ggc): Allocate empty_string and add as root.
13117         * stmt.c (digit_strings): New variable.
13118         (init_stmt): Add last_block_end_note as root.  Allocate and
13119         initialize digit_strings.
13120         (expand_asm_operands): Use empty_string instead of string
13121         constant.  Use digit_strings instead of string constants.
13122         * profile.c (init_arc_profiler): Allocate string with
13123         ggc_alloc_string instead of xmalloc.
13124         (output_func_start_profiler): Likewise.
13125         * c-typeck.c (digest_init): Check if init is error_mark_node.
13126
13127 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
13128                           Richard Henderson  <rth@cygnus.com>
13129
13130         * ggc-page.c: New file.
13131         * Makefile.in (ggc-page.o): New.
13132
13133 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
13134
13135         * invoke.texi: Document -fdelete-null-pointer-checks
13136         * toplev.c (flag_delete_null_pointer_checks): New.
13137         (f_options): Add entry for -fdelete-null-pointer-checks.
13138         (rest_of_compilation): Conditionalize null pointer check
13139         elimination on flag_delete_null_pointer_checks.
13140         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
13141
13142 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
13143
13144         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
13145         copyright notice and special exception to GPL.
13146
13147 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13148
13149         * abi64.h (mips_function_value): Add prototype arguments.
13150
13151         * mips-protos.h: New file with mips prototypes.
13152
13153         * mips.c: Include "tm_p.h".
13154         (mktemp, lookup_name): Add prototype arguments.
13155         (extern_list, string_constant, mips_fill_delay_slot,
13156         mips_output_external, mips_output_external_libcall,
13157         mips_output_filename, mips_declare_object, function_prologue,
13158         mips_expand_prologue, function_epilogue, mips16_constant,
13159         build_mips16_function_stub, mips_output_conditional_branch):
13160         Constify a char*.
13161         (mips_va_start): Remove unused variable `u'.
13162         (mips_va_arg): Cast value to unsigned when comparing against one.
13163         (trace): Delete.
13164         (save_restore_insns, mips_expand_prologue): Add missing arg in
13165         call to `large_int'.
13166
13167         * mips.h: Move prototypes to mips-protos.h.
13168         (data_section, memory_address_p, rdata_section,
13169         readonly_data_section, simple_epilogue_p, text_section): Delete
13170         prototypes delcared elsewhere.
13171         (mips_epilogue_delay_slots, print_options): Delete unused decls.
13172         (trace): Delete.
13173         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
13174
13175         * mips.md: Delete extra args in call to `mips_move_2words'.
13176
13177         * xm-iris6.h (alloca): Add prototype argument.
13178
13179         * genpeep.c: Include "tm_p.h" in generated output file.
13180
13181 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13182
13183         * basic-block.h (find_edge_index): Change parameters.
13184         * flow.c (verify_edge_list): Pass basic_block parameters to
13185         find_edge_index instead of integers.
13186
13187 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
13188
13189         * combine.c (simplify_comparison): Use an unsigned shift to adjust
13190         the constant.
13191
13192 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
13193
13194         * gcc.1: Fix a formatting error.
13195
13196 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13197
13198         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
13199         i786, mn10200, mn10300, pdp11, v850.
13200
13201 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
13202
13203         * libgcc2.c (num_digits): Add prototype with
13204         __attribute__((const)).
13205         (__terminate): Add prototype.
13206
13207 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
13208
13209         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
13210
13211         * alpha/alpha.c (print_operand): Fix type of `code'.
13212         (alpha_output_filename): Constify.
13213         * alpha/alpha.h: Move all function declarations ...
13214         * alpha/alpha-protos.h: ... here.  New file.
13215         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
13216         (SECTION_FUNCTION_TEMPLATE): Likewise.
13217
13218 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13219
13220         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
13221         * expr.c (expand_expr): Likewise.
13222         (do_jump): Likewise.
13223         (do_store_flag): Pass ccp_store_flag to can_compare_p.
13224         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
13225         accessor macros.
13226         (enum can_compare_purpose): New.
13227         (can_compare_p): Adjust prototype.
13228         (prepare_cmp_insn, prepare_operand): Declare.
13229         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
13230         * optabs.c (cmp_available_p): Deleted.
13231         (expand_abs): Pass ccp_jump to can_compare_p.
13232         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
13233         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
13234         Call can_compare_p rather than cmp_available_p.
13235         (prepare_operand): No longer static.
13236         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
13237         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
13238         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
13239         sequence to use emit_cmp_and_jump_insns.
13240         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
13241
13242 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
13243
13244         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
13245         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
13246         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
13247         (plus (reg) (const_int 0))
13248         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
13249
13250 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
13251
13252         * rs6000.c (expand_block_move): DImode loads and stores require
13253         word-aligned displacements.  Increment address registers with
13254         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
13255
13256 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
13257
13258         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
13259         is no name for the base type, rather than segfault.  If we are
13260         writing out a complex integer type, use DW_ATE_lo_user.
13261
13262         * expr.c (emit_move_insn_1): If we are copying a complex that fits
13263         in one word or less (complex char, complex short, or on 64 bit
13264         systems complex float) to/from a hard register, copy it through
13265         memory instead of dying in gen_{real,imag}part.  If we have a
13266         short complex type, prevent inlining since it allocates stack
13267         memory.
13268
13269         * tree.c (build_complex_type): If we are writing dwarf2 output,
13270         generate a name for complex integer types.
13271
13272 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13273
13274         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
13275         * flow.c (remove_edge): Remove extra whitespace.
13276         (remove_fake_edges): Fix comment.
13277         (add_noreturn_fake_exit_edges): Use the correct name.
13278
13279 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
13280
13281         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
13282         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
13283         (clean): Depend on INTL_CLEAN.
13284         (maintainer-clean): Adjust.
13285
13286 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13287
13288         * configure.in (AC_PREREQ): Bump to 2.13.
13289         (AC_C_STRINGIZE): Call this instead of using a custom macro.
13290
13291         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
13292
13293         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
13294
13295         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
13296
13297         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
13298         (HAVE_STRINGIZE): Define.
13299
13300 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
13301
13302         * c-parse.in: save and restore warn_pointer_arith on __extension__
13303         along with pedantic.
13304         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
13305         Set the type of extension to itype rather than $<itype>1 kludge.
13306         * extend.texi (Alternate Keywords): Adjust documentation.
13307         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
13308
13309 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
13310
13311         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
13312         most assembler templates.
13313
13314         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
13315         FP loads and stores.
13316         (following_call): Always return zero for the PA8000.
13317         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
13318         FP loads and stores.
13319         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
13320
13321         * pa.h (BRANCH_COST): Define.
13322
13323         * pa.md (return, return_internal): Use bve for PA2.0.
13324
13325         * pa.md (fused multiply): Add variants which reduce height for the
13326         fused multiply, but which still generate 2 insns.
13327         (fnegabs): Similarly.
13328
13329         * pa.md (subsi3): Turn into an expander.  Create two anonymous
13330         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
13331         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
13332
13333         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
13334         for TARGET_PA_20.
13335         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
13336         code generation.
13337         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
13338         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
13339
13340         * regclass.c (init_regs): Add "top_of_stack" as a garbage
13341         collection root.
13342
13343         * flow.c (record_active_eh_regions): Terminate loop after finding
13344         the last insn in the last basic block.
13345
13346 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13347
13348         * config/c4x/c4x.md: Delete parallel instruction peepholes.
13349
13350 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13351
13352         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
13353
13354 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13355
13356         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
13357         splitting to not use output template.
13358
13359 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13360
13361         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
13362         * config/c4x/c4x.c (c4x_va_start): New function.
13363
13364 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
13365
13366         * genrecog.c (not_both_true): Handle correctly cases when called for
13367         tests with different positions in the insn.
13368
13369 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13370
13371         * machmode.h (HOST_PTR_PRINTF): Move from here ...
13372
13373         * system.h (HOST_PTR_PRINTF): ... to here.
13374
13375         * mips-tfile.c: Don't include machmode.h.
13376
13377         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
13378         (mips-tfile.o): Don't depend on machmode.h.
13379
13380 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13381
13382         * haifa-sched.c (sched_analyze): Rename local variable `region' to
13383         avoid conflicts with typedef struct `region' at the top level scope.
13384
13385 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
13386
13387         * basic-block.h (basic_block): Add eh_beg, eh_end.
13388         * flow.c (entry_exit_blocks): Update.
13389         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
13390         Call new functions.
13391         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
13392         lists.c functions to allocate insn lists.
13393         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
13394         edge creation ...
13395         (make_eh_edge): ... here.  New.
13396         (move_stray_eh_region_notes): New.
13397         (record_active_eh_regions): New.
13398         (delete_unreachable_blocks): Split out block merging ...
13399         (try_merge_blocks): ... here.  New.
13400         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
13401         Dump debugging data.
13402         (merge_blocks_move_successor_nojumps): Likewise.
13403         (merge_blocks): Use eh_beg+eh_end to validate block movement.
13404
13405 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13406
13407         * extend.texi (Bound member functions): Document unbound pmf
13408         conversion.
13409
13410 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13411
13412         * flow.c (split_edge): Handle insertion on a fallthrough edge which
13413         has the EXIT_BLOCK as a dest.
13414
13415 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13416
13417         * flow.c (remove_edge): New function to remove an edge from the
13418         flow graph.
13419         (remove_fake_successors): New function to remove fake successor edges.
13420         (remove_fake_edges): New function to remove all fake edges from the
13421         flow graph.
13422         (add_fake_exit_edges): New function to add fake edges from all blocks
13423         with no successors to the exit block.
13424         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
13425         prototypes for new functions.
13426
13427 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13428
13429         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
13430         Use Pmode to determine whether to output .dword or .word.
13431
13432 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
13433
13434         * tree.c (built_in_filename): New variable.
13435         (BUILT_IN_FILENAME): New macro.
13436         (init_tree_codes): Allocate built_in_filename.
13437         (make_node): Use built_in_filename instead of string constant.
13438
13439 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
13440
13441         * configure.in: Add fr30 target.
13442         * configure: Regenerate.
13443         * config/fr30: New directory.
13444         * config/fr30/crti.asm: New file.
13445         * config/fr30/fr30.c: New file.
13446         * config/fr30/crtn.asm: New file.
13447         * config/fr30/fr30.h: New file.
13448         * config/fr30/fr30.md: New file.
13449         * config/fr30/lib1funcs.asm: New file.
13450         * config/fr30/t-fr30: New file.
13451         * config/fr30/xm-fr30.h: New file.
13452
13453 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
13454
13455         * flow.c (merge_blocks_move_successor_nojumps): Delete the
13456         BARRIER at the end of the successor, not the BARRIER before
13457         the successor.
13458
13459         * pa.c (pa_add_gc_roots): Fix thinko in last change.
13460
13461 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
13462
13463         * stmt.c (any_pending_cleanups): Don't crash when
13464         current_function->stmt is unset.
13465
13466 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13467
13468         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
13469         other initializations that may use it for relative offsets.
13470
13471 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13472
13473         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
13474         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
13475         * config/i386/sol2dbg.h: Removed.
13476         * config/i386/sol2gas.h: New file, to enable gas work-around.
13477         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
13478         Don't use sol2dbg.h.
13479         * configure: Rebuilt.
13480
13481 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
13482
13483         * invoke.texi (-fthis-is-variable): Remove documentation.
13484
13485 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
13486
13487         * basic-block.h (compute_bb_for_insn): Declare.
13488         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
13489         to use; set size of basic_block_for_insn directly.
13490         (find_basic_blocks): Update.
13491
13492 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13493
13494         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
13495
13496 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13497
13498         * crtstuff.c (ON_EXIT): Delete empty macro definition.
13499         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
13500
13501 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
13502
13503         * c-decl.c (c_decode_option): Extend comment.
13504
13505 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
13506
13507         * toplev.c (progname): Make 'const char *'
13508         (flag_print_mem): Move out of main.
13509         (version_flag): Move out of main.
13510         (filename): Move out of main.
13511         (debug_args): Remove g prefix from options.
13512         (documented_lang_options): Remove cpplib specific options.
13513         (display_help): Add g prefix to debug options.
13514         (check_lang_option): Delete this function.
13515         (decode_d_option): New function: Decode -d... option.
13516         (decode_f_option): New function: Decode -f... option.
13517         (decode_W_option): New function: Decode -W... option.
13518         (decode_g_option): New function: Decode -g... option.
13519         (independent_decode_option): New function: Decode a language
13520         independent command line option.
13521         (main): Invoke lang_decode_option and then
13522         independent_decode_option on each command line option in
13523         turn.
13524
13525 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
13526
13527         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
13528          * fold-const.c (fold_range_test): Do not try to fold the range
13529          test if the rhs or lhs has side effects.
13530
13531         * basic-block.h (compute_flow_dominators): Declare.
13532
13533         * gcse.c (alloc_code_hoist_mem): New function.
13534         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
13535         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
13536         (hoist_code, one_code_hoisting_pass): Likewise.
13537         (gcse_main): If optimizing for size, then hoist expressions
13538         computed in multiple dominated basic blocks.
13539
13540         * gcse.c (invalid_nonnull_info): New function.
13541         (delete_null_pointer_checks): Likewise.
13542         * rtl.h (delete_null_pointer_checks): Declare.
13543         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
13544
13545         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
13546         (merge-blocks_move_successor_nojumps): Likewise.
13547         (merge_blocks): Allow merging of some blocks, even if it requires
13548         physical movement of the blocks, but not if it requires new jumps.
13549
13550         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
13551         Callers and prototype changed.
13552         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
13553
13554 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13555
13556         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
13557         -YP when both -p and -pg are present.  From i386/sol2.h.
13558
13559 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13560
13561         * Makefile.in (distclean): Delete tm_p.h.
13562         * configure.in: Create a new file, "tm_p.h", from a list in
13563         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
13564         "i386/i386-protos.h".
13565
13566         * alias.c: Include "tm_p.h".
13567         * c-typeck.c: Likewise.
13568         * calls.c: Likewise.
13569         * cse.c: Likewise.
13570         * emit-rtl.c: Likewise.
13571         * explow.c: Likewise.
13572         * expmed.c: Likewise.
13573         * expr.c: Likewise.
13574         * final.c: Likewise.
13575         * flow.c: Likewise.
13576         * fold-const.c: Likewise.
13577         * function.c: Likewise.
13578         * gcse.c: Likewise.
13579         * global.c: Likewise.
13580         * haifa-sched.c: Likewise.
13581         * integrate.c: Likewise.
13582         * jump.c: Likewise.
13583         * local-alloc.c: Likewise.
13584         * loop.c: Likewise.
13585         * optabs.c: Likewise.
13586         * recog.c: Likewise.
13587         * reg-stack.c: Likewise.
13588         * regclass.c: Likewise.
13589         * regmove.c: Likewise.
13590         * reload.c: Likewise.
13591         * reload1.c: Likewise.
13592         * reorg.c: Likewise.
13593         * resource.c: Likewise.
13594         * stmt.c: Likewise.
13595         * stor-layout.c: Likewise.
13596         * toplev.c: Likewise.
13597         * tree.c: Likewise.
13598         * unroll.c: Likewise.
13599         * genattrtab.c (main): Make generated file include "tm_p.h".
13600         * genemit.c (main): Likewise.
13601         * genoutput.c (main): Likewise.
13602         * genrecog.c (main): Likewise.
13603
13604         * i386.h: Delete all prototypes.
13605         * i386.c: Include "tm_p.h".
13606         (ix86_attr_length_default): Call constant_call_address_operand
13607         with correct number of arguments.
13608         * i386-protos.h: New file.
13609         * i386.md (unnamed patterns): Call constant_call_address_operand
13610         with correct number of arguments.
13611         (exception_receiver): Call load_pic_register with correct number
13612         of arguments.
13613
13614 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
13615
13616         * c-pragma.c (mark_align_stack): Dereference the void* properly.
13617
13618 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
13619
13620         * rtl.h (insns_safe_to_move_p): New function.
13621         * loop.c (find_and_verify_loops): Use it.
13622         * rtlanal.c (insns_safe_to_move_p): Define it.
13623
13624 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
13625
13626         * c-pragma.c: Include ggc.h.
13627         * Makefile.in (c-pragma.o): Update.
13628
13629 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13630
13631         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
13632         (LIB_SPEC): Likewise.
13633         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
13634         Reindent -YP/-p/-pg.
13635         Copied from config/sparc/sol2.h.
13636
13637 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
13638
13639         * c-pragma.c (mark_align_stack): New.
13640         (init_pragma): New.
13641         * c-pragma.h (init_pragma): Declare it.
13642         * c-lex.c (init_parse): Call it.
13643
13644 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13645
13646         * configure.in: Pick up thread library on Solaris/x86 just
13647         like on Solaris/sparc.
13648         * configure: Rebuilt.
13649
13650 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
13651
13652         * rtl.h (global_rtx_index): New enum.
13653         (global_rtl): Change to array of rtx.
13654         (pc_rtx, cc0_rtx): Redefine accordingly.
13655         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
13656         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
13657         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
13658         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
13659         (const_int_rtx): Change to array of rtx.
13660         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
13661         accordingly.
13662         * emit-rtl.c (global_rtl): Change to array of rtx.
13663         (const_int_rtx): Change to aray of rtx.
13664         (gen_rtx_CONST_INT): Redefine accordingly.
13665         (init_emit_once): Allocate and initialize global_rtl.  Likewise
13666         for const_int_rtx.  Add both as GC roots.
13667         * genattrtab.c (global_rtl): Update declaration.
13668
13669 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
13670
13671         * Makefile (USER_H): Add iso646.h back.
13672
13673 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
13674
13675         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
13676         zapping the LOG_LINKS of sched_before_next_call.
13677
13678         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
13679         * pa.c (insn_refs_are_delayed): Renamed from
13680         insn_sets_and_refs_are_delayed.
13681
13682 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
13683
13684         * functiion.h (struct function): Add x_whole_function_mode_p.
13685         (retrofit_block): Declare.
13686         * function.c (retrofit_block): New function.
13687         (identify_blocks): Add assertions.  Allow an incomplete set of
13688         block notes if we're still generating code for the function.
13689         * integrate.c: Include loop.h.
13690         (expand_inline_function): Call find_loop_tree_blocks to map block
13691         notes to blocks when in whole-function mode.  Use retrofit_block
13692         to insert new BLOCKs for the inlined function, rather than
13693         insert_block.
13694         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
13695         * Makefile.in (integrate.o): Depend on loop.h.
13696
13697 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
13698
13699         * tree.h (warn_about_unused_variables): Declare.
13700         * stmt.c (warn_about_unused_variables): New function, split out
13701         from ...
13702         (expand_end_bindings): Here.
13703
13704 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
13705
13706         * stmt.c (preserve_subexpressions_p): Don't crash when
13707         current_function->stmt is unset.
13708
13709 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
13710
13711         * stmt.c (expand_start_bindings): Allow callers to pass a flag
13712         indicating that no NOTE_INSN_BLOCK_BEG note is required.
13713         (expand_start_target_temps): Use it.
13714         * except.c (expand_eh_region_start_for_decl): Likewise.
13715         * expr.c (expand_expr): Likewise.
13716
13717 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
13718
13719         * fold-const.c (operand_equal_p): Pay attention to side effects.
13720
13721 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
13722
13723         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
13724         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
13725
13726         * tlink.c (scan_linker_output): Look for keywords before accepting
13727         a mangled name in quotes.
13728
13729 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
13730
13731         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
13732         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
13733
13734 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
13735
13736         * alpha.md: Revert Thu Nov 26 change that came in through the
13737         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
13738         Avoid earlyclobber when possible.
13739
13740 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13741
13742         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
13743
13744         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
13745         Define HAVE_ON_EXIT.
13746
13747 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13748
13749         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
13750         CTYPE_CONV in all ctype macros.
13751
13752         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
13753         from system.h.
13754
13755         * cexp.y (initialize_random_junk): Likewise.
13756
13757         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
13758
13759         * i370.c (handle_pragma): Likewise.
13760
13761         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
13762
13763         * v850.c (override_options): Likewise.
13764
13765         * doprint.c (_doprnt): Likewise.
13766
13767         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
13768         Likewise.
13769
13770         * fixinc/server.c (load_data): Likewise.
13771
13772         * fold-const.c (real_hex_to_f): Likewise.
13773
13774         * genattr.c (write_upcase, gen_attr): Likewise.
13775
13776         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
13777         write_upcase): Likewise.
13778
13779         * genemit.c (print_code): Likewise.
13780
13781         * genopinit.c (gen_insn): Likewise.
13782
13783         * genpeep.c (print_code): Likewise.
13784
13785         * genrecog.c (print_code): Likewise.
13786
13787         * optabs.c (init_libfuncs): Likewise.
13788
13789 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
13790
13791         * haifa-sched.c (sched_analyze): Keep the list of notes organized
13792         in pairs.
13793         (reemit_notes): Likewise.
13794
13795 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
13796
13797         * ggc.h (ggc_root): Move to ggc-common.c.
13798         (roots): Remove.
13799         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
13800         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
13801         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
13802         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
13803         * ggc-common.c (ggc_root): Move from ggc.h.
13804         (roots): Declare, static.
13805         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
13806         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
13807         null or check/set mark bit.
13808         (ggc_mark_roots): New.
13809         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
13810
13811 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
13812
13813         * m32r.c: Include toplev.h.
13814         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
13815         (gen_compare): Rename swap_p to must_swap to match uses.
13816         Add default abort case.
13817         (m32r_output_function_epilogue): Remove unused variables.
13818         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
13819         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
13820         define to empty parameter list.  Update all uses.
13821         (predicate decls): Use enum machine_mode not int.
13822         * m32r.md (movsi): Call abort, not fatal_insn.
13823         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
13824
13825 1999-09-14  Andrew Haley  <aph@cygnus.com>
13826
13827         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
13828         use $0 instead of 0.
13829
13830 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13831
13832         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
13833         computation out of loop over hard regs.
13834
13835 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
13836
13837         * function.c (identify_blocks): Don't shadow a variable in an
13838         outer scope.
13839         * integrate.c (integrate_decl_tree): Don't use pushlevel,
13840         pushdecl, or poplevel to build up the new BLOCK tree.
13841         (expand_inline_function): Likewise.
13842         (integrate_parm_decls): Likewise.
13843
13844 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
13845
13846         * c-typeck.c (qualify_type): Merge qualifiers from both types.
13847
13848 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
13849
13850         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
13851         * invoke.texi: Document this change.
13852
13853 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
13854
13855         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
13856         Free the struct.
13857         (mark_emit_status): Renamed from mark_emit_state.
13858         * except.c (mark_eh_status): Renamed from mark_eh_state.
13859         Check not null before marking.
13860         (free_eh_status): New.
13861         * expr.c (mark_expr_status, free_expr_status): New.
13862         * function.c (free_machine_status): New.
13863         (free_after_parsing): New.
13864         (free_after_compilation): Move bits to free_after_parsing; call
13865         free_eh_status, free_expr_status; zero the marked members of the
13866         function state.
13867         (prepare_function_start): No can_garbage_collect.
13868         Call init_eh_for_function.
13869         (expand_dummy_function_end): Free up current_function state.
13870         (mark_function_status): Renamed from mark_function_state.
13871         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
13872         * function.h (struct function): No can_garbage_collect.
13873         (free_machine_status, free_after_parsing): Declare.
13874         (free_eh_status, free_expr_status): Declare.
13875         * ggc.h (mark_expr_status): Declare.
13876         * stmt.c (free_stmt_status): Free the struct.
13877         (mark_stmt_status): Renamed from mark_stmt_state.
13878         (init_stmt): Don't call init_eh.
13879         (init_stmt_for_function): Don't call init_eh_for_function.
13880         * toplev.c (compile_file): Call init_eh.
13881         (rest_of_compilation): Free basic block info before ggc_collect.
13882         Call free_after_parsing; conditionally call free_after_compilation.
13883         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
13884         Check not null before marking.
13885         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
13886
13887 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
13888
13889         * c-lex.c (yylex): Initialize warn.
13890
13891 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
13892
13893         * pa.c (emit_move_sequence): Properly set the mode of the scratch
13894         register when performing secondary reloads for the SAR register.
13895
13896 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
13897
13898         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
13899         (NOTE_BLOCK): New macro.
13900         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
13901         * function.h (identify_blocks): Change prototype.
13902         * function.c (identify_blocks): Simplify.
13903         (reorder_blocks): Likewise.
13904         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
13905         NOTE_INSN_BLOCK_{BEG,END}.
13906         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
13907         the list of saved notes if the note isn't a
13908         NOTE_INSN_BLOCK_{BEG,END}.
13909         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
13910         NOTE_BLOCK_NUMBER.
13911         (reemit_notes): Adjust recreation of notes to reflect new saved
13912         note structure.
13913         * print-rtl.c (print_rtx): Print the address of the BLOCK when
13914         printing a block note.
13915         * stmt.c (block_vector): Remove.
13916         (find_loop_tree_blocks): Simplify.
13917         (unroll_block_trees): Likewise.
13918         * tree.h (reorder_block): Change prototype.
13919
13920 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
13921
13922         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
13923         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
13924         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
13925         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
13926         (atexit, exit): Simplify.
13927         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
13928         * config/lots: Remove defns of HAVE_ATEXIT.
13929
13930 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
13931
13932         * calls.c (precompute_arguments): Fix typo in comment.
13933         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
13934         TARGET_EXPR.
13935
13936 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
13937
13938         * dsp16xx.c (override_options): Fix typos in GC root registration.
13939
13940 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
13941
13942         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
13943         from config/svr4.h.
13944         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
13945         (FUNCTION_PROFILER): Redefine appropriately for Linux.
13946         (CC1_SPEC): Likewise.
13947
13948 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13949
13950         * genattr.c (main): Add extern prototype.  Call return, not exit.
13951         * genattrtab.c (main): Likewise.
13952         * gencheck.c (main): Likewise.
13953         * gencodes.c (main): Likewise.
13954         * genconfig.c (main): Likewise.
13955         * genemit.c (main): Likewise.
13956         * genextract.c (main): Likewise.
13957         * genflags.c (main): Likewise.
13958         * gengenrtl.c (main): Likewise.
13959         * genopinit.c (main): Likewise.
13960         * genoutput.c (main): Likewise.
13961         * genpeep.c (main): Likewise.
13962         * genrecog.c (main): Likewise.
13963
13964         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
13965         * genattrtab.c (get_insn_name): Likewise.
13966         * gencodes.c (get_insn_name): Likewise.
13967         * genconfig.c (get_insn_name): Likewise.
13968         * genemit.c (get_insn_name): Likewise.
13969         * genextract.c (get_insn_name): Likewise.
13970         * genflags.c (get_insn_name): Likewise.
13971         * genopinit.c (get_insn_name): Likewise.
13972         * genpeep.c (get_insn_name): Likewise.
13973
13974         * gencheck.c (usage): Add static prototype.
13975         * genextract.c (print_path): Constify a char*.
13976         * genopinit.c (optabs): Likewise.
13977         * genoutput.c (operand_data, data, output_predicate_decls,
13978         compare_operands): Likewise.
13979         * genrecog.c (write_tree): Add default case in switch.
13980
13981 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13982
13983         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
13984
13985         * print-rtl.c (get_insn_name): Remove prototype.
13986
13987         * toplev.h (progname): Declare const.
13988
13989         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
13990         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
13991         dump_sched_info, dump_local_alloc, regset_release_memory,
13992         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
13993         error_with_file_and_line, error_with_decl, error_for_asm, error,
13994         fatal, warning_with_file_and_line, warning_with_decl, warning,
13995         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
13996         Remove redundant prototypes.
13997
13998         (notice, check_lang_option, report_file_and_line, vnotice,
13999         mark_file_stack): Add static prototype.
14000         (set_fatal_function): Add prototype.
14001         (vnotice, report_file_and_line, set_fatal_function,
14002         check_lang_option): Constify a char*.
14003         (main): Prototype.  Call return, not exit.
14004
14005 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14006
14007         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
14008
14009         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
14010
14011         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
14012
14013         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
14014
14015 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14016
14017         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
14018         behave as if it's zero in all cases.
14019         (expand_function_start): Adjust call to assign_parms.
14020         * tree.h (assign_parms): Adjust prototype.
14021         * objc/objc-act.c (hack_method_prototype): Adjust call to
14022         assign_parms.
14023
14024 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
14025
14026         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
14027         arg_pointer_rtx fixed if the argument pointer register is
14028         not fixed.
14029         (NONZERO_BASE_PLUS_P): Likewise.
14030
14031 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
14032
14033         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
14034         match_insn2 to match_insn.
14035         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
14036
14037 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
14038
14039         * Makefile.in (USER_H): Remove va-foo.h.
14040
14041         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
14042         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
14043         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
14044         va-spur.h,va-v850.h}: Remove.
14045
14046 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
14047
14048         * sparc/sparc.md (eligible_for_return_delay): New attribute.
14049         (in_return_delay): Use it instead of match_insn.
14050
14051 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14052
14053         * config/alpha/va_list.h (va-alpha.h): Do not include.
14054         (__gnuc_va_list): Typedef as in varargs.h.
14055
14056 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
14057
14058         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
14059         DECL_LIVE_RANGE_RTL.
14060
14061 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
14062
14063         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
14064         not NOTE_BLOCK_NUMBER.
14065         (expand_eh_region_end): Likewise.
14066         (find_exception_handler_labels): Likewise.
14067         (scan_region): Likewise.
14068         (exception_optimize): Likewise.
14069         (update_rethrow_references): Likewise.
14070         (set_insn_eh_region): Likewise.
14071         * final.c (final_scan_insn): Likewise.
14072         * flow.c (make_edges): Likewise.
14073         * integrate.c (expand_inline_function): Likewise.
14074         * print-rtl.c (print_rtx): Likewise.
14075
14076 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
14077
14078         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
14079         terms of builtin functions and types.
14080
14081         * mips.c (mips_build_va_list): New.
14082         (mips_va_start, mips_va_arg): New.
14083         * mips.h (BUILD_VA_LIST_TYPE): New.
14084         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
14085
14086         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
14087         (sh_build_va_list, sh_va_start, sh_va_arg): New.
14088         * sh.h (BUILD_VA_LIST_TYPE): New.
14089         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
14090
14091 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
14092
14093         * recog.h (struct recog_data): Make dup_num, operand_address_p,
14094         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
14095         (struct insn_data): Likewise with n_operands, n_dups,
14096         n_alternatives, output_format.
14097         * regclass.c (scan_one_insn): Cast n_operands to int before
14098         arithmetic inside comparison.
14099
14100 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
14101
14102         * toplev.c (compile_function): Unconditionally emit nop.
14103
14104 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14105
14106         * haifa-sched.c (actual_hazard): Move declaration of variable
14107         `this_cost' into the scope where it is used.
14108
14109 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14110
14111         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
14112         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
14113         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
14114
14115         * genrecog.c (make_insn_sequence): Call memset, not bzero.
14116
14117         * jump.c (find_insert_position): Don't declare or define unless
14118         !HAVE_conditional_arithmetic.
14119         (returnjump_p_1, delete_prior_computation): Add static prototypes.
14120
14121         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
14122
14123         * recog.c (offsettable_address_p): Prototype function pointer.
14124         (preprocess_constraints): Call memset, not bzero.
14125
14126         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
14127         (gcc_obstack_init): Don't declare.
14128         (fix_sizetype): Add static prototype.
14129         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
14130         (tree_cons): Call memset, not bzero.
14131
14132         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
14133         definition in macro ASM_WEAKEN_LABEL.
14134         (mark_const_hash_entry): Add static prototype.
14135
14136 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14137
14138         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
14139
14140         * unroll.c (find_common_reg_term, subtract_reg_term,
14141         loop_find_equiv_value): Add static prototypes.
14142         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
14143         (copy_loop_body): Remove unreachable break statement.
14144
14145         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
14146
14147         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
14148
14149 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14150
14151         Undo some changes from the gcc2 merge:
14152         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
14153         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
14154         pointers.
14155
14156         Undo this change:
14157         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
14158         * emit-rtl.c (gen_lowpart_common): Disable optimization of
14159         initialized float-int union if the value is a NaN.
14160
14161 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14162
14163         * gthr-win32.h: New file.
14164
14165         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
14166         shared as a valid attribute.
14167         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
14168         * extend.texi: Document `shared' variable attribute.
14169
14170 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
14171
14172         * configure.in: Handle --enable-threads on FreeBSD.
14173         * configure: Rebuit.
14174
14175 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
14176
14177         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
14178         thread support.
14179         * configure: Rebuilt.
14180
14181 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
14182                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
14183                           Rosimildo DaSilva <rdasilva@connecttel.com>
14184
14185         * configure.in (m68k-*-rtemscoff*): Added.
14186         * configure.in (mips64orion-*-rtems*): Converted to ELF.
14187         * configure.in (sparc-*-rtemsaout*): Added as alias for old
14188         sparc-rtems configuration.
14189         * configure.in (sparc-*-rtemself*): Added.
14190         * configure.in (sparc-*-rtems*): Now ELF not a.out.
14191         * config/i386/rtems.h: Added comment.
14192         * config/sparc/rtemself.h: New file.
14193
14194         * configure.in (m68k-rtemself): Added.
14195         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
14196         and DWARF_DEBUGGING_INFO.
14197         * config/m68k/crti.s: New file.
14198         * config/m68k/crtn.s: New file.
14199         * config/m68k/t-crtstuff: New file.
14200         * config/m68k/rtemself.h: New file.
14201
14202         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
14203         global ctor/dtor and C++ exception handling.
14204         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
14205         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
14206         ENDFILE_SPEC.
14207         * config/i386/t-rtems-i386: New File.
14208
14209 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
14210
14211         * stmt.c (expand_end_case): Return right away if the case stack is
14212         empty.
14213
14214 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
14215
14216         * Makefile.in (version.c): Remove rule incorrectly brought in from
14217         the gcc2 merge.
14218
14219 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
14220
14221         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
14222         * msdos/top.sed:  Take into account a prepended $(SHELL) to
14223         move-if-change.
14224         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
14225
14226         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
14227
14228 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14229
14230         * regmove.c (fixup_match_1): Don't change an unchanging register.
14231         (stable_but_for_p): Renamed to:
14232         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
14233         Changed all callers.
14234
14235 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
14236
14237         * loop.c (strength_reduce): Don't call reg_used_between_p if the
14238         insn from BL2 is after the insn from BL.
14239
14240 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
14241
14242         * recog.h (INSN_OUTPUT_FORMAT_*): New.
14243         (struct insn_data): Merge `template' and `outfun' into `output'.
14244         Add `output_format'.
14245         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
14246         (struct data): Remove `outfun'; add `output_format'.
14247         (name_for_index): Remove declaration.
14248         (output_insn_data): Handle output formats.
14249         (process_template): Emit the bare array for @.
14250         (gen_expand, gen_split): Set output_format to NONE.
14251         * output.h (get_insn_template): Declare.
14252         * final.c (get_insn_template): New.
14253         (final_scan_insn): Use it.
14254         * toplev.c (compile_file): Likewise.
14255
14256         * c4x/c4x.c (c4x_process_after_reload): Likewise.
14257         * i860/i860.c (output_delayed_branch): Likewise.
14258         (output_delay_insn): Likewise.
14259
14260 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14261
14262         * rtl.c (obstack_alloc_rtx): Removed.
14263
14264 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
14265
14266         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
14267
14268 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
14269
14270         * i386.c (call_insn_operand): Reject const_int.
14271         (expander_call_insn_operand): Use call_insn_operand.
14272
14273 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14274
14275         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
14276
14277 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
14278
14279         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
14280         Use DImode operation.
14281
14282 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
14283
14284         * gcc.c: Include sys/resource.h.
14285         (report_times): New flag.
14286         (execute):  If report_times is set, calculate and report the
14287         CPU time consumed by each subprocess.
14288
14289         (rus, prus): New globals.
14290         (option_map): Add --time.
14291         (display_help): Document -time.
14292         (process_command): Set report_times if -time is given.
14293         Turn off -pipe if -time is given.
14294
14295         * invoke.texi: Document new option -time.
14296
14297         * configure.in: Check for getrusage.  Check if we have to
14298         prototype getrusage.
14299         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
14300         * configure: Regenerate.
14301         * config.in: Regenerate.
14302
14303 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
14304
14305         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
14306         fields.
14307
14308 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
14309
14310         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
14311         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
14312         (nan): Return _thenan_sf or _thenan_df as appropriate.
14313         (L_thenan_sf): Define _thenan_sf.
14314         (L_thenan_df): Define _thenan_df.
14315
14316         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
14317         (DPBIT_FUNCS): Add _thenan_df.
14318
14319 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
14320
14321         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
14322         TYPE_SIZE_UNIT.
14323
14324 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14325
14326         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
14327
14328         * gcc.h: New file.
14329         (lang_specific_driver): Don't take a function pointer parameter.
14330         All callers changed.
14331
14332         * gcc.c: Include gcc.h.
14333         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
14334         lang_specific_extra_outfiles, fatal): Don't declare.
14335         (multilib_defaults_raw): Constify.
14336         (read_specs): Call memset, rather than bzero.
14337         (main): Call return, not exit.
14338         (lookup_compiler): Call memcpy, not bcopy.
14339         (fatal): Make extern.
14340
14341         * cppspec.c: Include gcc.h.
14342         (lang_specific_driver): Initialize variable `quote'.  Constify a
14343         char*.  All calls to the function pointer parameter now
14344         explicitly call `fatal'.
14345
14346         * gccspec.c (lang_specific_driver): Include gcc.h.
14347
14348 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
14349
14350         * arm.c (note_invalid_constants): Use recog_data.operand_type
14351         for recog_op_type.
14352
14353 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14354
14355         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
14356         Declare.
14357
14358         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
14359         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
14360         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
14361         reload_secondary_in_reload, reload_secondary_out_reload,
14362         reload_secondary_in_icode, reload_secondary_out_icode,
14363         reload_reg_rtx, reload_when_needed): Delete declarations.
14364         (struct reload): New structure.
14365         (rld): Declare new array.
14366         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
14367         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
14368         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
14369         reload_secondary_in_reload, reload_secondary_out_reload,
14370         reload_secondary_in_icode, reload_secondary_out_icode,
14371         reload_reg_rtx, reload_when_needed): Delete definitions.
14372         (rld): New array.
14373         (whole file): Replace uses of the deleted arrays with uses of rld.
14374         * reload1.c (whole file): Replace uses of the deleted arrays with
14375         uses of rld.
14376         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
14377         explicit loops, not with bcopy.
14378
14379 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
14380
14381         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
14382         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
14383         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
14384         insn_name): Delete and consolidate into new structures.
14385         (insn_operand_predicate_fn): New.
14386         (insn_output_fn): New.
14387         (insn_gen_fn): New.
14388         (struct insn_operand_data): New.
14389         (struct insn_data): New.
14390         (insn_data): New.
14391         (OUT_FCN): Update for insn_data change.
14392         * builtins.c (expand_builtin_strlen): Likewise.
14393         (expand_builtin_memcmp): Likewise.
14394         * combine.c (make_extraction, simplify_comparison): Likewise.
14395         * cse.c (canon_reg, cse_insn): Likewise.
14396         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
14397         * expmed.c (store_bit_field, extract_bit_field): Likewise.
14398         (emit_store_flag): Likewise.
14399         * expr.c (convert_move, emit_block_move): Likewise.
14400         (clear_storage, emit_push_insn, expand_increment): Likewise.
14401         (do_store_flag): Likewise.
14402         * expr.h (GEN_FCN): Likewise.
14403         (insn_gen_function): Die.
14404         * final.c (final_scan_insn): Update for insn_data change.
14405         (output_asm_name): Likewise.
14406         * function.c (fixup_var_refs_1): Likewise.
14407         * loop.c (check_dbra_loop): Likewise.
14408         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
14409         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
14410         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
14411         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
14412         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
14413         * regmove.c (gen_add3_insn): Likewise.
14414         * reload.c (push_secondary_reload, combine_reloads): Likewise.
14415         (find_reloads, find_reloads_address_1): Likewise.
14416         (debug_reload_to_stream): Likewise.
14417         * reload1.c (emit_reload_insns, gen_reload): Likewise.
14418         * stmt.c (expand_end_case): Likewise.
14419         * toplev.c (compile_file): Likewise.
14420
14421         * c4x/c4x.c (c4x_process_after_reload): Likewise.
14422         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
14423
14424         * print-rtl.c (insn_name_ptr): Remove declaration.
14425         (get_insn_name): Declare.
14426         (print_rtx): Use it.
14427         * genoutput.c (insn_name_ptr): Remove.
14428         (next_operand_number): New.
14429         (struct operand_data): New.
14430         (null_operand, odata, odata_end): New.
14431         (struct data): Use struct operand_data.
14432         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
14433         (get_insn_name): Renamed from name_for_index.
14434         (output_prologue): Define NO_MD_PROTOTYPES.
14435         (output_predicate_decls): Break out from output_epilogue.
14436         Iterate over the operands list.
14437         (output_operand_data): Break out from output_epilogue.  Emit
14438         just the operands list.
14439         (output_insn_data): Break out from output_epilogue.  Emit just
14440         the insn data.
14441         (output_epilogue): Remove.
14442         (output_get_insn_name): New.
14443         (constraints, op_n_alternatives, predicates, address_p): Die.
14444         (modes, strict_low, seen): Die.
14445         (scan_operands): Take new param `d' instead of writing to
14446         seven global variables.
14447         (compare_operands): New.
14448         (place_operands): New.
14449         (validate_insn_alternatives): Update for struct data change.
14450         (gen_insn): Don't zero or copy 7 global arrays.  Update for
14451         scan_operands; call place_operands.
14452         (gen_peephole, gen_expand, gen_split): Likewise.
14453         (main): Update for new output routines.
14454
14455         * genattr.c (insn_name_ptr): Remove.
14456         (get_insn_name): New function.
14457         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
14458         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
14459         * genrecog.c: Likewise.
14460
14461         * alpha.md (adddi3): Make `pattern' array static.
14462
14463 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14464
14465         * config/c4x/c4x.h (c4x_rpts_cycles_string,
14466         c4x_cpu_version_string): Constify char *.
14467         * config/c4x/c4x.c (c4x_rpts_cycles_string,
14468         c4x_cpu_version_string): Likewise.
14469
14470 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
14471
14472         * tree.c (save_tree_status): Revert 10 Sep change.
14473         (restore_tree_status): Likewise.  Call obstack_free with NULL
14474         before freeing the obstack proper.
14475
14476 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
14477
14478         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
14479
14480         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
14481         surrounding context.
14482
14483 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
14484
14485         * tree.c (type_hash_canon): Put all types in the hash-table, when
14486         GC'ing.
14487
14488 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
14489
14490         * recog.h (struct recog_data, recog_data): New.
14491         (recog_foo variables): Kill.
14492         * recog.c (recog_operand, recog_operand_loc): Kill.
14493         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
14494         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
14495         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
14496         (recog_data): Define.
14497         (extract_insn): Update all recog_foo references to use recog_data.
14498         (preprocess_constraints, constrain_operands): Likewise.
14499         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
14500         * genattrtab.c (main): Likewise.
14501         * genextract.c (main): Likewise.
14502         * genoutput.c: Likewise.
14503         * genrecog.c (write_subroutine, main): Likewise.
14504         * local-alloc.c (block_alloc): Likewise.
14505         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
14506         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
14507         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
14508         * reload.c (find_reloads, find_reloads_toplev): Likewise.
14509         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
14510         (reload_cse_simplify_operands): Likewise.
14511
14512         * arc/arc.c (arc_final_prescan_insn): Likewise.
14513         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
14514         * h8300/h8300.c (notice_update_cc): Likewise.
14515         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
14516         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
14517         * mn10200/mn10200.c (notice_update_cc): Likewise.
14518         * mn10300/mn10300.c (notice_update_cc): Likewise.
14519         * romp/romp.c (update_cc): Likewise.
14520         * sparc/sparc.c (check_pic): Likewise.
14521         * v850/v850.c (notice_update_cc): Likewise.
14522
14523         * genemit.c (main): Don't declare recog_operand.
14524
14525 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
14526
14527         * ggc.h (rtvec_def): Forward declare.
14528         (tree_node): Likewise.
14529         (ggc_root): Define.
14530         (roots): Declare.
14531         (ggc_set_mark_rtx): Add prototype.
14532         (ggc_set_mark_rtvec): Likewise.
14533         (ggc_set_mark_tree): Likewise.
14534         * ggc-simple.c (ggc_root): Don't define.
14535         (roots): Don't declare.
14536         (ggc_mark_rtx): Remove.
14537         (ggc_mark_rtvec): Likewise.
14538         (ggc_mark_tree): Likewise.
14539         (ggc_mark_varray): Likewise.
14540         (ggc_mark_tree_hash_table_entry): Likewise.
14541         (ggc_mark_tree_hash_table): Likewise.
14542         (ggc_set_mart_rtx): New function.
14543         (ggc_set_mark_rtvec): Likewise.
14544         (ggc_set_mark_tree): Likewise.
14545         (ggc_add_root): Remove.
14546         (ggc_add_rtx_root): Likewise.
14547         (ggc_remove_tree_root): Likewise.
14548         (ggc_add_string_root): Likewise.
14549         (ggc_add_tree_varray_root): Likewise.
14550         (ggc_add_tree_hash_table_root): Likewise.
14551         (ggc_del_root): Likewise.
14552         (ggc_mark_rtx_ptr): Likewise.
14553         (ggc_mark_tree_ptr): Likewise.
14554         (ggc_mark_string_ptr): Likewise.
14555         (ggc_mark_tree_varray_ptr): Likewise.
14556         (ggc_mark_tree_hash_table_ptr): Likewise.
14557         * ggc-common.c: New file.
14558         * Makefile.in (OBJS): Add ggc-common.o.
14559         (ggc-common.o): List dependencies.
14560
14561 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
14562
14563         * cppalloc.c (xstrdup): Use memcpy.
14564         * cpperror.c (cpp_print_containing_files): Don't use
14565         cpp_notice.
14566         * cpplib.c (conditional_skip): Set temp->lineno.
14567         (do_endif): Make error message less obscure.
14568         (if_directive_name): New function.
14569         (cpp_get_token [case EOF]): Unwind the if stack and generate
14570         error messages for each unterminated conditional in this file.
14571         (parse_string):  Do not behave differently if -traditional.
14572
14573 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
14574
14575         * builtins.c (expand_builtin_va_arg): Cope with an array-type
14576         va_list decomposing to pointer-type.
14577         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
14578         (rs6000_va_arg): Likewise.
14579
14580 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
14581
14582         * except.c (start_dynamic_handler): Compute size using
14583         STACK_SAVEAREA_MODE.
14584
14585 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14586
14587         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
14588         include directory headers.  Don't define strrchr.  Don't provide
14589         my_* replacement functions.  Prefer PTR over `pointer_type'.
14590         Don't prototype system functions.  Don't redefine getopt.
14591
14592         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
14593         safe_read, safe_write, save_pointers, restore_pointers,
14594         is_id_char, in_system_include_dir, directory_specified_p,
14595         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
14596         find_corresponding_lparen, referenced_file_is_newer,
14597         save_def_or_dec, munge_compile_params, gen_aux_info_file,
14598         process_aux_info_file, identify_lineno, check_source,
14599         seek_to_line, forward_to_next_token_char, output_bytes,
14600         output_string, output_up_to, other_variable_style_function,
14601         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
14602         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
14603         find_static_definition, connect_defs_and_decs, add_local_decl,
14604         add_global_decls, needs_to_be_converted, visit_each_hash_node,
14605         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
14606         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
14607         scan_for_missed_items, edit_file, string_list_cons): Add static
14608         prototypes.
14609         (standard_exec_prefix, target_machine, target_version,
14610         default_syscalls_dir, string_list, string_list_cons, find_file,
14611         do_cleaning): Constify a char*.
14612         (safe_read, safe_write): Use PTR, not a char*.
14613         (is_id_char): Take an int, not a char.
14614         (main): Add prototype.  Call return, not exit.
14615
14616 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
14617
14618         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
14619         when comparing types.
14620
14621 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
14622
14623         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
14624         (strength_reduce): Release the varrays from the no-bivs early exit.
14625
14626         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
14627         the loop over the registers.
14628
14629         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
14630         for a new obstack.
14631         (restore_tree_status): Check that instead when freeing the obstack.
14632
14633 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
14634
14635         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
14636         as pointers.
14637
14638 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14639
14640         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
14641         operand size modifiers.
14642
14643 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14644
14645         * c-common.c (c_common_nodes_and_builtins): Don't build
14646         va_list_type_node.
14647         * c-common.h (enum c_tree_index and related accesor macros): Remove
14648         everything now declared in tree.h.
14649         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
14650         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
14651         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
14652         (error_mark_node, void_type_node, char_type_node, integer_type_node,
14653         unsigned_type_node, ptr_type_node, va_list_type_node,
14654         integer_zero_node, null_pointer_node, integer_one_node): Delete.
14655         (init_decl_processing): Call build_common_tree_nodes and
14656         build_common_tree_nodes_2 instead of building their nodes here.
14657         Don't add roots for these nodes.
14658         * stor-layout.c (size_zero_node, size_one_node): Delete.
14659         (set_sizetype): Make a new node for bitsizetype each time.
14660         * tree.c (global_trees): New variable.
14661         (init_obstacks): Add a gc root for it.
14662         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
14663         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
14664         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
14665         (build_common_tree_nodes): New function.
14666         (fix_sizetype): New function.
14667         (build_common_tree_nodes_2): New function.
14668         * tree.h (enum tree_index): New.
14669         (global_trees): Declare.
14670         Add accessor macros for all nodes now moved to global_trees.
14671         Delete their declarations.
14672
14673 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
14674
14675         * c-decl.c (finish_function): When processing a nested function,
14676         push and pop GC context around rest_of_compilation.
14677
14678 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
14679
14680         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
14681         Default ix86_arch to PROCESSOR_I386.
14682         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
14683         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
14684         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
14685         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
14686         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
14687         (EXTRA_SPECS): Remove deleted specs.
14688
14689 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
14690
14691         * function.c (assign_stack_local_1): Allocate from
14692         function->x_frame_offset, not frame_offset.
14693
14694 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
14695
14696         * ggc.h (lang_cleanup_tree): Remove.
14697         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
14698         * ggc-callbacks.c (lang_cleanup_tree): Remove.
14699
14700         * c-decl.c (finish_struct): Use ggc_alloc to allocate
14701         TYPE_LANG_SPECIFIC when garbage collecting.
14702         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
14703         (lang_cleanup_tree): Remove.
14704
14705 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
14706
14707         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
14708         * crtstuff.c: Not here.
14709         * dwarf2out.c: Or here.
14710         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
14711         info.
14712
14713 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
14714
14715         * function.h (free_after_compilation): Remove decl parameter.
14716         (free_varasm_status0: Likewise.
14717         (free_emit_status): Likewise.
14718         (free_stmt_status): Likewise.
14719         (free_after_compilation): Likewise.
14720         (init_lang_status): New variable.
14721         (free_lang_status): Likewise.
14722         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
14723         * function.c (init_lang_status): New variable.
14724         (free_lang_status): Likewise.
14725         (push_function_context_to): Don't set function::decl here.
14726         (free_after_copmilation): Make decl parameter implicit.  Call
14727         free_lang_status if defined.
14728         (prepare_function_start): Call init_lang_status if defined.
14729         (init_function_start): Set function::decl here.
14730         * profile.c (output_func_start_profiler): Don't call pushdecl
14731         until we've actually started the function.
14732         * stmt.c (free_stmt_status): Make decl parameter implicit.
14733         * toplev.c (rest_of_compilation): Don't pass decl to
14734         free_after_compilation.
14735         * varasm.c (free_varasm_status): Likewise.
14736
14737 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14738
14739         * except.c (call_get_eh_context): Add root when allocating static
14740         tree variable.
14741
14742 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
14743
14744         * arm.c: Include "ggc.h".
14745         (arm_add_gc_roots): New function.
14746         (arm_override_options): Call it.
14747         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
14748
14749         * arm.md (define_asm_attributes): Add a pool_range attribute.
14750
14751 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
14752
14753         * extend.texi (Volatiles): New node.
14754
14755 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
14756
14757         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
14758         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
14759         (struct ggc_any): Replace `mark' with `magic_mark'.
14760         (ggc_alloc_string): Use memcpy, not bcopy.
14761         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
14762         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
14763         (ggc_free_any): New.
14764         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
14765         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
14766         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
14767         Use IS_MARKED. Use ggc_free_any.
14768
14769 1999-09-09  Scott Bambrough <scottb@netwinder.org>
14770
14771         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
14772
14773 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
14774
14775         * toplev.c (main): Always init_ggc.
14776
14777 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
14778
14779         * except.c (find_all_handler_type_matches): Free the list if
14780         we found no matches.
14781
14782         * combine.c (SUBST): Break out to a real function do_SUBST.
14783         (SUBST_INT): Likewise.
14784         * gcse.c (free_pre_mem): Free `temp_bitmap'.
14785         (pre_insert): Free `inserted'.
14786         * loop.c (basic_induction_var): Always set `location'.
14787
14788         * function.c (expand_function_end): Add initial_trampoline as a root.
14789         * rtl.h (init_varasm_once): Declare.
14790         * toplev.c (compile_file): Call it.
14791         * ggc-simple.c (ggc_mark_string_ptr): New.
14792         (ggc_add_string_root): New.
14793         (ggc_collect): Disable collection avoidance temporarily.
14794         * ggc.h (ggc_add_string_root): Declare.
14795         * except.c (create_rethrow_ref): Use ggc_alloc_string.
14796         * optabs.c (init_libfuncs): Likewise.
14797         * varasm.c (named_section): Use ggc_alloc_string.
14798         (make_function_rtl): Likewise.
14799         (make_decl_rtl): Likewise.
14800         (assemble_static_space): Likewise.
14801         (assemble_trampoline_template): Likewise.
14802         (output_constant_def): Likewise.
14803         (force_const_mem): Likewise.
14804         (mark_const_hash_entry): New.
14805         (mark_pool_sym_hash_table): New.
14806         (mark_varasm_state): Use it.
14807         (init_varasm_once): New.
14808
14809         * expr.h (init_one_libfunc): Declare.
14810         * optabs.c (init_one_libfunc): New.
14811         (init_optabs): Use it.
14812         * config/gofast.h: Likewise.
14813         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
14814         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
14815
14816 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
14817
14818         * Makefile.in (cppexp.o): Depend on cpphash.h.
14819         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
14820         Include cpphash.h.
14821         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
14822         * cpplib.c (do_define): Generalise to handle poisoned definitions,
14823         redefining poisoned identifiers, etc.
14824         (do_undef): Don't allow poisoned identifiers to be undefined.
14825         (do_pragma): Add #pragma poison.
14826         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
14827
14828         * cccp.c: Add T_POISON node type.
14829         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
14830         poisoned xxx.
14831         (do_define): Generalise to handle poisoned definitions,
14832         redefining poisoned identifiers, etc.
14833         (do_undef): Don't allow poisoned identifiers to be undefined.
14834         (do_pragma): Add #pragma poison.
14835         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
14836
14837         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
14838         * c-pragma.h: Add ps_poison state.  We now always have generic
14839         pragmas.
14840
14841 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
14842
14843         * ggc.h (ggc_alloc): New function.
14844         (ggc_mark): Likewise.
14845         * ggc-simple.c (ggc_any): New structure.
14846         (ggc_status): Add anys.
14847         (n_anys_collected): New variable.
14848         (ggc_alloc): Define.
14849         (ggc_mark): Likewise.
14850         (ggc_collect): Collect the anys.
14851
14852 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14853
14854         * c-decl.c (mark_binding_level): Make static to match prototype.
14855
14856 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
14857
14858         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
14859
14860 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
14861
14862         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
14863         will use into account.  Expand the max width to 5.
14864         * rtl.c: Likewise.
14865
14866 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
14867
14868         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
14869         for the rtx length.
14870
14871 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
14872
14873         * alpha.md (call value patterns): Remove the result predicates.
14874
14875 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
14876
14877         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
14878         last change.
14879
14880 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14881
14882         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
14883         changed from extern char *, to extern PTR.  Also fix typo in
14884         NEED_DECLARATION_REALLOC test.
14885
14886         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
14887
14888 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14889
14890         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
14891         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
14892         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
14893         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
14894
14895         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
14896
14897         * cccp.c (pcfinclude): Likewise.
14898
14899         * global.c (allocno_compare): Likewise.
14900
14901         * haifa-sched.c (rank_for_schedule): Likewise.
14902
14903         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
14904
14905         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
14906
14907         * stupid.c (stupid_reg_compare): Likewise.
14908
14909         * tree.c (_obstack_allocated_p): Likewise.
14910
14911         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
14912
14913 1999-09-08  Bruce Korb  autogen@linuxbox.com
14914
14915         * Makefile.in: Give the hapless gperf user a hint about
14916         why "gperf -F" fails.
14917
14918 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
14919
14920         * lists.c: Include ggc.h.
14921         (zap_lists): New.
14922         (init_EXPR_INSN_LIST_cache): Install it.
14923
14924         * ggc-simple.c (init_ggc): Absorb the old init.
14925         (ggc_push_context): Use xcalloc.
14926         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
14927         (ggc_collect): Add [rvts] tags to the collection stats.
14928
14929 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
14930
14931         * cccp.c (main): Fix handling of -include and -imacros options.
14932
14933 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
14934
14935         * cpplib.c (cpp_push_buffer): Fix order of arguments.
14936
14937 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
14938
14939         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
14940         genrtl.c.
14941
14942 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
14943
14944         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
14945         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
14946         and SET_DEST. Update comment.
14947
14948 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14949
14950         * config/c4x/c4x.c: Include ggc.h.
14951         (c4x_add_gc_roots): New function.
14952         (c4x_override_options): Call c4x_add_gc_roots.
14953
14954 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
14955
14956         * defaults.h (TARGET_ESC): Move ...
14957         * system.h: ... here, where Linas had it in the first place.  Silly me.
14958
14959 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
14960
14961         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
14962         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
14963         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
14964         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
14965         * defaults.h (TARGET_ESC): Add default.
14966
14967 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
14968
14969         * configure.in: add i370-*-openedition, i370-*-mvs and
14970         i370-*-linux targets
14971
14972 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
14973
14974         * dsp16xxx.c: Include ggc.h
14975         (override_options): Mark GC roots.
14976         * mn10200.c: Include ggc.h.
14977         (asm_file_start): Mark GC roots.
14978         * tahoe.c: Include ggc.h.
14979         (extensible_operand): Mark GC roots.
14980
14981 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
14982
14983         * README: Add section discussing status of ELF ABI.
14984         * i370.c: Fix misc spelling mistakes.
14985         (i370_label_scan): Updated notes, exception handling.
14986         (i370_function_prolog): Simplify ELF stack handling.
14987         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
14988         (STACK_GROWS_DOWNWARD): ELF stack grows down.
14989         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
14990         * i370.md: (movdi): Add notes.
14991         (floatsidf2): Use stack not rtca for scratch float area.
14992         (iorsi3): Correct operand constraints.
14993         * x-oe: Restore TAROUTOPTS which are used by pax.
14994
14995 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
14996
14997         * rs6000.c: Include ggc.h.
14998         (rs6000_add_gc_roots): New function.
14999         (override_options): Call it.
15000
15001 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
15002
15003         * alpha.h (alpha_compare): New.
15004         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
15005         * alpha.c: Likewise for the definitions.
15006         (alpha_emit_conditional_branch): Update for alpha_compare.
15007         (alpha_emit_conditional_move): Likewise.
15008         * alpha.md (cmpdf, cmpdi): Likewise.
15009         (setcc patterns): Likewise.  Zero alpha_compare after use.
15010         (sne): Optimize (x != 0) into (0U < x).
15011
15012 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
15013
15014         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
15015         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
15016         (INIT_EXPANDERS): Remove.
15017         * alpha.c: Include ggc.h.
15018         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
15019         (alpha_init_machine_status, alpha_mark_machine_status): New.
15020         (override_options): Install them.
15021         (struct machine_function): Moved to alpha.h.
15022         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
15023         (alpha_init_expanders): Remove.
15024         (alpha_return_addr): Adjust to use current_function->machine.
15025         (alpha_ra_ever_killed): Likewise.
15026         (alpha_expand_epilogue): Likewise.
15027         * alpha.md (eh_epilogue): Likewise.
15028
15029 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
15030                           Melissa O'Neill  <oneill@cs.sfu.ca>
15031                           Geoffrey Keating  <geoffk@cygnus.com>
15032
15033         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
15034         call-used registers (call-saved registers must still be contiguous
15035         and end with r31, of course).
15036
15037 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
15038
15039         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
15040         (self_promoting_type_p): Delete.
15041         (self_promoting_args_p): Move ...
15042         * c-common.c: ... here.
15043         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
15044         (simple_type_promotes_to): New.
15045         * builtins.c (lang_type_promotes_to): New.
15046         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
15047         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
15048         * c-common.h: ... here.
15049         (self_promoting_args_p, simple_type_promotes_to): Declare.
15050         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
15051         (grokdeclarator): Likewise.
15052         * tree.h (lang_type_promotes_to): Declare.
15053
15054 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
15055
15056         Add some machine-dependent GC roots.
15057         * sparc.c: Include ggc.h.
15058         (sparc_add_gc_roots): New function.
15059         (mark_ultrasparc_pipeline_state): Likewise.
15060         (override_options): Call sparc_add_gc_roots.
15061         * pa.c: Include ggc.h.
15062         (pa_add_gc_roots): New function.
15063         (mark_deferred_plabels): Likewise.
15064         (override_options): Call pa_add_gc_roots.
15065         * mips.c: Include ggc.h.
15066         (mips_add_gc_roots): New function.
15067         (override_options): Use it.
15068
15069 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15070
15071         * cpperror.c (cpp_file_line_for_message): Constify a char*.
15072
15073         * cppexp.c (parse_number, parse_charconst, cpp_lex,
15074         cpp_parse_expr): Add static prototypes.
15075         (parse_charconst): Don't cast away const-ness.
15076         (token): Constify a char*.
15077
15078         * cppfiles.c (file_name_list, include_hash, find_include_file,
15079         finclude, initialize_input_buffer): Constify a char*.
15080         (file_cleanup, find_position): Add static prototypes.
15081
15082         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
15083         collect_expansion): Add static prototypes.
15084         (cpp_install, create_definition, monthnames): Constify a char*.
15085
15086         * cpphash.h (cpp_install): Likewise.
15087
15088         * cppinit.c (known_suffixes, default_include,
15089         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
15090         (base_name, dump_special_to_buffer, initialize_dependency_output):
15091         Add static prototypes.
15092
15093         * cpplib.c (my_strerror): Constify a char*.
15094         (null_underflow, null_cleanup, skip_comment, copy_comment,
15095         copy_rest_of_line, handle_directive, pass_thru_directive,
15096         get_directive_token, read_line_number, cpp_print_file_and_line,
15097         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
15098         v_cpp_warning_with_line, detect_if_not_defined,
15099         consider_directive_while_skipping): Add static prototypes.
15100         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
15101         cpp_pedwarn_with_file_and_line): Constify a char*.
15102
15103         * cpplib.h (cpp_options, include_hash, progname, definition,
15104         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
15105         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
15106         find_include_file, deps_output, include_hash): Constify a char*.
15107
15108         * cppmain.c (progname): Constify.
15109         (main): Add prototype.  Use return, not exit.
15110
15111         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
15112         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
15113         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
15114         check_protection): Add static prototype.
15115         (xfree): Remove.
15116         (progname, recognized_macrom, recognized_extern): Constify a char*.
15117         (main): Add prototype.
15118
15119         * gen-protos.c (progname): Constify a char*.
15120
15121 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
15122
15123         * emit-rtl.c (free_emit_status): Take decl as a parameter.
15124         (init_emit_once): Add more GC roots.
15125         * except.c (mark_func_eh_entry): New function.
15126         (mark_eh_node): Mark false_label and rethrow_label.
15127         (init_eh): Add more GC roots.
15128         * function.c (free_after_compilation): Take decl as a paramter.
15129         Call free_stmt_status.
15130         (mark_function_state): Don't assume x_parm_reg_stack_loc is
15131         non-NULL.
15132         * function.h (free_after_compilation): Change prototype.
15133         (free_varasm_status): Likewise.
15134         (free_emit_status): Likewise.
15135         (free_stmt_status): New function.
15136         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
15137         Remove, replacing with ...
15138         (ggc_status): New structure.
15139         (ggc_chain): New variable.
15140         (init_gcc): Define.
15141         (ggc_push_context): New function.
15142         (ggc_pop_context): Likewise.
15143         (ggc_alloc_rtx): Adjust for use of ggc_chain.
15144         (ggc_alloc_rtvec): Likewise.
15145         (ggc_alloc_tree): Likewise.
15146         (ggc_alloc_string): Likewise.
15147         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
15148         (ggc_mark_tree): Give language-dependent code a chance to mark
15149         `x' nodes.
15150         (ggc_mark_tree_varray): Handle empty arrays.
15151         (ggc_collect): Adjust for use of ggc_chain.  Clear
15152         bytes_alloced_since_last_gc.
15153         * ggc.h (ggc_pop_context): New function.
15154         (ggc_push_context): Likewise.
15155         * print-tree.c (print_node): Don't print obstacks when GC'ing.
15156         * stmt.c (free_stmt_status): New function.
15157         (init_stmt_for_function): Clear last_expr_value.
15158         * toplev.c (rest_of_compilation): Always call free_after_compilation.
15159         Conditionalize call to ggc_collect.
15160         (main): Call init_ggc.
15161         * tree.c (push_obstacks): Do the push, even when GC'ing.
15162         (push_obstacks_nochange): Likewise.
15163         (pop_obstacks): Liekwise.
15164         * varasm.c (free_varasm_status): Take decl as a parameter.
15165
15166 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15167
15168         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
15169         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
15170         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
15171         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
15172
15173 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
15174
15175         * pa/x-pa-mpeix: New file for the MPE port.
15176
15177         * pa/quadlib.asm: New file for long double support.
15178
15179         * configure.in: Add hppa1.0-*-mpeix for MPE port.
15180         * configure: Rebuilt.
15181
15182 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
15183
15184         * final.c (shorten_branches): Fix last change.
15185
15186 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
15187
15188         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
15189
15190 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
15191
15192         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
15193         details.
15194
15195 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15196
15197         * c-aux-info.c (concat): Don't define.
15198
15199         * cccp.c (my_strerror): Likewise.  All callers changed to use
15200         xstrerror instead.
15201         (do_include): Call xstrdup, not xmalloc/strcpy.
15202         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
15203         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
15204
15205         * collect2.c (my_strsignal): Likewise.  All callers changed to use
15206         strsignal instead.
15207         (locatelib): Call xstrdup, not xmalloc/strcpy.
15208
15209         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
15210
15211         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
15212
15213         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
15214
15215         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
15216
15217         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
15218
15219         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
15220
15221         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
15222         malloc/realloc.
15223         (find_all_handler_type_matches): Likewise.  Don't check return
15224         value.
15225         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
15226         xmalloc, not malloc.
15227         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
15228
15229         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
15230         (init_spec): Call xcalloc, not xmalloc/bzero.
15231         (set_spec): Call xstrdup, not save_string.
15232         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
15233         (find_a_file): Call xstrdup, not xmalloc/strcpy.
15234         (process_command): Call xstrdup, not save_string.
15235         (main): Call xcalloc, not xmalloc/bzero.
15236
15237         * gcov.c (xmalloc): Don't define.
15238         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
15239         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
15240         (output_data): Call xcalloc, not xmalloc/bzero.
15241
15242         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
15243
15244         * mips-tdump.c (xmalloc): Don't define.
15245         (print_symbol): Call xmalloc, not malloc.
15246         (read_tfile): Call xcalloc, not calloc.
15247
15248         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
15249         Don't define.  All callers of xfree/my_strsignal changed to use
15250         free/strsignal instead.
15251         (allocate_cluster): Call xcalloc, not calloc.
15252
15253         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
15254         Fix memory leak, free allocated memory.
15255
15256         * prefix.c (translate_name): Call xstrdup, not save_string.
15257         (update_path): Likewise.
15258
15259         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
15260
15261         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
15262         Don't define.  Callers of xfree/savestring2 changed to use
15263         free/concat instead.
15264
15265         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
15266         (init_elim_table): Likewise.
15267
15268         * resource.c (init_resource_info): Likewise.
15269
15270         * stupid.c (stupid_life_analysis): Likewise.
15271
15272         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
15273         (open_dump_file): Call concat, not xmalloc/strcpy/...
15274         (clean_dump_file): Likewise.
15275         (compile_file): Call xstrdup, not xmalloc/strcpy.
15276
15277 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
15278
15279         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
15280         * v850.c (v850_va_arg): New.
15281
15282 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15283
15284         * haifa-sched.c: Tidy comments.
15285
15286 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15287
15288         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
15289         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
15290         $(out_object_file)): Depend on ggc.h.
15291         * c-common.c: Include "ggc.h".
15292         (combine_strings): If doing GC, use ggc_alloc_string.
15293         * c-decl.c: Include "ggc.h".
15294         (ggc_p): Define with value 0.
15295         (mark_binding_level): New function.
15296         (init_decl_processing): Add GC roots.
15297         (mark_c_function_context): New function.
15298         (lang_mark_false_label_stack): New function.
15299         (lang_mark_tree): New function.
15300         (lang_cleanup_tree): New function.
15301         * c-lang.c: Include "ggc.h".
15302         (lang_init): Call c_parse_init.
15303         * c-lex.c: Include "ggc.h".
15304         (check_linenum): If doing GC, don't copy filenames to permanent
15305         obstack.
15306         * c-parse.in: Include "ggc.h".
15307         (c_parse_init): New function.
15308         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
15309         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
15310
15311         * except.c (mark_eh_state): Mark more state.
15312         * function.c (mark_function_state): Likewise.
15313         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
15314         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
15315         * toplev.c (mark_file_stack): New function.
15316         (compile_file): If doing GC, use ggc_alloc_string on input filename.
15317         (main): Add root for input_file_stack.
15318
15319         * i386.c: Include "ggc.h".
15320         (ix86_mark_machine_status): New function.
15321         (override_options): Set mark_machine_status.
15322
15323 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15324
15325         * tree.c (copy_node): Copy node contents also if doing GC.
15326
15327 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
15328
15329         * collect2.c (scan_libraries): Fix double-thinko :-).
15330
15331 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
15332
15333         * collect2.c (scan_libraries): Fix thinko.
15334
15335         * cse.c (delete_trivially_dead_insns): Do not skip the last
15336         insn if it is a real insn.
15337
15338 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
15339
15340         * Makefile.in (ggc-simple.o): Depend on hash.h.
15341         * ggc.h (ggc_add_tree_hash_table_root): Declare.
15342         (ggc_mark_tree_varray): Likewise.
15343         (ggc_mark_tree_hash_table): Likewise.
15344         * ggc-simple.c: Include hash.h.
15345         (ggc_mark_tree_hash_table_ptr): New function.
15346         (ggc_mark_tree_hash_table_entry): Likewise.
15347         (ggc_mark_tree_hash_table): Likewise.
15348         (ggc_add_tree_hash_table_root): Likewise.
15349         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
15350         rtx, when defining fields.
15351
15352 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
15353
15354         * profile.c (output_func_start_profiler): Remove apparently
15355         nonsensical call to start_sequence.
15356
15357 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
15358
15359         * clipper/clipper.c (clipper_va_start): Fix typos.
15360
15361         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
15362         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
15363         (spur_va_arg): New stub.
15364
15365         * configure.in: Comment out pyramid.
15366
15367 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
15368
15369         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
15370         don't conflict with the bits that win32, cygwin, and dgux
15371         defines.
15372
15373 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
15374                           Bernd Schmidt <bernds@cygnus.co.uk>
15375
15376         * integrate.c (function_cannot_inline_p): Do not inline
15377         functions with forced labels.
15378
15379 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
15380                           Bernd Schmidt <bernds@cygnus.co.uk>
15381                           Mark Mitchell  <mark@codesourcery.com>
15382
15383         * Makefile.in (ggc-simple.o): Depend on varray.h.
15384         (rtl.o): Depend on ggc.h.
15385         (genattrtab.o): Depend on ggc.h.
15386         (print-tree.o): Likewise.
15387         (fold-const.o): Likewise.
15388         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
15389         (make_insn_raw): Don't cache insns when GC'ing.
15390         (emit_insn_before): Likewise.
15391         (emit_insn_after): Likewise.
15392         (emit_insn): Likewise.
15393         (start_sequence): Use xmalloc to allocate the sequence_stack.
15394         (end_sequence): Add free to free it.
15395         (gen_sequence): Don't cache insns when GC'ing.
15396         (clear_emit_caches): Don't use sequence_element_free_list.
15397         (init_emit): Use xcalloc, not xmalloc+bzero.
15398         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
15399         * function.c (pop_function_context_from): Use free to free the
15400         fixup_var_refs_queue.
15401         (put_reg_into_stack): Allocate it with xmalloc.
15402         * genattrtab.c: Include ggc.h.
15403         (operate_exp): Don't use obstack_free when GC'ing.
15404         (simplify_cond): Likewise.
15405         (simplify_text_exp): Likewise.
15406         (optimize_attrs): Likewise.
15407         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
15408         GC'ing.
15409         (gencode): Generate a #include for ggc.h.
15410         * ggc-callbacks.c (ggc_p): Define it to zero.
15411         * ggc-none.c (ggc_p): Likewise.
15412         * ggc-simple.c: Include varray.h.
15413         (ggc_mark_tree_varray): New function.
15414         (ggc_add_tree_varray_root): Likewise.
15415         (ggc_mark_tree_varray_ptr): Likewise.
15416         * ggc.h (ggc_p): Declare.
15417         (varray_head_tag): Likewise.
15418         (ggc_add_tree_varray_root): Declare.
15419         * print-tree.c (print_node): Don't check for TREE_PERMANENT
15420         inconsistencies when GC'ing.
15421         * rtl.c: Include ggc.h.
15422         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
15423         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
15424         (rtx_free): Don't call obstack_free when GC'ing.
15425         * toplev.c (rest_of_compilation): Call ggc_collect after every
15426         pass, if GC'ing.
15427         * tree.c (push_obstacks): Do nothing, if GC'ing.
15428         (pop_obstacks_nochange): Likewise.
15429         (pop_obstacks): Likewise.
15430         (make_node): Use ggc_alloc_tree when GC'ing.
15431         (copy_node): Likewise.
15432         (get_identifier): Use ggc_alloc_string when GC'ing.
15433         (build_string): Likewise.
15434         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
15435         (tree_cons): Likewise.
15436         (build1): Likewise.
15437         (type_hash_canon): Don't call obstack_free when GC'ing.
15438
15439 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
15440
15441         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
15442         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
15443
15444 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
15445                           Bernd Schmidt <bernds@cygnus.co.uk>
15446                           Mark Mitchell  <mark@codesourcery.com>
15447
15448         * Makefile.in (stor-layout.o): Depend on ggc.h.
15449         (expr.o): Depend on ggc.h.
15450         (profile.o): Depend on ggc.h.
15451         (stor-layout.o): Depend on ggc.h.
15452         * emit-rtl.c (init_emit_once): Add gc roots.
15453         * expr.c: Include ggc.h.
15454         (emit_block_move): Add gc roots.
15455         (clear_storage): Likewise.
15456         * expr.h (init_stor_layout_once): New function.
15457         * profile.c: Include ggc.h.
15458         (init_arc_profiler): profiler_label is a root.
15459         * scan.c (make_sstring_space): Trust xrealloc to function
15460         correctly with first parameter NULL.
15461         * stor-layout.c: Include ggc.h.
15462         (set_sizetype): Add gc root.
15463         (init_stor_layout_once): New function.
15464         * toplev.c (compile_file): Call it.
15465
15466 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
15467                           Bernd Schmidt <bernds@cygnus.co.uk>
15468                           Mark Mitchell  <mark@codesourcery.com>
15469
15470         * Makefile.in (tree.o): Depend on ggc.h.
15471         (varasm.o): Likewise.
15472         (function.o): Likewise.
15473         (stmt.o): Likewise.
15474         (except.o): Likewise.
15475         (optabs.o): Likewise.
15476         (emit-rtl.o): Likewise.
15477         * emit-rtl.c: Include ggc.h.
15478         (sequence_element_free_list): Remove, and all references.
15479         (mark_sequence): New functions.
15480         (mark_emit_state): New function.
15481         * except.c: Include ggc.h.
15482         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
15483         (mark_tree_label_node): New functions.
15484         (mark_eh_state): New function.
15485         * function.c: Include ggc.h.
15486         (mark_temp_slot, mark_function_chain): New functions.
15487         (mark_function_state): New function.
15488         (init_function_once): New function.
15489         * function.h (init_function_once): New function.
15490         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
15491         * ggc.h (label_node): Declare.
15492         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
15493         (lang_mark_false_label_stack): New function.
15494         (mark_temp_slot): Remove declaration.
15495         (mark_function_chain): Likewise.
15496         (mark_eh_state): Adjust prototype.
15497         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
15498         Likewise.
15499         * optabs.c: Include ggc.h.
15500         (mark_optab): New function.
15501         (init_optabs): Add gc roots.
15502         * stmt.c: Include ggc.h.
15503         (mark_cond_nesting, mark_loop_nesting): New functions.
15504         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
15505         (mark_stmt_state): New function.
15506         * toplev.c (compile_file): Call init_function_once.
15507         * tree.c: Include ggc.h.
15508         (type_hash): Move declaration earlier in file.
15509         (TYPE_HASH_SIZE, type_hash_table): Likewise.
15510         (init_obstacks): Add gc roots.
15511         (mark_type_hash): New function.
15512         * varasm.c: Include ggc.h.
15513         (mark_pool_constant): New function.
15514         (mark_varasm_state): New function.
15515
15516 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15517
15518         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
15519
15520 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
15521
15522         * c-decl.c (struct language_function): Renamed from struct c_function.
15523         Delete elt NEXT.
15524         (c_function_chain): Delete.
15525         (push_c_function_context): New arg F.  Don't warn about nested
15526         functions here.  Fill LANGUAGE elt of F.  Delete code to update
15527         c_function_chain.  Don't call push_function_context.
15528         (pop_c_function_context): New arg F.  Restore from there instead of
15529         from c_function_chain.  Don't call pop_function_context.  Clear out
15530         LANGUAGE field of F when done.
15531         * c-lang.c: Include "function.h"
15532         (lang_init): Initialize save_lang_status and restore_lang_status.
15533         * c-parse.in (nested_function, nested_function_notype): Warn about
15534         nested functions.  Call push_function_context/pop_function_context
15535         instead of the _c_ variants.
15536         * c-tree.h (push_c_function_context, pop_c_function_context): Update
15537         prototype.
15538         * Makefile.in (c-lang.o): Update dependencies.
15539
15540         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
15541         regno_pointer_flag, regno_pointer_align.
15542         (gen_reg_rtx): Use xrealloc to enlarge them.
15543         (free_emit_status): New function.
15544         * function.c (mark_machine_status, mark_lang_status): New variables.
15545         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
15546         in some bits from assign_stack_local.  All callers changed to use new
15547         name.
15548         (assign_stack_local): Just call assign_stack_local_1.
15549         (free_after_compilation): New function.
15550         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
15551         (trampoline_address): Likewise.
15552         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
15553         (prepare_function_start): Explicitly clear some more variables.
15554         * function.h (struct function): New elt can_garbage_collect.
15555         (mark_machine_status, mark_lang_status): Declare variables.
15556         (free_after_compilation, free_emit_status, free_varasm_status,
15557         init_varasm_status): Declare functions.
15558         * toplev.c (rest_of_compilation): Call free_after_compilation when
15559         done with the current function.
15560         * varasm.c (free_varasm_status): New function.
15561
15562 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
15563
15564         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
15565         (EXPAND_BUILTIN_VA_ARG): Define.
15566         * sparc.c (sparc_va_start): New.
15567         (sparc_va_arg): New.
15568
15569 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15570
15571         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
15572
15573 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15574
15575         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
15576
15577 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
15578
15579         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
15580         (OBJS): Add $(GGC).
15581         (ggc-callbacks.o): New target.
15582         * ggc-callbacks.c: New file.
15583
15584 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15585
15586         * expr.h: Collapse individual optab and libfunc vars to arrays.
15587         (optab_index, libfunc_index): New enumerations.
15588         (optab_table, libfunc_table): New arrays.
15589         Add accessor macros for both.
15590
15591         * optabs.c (optab_table, libfunc_table): New.
15592         Delete declarations for individual optab and libfunc vars.
15593
15594 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
15595
15596         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
15597
15598 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
15599
15600         * Makefile.in (GGC, GGC_LIB): New.
15601         (HOST_RTL): Include ggc-none.o.
15602         (ggc-simple.o): New target.
15603         (ggc-none.o): Likewise.
15604         * tree.h (tree_common): Add gc_mark.
15605         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
15606         (struct rtvec_def): Add gc_mark.
15607         * emit-rtl.c (global_rtl): Update static initializers to contain
15608         enough initializers.
15609         * ggc.h, ggc-none.c, ggc-simple.c: New files.
15610         * toplev.c (gc_time): New variable.
15611         (all_time): New variable.
15612         (compile_file): Print gc time.
15613         (print_time): Calculate percentage of the whole.
15614
15615 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15616
15617         Change obstack memory management and varasm constant pool handling so
15618         that nested functions are treated like any other functions.
15619         * function.c (init_machine_status): New variable.
15620         (push_function_context_to): Set contains_functions for the outer
15621         function.  Don't call save_varasm_status.
15622         (pop_function_context_from): Don't call restore_varasm_status.  Don't
15623         set current_function_contains_functions.
15624         (prepare_function_start): Call init_varasm_status rather than
15625         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
15626         is non-null.
15627         * function.h (struct function) Add field varasm.  Delete fields
15628         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
15629         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
15630         (init_machine_status): Declare.
15631         (save_varasm_status, restore_varasm_status): Delete declarations.
15632         (save_tree_status, restore_tree_status): Delete last argument.
15633         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
15634         code.  All callers changed.
15635         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
15636         save_constants_in_decl_trees, restore_constants, save_constants,
15637         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
15638         functions.
15639         (inlining): New variable.
15640         (reg_map, label_map, insn_map, orig_asm_operands_vector,
15641         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
15642         variables.
15643         (save_for_inline_nocopy): Don't save constants.
15644         Don't set inl_emit field in current_function.
15645         (expand_inline_function): Use emit field, not inl_emit, of the inlined
15646         function.  Set new variable inlining before
15647         calling copy_rtx_and_substitute.
15648         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
15649         constant pool references if inlining is nonzero.
15650         Delete ADDRESS and (most of the) CONST cases.
15651         (output_inline_function): Save and restore current_function/
15652         current_function_decl.  Delete restore_constants code.  Don't call
15653         init_const_rtx_hash_table.
15654         * output.h (init_const_rtx_hash_table): Don't declare.
15655         * rtl.h (struct function): Declare.
15656         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
15657         * toplev.c (rest_of_compilation): Don't treat nested functions or
15658         functions containing them specially.  Delete all code to deal with
15659         save_for_inline_copying.
15660         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
15661         inline_obstacks): Delete variables.
15662         (save_tree_status): Lose arg CONTEXT.  All callers changed.
15663         Simply allocate a new function_maybepermanent_obstack for the new
15664         function, delete all the special cases.
15665         Don't save inline_obstacks.
15666         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
15667         Delete special handling for function_maybepermanent_obstack; simply
15668         free it if empty.
15669         Don't restore inline_obstacks.
15670         (permanent_allocation):  Delete code that frees inline_obstacks.
15671         (print_inline_obstack_statistics): Delete function.
15672         (dump_tree_statistics): Don't call it.
15673         * varasm.c (struct varasm_status): New.
15674         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
15675         last_pool, pool_offset, const_double_chain): Delete global
15676         variables, replace with accessor macros.
15677         (immed_double_const): Don't walk const_double_chain outside a
15678         function, but don't treat nested functions specially anymore.
15679         (immed_real_const_1): Likewise.
15680         (clear_const_double_mem): Don't treat nested functions specially.
15681         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
15682         (save_varasm_status, restore_varasm_status): Delete functions.
15683         (init_varasm_status): New function.
15684         (force_const_mem): Don't treat nested functions specially.
15685         (find_pool_constant): Accept new arg F, search for constants in
15686         that function's pool rather than the current one.  All callers
15687         changed.
15688         (get_pool_constant_for_function, get_pool_mode_for_function): New
15689         functions.
15690
15691         * i386.c (init_386_machine_status): New function, mostly from
15692         clear_386_stack_locals.
15693         (struct machine_functions): Rename element names to avoid name
15694         clashes.
15695         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
15696         macros, replacing global variables.
15697         (clear_386_stack_locals, save_386_machine_status,
15698         restore_386_machine_status): Delete functions.
15699         (override_options): Initialize init_machine_status.
15700         * i386.h (INIT_EXPANDERS): Delete macro.
15701         (save_386_machine_status, restore_386_machine_status,
15702         clear_386_stack_locals): Delete declarations.
15703
15704 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15705
15706         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
15707         (doloop_begin):  Simplify pattern and use emit_jump_insn.
15708         (doloop_end): Simplify pattern, switch operand order,
15709         and use emit_jump_insn.
15710
15711 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
15712
15713         * function.h (struct function): Add new element LANGUAGE.
15714         (save_lang_status): Declare new variable.
15715         (restore_lang_status): Likewise.
15716         * function.c (save_lang_status): Define.
15717         (restore_lang_status): Likewise.
15718         (push_function_context_to): Call language-specific save function.
15719         (pop_function_context_from): Call language-specific restore function.
15720
15721 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
15722
15723         * i386.md (movsf_1): Check REG_P before use of REGNO.
15724         (movdf_1): Likewise.
15725         (movxf_1): Likewise.
15726         (extendsfdf2): Likewise.
15727         (extendsfxf2): Likewise.
15728         (extenddfxf2): Likewise.
15729
15730 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15731
15732         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
15733         constants into memory.
15734         (c4x_shiftable_constant): New function.
15735         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
15736         (c4x_shiftable_constant): Declare.
15737         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
15738         ashlqi3_noclobber): Add new patterns and associated splitters.
15739
15740 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
15741
15742         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
15743         * dwarf2out.c (dwarf2out_frame_init): Likewise.
15744         * final.c (shorten_branches): Likewise.
15745         * global.c (global_alloc): Likewise.
15746         * haifa-sched.c (build_control_flow): Likewise.
15747         * stmt.c (check_for_full_enumeration_handling): Likewise.
15748         (estimate_case_costs): Likewise.
15749
15750 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
15751
15752         * rtl.h (RTL_CHECKC2): Fix typo in last change.
15753
15754 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
15755
15756         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
15757         (recompute_reg_usage): Likewise.
15758         * rtlanal.c (find_regno_fusage): Likewise.
15759
15760         * rtl.c (rtl_check_failed_code1): New function.
15761         (rtl_check_failed_code2): New.
15762         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
15763         (RTL_CHECKC1, RTL_CHECKC2): New.
15764         (XC*): New accessor macros.
15765         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
15766         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
15767         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
15768         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
15769         (TRAP_*, RANGE_INFO_*): Likewise.
15770
15771 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15772
15773         * Makefile.in (tlink.o): Don't depend on toplev.h.
15774
15775         * collect2.c (c_file, o_file, export_file, import_file, ldout,
15776         output_file, nm_file_name, ldd_file_name, strip_file_name,
15777         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
15778         add_prefix, prefix_from_env, prefix_from_string, do_wait,
15779         fork_execute, maybe_unlink, add_to_list,
15780         extract_init_priority, write_list, dump_list,
15781         dump_prefix_list, write_list_with_asm, write_c_file,
15782         write_c_file_stat, write_c_file_glob, scan_prog_file,
15783         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
15784         ignore_library, extract_string, notice, dump_file, target_machine,
15785         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
15786         read_file, print_load_command): Constify a char*.
15787         (fdopen, error, fatal, fatal_perror): Don't prototype.
15788         (my_strerror): Remove.  All callers use xstrerror instead.
15789         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
15790         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
15791         to xcalloc/strcpy/strcat/...  to one call to concat.
15792         (main, scan_prog_file, scan_libraries): Use an intermediate
15793         `const char **' to build an argv array.
15794         (mapfile, libselect, libcompare, locatelib): Add prototypes.
15795
15796         * collect2.h (collect_execute, collect_wait, dump_file,
15797         file_exists): Constify a char*.
15798         (ldout, c_file_name, temporary_obstack, permanent_obstack,
15799         temporary_firstobj, vflag, debug): Add extern declarations.
15800         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
15801
15802         * tlink.c: Don't include toplev.h.
15803         (vflag, debug, ldout, c_file_name, temporary_obstack,
15804         permanent_obstack, temporary_firstobj): Don't declare.
15805         (tlink_execute, frob_extension, symbol_hash_lookup,
15806         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
15807         recompile_files, read_repo_files, demangle_new_symbols,
15808         scan_linker_output): Constify a char*.
15809         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
15810         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
15811
15812 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
15813
15814         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
15815         (relative) rather than jsr (absolute) subroutine call insns.
15816         * config/m68k/m68k-coff.h: Ditto.
15817
15818 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
15819
15820         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
15821         now rework these too.
15822         (arm_reorg): If an insn can't reach the end of the current pool,
15823         ensure that we emit that pool before the insn.
15824
15825 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
15826
15827         * tlink.c (scan_linker_output): Skip the initial underscore in
15828         a mangled name if appropriate.
15829
15830 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15831
15832         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
15833         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
15834         error_with_ivar, gen_declarator, create_builtin_decl,
15835         my_build_string, generate_descriptor_table, generate_ivars_list,
15836         generate_dispatch_table, check_protocols, TAG_GETCLASS,
15837         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
15838         dump_base_name, lang_decode_option, build_encode_expr,
15839         start_class, finish_class, encode_pointer, really_start_method,
15840         gen_declaration, dump_interface, handle_class_ref, handle_impent):
15841         Constify.
15842         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
15843         Add static prototypes.
15844         (build_objc_string_decl, build_selector_reference_decl,
15845         encode_bitfield, build_class_reference_decl): Remove unused
15846         parameter, all callers changed.
15847         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
15848         (objc_printable_name): Likewise.  Change second parameter to type int.
15849         (init_objc): Use memcpy, not bcopy, to avoid casts.
15850
15851 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
15852
15853         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
15854         reg notes on a deleted insn.
15855         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
15856
15857 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
15858
15859         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
15860
15861 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15862
15863         * stmt.c (expand_asm_operands): Fix index into inout_mode when
15864         reading it.
15865
15866 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
15867
15868         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
15869         * tm.texi (MD_ASM_CLOBBERS): Document it.
15870
15871 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
15872
15873         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
15874         * except.c (expand_rethrow): Remove unused variable.
15875         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
15876         * flow.c (replace_insns): Likewise.
15877         (create_edge_list, verify_edge_list): Likewise.
15878         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
15879
15880         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
15881         is special code to run.
15882         (main): Don't define operands to emit_operand.
15883         * genrecog.c (main): Don't emit an empty peephole2_insn function.
15884
15885         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
15886
15887         * alpha/alpha.h (normal_memory_operand): Declare.
15888         (reg_no_subreg_operand): Declare.
15889         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
15890
15891 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
15892
15893         * c-parse.in (compstmt_primary_start): New, broken out of first
15894         part of compstmt handling in primary.
15895         (primary): Use it.  Add an error clause.
15896         (compstmt_nostart): Renamed from compstmt; remove all
15897         initial invocations of compstmt_start.
15898         (compstmt): New.
15899
15900 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
15901
15902         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
15903         needed.
15904
15905 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
15906
15907         * combine.c (simplify_shift_const): Remove extra semicolon.
15908         * dwarf2out.c (remove_AT): Likewise.
15909         * expmed.c (expand_mult): Likewise.
15910         * gcov.c (create_program_flow_graph): Likewise.
15911         * reorg.c (mostly_true_jump): Likewise.
15912
15913 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
15914
15915         * fold-const.c (fold_range_test): Do not try to fold the range
15916         test if the rhs or lhs has side effects.
15917
15918         * combine.c (simplify_rtx): Recognize another case of a synthesized
15919         sign extension.
15920
15921         * varasm.c (mark_constant_pool): When marking indirect references,
15922         only look at SYMBOL_REFs.
15923
15924         * except.c (expand_fixup_region_end): Do not peek at
15925         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
15926
15927 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
15928
15929         * flags.h: New variables align_loops, align_loops_log,
15930         align_jumps, align_jumps_log, align_labels, align_labels_log,
15931         align_functions, align_functions_log.
15932         * toplev.c: Define them.
15933         (f_options): Handle -falign-* when they have no argument.
15934         (main): Add logic to set variables for -falign-functions,
15935         -falign-jumps, -falign-labels, -falign-loops.
15936         Make it -fsched-verbose=<n> and -finline-limit=<n>.
15937         (display_help): Change help to match options.
15938         * final.c (LABEL_ALIGN): Default to align_labels_log.
15939         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
15940         (LOOP_ALIGN): Default to align_loops_log.
15941         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
15942         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
15943         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
15944         * varasm.c (assemble_start_function): Handle align_functions.
15945
15946         * config/sparc/sparc.h: Don't declare sparc_align_*.
15947         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
15948         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
15949         sparc.c.
15950         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
15951         it's a promise.
15952         * config/sparc/sparc.c: Delete sparc_align_loops,
15953         sparc_align_jumps, sparc_align_funcs and the corresponding string
15954         variables.
15955         (sparc_override_options): Default align_functions on ultrasparc.
15956         Delete -malign-* handling.
15957
15958         * config/mips/mips.c (override_options):  On 64-bit targets,
15959         try to align code to 64-bit boundaries.
15960         (print_operand): New substitution, %~,
15961         which aligns labels to align_labels_log.
15962         * config/mips/mips.md (div_trap_normal): Use %~.
15963         (div_trap_mips16): Likewise.
15964         (abssi): Likewise.
15965         (absdi2): Likewise.
15966         (ffssi2): Likewise.
15967         (ffsdi2): Likewise.
15968         (ashldi3_internal): Likewise.
15969         (ashrdi3_internal): Likewise.
15970         (lshrdi3_internal): Likewise.
15971         (casesi_internal): Likewise.
15972
15973 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
15974
15975         Merge new ia32 backend from the branch!
15976
15977         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
15978         See ChangeLog.P2 on new_ia32_branch for details.
15979
15980         * rtl.h (stack_regs_mentioned_p): Delete prototype.
15981         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
15982         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
15983         * i386/gas.h (ASM_FILE_START): Define.
15984         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
15985         for name change of ix86_valid_decl_attribute_p.
15986         (i386_pe_valid_type_attribute_p): Similarly.
15987
15988 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
15989
15990         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
15991         to step through CC modes.
15992
15993 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15994
15995         * regmove.c (fixup_match_1): Don't move INSN in front of P if
15996         it would end up in the shadow of a live flags regsiter.
15997
15998 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15999
16000         * reload1.c: Fix many indentation problems.
16001         * reload.c: Likewise.
16002
16003 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
16004
16005         * alias.c (non_local_reference_p): Constify fmt.
16006
16007 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
16008
16009         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
16010
16011 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
16012
16013         * cse.c (delete_trivially_dead_insns): Do not delete stores to
16014         the internal_arg_pointer.
16015
16016 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
16017
16018         Merge peephole2 from new_ia32_branch:
16019         * Makefile.in (STAGESTUFF): Add *.peephole2.
16020         (mostlyclean): Likewise.
16021         (recog.o): Depend on resource.h.
16022
16023         * final.c (peephole): Conditionalize decl on HAVE_peephole.
16024         (final_scan_insn): Likewise for the invocation of peephole.
16025         * genconfig.c (main): Look for peephole and peephole2 patterns.
16026         Emit HAVE_peephole* accordingly.
16027         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
16028         * flags.h (flag_peephole2): Declare.
16029         * toplev.c: New pass peephole2.  New flag -fpeephole2.
16030
16031         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
16032         * gencodes.c (main): Likewise.
16033         * genextract.c (main): Likewise.
16034         * genoutput.c (main): Likewise.
16035         * genemit.c (max_operand_1): Look for the max scratch operand.
16036         (gen_rtx_scratch): New.
16037         (gen_exp): Use it, and pass on new arg subroutine_type.
16038         (gen_expand): Take max scratch into account.
16039         (gen_split): Emit peephole2 functions.
16040         (output_peephole2_scratch): New.
16041         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
16042         * genrecog.c (routine_type): Add PEEPHOLE2.
16043         (IS_SPLIT): New.
16044         (make_insn_sequence): Match outer parallel for peep2.  Discard
16045         top level scratches and dups.
16046         (add_to_sequence): New args insn_type and top.  Update all callers.
16047         Handle toplevel peep2 matching insns.
16048         (write_subroutine): Handle peep2.
16049         (write_tree_1): Likewise.
16050         (write_tree): Likewise.
16051         (main): Likewise.
16052         (change_state): New arg afterward.  Update all callers.
16053         Handle matching separate insns.
16054         * recog.c (recog_next_insn): New.
16055         (peephole2_optimize): New.
16056         * rtl.def (DEFINE_PEEPHOLE2): New.
16057         * resource.c (find_free_register): New argument last_insn.  Use it
16058         to find a register available through the entire span.
16059         * resource.h (find_free_register): Update prototype.
16060
16061 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
16062
16063         * i386.c (output_strlen_unroll): Don't write xops[7]
16064         label if it wasn't set.
16065
16066 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
16067
16068         * cpplib.c (struct directive): Const-ify name pointer and
16069         function pointer prototype.
16070         (validate_else, do_define, do_line, do_include, do_undef,
16071         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
16072         do_elif, do_endif, do_sccs, do_assert, do_unassert,
16073         do_warning): Const-ify second arg.
16074         (directive_table): Mark const.  Reorder entries by frequency
16075         of usage, record statistics.
16076
16077 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
16078
16079         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
16080         bounds- check RTL accesses if --enable-checking.
16081         (RTVEC_ELT): Bounds check if --enable-checking.
16082         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
16083         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
16084         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
16085         GET_NUM_ELEM.
16086         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
16087         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
16088
16089         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
16090         (NOTE_SOURCE_FILE): Use X0STR.
16091         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
16092         MEM_ALIAS_SET): Use X0INT.
16093         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
16094         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
16095         Use X0EXP.
16096         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
16097         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
16098         (rtl_check_failed_bounds, rtl_check_failed_type1,
16099         rtl_check_failed_type2, rtvec_check_failed_bounds): New
16100         functions.
16101         (fancy_abort): Fix comment.
16102
16103         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
16104         (cse_insn): Decrement LABEL_NUSES for jump target before
16105         deleting jump insn.
16106         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
16107         * final.c (alter_subreg): Compute regno before changing x to
16108         REG; set REGNO(x) after changing it.
16109         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
16110         notes containing CONST_INTs.
16111         (delete_eh_regions): Use NOTE_EH_HANDLER.
16112         * function.c (put_reg_into_stack): Make reg a MEM before
16113         initializing it.
16114         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
16115         delete insn.
16116         (gen_mem_addressof): Make reg a MEM before initializing it.
16117         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
16118         X0WINT.
16119         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
16120         deleting an insn, not after.
16121         (block_alloc): Only look at PATTERN(insn) if we have to, and
16122         only if it's format class 'i'.
16123         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
16124         CONST_INT before using its INTVAL.
16125         * print-rtl.c (print_rtx): Use X0STR.
16126         * regmove.c (fixup_match_1): Don't look at PATTERN of
16127         non-class-'i' insn chain elements.
16128         * reload.c (loc_mentioned_in_p): Take address of
16129         in->fld[1].rtx directly.
16130         * reload1.c (reload): Change reg to a MEM before initializing
16131         it.
16132         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
16133         have no names.
16134         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
16135
16136 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
16137
16138         * config/mips/mips.c (machine_dependent_reorg): Force a
16139         barrier to output the local constant pool if a barrier hasn't
16140         been found at a natural point in the instruction stream.
16141
16142 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16143
16144         * c-parse.in (language_string): Constify.
16145
16146         * dwarf2out.c (language_string): Remove declaration.
16147
16148         * dwarfout.c (language_string): Likewise.
16149
16150         * toplev.c (language_string, init_parse, finish_parse): Likewise.
16151
16152         * tree.h (language_string, init_parse, finish_parse): Declare.
16153
16154         * i386/sun386.h (language_string): Remove declaration.
16155
16156         * mips.h (language_string): Likewise.
16157
16158         * nextstep.h (language_string): Likewise.
16159
16160         * nextstep21.h (language_string): Likewise.
16161
16162         * rs6000.c (language_string): Likewise.
16163
16164 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16165
16166         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
16167         (getpwd.o): Remove target.
16168
16169         * getpwd.c: Delete file.  Its in libiberty now.
16170
16171         * dbxout.c (getpwd): Don't prototype.
16172         * dwarf2out.c (getpwd): Likewise
16173         * dwarfout.c (getpwd): Likewise
16174         * final.c (getpwd): Likewise.
16175         * protoize.c (getpwd): Likewise.
16176
16177 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16178
16179         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
16180
16181 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
16182
16183         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
16184         mark_set_resources.
16185
16186 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
16187
16188         * fixinc/Makefile.in (subdir): New.
16189         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
16190         (Makefile): New.
16191
16192 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
16193
16194         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
16195         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
16196         be shared.
16197
16198         * invoke.texi: Fix typo.
16199
16200         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
16201         changed.  Handle autoincrement addressing modes.
16202
16203         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
16204         just like we would the virtual incoming args register when
16205         integrating.
16206
16207 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
16208
16209         * rs6000.h (ASM_FILE_START): Specify complete filename, including
16210         path, in .file directive.
16211
16212 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
16213
16214         * gcc.texi (External Bugs): Remove obsolete note about Perl on
16215         SunOS.
16216
16217 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
16218
16219         * stdbool.h: Make the typedef name _Bool, with bool a #defined
16220         alias.
16221
16222 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16223
16224         * tree.c (tree_code_name): Constify a char*.
16225
16226         * tree.h (tree_code_name, decl_printable_name): Likewise.
16227
16228         * function.h (struct function): Likewise.
16229
16230         * toplev.c (decl_name, decl_printable_name): Likewise.
16231
16232         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
16233
16234         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
16235         (init_objc): Remove function pointer cast.
16236
16237 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
16238
16239         * pa.md (interspace_jump): New pattern.
16240         (builtin_longjmp): New expander.
16241
16242 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
16243
16244         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
16245         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
16246         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
16247
16248 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
16249
16250         * jump.c (delete_prior_computation): Also check calls
16251         to constant functions.  Don't bother checking for a
16252         REG_UNUSED note before adding it.
16253         (delete_computation): Handle multi-word hard registers
16254         when synthesizing missing REG_DEAD notes for a register
16255         which is both set and used by an insn.
16256
16257 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16258
16259         * loop.c (this_loop_info): New variable.
16260         (loop_has_call, loop_has_volatile, loop_has_tablejump,
16261         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
16262         All uses updated.
16263         (prescan_loop, strength_reduce): New argument loop_info.  All callers
16264         updated.
16265         (scan_loop): New variable loop_info, initialise to address of
16266         this_loop_info.
16267         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
16268         Delete variable loop_has_multiple_exit targets and replace with
16269         field in this_loop_info.
16270         (find_and_verify_loops): Rename this_loop to this_loop_num.
16271         (strength_reduce): Delete loop_iteration_info.  Replace variable
16272         loop_info with function argument of same name.
16273         (insert_bct): Rework test for loop being completely unrolled.
16274
16275         * loop.h (struct loop_info): New fields num, loops_enclosed,
16276         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
16277         has_indirect_jump, and cont.  Redefine use of unroll_number.
16278         (loop_unroll_number): Delete.
16279
16280         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
16281         field of loop_info.
16282         (loop_iterations): Delete variable vtop and instead use
16283         loop_info->vtop computed in prescan_loop.
16284
16285 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
16286
16287         * fix-header.c (main): Do not pass a null pointer to strcmp.
16288
16289 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
16290
16291         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
16292         filenames.
16293         * configure: Rebuilt.
16294
16295 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
16296
16297         * jump.c (jump_optimize_1): Do not delete assignments to
16298         internal_arg_pointer.
16299         * cse.c (delete_trivially_dead_insns): Always consider a set of
16300         the internal_arg_pointer live.
16301
16302 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
16303
16304         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
16305         (update_life_info) [REG_WAS_0]: Search the original insns rather
16306         than the new insns for the note.  Fix typos finding note_dest.
16307         If no dest found, discard the note rather than abort.
16308         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
16309         (replace_insns): Remove the old insn list after update_life_info
16310         not before.
16311
16312 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
16313
16314         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
16315         sched_analyze_insn.
16316         (sched_analyze_1): Let add_dependence care for not adding dups.
16317         (sched_analyze_2): Likewise.
16318         (add_branch_dependences): Likewise.
16319
16320 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16321
16322         * i386/winnt.c (export_list): New type.
16323         (exports_head): Rename to
16324         (export_head):  this.
16325         (i386_pe_record_exported_symbol): Add is_data flag.
16326         (i386_pe_asm_file_end): Emit directive for exported variables.
16327         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
16328         prototype.
16329         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
16330         (ASM_DECLARE_OBJECT_NAME): Likewise.
16331         (ASM_DECLARE_FUNCTION_NAME): Likewise.
16332         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
16333
16334 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
16335
16336         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
16337
16338         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
16339         operand.
16340
16341 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
16342
16343         * config/openbsd.h: Define SET_ASM_OP.
16344         * tm.texi: cross-reference SET_ASM_OP in the index.
16345
16346 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
16347
16348         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
16349         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
16350         and class_narrowest_mode at compile time.  Kill init_rtl.
16351         Mark rtx_length, mode_class, mode_size, mode_unit_size,
16352         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
16353         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
16354         EXTRA_CC_NAMES.
16355         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
16356         format.
16357         * rtl.h: Declare rtx_length and rtx_format as const.
16358         * machmode.def: Define CC().  Use CC() to define CCmode.  If
16359         EXTRA_CC_MODES is defined, expand it here.
16360         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
16361         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
16362         const.  Kill all references to EXTRA_CC_MODES.
16363
16364         * toplev.c: Don't prototype or call init_rtl.
16365         * optabs.c: Don't call init_mov_optab.
16366         * genemit.c: Don't generate init_mov_optab.  Don't call
16367         init_rtl.
16368         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
16369         here.
16370         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
16371         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
16372         genrecog.c: Don't call init_rtl.
16373
16374         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
16375         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
16376         definition of EXTRA_CC_MODES.
16377
16378         * md.texi: Kill ref to EXTRA_CC_NAMES.
16379         * tm.texi: Document new way to define EXTRA_CC_MODES.
16380
16381         * genrecog.c: Do not look up the name of a define_split.
16382         (Unrelated bugfix.)
16383
16384 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
16385
16386         * config/v850/v850.md: Fix typo introduced by previous delta.
16387
16388 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16389
16390         * gcc.c (fatal): Make definition static to match prototype.
16391
16392 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16393
16394         * combine.c (get_last_value): Don't look for earlier sets if the last
16395         known set is somewhere in between the insns being combined.
16396
16397 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
16398
16399         * configure.in: Don't use shell ! to negate exit codes
16400         * configure: Regenerate
16401
16402 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
16403
16404         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
16405         the fact that ALIGN is measured in bits, not bytes.
16406
16407 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
16408
16409         * errors.c: New file; defines functions error, warning, and
16410         fatal, variables have_error and progname.
16411         * errors.h: New file; prototypes and decls for stuff in errors.c.
16412
16413         * Makefile: Add rules to build errors.o and
16414         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
16415         genopinit, genrecog, genextract, genpeep, genattr, and
16416         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
16417         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
16418         genpeep.o, genattr.o, and genoutput.o.
16419
16420         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
16421         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
16422         define or prototype fatal.  Set progname at beginning of main.
16423         * genoutput.c:  Likewise, and don't define or prototype error
16424         either.
16425
16426         * c-typeck.c (c_expand_start_case): Return immediately if exp
16427         is an ERROR_MARK.
16428         * fold-const.c (operand_equal_p): Return immediately if arg1
16429         or arg0 are ERROR_MARKs.
16430         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
16431         fields of type ERROR_MARK when calculating if the record can
16432         go in a register.
16433
16434 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
16435         with much help from Jeffrey A Law and Richard Henderson
16436
16437         * i386.md: In the 6 insns which call output_fix_trunc,
16438         earlyclobber operands[0].
16439
16440 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
16441
16442         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
16443         creating new registers.
16444
16445 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
16446
16447         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
16448         i386_reg_alloc_order, i386_regparm_string,
16449         i386_align_loops_string, i386_align_jumps_string,
16450         i386_align_funcs_string, i386_preferred_stack_boundary_string,
16451         and i386_branch_cost_string as type "const char *".
16452         * i386.c: Define all above strings as type "const char *".
16453
16454 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
16455
16456         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
16457         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
16458
16459 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
16460
16461         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
16462         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
16463
16464 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
16465
16466         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
16467         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
16468         (dwarf2out_line, dwarf2out_finish): Likewise.
16469         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
16470
16471 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16472
16473         * tree.c (lang_unsave_expr_now) : Correct return type.
16474         * tree.h (lang_unsave_expr_now) : Same.
16475
16476 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
16477
16478         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
16479         instead of duplicating code.
16480
16481 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16482
16483         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
16484
16485 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
16486
16487         * tree.h: fancy_abort always takes three args.
16488         * resource.c: Move include of system.h before toplev.h.
16489
16490 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
16491
16492         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
16493         as SYMBOL_REFs.
16494
16495 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
16496
16497         * system.h: Don't redefine abort or trim_filename.
16498         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
16499         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
16500         whether or not __FUNCTION__ is available.
16501         * tree.h: Duplicate rtl.h's definition of abort, for files
16502         that don't include rtl.h.  Delete all code to perform type
16503         checking with a compiler other than GCC.
16504         * varray.h: Delete all code to perform type checking with a
16505         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
16506         its arguments exactly once, using a statement expression.
16507         Adjust the VARRAY_<type> accessor macros to match.
16508         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
16509         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
16510         caller's location.  Define fatal_insn and fatal_insn_not_found
16511         as macros that use _fatal_insn and _fatal_insn_not_found.
16512         (fancy_abort, trim_filename): Kill prototypes.
16513
16514         * rtl.c (trim_filename): Move here from toplev.c.
16515         (fancy_abort): New function.
16516         (DIR_SEPARATOR): Provide default definition.
16517         * tree.c (tree_check_failed, tree_class_check_failed): Go
16518         through fancy_abort.
16519         (tree_check, tree_class_check, cst_or_constructor_check,
16520         expr_check): Delete.
16521         * varray.c (varray_check_failed): New function.
16522         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
16523         _fatal_insn and _fatal_insn_not_found.  Go through
16524         fancy_abort.
16525         (trim_filename, fancy_abort): Delete.
16526
16527         * builtins.c (expand_builtin_args_info): Report ICE with abort.
16528         * except.c (start_catch_handler): Report ICE with error/abort
16529         combo.
16530         * final.c (output_operand_lossage): Likewise.
16531         * flow.c (verify_flow_info): Likewise.
16532
16533         * gcc.c: Prototype fatal.
16534         * gengenrtl.c: Undef abort after including rtl.h not system.h.
16535         * genattr.c, genattrtab.c, genemit.c, genextract.c,
16536         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
16537         Don't define fancy_abort.
16538
16539 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
16540
16541         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
16542         canonization.
16543
16544 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
16545
16546         * m88k.h (VERSION_INFO2): Kill.
16547         (VERSION_STRING): Kill.
16548         (TM_RCS_ID): Kill.
16549         (VERSION_INFO1): Tidy.
16550         (TARGET_VERSION): Update.
16551         * m88k/dgux.h (VERSION_INFO2): Kill.
16552         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
16553         * m88k/luna.h (VERSION_INFO1): Tidy.
16554         * m88k/sysv4.h (VERSION_INFO1): Likewise.
16555         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
16556         (output_file_start): Adjust for death of VERSION_STRING.
16557
16558 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
16559
16560         * cpplib.c (detect_if_not_defined): New function.
16561         (do_if): Use it to detect potential once-only headers.
16562
16563 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
16564
16565         * c-common.c (combine_strings): Always set TREE_CONSTANT.
16566
16567 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16568
16569         * combine.c (nonzero_bits) : Allow single-ly set registers to be
16570         anywere in the function only if they are pseudos and set before
16571         being used (not live at the start of the function).
16572         (num_sign_bit_copies) : Same.
16573         (get_last_value_validate) : Same.
16574         (get_last_value) : Same.
16575
16576 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
16577
16578         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
16579         where N and M are constant and N is an integer multiple of M.
16580
16581 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16582
16583         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
16584         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
16585         sbitmap_union_of_preds): Add prototypes.
16586         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
16587         the intersection of successors with the new flow graph structures.
16588         (sbitmap_intersection_of_preds): New function to compute the
16589         intersection of predecessors with the new flow graph structures.
16590         (sbitmap_union_of_succs): New function to compute the union of
16591         successors with the new flow graph structures.
16592         (sbitmap_union_of_preds): New function to compute the union of
16593         predecessors with the new flow graph structures.
16594         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
16595         (expr_reaches_here_p): Use edge and basic_block structures instead
16596         of s_preds and s_succs.
16597         (compute_cprop_avinout): Use new sbitmap routines.
16598         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
16599         of s_preds and s_succs.
16600         * flow.c (compute_flow_dominators): Compute dominators using
16601         edges and basic blocks instead of s_preds and s_succs.
16602
16603 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16604
16605         * lists.c (unused_insn_list, unused_expr_list): New file for
16606         maintaining various types of lists. New statics for maintaining a
16607         cache of available INSN_LIST and EXPR_LIST nodes.
16608         (free_list): Static function for freeing a list of INSN/EXPR nodes.
16609         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
16610         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
16611         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
16612         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
16613         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
16614         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
16615         (free_INSN_LIST_node): Free an individual INSN_LIST node.
16616         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
16617         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
16618         (remove_dependence, free_pending_lists): Use new global routines.
16619         (flush_pending_lists, sched_analyze_insn): Use new global routines.
16620         (sched_analyze, compute_block_backward_dependences): Use new routines.
16621         (sched_analyze_1, sched_analyze_2): Use new routines.
16622         (schedule_insns): Use new global routines.
16623         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
16624         prototypes.
16625         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
16626         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
16627         prototypes.
16628         * toplev.c (rest_of_compilation): Initialize node cache.
16629         * Makefile.in (OBJS): Add lists.o to list of object files.
16630         (lists.o): Add dependancies.
16631
16632 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
16633
16634         * config/v850/v850.md: Fix compile time warning messages.
16635         * config/v850/v850.c: Fix compile time warning messages.
16636         * config/v850/v850.h: Fix compile time warning messages.
16637
16638 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16639
16640         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
16641         Remove unused prototype for `init_lengths'.
16642
16643 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16644
16645         * calls.c (emit_call_1): Mark parameter `stack_size' with
16646         ATTRIBUTE_UNUSED.
16647         (expand_call): Initialize variable `insn'.
16648         (emit_library_call): Likewise for variable `high_to_save'.
16649         (emit_library_call_value): Likewise.
16650         (store_one_arg): Likewise for variables `lower_bound' and
16651         `upper_bound'.
16652
16653         * combine.c (try_combine): Likewise for variables `i2_code_number'
16654         and `other_code_number'.
16655         (find_split_point): Likewise for variables `pos', `unsignedp' and
16656         `inner'.
16657         (simplify_if_then_else): Likewise for variables `op' and `c1'.
16658         (simplify_and_const_int): Remove unused variable `width'.
16659         (merge_outer_ops): Likewise.
16660
16661         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
16662         HOST_WIDE_INT' when comparing against one.
16663         (simplify_relational_operation): Likewise.
16664         (cse_insn): Initialize variables `src_eqv_volatile',
16665         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
16666
16667         * final.c (init_final): Constify parameter `filename'.
16668         (final_start_function): Mark parameter `optimize' with
16669         ATTRIBUTE_UNUSED.
16670         (profile_function): Likewise for parameters `first' and `optimize'.
16671         (output_source_line): Likewise for parameter `file'.
16672
16673         * integrate.c (subst_constants): Cast a value to `size_t' when
16674         comparing against one.
16675         (mark_stores): Initialize variable `mode'.  Cast a value to
16676         `size_t' when comparing against one.
16677
16678         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
16679
16680         * loop.c (move_movables): Initialize variable `first'.
16681         (strength_reduce): Likewise for variable `increment'.
16682         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
16683         value to `size_t' when comparing against one.
16684         (load_mems): Initialize variable `end_label'.
16685
16686         * output.h (init_final): Constify parameter.
16687
16688         * reload.c (decompose): Initialize variable `base'.
16689
16690         * reload1.c (reload): Likewise for variable `is_scalar'.
16691         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
16692         (choose_reload_regs): Initialize variable `mode'.
16693         (emit_reload_insns): Likewise for variable `store_insn'.
16694         (reload_cse_noop_set_p): Mark parameter `insn' with
16695         ATTRIBUTE_UNUSED.
16696         (reload_combine): Initialize variable `set'.
16697
16698         * unroll.c (unroll_loop): Likewise for variable `local_label'.
16699         (copy_loop_body): Cast a value to `size_t' when comparing against
16700         one.
16701
16702         * varasm.c (assemble_variable): Initialize variable `size_tree'.
16703         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
16704         (remove_from_pending_weak_list): Mark parameter `name' with
16705         ATTRIBUTE_UNUSED.
16706
16707 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16708
16709         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
16710         gcse dump file.
16711
16712 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
16713
16714         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
16715         (ASM_DECLARE_FUNCTION_NAME): Define.
16716         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
16717         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
16718         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
16719         not already defined.
16720
16721 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16722
16723         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
16724         of n_popped when call/call_value are not defined.
16725
16726 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
16727
16728         * tm.texi: GNU CC -> GCC conversion.
16729         (CC1_SPEC): Indicate it is used for all language front ends.
16730
16731 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
16732
16733         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
16734         NOTE_INSN_EH_REGION_END correctly.
16735
16736 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
16737                           Jeff Law <law@cygnus.com>
16738
16739         * loop.c (strength_reduce): Automatically unroll loops if the
16740         unrolled loop size is smaller than the rolled loop size.
16741
16742         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
16743         and delete comment that code should be rewritten.
16744
16745 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
16746
16747         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
16748         as reachable.
16749
16750         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
16751
16752 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16753
16754         * fixinc/mkfixinc.sh: Don't fix uwin headers.
16755         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
16756         (LINK_SPEC): Add -u _main when building executables.
16757         (ASM_DECLARE_FUNCTION): Update from Cygwin.
16758         (ASM_FILE_END): Use the default for ix86-pe.
16759         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
16760
16761 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
16762
16763         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
16764         and ASM_CLOSE_PAREN are empty strings.
16765
16766 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
16767                           Geoffrey Keating <geoffk@cygnus.com>
16768
16769         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
16770         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
16771         (unprotoize.o): Ditto.
16772         (test-protoize-simple): Don't define STD_PROTO_DIR.
16773         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
16774         changes to make 'test-protoize-simple' pass.
16775         (STD_PROTO_DIR): Remove define.
16776         (STANDARD_EXEC_PREFIX): Supply default define.
16777         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
16778         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
16779         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
16780         (GET_ENV_PATH_LIST): New macro.
16781         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
16782         (do_processing): Initialize default_syscalls_dir using new
16783         macros.  Use it to initialize syscalls_absolute_filename.
16784
16785 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
16786
16787         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
16788         B into a register before emit_conditional_move.
16789
16790 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
16791
16792         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
16793         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
16794         multiplicand out of (+ (* a b) (* c d)).
16795
16796 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
16797                           Richard Henderson  <rth@cygnus.com>
16798
16799         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
16800         (new_insn_dead_notes): Likewise.
16801         (update_n_sets): Likewise.
16802         (update_flow_info): Move to flow.c, renamed to update_life_info;
16803         extend to handle multiple source insns.
16804         * flow.c: Include resource.h
16805         (unlink_insn_chain): New.
16806         (split_hard_reg_notes): New.
16807         (maybe_add_dead_note): New.
16808         (maybe_add_dead_note_use): New.
16809         (find_insn_with_note): New.
16810         (new_insn_dead_notes): New.
16811         (update_n_sets): New.
16812         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
16813         (maybe_remove_dead_notes): New.
16814         (update_life_info): New.
16815         (prepend_reg_notes): New.
16816         (replace_insns): New.
16817         * output.h (update_life_info): Declare.
16818         * recog.c (split_block_insns): Use update_life_info.
16819         * resource.c (find_free_register): Use reg_alloc_order, don't use
16820         fixed regs, make sure the mode is supported, don't use new regs.
16821         (reg_dead_p): New.
16822         * rtl.h (replace_insns): Declare.
16823
16824 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
16825
16826         * expr.c (expand_expr): Cope with COND_EXPRs with one
16827         non-returning branch.
16828
16829 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
16830
16831         * expr.c (store_expr): Always pass down the target, even when not
16832         doing CSE.
16833
16834 1999-08-24  Nick Clifton  <nickc@cygnus.com>
16835
16836         * configure.in: Define target_cpu_default for v850 targets.
16837         * configure: Regenerate
16838
16839         * config/v850/v850.h (TARGET_CPU_generic): Define.
16840         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
16841         addresses are 4 byte aligned.
16842
16843         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
16844         addresses.
16845
16846 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16847
16848         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
16849         (main): Add prototypes.
16850
16851         * genattrtab.c (substitute_address, write_const_num_delay_slots,
16852         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
16853         (write_attr_get): Emit prototypes along with function definition.
16854         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
16855         (write_complex_function): Emit static prototype along with
16856         function definition.
16857
16858         * genemit.c (gen_split): Emit prototypes along with function
16859         definition.
16860
16861         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
16862         Likewise for predicates and `insn_operand_predicate'.
16863         (process_template): Emit static prototype along with function
16864         definition.
16865
16866         * genrecog.c (make_insn_sequence): Constify a char*.  Add
16867         prototypes for get_split_*().
16868         (write_subroutine): Emit prototypes along with function
16869         definition.
16870
16871 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16872
16873         * gcse.c (find_avail_set): Follow chains of register-register copies.
16874         Use oprs_not_set_p to guarantee that the returned value can be
16875         substituted.
16876         (cprop_insn): Don't verify the return value of find_avail_set with
16877         oprs_not_set_p.
16878
16879         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
16880         (cprop_cc0_jump): New function.
16881         (cprop_insn): Break out new function cprop_jump and use it.
16882         Also use cprop_cc0_jump for machines with CC0.
16883         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
16884
16885         * tree.h (current_function_calls_setjmp,
16886         current_function_calls_longjmp): Delete declarations.
16887         * dsp16xx.c: Include "function.h".
16888         * elxsi.c: Likewise.
16889         * gmicro.c: Likewise.
16890         * h8300.c: Likewise.
16891         * i370.c: Likewise.
16892         * m32r.c: Likewise.
16893         * mn10200.c: Likewise.
16894         * mn10300.c: Likewise.
16895         * ns32k.c: Likewise.
16896         * spur.c: Likewise.
16897         * v850.c: Likewise.
16898
16899         * rtl.h (rtx_equal_function_value_matters): Declare.
16900         * toplev.c (rtx_equal_function_value_matters): Don't declare.
16901         * cse.c: Likewise.
16902         * function.c: Likewise.
16903         * emit-rtl.c: Likewise.
16904
16905 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
16906
16907         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
16908         call.
16909
16910 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16911
16912         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
16913         exactly.
16914
16915 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
16916
16917         * cpp.texi: Add a node documenting macro varargs (copied
16918         from extend.texi).
16919
16920 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
16921
16922         * cppspec.c: Put a null pointer at the end of the new argv.
16923
16924 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
16925
16926         * configure.in: Remove code to select/de-select the haifa
16927         scheduler.  Every scheduled port gets haifa now.
16928         * configure: Rebuilt.
16929         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
16930         * sched.c Deleted.
16931         * Makefile.in: Corresponding changes.
16932
16933 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16934
16935         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
16936         All callers changed.
16937         (prepare_float_lib_cmp): Likewise.
16938         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
16939         * expr.h (emit_float_lib_cmp): Delete declaration.
16940         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
16941         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
16942         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
16943         specially.
16944         (cmptf): Now conditional on TARGET_HARD_QUAD.
16945
16946 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
16947
16948         * resource.c (mark_target_live_regs): Use
16949         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
16950
16951 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16952
16953         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
16954
16955         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
16956
16957         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
16958
16959 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16960
16961         * rtl.h (rtx_format): Constify a char*.
16962
16963         * rtl.c (rtx_format): Likewise.
16964         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
16965         (init_rtl): Use accessor macro, not `rtx_format'.
16966
16967         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
16968         char*.
16969
16970         * caller-save.c (mark_referenced_regs): Likewise.
16971
16972         * combine.c (subst, make_compound_operation, known_cond,
16973         gen_rtx_combine, update_table_tick, get_last_value_validate,
16974         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
16975
16976         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
16977         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
16978         count_reg_usage): Likewise.
16979
16980         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
16981         Likewise.
16982
16983         * final.c (leaf_renumber_regs_insn): Likewise.
16984
16985         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
16986         dump_edge_info, count_reg_references): Likewise.
16987
16988         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
16989         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
16990         Likewise.
16991
16992         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
16993         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
16994         add_label_notes): Likewise.
16995
16996         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
16997         clear_struct_flag, count_sub_rtxs, count_alternatives,
16998         compares_alternatives_p, contained_in_p, walk_attr_value,
16999         write_expr_attr_cache): Likewise.
17000
17001         * genconfig.c (walk_insn_part): Likewise.
17002
17003         * genemit.c (max_operand_1, gen_exp): Likewise.
17004
17005         * genextract.c (walk_rtx): Likewise.
17006
17007         * genflags.c (num_operands): Likewise.
17008
17009         * genoutput.c (scan_operands): Likewise.
17010
17011         * genpeep.c (match_rtx): Likewise.
17012
17013         * genrecog.c (add_to_sequence): Likewise.
17014
17015         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
17016         Likewise.
17017
17018         * integrate.c (save_constants, copy_for_inline,
17019         copy_rtx_and_substitute, subst_constants, restore_constants):
17020         Likewise.
17021
17022         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
17023         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
17024
17025         * local-alloc.c (contains_replace_regs, memref_referenced_p):
17026         Likewise.
17027
17028         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
17029         add_label_notes, replace_call_address, count_nonfixed_reads,
17030         invariant_p, find_single_use_in_loop, find_mem_givs,
17031         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
17032         Likewise.
17033
17034         * print-rtl.c (reg_names, print_rtx): Likewise.
17035
17036         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
17037
17038         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
17039         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
17040         print_blocks): Likewise.
17041
17042         * regclass.c (fix_register, record_address_regs,
17043         reg_scan_mark_refs): Likewise.
17044
17045         * regmove.c (stable_but_for_p): Likewise.
17046
17047         * reload.c (loc_mentioned_in_p, operands_match_p,
17048         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
17049         copy_replacements, refers_to_regno_for_reload_p,
17050         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
17051         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
17052         Likewise.
17053
17054         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
17055         delete_address_reloads_1, count_occurrences,
17056         reload_cse_mem_conflict_p, reload_combine_note_use,
17057         add_auto_inc_notes): Likewise.
17058
17059         * resource.c (mark_referenced_resources, mark_set_resources):
17060         Likewise.
17061
17062         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
17063         reg_mentioned_p, regs_set_between_p, modified_between_p,
17064         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
17065         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
17066         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
17067         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
17068
17069         * sched.c (sched_analyze_2, attach_deaths): Likewise.
17070
17071         * stupid.c (stupid_mark_refs): Likewise.
17072
17073         * unroll.c (remap_split_bivs): Likewise.
17074
17075         * varasm.c (mark_constants): Likewise.
17076
17077         * a29k/a29k.c (uses_local_reg_p): Likewise.
17078
17079         * alpha/alpha.c (summarize_insn): Likewise.
17080
17081         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
17082         eliminate_lr2ip): Likewise.
17083
17084         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
17085
17086         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
17087         reg_mentioned_in_mem): Likewise.
17088
17089         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
17090         symbolic_reference_mentioned_p): Likewise.
17091
17092         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
17093
17094         * sh/sh.c (regs_used, mark_use): Likewise.
17095
17096         * vax/vax.c (vax_rtx_cost): Likewise.
17097
17098 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17099
17100         * machmode.h (mode_name): Constify a char*.
17101
17102         * rtl.c (mode_name): Likewise.
17103
17104         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
17105
17106         * optabs.c (init_libfuncs): Constify a char*.
17107
17108         * print-tree.c (mode_name): Remove redundant declaration.
17109         (print_node): Use accessor macro, not `mode_name'.
17110
17111         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
17112         not `mode_name'.
17113         (new_spill_reg): Constify a char*.
17114
17115         * tree.c (mode_name): Remove redundant declaration.
17116
17117 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17118
17119         * rtl.c (rtx_name): Constify a char*.
17120
17121         * rtl.h (rtx_name, fix_sched_param): Likewise.
17122
17123         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
17124         (mypr): Use accessor macro, not `rtx_name'.
17125
17126         * genemit.c (print_code): Constify a char*.
17127
17128         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
17129
17130         * genpeep.c (print_code): Constify a char*.
17131
17132         * genrecog.c (print_code): Likewise.
17133
17134         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
17135         end_bb): Add static prototype.
17136         (draw_edge): Constify a char*.
17137         (end_bb): Remove unused parameter.
17138
17139         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
17140         print_block_visualization): Constify a char*.
17141
17142 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
17143
17144         * c-common.c (c_get_alias_set): Update comment.
17145
17146 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
17147
17148         * linux.h (LIB_SPEC): Added.
17149
17150 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17151
17152         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
17153
17154 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
17155
17156         * tree.c (expr_check): Fix typo in last change.
17157
17158 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
17159
17160         * rtl.def (NOTE): Change format to "iuu0n".
17161         (ADDR_DIFF_VEC): Change format to "eEee0".
17162         (ADDRESSOF): Change format to "eit".
17163
17164         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
17165         (RTVEC_ELT): Change to match.
17166         (XVECEXP): Use XVEC and RTVEC_ELT.
17167         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
17168         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
17169         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
17170         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
17171         TRAP_CONDITION, TRAP_CODE): Use XEXP.
17172         (INTVAL): Use XWINT.
17173         (ADDRESSOF_DECL): Use XTREE.
17174         (SET_ADDRESSOF_DECL): Delete.
17175         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
17176         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
17177         ifdefed out since 2.6 at least.
17178         (gen_rtvec_vv): Delete prototype.
17179
17180         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
17181         not rtunion.
17182         (copy_most_rtx): Handle 't' format letter.
17183         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
17184         (gen_rtvec_vv): Delete function.  All callers changed to use
17185         gen_rtvec_v instead.
17186         * print-rtl.c (print_rtx): Move special casing of NOTEs to
17187         the '0' format letter.
17188
17189         * function.c (gen_mem_addressof): Don't use
17190         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
17191         instead.
17192         * integrate.c (copy_rtx_and_substitute): Likewise.
17193         Copy 't' slots with XTREE.
17194         (subst_constants): Treat 't' slots like '[swi]' slots.
17195         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
17196         * jump.c (rtx_equal_for_thread_p): Likewise.
17197         * rtlanal.c (rtx_equal_p): Likewise.
17198         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
17199         only four arguments.
17200         * gengenrtl.c (type_from_format): Provide correct types for
17201         'b' and 't' slots.
17202
17203
17204         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
17205         If a recent gcc is in use (always in stage2 and beyond), use
17206         statement expressions, so we don't make a function call unless
17207         the check fails.  Evaluate arguments exactly once.
17208         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
17209         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
17210         Delete.
17211         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
17212         they evaluate their arguments exactly once, irrespective of
17213         the compiler in use.
17214
17215         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
17216         is used by the currently-enabled check macros.  This is:
17217         (tree_check_failed, tree_class_check_failed): For gcc.
17218         (tree_check, tree_class_check, cst_or_constructor_check,
17219         expr_check): For other compilers.
17220
17221         * gencheck.c: Do not define any *_CHECK1 macros.
17222
17223 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
17224                           Mark Mitchell <mark@codesourcery.com>
17225
17226         * c-common.c (c_get_alias_set): Fix support for poitners and
17227         references.
17228
17229 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
17230
17231         * alias.c: Include tree.h.
17232         (nonlocal_reference_p, mark_constant_function): New functions.
17233         * flow.c (life_analysis): Call mark_constant_function.
17234         * rtl.h (mark_constant_function): Declare it.
17235
17236 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
17237
17238         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
17239         unrecognisable switches.
17240
17241 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17242
17243         * loop.c (recombine_givs): Set ix field after sorting.
17244         (recombine_givs): Remove bogus index / giv lockstep looping.
17245
17246 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17247
17248         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
17249         on CODE.
17250         (emit_store_flag_force): Use do_compare_rtx_and_jump.
17251         (do_cmp_and_jump): Formatting fixes.
17252         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
17253         do_compare_rtx_and_jump instead of compare_from_rtx.
17254         (do_compare_rtx_and_jump): New function; mostly copied from
17255         compare_from_rtx.
17256         (do_jump_for_compare): Delete.
17257         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
17258         MIN_EXPR.
17259         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
17260         of compare/do_jump_for_compare pairs.
17261         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
17262         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
17263         compare_from_rtx/do_jump_for_compare pairs.
17264         (do_jump_by_parts_equality): Likewise.
17265         (do_jump_by_parts_equality_rtx): Likewise.
17266         * expr.h (do_compare_rtx_and_jump): Declare.
17267         * optabs.c (prepare_cmp_insn): New function, contains most of the code
17268         that used to be in emit_cmp_insn.
17269         (cmp_available_p): New function.
17270         (prepare_operand): New function.
17271         (emit_cmp_and_jump_insn_1): New function, contains some code that used
17272         to be in emit_cmp_insn.
17273         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
17274         parameters to be pointers; don't emit final compare but modify some of
17275         the values pointed to by the args so the caller can perform the
17276         correct comparison.
17277         (expand_binop): Call emit_store_flag_force with signed forms of
17278         comparison code.
17279         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
17280         emit_jump_insn pair.
17281         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
17282         emit_cmp_and_jump_insn_1.  Call emit_queue.
17283         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
17284         arg.
17285         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
17286         jump sets cc0 before deleting it.
17287         * integrate.c (expand_inline_function): Likewise.
17288         * unroll.c (unroll_loop): Similar changes in several places.
17289         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
17290         before deleting it.
17291
17292 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17293
17294         * Makefile.in (insn-recog.o): Update dependencies.
17295         * genrecog.c (main): Make generated file include "function.h".
17296
17297 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
17298
17299         * cse.c (cse_insn): Call never_reached_warning when a jump is
17300         changed to be unconditional.
17301         * flags.h: Declare warn_notreached.
17302         * flow.c (delete_block): Call never_reached_warning when
17303         a block is deleted.
17304         * jump.c (delete_barrier_successors): Call never_reached_warning
17305         when we delete everything after a BARRIER.
17306         (never_reached_warning): New function.
17307         * rtl.h: Declare never_reached_warning.
17308         * toplev.c (warn_notreached): New variable.
17309         (lang_independent_options): Set warn_notreached
17310         when -Wunreachable-code.
17311         (compile_file): We need line numbers for -Wunreachable-code.
17312
17313 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
17314
17315         * haifa-sched.c (insn_unit): Fix typo on out of range test.
17316         * sched.c (insn_unit): Likewise.
17317
17318 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
17319
17320         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
17321
17322 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17323
17324         * flow.c (create_edge_list): Use xmalloc, not malloc.
17325
17326 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
17327
17328         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
17329         C-style comments.  Do not lose the character before double slash.
17330
17331 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17332
17333         * basic-block.h (struct edge_list): Stucture to maintain a vector
17334         of edges.
17335         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
17336          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
17337         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
17338         New function prototypes.
17339         * flow.c (create_edge_list): Function to create an edge list.
17340         (free_edge_list): Discards memory used by an edge list.
17341         (print_edge_list): Debug output showing an edge list.
17342         (verify_edge_list): Internal consistency check for an edge list.
17343         (find_edge_index): Function to find an edge index for a pred and succ.
17344
17345 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
17346
17347         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
17348         hashtable.
17349
17350 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
17351
17352         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
17353
17354 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
17355
17356         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
17357
17358 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
17359
17360         * toplev.c (rest_of_compilation): Allow machine dependent
17361         reorganisation pass to place information into the RTL dump
17362         file if it so wishes.
17363
17364 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
17365
17366         * explow.c (hard_function_value): Use VOIDmode instead of
17367         MAX_MACHINE_MODE.
17368         * stmt.c (expand_return): Likewise.
17369         * stor-layout.c (get_best_mode): Likewise.
17370
17371         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
17372         emit call instead of emit_insn call.
17373
17374 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17375
17376         * configure.in: Handle --disable/enable-win32-registry.
17377         * install.texi: Document --disable/enable-win32-registry.
17378         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
17379         (WIN32_REGISTRY_KEY): New macro.
17380         * prefix.c: Use to enable/disable win32-specific code.
17381         (lookup_key): Use versioned key.
17382         * configure: Regenerate.
17383         * config.in: Likewise.
17384
17385 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
17386
17387         * cpplib.c (read_line_number): New fn, split out of...
17388         (do_line): Here.
17389
17390 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17391
17392         tree.c (lang_unsave_expr_now) : New.
17393         (unsave_expr_now): Call lang_unsave_expr_now.
17394         tree.h (lang_unsave_expr_now) : New.
17395
17396 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
17397
17398         * toplev.c (flag_new_exceptions): On by default.
17399
17400 1999-08-13  Michael Meissner  <meissner@cygnus.com>
17401
17402         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
17403
17404 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17405
17406         * dwarfout.c (fundamental_type_code): Return FT_boolean for
17407         INTEGER_TYPE with precision==1, it's __java_boolean.
17408
17409 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17410
17411         * global.c (prune_preferences): Move some invariants out of the
17412         inner loop.
17413
17414 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
17415
17416         * configure.in (alpha*-dec-osf*): Add osf5.
17417
17418 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
17419
17420         * configure.in: Rework handling of ARM GNU/Linux slightly.
17421         (arm*-*-linux-gnuoldld): New target.
17422         * configure: Regenerate.
17423         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
17424         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
17425         * config/arm/linux-oldld.h: New file.
17426         * config/arm/linux-elf26.h: Don't include linux-elf.h.
17427         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
17428         Don't define.
17429         * config/arm/linux-elf.h (ASM_SPEC): Define.
17430         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
17431         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
17432         for 26-bit APCS and old linker.
17433         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
17434         `arm_elf'.
17435         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
17436         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
17437         don't define `arm' or `arm_elf'.
17438         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
17439         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
17440
17441 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
17442
17443         * rtl.texi: Fix typo.
17444
17445 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
17446
17447         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
17448
17449 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
17450
17451         * extend.texi (C++ Signatures): Remove node.
17452         * invoke.texi: Remove discussion of -fhandle-signatures,
17453         signature, sigof, __signature__, and __sigof__.
17454
17455 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
17456
17457         * Makefile.in (JAVAGC): Removed.
17458
17459 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17460
17461         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
17462
17463 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
17464
17465         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
17466
17467 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
17468
17469         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
17470         a register that is already known to be a pointer.
17471
17472 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
17473
17474         * fixinc/inclhack.tpl: Only install assert.h conditionally.
17475         * fixinc/inclhack.sh: Regenerated.
17476         * fixinc/fixincl.sh: Regenerated.
17477
17478 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
17479
17480         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
17481         Fix documentation of -ansi flag to describe its C++ behavior.
17482         Remove bogus reference to GCC 2.9.
17483
17484 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
17485
17486         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
17487         note if it is non-NULL.
17488
17489 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17490
17491         * except.h (eh_nesting_info): Add new structure defintion.
17492         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
17493         (reachable_handlers, update_rethrow_references): Add function
17494         prototypes.
17495         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
17496         a rethrow symbol instead of an integer exception region number.
17497         * flow.c (Make_edges): Use new exception nesting routines to determine
17498         which handlers are reachable from a CALL or asynchronous insn.
17499         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
17500         goto receivers.
17501         (delete_eh_regions): Update rethrow labels, and don't delete
17502         regions which are the target of a rethrow.
17503         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
17504         avoid overloading the SYMBOL_REF_USED flag.
17505         (rethrow_symbol_map): Use new rethrow_ref field.
17506         (rethrow_used): Use new rethrow_ref field.
17507         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
17508         of an integer.  Fix formatting.
17509         (output_exception_table_entry): Use new rethrow_ref field.
17510         (can_throw): Check for EH_REGION_NOTE before deciding
17511         whether a CALL can throw or not.
17512         (scan_region): Call rethrow_used() instead of accessing data structure.
17513         (update_rethrow_references): New function to make sure only regions
17514         which are still targets of a rethrow are flagged as such.
17515         (process_nestinfo): New static function to initialize a handler
17516         list for a specific region.
17517         (init_eh_nesting_info): New function to allocate and initialize
17518         the list of all EH handlers reachable from all regions.
17519         (reachable_handlers): New function to retrieve the list of handlers
17520         reachable from a specific region and insn.
17521         (free_eh_nesting_info): New function to dispose of a list of
17522         reachable handlers.
17523
17524 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17525
17526         * flow.c (split_edge): Set JUMP_LABEL field.
17527         (commit_one_edge_insertion): Set head correctly for insert_before.
17528         When inserting insns, update insn block numbers if allocated.
17529
17530 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17531
17532         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
17533         retry_incomplete_types): Add static prototype.
17534         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
17535         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
17536         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
17537         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
17538         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
17539         Constify a char*.
17540
17541         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
17542         dwarf2out_start_source_file, dwarf2out_line): Likewise.
17543
17544 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17545
17546         * output.h (assemble_name): Constify a char*.
17547
17548         * varasm.c (UNIQUE_SECTION, assemble_start_function,
17549         assemble_variable, assemble_name): Likewise.
17550
17551         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
17552
17553         * arm/pe.c (arm_pe_unique_section): Likewise.
17554
17555         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
17556
17557         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
17558
17559         * i386/interix.c (i386_pe_unique_section): Likewise.
17560
17561         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
17562
17563         * i386/winnt.c (i386_pe_unique_section): Likewise.
17564
17565         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
17566
17567         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
17568
17569         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
17570
17571         * pa/pa.c (output_call): Likewise.
17572
17573         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
17574
17575         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
17576
17577         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
17578         Likewise.
17579
17580         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
17581         Likewise.
17582
17583         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
17584
17585         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
17586         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
17587
17588         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
17589
17590 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17591
17592         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
17593
17594 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17595
17596         * tree.h (lang_identify): Constify a char*.
17597         (print_error_function): Add extern prototype.  Constify a char*.
17598
17599         * c-lang.c (lang_identify): Constify a char*.
17600
17601         * objc/objc-act.c (lang_identify): Constify a char*.
17602
17603 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17604
17605         * genpeep.c (main): Make generated file include "function.h".
17606         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
17607
17608 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17609
17610         * Makefile.in: Update dependencies.
17611         * alias.c: Include "function.h"
17612         * c-decl.c: Likewise.
17613         * caller-save.c: Likewise.
17614         * calls.c: Likewise.
17615         * combine.c: Likewise.
17616         * cse.c: Likewise.
17617         * explow.c: Likewise.
17618         * final.c: Likewise.
17619         * global.c: Likewise.
17620         * graph.c: Likewise.
17621         * local-alloc.c: Likewise.
17622         * loop.c: Likewise.
17623         * optabs.c: Likewise.
17624         * profile.c: Likewise.
17625         * recog.c: Likewise.
17626         * regclass.c: Likewise.
17627         * regmove.c: Likewise.
17628         * reload.c: Likewise.
17629         * reorg.c: Likewise.
17630         * resource.c: Likewise.
17631         * sched.c: Likewise.
17632         * stupid.c: Likewise.
17633         * config/1750a/1750a.c: Likewise.
17634         * config/a29k/a29k.c: Likewise.
17635         * config/arc/arc.c: Likewise.
17636         * config/arm/arm.c: Likewise.
17637         * config/arm/thumb.c: Likewise.
17638         * config/c4x/c4x.c: Likewise.
17639         * config/clipper/clipper.c: Likewise.
17640         * config/convex/convex.c: Likewise.
17641         * config/fx80/fx80.c: Likewise.
17642         * config/i860/i860.c: Likewise.
17643         * config/m68k/m68k.c: Likewise.
17644         * config/m88k/m88k.c: Likewise.
17645         * config/mips/mips.c: Likewise.
17646         * config/pdp11/pdp11.c: Likewise.
17647         * config/pyr/pyr.c: Likewise.
17648         * config/romp/romp.c: Likewise.
17649         * config/sh/sh.c: Likewise.
17650         * config/tahoe/tahoe.c: Likewise.
17651         * config/vax/vax.c: Likewise.
17652         * config/we32k/we32k.c: Likewise.
17653         * config/sparc/sparc.c: Include "function.h".
17654         (mem_min_alignment): Test current_function rather than
17655         regno_pointer_align.
17656         * config/pa/pa.c: Likewise.
17657         (compute_frame_size): Delete declaration of
17658         current_function_outgoing_args_size.
17659         * config/arc/arc.h (current_function_varargs): Delete declaration.
17660         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
17661         declaration.
17662         * config/i370/i370.h (current_function_outgoing_args_size): Delete
17663         declaration.
17664         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
17665         current_function_uses_pic_offset_table.
17666         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
17667         of current_function_returns_pointer.
17668         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17669         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17670         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17671         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17672         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17673         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17674         * config/m88k/m88k.c: Include "function.h"
17675         (call_used_regs, current_function_pretend_args_size,
17676         current_function_outgoing_args_size, frame_pointer_needed): Delete
17677         declarations.
17678         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
17679         declaration.
17680         * config/mips/mips.h (current_function_calls_alloca): Delete
17681         declaration.
17682         * config/mn10200/mn10200.h (current_function_needs_context,
17683         rtx_equal_function_value_matters): Delete declarations.
17684         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
17685         flag_pic): Delete declarations.
17686         * config/pa/pa.h (current_function_pretend_args_size,
17687         current_function_decl): Delete declarations.
17688         * config/pa/som.h (current_function_varargs): Delete declaration.
17689         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
17690         declaration.
17691         * config/pyr/pyr.h (current_function_pretend_args_size,
17692         current_function_args_size, current_function_calls_alloca): Delete
17693         declarations.
17694         * config/sh/sh.h (current_function_varargs): Delete declaration.
17695         * config/sparc/sparc.h (current_function_outgoing_args_size,
17696         current_function_calls_alloca, current_function_decl): Delete
17697         declarations.
17698         * config/spur/spur.h (current_function_pretend_args_size,
17699         current_function_calls_alloca): Delete declarations.
17700         * config/v850/v850.c (current_function_outgoing_args_size): Delete
17701         declaration.
17702         * config/vax/vms.h (current_function_name): Delete declaration.
17703         * gcse.c: Include "function.h".
17704         (current_function_name, current_function_calls_setjmp): Delete
17705         declarations.
17706         * haifa-sched.c: Include "function.h".
17707         (forced_labels): Delete declaration.
17708         * jump.c: Likewise.
17709         * reg-stack.c: Likewise.
17710         * reload1.c: Likewise.
17711         * genemit.c (main): Make generated file include function.h.
17712         * genoutput.c (output_prologue): Likewise.
17713
17714         * builtins.c (saveregs_value, apply_args_value): Delete variables.
17715         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
17716         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
17717         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
17718         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
17719         macros for some of them.
17720         (emit_filename, emit_lineno): Delete declarations.
17721         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
17722         regno_pointer_* variables through current_function.
17723         (gen_inline_header_rtx): Delete function.
17724         (save_emit_status): Delete function.
17725         (set_new_last_label_num): New function.
17726         (clear_emit_caches): New function.
17727         (restore_emit_status): Just clear last_labelnum and call
17728         clear_emit_caches.
17729         (get_last_insn_anywhere): Variable sequence_stack is now accessed
17730         through macro seq_stack.
17731         (add_insn_after): Likewise.
17732         (add_insn_before): Likewise.
17733         (remove_insn): Likewise.
17734         (pop_topmost_sequence): Likewise.
17735         (in_sequence_p): Likewise.
17736         (start_sequence_for_rtl_expr): Likewise.
17737         (start_sequence): Likewise, and likewise for
17738         sequence_rtl_expr/seq_rtl_expr.
17739         (push_topmost_sequence): Likewise.
17740         (end_sequence): Likewise.
17741         (init_virtual_regs): Now takes a "struct emit_status *" argument.
17742         All callers changed.  Store into that pointer instead of globals.
17743         (init_emit): Allocate emit elt of current_function.
17744         Changes for sequence_rtl_expr/sequence_stack renaming.
17745         Call clear_emit_caches instead of doing it in-line.
17746         Access regno_pointer_* variables through current_function.
17747         (init_emit_once) Don't clear sequence_stack.
17748
17749         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
17750         Delete variables.
17751         (arg_pointer_save_area): Delete declaration.
17752         (finish_expr_for_function): Renamed from init_queue; no longer static.
17753         (init_expr): Don't call init_queue.
17754         (save_expr_status, restore_expr_status): Delete functions.
17755         (expand_expr): Changes to reflect new layout of struct function.
17756         Don't access current_function_check_memory_usage when current_function
17757         is 0.
17758         * expr.h (forced_labels, save_expr_regs, saveregs_value,
17759         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
17760         current_function_outgoing_args_size, current_function_arg_offset_rtx,
17761         current_function_uses_const_pool, function_call_count,
17762         current_function_uses_pic_offset_table, nonlocal_labels,
17763         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
17764         current_function_check_memory_usage, nonlocal_goto_handler_slots,
17765         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
17766         declarations.
17767         (finish_expr_for_function): Declare.
17768         * flags.h (current_function_has_nonlocal_label,
17769         current_function_has_nonlocal_goto, current_function_is_thunk,
17770         current_function_has_computed_jump): Delete declarations.
17771         * flow.c (forced_labels): Delete declaration.
17772         * function.c (current_function_pops_args,
17773         current_function_returns_struct, current_function_returns_pcc_struct,
17774         current_function_needs_context, current_function_calls_setjmp,
17775         current_function_calls_longjmp, current_function_has_nonlocal_label,
17776         current_function_has_nonlocal_goto, current_function_is_thunk,
17777         current_function_has_computed_jump, current_function_calls_alloca,
17778         current_function_contains_functions, current_function_returns_pointer,
17779         current_function_epilogue_delay_list, current_function_args_size,
17780         current_function_pretend_args_size, current_function_arg_offset_rtx,
17781         current_function_outgoing_args_size, current_function_varargs,
17782         current_function_stdarg, current_function_args_info, cleanup_label,
17783         current_function_name, current_function_uses_const_pool,
17784         current_function_instrument_entry_exit, current_function_return_rtx,
17785         current_function_uses_pic_offset_table, nonlocal_labels,
17786         current_function_internal_arg_pointer, current_function_cannot_inline,
17787         current_function_check_memory_usage, function_call_count,
17788         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
17789         nonlocal_goto_stack_level, return_label, save_expr_regs,
17790         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
17791         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
17792         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
17793         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
17794         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
17795         Delete variables.
17796         (push_function_context_to): Don't save them.  Don't call
17797         save_storage_status, save_emit_status or save_expr_status.
17798         (pop_function_context_from): Don't restore them.  Don't call
17799         restore_storage_status or restore_expr_status.
17800         (get_func_frame_size): New function.
17801         (get_frame_size): Use it.
17802         (assign_outer_stack_local): Reflect some member name changes in struct
17803         function.
17804         (put_reg_into_stack): Likewise.
17805         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
17806         seq_rtl_expr.
17807         (fixup_var_refs): Likewise.
17808         (fix_lexical_addr): Likewise.
17809         (trampoline_address): Likewise.
17810         (prepare_function_start): Clear field inlinable of current_function.
17811         (init_function_for_compilation): New function.
17812         (expand_dummy_function_end): New function.
17813         (expand_function_end): Call finish_expr_for_function.
17814         * function.h (struct emit_status): New; fields moved here from struct
17815         function and from global variables.  Add accessor macros for some of
17816         the fields.
17817         (struct expr_status): Likewise.
17818         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
17819         (struct function): Add fields expr and emit, inlinable, inl_emit,
17820         original_arg_vector, original_decl_initial, inl_last_parm_insn,
17821         inl_max_label_num.  Add many comments.
17822         Add accessor macros for all elts of struct function that no longer
17823         have a global variable.
17824         (cleanup_label, return_label, frame_offset, tail_recursion_label,
17825         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
17826         stack_slot_list): Delete declarations.
17827         (get_func_frame_size): Declare.
17828         (save_expr_status, restore_expr_status, save_emit_status,
17829         save_storage_status, restore_storage_status): Delete declarations.
17830         (init_virtual_regs): Declare.
17831         * output.h (current_function_pops_args,
17832         current_function_returns_struct, current_function_returns_pcc_struct,
17833         current_function_needs_context, current_function_calls_setjmp,
17834         current_function_calls_longjmp, current_function_calls_alloca,
17835         current_function_has_nonlocal_label, current_function_varargs,
17836         current_function_has_computed_jump, current_function_returns_pointer,
17837         current_function_contains_functions, current_function_args_size,
17838         current_function_pretend_args_size, current_function_stdarg,
17839         current_function_outgoing_args_size, current_function_args_info,
17840         current_function_name, current_function_return_rtx,
17841         current_function_epilogue_delay_list,
17842         current_function_uses_const_pool, current_function_cannot_inline):
17843         Delete declarations.
17844         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
17845         regno_reg_rtx): Delete declaration.
17846         (REGNO_POINTER_FLAG): Delete macro.
17847         * stmt.c (expand_goto): Changes to reflect that some fields in struct
17848         function were renamed.
17849         * stor-layout.c (save_storage_status, restore_storage_status): Delete
17850         functions.
17851         * toplev.c: Include "function.h".
17852         (current_function_decl): Delete declaration.
17853         (compile_file): Call init_dummy_function_start and
17854         expand_dummy_function_end around some initializations that need to
17855         emit rtl.
17856         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
17857         Call init_function_for_compilation.
17858         * unroll.c: Include "function.h"
17859         (unroll_loop): Access regno_pointer_* variables through
17860         current_function.
17861
17862         * tree.h (struct tree_decl): Add elt f to saved_insns member.
17863         (DECL_SAVED_INSNS): use it.
17864         (expand_dummy_function_end): Declare.
17865         (init_function_for_compilation): Declare.
17866         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
17867         that it's no longer an INLINE_HEADER.
17868         (expand_call): Likewise.
17869         * integrate.c (finish_inline): Delete function.
17870         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
17871         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
17872         args.  Don't generate an INLINE_HEADER rtx, just return the arg
17873         vector.  All callers changed.
17874         (save_for_inline_copying):  Create a duplicate struct emit_status to
17875         hold the emit state for compiling the current function.  Use this and
17876         the other new fields in struct function that are for integration
17877         instead of an INLINE_HEADER.
17878         Use memcpy instead of bcopy.
17879         Store the current struct function in DECL_SAVED_INSNS of fndecl.
17880         (save_for_inline_nocopy): Similar changes, except no new emit_status
17881         is needed here.
17882         (expand_inline_function): Get information from function structure,
17883         not from an inline header rtx.
17884         (output_inline_function): Lose code to extract the necessary
17885         information from an inline header; simply put back the function
17886         structure into current_function.  Clear its inlinable elt.
17887         * rtl.def (INLINE_HEADER): Delete.
17888         * rtl.h: Delete all accessors for an INLINE_HEADER.
17889         (gen_inline_header_rtx): Delete declaration.
17890         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
17891         Delete declarations.
17892         (REGNO_POINTER_ALIGN): Delete.
17893         (clear_emit_caches): Declare.
17894         (set_new_last_label_num): Declare.
17895
17896 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
17897
17898         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
17899
17900         * except.c (expand_eh_region_start_for_decl): Always start a new block.
17901         * stmt.c (is_eh_region): Make sure current_function is present, too.
17902
17903 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
17904
17905         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
17906         for 64bit PA targets.
17907
17908         * pa.h (SELECT_SECTION): Define.
17909         * som.h (SELECT_SECTION): Delete.
17910
17911 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17912
17913         * alias.c (init_alias_analysis): Wrap call to
17914         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
17915
17916 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
17917
17918         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
17919         <sys/asm.h> contains an asm comment with an apostrophe
17920         * fixinc/inclhack.sh:  regen
17921         * fixinc/fixincl.x:  regen
17922
17923 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
17924
17925         * function.c (init_function_start): Clear prologue & epilogue.
17926         (prologue_epilogue_contains): New function.
17927         * alias.c (init_alias_analysis): Use it.
17928         * rtl.h (prologue_epilogue_contains): Declare it.
17929
17930 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
17931
17932         * jump.c (onlyjump_p): New function.
17933         * rtl.h: Declare it.
17934         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
17935         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
17936
17937 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
17938
17939         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
17940         to invert loops.  Simplify block scanning.
17941
17942 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
17943
17944         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
17945         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
17946
17947 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
17948
17949         * config/sparc/liteelf.h: New file to support sparclite-elf target
17950         * config/sparc/t-sp86x: New file to support sparc86x targets
17951         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
17952         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
17953         * configure.in: Support above target triplets
17954         * configure: Regenerated
17955
17956 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
17957
17958         * fixinc/server.c (server_setup): Do not prefix function used as
17959         parameter with `&'.
17960
17961 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
17962
17963         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
17964         Remove fp reg alternatives.
17965
17966 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
17967
17968         * Makefile.in (TAROUTOPTS): Kill.
17969         (install-headers-tar): Use "xpf" for tar headerfile extraction
17970         * i370/x-oe (TAROUTOPTS): Delete.
17971         * m68k/x-apollo68 (TAROUTOPTS): Delete.
17972         * m68k/x-hp320 (TAROUTOPTS): Delete.
17973         * m68k/x-hp320g (TAROUTOPTS): Delete.
17974         * gcc.texi: Update bug reporting text.
17975
17976 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17977
17978         * reg-stack.c (change_stack) Fixed problem with negative array index.
17979
17980 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
17981
17982         * extend.texi, install.texi: Fix spelling mistakes.
17983
17984         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
17985         (s-attrtab); No longer try to use pre-made insn-attrtab file.
17986         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
17987         PREMADE_ATTRTAB_MD.
17988         * mips/t-ecoff: Likewise.
17989         * mips/t-elf: Likewise.
17990         * mips/t-mips: Likewise.
17991         * mips/t-osfrose: Likewise.
17992         * mips/t-r3900: Likewise.
17993         * mips/t-svr3: Likewise.
17994         * mips/t-svr4: Likewise.
17995         * mips/t-ultrix: Likewise.
17996
17997         * gcc.texi: Document recommend means to provide software floating
17998         point libraries in libgcc.a
17999
18000 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
18001
18002         * c-lex.c (yylex): We can have a number with no digits.
18003
18004 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
18005
18006         * jump.c (delete_prior_computation): New function, broken
18007         out of delete_computation.  Check for side effects with
18008         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
18009         multi-word hard registers.
18010         (delete_computation): Use it.  Check for side effects with
18011         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
18012         missing REG_DEAD note for a register which is both set and
18013         used by an insn.
18014
18015 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
18016
18017         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
18018         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
18019         (ASM_FILE_START): Import _mcount with the right type.
18020         (ASM_DECLARE_FUNCTION_NAME): Define.
18021         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
18022         * pa.c (output_function_prologue): Always emit the function's label
18023         here.
18024         * pa.h (TEXT_SPACE_P): Define.
18025         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
18026         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
18027         * som.h (TEXT_SPACE_P): Delete.
18028         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
18029         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
18030
18031 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
18032
18033         * expr.c (emit_group_load): Allow src to be a CONCAT.
18034
18035 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18036
18037         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
18038         (___mulsi3): Use '!' comment character.
18039
18040 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18041
18042         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
18043
18044 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
18045
18046         * gcc.c: Update URLs and mail addresses.
18047         * gcc.texi: Likewise.
18048
18049 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
18050
18051         * rs6000.c (current_file_function_operand): Return zero for
18052         weak functions.
18053         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
18054         weak symbols.
18055         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
18056         for weak symbols.
18057
18058 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
18059
18060         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
18061         allocate space in the stack frame for the PIC register.
18062
18063 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
18064
18065         * m68k.md (xordi3, anddi3): These patterns are not available on
18066         the coldfire.
18067
18068 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
18069
18070         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
18071         (PUT_REAL): Likewise.
18072
18073 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18074
18075         * final.c (shorten_branches): Don't add an alignment for loops
18076         that have no label inside.
18077
18078 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18079
18080         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
18081         prototypes in macro HAVE_cmpstrsi.
18082
18083         * cpplib.c (cpp_get_token): Remove unused label `op3'.
18084
18085         * emit-rtl.c (operand_subword): Remove unused variable
18086         `bits_per_word'.
18087
18088         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
18089
18090         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
18091
18092 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
18093
18094         * cpphash.c (macroexpand): Delete leading whitespace when arg
18095         is concatenated before.
18096         (unsafe_chars): Correct test for whether + and - can extend a
18097         token.
18098
18099         * cppinit.c (cpp_start_read): Do dependencies for
18100         -include/-imacros files also.
18101
18102         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
18103         tokenizing non-directive lines.
18104         (cpp_expand_to_buffer): Temporarily disable no-output mode.
18105         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
18106         the input file.
18107
18108 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
18109
18110         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
18111
18112         * c-lex.c: Sync with C++ frontend.
18113         (linemode): New variable.
18114         (parse_float): imag, conversion_errno, and type are output only.
18115         (yylex): Adjust.  Move initial '.' case into main switch.
18116         Use linemode.
18117         (handle_generic_pragma): Just deal with tokens.
18118         (readescape): Use ISXDIGIT and ISGRAPH.
18119         * c-parse.in: Add END_OF_LINE token.
18120
18121         * c-lex.c (lang_init): Generalize.
18122         (nextchar): Remove.  Replace uses with UNGETC.
18123         (skip_white_space): Handle linemode here.  Optimize for cpplib.
18124         (skip_white_space_on_line): Remove.
18125         (extend_token_buffer_to): New fn.
18126         (extend_token_buffer): Use it.
18127         (read_line_number, check_newline): Just deal with tokens.
18128         (token_getch, token_put_back): New fns.
18129         (yylex): Use them.  More cpplib optimizations.  Simplify.
18130
18131 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
18132                           Jason Merrill  <jason@yorick.cygnus.com>
18133
18134         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
18135         (consume_string): Make this smart about USE_CPPLIB.
18136         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
18137         (yylex): Rewrite to be intelligent about USE_CPPLIB.
18138         Also, clean up cases where we redundantly set token_buffer[0].
18139         (read_line_number): New fn.
18140         (ignore_escape_flag): New variable.
18141
18142 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
18143
18144         * a29k/t-a29kbare: Fix some comments.
18145         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
18146         (FPBIT, DPBIT): Define.
18147         * a29k/t-vx29k: Likewise.
18148         * arc/t-arc: Likewise.
18149         * arm/t-arm-elf: Likewise.
18150         * arm/t-bare: Likewise.
18151         * arm/t-pe: Likewise.
18152         * arm/t-pe-thumb: Likewise.
18153         * arm/t-semi: Likewise.
18154         * arm/t-thumb: Likewise.
18155         * arm/t-thumb-elf: Likewise.
18156         * arm/t-thumb-linux: Likewise.
18157         * h8300/t-h8300: Likewise.
18158         * i960/t-i960: Likewise.
18159         * i960/t-vxworks960: Likewise.
18160         * m32r/t-m32r: Likewise.
18161         * mips/t-ecoff: Likewise.
18162         * mips/t-elf: Likewise.
18163         * mips/t-r3900: Likewise.
18164         * pa/t-pro: Likewise.
18165         * rs6000/t-aix43: Likewise.
18166         * rs6000/t-beos: Likewise.
18167         * rs6000/t-newas: Likewise.
18168         * rs6000/t-ppccomm: Likewise.
18169         * rs6000/t-rs6000: Likewise.
18170         * rs6000/t-winnt: Likewise.
18171         * rs6000/t-xnewas: Likewise.
18172         * rs6000/t-xrs6000: Likewise.
18173         * sh/t-sh: Likewise.
18174         * sparc/t-elf: Likewise.
18175         * sparc/t-sparcbare: Likewise.
18176         * sparc/t-sparclite: Likewise.
18177         * sparc/t-splet: Likewise.
18178         * v850/t-v850: Likewise.
18179         * mn10200/t-mn10200: Fix comments.
18180         * mn10300/t-mn10300: Likewise.
18181
18182         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
18183         dummy operand.  Allocate a new pseudo for the dummy operand.
18184         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
18185
18186         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
18187
18188 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
18189
18190         * configure: Rebuilt.
18191         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
18192
18193 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
18194
18195         * recog.c (preproces_constraints): Zero recog_op_alt before
18196         processing the constraints.
18197
18198         * arm.c (typedef minipool_node): Renamed from pool_node.
18199         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
18200         (add_minipool_constant): New function.
18201         (dump_minipool): New function.
18202         (find_barrier): Remove special case for getting the insn size of
18203         an insn that references the constant pool.
18204         (minipool_fixup): New structure.
18205         (push_minipool_barrier): New function.
18206         (push_minipool_fix): New function.
18207         (note_invalid_constants): New function.
18208         (add_pool_constant, dump_table, fixit, broken_move): Delete.
18209         (arm_reorg): Rewrite code to fix up the constant pool into a
18210         series of mini-pools embedded in the insn stream.
18211         (arm_output_epilogue): New function, made mainly from the body
18212         of output_func_epilogue.
18213         (output_func_epilogue): Move insn generation part of epilogue code
18214         to arm_output_epilogue.
18215         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
18216         * arm.md (pool_range): New attribute.
18217         (zero_extendqidi2): Add attribute pool_range.
18218         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
18219         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
18220         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
18221         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
18222         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
18223         (epilogue): New expand.
18224         (epilogue_insn): New insn.  Call arm_output_epilogue.
18225
18226         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
18227         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
18228
18229 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
18230
18231         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
18232
18233 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
18234
18235         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
18236
18237 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
18238
18239         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
18240
18241 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
18242
18243         * global.c: Fix comment.
18244
18245 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
18246
18247         * gcc.c (access_check): New static function.
18248         (find_a_file): Use it when searching a directory list.
18249         * collect2.c (find_a_file): Don't accept directories found when
18250         searching a directory list.
18251
18252 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
18253
18254         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
18255         function parameters with `&'.
18256         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
18257
18258 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
18259
18260         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
18261         or tidy_fallthru_edge if the last insn in the block is not
18262         an unconditional jump or a simple conditional jump.
18263
18264 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18265
18266         * Makefile.in (c-decl.o): Depends on defaults.h.
18267
18268 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
18269
18270         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
18271         PA1.1 and above.
18272         (CLASS_MAX_NREGS): Likewise.
18273
18274 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
18275
18276         * cse.c (cse_insn): Fix dumb thinko in last change.
18277
18278 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18279
18280         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
18281         "const char *".
18282
18283 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
18284
18285         * dwarf2out.c (add_location_or_const_value_attribute): Correct
18286         test for sizes of passed and declared parameter types.
18287
18288 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18289
18290         * fixincludes: Fix the return type of bsearch, char* -> void*.
18291
18292         * fixinc/inclhack.def: Likewise.
18293
18294 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
18295
18296         * invoke.texi (-fdump-translation-unit): New option.
18297
18298 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
18299
18300         * expr.h (PROMOTE_PROTOTYPES): Move ...
18301         * defaults.h: ... to here.
18302         * c-decl.c: Include defaults.h instead of expr.h.
18303         * c-typeck.c: Include defaults.h.
18304
18305 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
18306
18307         * toplev.h (errorcount): Declare.
18308         (warningcount): Likewise.
18309         (sorrycount): Likewise.
18310         * c-lex.c (errorcount): Don't declare.
18311         * dwarf2out.c (errorcount): Don't declare.
18312
18313 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
18314
18315         * config/libgloss.h: Add a note discouraging use with ELF.
18316         * configure.in: Don't use libgloss.h for ELF targets.
18317         Always use_collect2 on a.out targets.
18318
18319 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
18320
18321         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
18322         (force_to_mode, case ASHIFTRT): Add shiftrt label.
18323
18324 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18325
18326         * loop.c (strength_reduce): When doing biv->giv conversion, update
18327         reg note of NEXT->insn.
18328
18329 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
18330
18331         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
18332
18333 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
18334
18335         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
18336         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
18337         Ensure expr.h is included.
18338         * c-typecheck.c (convert_arguments): Ditto.
18339
18340         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
18341
18342         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
18343         * config/convex/convex.h: Ditto.
18344         * config/dsp16xx/dsp16xx.h: Ditto.
18345         * config/fx80/fx80.h: Ditto.
18346         * config/gmicro/gmicro.h: Ditto.
18347         * config/i370/i370.h: Ditto.
18348         * config/i386/i386.h: Ditto.
18349         * config/m32r/m32r.h: Ditto.
18350         * config/m68k/m68k.h: Ditto.
18351         * config/m88k/m88k.h: Ditto.
18352         * config/mips/mips.h: Ditto.
18353         * config/pa/pa.h: Ditto.
18354         * config/pyr/pyr.h: Ditto.
18355         * config/tahoe/tahoe.h: Ditto.
18356         * config/we32k/we32k.h: Ditto.
18357
18358         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
18359         based on arch size.
18360
18361         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
18362
18363         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
18364         from comment.
18365
18366         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
18367
18368 1999-08-02  Richard Henderson  <rth@cygnus.com>
18369
18370         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
18371         for the register spill block.
18372         (m32r_va_arg): New.
18373         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
18374         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
18375
18376         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
18377         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
18378         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
18379
18380 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
18381
18382         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
18383         MAX_WCHAR_TYPE defined in sparc.h.
18384         * config/sparc/linuxaout.h: Likewise.
18385         * config/sparc/linux64.h: Likewise.
18386         Also default to -mvis if CPU is UltraSPARC.
18387
18388 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
18389
18390         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
18391         (RTX_OK_FOR_OLO10): Likewise.
18392         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
18393         %lo(), allow it in addresses...
18394         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
18395         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
18396         does not make sense.
18397         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
18398         (sparc_output_scratch_registers): New function.
18399         (output_function_prologue, sparc_flat_output_function_prologue): Use
18400         it.
18401         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
18402         defined.
18403         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
18404         * configure.in: Add check for .register pseudo-op support in as and
18405         check for offsetable %lo().
18406         * acconfig.h: Add templates for the above checks.
18407         * configure: Regenerate.
18408
18409 1999-08-02  Richard Henderson  <rth@cygnus.com>
18410
18411         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
18412         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
18413         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
18414
18415 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18416
18417         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
18418         reg_biv_class.
18419
18420 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
18421
18422         * config/float-sparc.h: New file.
18423         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
18424         sparc-*-linux-gnu and sparc64-*-linux*.
18425
18426 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18427
18428         * rs6000.c (rs6000_va_list): Type is an array.
18429         (rs6000_va_start): Don't doubly adjust for varargs.
18430         (rs6000_va_arg): Evaluate long long GPR adjustment.
18431
18432 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
18433
18434         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
18435         -maix64 and -maix32.
18436         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
18437         LINK_SPEC): Change appropriately.
18438         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
18439         (u_short_cint_operand): Likewise.
18440         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
18441         for 64-bit hosts.
18442         * rs6000/t-aix43 (MULTILIB): Change to -m64.
18443
18444         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
18445
18446 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
18447
18448         * rs6000/rs6000.c (num_insns_constant_wide): Correct
18449         for type promotion.
18450         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
18451         (non_add_cint_operand): Likewise.
18452         (logical_operand): Likewise.
18453         (non_logical_cint_operand): Likewise.
18454         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
18455         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
18456         (rs6000_select_rtx_section): Suppress warning.
18457         (small_data_operand): Suppress warning.
18458         (rs6000_got_register): Suppress warning.
18459         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
18460         type, so `J' is generally the wrong constraint for a SImode value;
18461         use `L' instead.
18462         (andsi3_internal2): Likewise.
18463         (andsi3_internal3): Likewise.
18464         (iorsi3_internal1): Likewise.
18465         (xorsi3_internal1): Likewise.
18466         (movsi): Likewise.
18467         (movsf_softfloat): Likewise.
18468         (scc insns): Likewise.
18469         (movsi+2): Preserve sign bits of SImode constant.
18470         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
18471         (movdf+1): Sign-extend properly.
18472         (movdi_32+1): Sign-extend properly.
18473         (scc insns): Sign-extend properly.
18474
18475         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
18476         K, L, and T.
18477
18478 1999-08-02  Richard Henderson  <rth@cygnus.com>
18479
18480         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
18481         -mcpu parsing code.
18482         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
18483         * alpha.md (all fp insns): Likewise.
18484
18485 1999-08-02  Nick Clifton  <nickc@cygnus.com>
18486
18487         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
18488         already defined.
18489
18490 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
18491
18492         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
18493         pic_load_label generator directly.
18494         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
18495         No longer a named pattern.
18496
18497 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
18498
18499         * explow.c (force_reg): Call force_operand if X does not
18500         satisfy general_operand.
18501
18502 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
18503
18504         * fix-header.c (main): When testing for CONTINUED, use string
18505         equality, not pointer equality.
18506
18507 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
18508
18509         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
18510
18511 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
18512
18513         * cse.c (cse_insn): Fix loop which deletes insns after a jump
18514         that has become an unconditional jump.
18515
18516         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
18517         (output_function_epilogue): Similarly.
18518
18519 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18520
18521         * tree.h (init_dummy_function_start): Declare.
18522
18523 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18524
18525         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
18526         last_expr_type, last_expr_value, block_start_count, block_stack,
18527         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
18528         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
18529         dynamically in stmt elt of struct function for each function.
18530         (struct nesting): Rename function_call_count elt to n_function_calls,
18531         target_temp_slot_level to block_target_temp_slot_level.  All users
18532         changed.
18533         (struct stmt_status): New structure definition.
18534         Add many accessor macros for stmt_status elements which previously
18535         were global variables.
18536         (init_stmt_for_function): Allocate stmt elt for current_function.
18537         Reflect that block_start_count was renamed to
18538         current_block_start_count.
18539         (save_stmt_status, restore_stmt_status): Delete functions.
18540         (preserve_subexpressions_p): Don't access loop_stack when outside
18541         a function.
18542         (expand_start_bindings): Reflect that block_start_count was renamed to
18543         current_block_start_count.
18544         (expand_fixup): Likewise.
18545         (expand_decl): Don't access block_stack when outside a function.
18546         (expand_decl_cleanup): Likewise.
18547         (expand_dcc_cleanup): Likewise.
18548         (expand_dhc_cleanup): Likewise.
18549         (expand_anon_union_decl): Likewise.
18550         (set_file_and_line_for_stmt): New function.
18551         (in_control_zone_p): New function.
18552
18553         * function.h (struct function): Add new elt stmt.
18554         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
18555         case_stack, nesting_stack, nesting_depth, block_start_count,
18556         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
18557         emit_lineno, goto_fixup_chain.
18558         (save_eh_status, restore_eh_status, save_stmt_status,
18559         restore_stmt_status): Delete declarations.
18560         * function.c (push_function_context_to): Don't call save_stmt_status.
18561         (pop_function_context_to): Don't call restore_stmt_status.
18562         * tree.h (in_control_zone_p): Declare.
18563         * rtl.h (set_file_and_line_for_stmt): Declare.
18564
18565         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
18566         call set_file_and_line_for_stmt.
18567
18568 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
18569
18570         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
18571         Also update copyright.
18572
18573 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18574
18575         * c-pragma.c: Don't include "except.h".
18576         * emit-rtl.c: Likewise.
18577         * stor-layout.c: Likewise.
18578         * tree.c: Likewise.
18579         * varasm.c: Likewise.
18580
18581         * flow.c: Include "function.h".
18582         * tree.h (init_dummy_function_start): Declare new function.
18583
18584         * except.h (struct eh_status): New structure.
18585         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
18586         been included.
18587         (eh_return_stub_label, ehstack, catchstack, ehqueue,
18588         catch_clauses, false_label_stack, caught_return_label_stack,
18589         protect_list, current_function_ehc): Add accessor macros for the
18590         corresponding fields in current_function->eh; delete declarations
18591         for all items that used to be declared here.
18592         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
18593         catch_clauses, false_label_stack, caught_return_label_stack,
18594         protect_list, current_function_ehc): Delete variables.
18595         (init_eh_for_function): Allocate current_function->eh.
18596         (save_eh_status, restore_eh_status): Delete functions.
18597
18598         * function.h (struct function): Add fields next_global and eh.
18599         Delete all exception handling related fields.
18600         * function.c (current_function): New variable.
18601         (all_functions): New variable.
18602         (push_function_context_to): Don't allocate a struct function,
18603         use current_function instead.  Call init_dummy_function_start when
18604         outside a function.  Clear current_function before returning.
18605         (pop_function_context_from): Restore current_function.
18606         Don't free the restored struct function.
18607         (prepare_function_start): New function.
18608         (init_dummy_function_start): New function.
18609         (init_function_start): Break out some code into prepare_function_start
18610         and call it here.
18611
18612         * stmt.c (save_stmt_status): Don't call save_eh_status.
18613         (restore_stmt_status): Don't call restore_eh_status.
18614
18615         * Makefile.in: Update dependencies.
18616
18617 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
18618
18619         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
18620         of depending on a magic constant value.  Update comments.
18621         (hppa_expand_prologue): Similarly.
18622
18623         * pa.md (reload_indi, reload_outdi): Allow any register for the
18624         original reload register.
18625
18626 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
18627
18628         * cccp.c (print_help): Change marcos to macros.
18629
18630 1999-07-30  Richard Henderson  <rth@cygnus.com>
18631
18632         * c-typeck.c (initializer_constant_valid_p): Move ...
18633         * c-common.c (initializer_constant_valid_p): ... here.  Use
18634         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
18635         of label addresses.
18636         * c-common.h (initializer_constant_valid_p): Declare.
18637         * c-tree.h (initializer_constant_valid_p): Remove.
18638
18639 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
18640
18641         * config/i386/sol2-c1.asm: Align the stack.
18642         * config/i386/sol2-gc1.asm: Likewise.
18643
18644 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
18645
18646         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
18647         -Asparclite for sparc86x.
18648         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
18649         sparc86x.
18650         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
18651
18652 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
18653
18654         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
18655         the user if using the non-default arch size in BI_ARCH configuration.
18656         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
18657
18658         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
18659         Fix patterns so that they actually match.
18660         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
18661         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
18662         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
18663         TARGET_HARD_MUL32.
18664         (mulsidi3): Reflect this in the expand.
18665         (smulsi3_highpart): Only on TARGET_ARCH32.
18666         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
18667         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
18668         (umulsidi3): Reflect this in the expand.
18669         (umulsi3_highpart): Only on TARGET_ARCH32.
18670         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
18671         don't require g0 to be zero.
18672         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
18673         ({,u}divsi3): New expands.
18674         ({,u}divsi3_sp64): New patterns.
18675         (after lshrdi3_v8plus): Four new patterns to help combiner
18676         optimizing nested mixed mode shifts.
18677
18678         * config/sparc/sparc.c (sparc_override_options): Use deprecated
18679         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
18680         speed things up. Don't use them by default on plain v9 in 64bit
18681         mode, according to what SPAMv9 sais.
18682
18683         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
18684         top 32 bits of %[og][0-7] in signal handlers.
18685         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
18686
18687 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
18688
18689         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
18690         (ashlsi3): Corresponding changes.
18691
18692         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
18693
18694 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
18695
18696         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
18697
18698 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18699
18700         * arm.h (Hint): Delete macro.
18701         Substitute HOST_WIDE_INT for Hint in some prototypes.
18702         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
18703
18704 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
18705
18706         * builtins.c (expand_builtin_setjmp): Use force_operand to
18707         make sure that the buffer address is in a suitable form to be
18708         passed to force_reg.
18709
18710 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
18711
18712         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
18713         them here.
18714
18715 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
18716
18717         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
18718         proper mode in the condition string.
18719         (icacheflush, dcacheflush): Remove modes from match_operands.
18720
18721         * pa.c (emit_move_sequence): Always convert scratch_reg to the
18722         proper mode before using it.
18723
18724         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
18725         pair.
18726
18727         * pa.c (store_reg): Do not call add_high_const generator directly.
18728         (load_reg, set_reg_plus_d): Likewise.
18729         * pa.md (add_high_const): No longer a named pattern.
18730
18731         * pa.c (legitimize_address): Consistently use Pmode rather than
18732         SImode.  Do not call gen_pic2_highpart directly anymore.
18733         * pa.md (pic2_highpart): No longer a named pattern.
18734         (pic2_lo_sum): Similarly.  Reformat to make more readable.
18735
18736         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
18737         needed.
18738
18739         * README: Update.
18740
18741 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18742
18743         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
18744
18745 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
18746
18747         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
18748         and tag the spill mems.
18749         (hppa_va_start): New.
18750         (hppa_va_arg): New.
18751         * pa.h (EXPAND_BUILTIN_VA_START): New.
18752         (EXPAND_BUILTIN_VA_ARG): New.
18753
18754 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
18755
18756         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
18757         and tag the spill mems.
18758         (mn10300_va_start): New.
18759         (mn10300_va_arg): New.
18760         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
18761         (EXPAND_BUILTIN_VA_ARG): New.
18762
18763 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
18764
18765         * mn10200.c (mn10200_va_arg): New.
18766         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
18767
18768 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
18769
18770         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
18771         rather than play with TREE_INT_CST_LOW.
18772
18773 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
18774
18775         * config/arm/telf.h: Include dbxelf.h.
18776         (CPP_PREDEFINES): Only define if not already defined.
18777         (ASM_IDENTIFY_GCC): Likewise.
18778         (SUBTARGET_EXTRA_SECTIONS): Likewise.
18779         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
18780         * config/arm/thumb.h (LINK_SPEC): Only define if not already
18781         defined.
18782         (DBX_DEBUGGING_INFO): Don't define.
18783         * config/arm/linux-telf.h: New file.
18784         * config/arm/linux-tgas.h: New file.
18785         * config/arm/t-thumb-linux: New file.
18786         * config/arm/uclinux-elf.h: New file.
18787         * config/arm/uclinux-telf.h: New file.
18788         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
18789         thumb-*-uclinux): New targets.
18790         * configure: Regenerate.
18791
18792 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
18793
18794         * pa.md (post_store, pre_load): New expanders.
18795         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
18796         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
18797         need to directly generate RTL for them.
18798         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
18799         changes.
18800
18801 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
18802
18803         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
18804         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
18805         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
18806         (secndary_reload_class): Make TARGET_ELF conditional compile.
18807         (print_operand_address): Similar.
18808         (output_toc): Print all values as hex.
18809         (get_issue_rate): Rearrange and add RS64A and PPC630.
18810         * rs6000.h (processor_type): Add RS64A and PPC630.
18811         (PROCESSOR_POWERPC64): New.
18812         (PROMOTE_MODE): Use word_mode.
18813         (RTX_COSTS): Add RS64A and PPC630.
18814         * rs6000.md (scheduling information): Add lmul and ldiv
18815         representing 64-bit integer multiply and divide.  Add rs64a and
18816         PPC630 information.
18817         (ashldi3): Add support for "rldic" instruction.
18818         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
18819
18820 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
18821
18822         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
18823         instead of V8 for sparclite86x in cpu_table.
18824
18825 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18826
18827         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
18828         output_file_directive.
18829
18830 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
18831
18832         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
18833         tree for op1, not the rtl.
18834
18835 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
18836
18837         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
18838         to m88k_va_start, leaving only the register spill.
18839         (m88k_build_va_list): New.
18840         (m88k_va_start): New.
18841         (m88k_va_arg): New.
18842         * m88k.h (BUILD_VA_LIST_TYPE): New.
18843         (EXPAND_BUILTIN_VA_START): New.
18844         (EXPAND_BUILTIN_VA_ARG): New.
18845
18846 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
18847
18848         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
18849         Rename from expand_builtin_saveregs.
18850         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
18851
18852 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
18853
18854         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
18855         for the register spill block.
18856         (i960_build_va_list): New.
18857         (i960_va_start): New.
18858         (i960_va_arg): New.
18859         * i960.h (BUILD_VA_LIST_TYPE): New.
18860         (EXPAND_BUILTIN_VA_START): New.
18861         (EXPAND_BUILTIN_VA_ARG): New.
18862         * i960.md (store_multiple): Use change_address on individul mems.
18863
18864 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
18865
18866         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
18867         an ARRAY_TYPE.
18868         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
18869         (expand_builtin_va_end): Evaluate arg for side effects.
18870         * c-common.c (c_common_nodes_and_builtins): Construct a
18871         va_list_arg_type_node to handle array decomposition to pointer.
18872
18873 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
18874
18875         * except.c (start_dynamic_cleanup): Use force_operand on the
18876         buffer's address.
18877
18878 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
18879
18880         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
18881         * c4x.c (c4x_va_arg): New.
18882
18883 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
18884
18885         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
18886         has manual_pop set.
18887
18888 1999-07-26  Nathan Sidwell  <nathan@acm.org>
18889
18890         * eh-common.h (__eh_matcher): Prototype correctly.
18891
18892 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
18893
18894         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
18895         (TARGET_SINGLE_PIC_BASE): Likewise.
18896         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
18897         definitions.
18898         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
18899         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
18900         (TARGET_OPTIONS): Add -mpic-register=N.
18901         (OUTPUT_INT_ADDR_CONST): New macro.
18902         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
18903         LEGITIMATE_PIC_OPERAND_P): Likewise.
18904         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
18905         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
18906         output_addr_const directly.
18907         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
18908         ARM port.
18909         (thumb_pic_register, thumb_pic_register_string): Declare.
18910
18911         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
18912         from arm.c.
18913         (label_mentioned_p): New function: Imported from arm.c.
18914         (legitimize_pic_address): New function: Imported from arm.c.
18915         (is_pic):New function: Imported from arm.c.
18916         (thumb_finalize_pic):New function: Imported from arm.c.
18917         (add_constant): Cope with PIC constants.
18918         (fixit): Cope with PIC constants.
18919         (output_return): Do not treat the PIC register as live if
18920         TARGET_SINGLE_PIC_BASE is true.
18921         (thumb_function_prologue): Do not treat the PIC register as live if
18922         TARGET_SINGLE_PIC_BASE is true.
18923         (thumb_expand_prologue): Do not treat the PIC register as live if
18924         TARGET_SINGLE_PIC_BASE is true.
18925         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
18926         TARGET_SINGLE_PIC_BASE is true.
18927         (thumb_print_operand): Accept '|'.
18928         (thumb_override_options): Process PIC options.
18929
18930         * config/arm/thumb.md (movsi): Support PIC.
18931         (call_insn): Change "i" constraint to "X".
18932         (call_value_insn): Likewise.
18933         (consttable_4, consttable_8, consttable_end): Set and clear
18934         "making_const_table" as appropriate.
18935         (pic_load_addr, pic_add_dot_plus_four): New insns.
18936
18937         * invoke.texi (Thumb Options): Fix spelling.  Document new
18938         options -msingle-pic-base and -mpic-register=.
18939
18940 1999-07-26  Andrew Haley  <aph@cygnus.com>
18941
18942         * config/m32r/initfini.c (__init): Use a full word immediate for
18943         __fini: this allows it to be placed in any memory region.
18944
18945         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
18946         -mmodel=medium.  This is OK for all memory models.
18947
18948 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
18949
18950         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
18951         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
18952
18953 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
18954
18955         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
18956         defined.
18957
18958         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
18959
18960 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
18961
18962         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
18963         (BUILD_VA_LIST_TYPE): New.
18964         (EXPAND_BUILTIN_VA_START): New.
18965         (EXPAND_BUILTIN_VA_ARG): New.
18966         * i860.c (output_delayed_branch): Disable.
18967         (output_delay_insn): Likewise.
18968         (i860_saveregs): New.
18969         (i860_build_va_list): New.
18970         (i860_va_start): New.
18971         (i860_va_arg): New.
18972         * i860.md: Disable all peepholes using output_delayed_branch.
18973         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
18974
18975 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
18976
18977         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
18978         (BUILD_VA_LIST_TYPE): New.
18979         (EXPAND_BUILTIN_VA_START): New.
18980         (EXPAND_BUILTIN_VA_ARG): New.
18981         * clipper.c (clipper_builtin_saveregs): Only dump registers.
18982         Return the address of the save area.
18983         (clipper_build_va_list): New.
18984         (clipper_va_start): New.
18985         (clipper_va_arg): New.
18986
18987 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
18988
18989         * arc.h (EXPAND_BUILTIN_VA_START): New.
18990         (EXPAND_BUILTIN_VA_ARG): New.
18991         * arc.c (arc_setup_incoming_varargs): Set alias set of
18992         varargs save area.
18993         (arc_va_start): New.
18994         (arc_va_arg): New.
18995
18996 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
18997
18998         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
18999         (BUILD_VA_LIST_TYPE): New.
19000         (EXPAND_BUILTIN_VA_START): New.
19001         (EXPAND_BUILTIN_VA_ARG): New.
19002         * alpha.c (alpha_builtin_saveregs): Delete.
19003         (alpha_build_va_list): New.
19004         (alpha_va_start): New.
19005         (alpha_va_arg): New.
19006
19007 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
19008
19009         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
19010         column zero.
19011         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
19012         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
19013
19014         * gcc.texi: More changes related to list conversion.
19015         * invoke.texi: Likewise.
19016
19017 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
19018
19019         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
19020         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
19021         (expand_builtin_next_arg): Accept ARGLIST not EXP.
19022         (stabilize_va_list): New function.
19023         (std_expand_builtin_va_start): New function.
19024         (expand_builtin_va_start): New function.
19025         (get_varargs_alias_set): New function.
19026         (std_expand_builtin_va_arg): New function.
19027         (expand_builtin_va_arg): New function.
19028         (expand_builtin_va_end): New function.
19029         (expand_builtin_va_copy): New function.
19030         (expand_builtin): Call them.
19031         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
19032         __builtin_{varargs_start,stdarg_start,end,copy}.
19033         (build_va_arg): New function.
19034         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
19035         (build_va_arg): Declare.
19036         * c-decl.c (ptr_type_node, va_list_type_node): New.
19037         * c-parse.gperf (__builtin_va_arg): New.
19038         * c-parse.in (VA_ARG): New token.
19039         (unary_expr): Recognize it.
19040         * expr.c (expand_expr): Expand VA_ARG_EXPR.
19041         * expr.h (std_expand_builtin_va_start): Declare.
19042         (std_expand_builtin_va_arg): Declare.
19043         (expand_builtin_va_arg): Declare.
19044         (get_varargs_alias_set): Declare.
19045         * tree.def (VA_ARG_EXPR): New.
19046         * tree.h (BUILT_IN_VARARGS_START): New.
19047         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
19048         (ptr_type_node, va_list_type_node): Declare.
19049         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
19050         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
19051         * m88k.h, m88k.c: Likewise.
19052         * mn10300.h, mn10300.c: Likewise.
19053         * pa.h, pa.c: Likewise.
19054         * rs6000.h, rs6000.c: Likewise.
19055         * sh.h, sh.c: Likewise.
19056         * sparc.h, sparc.c: Likewise.
19057
19058         * emit-rtl.c (operand_subword): Copy alias set.
19059         (change_address): Likewise.
19060
19061 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
19062
19063         * pa.c (compute_frame_size): Scan all the used callee saved registers,
19064         not just the first one.
19065
19066 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
19067
19068         * config/arm/arm.h (TARGET_SWITCHES): Add
19069         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
19070         (TARGET_OPTIONS): Add -mpic-register=.
19071         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
19072         (arm_pic_register_string): Declare.
19073         (NEED_PLT_GOT): Delete, replace with ...
19074         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
19075         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
19076         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
19077         * config/arm/arm.c (arm_override_options): Add new option
19078         -mpic-register=N.
19079         (arm_pic_register_string): New variable.
19080         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
19081         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
19082         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
19083         (output_return_instruction): Likewise.
19084         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
19085         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
19086         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
19087
19088         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
19089         mention of -msched-prolog.  Document new options -msingle-pic-base
19090         and -mpic-register=.
19091
19092 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
19093
19094         * haifa-sched.c (reemit_notes): Tidy.
19095         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
19096         haifa's routine.
19097
19098 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
19099
19100         * explow.c (trunc_int_for_mode): New function.
19101         (plus_constant_wide): Use it.
19102         * combine.c (simplify_and_const_int): Likewise.
19103         (merge_outer_ops): Likewise.
19104         (simplify_shift_const): Likewise.
19105         * cse.c (simplify_unary_operation): Likewise.
19106         (simplify_binary_operation): Likewise.
19107         * emit-rtl.c (operand_subword): Likewise.
19108         * rtl.h: Declare it.
19109
19110 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19111
19112         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
19113         (use NUM_REGS instead of NUM_INTS).
19114
19115 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19116
19117         * builtins.c: New file.
19118         * expr.c (saveregs_value, apply_args_value):  Delete definition,
19119         moved into builtins.c.
19120         (string_constant): No longer static.
19121         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
19122         apply_args_size, apply_result_size, result_vector,
19123         expand_builtin_apply_args, expand_builtin_apply,
19124         expand_builtin_return): Delete functions, moved into builtins.c.
19125         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
19126         * expr.h (saveregs_value, apply_args_value): Declare variables.
19127         (expand_builtin, string_constant): Declare functions.
19128         * Makefile.in: Update to build builtin.o.
19129
19130 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
19131
19132         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
19133         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
19134         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
19135         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
19136         false.
19137         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
19138         Define to zero.
19139
19140 1999-07-21  Michael Meissner  <meissner@cygnus.com>
19141
19142         * print-rtl.c (print_rtx): Print the names of the virtual
19143         registers.
19144
19145 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
19146
19147         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
19148         introduced in previous delta.
19149
19150 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19151
19152         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
19153         to avoid name clash.
19154
19155 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19156
19157         * c-lex.c (yylex) : Correct the test for overflow when lexing
19158         integer literals.
19159
19160 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
19161
19162         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
19163         (adjust_priority): Always call ADJUST_PRIORITY.
19164         (schedule_insn): Only put insns into the ready at cost 0.
19165         (schedule_block): Remove redundant initial sort.  Give clock_var
19166         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
19167         is not 0.
19168         * tm.texi (MD_SCHED_REORDER): Update docs.
19169
19170         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
19171         * sparc.c (ultra_reorder_called_this_block): Delete.
19172         (ultrasparc_sched_init): Don't set it.
19173         (ultrasparc_sched_reorder): Don't check it.
19174
19175 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
19176
19177         * rs6000.h (struct rs6000_args): Add sysv_gregno.
19178         * rs6000.c (init_cumulative_args): Init sysv_gregno.
19179         (function_arg_boundary): Align DFmode.
19180         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
19181         to get fp reg and stack overflow correct.
19182         (function_arg): Likewise.
19183         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
19184         (setup_incoming_varargs): Restructure for ABI_V4; use
19185         function_arg_advance to skip final named argument.
19186         (expand_builtin_saveregs): Properly unskip the last integer arg
19187         when doing varargs.  Adjust overflow location calculation.
19188
19189         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
19190         explicitly unsigned.
19191         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
19192         (__VA_GP_REGSAVE): Similarly.
19193         (__va_longlong_p): Delete.
19194         (__va_arg_type_violation): New declaration.
19195         (va_arg): Restructure.  Flag promotion errors.  Align double.
19196         TFmode passed by reference.
19197
19198         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
19199         in the HOST_BITS_PER_WIDE_INT > 32 case.
19200
19201 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
19202
19203         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
19204
19205 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
19206
19207         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
19208         * toplev.c (documented_lang_options): Add -fpreprocessed.
19209         * cpplib.h (struct cpp_buffer): Add preprocessed.
19210         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
19211         (cpp_start_read): Don't expand macros or emit an initial #line
19212         directive if -fpreprocessed.
19213
19214 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
19215
19216         * cpplib.h (struct cpp_buffer): Added manual_pop for
19217         better C++ tokenization.
19218         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
19219         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
19220         * c-common.c (cpp_token): Make non-static.
19221
19222 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19223
19224         * c-common.h: New file.
19225         * c-common.c (permanent_obstack): Delete unused declaration.
19226         (c_global_trees): New array.
19227         (c_common_nodes_and_builtins): New function; split off common code
19228         from init_decl_processing in both c-decl.c and cp/decl.c.
19229         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
19230         c_global_trees and accessor macros defined in c-common.h.
19231         Include c-common.h.
19232         * c-decl.c: Delete definitions for tree nodes that were replaced by
19233         c_global_trees.
19234         (init_decl_processing): Build void_list_node.
19235         Call c_common_nodes_and_builtins; delete code to generate the common
19236         builtins here.
19237         * objc/objc-act.c (build_module_descriptor): Rename variable
19238         void_list_node to avoid clash with c-common.h.
19239
19240         * Makefile.in: Update dependencies.
19241         * objc/Make-lang.in: Likewise.
19242
19243 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
19244
19245         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
19246         (UNIQUE_SECTION_P): Likewise.
19247         (UNIQUE_SECTION): Likewise.
19248
19249 1999-07-19  Linas Vepstas  <linas@linas.org>
19250
19251         * config/i370/README: New file.
19252         * config/i370/linux.h: New file.
19253         * config/i370/mvs.h: New file.
19254         * config/i370/oe.h: New file.
19255         * config/i370/t-linux: New file.
19256         * config/i370/t-mvs: New file.
19257         * config/i370/t-oe: New file.
19258         * config/i370/x-oe: New file.
19259         * config/i370/xm-linux.h: New file.
19260         * config/i370/xm-mvs.h: New file.
19261         * config/i370/xm-oe.h: New file.
19262
19263         * i370.c (label_node_t): Add first_ref_page, label_addr,
19264         label_first_ref, label_last_ref members.
19265         (mvs_need_base_reload): Renamed from mvs_label_emitted.
19266         (MAX_MVS_LABEL_SIZE): Define.
19267         (MAX_LONG_LABEL_SIZE): Define.
19268         (alias_node_t, alias_anchor, alias_number): New.
19269         (mvs_function_table): Reorder for EBCDIC.
19270         (ascebc, ebcasc): Unconditionally define.
19271         (i370_branch_dest, i370_branch_length): New functions.
19272         (i370_short_branch, i370_label_scan): New functions.
19273         (mvs_get_label): Renamed from mvs_add_label.  Search for
19274         an existing label before creating a new one.
19275         (mvs_add_label): New function.
19276         (mvs_get_label_page): New function.
19277         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
19278         over the entire list.
19279         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
19280         (mvs_check_page) [TARGET_ELF_ABI]: New function.
19281         (mvs_add_alias, mvs_need_alias): New functions.
19282         (mvs_get_alias, mvs_check_alias): New functions.
19283         (handle_pragma): New function.
19284         (mvs_function_check): New function.
19285         (unsigned_jump_follows_p): Search harder.
19286         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
19287         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
19288         * i370.h (TARGET_VERSION): Delete.
19289         (CPP_SPEC, CPP_PREDEFINES): Delete.
19290         (mvs_label_emitted): Delete.
19291         (TARGET_EBCDIC): Delete.
19292         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
19293         (HANDLE_PRAGMA): Define.
19294         (HARD_REGNO_NREGS): Handle complex modes.
19295         (HARD_REGNO_MODE_OK): Likewise.
19296         (CLASS_MAX_NREGS): Likewise.
19297         (RET_REG): Likewise.
19298         (EXTRA_CONSTRAINT): Define.
19299         (RETURN_IN_MEMORY): True for DImode.
19300         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
19301         (FUNCTION_PROFILER): Delete.
19302         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
19303         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
19304         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
19305         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
19306         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
19307         (ASM_FILE_START): Add "RMODE ANY".
19308         (ASM_OUTPUT_EXTERNAL): Check for aliases.
19309         (ASM_GLOBALIZE_LABEL): Likewise.
19310         (ASM_OUTPUT_LABELREF): Likewise.
19311         (ASM_OUTPUT_COMMON): Likewise.
19312         (PRINT_OPERAND): Handle 'K', 'W', default.
19313         (PRINT_OPERAND_ADDRESS): New.
19314         (Lots of defines): Add support for TARGET_ELF_ABI.
19315         * i370.md (attr length): New.  Define for all patterns.
19316         (*): Lots of tweeks to assembly output and constraints.
19317
19318 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
19319
19320         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
19321         Disable patterns performing SImode comparisons with SImode values
19322         if TARGET_POWERPC64 and instruction does not sign-extend or does
19323         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
19324         differ for signed quantities.
19325         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
19326         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
19327         (decrement_and_branch_on_count): Add 64-bit variant.
19328
19329 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19330
19331         * final.c (output_asm_insn): When searching for the matching string
19332         for a given dialect, don't run past the end of the list of
19333         alternatives if there are fewer alternatives in the template than
19334         dialects.
19335
19336 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
19337
19338         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
19339         Removed paragraph about compression of files and size limitation,
19340         duplicated in the FAQ.  Use gcc-patches for posting patches.
19341         * gcc.c (main): Updated URL with bug reporting instructions to
19342         gcc.gnu.org.  Removed e-mail address.
19343         * system.h (abort): Likewise.
19344
19345 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19346
19347         * Makefile.in (stmp-multilib-sub): Make the files extracted
19348         from $(LIBGCC1) writable.
19349
19350 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
19351
19352         * config/arm/aout.h: Reformat for improved readability.
19353
19354         * config/arm/arm.h: Reformat for improved readability.
19355         Replace uses of fprintf with asm_fprintf where appropriate.
19356         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
19357         function declaration assembler actions.
19358         (NUM_INTS): New macro: Convert from bytes to words.
19359         (NUM_REGS): New macro: Compute number of registers required to
19360         hold a quanitity of tyep MODE.
19361         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
19362         types.
19363         (NUM_ARG_REGS): New macro: The number of argument registers
19364         available.
19365         (ARG_REGISTER): New macro: Compute the register number of the Nth
19366         argument register.
19367         (LAST_ARG_REGNUM): New macro: The number of the last argument
19368         register.
19369         (SP_REGNUM): New macro: Register number of the stack pointer.
19370         (FP_REGNUM): New macro: Register number of the frame pointer.
19371         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
19372         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
19373         CUMULATIVE_ARGS so that it counts registers not bytes.
19374
19375         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
19376         TARGET_INTERWORK.
19377         Replace uses of fprintf with asm_fprintf where appropriate.
19378         (output_ascii_pseudo_op): Replace with version from thumb.c
19379
19380         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
19381
19382         * config/arm/elf.h (CPP_PREDEFINES): Replace with
19383         SUBTARGET_CPP_SPEC.
19384         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
19385         (ASM_FILE_START): Emit ASM_APP_OFF.
19386
19387 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
19388
19389         * pa.c (compute_frame_size): Round frame according to
19390         STACK_BOUNDARY rather than a hardwired value.
19391
19392         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
19393
19394         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
19395         of "1".
19396         * configure: Rebuilt.
19397
19398         * configure.in (hppa*-*-linux*): New configuration.
19399         * configure: Rebuilt.
19400         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
19401         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
19402         * pa/pa-linux.h: New file.
19403         * pa/t-linux: New file.
19404         * pa/xm-linux.h: New file.
19405
19406         * pa.c (hppa_legitimize_address): Change references from SImode to
19407         either Pmode or word_mode as appropriate.
19408         (emit_move_sequence, store_reg, load_reg): Likewise.
19409         (set_reg_plus_d, hppa_expand_prologue): Likewise.
19410         (output_mul_insn): Likewise.
19411         * pa.h (PROMOTE_MODE): Likewise.
19412         (INITIALZE_TRAMPOLINE): Likewise.
19413         (Pmode): Define to word_mode.
19414
19415         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
19416         value of 4.  Allocate 8 bytes for each FP register save.
19417         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
19418         value of 4.
19419         (hppa_expand_prologue): Likewise.
19420         * pa.h (PROMOTE_MODE): Likewise.
19421         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
19422         (FUNCTION_ARG_BOUNDARY): Likewise.
19423
19424         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
19425
19426         * pa.c (out_of_line_prologue_epilogue): Delete.
19427         (override_options): Remove -mspace related code.
19428         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
19429         (compute_frame_size): Only allocate space for register that
19430         actually need to be saved.
19431         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
19432         (TARGET_SWITCHES): Remove -mspace, -mno-space
19433         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
19434         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
19435         * pa/ee.asm, pa/ee_fp.asm: Delete.
19436
19437         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
19438
19439         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
19440         directive in column zero.
19441
19442 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
19443
19444         * m68k.c (output_function_prologue): Fix computation of save mask
19445         when generating PIC code.
19446
19447 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
19448
19449         * tree.c (build_type_attribute_variant): Move current_obstack restore
19450         after build_qualified_type call.
19451
19452 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
19453
19454         * configure.in: Use t-iris6, even with GNU LD.
19455         * config/mips/iris6gld.h: Fix typo in linker spec.
19456         * config/mips/t-iris6gld: Remove.
19457
19458 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
19459
19460         * rs6000.md (insv, extzv): Remove SImode dependence in named
19461         patterns.  Explicitly generate DImode RTL if PowerPC64 and
19462         operand is DImode.
19463         (insvdi): Reverse start and size in instruction template.
19464
19465 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
19466
19467         * invoke.texi: Typo fixes.
19468
19469 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
19470
19471         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
19472         handle at this time instead of silently generating incorrect code.
19473         (gen_imagpart): Likewise.
19474
19475         * reload.c (find_reloads): Emit a USE for a pseudo register without
19476         a hard register if we could not create an optional reload for the
19477         pseudo.
19478
19479 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19480
19481         * c-typeck.c (output_init_element, process_init_element):
19482         When advancing constructor_unfilled_fields for a RECORD_TYPE,
19483         check for nameless bit fields.
19484
19485 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
19486
19487         * regclass.c (scan_one_insn): Notice subregs that change the
19488         size of their operand.
19489         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
19490
19491 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
19492
19493         * configure.in (alpha*-*-*): Include alpha/t-ieee.
19494         * configure: Rebuilt.
19495         * alpha/t-ieee: New file.
19496
19497 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
19498
19499         * rs6000.c (find_addr_reg): Do not select r0 as an address
19500         register.
19501
19502 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
19503
19504         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
19505
19506 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
19507
19508         * rs6000.md (movsf): Do not force easy FP constants into memory.
19509
19510         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
19511         immed_double_const to ensure they are properly truncated then
19512         sign extended.
19513
19514 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
19515
19516         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
19517         always unless NO_DEBUG is used.  Compile this code
19518         unconditionally.
19519         (replace_symbols_in_block): Compile it unconditionally.
19520
19521 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
19522
19523         * configure.in (i?86-*-elf*): New target.
19524         * configure: Rebuilt.
19525         * i386/i386elf.h, i386/t-i386elf: New files.
19526
19527 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
19528
19529         * toplev.c (main): Don't complain about saying -gdwarf.
19530         (rest_of_compilation): Remove redundant code.
19531
19532 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
19533
19534         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
19535
19536 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
19537
19538         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
19539         "Li960R:", to avoid name clash.
19540
19541 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19542
19543         * loop.c (check_dbra_loop): When reversing a loop, delete all
19544         REG_EQUAL notes referencing the reversed biv except those which are
19545         for a giv based on it.
19546
19547 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
19548
19549         * version.c: Drop "gcc-" prefix from version #.
19550
19551 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
19552
19553         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
19554         the label if we're being verbose.
19555
19556 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
19557
19558         * m68k.c (output_function_prologue): Add pic register to mask
19559         if live and flag_pic.
19560         (output_function_epilogue): Likewise.
19561
19562 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
19563
19564         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
19565         directives in column zero.
19566
19567         * pa/elf.h (ASM_FILE_START): Define.
19568         * pa/som.h (ASM_FILE_START): Include .level directives.
19569         * pa/hpux10.h (ASM_FILE_START): Delete.
19570         * pa/hpux11.h (ASM_FILE_START): Delete.
19571
19572         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
19573
19574 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19575
19576         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
19577         when reload_out equals reload_in.
19578
19579 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
19580
19581         * invoke.texi (Spec Files): New node: Describe the contents of
19582         spec files.
19583
19584 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
19585
19586         * invoke.texi (DEC Alpha Options): Put @end table at
19587         beginning of line, to avoid confusing texi2html.
19588
19589 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
19590
19591         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
19592         introduced in previous delta.
19593
19594 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19595
19596         * reload1.c (gen_reload): When synthesizing a 3 operand add
19597         sequence, improve test for when to reload OP1 into the reload
19598         register instead of OP0.
19599
19600 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
19601
19602         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
19603
19604 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
19605
19606         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
19607         string literal.
19608
19609 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
19610
19611         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
19612         (va_dcl): Use __builtin_va_alist_t.
19613
19614 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
19615
19616         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
19617         on the permanent_obstack.
19618         * dwarfout.c (output_type): Likewise.
19619
19620 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19621
19622         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
19623         Merged from c-typeck.c and cp/typeck.c.
19624         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
19625         Merged into c-common.
19626
19627 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
19628
19629         * c-lex.c (errorcount): Declare it.
19630         (finish_parse): Update errorcount when using CPPLIB.
19631
19632 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
19633
19634         * fixinc/inclhack.def(end_else_label): Double the backslash so
19635         sed gets a chance to see it.
19636         * fixinc/inclhack.sh: regen
19637         * fixinc/fixincl.x: regen
19638
19639 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
19640
19641         Add framework to support armv5 architecture when it becomes
19642         available:
19643
19644         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
19645         (arm_arch5): New variable.
19646         (all_architectures): Add armv5 line.
19647         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
19648         -march=armv5 is specified on the command line.
19649         (arm_arch5): Export this variable.
19650         * invoke.texi: Document new string accepted by -march= switch for
19651         ARM ports.
19652
19653         * config/arm/arm.h: Replace use of constant 12 as a register
19654         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
19655         * config/arm/arm.c: Replace use of constant 12 as a register
19656         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
19657
19658         * config/arm/elf.h: Tidy up.
19659         * config/arm/coff.h: Tidy up.
19660
19661 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
19662
19663         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
19664         * gcc/config/mips/t-iris6gld: New file.
19665         * gcc/config/mips/iris6gld.h: Likewise.
19666
19667 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19668
19669         * c-decl.c (widest_integer_literal_type_node,
19670         widest_unsigned_literal_type) : New.
19671         (init_decl_processing): Handle/use the two new types.
19672         * c-common.c (type_for_size,type_for_mode) : Same.
19673         * c-lex.c (yylex) : Same.
19674         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
19675         Same.
19676         * c-tree.h (widest_integer_literal_type_node,
19677         widest_unsigned_literal_type) : New.
19678
19679 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
19680
19681         * dwarfout.c (field_byte_offset): Correctly compute the object's
19682         byte offset for the first bit of a field which crosses an alignment
19683         boundary on a !BYTES_BIG_ENDIAN target.
19684
19685 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
19686
19687         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
19688         ntohs.
19689
19690 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
19691                           Jeff Law <law@cygnus.com>
19692
19693         * ginclude/varargs.h (va_dcl): Use word_mode for type of
19694         __builtin_va_list.
19695
19696         * except.c: Include intl.h.
19697         (expand_eh_return): Set current_function_cannot_inline.
19698         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
19699         * function.h (struct function): Add eh_return_stub_label.
19700         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
19701         * Makefile.in (except.o): Depend on intl.h.
19702
19703 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
19704
19705         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
19706         same as offsettable in cases 1 and 2.
19707
19708 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
19709
19710         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
19711         (extlh, extwh): Likewise.
19712
19713 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19714
19715         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
19716
19717 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
19718
19719         * configure.in: Add arm-pe and thumb-pe targets.
19720         * configure: Regenerate.
19721
19722         * thumb.c (arm_naked_function_p): New function: Determines if
19723         a function is naked (has no gcc generated prologue/epilogue).
19724         (is_called_in_ARM_mode): Return true if the func has the
19725         interfacearm attribute.
19726         (output_return): Do not generate a return for naked functions.
19727         (thumb_function_prologue): Do not generate a prologue for
19728         naked functions.
19729         (thumb_expand_prologue): Do not generate a prologue for naked
19730         functions.
19731         (thumb_expand_epilogue): Do not generate an epilogue for naked
19732         functions.
19733         (arm_valid_machine_decl_attribute): New function, copied from
19734         arm.c:  Permit naked and interfacearm attributes.
19735
19736         * config/arm/pe.c: New file: Support code for arm-pe target.
19737         * config/arm/pe.h: New file: Header file for arm-pe target.
19738         * config/arm/tpe.h: New file: Header file for thumb-pe target.
19739         * config/arm/t-thumb-pe: New file: Makefile fragment for
19740         thumb-pe target.
19741
19742 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
19743
19744         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
19745         -fPIC or -fpic is specified.
19746
19747 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
19748
19749         * expr.c (emit_block_move): Use copy_to_mode_reg for
19750         !TARGET_MEM_FUNCTIONS case too.
19751
19752         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
19753         appropriate.
19754         * configure: Rebuilt.
19755         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
19756         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
19757         definitions made redundant by dbxelf.h inclusion.  Delete
19758         lots of definitions related to assembly output that are
19759         specific to the SOM object format.
19760         * pa.c (output_function_prologue): Do not emit the function's
19761         name for OBJ_ELF.
19762         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
19763         * pa-pro.h: Deleted.
19764         * som.h: New file with SOM specific definitions.
19765         * elf.h: New file with ELF specific definitions.
19766
19767         * elfos.h (const_section): Output a tab before assembler directives.
19768         (ctors_section, dtors_section): Likewise.
19769         (ASM_OUTPUT_SECTION_NAME): Likewise.
19770
19771         * pa/pa1.h: Delete unused file.
19772
19773 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
19774
19775         * configure.in (hppa*-hp-hpux11*): New configuration.
19776         * configure: Rebuilt.
19777         * pa/pa-hpux11.h: New file.
19778         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
19779         command line.
19780
19781         * mips.md (leasi, leadi): New patterns.
19782
19783         * expr.c (emit_block_move): Properly handle case where one of the
19784         block move arguments has a queued increment or decrement.
19785         (clear_storage): Similarly.  Fix formatting goof.
19786
19787 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
19788
19789         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
19790         semicolon from the BSD VA_LIST replacement expression.
19791
19792         * fixinc/inclhack.sh: regen
19793         * fixinc/fixincl.x: regen
19794
19795         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
19796         now use the fixincl program.
19797
19798 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
19799
19800         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
19801         case.  Also make the PIC register call_used.
19802
19803         * m68k.h (FINALIZE_PIC): Delete.
19804         * m68k.c (finalize_pic): Delete.
19805
19806 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
19807
19808         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
19809         to memory.
19810
19811 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
19812
19813         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
19814
19815 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
19816
19817         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
19818
19819 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
19820
19821         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
19822
19823 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
19824
19825         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
19826
19827 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
19828
19829         * rs6000.c (output_toc): Always use hex values for floating-point
19830         constants.  Store single-precision values in upper-half of TOC
19831         entry in 64-bit mode.
19832         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
19833         to final constraints.
19834         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
19835         (fctiwz): Improve accuracy of RTL for pattern.
19836
19837 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19838
19839         * expr.c (expand_expr): Allow RTL_EXPR's through the
19840         MAX_INTEGER_COMPUTATION_MODE checks.
19841
19842 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
19843
19844         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
19845         such that MASK_SUPPORT_ARCH is not negative.
19846
19847 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
19848
19849         * loop.c (verify_dominator): Properly handle ADDR_VEC and
19850         ADDR_DIFF_VEC insns that appear inside loops.
19851
19852 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
19853                           Jeff Law <law@cygnus.com>
19854
19855         * rs6000.md (movdf_hardfloat32): Revert previous patch.
19856         Handle LO_SUM the same as offsettable in cases 1 and 2.
19857         * rs6000.c (find_addr_reg): Revert previous patch.
19858
19859 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
19860
19861         * system.h (strstr): New external function declaration.
19862         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
19863         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
19864         * config.in, configure: Rebuilt.
19865
19866 1999-06-24  Tom Tromey  <tromey@cygnus.com>
19867
19868         * gcc.c (main): Read user-specified specs files after computing
19869         additional startfile_prefixes.
19870
19871 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
19872
19873         Revert these two patches:
19874
19875         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19876         * loop.c (strength_reduce): When doing biv->giv conversion, update
19877         reg note of NEXT->insn.
19878
19879         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19880         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
19881         reg_biv_class.
19882         (recombine_givs): Set ix field after sorting.
19883
19884 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19885
19886         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
19887         for the parts of an UNSPEC / UNSPEC_VOLATILE.
19888
19889 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
19890
19891         *fixinc/inclhack.def:  Add fix development commentary
19892         (read_ret_type): reactivate and add selection clause
19893         (zzz_*): tweak output file name to match what is used in hackshell.tpl
19894         *fixinc/{fixincl.x|inclhack.sh}: regen
19895
19896 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
19897
19898         * expr.c (expand_expr): STRIP_NOPS before checking against
19899         MAX_INTEGER_COMPUTATION_MODE
19900         (check_max_integer_computation_mode): Likewise.
19901
19902 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
19903
19904         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
19905
19906 1999-06-22  Jim Wilson  <wilson@cygnus.com>
19907
19908         * expr.c (store_expr): When target is a promoted subreg, return a
19909         promoted subreg as a result.
19910
19911 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
19912
19913         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
19914         coding standards.
19915         (dwarf2out_define): Mark unused parameters appropriately.
19916         (gen_unspecified_parameters_die): Ditto.
19917         (gen_subprogram_die): Fix signed/unsigned warnings.
19918         (gen_variable_die): Ditto.
19919
19920 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
19921
19922         * fixinc/inclhack.def(end_else_label): combined else_label
19923         and endif_label and fixed the sed expression.
19924         *fixinc/{fixincl.x|inclhack.sh}: regen
19925
19926 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
19927
19928         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
19929         'x' when handling non-offsettable addresses
19930
19931 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
19932
19933         * final.c (shorten_branches): Don't try to split an insn that has
19934         been deleted.
19935
19936 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
19937
19938         * config/mips/mips.c (symbolic_expression_p): New function.
19939         (mips_select_rtx_section): Put symbolic expressions in the
19940         data section, not the read-only data section.
19941
19942 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
19943
19944         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
19945
19946 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
19947
19948         * collect2.c (main): Log frame table count.
19949         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
19950         (scan_prog_file) [COFF]: Handle frame tables.
19951
19952         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
19953         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
19954         * alpha/elf.h: Undef them again.
19955         * alpha/vms.h: Remove their definitions.
19956
19957 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19958
19959         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
19960         remove the clobber of r0 and change the REG_UNUSED note to
19961         REG_INC.
19962
19963 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
19964
19965         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
19966         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
19967         fits in HOST_WIDE_INT and one uses union to access a long constant
19968         as double.
19969
19970 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
19971
19972         * sparc.c (sparc_override_options): Don't allow profiling for
19973         code models other than medlow.
19974         (sparc_function_profiler): New function from old FUNCTION_PROFILER
19975         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
19976         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
19977         (sparc_block_profiler): Likewise.
19978         (sparc_function_block_profiler_exit): Likewise.
19979         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
19980         (FUNCTION_BLOCK_PROFILER): Likewise.
19981         (BLOCK_PROFILER): Likewise.
19982         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
19983         (MCOUNT_FUNCTION): New.
19984         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
19985         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
19986         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
19987         (MCOUNT_FUNCTION): New.
19988         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
19989         (BLOCK_PROFILER): Delete.
19990         (MCOUNT_FUNCTION): New.
19991
19992 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
19993
19994         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
19995
19996 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
19997
19998         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
19999         Add the macros.
20000
20001         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20002         Ditto.
20003
20004         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20005         Ditto.
20006
20007         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20008         Ditto.
20009
20010 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
20011
20012         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
20013         types.
20014
20015 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
20016
20017         * i386/djgpp.h (LIB_SPEC): New.
20018         (STARTFILE_SPEC): New.
20019
20020         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
20021
20022 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
20023
20024         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
20025         compiler flags.
20026
20027         * system.h (WSTOPSIG): New macro.
20028
20029 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20030
20031         * c-pragma.c (push_alignment): Don't ignore alignments greater than
20032         4 bytes.
20033         (insert_pack_attributes): Take into account member natural
20034         alignment.
20035
20036         * i386/winnt.c (exports_head): New static variable.
20037         (i386_pe_record_exported_symbol): New function.
20038         (i386_pe_asm_file_end): Use.
20039         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
20040         symbols to be emitted at end of assembly.
20041         (ASM_DECLARE_OBJECT_NAME): Likewise.
20042         (ASM_DECLARE_FUNCTION_NAME): Likewise.
20043
20044         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
20045         -iwithprefix.
20046
20047 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
20048
20049         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
20050         in last change.
20051
20052 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
20053
20054         * haifa-sched.c (sched_analyze_1): Use free_list instead of
20055         zapping reg_last_uses directly.
20056         (sched_analyze_2, sched_analyze_insn): Likewise.
20057         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
20058
20059 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
20060
20061         * rs6000.md (movdf_hardfloat32): Use worst case insn length
20062         attributes for cases 1 and 2.
20063
20064 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
20065
20066         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
20067         instead of set.
20068
20069 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
20070
20071         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
20072
20073 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
20074
20075         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
20076         PIC_OFFSET_TABLE_REGNUM for general alloaction.
20077         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
20078         must be stacked if it is used for PIC accesses.
20079         * arm.c (use_return_insn): Handle PIC register specially.
20080         (output_return_instruction): Likewise.
20081         (output_func_{prologue,epilogue}): Likewise.
20082         (output_expand_prologue): Likewise.
20083
20084         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
20085         (*strsi_predec): Renamed from *strqi_predec.
20086         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
20087         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
20088
20089         * arm.c (arm_override_options): Remove warning about PIC code
20090         not being supported.
20091
20092 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
20093
20094         * rs6000.c (find_addr_reg): New function.
20095         * rs6000.h (find_addr_reg): Declare.
20096         (offsettable_addr_operand): Delete.
20097         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
20098         from and stores to GPRs.
20099
20100 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
20101
20102         * alpha.c (alpha_expand_block_move): Use get_insns rather than
20103         gen_sequence as argument to emit_no_conflict_block.
20104
20105 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20106
20107         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
20108         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
20109         *fixinc/fixincl.x: regen
20110         *fixinc/inclhack.sh: regen
20111
20112 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
20113
20114         * added support for -mpcrel (PC relative addressing for m68k)
20115         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
20116         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
20117         * m68k.c (print_operand_address): Handle 32-bit PIC case.
20118         (comments for general_src_operand): Add some explanation
20119         about EXTRA_CONSTRAINTS.
20120         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
20121         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
20122         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
20123         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
20124         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
20125         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
20126         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
20127         if not already set.
20128         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
20129         * m68k.h (TARGET_PCREL): New target flag.
20130         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
20131         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
20132         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
20133         contains a SYMBOL_REF.  Relax this constraint during reload, since
20134         we want to use the predicates, not reload's built-in concept of a
20135         valid memory address, to control what insns need reloading.
20136         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
20137         operands (essentially 'g', 'm', and 's' under normal circumstances).
20138         * m68k.c (print_operand): Cause printing of pc-relative addresses
20139         to include pc register.
20140         (print_operand_address): Ditto.
20141         (general_src_operand): Accept operands that are not only
20142         general_operands, but are also valid when used as a pc-relative
20143         source.
20144         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
20145         (memory_src_operand): Similar, for memory_operands.
20146         (pcrel_address): New predicate to accept the special case of a
20147         pc-relative address.
20148         * m68k.md (many patterns): Rewrite common SImode, HImode, and
20149         QImode insns to accept *_src_operand instead of *_operand where
20150         pc-relative operands can fit.  For example, a pc-relative operand
20151         can be used as a memory source operand for addsi3, but not as a
20152         memory destination.
20153         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
20154
20155 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
20156
20157         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
20158         .thumb_set pseudo op to mark aliases of thumb functions.
20159
20160 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
20161
20162         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
20163         preference to ASM_OUTPUT_DEF, if it is defined.
20164
20165         * tm.texi: Document new, optional target macro
20166         ASM_OUTPUT_DEF_FROM_DECLS.
20167
20168 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20169
20170         * fixincludes: ISCNTL patch
20171         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
20172         (dgux_int_varargs): new for DG/UX
20173         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
20174
20175 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
20176
20177         * invoke.texi (ia32 options): Fix typo.
20178
20179 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20180
20181         * loop.c (strength_reduce): When doing biv->giv conversion, update
20182         reg note of NEXT->insn.
20183
20184 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
20185
20186         * loop.c (move_movables): Note issues with replacing REGs with
20187         SUBREGs.
20188         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
20189
20190 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
20191
20192         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
20193
20194         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
20195         the reference to `mcount' was not correct for the ELF on FreeBSD.
20196
20197 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20198
20199         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
20200         reg_biv_class.
20201
20202         (recombine_givs): Set ix field after sorting.
20203
20204 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
20205
20206         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
20207         to safe to extract a subword out of a REG.
20208
20209 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20210
20211         * sh.md (mulsi3): Don't add a no-op move at the end.
20212
20213 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20214
20215         * cse.c (cse_insn): Don't put hard register source into tables for
20216         the last insn of a libcall.
20217
20218 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20219
20220         * loop.c (strength_reduce): Insert sets of derived givs at every
20221         biv increment, even if it's the only one.
20222
20223 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
20224
20225         * dwarfout.c (add_incomplete_type): New fn.
20226         (output_type): Call it.
20227         (retry_incomplete_types): New fn.
20228         (dwarfout_finish): Call it.
20229
20230         From Eric Raskin <ehr@listworks.com>:
20231         (output_type): Output types for bases.
20232
20233 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
20234
20235         * mips.c (mips_output_conditional_branch): Add `break'
20236         between `default' label and `close braces'.
20237
20238 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
20239
20240         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
20241         specifications and make it realistic.
20242         (LIB_SPEC): Likewise.
20243
20244 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
20245
20246         * config/mips/mips.c (mips_secondary_reload_class): Check for
20247         (PLUS (SP) (REG)) and return appropriate register class.
20248         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
20249         Handle (PLUS (SP) (REG)).
20250         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
20251         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
20252         of emit_insn for tablejump.
20253
20254 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
20255
20256         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
20257         asm_fprintf format string by itself.
20258         (output_function_profiler): Likewise.
20259
20260 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
20261
20262         * combine.c (simplify_logical, case AND): Only call
20263         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
20264         or the constant is positive.
20265
20266 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
20267
20268         * configure.in: Fix typo in rs6000-ibm-aix4 case.
20269         * configure: Regenerate.
20270
20271 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
20272
20273         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
20274         require a sub-version #.
20275         * configure: Rebuilt.
20276
20277 1999-06-14  Robert Lipe  (robertlipe@usa.net)
20278
20279         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
20280
20281 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
20282
20283         * c-typeck.c (process_init_element): Detect excess elements in
20284         char array initializer.
20285
20286 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
20287
20288         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
20289
20290 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
20291
20292         * invoke.texi (Option Summary): Add -fpermissive flag.
20293
20294 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
20295
20296         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
20297         that require PIC code sequences.
20298
20299 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
20300
20301         * configure.in: Add new target: thumb-elf.
20302         * configure: Regenerate.
20303         * config/arm/t-thumb-elf: New file: Makefile fragment for
20304         thumb-elf build.
20305         * config/arm/telf.h: New file: Header file for thumb-elf
20306         build.
20307
20308 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
20309
20310         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
20311         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
20312         initializers is some circumstances.
20313
20314         * fixinc/inclhack.def (endif_label): Add additional selector for
20315         more bogus stuff after #endif statements.
20316         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
20317
20318 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20319
20320         * i386/cygwin.h (SET_ASM_OP): Define.
20321
20322 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20323
20324         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
20325
20326 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20327
20328         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
20329         latter.
20330
20331         * sh.md (ic_invalidate_line_i): Remove second alternative.
20332
20333 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20334
20335         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
20336         test for the presence of valid prototypes.  Delete bypass expr.
20337         (ioctl_fix_ctrl): Correct the selection expression.
20338         (no_double_slash): Correct quoting rules
20339         *fixinc/fixincl.x: regen
20340         *fixinc/inclhack.sh: regen
20341
20342 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
20343
20344         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
20345
20346 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20347
20348         * rs6000.md (movsi_got_internal_mem): Delete.
20349         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
20350         (GOT_TOC_REGNUM): Delete.
20351         (PIC_OFFSET_TABLE_REGNUM): Define.
20352         (FINALIZE_PIC): Disable.
20353         * rs6000.c (rs6000_got_register): New code for fixed pic register.
20354         (rs6000_replace_regno): Delete.
20355         (rs6000_finalize_pic): Likewise.
20356         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
20357
20358 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20359
20360         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
20361         is a note; use <= for the compare; advance P while it is
20362         a NOTE.
20363
20364 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
20365
20366         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
20367         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
20368
20369         * varasm.c (remove_from_pending_weak_list): Verify t->name
20370         is non-NULL before passing it to strcmp.
20371
20372 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20373
20374         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
20375         the typed arguments are not part of a comment
20376         (ioctl_fix_ctrl): Added a purpose comment
20377         *fixinc/fixincl.x: regenerate
20378         *fixinc/inclhack.sh: regenerate
20379
20380 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20381
20382         * invoke.texi: Add C4x invocation docs.
20383
20384 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20385
20386         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
20387         Define new macros.
20388         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
20389         TARGET_EXPOSE_LDP.
20390         (c4x_legitimize_reload_address): New function.
20391         * config/c4x/c4x.md: Update docs.
20392
20393 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
20394
20395         * fixincludes: Avoid removing '.'.
20396         * fixinc/fixinc.svr4: Likewise.
20397         * fixinc/fixinc.winnt: Likewise.
20398         * fixinc/inclhack.tpl: Likewise.
20399         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
20400
20401 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20402
20403         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
20404         pattern.
20405         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
20406
20407 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20408
20409         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
20410         correctly.
20411
20412 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
20413
20414         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
20415         * configure: Regenerate.
20416
20417 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
20418
20419         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
20420         values.
20421
20422 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
20423
20424         * fixinc/inclhack.def (avoid_bool): Also catch
20425         "typedef [unsigned] int bool".
20426         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
20427
20428         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
20429         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
20430         * configure: Rebuilt.
20431
20432 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
20433
20434         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
20435         such that we can override its definitions if necessary.
20436         (CPP_SPEC): New define.  Support processor specific predefines via
20437         %(cpp_cpu).
20438         (CC1_SPEC): New define.  Support processor specific compiler
20439         options via %(cc1_cpu).
20440         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
20441         -static.
20442
20443 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20444
20445         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
20446         between sed's -e flag, and the open-quote following it.
20447         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
20448
20449 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
20450                           Jeffrey A Law  (law@cygnus.com)
20451
20452         * varasm.c (assemble_start_function): Remove the function
20453         from the pending weak decls list when we define a function.
20454         (assemble_variable): Similarly for variables.
20455         (weak_finish): Ignore items on the list with a NULL name.
20456         (remove_from_ending_weak_list); New function to "remove" an item
20457         from the pending weak declarations list.
20458
20459 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
20460
20461         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
20462
20463 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
20464
20465         * c-lex.c (GETC): Redefine to call getch.
20466         (UNGETC): Redefine to call put_back.
20467         (putback_buffer): New structure type.
20468         (putback): New static structure.
20469         (getch): New function.
20470         (put_back): New function.
20471         (yylex): Replace unused bytes from bad multibyte character.
20472
20473 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
20474
20475         * cpplib.c (do_define): Cast `alloca' return value.
20476         (do_include, do_undef, do_pragma): Likewise.
20477         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
20478         values.
20479         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
20480         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
20481
20482 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
20483
20484         * sparc.md (abstf2): This should be an expand.
20485         (split after abstf2_notv9): Fix mode.
20486         (abstf2_hq_v9): New pattern.
20487         (abstf2_v9): Only use when no hard quad.
20488         (absdf2_v9): Fix if target is not the same as source.
20489         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
20490         Add correct output constraints.
20491
20492 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
20493
20494         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
20495         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
20496
20497 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
20498
20499         * mips.h (mips_output_conditional_branch): New function.
20500         (mips_adjust_insn_length): Likewise.
20501         (ASSEMBLER_SCRATCH_REGNUM): New macro.
20502         (ADJUST_INSN_LENGTH): Likewise.
20503         * mips.c (print_operand): Add `F' and `W' for floating-point
20504         comparison opcodes.
20505         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
20506         are now in bytes.
20507         (mips_adjust_insn_length): New function.
20508         (mips_output_conditional_branch): New function.
20509         * mips.md (length): Adjust attribute definition to handle
20510         conditional branches.  Change lengths to bytes, rather than
20511         instructions throughout.  Remove length attribute from
20512         instructions whose length is four bytes, and rely on the default
20513         instead.
20514         (dslot): Fix typo in comment.
20515         Reword conditional branch patterns to use
20516         mips_output_conditional_branch.
20517
20518 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
20519
20520         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
20521         (LIB_SPEC): Likewise.
20522         Link with -lprof1_r for -g/-pg.
20523
20524 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
20525
20526         * loop.c (check_dbra_loop): Fix change of Jan 19.
20527
20528 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
20529
20530         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
20531         (STARTFILE_SPEC):  Define, override the svr4.h version.
20532         (ENDFILE_SPEC):  Likewise.
20533
20534 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
20535
20536         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
20537         * fixinc/fixincl.x: Regenerated.
20538         * fixinc/inclhack.sh: Regenerated.
20539
20540 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20541
20542         * sh.c (barrier_align): Don't return early for normal branch/barrier
20543         when optimizing for SH2.
20544
20545 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
20546
20547         * i386/udk.h (LINK_SPEC): Correct linker search path for
20548         system libraries.
20549
20550 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20551
20552         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
20553         (braf_label_ref_operand): Delete.
20554         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
20555         * sh.md (casesi_jump_2): Operand1 is now the inside of a
20556         label_ref, and has no predicate.
20557         The patten has a predicate to guard against invalid substitutions.
20558         (dummy_jump): Delete.
20559         (casesi): Update use of casesi_jump_2.
20560
20561 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20562
20563         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
20564         *fixinc/fixincl.x: regenerate
20565         *fixinc/inclhack.sh: regenerate
20566
20567 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
20568
20569         * dwarf2out.c (add_incomplete_type): New fn.
20570         (gen_struct_or_union_type_die): Call it.
20571         (retry_incomplete_types): New fn.
20572         (dwarf2out_finish): Call it.
20573
20574 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
20575
20576         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
20577         current block starts with a CODE_LABEL and ends with a CALL and
20578         we can not find all the argument setup instructions for the CALL.
20579
20580 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
20581
20582         Revert this change:
20583         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
20584         something is a candidate for optimize_bit_field_compare.
20585
20586 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20587
20588         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
20589
20590 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
20591
20592         * alpha.c (override_options): Thinko in last patch.
20593
20594         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
20595         (LIB_SPEC): Recognize -pthread.
20596
20597 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
20598
20599         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
20600         definition in config/arm/coff.h
20601         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
20602
20603 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20604
20605         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
20606         fixes that need "file=xxx\n" prepended before invocation
20607         (start_fixer - new): starting the fixer process is complex enough
20608         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
20609         (process): uses the new routine; omit usage of putenv()
20610         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
20611         * fixinc/fixincl.x: regenerate
20612
20613 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
20614
20615         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
20616         and version #s (1.1 -> 2.96) as needed.
20617         * README.g77: Kill way out of date file in the toplevel directory.
20618
20619 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
20620
20621         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
20622         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
20623         * configure: Rebuilt.
20624         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
20625         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
20626         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
20627         (SWITCH_TAKES_ARG): Likewise.
20628         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
20629         * config/t-freebsd: Moved from config/i386/ so it can used for all
20630         FreeBSD targets.
20631
20632 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
20633
20634         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
20635
20636 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
20637
20638         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
20639         * configure: Rebuilt.
20640
20641 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
20642
20643         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
20644         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
20645         * rs6000/rs6000.c (rs6000_file_start): Use putc.
20646         (rs6000_output_load_toc_table): Same.
20647         (output_prolog, output_mi_thunk): Same.
20648         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
20649         (ASM_GLOBALIZE_LABEL): Use putc.
20650
20651 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
20652
20653         * alpha.md (reload_*_help): New patterns and splitters.
20654         (reload_*): Use them.
20655         (mov[qh]i): Likewise.
20656
20657 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
20658
20659         * cccp.c (handle_directive): Handle backslash-newlines in quoted
20660         strings correctly.
20661
20662 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
20663
20664         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
20665
20666 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
20667
20668         * flow.c (mark_regs_live_at_end, insn_dead_p,
20669         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
20670         and HARD_FRAME_POINTER_REGNUM special treatment if reload
20671         hasn't run or the frame pointer is needed.
20672         * haifa-sched.c (attach_deaths): Likewise.
20673         * sched.c (attach_deaths): Likewise.
20674
20675 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
20676
20677         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
20678         calculate_can_reach_end returns nonzero.
20679
20680         * configure.in (native gas tests): Search for an assembler in the
20681         same manner that the installed compiler will.
20682         * configure: Rebuilt.
20683         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
20684
20685         * alias.c (find_base_term): Improve handling of addresses
20686         constructed from binary operations.
20687
20688 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
20689
20690         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
20691
20692 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
20693
20694         * function.h (cleanup_label, frame_offset): Declare.
20695         (tail_recursion_label, tail_recursion_reentry): Likewise.
20696         (arg_pointer_save_area, rtl_expr_chain): Likewise.
20697         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
20698         (tail_recursion_label, tail_recursion_reentry): Likewise.
20699         (arg_pointer_save_area, rtl_expr_chain): Likewise.
20700
20701 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
20702
20703         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
20704         defined.
20705         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
20706         (MAX_OFILE_ALIGNMENT): Define.
20707
20708 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
20709
20710         * fixincl.c: Replace local include scheme with #includes of
20711         gansidecl.h and system.h.
20712         * procopen.c:  Likewise.
20713         * server.c:  Likewise.
20714
20715 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
20716
20717         * i386/t-dgux (EXTRA_PARTS): Add crti.o
20718         (crti.o): Add build rule and dependencies.
20719         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
20720
20721 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20722
20723         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
20724         (LIB_LINUX_SPEC): Likewise.
20725         (LIB_LINUX_SPEC): Add support for -pthread
20726         (CPP_OS_LINUX_SPEC): Likewise.
20727         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
20728         specified.
20729
20730 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
20731
20732         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
20733         conditional move.
20734         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
20735         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
20736         for IEEE math and CC_FCOMI.
20737         (put_jump_code): No IEEE if CC_FCOMI is set.
20738
20739 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
20740
20741         * fold-const.c (fold_truthop): Make the field reference unsigned
20742         when converting a single bit compare.
20743
20744 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20745
20746         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
20747
20748 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
20749
20750         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
20751         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
20752         version did.
20753
20754         * reload.c (push_reload): Do not call remove_address_replacements
20755         when presented with identical optional reloads.
20756
20757 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
20758
20759         * alpha.h (MASK_FIX, TARGET_FIX): New.
20760         (MASK_*): Reorganize constants.
20761         (CPP_AM_FIX_SPEC): New.
20762         (TARGET_SWITCHES): Add FIX.
20763         (EXTRA_SPECS): Likewise.
20764         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
20765         (SECONDARY_MEMORY_NEEDED): Likewise.
20766         (REGISTER_MOVE_COST): Likewise.
20767         * alpha.c (override_options): Add FIX support.  Always use
20768         ALPHA_TP_PROG for ev6.
20769         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
20770         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
20771         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
20772
20773 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
20774
20775         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
20776         something is a candidate for optimize_bit_field_compare.
20777
20778 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
20779
20780         * gcc.texi (Passes): Document branch-shortening.
20781         * invoke.texi (Debugging Options): Document the fact that `-dp'
20782         outputs length information for instructions.
20783
20784 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
20785
20786         * flow.c: Revert previous delta.
20787
20788 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
20789
20790         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
20791         FRAME_POINTER_REGNUM.
20792         (mark_set_1): Ditto.
20793         (mark_used_regs): Ditto.
20794
20795 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
20796
20797         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
20798         (GOT_PCREL): New macro.  Define to 1 if not already defined.
20799         * arm/elf.h (GOT_PCREL): Define to 0.
20800         * arm.c (arm_finalize_pic): Take into account the setting of
20801         GOT_PCREL.
20802
20803 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
20804
20805         * output.h (STRIP_NAME_ENCODING): Provide default definition.
20806         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
20807
20808         * flow.c (mark_set_1): Do not record BLKmode stores as dead
20809         store elimination candidates.
20810
20811 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20812
20813         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
20814         TARGET_GAS.
20815
20816 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
20817
20818         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
20819         Add use of x-aix41-gld.
20820
20821 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
20822
20823         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
20824         (ASM_OUTPUT_DESTRUCTOR): Define.
20825
20826 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
20827
20828         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
20829         last CODE_LABEL in a loop if we have previously passed a jump
20830         to the top of the loop.
20831
20832 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
20833
20834         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
20835         applying Philip's patch.
20836
20837 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
20838
20839         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
20840         are not VAR_DECLs.
20841
20842 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
20843
20844         * loop.c (strength_reduce): Grow reg_single_usage as needed.
20845
20846 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
20847
20848         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
20849         Also remove a useless comment.
20850
20851 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
20852
20853         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
20854
20855 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
20856
20857         * collect2.c (main): Only generate import or export file and add
20858         to link arguments if non-empty.  Use xmalloc not alloca.
20859         (write_{export,import}_file): Delete.
20860         (write_aix_file): New function.
20861         (locatelib): Use xmalloc not malloc.
20862         (GCC_OK_SYMBOL): Do not check type if aix64.
20863
20864 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
20865
20866         Based on patch by Scott Bambrough and Pat Beirne:
20867         * config/arm/arm.c (making_const_table): New variable.
20868         * config/arm/arm.h (making_const_table): Declare.
20869         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
20870         appropriate.
20871         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
20872         Keep track of when we are building the constant table.
20873
20874 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
20875
20876         * config/arm/arm.c (arm_override_options): Fix erroneous warning
20877         message.
20878
20879 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
20880
20881         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
20882         defined.
20883
20884 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
20885
20886         * tm.texi (FUNCTION_ARG): Correct description of a stack element
20887         in a PARALLEL.
20888
20889 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
20890
20891         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
20892
20893 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20894
20895         * rs6000.c (output_mi_thunk): Enable full support again.
20896
20897 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20898
20899         * sh.h (BRANCH_COST): Define.
20900
20901 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
20902
20903         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
20904
20905 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
20906
20907         * function.c (assign_stack_local): Align stack slot propertly.
20908         (assign_outer_stack_local): Likewise.
20909
20910 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
20911
20912         * expr.h (lang_expand_constant): Declare.
20913         * toplev.c (lang_expand_constant): Define it.
20914         * varasm.c (output_constant): Use it.
20915
20916 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20917
20918         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
20919         Change function definitions to K&R style.
20920
20921 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20922
20923         * fixinc/fixincl.c: We must not ignore SIGCLD now.
20924
20925 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
20926
20927         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
20928         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
20929         (several places): omit static initialization
20930         (process): use single fd, since only the read fd is used
20931         * fixinc/gnu-regex.c: define 'const' away, if not supported
20932         * fixinc/procopen.c(several places): omit static initialization
20933         * fixinc/server.c: define 'volitile' away, if not supported
20934
20935 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
20936
20937         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
20938         asm_fprintf and %L to generate the label name.
20939         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
20940         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
20941
20942 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
20943
20944         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
20945         insn for a conditional jump can not be found.
20946
20947 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
20948
20949         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
20950         on variables in specific sections other than .sbss and .sdata.
20951
20952 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
20953
20954         * stmt.c (expand_return): Call start_cleanup_deferral and
20955         end_cleanup_deferral around conditional code.
20956
20957 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20958
20959         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
20960         filename lists.  Utilizes new "krstr" AutoGen function.
20961         * fixinc/fixincl.x: Rebuilt.
20962
20963 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
20964
20965         * i386.c (output_float_compare): Avoid GNU-C extensions.
20966
20967 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
20968
20969         * version.c: Bump to distinguish mainline tree from the
20970         gcc-2.95 branch.
20971
20972 See ChangeLog.1 for earlier changes.