OSDN Git Service

* rtlanal.c (single_set): Reject if the parallel has anything
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2000-03-17  Richard Henderson  <rth@cygnus.com>
2
3         * rtlanal.c (single_set): Reject if the parallel has anything
4         except SET or USE or CLOBBER.
5
6 2000-03-17  Jeff Law  <law@cygnus.com>
7             Richard Henderson  <rth@cygnus.com>
8
9         * Makefile.in (OBJS): Add sibcall.o.
10         (sibcall.o): New.
11         * sibcall.c: New file.
12         * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
13         (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
14         (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
15         Emit sibcall patterns when requested.  Update all callers.
16         (expand_call): Generate CALL_PLACEHOLDER insns when tail call
17         elimination seems feasable.
18         * final.c (leaf_function_p): Sibling calls don't discount being
19         a leaf function.
20         * flow.c (HAVE_sibcall_epilogue): Provide default.
21         (find_basic_blocks_1): Sibling calls don't throw.
22         (make_edges): Make edge from sibling call to EXIT.
23         (propagate_block): Don't remove sibcall_epilogue insns.
24         * function.c (prologue, epilogue): Turn into varrays.  Update all uses.
25         (sibcall_epilogue): New.
26         (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
27         (identify_blocks_1): Likewise.  Break out from ...
28         (identify_blocks): ... here.
29         (reorder_blocks_1): Scan CALL_PLACEHOLDER.  Break out from ...
30         (reorder_blocks): ... here.
31         (init_function_for_compilation): Zap prologue/epilogue as varrays.
32         (record_insns): Extend a varray instead of mallocing new memory.
33         (contains): Read a varray not array of ints.
34         (sibcall_epilogue_contains): New.
35         (thread_prologue_and_epilogue_insns): Emit and record
36         sibcall_epilogue patterns.
37         (init_function_once): Allocate prologue/epilogue varrays.
38         * genflags.c (gen_insn): Treat sibcall patterns as calls.
39         * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
40         Broken out from ...
41         (save_for_inline_nocopy): ... here.
42         (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns. 
43         Broken out from ...
44         (expand_inline_function): ... here.
45         (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
46         (subst_constants): Handle 'n' formats.
47         * jump.c (jump_optimize_minimal): New.
48         (jump_optimize_1): New arg `minimal'; update callers.  Elide most
49         optimizations if it's set.
50         * rtl.c (copy_rtx): Do copy jump & call for insns.
51         * rtl.h (struct rtx_def): Document use of jump and call for insns.
52         (SIBLING_CALL_P): New.
53         (sibcall_use_t): New.
54         * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
55         Invoke optimize_sibling_and_tail_recursive_calls.
56         * tree.c (lang_safe_for_unsave): New.
57         (safe_for_unsave): New.
58         * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
59
60         * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
61         * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
62         (*sibcall_osf_1, *sibcall_value_osf_1): New.
63
64 2000-03-17  Mark Mitchell  <mark@codesourcery.com>
65
66         * objc/objc-act.c (encode_method_prototype): Pass types, not
67         PARM_DECLs, to int_size_in_bytes.
68
69 Fri Mar 17 11:51:34 2000  Jim Wilson  <wilson@cygnus.com>
70
71         * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
72
73         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
74         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
75
76 Fri Mar 17 08:09:14 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
77
78         * Clean up usages of TREE_INT_CST_LOW.
79         * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
80         * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
81         Regenerated.
82         * c-tree.h (min_precision): Move declaration to here.
83         * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
84         (build_unary_op, add_pending_init): Use bit_position.
85         (pending_init_member, process_init_element): Likewise.
86         (really_start_incremental_init, push_init_level, pop_init_level):
87         Don't make copies of nodes or modify them in place, use consistent
88         types when tracking positions, and use tree routines computations.
89         (set_init_index, output_init_element): Likewise.
90         (output_pending_init_elements, process_init_element): Likewise.
91         * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
92         tree_low_cst and int_bit_position; also minor cleanup.
93         (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
94         (print_cst_octal): Precision is unsigned.
95         (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
96         * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
97         (simple_type_align_in_bits): Result is unsigned int.
98         Use tree_int_low_cst and host_integerp.
99         (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
100         (field_byte_offset): Result is HOST_WIDE_INT.
101         Change types of internal variables so alignments are unsigned int,
102         offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
103         Use host_integerp, tree_low_cst, and int_bit_position.
104         (add_bit_offset_attribute): Likewise.
105         (add_data_member_location_attribute): Use tree_cst_low.
106         (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
107         (add_bit_size_attribute): Use tree_low_cst.
108         (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
109         * dwarfout.c: Similar changes to dwarf2out.c.
110         * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
111         * genoutput.c (n_occurences): Return -1 for null string.
112         (strip_whitespace): Accept null string and make into function.
113         (scan_operands): Reflect above changes.
114         * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
115         (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
116         * ssa.c (rename_registers): Add missing cast of arg to bzero.
117         * tree.c (int_size_in_bytes): Check for too big to represent.
118         (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
119         * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
120         New declarations.
121         (min_precision): Delete from here.
122         * varasm.c (decode_addr_const): Use host_integerp, bit_position,
123         and int_bit_position.
124         * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
125         (encode_method_def): Likewise.
126         (build_ivar_list_initializer): Use int_bit_position.
127         (generate_shared_structures): Convert size.
128         (encode_type, encode_complete_bitfield): Use integer_zerop.
129         (encode_bitfield): Use tree_low_cst and int_bit_position.
130         
131 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
132
133         * config/c4x/c4x.h (CPP_SPEC): Fix typo.
134
135 2000-03-17  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
136
137         * call.c (special_function_p): It is only malloc if it returns
138         Pmode.
139
140 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
141
142         * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
143         (C33_FLAG, TARGET_C3X): Add macros.
144         (TARGET_SWITCHES): Add -m33 option.
145         * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
146         
147 2000-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
148         
149         * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
150         (PARALLEL_PACK_FLAG): Delete.
151         (TARGET_SWITCHES): Update.
152         (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
153
154 Thu Mar 16 18:52:32 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
155
156         * fold-const.c (fold): Fix a few cases when the returned result
157         is not of the same type as the input.
158
159 2000-03-16  Nick Clifton  <nickc@cygnus.com>
160
161         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
162         warning.
163
164 2000-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
165
166         * libgcc2.h: Move prototypes above macros with the same name.
167         Wrap some function prototypes in the conditional which indicates
168         whether they are supported, i.e. "BITS_PER_UNIT == 8".
169
170 2000-03-16  Richard Henderson  <rth@cygnus.com>
171
172         * calls.c: Revert last two changes.
173
174 2000-03-16  Bernd Schmidt  <bernds@cygnus.co.uk>
175
176         * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
177         has exponent 0 is a zero.
178
179         * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
180         HASH may already be nonzero.  Add code/mode into hash value
181         immediately after repeat label.
182         (cselib_lookup): Don't leave the hash table in an inconsistent
183         state before a hash lookup operation.
184
185 Thu Mar 16 17:03:10 MET 2000  Jan Hubicka  <jh@suse.cz>
186
187         * i386.md (all HI and QI mode non-move patterns):  Conditionize
188         by TARGET_[HQ]IMODE_MATH.
189         * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
190         x86_promote_qi_regs): Declare.
191         (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
192         TARGET_PROMOTE_QI_REGS): New macros.
193         (PROMOTE_MODE): New macro.
194         * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
195         x86_promote_qi_regs): New global variables.
196
197 Thu Mar 16 16:50:44 MET 2000  Jan Hubicka  <jh@suse.cz>
198
199         * calls.c (emit_library_call_value_1): Break out from ...; handle
200         VOIDmode function calls too.
201         (emit_library_call_value): ... here.
202         (emit_library_call): Implement by calling emit_library_call_value_1.
203
204 Thu Mar 16 16:01:30 MET 2000  Jan Hubicka  <jh@suse.cz>
205
206         * calls.c (expand_call): Do sanity checking on arg_space_so_far.
207         Update arg_space_so_far on stack adjustments.
208         (emit_library_call, emit_library_call_value): Likewise; take into
209         account arg_space_so_far and pending_stack_adjust when calculcating
210         the boundary.
211
212 Thu Mar 16 09:02:19 2000  Jason Eckhardt  <jle@cygnus.com>
213
214         * flow.c: Move all basic block reordering code into its own file.
215         (create_basic_block): Externalize.
216         * bb-reorder.c: New file. Copy all basic block reordering code from
217         flow.c to this file.
218         (reorder_basic_blocks): Fix fencepost error in for-loop.
219         (reorder_basic_blocks): Remove braces from single statement for-loops.
220         * basic-block.h: Add declaration for create_basic_block.
221         * Makefile.in: Add rules for bb-reorder.o.
222
223 2000-03-16  Neil Booth  <NeilB@earthling.net>
224
225         * cppinit.c (handle_option):  Implement #unassert directive
226         as -A- command line option.
227         (print_help):  Update.
228         * cpptexi.c:  Update.
229
230 Thu Mar 16 02:14:16 2000  Hans-Peter Nilsson  <hp@bitrange.com>
231
232         * md.texi (Standard Names): Document `jump'.
233
234 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
235
236         * calls.c (emit_call_1): Nothrow functions can still have nonlocal
237         gotos.
238
239 2000-03-15  Geoff Keating  <geoffk@cygnus.com>
240
241         See the ChangeLog on the branch for more details.
242         
243         * configure.in: Merge in changes from newppc-branch.
244         * configure: Regenerate.
245         * config/rs6000/*: Merge in changes from newppc-branch.
246         Also correct copyright notices.
247
248 Wed Mar 15 15:43:38 2000  Jeffrey A Law  (law@cygnus.com)
249
250         * acconfig.h (HAVE_GAS_WEAK): New define.
251         * configure.in (assembler weak support): Check for .weak support.
252         * config.in, configure: Rebuilt.
253         * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
254         HAVE_GAS_WEAK is defined.
255
256 2000-03-15  Nick Clifton  <nickc@cygnus.com>
257
258         * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
259         asm_fprintf().
260
261 2000-03-15  Zack Weinberg  <zack@wolery.cumb.org>
262
263         * cppfiles.c (open_include_file): New function.
264         (find_include_file, cpp_read_file): Use it.
265
266 2000-03-15  Jason Merrill  <jason@casey.cygnus.com>
267
268         * cpphash.c (dump_hash_helper): Take the slot, not the element.
269
270 Wed Mar 15 14:28:54 2000  Jason Eckhardt  <jle@cygnus.com>
271
272         * flow.c (verify_flow_info): Check for unconditional return.
273
274 Wed Mar 15 11:34:27 2000  Jim Wilson  <wilson@cygnus.com>
275
276         * config/ia64/ia64.md (restore_stack_nonlocal): New.
277         * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
278         (__ia64_restore_stack_nonlocal): New.
279         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
280
281 2000-03-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
282
283         * cpphash.c (collect_formal_parameters): Do not complain about
284         parameter names that just start with `__VA_ARGS__'.
285
286 Wed Mar 15 13:26:58 MET 2000  Jan Hubicka  <jh@suse.cz>
287
288         * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
289         movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
290         * i386.c (pentiumpro_cost): Set mul cost to 4.
291         (x86_use_movx): Set for PPro.
292
293 Wed Mar 15 13:07:05 MET 2000  Jan Hubicka  <jh@suse.cz>
294
295         * i386.md (ix86_compute_frame_size): stack_alignment_needed is
296         STACK_BOUNDARY for empty frames now.
297
298 2000-03-14  Mark Mitchell  <mark@codesourcery.com>
299
300         * stor-layout.c (layout_union): Remove.
301         (layout_union_field): New function, split out from layout_union.
302         (finish_union_layout): Likewise.
303         (layout_field): Handle unions by calling layout_union_field.
304         (finish_record_layout): Handle unions.
305         (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
306         QUAL_UNION_TYPE handling.
307
308 Wed Feb 23 13:00:06 CET 2000  Jan Hubicka  <jh@suse.cz>
309
310         * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
311         end of basic block is jump_insn, not barrier; use create_basic_block
312         instead of creating basic block by hand.
313
314 2000-03-14  Jason Eckhardt  <jle@cygnus.com>
315
316         * flow.c (reorder_basic_blocks): Account for barriers when writing
317         over NEXT_INSN (last_bb->end).
318         (verify_flow_info): Add check for missing barriers.
319
320 2000-03-14  Greg McGary  <gkm@gnu.org>
321
322         * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
323         * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
324         * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
325         __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
326         __unbounded, __unbounded__): New keywords.
327         * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
328         * c-parse.y, c-parse.c, c-parse.h: Regenerate.
329         * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
330
331 2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
332
333         * cselib.h: New file.
334         * alias.c: Include "cselib.h".
335         (fixed_scalar_and_varying_struct_p): Accept the addresses of the
336         MEMs as two new arguments.
337         (get_addr): New static function.
338         (find_base_term): Handle VALUEs.
339         (memrefs_conflict_p): Likewise.
340         (true_dependence): Call get_addr on the addresses.
341         Call fixed_scalar_and_varying_struct_p with addresses that have been
342         passed through get_addr and canon_rtx.
343         (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
344         with true_dependence.
345         Call get_addr on the addresses; don't call canon_rtx on the MEMs.
346         * loop.c: Include "cselib.h".
347         (load_mems): Process extended basic block that enters the loop with
348         cselib.  Use that information to change initialization of the shadow
349         register so that a constant equivalence is seen by later passes.
350         * reload1.c: Include "cselib.h".
351         (reload_cse_invalidate_regno): Delete function.
352         (reload_cse_mem_conflict_p): Likewise.
353         (reload_cse_invalidate_mem): Likewise.
354         (reload_cse_invalidate_rtx): Likewise.
355         (reload_cse_regno_equal_p): Likewise.
356         (reload_cse_check_clobber): Likewise.
357         (reload_cse_record_set): Likewise.
358         (reg_values): Delete static variable.
359         (invalidate_regno_rtx): Likewise.
360         (reload_cse_delete_noop_set): New static function.
361         (reload_cse_simplify): New static function, broken out of
362         reload_cse_regs_1.
363         (reload_cse_noop_set_p): Delete unused argument INSN.
364         Just call rtx_equal_for_cselib_p on set source and destination.
365         (reload_cse_regs_1): Break out some code into reload_cse_simplify and
366         reload_cse_delete_noop_set.  Delete code to keep track of values; use
367         cselib functions instead.  Delete code to push/pop obstacks.
368         (reload_cse_simplify_set): Use cselib to find equivalent values.
369         Delete code to push/pop obstacks.
370         (reload_cse_simplify_operands): Likewise.
371         * rtl.def (VALUE): New rtx code.
372         * rtl.h (union rtunion_def): New elt rt_cselib.
373         (X0CSELIB, CSELIB_VAL_PTR): New macros.
374         * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
375         (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
376         unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
377         discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
378         hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
379         cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
380         cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
381         cselib_record_set, cselib_record_sets): New static functions.
382         (cselib_lookup, cselib_update_varray_sizes, cselib_init,
383         cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
384         references_value_p): New functions.
385         (MAX_USELESS_VALUES, REG_VALUES): New macros.
386         (table, cselib_current_insn, next_unknown_value, cselib_nregs,
387         n_useless_values, reg_values, callmem, cselib_obstack,
388         cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
389         New static variables.
390         * varray.h (union varray_data_tag): New elt te.
391         (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
392         * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
393         dependencies.
394
395 2000-03-14  Nick Clifton  <nickc@cygnus.com>
396
397         * gcc.c (do_spec_1): Catch the case where %* is used in a
398         substitution pattern, but it has not been initialised.
399         Issue a meaningful error message if an unrecognised operator
400         is encountered in a spec string.
401
402 2000-03-14  Richard Earnshaw <rearnsha@arm.com>
403
404         * function.c (prepare_function_start): Correctly initialize
405         cfun->stack_alignment_needed.
406
407 2000-03-14  Zack Weinberg  <zack@wolery.cumb.org>
408
409         * cppfiles.c (find_include_file): Don't assume nshort is a
410         substring of name.
411
412 Tue Mar 14 08:42:21 2000  Jeffrey A Law  (law@cygnus.com)
413
414         * configure.in (hppa configurations): Add pa32-regs.h to the
415         list of tm files as appropriate.
416         * configure: Rebuilt.
417         * pa.c (compute_frame_size): Remove explicit knowledge about FP
418         register numbering.
419         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
420         (fmpyaddoperands, fmpysuboperands): Likewise.
421         * pa.h: Remove various definitions which depend on knowing
422         how registers are numbered.
423         * pa32-regs.h: New file with PA32 register numbering specific
424         definitions.
425
426 2000-03-14  Richard Henderson  <rth@cygnus.com>
427
428         * regmove.c (combine_stack_adjustments): New.
429         (stack_memref_p, single_set_for_csa): New.
430         (free_csa_memlist, record_one_stack_memref): New.
431         (try_apply_stack_adjustment): New.
432         (combine_stack_adjustments_for_block): New.
433         * rtl.h (combine_stack_adjustments): Declare.
434         * toplev.c (rest_of_compilation): Call it.
435
436         * i386.md: Revert 2000-01-16 change.
437
438 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
439
440         * gccbug.in: Add web category, gcc specific classes.
441
442 2000-03-14  Nathan Sidwell  <nathan@codesourcery.com>
443
444         * stor-layout.c (finalize_record_size): Fix typo.
445
446 2000-03-14  Stan Shebs  <shebs@apple.com>
447
448         * c-typeck.c (c_alignof): Error on incomplete types.
449         * extend.texi (Alignment): Document this.
450
451 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
452
453         * cppfiles.c: Include mkdeps.h.
454         (find_include_file, read_include_file): Remove _cpp_ prefix
455         from name, make static.
456         (_cpp_execute_include): New function, broken out of
457         do_include.
458
459         * cpplib.c: Don't include mkdeps.h.
460         (struct directive): Remove type field. Reorder entries.  The
461         function takes only one argument.
462         (struct if_stack): Make type field an int.
463         (directive_table): Rename to dtable.  Generate it, the
464         prototypes of the directive handlers, and the enum for the
465         directive numbers, from a template macro.
466         (do_ifndef, do_include_next, do_import): New functions.
467         (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
468         do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
469         do_ident, do_assert, do_unassert, do_sccs): Take only one
470         argument.
471         (do_sccs): Define always, but alter behavior based on
472         SCCS_DIRECTIVE.
473         (_cpp_handle_directive, consider_directive_while_skipping):
474         Restructure for new directive table layout.
475
476         (pass_thru_directive): Take a directive number, not a pointer
477         to a struct directive.
478         (parse_include): New function, broken out of do_include.
479         (do_include, do_import, do_include_next): Use parse_include
480         and _cpp_execute_include.
481         (do_elif, do_else): Test for T_ELSE specifically when checking
482         for #elif/#else after #else.
483         (parse_ifdef): New function, broken out of do_ifdef.
484         (validate_else): Expect a name arg without a leading #.
485         (if_directive_name): Delete.
486         (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
487         directive handlers with only one argument.
488
489         * cpphash.h: Update prototypes.
490         (enum node_type): Remove entries for directives.
491         * Makefile.in: Update dependencies.
492
493         * cpphash.c (dump_hash_helper): Only dump nodes of type
494         T_MACRO.  Emit a newline after each definition.
495
496 2000-03-14  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
497
498         * gccbug.in: New file.
499         * configure.in (all_outputs): Add gccbug.
500         * Makefile.in (install-common): Install gccbug.
501         (GCCBUG_INSTALL_NAME): New variable.
502         * configure: Rebuilt.
503         
504 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
505
506         * function.c (put_var_into_stack): Use type_for_mode to calculate
507         part_type.  Use MEM_SET_IN_STRUCT_P.
508         * expr.c (store_field): Handle CONCAT.
509         (store_constructor): Use fields_length.
510         * tree.c (fields_length): New fn.
511         * tree.h: Declare it.
512
513 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
514
515         * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
516         (cpplex.o): New target.
517         * po/POTFILES.in: Add cpplex.c.
518
519         * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
520         cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
521         cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
522         skip_block_comment, skip_line_comment, skip_comment,
523         copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
524         _cpp_parse_name, skip_string, parse_string,
525         _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
526         _cpp_get_directive_token, find_position,
527         _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
528         (maybe_macroexpand, _cpp_lex_token): New functions.
529
530         * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
531         parse_goto_mark): Delete.
532         (_cpp_handle_eof): New function.
533         (_cpp_handle_directive): Rename from handle_directive.
534         (_cpp_output_line_command): Rename from output_line_command.
535         (do_if, do_elif): Call _cpp_parse_expr directly.
536         * cppfiles.c (_cpp_read_include_file): Don't call
537         init_input_buffer here.
538         * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
539         * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
540         here; pop the token_buffer and skip the rest of the line here.
541         * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
542         here.
543
544         * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
545         Define here.
546         (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
547         CPP_GOTO_MARK): New macros.
548         (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
549         _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
550         _cpp_read_and_prescan, _cpp_init_input_buffer,
551         _cpp_grow_token_buffer, _cpp_get_directive_token,
552         _cpp_handle_directive, _cpp_handle_eof,
553         _cpp_output_line_command): Prototype them here.
554         * cpplib.h (enum cpp_token): Add CPP_MACRO.
555         (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
556         quote_string, output_line_command): Remove.
557
558 2000-03-13  Bernd Schmidt  <bernds@cygnus.co.uk>
559
560         * stmt.c (expand_end_case): RANGE may be signed, and when checking
561         whether it is too large we must also verify that it isn't negative.
562
563 2000-03-13  Jakub Jelinek  <jakub@redhat.com>
564
565         * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
566         (movsi_zero_liveg0): Remove.
567         (movsf_insn_novis_liveg0): Remove.
568         (negsi2): Remove.
569         (negsi2_not_liveg0): Rename to negsi2.
570         (one_cmplsi2): Remove.
571         (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
572         (one_cmplsi2_liveg0): Remove.
573         * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
574         MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
575         (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
576         (PREDICATE_CODES): Remove zero_operand.
577         * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
578         TARGET_BROKEN_SAVERESTORE.
579         (zero_operand): Remove.
580         * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
581         -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
582         options.
583         (SUBTARGET_OVERRIDE_OPTIONS): Remove.
584         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
585         TARGET_BROKEN_SAVERESTORE): Remove.
586         * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
587         Remove.
588         * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
589         Remove.
590         * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
591         Remove.
592
593         * config/sparc/sparc.md (return_df_no_fpu): New pattern.
594
595 2000-03-13  Zack Weinberg  <zack@wolery.cumb.org>
596
597         * cpplib.c (do_pragma_implementation): Fix off-by-one error
598         truncating a string.  Don't assume tokens are nul terminated.
599         Problem noted by Andreas Jaeger <aj@suse.de>
600
601 2000-03-13  Jason Merrill  <jason@casey.cygnus.com>
602
603         * dwarf2out.c (add_name_and_src_coords_attributes): Only add
604         DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
605         (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
606
607 2000-03-13  Richard Earnshaw <rearnsha@arm.com>
608
609         * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
610         STRUCTURE_SIZE_BOUNDARY.
611
612 2000-03-13  Mark Mitchell  <mark@codesourcery.com>
613
614         * tree.h (record_layout_info_s): New structure.
615         (record_layout_info): New type.
616         (new_record_layout_info): New function.
617         (layout_field): Likewise.
618         (finish_record_layout): Likewise.
619         * stor-layout.c (layout_record): Remove.
620         (new_record_layout_info): New function.
621         (layout_field): New function, broken out from layout_record.
622         (finalize_record_size): Likewise.
623         (compute_record_mode): Likewise.
624         (finalize_type_size): New function, broken out from layout_type.
625         (finish_record_layout): Likewise.
626         (layout_type): Use them.
627         
628 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
629
630         * cpphash.c: Don't include version.h.
631         (special_symbol) [case T_VERSION]: Look for the string in
632         hp->value.cpval; don't use version_string.
633         * cppinit.c (initialize_builtins): Set hp->value.cpval for
634         __VERSION__ to version_string.
635         * Makefile.in (cpphash.o): Update deps.
636
637 2000-03-12  Zack Weinberg  <zack@wolery.cumb.org>
638
639         Convert cpplib to use libiberty/hashtab.c.
640
641         * cpplib.h (struct cpp_reader): Make hashtab and
642         all_include_files of type 'struct htab *'.  Delete HASHSIZE
643         and ALL_INCLUDE_HASHSIZE macros.
644
645         * cpphash.h: Update prototypes.
646         (struct hashnode): Remove next, prev, and bucket_hdr members.
647         Make length a size_t.  Add hash member.
648         (struct ihash): Remove next member.  Add hash member.  Make
649         name a flexible array member.
650
651         * cppfiles.c: Include hashtab.h.
652         (include_hash): Delete.
653         (IHASHSIZE): New macro.
654         (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
655         (cpp_included): Do the hash lookup here.
656         (_cpp_find_include_file): Rewrite.
657         (cpp_read_file): Put the "fake" hash entry into the hash
658         table.  Honor the control_macro, if it turns out we've seen
659         the file before.  Don't push the buffer here.
660         (_cpp_read_include_file): Push the buffer here.
661         (OMODES): New macro.  Use it whenever we call open(2).
662
663         * cpphash.c: Include hashtab.h.
664         (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
665         _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
666         _cpp_lookup_slot): New functions.
667         (HASHSIZE): new macro.
668         (hashf, _cpp_install, _cpp_delete_macro): Delete.
669         (_cpp_lookup): Use hashtab.h routines.
670
671         * cppinit.c: Include hashtab.h.
672         (cpp_reader_init): Call _cpp_init_macro_hash and
673         _cpp_init_include_hash.  Don't allocate hashtab directly.
674         (cpp_cleanup): Just call htab_delete on pfile->hashtab and
675         pfile->all_include_files.
676         (initialize_builtins): Use _cpp_make_hashnode and
677         htab_find_slot to add hash entries.
678         (cpp_finish): Just call _cpp_dump_macro_hash.
679         * cpplib.c: Include hashtab.h.
680         (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
681         create hash entries.
682         (do_pragma_poison, do_assert): Likewise.
683         (do_include): Don't push the buffer here.  Don't increment
684         system_include_depth unless _cpp_read_include_file succeeds.
685         (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
686         or htab_remove_elt.
687         (do_pragma_implementation): Use alloca to create copy.
688
689         * Makefile.in: Update dependencies.
690
691 2000-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
692
693         * cppinit.c (cl_directive_handler): More K&R fixing.
694
695 Sat Mar 11 23:54:26 2000  Jim Wilson  <wilson@cygnus.com>
696
697         * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
698         STACK_BOUNDARY.
699         * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
700
701 2000-03-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
702
703         * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
704         Change from char[] to macros.
705
706 2000-03-12  Neil Booth  <NeilB@earthling.net>
707
708         * cppinit.c (cpp_start_read): Update indirect function
709         call to K&R C.
710
711 Sat Mar 11 16:18:12 2000  Jim Wilson  <wilson@cygnus.com>
712
713         * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
714         entry.
715
716         * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
717         config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
718
719 2000-03-11  Neil Booth  <NeilB@earthling.net>
720
721         * cppinit.c (struct pending option): Replace undef with a 
722         pointer to a directive handling routine.
723         (struct cpp_pending): Replace separate assert_ and define_ 
724         lists with one directive_ list.
725         (new_pending_define): Rename new_pending_directive. Extra
726         argument is the directive's handling routine.
727         (handle_option): Update to use new_pending_directive.
728
729 2000-03-11  Neil Booth  <NeilB@earthling.net>
730
731         * cppfiles.c (file_cleanup, _cpp_find_include_file,
732         remap_filename, _cpp_read_include_file, actual_directory,
733         hack_vms_include_specification): Replace bcopy(), index() etc
734         calls.  Add casts to some allocations.  Make some variables
735         pointers to const [unsigned] char.
736         * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
737         collect_formal_parameters): Similarly.
738         * cppinit.c (struct pending_option, append_include_chain,
739         cpp_options_init, cpp_reader_init, initialize_standard_includes,
740         cpp_start_read, new_pending_define, handle_option): Similarly.
741         * cpplib.c (cpp_define, copy_comment, do_define, do_include,
742         do_undef, do_error, do_warning, do_pragma, do_pragma_once,
743         do_pragma_implementation, detect_if_not_defined,
744         do_ifdef, skip_if_group, cpp_get_token, parse_string,
745         do_assert, do_unassert): Similarly.
746         * cpplib.h (cpp_buffer, cpp_options): Update types.  Update
747         function prototypes.
748         * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.   
749
750 2000-03-10  Richard Henderson  <rth@cygnus.com>
751
752         * builtins.c (expand_builtin_strlen): Revert last change.
753         Use emit_insn_before if we're at the beginning of a sequence.
754
755 2000-03-10  Jason Merrill  <jason@casey.cygnus.com>
756
757         * builtins.c (expand_builtin_strlen): Make sure that we have something
758         at the beginning of the sequence.
759
760         * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
761         deferred inlines.
762
763         * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
764
765 2000-03-10  Richard Henderson  <rth@cygnus.com>
766
767         * except.c (can_throw): Use INTVAL on a CONST_INT.
768         (reachable_handlers): Likewise.
769         * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
770
771 2000-03-10  Andreas Jaeger  <aj@suse.de>
772
773         * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
774         MD_STARTFILE_PREFIX since those are not needed on linux.
775         (ASM_FILE_START): New, from mips/gnu.h.
776
777 2000-03-09  Richard Henderson  <rth@cygnus.com>
778             Alex Samuel  <samuel@codesourcery.com> and others
779         
780         * Makefile.in (ssa.o): New rule.
781         (OBJS): Add ssa.o.
782         (STAGESTUFF): Add *.ssa and *.ussa.
783         (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
784         * rtl.def (PHI): New RTL expression.
785         * rtl.h (clear_log_links): New declaration.
786         (convert_to_ssa): Likewise.
787         (convert_from_ssa): Likewise.
788         * flow.c (split_edge): If the entry node falls through to the
789         split edge's source block, split the entry edge.
790         (clear_log_links): New function.
791         * toplev.c (ssa_dump): New variable.
792         (flag_ssa): Likewise.
793         (f_options): Add "ssa".
794         (compile_file): Create SSA dump files.
795         (rest_of_compilation): Go to and from SSA if enabled.
796         (decide_d_option): Handle -de for SSA dump files.
797         * ssa.c: New file.
798         
799 Thu Mar  9 20:01:38 2000  Jim Wilson  <wilson@cygnus.com>
800
801         * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
802         same as VAR_DECL.
803
804 2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>
805
806         * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
807
808 Thu Mar  9 18:10:02 2000  Jeffrey A Law  (law@cygnus.com)
809
810         * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
811         (MD_STARTFILE_PREFIX_1): New macro.
812
813 2000-03-09  Robert Lipe  <robertl@sco.com>
814
815         * config/ia64/ia64.c: Include system.h.
816
817 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
818
819         * except.c (nothrow_function_p): If -fno-exceptions, just return.
820         (init_eh_nesting_info): Likewise.
821
822         * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
823         (TREE_NOTHROW): Rename from TREE_RAISES.
824         * toplev.c (rest_of_compilation): Set it.
825         * print-tree.c (print_node): Adjust.
826         * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
827         (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
828         * calls.c (emit_call_1): Add 'nothrow' parm.  Add 
829         REG_EH_REGION note as appropriate.
830         (libfunc_nothrow): New fn.
831         (emit_library_call, emit_library_call_value): Use it.
832         (expand_call): Check TREE_NOTHROW.
833
834         * varasm.c (make_decl_rtl): Skip initial '*' when setting
835         DECL_ASSEMBLER_NAME.
836
837 2000-03-09  Andreas Jaeger  <aj@suse.de>
838
839         * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
840         (TARGET_MEM_FUNCTIONS): Define.
841
842 2000-03-09  Jason Merrill  <jason@casey.cygnus.com>
843
844         * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
845
846         * except.c (can_throw): See through a SEQUENCE.
847         (nothrow_function_p): New fn.
848         * except.h: Declare it.
849         * function.c (current_function_nothrow): New var.
850         (prepare_function_start): Initialize it.
851         * output.h: Declare it.
852         * toplev.c (rest_of_compilation): Set it.
853         * dwarf2out.c (dwarf2out_begin_prologue): Use it.
854
855 2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
856
857         * cpphash.c (collect_formal_parameters): strncmp returns 0 for
858         match.  (cpp_compare_defs): Count the nul separator when
859         advancing over argument names.
860
861 2000-03-09  Bernd Schmidt  <bernds@cygnus.co.uk>
862
863         * recog.c (preprocess_constraints): Matching constraints affect
864         same alternative/different operand, not same operand/different
865         alternative.
866         
867         * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
868         register and a constant specially.
869
870 2000-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
871
872         * libgcc2.h: New file.
873         * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
874
875 Wed Mar  8 16:19:42 2000  Jim Wilson  <wilson@cygnus.com>
876
877         * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
878         * configure: Regenerate.
879         * config/ia64: New.
880
881 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
882
883         * Makefile.in (LIBCPP_DEPS): New macro.
884         (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
885         it to declare deps.
886         * cpperror.c: Include cpphash.h.
887         * cppexp.c: Include cpphash.h.  Remove MULTIBYTE_CHARS
888         dingleberry.
889         (lex): Don't use CPP_WARN_UNDEF.
890         (_cpp_parse_expr): Return an int, the truth value.
891         * cppfiles.c: Include cpphash.h.
892         (_cpp_merge_include_chains): Move to cppinit.c and make static.
893         * cppinit.c (include_defaults_array): Disentangle.
894         (cpp_cleanup): Don't free the if stack here.
895         (cpp_finish): Pop off all buffers, not just one.
896         * cpplib.c (eval_if_expr): Return int.
897         (do_xifdef): Rename do_ifdef.
898         (handle_directive): Don't use CPP_PREPROCESSED. 
899         (cpp_get_token): Don't use CPP_C89.
900         * fix-header.c: Don't use CPP_OPTIONS.
901
902         * cpplib.h: Move U_CHAR, enum node_type, struct
903         file_name_list, struct ihash, is_idchar, is_idstart,
904         is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
905         CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
906         CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
907         CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
908         CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
909         of _cpp_simplify_pathname, _cpp_find_include_file,
910         _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
911         Move struct if_stack to cpplib.c.  Move struct cpp_pending to
912         cppinit.c.
913         Change all uses of U_CHAR to be unsigned char instead.
914         Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
915
916 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
917
918         * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
919         (dwarf2out_begin_prologue): Set it.
920         (output_call_frame_info): Don't emit EH unwind info for leaves.
921
922         * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
923         can occur outside of an EH region.
924         * except.c: Correct comments about rethrow behavior.
925         (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
926
927 2000-03-08  Andrew MacLeod  <amacleod@cygnus.com>
928
929         * flow.c (make_edges): Always call make_eh_edge for calls.
930
931 2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
932
933         * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
934         (struct cpp_buffer): Remove fname and underflow fields.
935         (struct cpp_reader): Remove get_token field.
936         (struct include_hash): Rename to struct ihash.  Add typedef to
937         IHASH.
938         (struct if_stack): Remove fname field.
939         (IF_STACK_FRAME): Rename to IF_STACK.
940
941         * cpperror.c (print_containing_files): Trust that there are no
942         macro buffers below the top file buffer.
943         * cppfiles.c: Replace all references to 'struct include_hash'
944         with 'IHASH'.  Rename initialize_input_buffer to
945         init_input_buffer.  Don't set or reference cpp_buffer->fname,
946         use buffer->ihash->name instead.
947         * cpphash.c (special_symbol): Use cpp_file_buffer.  Use NULL
948         not CPP_NULL_BUFFER.
949         * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
950         IF_STACK_FRAME, IHASH not struct include_hash.
951         * cpplib.c: Rename eval_if_expression to eval_if_expr.  Remove
952         null_underflow.  Use IF_STACK not IF_STACK_FRAME, IHASH not
953         struct include_hash, NULL not CPP_NULL_BUFFER.  Remove all
954         references to cpp_buffer->fname (delete entirely, or use
955         ->ihash->name instead) and IF_STACK->fname.
956         (cpp_push_buffer): Don't set new->underflow.
957         (do_include): Use cpp_file_buffer.
958
959         * cpphash.c (collect_formal_parameters): Remove duplicate
960         increment of argslen.  Pedwarn in C99 mode if __VA_ARGS__ is
961         used as a macro argument name.  Don't append "..." to namebuf
962         for varargs macros.  After we're done scanning, go through
963         namebuf and make it NUL separated, not comma separated.
964         (_cpp_compare_defs): Remove register tag from variables.
965         Expect defn->argnames to be NUL separated.
966         (_cpp_dump_definition): Expect defn->argnames to be NUL
967         separated and in forward order.
968         * cpphash.h: Update documentation of argnames field.
969
970 2000-03-08  Richard Henderson  <rth@cygnus.com>
971
972         * builtins.c (expand_builtin_strlen): Be prepared for strlensi
973         to fail.  Don't pre-expand the source operand.
974
975         * i386.md (strlensi): Initialize eoschar and align before use.
976
977 2000-03-08  Jason Merrill  <jason@casey.cygnus.com>
978
979         * expr.c (expand_expr, case ARRAY_REF): Still check for missing
980         CONSTRUCTOR element.
981
982 2000-03-08  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
983
984         * mips.c (mips_expand_prologue): If the last 
985         named argument is the vararg marker "va_list", treat it as
986         an unnamed argument.
987
988 2000-03-08  Clinton Popetz  <cpopetz@cygnus.com>
989
990         * dbxout.c (dbxout_parms): When correcting for promoted 
991         big-endian parameters, use the mode of the DECL_RTL rather 
992         than UNITS_PER_WORD.
993
994 2000-03-08  Nathan Sidwell  <nathan@codesourcery.com>
995
996         * c-common.h (make_fname_decl): Declare.
997         * c-common.c (make_fname_decl): Define.
998         (declare_hidden_char_array): Remove.
999         (declare_function_name): Use make_fname_decl.
1000         * c-decl.c (c_make_fname_decl): New function.
1001         (init_decl_processing): Set make_fname_decl.
1002
1003 Tue Mar  7 23:50:31 2000  Jeffrey A Law  (law@cygnus.com)
1004
1005         * cccp.c (handle_directive): Initialize backslash_newlines_p.
1006
1007 2000-03-07  Philipp Thomas  <pthomas@suse.de>
1008
1009         * po/POTFILES.in: Remove cppalloc.c from file list.
1010
1011 2000-03-07  Steve Chamberlain  <sac@pobox.com>
1012
1013         * pj.c (pj_expand_prologue): current_function->args_info is
1014         now current_function_args_info.  
1015
1016         * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
1017         LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
1018         ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
1019
1020 2000-03-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1021
1022         * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
1023         output as hexadecimal rather than the default octal.
1024
1025 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
1026
1027         * cpphash.c (special_symbol): Fix thinko in previous commit.
1028
1029 2000-03-07  Neil Booth  <NeilB@earthling.net>
1030
1031         * cppexp.c (struct operation, left_shift, right_shift,
1032         cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
1033         "int"s to "unsigned int"s.
1034         * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
1035         Similarly.
1036         * cpplib.h: Update for above.
1037         * mkdeps.c (deps_init, deps_calc_target): Cast pointers
1038         returned from allocations.
1039
1040         * cppinit.c (opt_comp, parse_options): New functions.
1041         (handle_option): Use parse_option to parse a single command
1042         line option, that possibly takes an argument.
1043         (cpp_handle_options): Sort the array of command line options on
1044         first invocation (non-ASCII hosts only).
1045         (print_help): Update.
1046
1047 2000-03-07  Zack Weinberg  <zack@wolery.cumb.org>
1048
1049         * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
1050         backslash counting loops.  Problem noted by Matt Kraai <kraai@ghs.com>.
1051         
1052         * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
1053         initialized.
1054         * cppinit.c (cpp_cleanup): Free imp->nshort also.
1055
1056         * cpperror.c (cpp_print_containing_files,
1057         cpp_print_file_and_line, v_cpp_message): Rename to
1058         print_containing_files, print_file_and_line, and v_message.
1059         * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
1060         to _cpp_parse_expr, parse_escape, and lex.
1061         (parse_charconst): Remove broken multibyte support.
1062         * cppfiles.c (include_hash): Make static.
1063         (cpp_included): New function.
1064         (merge_include_chains, find_include_file, finclude,
1065         simplify_pathname): Rename to _cpp_merge_include_chains,
1066         _cpp_find_include_file, _cpp_read_include_file, and
1067         _cpp_simplify_pathname.
1068         * cpphash.c (cpp_lookup, free_definition, delete_macro,
1069         cpp_install, create_definition, macroexpand, compare_defs,
1070         dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
1071         _cpp_delete_macro, _cpp_install, _cpp_create_definition,
1072         _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
1073         * cppinit.c (cpp_handle_option): Rename to handle_option, make
1074         static.
1075         * cpplib.c: Remove extern prototype of cpp_parse_expr.
1076
1077         * cpphash.h: Update prototypes.
1078         * cpplib.h: Likewise.  Prototype _cpp_parse_expr here.
1079
1080 2000-03-07  Andrew Haley  <aph@cygnus.com>
1081
1082         * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
1083         PTRDIFF_TYPE should be based solely on Pmode.
1084         (SIZE_TYPE): ditto.
1085
1086 2000-03-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1087
1088         * rtl.h (rtunion_def): Constify member `rtstr'.
1089         (emit_line_note_after, emit_line_note, emit_line_note_force,
1090         emit_note, decode_asm_operands): Constify.
1091         
1092         * cse.c (canon_hash): Likewise.
1093
1094         * dbxout.c (dbxout_block): Likewise.
1095
1096         * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
1097         v_warning_for_asm): Likewise.
1098
1099         * dwarfout.c (function_start_label): Likewise.
1100
1101         * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
1102         emit_line_note_force): Likewise.
1103
1104         * final.c (last_filename, asm_insn_count, final_scan_insn,
1105         output_source_line): Likewise.
1106
1107         * function.h (struct emit_status): Likewise.
1108
1109         * gcse.c (hash_expr_1): Likewise.
1110
1111         * genattr.c (gen_attr, main): Likewise.
1112
1113         * genattrtab.c (struct function_unit, current_alternative_string,
1114         write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
1115         attr_numeral, check_attr_test, check_attr_value,
1116         convert_set_attr_alternative, convert_set_attr,
1117         compute_alternative_mask, simplify_by_exploding, gen_attr,
1118         gen_unit): Likewise.
1119
1120         * genflags.c (gen_insn): Likewise.
1121
1122         * gengenrtl.c (type_from_format): Likewise.
1123
1124         * genopinit.c (gen_insn): Likewise.
1125
1126         * genoutput.c (n_occurrences, process_template, process_template):
1127         Likewise.
1128
1129         * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
1130         Likewise.
1131
1132         * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
1133         Likewise.
1134
1135         * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
1136         ggc_set_mark, ggc_get_size): Likewise.
1137
1138         * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
1139
1140         * optabs.c (init_one_libfunc): Likewise.
1141
1142         * output.h (assemble_start_function): Likewise.
1143
1144         * recog.c (decode_asm_operands): Likewise.
1145
1146         * toplev.c (rest_of_compilation): Likewise.
1147
1148         * tree.h (emit_line_note_after, emit_line_note,
1149         emit_line_note_force): Likewise.
1150
1151         * varasm.c (asm_output_bss, asm_output_aligned_bss,
1152         asm_emit_uninitialised, assemble_start_function,
1153         assemble_variable, const_hash, compare_constant_1,
1154         find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
1155
1156         * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
1157
1158         * alpha/alpha.md (call_vms, call_value_vms): Likewise.
1159
1160         * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
1161
1162         * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
1163
1164         * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
1165         arm_dllimport_name_p): Likewise.
1166
1167         * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
1168         Likewise.
1169
1170         * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
1171
1172         * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1173
1174         * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
1175         arm_mark_dllexport, arm_mark_dllimport,
1176         arm_pe_encode_section_info): Likewise.
1177
1178         * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
1179         ASM_FINISH_DECLARE_OBJECT): Likewise.
1180
1181         * arm/thumb.c (thumb_function_prologue): Likewise.
1182
1183         * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
1184
1185         * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1186
1187         * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
1188
1189         * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
1190
1191         * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
1192
1193         * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1194
1195         * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
1196         ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
1197
1198         * i386/i386-protos.h (asm_output_function_prefix): Likewise.
1199
1200         * i386/i386.c (asm_output_function_prefix): Likewise.
1201
1202         * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
1203
1204         * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1205
1206         * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
1207
1208         * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
1209         ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
1210         ASM_OUTPUT_SECTION_NAME): Likewise.
1211
1212         * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
1213
1214         * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
1215
1216         * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
1217
1218         * m32r/m32r.c (m32r_encode_section_info): Likewise.
1219
1220         * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1221
1222         * mcore/mcore.c (mcore_encode_section_info): Likewise.
1223
1224         * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1225
1226         * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1227
1228         * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1229
1230         * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
1231
1232         * mips/mips.md (movdi, movsi): Likewise.
1233
1234         * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1235
1236         * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1237
1238         * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1239
1240         * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
1241         ASM_OUTPUT_ASCII): Likewise.
1242
1243         * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
1244         output_mi_thunk, output_toc): Likewise.
1245
1246         * rs6000/rs6000.md (movsi): Likewise.
1247
1248         * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
1249
1250         * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
1251
1252         * v850/v850.c (print_operand, print_operand_address,
1253         v850_encode_data_area): Likewise.
1254
1255 2000-03-07  Clinton Popetz  <cpopetz@cygnus.com>
1256         
1257         * config/mips/mips.md (zero_extendsidi2): Always force operand
1258         one to memory for mips16.
1259
1260 Mon Mar  6 15:22:29 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1261
1262         * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
1263         (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
1264         (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
1265         (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
1266         (min_precision): Result is unsigned.
1267         (add_double, neg_double, mul_double): Low word is unsigned.
1268         (lshift_double, rshift_double, lrotate_double): Likewise.
1269         (rrotate_double, div_and_round_double): Likewise.
1270         (tree_floor_log2, compare_tree_int): New functions.
1271         (preserve_rtl_expr_temps): New declaration.
1272         * c-common.c (declare_hidden_char_array): Use compare_tree_int.
1273         (decl_attributes): Use tree_log2 to find alignment.
1274         Check for TREE_INT_CST_HIGH for format args.
1275         (min_precision): Now unsigned.
1276         Use tree_floor_log2.
1277         (truthvalue_conversion): Delete long-disabled code.
1278         * c-decl.c (finish_struct): Clean up tests on field width.
1279         (finish_function): Use compare_tree_int.
1280         * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
1281         * c-typeck.c (comptypes): Use tree_int_cst_equal.
1282         (default_conversion, digest_init): Use compare_tree_int.
1283         (build_binary_op): Use integer_all_onesp and compare_tree_int.
1284         Fix type errors in forming masks.
1285         * calls.c (initialize_argument_information): Use compare_tree_int.
1286         * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
1287         * except.c (expand_eh_region_start_tree): Use compare_tree_int.
1288         * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
1289         (store_field): Use compare_tree_int.
1290         (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
1291         (expand_expr, case ARRAY_REF): Use compare_tree_int.
1292         (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
1293         (do_store_flag): Use compare_tree_int.
1294         * fold-const.c (encode, decode): Low part is always unsigned.
1295         (force_fit_type, add_double, neg_double, mul_double): Likewise.
1296         (lshift_double, rshift_double, lrotate_double): Likewise.
1297         (rrotate_double, div_and_round_double, int_const_binop): Likewise.
1298         (fold_convert): Use compare_tree_int.
1299         (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
1300         (invert_truthvalue, case INTEGER_CST): Likewise.
1301         (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
1302         * mkdeps.c (deps_dummy_targets): Make I unsigned.
1303         * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
1304         (lshift_double, rshift_double, lrotate_double, rrotate_double):
1305         Likewise.
1306         * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
1307         (expand_end_case): Use compare_tree_int.
1308         (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
1309         * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
1310         (layout_decl): Likewise.
1311         (layout_record, layout_union): Make sizes unsigned.
1312         (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
1313         (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
1314         * tree.c (struct type_hash): hashcode is unsigned.
1315         (build_type_attribute_variant, type_hash_list): Likewise.
1316         (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
1317         (attribute_hash_list, build_array_type, build_method_type): Likewise.
1318         (build_complex_type): Likewise.
1319         (real_value_from_int_cst): Remove unneeded casts.
1320         (integer_all_onesp): Add casts.
1321         (tree_floor_log2, compare_tree_int): New functions.
1322         (build_index_type): Use tree_int_cst_sgn.
1323         * varasm.c (assemble_variable): Use compare_tree_int.
1324
1325 2000-03-06  Jason Merrill  <jason@casey.cygnus.com>
1326
1327         * cpphash.c (collect_expansion): Also catch ## at start of macro.
1328
1329         * varasm.c (make_decl_rtl): Don't add a number to members of
1330         local classes.
1331         (make_function_rtl): Likewise.
1332
1333 2000-03-06  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1334
1335         * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
1336         patch from 2000-01-28.
1337
1338 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
1339
1340         * config/sh/sh.c: (barrier_align): Handle a delay slot that is
1341         filled with an insn from the jump target.
1342
1343 2000-03-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1344
1345         * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
1346         (c4x_external_ref): Likewise.
1347         * config/c4x/c4x.c (struct name_list): Likewise.
1348
1349 1999-12-16  Ben Collins  <bcollins@debian.org>
1350
1351         * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
1352         argument to genmultilib.
1353         * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
1354         the contents into the multilib.h header.
1355         * gcc.c: Declare multilib_exclusions for the specs file.
1356         (set_multilib_dir): Use it.
1357         (print_multilib_info): Likewise.
1358         * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
1359         to pass to genmultilib.
1360
1361 2000-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1362
1363         * builtins.c (built_in_class_names, built_in_names): Constify a
1364         char*.
1365
1366         * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
1367         int.
1368         (_mcleanup): Ensure value matches format specifier in sprintf.
1369
1370         * cpphash.c (special_symbol): Don't needlessly cast away
1371         const-ness.
1372
1373         * cppinit.c (base_name): Delete unused prototype.
1374
1375         * mkdeps.c (deps_init): Make definition K&R safe.
1376
1377         * tree.h (built_in_class_names, built_in_names): Constify a
1378         char*.
1379
1380 2000-03-06  Jakub Jelinek  <jakub@redhat.com>
1381
1382         * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
1383         floating point instructions for epilogue delay.
1384
1385         * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
1386         to gas if it supports .register pseudo.
1387
1388         * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
1389         LONG_DOUBLE_TYPE_SIZE if not defined.
1390         Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
1391         LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
1392         * real.c: Likewise.
1393         * gengenrtl.c: Likewise.
1394         * print-rtl.c: Likewise.
1395         * rtl.c: Likewise.
1396         * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
1397         MASK_LONG_DOUBLE_128.
1398         * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
1399         * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
1400         * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
1401         (SUBTARGET_SWITCHES): Define.
1402         (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
1403         with -mlong-double-128.
1404         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
1405         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
1406         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
1407         (CC1_SPEC): Include -mlong-double-{64,128} as needed.
1408         * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
1409         (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
1410         with -mlong-double-128.
1411         (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
1412         (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
1413         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
1414         * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
1415         TARGET_LONG_DOUBLE_128): Define.
1416         * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
1417         * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
1418         long double on TARGET_ARCH64.
1419
1420 2000-03-06  Mark Mitchell  <mark@codesourcery.com>
1421
1422         * function.c (free_temps_for_rtl_expr): Don't free slots
1423         that have been pushed into a higher level.
1424         
1425         Revert this patch:
1426         2000-03-05  Mark Mitchell  <mark@codesourcery.com>
1427
1428 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
1429
1430         * basic-block.h (ALLOCA_REG_SET): Remove.
1431         (INITIALIZE_REG_SET): New macro.
1432         * flow.c (update_life_info): Use it.
1433         (calculate_global_regs_live): Likewise.
1434         (propagate_block): Likewise.
1435         * global.c (build_insn_chain): Likewise.
1436         * haifa-sched.c (schedule_region): Likewise.
1437
1438 2000-03-05  Stephane Carrez  <stcarrez@worldnet.fr>
1439
1440         * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
1441         (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
1442         (DWARF_ARANGES_PAD_SIZE): New define.
1443         (output_aranges): Use it to pad the address range header.
1444         (DWARF_ROUND): Fix for non power of 2 rounding.
1445
1446 2000-03-05  Jason Merrill  <jason@casey.cygnus.com>
1447
1448         * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
1449
1450 2000-03-05  Mark Mitchell  <mark@codesourcery.com>
1451
1452         * tree.def (RTL_EXPR): Update documentation.
1453         * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
1454         * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
1455         * function.c (preserve_rtl_expr_temp): New function.
1456         (preserve_rtl_expr_temps): Likewise.
1457         (preserve_rtl_expr_result): Use it.
1458
1459         Revert this patch:
1460         2000-03-04  Mark Mitchell  <mark@codesourcery.com>
1461
1462 2000-03-04  Thomas Schuster <Thomas.Schuster@gmx.net>
1463
1464         * regmove.c (copy_src_to_dest)  Do not create src->dest move
1465         for unchanging destination.
1466
1467 2000-03-04  Mark Mitchell  <mark@codesourcery.com>
1468
1469         * function.h (struct sequence_stack): Remove rtl_expr.
1470         (struct emit_staus): Likewise.
1471         (seq_rtl_expr): Remove.
1472         * tree.h (free_temps_for_rtl_expr): Don't declare.
1473         (start_sequence_for_rtl_expr): Likewise.
1474         * rtl.h (preserve_rtl_expr_result): Likewise.
1475         * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
1476         (start_sequence_for_rtl_expr): Remove.
1477         (push_topmost_sequence): Don't save sequence_rtl_expr.
1478         (pop_topmost_sequence): Remove comment about not restoring it.
1479         (end_sequence): Don't set seq_rtl_expr.
1480         (init_emit): Don't initialize it.
1481         (mark_sequence_stack): Don't mark it.
1482         (mark_emit_status): Likewise.
1483         * except.c (protect_with_terminate): Use
1484         start_sequence_for_rtl_expr, not start_sequence.
1485         * expr.c (expand_expr, case RTL_EXPR): Don't call
1486         preserve_rtl_expr_result or free_temps_for_rtl_expr.
1487         * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
1488         (preserve_rtl_expr_result): Remove.
1489         (free_temps_for_rtl_expr): Likewise.
1490         (pop_temp_slots): Likewise.
1491         (mark_temp_slot): Don't mark the rtl_expr.
1492         * stmt.c (expand_start_stmt_expr): Use start_sequence, not
1493         start_sequence_for_rtl_expr.
1494         
1495 2000-03-04  Zack Weinberg  <zack@wolery.cumb.org>
1496
1497         * mkdeps.c, mkdeps.h: New files.
1498         * po/POTFILES.in: Add them.
1499         * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
1500         (cpplib.o, cppinit.o): Depend on mkdeps.h.
1501         (mkdeps.o): New target.
1502
1503         * cppfiles.c: Delete deps_output.
1504         * cppinit.c: Include mkdeps.h.  Delete known_suffixes,
1505         OBJECT_SUFFIX, and base_name.
1506         (cpp_cleanup): Use deps_free.  Free ihash->name when clearing
1507         the include hash.
1508         (initialize_dependency_output): Use deps_init,
1509         deps_add_target, deps_calc_target, and deps_add_dep.  Remove
1510         all the unnecessary string bashing.
1511         (cpp_finish): Use deps_write.  Remove an unnecessary nesting
1512         level.
1513         * cpplib.c (do_include): Use deps_add_dep.
1514         * cpplib.h (struct cpp_reader): Replace deps_buffer,
1515         deps_allocated_size, deps_size, deps_column members with
1516         single pointer to a struct deps.  Delete prototype of
1517         deps_output.
1518
1519         * cppinit.c: Fix thinko in previous patch.
1520
1521 Sat Mar  4 11:32:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1522
1523         * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
1524         * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
1525         (mode_for_size_tree): New function.
1526         (layout_decl, layout_type): Call it and clean up BLKmode checks.
1527         * tree.h (mode_for_size_tree): New declaration.
1528         
1529         * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
1530
1531 2000-03-04  Jason Merrill  <jason@casey.cygnus.com>
1532
1533         * stmt.c (is_body_block): Move...
1534         * dwarfout.c, dwarf2out.c: ...from here.
1535         * tree.h: Declare it.
1536         * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
1537         * final.c (final_start_function): Do call remove_unnecessary_notes
1538         when scheduling.
1539
1540 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
1541
1542         * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
1543         
1544         * cpplib.h (_dollar_ok): New macro.
1545         (is_idchar, is_idstart): Use it.
1546         (IStable): Rename to _cpp_IStable.  Declare it const if
1547         gcc >=2.7 or C99.  Delete all references to FAKE_CONST.
1548         (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
1549         is_space): Update for renamed IStable.
1550
1551         * cppinit.c: Delete all references to FAKE_CONST and CAT
1552         macros. Define init_IStable as empty macro if gcc >=2.7 or
1553         C99. Change TABLE() to ISTABLE and hardcode name of table.
1554         (cpp_start_read): Don't change the IStable based on
1555         dollars_in_ident.
1556
1557         * cpphash.c (unsafe_chars): Add pfile argument.  All callers
1558         changed.  Handle '$' for char1 correctly.
1559         * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
1560
1561         * cppexp.c (tokentab2): Make const.
1562         (cpp_lex): Make toktab const.
1563         * cppinit.c (include_defaults_array): Make const.
1564         (initialize_standard_includes): Make default_include const.
1565
1566 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
1567
1568         * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
1569         (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
1570         (gen_decl_die): Likewise.
1571         * dwarfout.c (dwarfout_file_scope_decl): Likewise.
1572         (output_decl): Likewise.
1573
1574         * varasm.c (make_function_rtl): If we change the name used in the
1575         rtl, update DECL_ASSEMBLER_NAME accordingly.
1576         (make_decl_rtl): Likewise.
1577
1578         * toplev.c (rest_of_compilation): Tweak formatting.
1579
1580         * toplev.c (rest_of_compilation): find_loop_tree_blocks before
1581         remove_unnecessary_notes.
1582         (debug_ignore_block): New fn.
1583         * toplev.h: Declare it.
1584         * emit-rtl.c (remove_unncessary_notes): Call it.
1585         * dwarf2out.c (dwarf2out_ignore_block): New fn.
1586         * dwarf2out.h: Declare it.
1587         * final.c (final_start_function): Don't call remove_unnecessary_notes
1588         if we did insn scheduling.
1589
1590 2000-03-03  Zack Weinberg  <zack@wolery.cumb.org>
1591
1592         * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
1593         * cpplib.h: Delete SET_CPP_PEDANTIC.
1594
1595 Fri Mar  3 14:56:12 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1596
1597         * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
1598         result is a RECORD_TYPE.
1599
1600 2000-03-03  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1601
1602         * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
1603
1604 2000-03-03  Richard Henderson  <rth@cygnus.com>
1605
1606         * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
1607         addition over compliments over shifts.
1608
1609 Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1610
1611         * reload1.c (reload_combine_note_use): Handle return register USEs.
1612         REG case: Handle multi-hard-register hard regs.
1613
1614 Fri Mar  3 07:38:34 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1615
1616         * md.texi: Document use of '*' in insn pattern name.
1617
1618 2000-03-03  Jason Merrill  <jason@casey.cygnus.com>
1619
1620         * calls.c (special_function_p): operator new may not be malloc-like.
1621
1622         * gcse.c (dump_hash_table): Really fix error in last change.
1623
1624 2000-03-02  Denis Chertykov  <denisc@overta.ru>
1625
1626         * avr.c (print_operand): Use print_operand_address instead of
1627         output_addr_const.
1628         * avr/libgcc.S: Cleanup code.
1629
1630 2000-03-02  Richard Henderson  <rth@cygnus.com>
1631
1632         * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
1633
1634 2000-03-02  Mark Mitchell  <mark@codesourcery.com>
1635
1636         * tree.h (TYPE_ALIGN_UNIT): New macro.
1637
1638 2000-03-02  Clinton Popetz  <cpopetz@cygnus.com>
1639
1640         * i386.c: (constant_call_address_operand): Reject CONST_INT.
1641
1642 2000-03-02  Jason Merrill  <jason@casey.cygnus.com>
1643
1644         * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
1645         for the buffer.
1646         (SET_CPP_PEDANTIC): New macro.
1647         * cpplib.c (do_include): Don't bother checking system_header_p.
1648         (do_warning, do_ident, do_assert, do_unassert): Likewise.
1649         * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
1650
1651         * function.h (struct expr_status): Add x_arg_space_so_far.
1652         (arg_space_so_far): New macro.
1653         * expr.c (init_expr): Initialize it.
1654         * calls.c (emit_call_1): Reset it.
1655         (compute_argument_block_size, expand_call): Use it.
1656         (expand_call, store_one_arg): Increment it.
1657
1658 Thu Mar  2 17:27:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1659
1660         * varasm.c (output_constant): Strip off a CONVERT_EXPR to
1661         a UNION_TYPE.
1662
1663 2000-03-02  Zack Weinberg  <zack@wolery.cumb.org>
1664
1665         * cppfiles.c (cpp_read_file): New function.
1666
1667         * cpphash.c (collect_expansion): Make sure to reset last_token
1668         to NORM when we hit a string.  Handle trailing whitespace
1669         properly when the expansion is empty.
1670         (create_definition): Disable line commands while parsing the
1671         directive line.
1672         (dump_definition): If pfile->lineno == 0, output a line
1673         command ahead of the dump, and add a trailing newline.
1674
1675         * cppinit.c (append_include_chain): Add fifth argument, which
1676         indicates whether or not system headers are C++ aware.
1677         (initialize_standard_includes): New function,
1678         broken out of read_and_prescan.  Pass 'cxx_aware' value from
1679         the include_defaults_array on to append_include_chain.
1680         (dump_special_to_buffer): Const-ify char array.
1681         (builtin_array): Don't dump __BASE_FILE__.
1682         (cpp_start_read): Use cpp_read_file.  Reorder code for
1683         clarity.  Don't output line commands here for -D/-A/-U
1684         switches.  Don't call deps_output for files included with
1685         -include or -imacros.
1686
1687         * cpplib.c (do_define): Don't pay any attention to the second
1688         argument.
1689         (cpp_expand_to_buffer): Disable line commands while scanning.
1690         (output_line_command): Work in the file buffer.
1691         * cpplib.h: Remove no_record_file flag from struct cpp_reader.
1692         Fix formatting of comments.  Prototype cpp_read_file.
1693
1694 Thu Mar  2 13:29:46 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1695
1696         * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
1697         reference the language-equivalent of sizetype.
1698         * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
1699         * fold-const.c (size_binop, size_diffop): Put back checks.
1700         * gcse.c (dump_hash_table): Fix minor error in last change.
1701         * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
1702         Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
1703         all sizetypes.
1704
1705 Thu Mar  2 12:48:45 MET 2000  Jan Hubicka  <jh@suse.cz>
1706
1707         * calls.c (expand_call)  Do not attempt to combine stack adjustments
1708         with inhibit_defer_pop set.
1709
1710 2000-03-01  Mark Mitchell  <mark@codesourcery.com>
1711
1712         * stor-layout.c (layout_decl): Allow front-ends to explicitly set
1713         the DECL_SIZE for a FIELD_DECL.
1714
1715 2000-03-01  Bruce Korb  <bkorb@gnu.org>
1716
1717         * fixinc/inclhack.tpl: remove unused symlinks
1718         * fixinc/README: GCC Maintainer info
1719         * fixinc/inclhack.sh: regen
1720         * fixinc/fixincl.sh: regen
1721
1722 2000-03-01  Zack Weinberg  <zack@wolery.cumb.org>
1723
1724         * cpphash.c (collect_expansion): Trim trailing white space
1725         from macro definitions, but don't go past the last insertion
1726         point.
1727
1728 Wed Mar  1 12:14:31 MET 2000  Jan Hubicka  <jh@suse.cz>
1729
1730         * i386.md (mulqi3): New pattern.
1731
1732 2000-02-29  Zack Weinberg  <zack@wolery.cumb.org>
1733
1734         * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
1735         token types.
1736         (struct cpp_reader): Add parsing_if_directive and
1737         parsing_define_directive flags.               
1738         (struct cpp_options): Remove output_conditionals flag.
1739         (check_macro_name): Delete prototype.
1740
1741         * cpphash.h (struct macrodef): Delete.
1742         (struct reflist): Separate from struct definition.
1743         (struct definition): Remove unused fields.  Add column number.
1744         (create_definition): Returns a DEFINITION *.  Takes a
1745         cpp_reader * and an int.
1746
1747         * cpphash.c (SKIP_WHITE_SPACE): Delete.
1748         (PEEKC): Copy defn from cpplib.c.
1749         (rest_extension, REST_EXTENSION_LENGTH): Delete.
1750         (struct arg): New.
1751         (struct arglist): Simplify.
1752         (collect_expansion): Rewrite.  Get tokens by calling
1753         cpp_get_token.  Add more error checking.
1754         (collect_formal_parameters): New function, broken out of
1755         create_definition and reworked to use get_directive_token.
1756         (create_definition): All real work is now in collect_expansion
1757         and collect_formal_parameters.  do_define handles finding the
1758         macro name.  Return a DEFINITION, not a MACRODEF.
1759         (macroexpand): Replace bcopy with memcpy throughout.  Replace
1760         character-at-a-time copy loop with memcpy and pointer increments.
1761         (compare-defs): d1->argnames / d2->argnames might be null.
1762
1763         * cpplib.c (copy_rest_of_line): Delete function.
1764         (skip_rest_of_line): Do all the work ourselves.
1765         (skip_string): New function.
1766         (parse_string): Use skip_string.
1767         (get_macro_name): New function.
1768         (check_macro_name): Delete.
1769         (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
1770         (cpp_skip_hspace): Use CPP_BUMP_LINE.
1771         (handle_directive): ICE if we're called on a macro buffer.
1772         (do_define): Determine macro name and type (funlike/objlike)
1773         here.  Expunge all uses of MACRODEF.
1774         (cpp_push_buffer): Set line_base to NULL.
1775         (do_undef, read_line_number): Don't worry about getting a POP token.
1776         (eval_if_expression): Set/reset parsing_if_directive around
1777         cpp_parse_expr. Don't clear only_seen_white.
1778         (skip_if_group): Remove output_conditionals logic.  Use
1779         skip_rest_of_line.
1780         (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
1781         tokens under appropriate conditions.
1782         (cpp_unassert): Call do_unassert not do_assert.  Oops.
1783
1784         * cppexp.c (parse_defined): New function, break out of
1785         cpp_lex.
1786         (cpp_lex): We now get CPP_ASSERTION tokens and can check them
1787         ourselves, with cpp_defined.
1788         * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
1789
1790         * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
1791         * gcc.dg/strpaste-2.c: New.
1792
1793 2000-02-29  Mark Mitchell  <mark@codesourcery.com>
1794
1795         * fold-const.c (size_binop): Don't asert inputs are the same and
1796         have TYPE_IS_SIZETYPE set.
1797         (size_diffop): Likewise.
1798
1799 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
1800
1801         * dwarfout.c (output_block): Output abstract blocks even if they
1802         don't have TREE_ASM_WRITTEN set.
1803
1804         * calls.c (emit_library_call): Check for null REG.
1805
1806 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
1807
1808         * c-decl.c (current_function_decl): Move to toplev.c.
1809         (init_decl_processing): Don't add current_function_decl as a ggc
1810         root here.
1811         * dbxout.c (dbxout_symbol): Change return type to int.
1812         (dbxout_symbol_location, dbxout_syms): Likewise.
1813         (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
1814         any locals. Use current_function_func_begin_label if set.
1815         * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
1816         * dwarf2out.c (dwarf2out_begin_prologue): Set
1817         current_function_func_begin_label.
1818         * final.c (final_start_function): Reset it.
1819         * toplev.c (current_function_decl): Define it here.
1820         (current_function_func_begin_label): New variable.
1821         (main): Add both as ggc roots.
1822         * tree.h (current_function_func_begin_label): Declare.
1823
1824 Tue Feb 29 14:07:04 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1825
1826         * gcse.c: Cleanups throughout: mostly white-space, but also
1827         some minor rearrangement of code.
1828
1829 Tue Feb 29 10:45:59 2000  Jeffrey A Law  (law@cygnus.com)
1830
1831         * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
1832         returns a PARALLEL.  Use emit_group_load and use_group_regs
1833         as needed.  
1834         (emit_library_call_value): Similarly.
1835
1836         * pa/t-pa: Use quadlib.c instead of quadlib.asm.
1837         * pa/quadlib.asm: Remove.
1838         * pa/quadlib.c: New file.
1839
1840         * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
1841         * configure: Rebuilt.
1842
1843 2000-02-29  Philip Blundell  <pb@futuretv.com>
1844
1845         * config/arm/conix-elf.h: New file.
1846         * configure.in (arm*-*-conix*): New configuration.
1847         * configure: Regenerate.
1848
1849 2000-02-28  Jason Merrill  <jason@casey.cygnus.com>
1850
1851         * dwarf2out.c (gen_block_die): Output abstract blocks even if they
1852         don't have TREE_ASM_WRITTEN set.
1853
1854 Mon Feb 28 21:07:59 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1855
1856         * Eliminate DECL_FIELD_SIZE.
1857         * builtins.c (built_in_class_names, built_in_names): New variables.
1858         * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
1859         * expr.c (expand_expr, case COMPONENT_REF): Get field size from
1860         DECL_SIZE, not DECL_FIELD_SIZE.
1861         * print-tree.c (print_node): Remove code that prints extra blank
1862         lines in some cases.
1863         Properly handle inline and builtin function cases.
1864         * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
1865         * tree.h (built_in_class_named, built_in_names): New declarations.
1866         (union tree_decl): Rename internal unions to u1 and u2 and change
1867         some of their components.
1868         Add new field built_in_class.
1869         (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
1870         Reflect above changes.
1871         (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
1872         (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
1873         * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
1874         (encode_field_decl): Likewise; also remove obsolete test for bitfield.
1875
1876 2000-02-28  Dmitri Makarov  <dim@windriver.com>
1877
1878         * extend.texi: Document ARM's support for long/short calls.
1879
1880         * invoke.texi: Document ARM's -mlong-calls command line switch.
1881         
1882         * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
1883         (arm_encode_call_attribute): Add prototype.
1884         (arm_set_default_type_attribute): Add prototype.
1885         (arm_strip_name_encoding): Add prototype.
1886
1887         * config/arm/arm.c (arm_init_cumulative_args): replace
1888         initialisation og 'long_calls' field with initialisation of
1889         'call_cookie' field.
1890         (enum arm_pragma_enum): New enum.
1891         (arm_pragma_long_calls): New static variable.
1892         (arm_process_pragma): Also process "#pragma long_calls_off".
1893         (arm_valid_type_attribute_p): Accept short_call attribute.
1894         (arm_comp_type_attributes): Check long/short call attributes.
1895         (arm_encode_call_attribute):  New function:  Encode long_call
1896         or short_call attribute in function name.
1897         (arm_set_default_type_attributes): New function: Assign
1898         default attributes to newly defined type.
1899         (current_file_function_operand): New function: Return true if
1900         the symbol is a function which has already been compiled.
1901         (arm_is_longcall_p): New function: Return true if the
1902         indicated function should be called via a long call.
1903         (arm_get_strip_length): New function.  Returns number of
1904         prefix characters to be stripped from a function's name.
1905         (arm_strip_name_encoding): New function.  Strip prefix characters
1906         from a function's name.
1907
1908         * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
1909         with 'call_cookie'.
1910         (SHORT_CALL_FAG_CHAR): Define.
1911         (LONG_CALL_FAG_CHAR): Define.
1912         (ENCODED_SHORT_CALL_ATTR_P): Define.
1913         (ENCODED_LONG_CALL_ATTR_P): Define.
1914         (ARM_NAME_ENCODING_LENGTHS): Define.
1915         (STRIP_NAME_ENCODING): Define.
1916         (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
1917         (ARM_ENCODE_CALL_TYPE): Define.
1918         (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
1919         (ARM_DECLARE_FUNCTION_SIZE): Define.
1920         (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
1921
1922         * config/arm/arm.md (call): Call arm_is_longcall_p to decide
1923         if a long call is needed.
1924         (call_value): Ditto.
1925         (call_symbol): Ditto.
1926
1927         * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
1928         ARM_DECLARE_FUNCTION_SIZE.
1929
1930         * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
1931         (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
1932         (ARM_STRIP_NAME_ENCODING): Undefine.
1933         (STRIP_NAME_ENCODING): Undefine.
1934         (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
1935         (ASM_DECLARE_FUNCTION_NAME): Ditto.
1936         (ASM_OUTPUT_COMMON): Ditto.
1937         (ASM_DECLARE_OBJECT_NAME): Ditto.
1938
1939         * config/arm/pe.c (arm_dllexport_name_p): Check for
1940         ARM_PE_FLAG_CHAR.
1941         (arm_dllimport_name_p): Ditto.
1942         (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
1943         (arm_mark_dllimport): Ditto.
1944         
1945 Mon Feb 28 22:11:12 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1946
1947         * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
1948
1949 2000-02-28  Mark Mitchell  <mark@codesourcery.com>
1950
1951         * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
1952
1953 2000-02-28  Zack Weinberg  <zack@wolery.cumb.org>
1954
1955         * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
1956         * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
1957         NO_BUILTIN_WCHAR_TYPE is not defined.
1958         (CPP_WCHAR_TYPE): Delete.
1959         * cccp.c (main): Don't change wchar_type if cplusplus.
1960         (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
1961
1962 2000-02-28  Nick Clifton  <nickc@cygnus.com>
1963
1964         * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
1965
1966 Mon Feb 28 14:21:15 2000  Catherine Moore  <clm@cygnus.com>
1967
1968         * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
1969         (ASM_WEAKEN_LABEL): Define.
1970  
1971 Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
1972
1973         * expr.c (store_constructor): Do not emit USE.
1974         * rtl.h (stupid_life_analysis): Remove.
1975
1976 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1977
1978         * function.c (number_blocks): Reset next_block_index based on
1979         what debugging format is used, not what is defined.
1980         
1981         * lcm.c: Minor reformatting throughout.
1982         (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
1983         
1984         * toplev.c (rest_of_compilation): Account for time in
1985         optimize_mode_switching.
1986
1987         * jump.c (jump_optimize_1): Don't call delete_barrier_successors
1988         if only marking labels.
1989
1990 Mon Feb 28 12:53:57 MET 2000  Jan Hubicka  <jh@suse.cz>
1991
1992         * calls.c (expand_call): Attempt to combine stack adjustments with
1993         pending stack adjustments.
1994
1995 Mon Feb 28 11:34:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1996
1997         * loop.c (reg_in_basic_block_p): Don't abort when falling through
1998         to the end of the function.
1999
2000 2000-02-27  Mark Mitchell  <mark@codesourcery.com>
2001
2002         * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
2003         blocks.
2004         * final.c (next_block_index): Remove.
2005         (max_block_depth): Likewise.
2006         (pending_blocks): Likewise.
2007         (init_final): Don't initialize them.
2008         (final_start_function): Don't set next_block_index.  Set up
2009         BLOCK_NUMBER.
2010         (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
2011         * function.h (number_blocks): New function.
2012         * function.c (get_block_vector): New function.
2013         (identify_blocks): Use it.
2014         (reorder_blocks): Set NOTE_BLOCK.
2015         (number_blocks): New function.
2016         * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
2017         * tree.h (BLOCK_NUMBER): New macro.
2018         (tree_block): Add block_num field.
2019         * dbxout.c (next_block_number): Remove.
2020         (dbxout_init): Don't set it.
2021         (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
2022         set.  Use BLOCK_NUMBER, rather than next_block_num, to determine
2023         block numbers.
2024         * toplev.c (rest_of_compilation): Always call
2025         find_loop_tree_blocks.  Fix indentation.
2026         * dwarf2out.c (next_block_number): Remove.
2027         (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
2028         to determine block numbers.
2029         (gen_inlined_subroutine_die): Likewise.
2030         (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
2031         (decls_for_scope): Don't increment next_block_number.
2032         * dwarfout.c (next_block_number): Remove.
2033         (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
2034         to determine block numbers. 
2035         (output_inlined_subroutine_die): Likewise.
2036         (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
2037         (output_decls_for_scope): Don't increment next_block_number.
2038         * sdbout.c (next_block_number): Remove.
2039         (sdbout_block): Use BLOCK_NUMBER.
2040         (sdbout_begin_block): Simplify.
2041         * xcoffout.c (next_block_number): Remove.
2042         (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
2043         (xcoffout_begin_block): Don't set next_block_number.
2044         (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
2045         next_block_number.
2046         
2047 Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2048
2049         * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
2050         (expand_builtin_strcpy): Pass correct type to size_binop.
2051         (expand_builtin_strcmp): Likewise.
2052         Clean up conditional structure.
2053         * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
2054         (complete_array_type): Don't use size_binop for MAXINDEX.
2055         * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
2056         (c_sizeof_nowarn, c_size_in_bytes): Likewise.
2057         (c_alignof): Use size_one_node.
2058         (build_unary_op): Pass arg of proper type to size_binop.
2059         (really_start_incremental_init, push_init_level): Use sizetype for
2060         constructor{,_bit,_unfilled}_index.
2061         (pop_init_label, output_init_element): Likewise.
2062         (output_pending_init_elements, process_init_element): Likewise.
2063         * calls.c (compute_argument_block_size): Field VAR is ssizetype.
2064         * expr.c (store_expr): Use size_int.
2065         (store_constructor): Use proper types for size_binop args.
2066         (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
2067         (expand_expr_unaligned): Likewise.
2068         (string_contant): Return object of sizetype.
2069         * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
2070         (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
2071         (ARGS_SIZE_TREE): Pass proper types to size_binop.
2072         * fold-const.c (int_const_binop): Refine when size_int is called.
2073         (fold_convert): Likewise.
2074         (size_int_wide): Rework to take KIND as arg, only take low order
2075         bits, handle new sizetype_tab datatype, and chain entries in
2076         size_table.
2077         (size_int_type_wide): New function.
2078         (size_binop): Validate types of arguments.
2079         (ssize_binop): Deleted.
2080         (size_diffop): New function.
2081         (extract_muldiv): Only fold division into multiplication for sizetypes.
2082         * function.c (assign_parms): Use size_diffop and make sure
2083         VAR field is of ssizetype; also pass proper type to size_binop.
2084         (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
2085         (round_down): Deleted from here.
2086         * store-layout.c (sizetype_tab): Now an array.
2087         (sizetype_set, early_root_list): New variables.
2088         (variable_size): Use size_one_node.
2089         (round_up): Pass proper type to size_binop.
2090         (round_down): Moved to here and corrected as above.
2091         (layout_record): Pass proper arg types to size_binop.
2092         (layout_type): Likewise.
2093         If sizetype_set is zero, record the type just laid out.
2094         (make_unsigned_type): Don't call set_sizetype;
2095         (make_signed_type): Likewise; also, call fixup_signed_type.
2096         (initialize_sizetypes): New function.
2097         (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
2098         set name of bitsizetype to "bit_size_type".
2099         Fix up type of sizes of all types made before call.
2100         * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
2101         * tree.c (fix_sizetype): Deleted.
2102         (build_common_tree_nodes): Call initialize_sizetypes.
2103         (build_common_tree_nodes_2): Don't call fix_sizetype.
2104         * tree.h (TYPE_IS_SIZETYPE): New macro.
2105         (initialize_sizetype): New declaration.
2106         (enum size_type_kind): New type.
2107         (struct sizetype_tab): Deleted.
2108         (sizetype_tab): Now array; adjust sizetype macros.
2109         (size_diffop, size_int_type_wide): New functions.
2110         (size_int_wide): Change number of args and type; access macros changed.
2111         (ssize_int, sbitsize_int): New macros.
2112         * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
2113         (ROUND_TYPE_SIZE_UNIT): New macro.
2114
2115 2000-02-27  Zack Weinberg  <zack@wolery.cumb.org>
2116
2117         * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
2118
2119 Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2120
2121         * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
2122         Mark as possibly unused.
2123
2124         * cse.c (cse_insn): Delete dead code involving tablejump.
2125         Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
2126
2127         * Makefile.in (libcpp.a): Start by deleting it.
2128
2129 2000-02-27  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2130
2131         * cpplib.h (enum file_change_code): Added rename_file.
2132         * cpplib.c (do_line): If a filename is given, set file_change to
2133         rename_file.
2134         (output_line_command): If file_change is rename_file, always
2135         output a # directive with the file name.
2136
2137         * cpplib.c (do_pragma): Accept #pragma without consecutive token.
2138
2139 2000-02-26  Mark Mitchell  <mark@codesourcery.com>
2140
2141         * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
2142         when copying a PARM_DECL or RESULT_DECL.
2143
2144 2000-02-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2145
2146         * fix-header.c (recognized_function): Also fix prototypes for
2147         functions taking "void".
2148
2149 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
2150
2151         * reload1.c (do_output_reload): Check reg_reloaded_valid before
2152         looking at reg_reloaded_contents.
2153
2154 2000-02-26  Zack Weinberg  <zack@wolery.cumb.org>
2155
2156         * Makefile.in (STMP_FIXINC): New toggle.
2157         (LIBGCC2_DEPS): Delete all references.
2158         (stmp-headers): Delete target.  All references either deleted
2159         or changed to stmp-int-headers.
2160         (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
2161         (LIBCPP_OBJS): Take out cppalloc.o.
2162         (cppalloc.o): Delete target.
2163         (stmp-int-hdrs): Depend on $(STMP_FIXINC).
2164         (gen-protos, fix-header): Link with libiberty.a.
2165         * build-make: Don't change FIXINCLUDES.  Override STMP_FIXINC
2166         to empty.
2167
2168         * configure.in: Remove refs to strerror.
2169         * acconfig.h: Take out NEED_DECLARATION_STRERROR.
2170         * system.h: Take out strerror stanza.
2171
2172         * cpperror.c (my_strerror): Delete function.
2173         (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
2174         * cppmain.c (main): Call xmalloc_set_program_name first thing.
2175         * cppalloc.c: Delete file.
2176         * gen-protos.c: Don't provide xrealloc.
2177
2178         * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
2179         xstrerror throughout.
2180
2181 2000-02-26  Bruce Korb  <bkorb@gnu.org>
2182
2183         * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
2184         match for DOS headers, too.
2185         * fixinc/inclhack.sh,fixincl.x: Regenerate.
2186
2187 2000-02-26  Geoff Keating  <geoffk@cygnus.com>
2188
2189         * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
2190         is right for most ELF targets.
2191         * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
2192         Let the default file use %U properly.
2193         * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
2194         default.
2195
2196         * config/fp-bit.c (pack_d): Properly handle rounding of denormal
2197         numbers.
2198
2199 Sat Feb 26 09:39:16 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2200
2201         * toplev.c (documented_lang_options): Correct spelling error.
2202         (decode_d_option, decode_f_option, main): Likewise.
2203
2204         * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
2205
2206         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
2207         to tell assembler it is permitted to expand large constants.
2208
2209 2000-02-25  Mumit Khan  <khan@xraylith.wisc.edu>
2210
2211         * protoize.c: (AUX_INFO_SUFFIX): New macro.
2212         (aux_info_suffix): Use.
2213         (SAVE_SUFFIX): New macro.
2214         (save_suffix): Use.
2215         (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
2216         (gen_aux_info_file): Use aux_info_suffix instead of ".X".
2217         (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
2218
2219         * invoke.texi (Running Protoize): Update documentation.
2220
2221 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
2222
2223         * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
2224
2225 2000-02-25  John Wehle  (john@feith.com)
2226
2227         * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
2228
2229 2000-02-25  Anthony Green  <green@cygnus.com>
2230
2231         * toplev.c (rest_of_compilation): Rebuild jump labels if
2232         combine_instructions has created a new direct jump.
2233         * combine.c (try_combine): Add new_direct_jump_p argument.  Set it
2234         when appropriate.
2235         (combine_instructions): Call try_combine with new argument.
2236         Return non-null value when new direct jump instruction is created.
2237         * rtl.h: combine_instructions returns an int.
2238
2239 Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
2240
2241         * cse.c (cse_insn): Replace the PATTERN of the insn with an new
2242         jump when changing a computed jump into a jump to a known
2243         target.
2244
2245 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
2246
2247         * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
2248         to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
2249
2250         * i386.md (define_expand "clrstrsi"): Fix typo.
2251
2252 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
2253
2254         * rtl.texi: Fix typo.
2255
2256 Fri Feb 25 20:02:35 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2257
2258         * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
2259         UNITS_PER_WORD.  Change caller initial_elimination_offset.
2260         (rounded_frame_size): Take into account that argument pushed has
2261         changed.  Fix TARGET_ALIGN_DOUBLE problem.
2262
2263 2000-02-25  Geoff Keating  <geoffk@cygnus.com>
2264
2265         * haifa-sched.c (schedule_block): Explain the real reason
2266         we delete REG_SAVE_NOTEs on the first insn of a block.
2267         Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
2268
2269 2000-02-24  Mark Mitchell  <mark@codesourcery.com>
2270
2271         * input.h (push_srcloc): New function.
2272         (pop_srcloc): Likewise.
2273         * toplev.c (push_srcloc): Define it.
2274         (pop_srcloc): Likewise.
2275
2276 2000-02-24  Richard Henderson  <rth@cygnus.com>
2277
2278         * flow.c (life_analysis): When collecting reg info, clear
2279         regs_ever_live.
2280
2281 Thu Feb 24 22:06:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2282
2283         Fix bug exposed by reload.c no longer rounding the frame
2284         size to BIGGEST_ALIGNMENT:
2285         * sh.c (rounded_frame_size): New function.
2286         (sh_expand_prologue, sh_expand_epilogue): Use it.
2287         (initial_elimination_offset): Likewise.
2288
2289 Thu Feb 24 20:04:11 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2290
2291         Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
2292         * sh-protos.h (sh_need_epilogue): Declare.
2293         * sh.c (sh_need_epilogue_known): New static variable.
2294         (sh_need_epilogue): New function.
2295         (function_epilogue): Clear need_epilogue_known.
2296         * sh.md (return): Split into expander / insn pattern.
2297         Make the expander conditional on ! sh_need_epilogue ().
2298
2299 2000-02-24  Nathan Sidwell  <nathan@codesourcery.com>
2300
2301         * machmode.h (get_mode_alignment): Declare.
2302         (GET_MODE_ALIGNMENT): Call it.
2303         * stor-layout.c (get_mode_alignment): New function. Make
2304         sure alignment is always power of 2.
2305
2306 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
2307
2308         * i386.h: Remove useless definition of "I386" and misleading
2309         comment above it.
2310
2311 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
2312
2313         * tree.h (TREE_SET_PERMANENT): New macro.  Document conditions
2314         under which TREE_PERMANENT will be set.
2315         * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
2316         build1): Use TREE_SET_PERMANENT.
2317         * print-tree.c (print_node): Don't report value of
2318         TREE_PERMANENT if ggc_p is true.
2319
2320         * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
2321         decide whether to give a type a new alias set.
2322         * objc/objc-act.c (build_objc_string_object): Never copy the string.
2323         * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
2324         of value of 'obstack'.
2325
2326
2327 2000-02-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2328
2329         * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
2330
2331 2000-02-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2332
2333         * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
2334         * cpplib.c (cpp_get_token): Produce them.
2335         * cppexp.c (cpp_lex): Handle them.
2336
2337 2000-02-23  Nick Clifton  <nickc@cygnus.com>
2338
2339         * config/arm/arm.c (arm_comp_type_attributes): Simply and
2340         comment tests on type attributes.
2341
2342 Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2343
2344         * final.c (shorten_branches): Make value passed to LOOP_ALIGN
2345         conform to documentation.
2346         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
2347         to check for special cases.
2348         * sh-protos.h (sh_loop_align): Declare.
2349         * sh.c (sh_loop_align): Define.
2350
2351 2000-02-22  Andrew Haley  <aph@cygnus.com>
2352
2353         * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
2354         (SIZE_TYPE): Is 32 bits when using -mgp32.
2355         (PTRDIFF_TYPE): Ditto.
2356
2357 Wed Feb 23 07:26:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2358
2359         * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
2360
2361 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
2362
2363         * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
2364         BIGGEST_FIELD_ALIGNMENT a constant.
2365
2366 2000-02-21  Jason Merrill  <jason@casey.cygnus.com>
2367
2368         * dwarf2out.c (output_line_info): Put the marker for the end of
2369         the line number info at the actual end.
2370         (gen_struct_or_union_type_die): Use decl_function_context 
2371         to check for local classes.
2372         * dwarfout.c (output_type): Likewise.
2373
2374 Tue Feb 22 01:38:57 2000  Jeffrey A Law  (law@cygnus.com)
2375
2376         * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
2377         for arguments with a mode, but no type.
2378         (FUNCTION_ARG_CALLEE_COPIES): Similarly.
2379         * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
2380         * pa/long_double.h: New file.
2381         * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
2382         both have 128bit wide long doubles.
2383         * configure: Rebuilt.
2384
2385 2000-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2386
2387         * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
2388
2389         * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
2390         fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
2391         (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
2392
2393         * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
2394
2395         * integrate.c (compare_blocks, find_block): Likewise.
2396
2397         * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
2398
2399         * rtl.h (set_file_and_line_for_stmt): Constify a char*.
2400
2401         * stmt.c (stmt_status, set_file_and_line_for_stmt,
2402         expand_asm_operands): Likewise.
2403
2404 Mon Feb 21 17:06:27 2000  Jason Eckhardt  <jle@cygnus.com>
2405
2406         * predict.c (estimate_probability): Added the pointer heuristic to
2407         the collection of static branch predictors.
2408
2409 2000-02-21  Catherine Moore  <clm@cygnus.com>
2410
2411         * config/mips/mips.h (ASM_SPEC): Add -mfix700.
2412         * invoke.texi (-mfix7000): Document.
2413
2414 2000-02-21  Gabriel Dos Reis  <gdr@codesourcery.com>
2415
2416         * diagnostic.c (init_output_buffer): Make it possible to output at
2417         least 32 characters if we're given a too long prefix.
2418
2419 2000-02-20  Mark Mitchell  <mark@codesourcery.com>
2420
2421         * varasm.c (initializer_constant_valid_p): Call
2422         lang_expand_constant to simplify the constant.
2423
2424 2000-02-20  Bruce Korb  <bkorb@gnu.org>
2425
2426         * fixinc/inclhack.def(stdio_va_list):
2427         typedef needs to be disabled.
2428         * fixinc/inclhack.sh: regen
2429         * fixinc/fixincl.x: regen
2430
2431 2000-02-20  Geoff Keating  <geoffk@cygnus.com>
2432
2433         * print-rtl.c (print_rtx): Don't print addresses when
2434         flag_dump_unnumbered.
2435
2436 2000-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2437
2438         * sparc.c (sparc_output_scratch_registers): Mark parameter with
2439         ATTRIBUTE_UNUSED.
2440         (sparc_va_arg, sparc_flat_output_function_prologue,
2441         sparc_flat_output_function_epilogue): Cast value to unsigned in
2442         comparison.
2443         (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
2444         
2445         * sparc.md: Add default case in switch.
2446
2447 2000-02-19  Richard Henderson  <rth@cygnus.com>
2448
2449         * c-typeck.c (add_pending_init): Don't abort for multiple
2450         fields at the same offset.
2451         (pending_init_member): Test the correct member.
2452
2453 2000-02-19  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2454
2455         * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
2456         instead of SImode.
2457         (start_catch_handler) : Same.
2458
2459 2000-02-19  Brad Lucier  (lucier@math.purdue.edu)
2460
2461         * Makefile.in: Have flow.o depend on $(EXPR_H)
2462
2463 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2464
2465         * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
2466         * c-decl.c (duplicate_decls, finish_enum): Likewise.
2467         (finish_decl): Remove -Wlarger-than code from here.
2468         * flags.h (id_clash_len): Now int.
2469         (larger_than_size): Now HOST_WIDE_INT.
2470         * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
2471         Clean up checking to see if in table.
2472         (make_bit_field_ref): Remove extra parm to bitsize_int.
2473         * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
2474         * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
2475         * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
2476         and for computing size of decl.
2477         * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
2478         Move -Wlarger-than code to here.
2479         (layout_record): Remove extra arg to bitsize_int.
2480         Set TYPE_BINFO_SIZE_UNIT.
2481         (layout_union): Remove extra arg to bitsize_int.
2482         Use proper type for size of QUAL_UNION.
2483         (layout_type): Remove extra arg to bitsize_int.
2484         * toplev.c (id_clash_len): Now int.
2485         (larger_than_size): Now HOST_WIDE_INT.
2486         (decode_W_option): Clean up id-clash and larger-than- cases.
2487         * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
2488         (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
2489         * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
2490         (struct tree_decl): New field size_unit.
2491         (size_int_wide): No HIGH operand; NUMBER is now signed.
2492         (size_int_2): Deleted.
2493         (size_int, bitsize_int): Don't use it and rework args.
2494         * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
2495
2496 Fri Feb 18 20:01:58 2000  Jeffrey A Law  (law@cygnus.com)
2497
2498         * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
2499
2500 2000-02-18  Geoff Keating  <geoffk@cygnus.com>
2501
2502         * invoke.texi (Warning Options): Add an explanation of why
2503         you might want the -Wfloat-equal flag.
2504
2505 Fri Feb 18 20:08:57 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2506
2507         * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
2508         * cppinit.c (new_pending_define): Add cast to avoid warning.
2509         * expmed.c (extract_bit_field): Likewise.
2510         * flow.c (enum reorder_skip_type): New type.
2511         (skip_insns_between_blcok): New it.
2512         Rework to avoid warning about possibly undefined variable.
2513         * function.c (assign_parms): Make thisparm_boundary unsigned.
2514         * genrecog.c (write_switch): Cast XWINT result to int.
2515         * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
2516         * mips-tfile.c (init_file): Make two versions of FDR intializer:
2517         one for MIPS and one for Alpha.
2518         (get_tag, copy_object): Add casts to avoid warnings.
2519         * optabs.c (init_one_libfunc): Cast NAME to (char *).
2520         * reload.c (find_reloads): Make TYPE enum reload_type.
2521         * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
2522         * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
2523         * varasm.c (compare_constant_1): Add cast to avoid warning.
2524         * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
2525         to (char *).
2526         (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
2527         Cast switch operand of size to int.
2528         (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
2529         * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
2530         in unhandled case.
2531
2532 2000-02-18  Nick Clifton  <nickc@cygnus.com>
2533
2534         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
2535         anything for an alignment of zero.
2536
2537         * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
2538         anything for an alignment of zero.
2539
2540 2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
2541
2542         * gcc.texi (Bug Reporting): Refer to bugs.html.
2543         (Bug Lists): Likewise.
2544         * system.h (GCCBUGURL): New preprocessor define.
2545         * rtl.c (fancy_abort): Use it.
2546         * gcc.c (main): Likewise.
2547
2548 2000-02-18  Richard Henderson  <rth@cygnus.com>
2549
2550         * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
2551         (life_analysis_1): Subsume into ...
2552         (life_analysis): ... here.  Force PROP_REG_INFO off after reload.
2553         Use update_life_info for the relaxation.
2554         (update_life_info): Update REG_BASIC_BLOCK for registers live on
2555         entry and regs_live_at_setjmp.
2556         (set_noop_p): Simplify.
2557         (notice_stack_pointer_modification_1): Renamed from s/_1//.
2558         (record_volatile_insns): Split into ...
2559         (delete_noop_moves): ... here,
2560         (notice_stack_pointer_modification): ... here,
2561         (insn_dead_p): ... and here.
2562         (propagate_block): Don't query INSN_VOLATILE.
2563         (mark_used_regs): Mind !PROP_REG_INFO.
2564         * toplev.c (rest_of_compilation): Call mark_constant_function here,
2565         not in life_analysis.
2566
2567 Fri Feb 18 01:29:22 EST 2000  John Wehle  (john@feith.com)
2568
2569         * loop.c (canonicalize_condition): New function,
2570         broken out of get_condition.
2571         (get_condition): Use it.
2572         * expr.h (canonicalize_condition): Prototype it.
2573
2574         * tree.h (tree_int_cst_msb): Declare.
2575         * tree.c (tree_int_cst_msb): New function.
2576
2577 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
2578
2579         * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
2580         isn't set.
2581
2582         * invoke.texi (-fmessage-length=n): Document.
2583
2584 2000-02-17  Jason Merrill  <jason@casey.cygnus.com>
2585
2586         * bitmap.c (bitmap_operation): Don't leak bitmap elements.
2587
2588 2000-02-17  Mark Mitchell  <mark@codesourcery.com>
2589
2590         * function.c (thread_prologue_and_epilogue_insns): Put a line note
2591         after the prologue.
2592
2593 2000-02-17  Nick Clifton  <nickc@cygnus.com>
2594
2595         * config/arm/thumb.c: Replace includes of system headers with
2596         #include "system.h".
2597
2598 2000-02-16  Richard Henderson  <rth@cygnus.com>
2599
2600         * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
2601         Add crtbeginS.o and crtendS.o.
2602         * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
2603         (ENDFILE_SPEC): Use crtendS.o.
2604         * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
2605
2606         * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
2607         (__do_global_dtors_aux): ... here.  Call __cxa_finalize if
2608         shared and present.
2609         (__dso_handle): New variable.
2610         * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
2611         bias to __CTOR_END__.
2612         
2613 2000-02-16  Richard Henderson  <rth@cygnus.com>
2614
2615         * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
2616
2617 Wed Feb 16 21:40:04 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2618
2619         * longlong.h (__clz_tab): Declare as static to match definition.
2620
2621 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
2622         * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
2623         (XREF_FILE_NAME): Define.
2624
2625         * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
2626         (EH_FRAME_SECTION_ASM_OP): Define.
2627         (IDENT_ASM_OP): Define.
2628         (TEXT_SECTION_ASM_OP): Define.
2629         (CPP_SPEC): Define.
2630         (CTORS_SECTION_ASM_OP): Define.
2631         (CTOR_SECTION_FUNCTION): Use it.
2632         (DTORS_SECTION_ASM_OP): Define.
2633         (DTOR_SECTION_FUNCTION): Use it.
2634
2635 2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
2636
2637         * reg-stack.c (emit_swap_insn): Do not put a new insn before a
2638         NOTE_BASIC_BLOCK.
2639
2640         * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
2641         debug_bb_n): New functions.
2642         (dump_flow_info, print_rtl_with_bb): Use dump_regset.
2643         * basic-block.h: Prototype new functions.
2644
2645 Wed Feb 16 21:07:53 2000  Denis Chertykov  <denisc@overta.ru>
2646
2647         * configure.in: Add support for avr target.
2648         * configure: Rebuilt.
2649
2650         * invoke.texi: Add AVR invocation docs.
2651         * install.texi: Add information about AVR.
2652         * md.texi: Add AVR constraint letters description.
2653         * extend.texi: Add description for AVR specific attributes.
2654
2655 2000-02-16  Jason Merrill  <jason@casey.cygnus.com>
2656
2657         * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
2658
2659 2000-02-16  Nick Clifton  <nickc@cygnus.com>
2660
2661         * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
2662         (make_insn_raw): Move RTL check here.
2663
2664 2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2665
2666         * version.c: Include gansidecl.h and version.h.
2667
2668         * version.h: Wrap entire file in macro __GCC_VERSION_H__.
2669         
2670         * configure.in (gcc_version): When setting, narrow search to
2671         lines containing `version_string'.
2672
2673         * Makefile.in (mainversion): Likewise. 
2674         (GCC_H): New variable.
2675         (gcc.h): Delete target.
2676         (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
2677         (version.o): Depend on version.h.
2678         (dbxout.o): Don't depend on gcc.h.
2679
2680 Wed Feb 16 15:04:49 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2681                           Michael Meissner  <meissner@cygnus.com>
2682
2683         * md.texi (Simple Constraints): Add item about whitespace.
2684         * genoutput.c (strip_whitespace): New.
2685         (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
2686         strip_whitespace for constraints.
2687         Test pointer using NULL, not 0.
2688
2689 2000-02-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2690
2691         * cpplib.c (do_line): Pedwarn for #line > 32767.
2692
2693         * c-lex.c (readescape): Warn about '\x', but do not reject it.
2694
2695 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
2696
2697         * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
2698         to default cpp spec.
2699         (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
2700         * cpp.texi: Document __GNUC_PATCHLEVEL__.
2701         * cpp.1: Likewise.
2702
2703         * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
2704         default spec.
2705
2706 2000-02-15  Denis Chertykov  <denisc@overta.ru>
2707
2708         * configure.in: Add support for avr target.
2709
2710 Wed Feb 16 03:21:43 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2711
2712         * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
2713         (sh_addr_diff_vec_mode): Don't declare.
2714         * sh.c (sh_addr_diff_vec_mode): Delete.
2715
2716 Wed Feb 16 01:27:52 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2717
2718         * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
2719
2720 Wed Feb 16 00:58:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2721
2722         * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
2723         (smulsi3_highpart_i): Name.
2724         (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
2725         (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
2726         (smulsi3_highpart, umulsi3_highpart): Likewise.
2727
2728         (mulsidi3_i, umulsidi3_i): Make rtl describe operation
2729         correctly independent of endianness.
2730         (mulsidi3, umulsidi3): Now define_insn.  Hide details that
2731         confuse the optimizers.
2732         (mulsidi3+1, umulsidi3+1): New define_split.
2733
2734 Tue Feb 15 23:22:26 2000  Andrew Haley  <aph@cygnus.com>
2735
2736         * config/sh/sh.md: Guard insn splits against illegal registers.
2737         * config/sh/sh.h: Correct comment about macros.
2738
2739 Tue Feb 15 22:30:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2740                           Andrew MacLeod  <amacleod@cygnus.com>
2741
2742         * Makefile.in (lcm.o): Depend on insn-attr.h.
2743         * basic-block.h (optimize_mode_switching): Declare.
2744         * lcm.c (tm_p.h, insn-attr.h): #include.
2745         (seginfo, bb_info): New structs.
2746         (antic, transp, comp, delete, insert) : New file-scope static variables.
2747         (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
2748         (reg_becomes_live, optimize_mode_switching): Likewise.
2749         * tm.texi: Add description of mode switching macros.
2750         * toplev.c (rest_of_compilation): Call optimize_mode_switching.
2751
2752         * sh-protos.h (remove_dead_before_cse): Remove prototype.
2753         (fldi_ok, fpscr_set_from_mem): New prototypes.
2754         * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
2755         (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
2756         Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
2757         (sh_flag_remove_dead_before_cse): Remove declaration.
2758         (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
2759         (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
2760         (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
2761         * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
2762         (barrier_align): Allow for JUMP_INSNS containing a parallel.
2763         (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
2764         (fldi_ok): New function.
2765         (get_fpscr_rtx): Add fpscr_rtx as GC root.
2766         (emit_sf_insn): Only generate fpu switches when optimize < 1.
2767         (emit_df_insn): Likewise.
2768         (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
2769         (sh_flag_remove_dead_before_cse): Delete.
2770         (get_free_reg, fpscr_set_from_mem): New functions.
2771         * sh.md (movdf, movsf): Remove no_new_pseudos code.
2772         (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
2773
2774 2000-02-15  Loren Rittle  <ljrittle@acm.org>
2775
2776         * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
2777
2778 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2779
2780         * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
2781         cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
2782
2783         * cccp.c: Include version.h and/or don't declare `version_string'.
2784         * collect2.c: Likewise.
2785         * alpha.c: Likewise.
2786         * arm/aof.h: Likewise.
2787         * arm/coff.h: Likewise.
2788         * arm/elf.h: Likewise.
2789         * arm/pe.h: Likewise.
2790         * arm/tcoff.h: Likewise.
2791         * arm/telf.h: Likewise.
2792         * arm/tpe.h: Likewise.
2793         * arm/vxarm.h: Likewise.
2794         * convex/convex.c: Likewise.
2795         * i386/dgux.c: Likewise.
2796         * i386/sun386.h: Likewise.
2797         * m88k/m88k.c: Likewise.
2798         * mcore/mcore-pe.h: Likewise.
2799         * mips/mips.h: Likewise.
2800         * romp/romp.h: Likewise.
2801         * sh/sh.c: Likewise.
2802         * cpphash.c: Likewise.
2803         * cppinit.c: Likewise.
2804         * dwarf2out.c: Likewise.
2805         * dwarfout.c: Likewise.
2806         * gcc.c: Likewise.
2807         * gcc.h: Likewise.
2808         * mips-tfile.c: Likewise.
2809         * protoize.c: Likewise.
2810         * toplev.c: Likewise.
2811         * tree.h: Likewise.
2812         
2813         * version.c (version_string): Constify a char*.
2814
2815         * version.h: New file.
2816
2817 2000-02-14  Nick Clifton  <nickc@cygnus.com>
2818
2819         * configure.in: Add mcore-elf and mcore-pe targets.
2820         * configure: Regenerate.
2821
2822         * NEWS: Add note that MCore port has been contributed.
2823
2824         * invoke.texi: Document command line switches for MCore port.
2825         * install.texi: Add MCore to list of supported targets.
2826
2827 2000-02-14  Geoff Keating  <geoffk@cygnus.com>
2828
2829         * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
2830         then we will need to import the frame handling functions.
2831         (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
2832         to import the frames themselves.
2833
2834 Mon Feb 14 13:31:01 2000  Stan Cox  <scox@cygnus.com>
2835                           Jason Eckhardt  <jle@cygnus.com>
2836
2837         * basic_block.h: Added prototype for reorder_basic_blocks.
2838         * toplev.c: Changes to add -freorder-blocks and graph dump after
2839         block reordering is done.
2840         * flow.c (reorder_block_def): New structure for use during block
2841         reordering.
2842         (REORDER_BLOCK_*): New macros to access members of above structure.
2843         (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
2844         make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
2845         functions for block reordering.
2846
2847 Mon Feb 14 11:24:44 2000  Hans-Peter Nilsson  <hp@bitrange.com>
2848
2849         * gcc.texi (Passes): Fix typo.
2850         * md.texi (Standard Names): Ditto.
2851         * tm.texi (Storage Layout): Ditto.
2852
2853 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
2854
2855         * cpplib.c (do_define): Only free the old definition if it
2856         actually had one.
2857
2858 2000-02-13   Neil Booth  <NeilB@earthling.net>
2859
2860         * cppfiles.c (read_and_prescan): When emitting deferred
2861         newlines, test speccase[] again instead of checking each
2862         possible whitespace character in turn.  When we encounter \r,
2863         look behind for \n first, then ahead.
2864
2865 2000-02-13  Zack Weinberg  <zack@wolery.cumb.org>
2866
2867         * cse.c (cse_altered): New internal flag.
2868         (cse_insn): Set it if we changed an insn.
2869         (cse_main): Clear cse_altered before each basic block.
2870         Only garbage collect if cse_altered is true afterward.
2871
2872 Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2873
2874         * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
2875
2876 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
2877
2878         * combine.c (simplify_comparison): Fix typo.
2879
2880 Sun Feb 13 12:57:52 2000  Neil Booth <NeilB@earthling.net>
2881
2882         * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
2883         consistently.
2884
2885 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2886
2887         * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
2888         previously inserted node instead of root node.  Caller changed.
2889
2890 2000-02-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2891
2892         * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
2893
2894 2000-02-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2895
2896         * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
2897         __dereg_frame_dtor): Add prototype argument.
2898
2899         * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
2900
2901         * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
2902
2903         * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
2904
2905         * gthr-vxworks.h (__gthread_once): Likewise.
2906
2907         * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
2908
2909 Sat Feb 12 01:44:26 MET 2000  Jan Hubicka  <jh@suse.cz>
2910
2911         * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
2912         (ix86_expand_epilogue): ... here. Use mov instead of add to restore
2913         stack pointer in functions w/o saved registers, output LEAVE more often
2914         on TARGET_USE_LEAVE machines.
2915
2916 2000-02-07  Dmitri Makarov  <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
2917
2918         * config/arm/arm.c (arm_init_cumulative_args); New function:
2919         Initlaise the CUMULATIE_ARGS strcuture for a function
2920         defintion. 
2921         (arm_function_arg): New function: Determine where to place a
2922         function's argument.  Also handles deciding the function's
2923         call cookie.
2924         (current_file_function_operand): New function: Return true if
2925         the symbol is a function which has already been compiled.
2926         (arm_is_long_call_p): New function: Return true if the
2927         indicated function should be called via a long call.
2928         (arm_valid_type_attribute_p): New function: Return true if the
2929         attribute is a valid, arm specific, attribute.
2930         (arm_comp_type_attribute): New function: Return true if the
2931         two types have compatable, arm specific, attributes.
2932
2933         * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
2934         structure.
2935         (FUNCTION_ARG): Redefine to call arm_function_arg.
2936         (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
2937         structure field.
2938         (INIT_CUMULATIVE_ARGS): Redefine to call
2939         arm_init_cumulative_args.
2940         (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
2941         field. 
2942         (SETUP_INCOMING_VARARGS): Redefine to use correct structure 
2943         field. 
2944         (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
2945         functions.
2946         (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
2947         (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
2948         (COMP_TYPE_ATTRIBUTES): Define.
2949
2950         * config/arm/arm.md (call): Call arm_is_long_call_p to decide
2951         if a long call is needed.
2952         (call_value): Call arm_is_long_call_p to decide if a long call
2953         is needed.
2954         (call_symbol): Call arm_is_long_call_p to decide if a long call
2955         is needed.
2956
2957         * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
2958
2959 2000-02-11  Denis Chertykov  <denisc@overta.ru>
2960
2961         * README.AVR: New file with information about the avr ports.
2962         * config/avr: New directory with avr port files.
2963
2964 2000-02-11  Andreas Jaeger  <aj@suse.de>
2965
2966         * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
2967
2968 2000-02-11  Zack Weinberg  <zack@wolery.cumb.org>
2969
2970         * cpphash.c: Fix formatting, update commentary.
2971         (dump_definition): Take three separate arguments instead of a
2972         MACRODEF structure argument.
2973         * cpphash.h: Update prototype of dump_definition.
2974         * cppinit.c (cpp_finish): Update call of dump_definition.
2975
2976         * cpplib.c (do_define): Always create new hash entry with
2977         T_MACRO type.  Remove redundant check for redefinition of
2978         poisoned identifier.  Update call of dump_definition.
2979         (do_undef): Don't call check_macro_name.  Rename sym_length to
2980         len.
2981         (do_error, do_warning): Don't use copy_rest_of_line or
2982         SKIP_WHITE_SPACE.
2983         (do_warning): Don't use pedwarn for the actual warning,
2984         only the notice about its not being in the standard.  (Fixes
2985         bug with #warning in system headers.)
2986         (do_ident): Stricter argument checking - accept only a single
2987         string after #ident.  Also, macro-expand the line.
2988         (do_xifdef): Use cpp_defined.  De-obfuscate.
2989
2990         (do_pragma): Split out specific pragma handling to separate
2991         functions.  Use get_directive_token.  Update commentary.  Do
2992         not pass on #pragma once or #pragma poison to the front end.
2993         (do_pragma_once, do_pragma_implementation, do_pragma_poison,
2994         do_pragma_default): New.
2995
2996 Feb 11 12:30:53 2000  Jeffrey A Law  (law@cygnus.com)
2997
2998         * jump.c (jump_optimize_1): The first operand in a relational
2999         can be a CONST_INT.
3000         * optabs.c (emit_conditional_move): Handle relationals which
3001         have a known true/false result.
3002
3003 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
3004
3005         * function.c (thread_prologue_and_epilogue_insns): Don't insert
3006         a RETURN insn into a block which already ends with a jump.
3007
3008 2000-02-11  Geoff Keating  <geoffk@cygnus.com>
3009
3010         * haifa-sched.c (BUF_LEN): Increase a lot.
3011
3012 2000-02-11  Nick Clifton  <nickc@cygnus.com>
3013
3014         * configure.in: Add tm_p_file specification for thumb targets.
3015         * configure: Regenerate.
3016
3017         * config/arm/thumb-protos.h: New file: Prototypes for exported
3018         functions defined in thumb.c.
3019
3020 2000-02-11  Robert Lipe  <robertl@sco.com>
3021
3022         * Makefile.in (bootstrap-lean): Remove additional files.
3023         (bootstrap2-lean): Likewise.
3024         (VOL_FILES): List of files for above.
3025
3026 2000-02-11  Nathan Sidwell  <nathan@acm.org>
3027
3028         * cpphash.c (special_symbol): Remove spurious argument to
3029         cpp_lookup.
3030
3031 2000-02-11  Joel Sherrill (joel@OARcorp.com>
3032
3033         * configure.in: (i*86-*-rtems*): Swapped elf and coff
3034         stanzas.
3035         * configure: Rebuilt.
3036
3037 2000-02-11  Rodney Brown  <RodneyBrown@pmsc.com>
3038         
3039         * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
3040
3041 Fri Feb 11 02:59:05 2000  Jeffrey A Law  (law@cygnus.com)
3042
3043         * pa.c, pa.h: Remove trigraph sequences within comments.
3044
3045 Fri Feb 11 02:51:56 2000  Pavel Roskin <pavel_roskin@geocities.com>
3046
3047         * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
3048
3049 Fri Feb 11 02:48:30 2000  Brad Lucier  (lucier@math.purdue.edu)
3050
3051         * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
3052
3053 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3054         
3055         * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
3056
3057 2000-02-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3058
3059         * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
3060         (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
3061         (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
3062         (ASM_FILE_END): Use c4x_file_end.
3063         * config/c4x/c4x.c (c4x_global_label): New function.
3064         (c4x_external_ref, c4x_file_end): Likewise.
3065
3066         * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
3067         (c4x_external_ref, c4x_end_file): Likewise.
3068
3069 2000-02-10  Zack Weinberg  <zack@wolery.cumb.org>
3070
3071         * cppexp.c: Don't include cpphash.h.
3072         (parse_charconst, cpp_lex): Use cpp_defined.
3073         (cpp_lex): Use get_directive_token throughout.  Remove
3074         unnecessary cases from switch.  Move assertion-handling code
3075         down to OTHER case.
3076         (cpp_parse_expr): If we see '+' or '-', check the context to
3077         determine if they are unary or binary operators.  Streamline
3078         the jumps a bit.  Do not call skip_rest_of_line.
3079
3080         * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
3081         static.  Export get_directive_token.  Update commentary.
3082         (cpp_defined): New function.
3083         (do_define): Remove reference to T_PCSTRING.  Call
3084         free_definition to release memory for old definition, when
3085         redefining a macro.
3086         (eval_if_expression): Set only_seen_white to 0 before calling
3087         cpp_parse_expr.  Call skip_rest_of_line after it returns.
3088         (cpp_read_check_assertion): Don't preserve a pointer into the
3089         token buffer across a call to cpp_get_token.
3090
3091         * Makefile.in (cppexp.o): Don't depend on cpphash.h.
3092         * cppfiles.c (redundant_include_p): Use cpp_defined.
3093         * cpphash.c (free_definition): New function.
3094         (delete_macro): Use it.  Update commentary.
3095         * cpphash.h: Typedef HASHNODE here.  Prototype cpp_lookup and
3096         free_definition.
3097         * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
3098         from enum node_type.  Prototype cpp_defined and get_directive_token.
3099         Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
3100
3101         * fix-header.c (check_macro_names): Use cpp_defined.
3102         (read_scan_file): Set inhibit_warnings and inhibit_errors in
3103         the options structure.
3104
3105 2000-02-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3106
3107         * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
3108
3109 2000-02-10  Jason Merrill  <jason@casey.cygnus.com>
3110
3111         * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
3112         rather than die->die_tag.
3113
3114 Thu Feb 10 16:26:49 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3115
3116         * combine.c (make_extraction, force_to_mode): Avoid warning on
3117         mixed-signedness conditionals.
3118         (make_field_assignment, nonzero_bits): Likewise.
3119         * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
3120         (store_split_bit_field, extract_split_bit_field): Likewise.
3121         (extract_fixed_bit_field, store_bit_field, 
3122         * expr.c: Change alignment to be unsigned everywhere.
3123         (move_by_pieces, store_constructor_field, store_constructor): 
3124         Alignment parm is unsigned.
3125         (emit_block_move, emit_group_load, emit_group_store): Likewise.
3126         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
3127         (do_compare_rtx_and_jump): Likewise.
3128         (move_by_pieces_ninsns, clear_by_pieces): Likewise.
3129         Compare align with GET_MODE_ALIGNMENT.
3130         (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
3131         (get_inner_reference): Likewise.
3132         (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
3133         (expand_assignment): Local vars for alignment now unsigned.
3134         (store_constructor, store_field, expand_expr, do_jump): Likewise.
3135         (do_compare_and_jump): Likewise.
3136         (store_field): Call new function expr_align.
3137         * expr.h (emit_block_move, emit_group_load, emit_group_store):
3138         Alignment arg now unsigned.
3139         (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
3140         (do_compare_rtx_and_jump, store_bit_field): Likewise.
3141         (extract_bit_field): Likewise.
3142         * fold-const.c (add_double): Add cast to eliminate signedness warning.
3143         * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
3144         (get_best_mode): Alignment arg is unsigned.
3145         * rtl.h (move_by_pieces): Likewise.
3146         * store-layout.c (maximum_field_alignment, set_alignment):
3147         Now unsigned.
3148         (layout_decl): Alignment arg is now unsigned.
3149         Remove unneeded casts.
3150         (layout_record, layout_union, layout_type): Remove unneeded casts.
3151         Local alignment variables now unsigned.
3152         (get_best_mode): Alignment arg now unsigned.
3153         * tree.c (expr_align): New function.
3154         * tree.h (expr_align): Likewise.
3155         (maximum_field_alignment, set_alignment): Now unsigned.
3156         (get_inner_reference): Alignment argument is now pointer to unsigned.
3157         * varasm.c (assemble_variable): Add cast to eliminate warning.
3158
3159 Thu Feb 10 12:56:47 2000  Jim Wilson  <wilson@cygnus.com>
3160
3161         * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
3162         then store directly into op0.
3163
3164         * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
3165         the CALL_INSN, and emit the note immediately after it.
3166
3167 2000-02-10  Nick Clifton  <nickc@cygnus.com>
3168
3169         * config/arm/thumb.md (epilogue): Include a (return) in the
3170         generated insn, and emit it using emit_jump_insn not
3171         emit_insn. 
3172
3173 Thu Feb 10 18:28:59 MET 2000  Jan Hubicka  <jh@suse.cz>
3174
3175         * function.c (assign_temp): Change zero-sized arrays to size 1.
3176         * integrate.c (expand_inline_function): Do not update
3177         stack_alignment_needed
3178         * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
3179         add some sanity checking, remove optimization for function with
3180         zero frame size.
3181
3182 2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3183
3184         * flow.c (mark_regs_live_at_end): Delete unused variables.
3185
3186         * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
3187
3188         * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
3189         in macro FRAME_GROWS_DOWNWARD.
3190
3191         * stmt.c (expand_end_bindings): Delete unused variable.
3192
3193         * unroll.c (iteration_info): Mark parameter `loop' with
3194         ATTRIBUTE_UNUSED.
3195
3196 2000-02-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3197
3198         * fixinc/server.c (load_data): Return NULL if the marker line is
3199         not found.
3200         (run_shell): If load_data returns NULL, retry the command once, in
3201         a new shell.
3202
3203         * configure: Rebuilt.
3204
3205 2000-02-09  Bruce Korb  <bkorb@gnu.org>
3206
3207         * gcc/fixincludes:  ** DELETED **
3208         * gcc/fixcpp:  ** DELETED **
3209         * gcc/fixinc-nt.sed:  ** DELETED **
3210         * gcc/just-fixinc:  ** DELETED **
3211         * gcc/Makefile.in:  Removed out-dated commentary
3212         * gcc/configure.in: Removed fast-fixincludes disablement.
3213         * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
3214
3215 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
3216         * function.c (thread_prologue_and_epilogue_insns): Uncomment
3217         last change.
3218
3219 2000-02-09  Richard Henderson  <rth@cygnus.com>
3220
3221         * jump.c (delete_insn): Don't delete user labels at -O0.
3222
3223 2000-02-09  Robert Lipe  <robertl@sco.com>
3224
3225         * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
3226         Don't link with HOST_LIBS. 
3227
3228 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
3229
3230         * configure.in: Correct --help text for --with-dwarf2.
3231         Put tm-dwarf2.h after other tm files, if it's requested.
3232         * configure: Regenerate.
3233         * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
3234         defining it.
3235
3236 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
3237
3238         * cpplib.h: Provide HASHNODE typedef and forward decl of
3239         struct hashnode only.  Kill cpp_hashnode typedef.  MACRODEF,
3240         DEFINITION, struct hashnode, struct macrodef, struct
3241         definition, scan_decls prototype, default defn of
3242         INCLUDE_LEN_FUDGE moved elsewhere.
3243
3244         * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
3245         definition, and struct hashnode moved here. Remove the unused
3246         'predefined' field from struct definition.  Replace the 'args'
3247         union with its sole member.  All users updated (cpphash.c).
3248         Delete HASHSTEP and MAKE_POS macros, and hashf prototype.  Add
3249         multiple include guard.
3250
3251         * cpphash.c (hashf): Make static; use better algorithm; drop
3252         HASHSIZE parameter; return an unsigned int.
3253         (cpp_lookup): Drop HASH parameter.  PFILE parameter is
3254         used. Calculate HASHSIZE modulus here.
3255         (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
3256         here.
3257         (create_definition): Drop PREDEFINITION parameter.
3258         * cpplib.c (do_define): Don't calculate a hash value here.
3259         Don't pass (keyword == NULL) to create_definition.
3260
3261         * scan.h: Prototype scan_decls here.
3262         * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
3263         * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
3264         callers of cpp_lookup and cpp_install updated.
3265         
3266         * cpphash.c (macarg): Hoist all the flag diddling out of the
3267         function...
3268         (macroexpand): ... and out of the loop that calls macarg.
3269         Skip over the initial paren before macro arguments with
3270         cpp_get_non_space_token; point may be some distance before
3271         that paren.  Abort if it's not there.
3272
3273         * cpplib.c (parse_clear_mark): Delete function.
3274         (parse_set_mark, parse_goto_mark): Make static.
3275         (ACTIVE_MARK_P): New macro.
3276         (skip_block_comment, skip_line_comment): Do not bump the line
3277         if ACTIVE_MARK_P is true.
3278         (cpp_pop_buffer): The buffer to be popped may not have an
3279         active mark.
3280         (cpp_get_token): When looking for the initial paren before
3281         macro arguments, only set a mark in a file buffer, Always
3282         return to that mark before proceeding to call macroexpand or
3283         return a NAME token.
3284
3285         * cpplib.h: Remove prototypes of parse_set_mark,
3286         parse_clear_mark, parse_goto_mark.
3287         (struct cpp_options): Rename 'put_out_comments' to
3288         'discard_comments' and invert its sense.
3289         * cppinit.c, cpphash.c, cpplib.c: All users of
3290         put_out_comments changed to use discard_comments, with
3291         opposite sense.
3292
3293 2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
3294
3295         * function.c (thread_prologue_and_epilogue_insns): Don't delete
3296         the edge from a block that both jumps and falls through to the
3297         fallthru block.
3298
3299 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
3300
3301         * config/arm/arm.md (movsi): In PIC mode, make sure that a
3302         constant source address is legitimate.
3303
3304 2000-02-09  Philip Blundell  <pb@futuretv.com>
3305
3306         * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
3307         correctly.
3308
3309         * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
3310         generating PIC.
3311         (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
3312
3313 2000-02-09  Zack Weinberg  <zack@wolery.cumb.org>
3314
3315         * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
3316         ends with a newline and a NUL.  Don't be so clever manipulating
3317         strings.
3318
3319 Wed Feb  9 14:18:08 MET 2000  Jan Hubicka  <jh@suse.cz>
3320
3321         * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
3322         not to BIGGEST_ALIGNMENT.
3323
3324 2000-02-08  Geoff Keating  <geoffk@cygnus.com>
3325
3326         * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
3327         * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
3328         (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
3329         (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
3330         * frame.c (execute_cfa_insn): Handle 
3331         DW_CFA_GNU_negative_offset_extended.
3332
3333 2000-02-08  Richard Henderson  <rth@cygnus.com>
3334
3335         * flow.c (tidy_fallthru_edges): Split out from ...
3336         (delete_unreachable_blocks): ... here.
3337         (find_basic_blocks): Use it.
3338
3339 Tue Feb  8 15:51:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3340
3341         * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
3342
3343 2000-02-08  Zack Weinberg  <zack@wolery.cumb.org>
3344
3345         * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
3346         (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
3347         (fix-header.o): Don't depend on cpphash.h.
3348
3349         * scan.c (hashstr): New function. 
3350         * scan.h: Prototype it.
3351         * fix-header.c: Don't include cpphash.h.  Use hashstr.  
3352         * gen-protos.c: Don't include cpphash.h or cpplib.h.  Use
3353         hashstr.  Report hash table statistics.  Add private     
3354         definition of xrealloc.
3355
3356 2000-02-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3357
3358         * i386.h (TARGET_SWITCHES): Fix typo in option name.
3359
3360 2000-02-08  Clinton Popetz  <cpopetz@cygnus.com>
3361
3362         * function.c (thread_prologue_and_epilogue_insns): Don't replace
3363         jumps with returns unless they are jumps to the fallthru block.
3364
3365 Tue Feb  8 07:53:55 2000  Jan Hubicka  <jh@suse.cz>
3366
3367         * i386.md (addqi3_cc): Fix contraints.
3368
3369 Tue Feb  8 01:39:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3370
3371         * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
3372
3373 2000-02-07  Mark Mitchell  <mark@codesourcery.com>
3374
3375         * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
3376         carriage return after a macro name.
3377
3378 2000-02-07  Fred Fish  <fnf@be.com>
3379
3380         * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
3381         so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
3382
3383 2000-02-07  Zack Weinberg  <zack@wolery.cumb.org>
3384
3385         * cppfiles.c (deps_output): Count spacers in deps_column.
3386
3387 2000-02-07  Neil Booth  <NeilB@earthling.net>
3388
3389         * cppinit.c (initialize_dependency_output): If there is no
3390         suffix, don't try to look for known suffixes.  Use strrchr.
3391         (cpp_start_read): Remove duplicate initialization.
3392
3393 Mon Feb  7 18:36:41 MET 2000  Jan Hubicka  <jh@suse.cz>
3394
3395         * calls.c (compute_argument_block_size): New argument
3396         preferred_stack_boundary.
3397         (expand_call): update cfun->preferred_stack_boundary, update call of
3398         compute_argument_block_size
3399         (emit_library_call): Increate cfun->preferred_stack_boundary
3400         to PREFERRED_STACK_BOUNDARY
3401         (emit_library_call_value): Likewise.
3402         * explow.c (allocate_dynamic_stack_spave): Likewise.
3403         * function.c (prepare_function_start): Set
3404         cfun->preferred_stack_boundary
3405         * function.h (struct function): Add preferred_stack_boundary field.
3406         * integrate.c (expand_inline_function): Update
3407         cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
3408         (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
3409         * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
3410
3411 2000-02-06  Zack Weinberg  <zack@wolery.cumb.org>
3412
3413         * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
3414         cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
3415         cpp_pedwarn, cpp_pedwarn_with_line,
3416         cpp_pedwarn_with_file_and_line): Move to cpperror.c.
3417         (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
3418         v_cpp_error_with_line, v_cpp_warning_with_line,
3419         cpp_message_from_errno, cpp_perror_with_name): Delete.
3420
3421         * cpperror.c (cpp_print_containing_files): Take starting
3422         buffer as argument.
3423         (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
3424         (v_cpp_message): Now called directly by all entry points.
3425         Remove -1 case.
3426         (cpp_pfatal_with_name, cpp_message): Delete.
3427         (cpp_notice_from_errno, cpp_ice): New functions.
3428         (cpp_notice): Is now for reporting error conditions, just
3429         without an associated file.
3430         (cpp_error, cpp_error_with_line): Don't do anything if
3431         opts->inhibit_errors is on.
3432         (cpp_pedwarn_with_file_and_line): Take column argument also.
3433
3434         * cpplib.h: Update prototypes of exported functions.
3435         (struct cpp_options): Add inhibit_errors.
3436
3437         * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
3438         non-error messages.  Include intl.h.
3439
3440         * cppinit.c, cppmain.c: Likewise.  Also, use
3441         cpp_notice_from_errno instead of cpp_perror_with_name or
3442         cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
3443
3444         * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
3445         report internal errors.
3446
3447         * cpplib.c (do_define): Switch bcopy to memcpy.
3448         Give cpp_pedwarn_with_file_and_line a dummy column argument.
3449
3450         * cpplib.c (copy_rest_of_line): Revert previous change: don't
3451         bail out early if we hit a line comment.
3452
3453 2000-02-06  Richard Henderson  <rth@cygnus.com>
3454
3455         * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
3456         * basic-block.h: Declare them.
3457         * emit-rtl.h (active_insn_p): New.
3458         (next_active_insn, prev_active_insn): Use it.
3459         * rtl.h: Declare it.
3460         * function.c (emit_return_into_block): New.
3461         (thread_prologue_and_epilogue_insns): Insert return insns instead
3462         of epilogues when possible.
3463         * jump.c (jump_optimize_1): Remove code to insert a return insn
3464         on the fallthru to the exit block.
3465
3466         * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
3467         and for non-empty stack frames.
3468         * i386.md (return): Expand to return-pop as needed.
3469
3470 2000-02-06  Richard Henderson  <rth@cygnus.com>
3471
3472         * simplify-rtx.c (simplify_relational_operation): Canonicalize
3473         constant to op1 for testing.
3474
3475 2000-02-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3476
3477         * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
3478         (fixuns_truncqfqi2): Use it.
3479
3480 2000-02-06  Richard Henderson  <rth@cygnus.com>
3481
3482         * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
3483         as a TYPE_LEA insn.
3484
3485         * i386.md (widening and peepholes): Mask the constant instead of
3486         using gen_lowpart.
3487
3488 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
3489
3490         * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
3491         input pointer before possibly branching off to the backslash
3492         code.
3493         * cpphash.c (macroexpand): Correctly delete \r escapes when
3494         stringifying parameters.
3495         * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
3496         if we can; bail out early if we hit a line comment.
3497         (handle_directive): Treat '# 123' in an .S file just like
3498         '# <punctuation>'.  Discard the shifted '#' if we hit '#\n'.
3499         Return 1 for '# not_a_directive'.
3500         (get_directive_token): Pop macro buffers here, so that
3501         cpp_get_token can't sneakily move past a newline.
3502         Add sanity checks. 
3503         (cpp_get_token): goto randomchar if handle_directive returns 0.
3504
3505         * cppalloc.c: Update copyright.
3506         * cpplib.c: Merge all the static function prototypes into one
3507         block.
3508         * cpplib.h: Remove #if 0 block.
3509
3510         * cpperror.c: Remove #ifdef EMACS block.
3511         * cppmain.c: Likewise.
3512         * cpphash.c: Remove #if 0 blocks.
3513         * cppinit.c: Remove #if 0 blocks, and the -lint option.
3514         * cpplib.c: Remove #if 0 blocks and code referencing
3515         pcp_inside_if or for_lint.  Remove duplicate error message.
3516         Fix error messages for #else after #else or #elif.  Reformat.
3517         Remove archaic TODO list.
3518         * cpplib.h: Remove pcp_inside_if and for_lint flags.
3519
3520 2000-02-05  Zack Weinberg  <zack@wolery.cumb.org>
3521
3522         * i386/osf1elf.h: Add missing backslash to multiline string.
3523
3524 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3525
3526         * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
3527
3528 2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3529
3530         * Makefile.in (c-common.o): Depend on $(EXPR_H).
3531
3532         * c-common.c: Include expr.h.
3533
3534         * c-pragma.c (mark_align_stack): Add prototype.
3535
3536         * caller-save.c (add_stored_regs): Likewise.
3537
3538         * combine.c (record_promoted_value): Likewise.
3539
3540         * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
3541         Likewise.
3542
3543         * cppinit.c (new_pending_define): Likewise.
3544
3545         * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
3546
3547         * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
3548         AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
3549         AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
3550         class_scope_p): Likewise.
3551
3552         * dwarf2out.h (dwarf2out_set_demangle_name_func,
3553         dwarf2out_add_library_unit_info): Likewise.
3554
3555         * ggc.h (ggc_page_print_statistics): Likewise.
3556
3557         * haifa-sched.c (propagate_deps): Likewise.
3558
3559         * reg-stack.c (next_flags_user, record_label_references): Likewise.
3560
3561         * rtl.h (set_stack_check_libfunc): Likewise.
3562
3563         * toplev.h (set_fatal_function): Likewise.
3564
3565         * toplev.c (set_fatal_function): Delete prototype.
3566         
3567         * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
3568         
3569 2000-02-05  Geoff Keating  <geoffk@cygnus.com>
3570
3571         * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
3572         (FUNC_END): Likewise.
3573
3574 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3575
3576         * caller-save.c: Include tm_p.h.
3577
3578 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3579
3580         * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
3581
3582 2000-02-04  Neil Booth  <NeilB@earthling.net>
3583
3584         * cccp.c (main): Check 'dir' for a NULL pointer before passing
3585         it to strcmp.
3586
3587 2000-02-04  Zack Weinberg  <zack@wolery.cumb.org>
3588
3589         * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
3590         * genflags.c: Use the max_operand_1 logic from genemit.c to
3591         calculate how many arguments gen_insn prototypes have.  Remove
3592         NO_MD_PROTOTYPES ifdefs from the generated file.
3593         * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
3594         file.  Cast gen_insn initializers to insn_gen_fn.
3595         * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
3596         * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
3597
3598 2000-02-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3599
3600         * fixinc/Makefile.in (HDR): Add machname.h.
3601         (clean): Likewise.
3602
3603 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3604
3605         * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
3606         (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
3607         (c4x_cpu_version): Ditto.
3608         * config/c4x/c4x-protos.h: ... here.
3609
3610 2000-02-04  Jason Merrill  <jason@casey.cygnus.com>
3611
3612         * dwarf2out.c (add_abstract_origin_attribute): Don't call
3613         gen_abstract_function on our context if we're a nested function.
3614
3615 2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3616
3617         * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
3618         * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
3619
3620 2000-02-04  Bruce Korb  <bkorb@gnu.org>
3621
3622         * fixinc/genfixes(machname.h):
3623         Move the functionality from gen-machine.h into this file.
3624         UNdef MN_NAME_PAT if there are no names to change.
3625         Also, be a little kinder when AutoGen is not present.
3626
3627         * fixinc/Makefile.in(machname.h):
3628         Change the generation rule to use genfixes.
3629
3630         * fixinc/fixfixes.c(machine_name):
3631         machine_name_fix's functionality now dependent upon whether
3632         MN_NAME_PAT is defined.
3633
3634         * fixinc/fixtests.c(machine_name):
3635         ditto.
3636
3637         * fixinc/fixlib.c(mn_get_regexps): conditional on definition
3638         of MN_NAME_PAT.
3639
3640         * fixinc/fixlib.h(mn_get_regexps):
3641         ditto
3642
3643         * fixinc/gen-machine.h: DELETED
3644
3645 2000-02-04  Jan Hubicka  <jh@suse.cz>
3646             Richard Henderson  <rth@cygnus.com>
3647
3648         * i386.c (SAVE_REGS_FIRST): Remove.
3649         (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
3650         (ix86_compute_frame_size): Likewise.
3651         (ix86_expand_prologue): Likewise.  Use pro_epilogue_adjust_stack.
3652         (ix86_emit_restore_regs): Remove.
3653         (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
3654         when a frame pointer is in use.
3655         (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode.  Use mov
3656         instead of pop to restore a register when profitable; emit leave
3657         when profitable.
3658         (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
3659         as a TYPE_LEA insn.
3660         (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
3661         * i386.md (prologue_allocate_stack): Remove.
3662         (epilogue_deallocate_stack): Remove.
3663         (pro_epilogue_adjust_stack): New.
3664
3665 2000-02-04  Richard Henderson  <rth@cygnus.com>
3666
3667         * function.c (diddle_return_value): Rework to use a callback function.
3668         Use current_function_return_rtx if it's been set up.
3669         (do_clobber_return_reg, clobber_return_register): New.
3670         (do_use_return_reg, use_return_register): New.
3671         (expand_function_end): Use them.
3672         * stmt.c (expand_null_return): Likewise.
3673         * function.h: Declare them.
3674         * flow.c (mark_regs_live_at_end): Use diddle_return_value.
3675         (mark_reg): Change arguments as appropriate for callback.
3676         * integrate.c (expand_inline_function): Revert 19 Jan change.
3677
3678 Fri Feb  4 20:25:42 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3679
3680         * tm.texi (Values in Registers): Fix typo: "fo" "for".
3681         (Misc): Say the scheduler, not the Haifa scheduler.
3682
3683 2000-02-04  Clinton Popetz  <cpopetz@cygnus.com>
3684
3685         * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
3686         when in_mem is set.  Update all callers.
3687
3688 2000-02-04  Richard Henderson  <rth@cygnus.com>
3689
3690         * i386/openbsd.h (INT_ASM_OP): Define.
3691
3692 Fri Feb  4 10:51:30 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3693
3694         * tm.texi: Fix various typos.
3695
3696 Thu Feb  3 17:17:32 2000  Steve Ellcey <sje@cup.hp.com>
3697
3698         * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
3699         (MD_STARTFILE_PREFIX_1): New macro.
3700
3701 Thu Feb  3 15:08:13 MET 2000  Jan Hubicka  <jh@suse.cz>
3702
3703         * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
3704         destination when needed.
3705         (strmovsi, strsetsi): New expander.
3706         (strmovsi_1, strsetsi_1): New pattern.
3707         * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
3708         TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
3709         (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
3710         * invoke.texi (align-stringops, inline-all-stringops): Document.
3711
3712 Wed Feb  2 23:04:47 2000   Krister Walfridsson <cato@df.lth.se>
3713
3714         * i386/netbsd.h (INT_ASM_OP): Define.
3715
3716 2000-02-02  Zack Weinberg  <zack@wolery.cumb.org>
3717
3718         * cpplib.h (cpp_reader): Add new flag, no_directives.
3719         * cpphash.c (macarg): Set it.
3720         * cpplib.c (handle_directive): If no_directives is on and we
3721         find a directive, issue an error and discard the line.
3722
3723 Wed Feb  2 13:07:10 2000  Jim Wilson  <wilson@cygnus.com>
3724
3725         * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
3726         FP constants.  Add ! TARGET_FPU check for FP constants.
3727
3728 2000-02-02  Clinton Popetz  <cpopetz@cygnus.com>
3729         
3730         * flow.c (find_basic_blocks): Don't kill label_value_list
3731         here.
3732         (cleanup_cfg): Kill it here.
3733
3734 Wed Feb  2 08:12:30 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3735
3736         * expr.c (store_field): Ensure ALIGN is no stricter than the
3737         alignment of EXP.
3738
3739 2000-02-02  Richard Henderson  <rth@cygnus.com>
3740
3741         * jump.c (delete_insn): Partially revert 19 Jan change; 
3742         don't convert unused code labels to notes at -O0.
3743
3744 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3745
3746         * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
3747         split_all_insns to recreate REG_LABEL notes for flow2 pass.
3748
3749 2000-02-01  Richard Henderson  <rth@cygnus.com>
3750
3751         * i386.c (general_no_elim_operand): New.
3752         (nonmemory_no_elim_operand): New.
3753         (ix86_expand_move): Copy eliminable operands before a push.
3754         * i386-protos.h: Declare new functions.
3755         * i386.h (CAN_ELIMINATE): Simplify.
3756         (PREDICATE_CODES): Update.
3757         * i386.md (push insns): Don't allow eliminable register operands.
3758
3759 2000-02-01  Richard Henderson  <rth@cygnus.com>
3760
3761         * flow.c (mark_regs_live_at_end): Follow expand_function_end and
3762         replace BLKmode with DECL_RTL's mode.
3763
3764 2000-02-01  Zack Weinberg  <zack@wolery.cumb.org>
3765
3766         * frame.c (find_fde): Convert for loop to do-while so compiler
3767         sees it's always executed at least once.
3768         * libgcc2.c (BBINBUFSIZE): Kill.
3769         (__bb_init_prg): Use fgets.
3770         (__bb_exit_trace_func): Don't paste strings.
3771         * unroll.c (unroll_loop): Initialize unroll_type, not
3772         unroll_number, and tweak logic to match.
3773
3774         * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
3775         all failure paths.
3776         (ix86_flags_dependant): Likewise.  Disentangle control flow.
3777         (ix86_sched_reorder): Break guts out to
3778         ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
3779         (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
3780         any possible use.
3781
3782         * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
3783         use string concatenation.  Don't save and restore esi.
3784
3785         * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
3786         (machname.h): Remove script to separate file.  Use two-step
3787         sequence so target is not created if script fails.
3788         * fixinc/gen-machname.h: New file.  Handle case where no non-reserved
3789         identifiers are defined.
3790         * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
3791         an empty string, machine_name doesn't need to do anything at
3792         all.
3793         (is_cxx_header): Add more cases to regexp.
3794         * fixinc/fixlib.h: Update prototype.
3795         * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
3796         mn_get_regexps.
3797         * fixinc/fixincl.c: Define NO_BOGOSITY.
3798
3799         * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
3800         (hp_sysfile): Add missing comma.
3801         (math_exception): Put the wrapper ifdefs at the beginning and
3802         the end of the file.
3803         * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
3804
3805 2000-02-01  Richard Henderson  <rth@cygnus.com>
3806
3807         * sparc.c (fp_zero_operand): Turn into a normal predicate.
3808         Use CONST0_RTX.  Update all callers.
3809         * sparc.h, sparc-protos.h: Update accordingly.
3810         * sparc.md (fp mov insns): Use fp_zero_operand directly
3811         where applicable.
3812
3813 Wed Feb  2 02:59:45 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3814
3815         * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
3816         example.
3817
3818 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3819
3820         * Makefile.in (specs.ready): New target.
3821         (fixinc.sh): Depend on `specs.ready' instead of `specs'.
3822
3823 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3824
3825         * fixinc.irix: Use unique filenames for writing into /tmp,
3826         * fixinc.ptx: Likewise.
3827         * fixinc.sco: Likewise.
3828         * fixinc.svr4: Likewise.
3829         * fixinc.winnt: Likewise.
3830
3831 2000-02-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3832
3833         * tsystem.h: New file.
3834
3835         * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
3836         s-crtS): Depend on tsystem.h.
3837
3838         * crtstuff.c: Include tsystem.h.
3839         * frame.c: Likewise.
3840         * libgcc2.c: Likewise.
3841
3842 Tue Feb  1 19:53:27 CET 2000  Jan Hubicka  <jh@suse.cz>
3843
3844         * builtins.c (expand_builtin_memset): Expand for variable sized
3845         lengths too.
3846
3847 2000-02-01  David Billinghurst <David.Billinghurst@riotinto.com.au> 
3848
3849         * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
3850         on ABI.
3851
3852 Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
3853
3854         * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
3855
3856         * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
3857
3858 2000-01-31  Chandra Chavva <cchavva@cygnus.com>
3859
3860         * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
3861         case 3->2 combining (combining with splitting) in which 2 is CC0
3862         setter/user and 3 is user. The rest of cases 2->1 and 3->2 are 
3863         checked at the begining of the function with the aid of calling 
3864         function 'can_combine_p'. 
3865
3866 2000-01-31  Dave Brolley  <brolley@redhat.com>
3867
3868         * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
3869
3870 2000-01-31  Jason Merrill  <jason@casey.cygnus.com>
3871
3872         * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
3873         new label.
3874
3875 2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3876
3877         * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
3878         
3879         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
3880         PROTO -> PARAMS.
3881
3882 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
3883
3884         * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
3885         i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
3886         i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
3887         i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
3888         i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
3889         i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
3890         i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
3891         i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
3892         i386/vxi386.h, i386/win-nt.h, i386/win32.h:
3893         Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
3894         
3895         * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
3896         Add %(cpp_cpu) to CPP_SPEC.
3897
3898         * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
3899         Add %(cc1_cpu) to CC1_SPEC.
3900
3901 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
3902
3903         * c-decl.c (c_decode_option): Accept optional numeric argument to
3904         -Wformat and set warn_format.
3905         * c-common.c: Don't emit warning about non-constant printf format
3906         string unless warn_format > 1.
3907
3908 2000-01-30  Richard Henderson  <rth@cygnus.com>
3909
3910         * alpha.md (return_internal): Allow after reload only.
3911
3912 2000-01-30  Richard Henderson  <rth@cygnus.com>
3913
3914         * i386.c (ix86_compute_frame_size): Omit padding1 if the
3915         local frame size is zero.
3916
3917 2000-01-30  Richard Henderson  <rth@cygnus.com>
3918
3919         * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
3920         * alpha.h (EPILOGUE_USES): New.  Mark $26 live.
3921         * alpha.md (return): Turn into an expander.
3922         (return_internal): Don't use $26.
3923         (epilogue): Emit the return insn.
3924
3925 2000-01-30  Richard Henderson  <rth@cygnus.com>
3926
3927         * alpha.md (negtf2, abstf2): Fix word order thinko.
3928         (extendsftf2): New.
3929         (trunctfsf2): Avoid intermediate rounding errors.
3930
3931 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
3932
3933         * cppfiles.c (find_position): Drop 'colp' argument, return the
3934         new line base.
3935         (read_and_prescan): Adjust to match.  Don't ever manipulate
3936         line or line_base except via find_position.
3937
3938 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
3939
3940         * c-parse.in: Apply Ulrich's changes from c-parse.y.
3941         * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
3942         Regenerate.
3943
3944 2000-01-29  Zack Weinberg  <zack@wolery.cumb.org>
3945
3946         * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
3947         just print "<command line>".  If 'filename' is null or an
3948         empty string, print "<stdin>" for the filename.
3949         * cpplib.c (do_define): Don't print the 'location of the
3950         previous definition' message if we're still parsing the
3951         command line.
3952         (cpp_pedwarn_with_file_and_line): Always call
3953         cpp_file_line_for_message.
3954
3955 2000-01-29  Mark Mitchell  <mark@codesourcery.com>
3956
3957         * flow.c (mark_regs_live_at_end): Fix typo.
3958
3959 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
3960
3961         * c-common.c: Adjust variable names, comments, help strings to c99.
3962         * c-lex.c: Likewise.
3963         * c-parse.y: Likewise.
3964         * c-tree.h: Likewise.
3965         * cccp.c: Likewise.
3966         * cpplib.h: Likewise.
3967         * c-decl.c: Likewise.  Recognize options with names "*99" as well.
3968         * cppinit.c: Likewise.
3969
3970 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3971
3972         * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
3973         * c4x.c: Define the optab rtx values.
3974         (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
3975         (c4x_emit_libcall): Use new optab rtx values.
3976         (c4x_emit_libcall3): Likewise.
3977         (c4x_emit_libcall_mulhi): Likewise.
3978         * c4x-protos.h: Add prototypes for optab rtx values and change
3979         prototypes for above c4x_emit_libcall functions.
3980
3981 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3982
3983         * c4x.c (c4x_output_ascii): Restrict line length of output when TI
3984         syntax is used.
3985         (c4x_function_prologue): Use regnames intead of float_reg_names when
3986         TI syntax is used.
3987         (c4x_function_epilogue): Likewise.
3988         (c4x_print_operand): Likewise.
3989         * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
3990         * c4x.md (set_high): Disable for TARGET_TI.
3991
3992 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3993
3994         * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
3995         of framepointer + constant to ADDR_REGS class.
3996         * c4x.md (addqi3, addqi3_noclobber_reload): Update.
3997         * c4x.c (std_or_reg_operand): New function.
3998         * c4x-protos.h (std_or_reg_operand): Prototype it.
3999
4000 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4001
4002         * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
4003                 object names as libgcc2.c.
4004         * libgcc.S: Use newly defined names.
4005
4006 Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
4007         * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
4008         function.
4009         * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
4010         * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
4011         (FLOW_LOOP_LAST_BLOCK): Likewise.
4012
4013 2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4014
4015         * basic-block.h (struct loop): New fields 'first' and 'last'.
4016         * flow.c (flow_loops_find): Compute loop->first and loop->last.
4017         (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
4018         and loop->last to check for NOTE_INSN_LOOP_END.
4019
4020 Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>
4021
4022         * predict.c (estimate_probability): Use the new FIRST and LAST fields
4023         of the loop descriptor rather than HEADER and LATCH. Also added
4024         missing break statements as well making some coding style modifications
4025         as suggested by Michael Hayes.
4026
4027 2000-01-28  Richard Henderson  <rth@cygnus.com>
4028
4029         * flow.c (find_basic_blocks): Remove do_cleanup argument.
4030         Break out that code ...
4031         (cleanup_cfg): ... here.
4032         (commit_one_edge_insertion): Detect a return instruction being
4033         emitted to an edge.  Emit a barrier following; clear fallthru.
4034         (commit_edge_insertions): Verify CFG consistency.
4035         * function.c (expand_function_start): Kill unused variable.
4036         (expand_function_end): Likewise.
4037         (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
4038         to insert the epilogue.
4039
4040         * gcse.c (gcse_main): Adjust for find_basic_blocks change.
4041         (delete_null_pointer_checks): Likewise.
4042         * output.h: Likewise.
4043         * reg-stack.c (reg_to_stack): Likewise.
4044         * toplev.c (rest_of_compilation): Likewise.  Run
4045         thread_prologue_and_epilogue_insns after rebuilding the CFG.
4046
4047 2000-01-28  Richard Henderson  <rth@cygnus.com>
4048
4049         * Makefile.in (flow.o): Revert 24 Jan change.
4050         * flow.c (mark_regs_live_at_end): Likewise.  Force BLKmode
4051         FUNCTION_VALUE result to DECL_RESULT's mode.
4052
4053         * haifa-sched.c (schedule_insns): Don't recompute reg info
4054         after reload.
4055
4056 2000-01-28  Zack Weinberg  <zack@wolery.cumb.org>
4057
4058         * configure.in: Make --enable-cpplib the default.
4059         * configure: Regenerate.
4060         * gcc.dg/990119-1.c: No longer expected to fail.
4061
4062 2000-01-28  Bernd Schmidt  <bernds@cygnus.co.uk>
4063
4064         * jump.c (jump_optimize_1): Delete an optimization that is also done
4065         by merge_blocks in flow.
4066
4067 2000-01-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4068
4069         * diagnostic.c (build_message_string, output_printf,
4070         line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
4071         (build_location_prefix): Fix non-literal format string.
4072
4073 2000-01-27  Richard Henderson  <rth@cygnus.com>
4074
4075         * alpha.md (trunctfsf2): New.
4076
4077 2000-01-27  Andrew Hobson  <ahobson@eng.mindspring.net>
4078
4079         * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
4080
4081 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
4082
4083         * cppinit.c (cpp_handle_option): Recognize C++ comments under
4084         -std=gnu89.
4085         * cpplib.c (skip_block_comment, skip_line_comment): Split code
4086         out of...
4087         (skip_comment) ... here.  Permit C++ comments in system
4088         headers always.  Warn about C++ comments in user code under
4089         -std=gnu89 -pedantic.
4090         (copy_comment): Use skip_comment.
4091         (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
4092         return EOF.
4093         (consider_directive_while_skipping, do_else, do_endif): Call
4094         validate_else unconditionally.
4095         (validate_else): Check CPP_PEDANTIC here.  Accept non-comment
4096         text after the conditional in a system header.
4097         * cpplib.h (struct cpp_buffer): Add flag
4098         warned_cplusplus_comments.
4099
4100 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
4101
4102         * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
4103         Use unshare_all_rtl_1.
4104         (unshare_all_rtl_again): New function.
4105         (unshare_all_rtl_1): New function split out of unshare_all_rtl.
4106
4107         * function.c (purge_addressof_1): Use unshare_all_rtl_again
4108         rather than resetting the 'used' flags ourself.
4109
4110         * toplev.c (rest_of_compilation): Add current_function_decl
4111         to the unshare_all_rtl call.
4112         * tree.h: Prototype unshare_all_rtl.
4113         * rtl.h: Prototype unshare_all_rtl_again here.
4114
4115 2000-01-27  Geoffrey Keating  <geoffk@cygnus.com>
4116
4117         * genoutput.c (output_prologue): Include ggc.h in generated
4118         files.
4119         * Makefile.in (insn-output.o): Depends on ggc.h.
4120
4121 2000-01-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
4122             Hans-Peter Nilsson  <hp@bitrange.com>
4123
4124         * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
4125         Remove redundant include of xm-ns32k.h.
4126         * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
4127         Remove redundant include of xm-ns32k.h.
4128         * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
4129         Remove redundant include of xm-ns32k.h.
4130         * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
4131
4132         * ns32k/ns32k.h: Update comment on multiply-add instructions.
4133         (TARGET_SWITCHES): Add documentation strings.
4134         (DWARF_FRAME_REGNUM): Override default definition.
4135         (REG_CLASS_CONTENTS): Add comments.
4136         (SUBSET_P): Format to reduce line length.
4137         (SMALL_REGISTER_CLASSES): Make a run time option.
4138         (GO_IF_NONINDEXED_ADDRESS): Reformat.
4139         (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
4140         dereferencing it.  Braces to avoid "ambiguous else" were misplaced.
4141         (regclass_map): fix typo in comment.
4142         * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
4143         Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
4144         (trace, reg_or_mem_operand): Delete, unused function.
4145         (calc_address_cost): Small offsets are cheaper than large ones.
4146         (expand_block_move): Generate more efficient code when bytes is a
4147         known at compile time.
4148         * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
4149         (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
4150         instead of reg_or_mem_operand.
4151
4152         * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
4153         not general_operand.  Similarly use "=rm" or stricter, not "=g".
4154         For input operands, use stricter constraints than "g" if not
4155         general_operand.  Similarly use stricter predicate than
4156         "general_operand" when stricter constraints than "g" are present,
4157         except for matching constraints.
4158         (movstrsi): Use "memory_operand" for operands 0 and 1.
4159         (truncsiqi2, truncsihi2, trunchiqi2): Remove.
4160         (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
4161         not reg_or_mem_operand.
4162         (udivmoddisi4): Ditto.
4163         Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
4164         Use nonimmediate_operand for operand 3, not register_operand.
4165         (udivmoddiqi4_internal): Use register_operand for operand 1, not
4166         reg_or_mem_operand.
4167
4168 2000-01-27  Fred Fish  <fnf@be.com>
4169
4170         * gthr-posix.h: Fix typo; compatibily -> compatibility.
4171         * gthr-single.h: Likewise.
4172         * gthr-solaris.h: Likewise.
4173         * gthr-vxworks.h: Likewise.
4174         * gthr-win32.h: Likewise.
4175         * gthr.h: Likewise.
4176
4177 2000-01-27  Zack Weinberg  <zack@wolery.cumb.org>
4178
4179         * cppinit.c: Add " (cpplib)" to end of string printed by
4180         -v / --version.
4181
4182 2000-01-27  Richard Henderson  <rth@cygnus.com>
4183
4184         * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
4185         testing for a signed comparison.
4186         (alpha_emit_floatuns): New.
4187         * alpha-protos.h: Declare it.
4188         * alpha.md (floatunsdisf2, floatunsdidf2): New.
4189         (extendsfdf2): Tidy.
4190
4191 2000-01-27  Jakub Jelinek  <jakub@redhat.com>
4192
4193         * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
4194         no -g option specifying debugging format, default to -gstabs+.
4195
4196 Wed Jan 26 22:19:14 1999  J"orn Rennecke  <amylaar@cygnus.co.uk>
4197
4198         * calls.c (special_function_p): New argument fork_or_exec.
4199         (expand_call): When profile_arc_flag is set and the function
4200         is in the fork_or_exec group, call __bb_fork_func first.
4201         * libgcc2.c, _bb module (__bb_fork_func): New function.
4202         (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
4203         output file.
4204         * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
4205         * tree.h (special_function_p): Update prototype.
4206
4207 2000-01-26  Richard Henderson  <rth@cygnus.com>
4208
4209         * alpha.c (alpha_split_tfmode_pair): New.
4210         * alpha-protos.h: Declare it.
4211         * alpha.md (abstf2, negtf2): New.
4212         (movtf insn): Add input G constraint.
4213         (movtf splitter): Use alpha_split_tfmode_pair.
4214
4215 2000-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4216
4217         * i386/cygwin.h: PROTO -> PARAMS.
4218
4219 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
4220
4221         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
4222         TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
4223         using _Qp_cmp/_Q_cmp and testing the return value.
4224         (print_operand): Call reverse_condition_maybe_unordered if
4225         we are handling CCFPmode or CCFPEmode.
4226         Handle ORDERED, UN* and LTGT comparisons.
4227         * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
4228         if not TARGET_HARD_QUAD.
4229         (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
4230         bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
4231         Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
4232         Adjust gen_b* calls so that they reflect return comparison of
4233         sparc_emit_float_lib_cmp.
4234
4235 2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4236
4237         * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
4238         incoming operands array is large enough for one more operand.
4239         (alpha_emit_xfloating_arith): Likewise.
4240
4241 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
4242
4243         * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
4244         file with one line and no trailing newline.
4245         Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
4246         * fixinc/fixtests.c (machine_name_test): Fix fencepost error
4247         checking if the match is on the line.
4248         * fixinc/gnu-regex.c: Provide regerror not __regerror.
4249
4250 2000-01-25  Richard Henderson  <rth@cygnus.com>
4251
4252         * sparc.c (output_cbranch): Fix accidental squashing of the
4253         fp branch pre-delay nop.
4254
4255 2000-01-25  Richard Henderson  <rth@cygnus.com>
4256
4257         * tree.def (UNNE_EXPR): Remove.
4258         * c-typeck.c (build_binary_op): Don't handle it.
4259         * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
4260
4261         * rtl.def (UNNE): Remove.
4262         (LTGT): Add.
4263         * jump.c (reverse_condition): Update accordingly.
4264         (swap_condition): Likewise.
4265         (comparison_dominates_p): Handle unordered comparisons.
4266         (reverse_condition_maybe_unordered): New.
4267         * rtl.h (reverse_condition_maybe_unordered): Declare.
4268
4269         * sparc.c (select_cc_mode): Update for UNNE/LTGT.
4270         (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
4271         * sparc.h (REVERSIBLE_CC_MODE): Always true.  Update docs.
4272         * sparc.md (bltgt): New.
4273
4274 2000-01-25  Nick Clifton  <nickc@redhat.com>
4275
4276         * emit-rtl.c (emit_insn): Only check machine class insns for
4277         improper emission of a RETURN.
4278
4279 2000-01-25  Richard Henderson  <rth@cygnus.com>
4280
4281         * Makefile.in (flow.o): Depend on $(EXPR_H).
4282         * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
4283         duplicate the structure of diddle_return_value for keeping regs live.
4284
4285 2000-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4286
4287         * loop.c (current_loop_info): Delete.
4288         (consec_sets_invariant_p): Add loop argument, update callers.
4289         (get_condition_for_loop): Likewise.
4290         (count_nonfixed_reads, update_giv_derive): Likewise.
4291         (simplify_giv_expr, general_induction_var): Likewise.
4292         (consec_sets_giv, recombine_givs): Likewise.
4293         (move_movables): Delete loop_start and loop_end arguments,
4294         add loop argument, and update callers.
4295         (find_mem_givs, check_final_value): Likewise.
4296         (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
4297         (loop_invariant_p): Rename from invariant_p, add loop argument, and
4298         update callers.
4299         (basic_induction_var): Add loop argument, delete loop_level argument,
4300         and update callers.
4301         * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
4302         add loop argument, and update callers.
4303         (find_splittable_regs, find_splittable_givs): Likewise.
4304         (reg_dead_after_loop, loop_find_equiv_value): Likewise.
4305         (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
4306         (biv_total_increment): Delete loop_start and loop_end arguments;
4307         update callers.
4308         (precondition_loop_p): Delete loop_start and loop_info arguments;
4309         update callers.
4310         * loop.h (get_condition_for_loop): Add loop argument.
4311         (biv_total_increment): Delete loop_start and loop_end arguments.
4312         (precondition_loop_p): Delete loop_start and loop_info arguments;
4313         add loop argument.
4314         (final_biv_value): Delete loop_start and loop_end arguments;
4315         add loop argument.
4316         (final_giv_value, back_branch_in_range_p): Likewise.
4317
4318 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
4319
4320         * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
4321
4322 2000-01-25  Gavin Romig-Koch  <gavin@cygnus.com>
4323
4324         * Makefile.in (c-gperf.h) : Change the "See" pointer to
4325         point to the new "generated_files" doc.
4326
4327 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
4328
4329         * config/fp-bit.c (_unord_f2): Fix typo.
4330
4331 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
4332
4333         * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
4334         c-typeck.c, objc/objc-act.c: Remove all references to obstack
4335         functions obsoleted by GC, such as push_obstacks_nochange,
4336         end_temporary_allocation, savealloc, saveable_tree_cons, etc.
4337         and code which existed only to decide whether or not to call
4338         them.  Remove now-unused NESTED argument from start_function;
4339         all callers changed.  Do not change behavior based on ggc_p.
4340         The use of the ixp_obstack in c-iterate.c and the util_obstack
4341         in objc/objc-act.c remain; these are not obsoleted by garbage
4342         collection.
4343         * c-tree.h: Update prototype for start_function.
4344
4345         * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
4346
4347 2000-01-25  Clinton Popetz  <cpopetz@cygnus.com>
4348
4349         * config/mips/mips.md (zero_extendsidi2_internal): Disable for
4350         mips16.
4351
4352 2000-01-25  Richard Henderson  <rth@cygnus.com>
4353
4354         * sparc-protos.h (select_cc_mode): Declare.
4355         * sparc.c (select_cc_mode): New.  Handle unordered compares.
4356         (output_cbranch): Always reverse via code change.  Handle
4357         unordered compares.  Factor tests and string updates.
4358         * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
4359         (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
4360         * sparc.md (bunordered, bordered): New.
4361         (bungt, bunlt, buneq, bunge, bunle): New.
4362
4363 2000-01-25  Richard Henderson  <rth@cygnus.com>
4364
4365         * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
4366         * ggc-common.c (ggc_add_rtx_varray_root): New.
4367         (ggc_mark_rtx_varray): New.
4368         (ggc_mark_rtx_varray_ptr): New.  Shift all ggc_mark_foo_ptr
4369         functions down below ggc_mark_foo.
4370         * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
4371
4372 2000-01-25  Richard Henderson  <rth@cygnus.com>
4373
4374         * alpha.c (secondary_reload_class): Don't allocate a secondary
4375         for integral mode memories into FLOAT_REGS.  Rearrange the more
4376         complicated memory expression inward.
4377
4378 2000-01-25  Zack Weinberg  <zack@wolery.cumb.org>
4379
4380         * inclhack.def: Fixes to play nicer with FreeBSD, and
4381         corrections to comments.
4382         (cxx_unready): Add select expression.
4383         (irix_sockaddr): Add bypass expression.
4384         (machine_ansi_h_va_list): New fix.
4385         (stdio_va_list): No need to edit _BSD_VA_LIST_.
4386         Split out addition of "#include <stdarg.h>" to...
4387         (stdio_stdarg_h): ... here.
4388         (systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
4389         to stdlib.h also.  Do not munge _BSD_SIZE_T_.
4390         (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
4391         size_t.
4392         (ultrix_ifdef): Tighten up select expression.
4393
4394         * fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
4395         re_ct and max_mach to avoid use of shell.  Make printed names
4396         match names in inclhack.def.  Use static copyright date.
4397         Don't count c_test and test expressions as requiring regex_t
4398         slots.  Add some commentary.
4399         * inclhack.tpl: Do not include the 'This script contains N
4400         fixup scripts' line if PROGRAM is defined.  Use static
4401         copyright date.
4402
4403 2000-01-24  Jason Merrill  <jason@casey.cygnus.com>
4404
4405         * dwarf2out.c: include "varray.h", not dyn-string.h.
4406         (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
4407         (addr_const_to_string, addr_to_string): Lose.
4408         (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
4409         (struct dw_val_struct): val_addr is now an rtx.
4410         (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
4411         (used_rtx_varray): New varray.
4412         (dwarf2out_init): Initialize it.
4413         (save_rtx): New fn.
4414         (mem_loc_descriptor, add_const_value_attribute): Call it instead of
4415         addr_to_string.
4416         * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
4417         sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
4418         * Makefile.in (dwarf2out.o): Update dependencies.
4419
4420 2000-01-24  Richard Henderson  <rth@cygnus.com>
4421
4422         * i386.c (i386_dwarf_output_addr_const): New.
4423         * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
4424
4425         * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
4426         if defined.
4427         * dwarfout.c (output_mem_loc_descriptor): Likewise.
4428         * i386.c (i386_simplify_dwarf_addr): New.
4429         * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
4430
4431 Mon Jan 24 16:56:10 2000  Jim Wilson  <wilson@cygnus.com>
4432
4433         * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
4434         TYPE_STUB_DECL is NULL.
4435
4436 2000-01-24  Richard Henderson  <rth@cygnus.com>
4437
4438         * builtins.c (expand_tree_builtin): Move ...
4439         * c-common.c (expand_tree_builtin): ... here.
4440
4441 2000-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4442
4443         * loop.h (LOOP_INFO): New accessor macro.
4444         * basic-block.h (struct loop): Rename field `info' to `aux'.
4445         * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
4446         (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
4447         * unroll.c (loop_iterations, unroll_loop): Likewise.
4448
4449 2000-01-24  Christopher Faylor <cgf@cygnus.com>
4450
4451         * config/i386/t-cygwin: Accomodate new winsup directory layout
4452         when searching for include files.
4453
4454 2000-01-24  Richard Henderson  <rth@cygnus.com>
4455
4456         * rtl.def: Add unordered fp comparisions.
4457         * tree.def: Likewise.
4458         * tree.h: Add ISO C 9x unordered fp comparision builtins.
4459
4460         * builtins.c (expand_tree_builtin): New function.
4461         * c-typeck.c (build_function_call): Use it.
4462         (build_binary_op): Support unordered compares.
4463         * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
4464
4465         * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
4466         (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
4467         * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
4468         (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
4469         * jump.c (reverse_condition): Don't abort for UNLE etc, but
4470         return UNKNOWN.
4471         (swap_condition): Handle unordered compares.
4472         (thread_jumps): Check can_reverse before reversing.
4473         * loop.c (get_condition): Likewise.  Allow UNORERED/ORDERED to be
4474         reversed for FP.
4475
4476         * optabs.c (can_compare_p): New argument CODE.  Verify branch or
4477         setcc is present before acking for cmp_optab.  Update all callers.
4478         (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
4479         * expmed.c (do_cmp_and_jump): Update for can_compare_p.
4480         * expr.c (expand_expr): Likewise.  Support unordered compares.
4481         (do_jump, do_store_flag): Likewise.
4482         * expr.h (enum libfunc_index): Add unordered compares.
4483
4484         * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
4485         (DPBIT_FUNCS): Add _unord_df.
4486         * config/fp-bit.c (_unord_f2): New.
4487         * fp-test.c (main): Try unordered compare builtins.
4488
4489         * alpha-protos.h (alpha_fp_comparison_operator): Declare.
4490         * alpha.c (alpha_comparison_operator): Check mode properly.
4491         (alpha_swapped_comparison_operator): Likewise.
4492         (signed_comparison_operator): Likewise.
4493         (alpha_fp_comparison_operator): New.
4494         (alpha_emit_conditional_branch): Handle unordered compares.
4495         * alpha.h (PREDICATE_CODES): Update.
4496         * alpha.md (fp compares): Use alpha_fp_comparison_operator.
4497         (bunordered, bordered): New.
4498
4499 2000-01-24  Richard Henderson  <rth@cygnus.com>
4500
4501         * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
4502         * alpha.md (movtf): New expander, insn, and splitter.
4503
4504 Mon Jan 24 19:49:47 MET 2000  Jan Hubicka  <jh@suse.cz>
4505
4506         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
4507         dead registers.
4508
4509 Mon Jan 24 17:37:31 MET 2000  Jan Hubicka  <jh@suse.cz>
4510
4511         * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
4512         (FIXED_REGISTERS, CALL_USED_REGISTERS,
4513          REG_ALLOC_ORDER): Add frame pointer
4514         (FRAME_POINTER_REGNUM): Set to 20
4515         (HARD_FRAME_POINTER_REGNUM): New macro.
4516         (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
4517         to HARD_FRAME_POINTER.
4518         (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
4519         (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
4520         (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
4521         (HI_REGISTER_NAMES): Add "frame".
4522         (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
4523         (debug_reg): Handle FRAME_POINTER_REGNUM.
4524         (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
4525         GENERAL_REGS and INDEX_REGS.
4526         * i386.c (SAVED_REGS_FIRST): new macro.
4527         (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
4528         (ix86_decompose_address, memory_address_length): Likewise.
4529         (regclass_map): Add frame pointer.
4530         (call_insn_operand): Handle frame_pointer_rtx.
4531         (reg_no_sp_operand): Likewise.
4532         (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
4533         (print_operand, legitimize_pic_address): Fix formating.
4534         (ix86_compute_frame_size): Make static, update prototype, new
4535         parameters padding1, padding2, use ix86_nsaved_regs, use
4536         stack_alignment_needed.
4537         (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
4538         to HARD_FRAME_POINTER_REGNUM conversions.
4539         (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
4540         (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
4541         (print_reg): Abort on FRAME_POINTER_REGNUM
4542
4543 Mon Jan 24 16:50:08 MET 2000  Jan Hubicka  <jh@suse.cz>
4544
4545         * i386.h (PREDICATE_CODES): Add aligned_operand.
4546         * i386.c (aligned_operand): New function.
4547         (ix86_aligned_p): Kill.
4548         * i386.md (movhi_1): Emit mov for aligned operands.
4549         (promoting peep2s): Use aligned_operand.
4550
4551 2000-01-23  Zack Weinberg  <zack@wolery.cumb.org>
4552
4553         * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
4554         expression to allow underscores in macro names.
4555         (fix_char_macro_defines): Increment scanning pointer.
4556
4557 2000-01-23  Richard Henderson  <rth@cygnus.com>
4558
4559         * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
4560         * alpha/osf5.h: New file.
4561         * configure.in (alpha-*-osf5): Add it to tm_file.
4562
4563         * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
4564
4565         * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
4566         (alpha_emit_xfloating_cvt, function_arg): Declare.
4567         * alpha.c (alpha_emit_conditional_branch): Call
4568         alpha_emit_xfloating_compare for TFmode compares.
4569         (alpha_lookup_xfloating_lib_func): New.
4570         (alpha_compute_xfloating_mode_arg): New.
4571         (alpha_emit_xfloating_libcall): New.
4572         (alpha_emit_xfloating_arith): New.
4573         (alpha_emit_xfloating_compare): New.
4574         (alpha_emit_xfloating_cvt): New.
4575         (print_operand): Add default abort case.
4576         (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
4577         * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
4578         (BIGGEST_ALIGNMENT): Increase to 128 bits.
4579         (RETURN_IN_MEMORY): True for TF/TCmode.
4580         (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
4581         (FUNCTION_ARG): Move to function_arg.
4582         (FUNCTION_ARG_PASS_BY_REFERENCE): New.
4583         (ASM_OUTPUT_LONG_DOUBLE): New.
4584         (ASM_OUTPUT_DOUBLE): Always output bits.
4585         * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
4586         (fix_trunctfdi2, floatditf2, floatunsditf2): New.
4587         (extenddftf2, trunctfdf2): New.
4588
4589 2000-01-23  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4590
4591         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
4592         * config/sparc/sol2.h: ... here.
4593
4594 2000-01-24  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4595
4596         * basic-block.h (struct loops): New field `levels'.
4597         * flow.c (flow_loops_level_compute): Traverse all outer loops.
4598         (flow_loop_level_compute): Initialise level to 1.
4599         (flow_loops_find): Set loops->levels.
4600         (flow_loops_dump): Print loops->levels.
4601
4602 2000-01-23  Richard Henderson  <rth@cygnus.com>
4603
4604         * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
4605         (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
4606
4607 2000-01-23  Richard Henderson  <rth@cygnus.com>
4608
4609         * i386.c (dbx_register_map, svr4_dbx_register_map): New.
4610         * i386.h (DBX_REGISTER_NUMBER): Use them.
4611         * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
4612         * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
4613         * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
4614         * i386/sequent.h: Kill incorrect comment.
4615
4616 2000-01-23  Mark Mitchell  <mark@codesourcery.com>
4617
4618         * ggc-page.c (struct page_entry): Make `context_depth' an
4619         `unsigned short'.
4620         (struct globals): Likewise.
4621
4622 2000-01-23  Clinton Popetz  <cpopetz@cygnus.com>
4623
4624         * loop.c (check_dbra_loop): When checking a loop for
4625         reversability, check the source of any stores to ensure
4626         they don't depend on an initial value.
4627
4628 2000-01-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4629
4630         * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
4631
4632 2000-01-22  Zack Weinberg  <zack@wolery.cumb.org>
4633
4634         * fixinc/fixincl.c: Move declarations of 'pz_fname' and
4635         'pz_scan' into scope of entire function.  Only affects
4636         compiles with -DDEBUG.
4637
4638 2000-01-22  Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
4639
4640         * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
4641         section naming to that prior to 2000-01-07 patch.
4642         * config/mips/elf.h (UNIQUE_SECTION): Ditto.
4643         * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
4644         * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
4645         * config/i386/interix.c (UNIQUE_SECTION): Ditto.
4646         * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
4647
4648 2000-01-22  Bernd Schmidt  <bernds@cygnus.co.uk>
4649
4650         * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
4651         constant.
4652
4653 2000-01-21  Jim Wilson  <wilson@cygnus.com>
4654
4655         * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
4656         * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
4657
4658 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
4659
4660         * cpphash.c (change_newlines): Delete function.
4661         (struct argdata): Delete 'newlines' and 'use_count' fields.
4662         (macroexpand): Remove code referencing those fields.
4663
4664 2000-01-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4665
4666         * loop.c (loops_info): New variable.
4667         (loop_optimize): Allocate loops->array and free it on exit.
4668         Allocate memory for loops_info and assign to each loop,
4669         replacing alloca.
4670         (find_and_verify_loops): Do not allocate loops->array.
4671
4672 2000-01-21  Zack Weinberg  <zack@wolery.cumb.org>
4673
4674         * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
4675
4676 2000-01-21  Jakub Jelinek  <jakub@redhat.com>
4677
4678         * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
4679         pseudos if expanded after first flow.
4680         (movdi_pic_label_ref): Likewise.
4681
4682 2000-01-20  Richard Henderson  <rth@cygnus.com>
4683
4684         * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
4685
4686 2000-01-20  Zack Weinberg  <zack@wolery.cumb.org>
4687
4688         * Makefile.in (fixinc.sh): Depend on specs.
4689         * fixinc/Makefile.in: Add rule to create machname.h.
4690         (fixlib.o): Depend on machname.h.
4691         * fixinc/fixtests.c (machine_name): New test.
4692         * fixinc/fixfixes.c (machine_name): New fix.
4693         * fixinc/fixlib.c (mn_get_regexps): New helper function for
4694         the machine_name test and fix.
4695         * fixinc/fixlib.h: Prototype it.
4696         * fixinc/inclhack.def (machine_name): Use the C test and fix.
4697         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
4698
4699         * gcc.c (do_spec_1) [case P]: Take care not to create
4700         identifiers with three leading or trailing underscores.
4701
4702         * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
4703         (fixincl): Don't specify libraries twice on link line.
4704         (gnu-regex.o): Remove special rule.
4705         * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
4706         defined by config.h.  Do not define _REGEX_RE_COMP.
4707         (regcomp): Allocate and initialize a fastmap.
4708         * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
4709
4710 2000-01-20  Brad Lucier  <lucier@math.purdue.edu>
4711
4712         * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
4713
4714 2000-01-19  Richard Henderson  <rth@cygnus.com>
4715
4716         * flow.c (propagate_block): Replace FIRST, LAST and BNUM
4717         arguments with BB.  Update all callers.  Tidy line wrapping.
4718
4719 2000-01-19  Clinton Popetz  <cpopetz@cygnus.com>
4720
4721         * emit-rtl.c (try_split): Return last_insn if we split the
4722         last_insn.
4723
4724 Thu Jan 20 01:01:23 MET 2000  Jan Hubicka  <jh@suse.cz>
4725
4726         * i386-protos.h (ix86_compute_frame_size): Remove prototype.
4727         (ix86_initial_elimination_offset): Declare.
4728         * i386.c (ix86_nsaved_regs): Break out from ...
4729         (ix86_can_use_return_insn_p): ... here.
4730         (ix86_emit_save_regs): Break out from ...
4731         (ix86_expand_prologue): ... here.
4732         (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
4733         out from ...
4734         (ix86_expand_epilogue): ... here.
4735         (ix86_compute_frame_size): Make static, add prototype.
4736         (ix86_initial_elimination_offset): Break out from ...
4737         * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
4738
4739 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4740
4741         * recog.h (OUT_FCN): Delete.
4742
4743         * vax.md: Call `get_insn_template' instead of OUT_FCN.
4744
4745 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4746
4747         * cppalloc.c: PROTO -> PARAMS.
4748         * cpperror.c: Likewise.
4749         * cppfiles.c: Likewise.
4750         * cpplib.c: Likewise.
4751         * cpplib.h: Likewise.
4752
4753         * config/arm/arm-protos.h: PROTO -> PARAMS.
4754         * config/arm/arm.c: Likewise.
4755         * config/c4x/c4x.c: Likewise.
4756         * config/fr30/fr30-protos.h: Likewise.
4757         * config/nextstep.c: Likewise.
4758         * config/pa/pa.c: Likewise.
4759         * config/pj/pj.c: Likewise.
4760         * config/rs6000/rs6000.c: Likewise.
4761         * config/v850/v850-protos.h: Likewise.
4762         * config/v850/v850.c: Likewise.
4763
4764 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4765
4766         * i370-protos.h: New file.
4767
4768         * i370.c: Include tm_p.h.  Fix compile time warnings.
4769
4770         * i370.h: Move prototypes to i370-protos.h.  Fix compile time
4771         warnings.
4772
4773         * i370.md: Likewise.
4774
4775 2000-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4776
4777         * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
4778         (target_isinf, target_isnan, eisnan): Mark parameter with
4779         ATTRIBUTE_UNUSED.
4780         (eiisinf): Wrap in INFINITY.
4781         (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
4782         (ibmtoe): Remove unused variable `rndsav'.
4783
4784 Wed Jan 19 20:23:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4785
4786         * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
4787         (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
4788
4789 2000-01-19  Zack Weinberg  <zack@wolery.cumb.org>
4790
4791         * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
4792         * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
4793         (fix_char_macro_defines, fix_char_macro_uses): New functions.
4794
4795         * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
4796         Recognize Emacs mode markers also.
4797         * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
4798         C++ comments in C++ headers.  Call is_cxx_header only if
4799         necessary.
4800
4801         * fixinc/inclhack.def (avoid_bool): Add select for the problem and
4802         bypass for ncurses.
4803         (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
4804         (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
4805         ... these, which use the new C fixes.
4806         (math_exception): Escape literal '+' in bypass expression.
4807
4808         * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
4809         Regenerate.
4810
4811 2000-01-19  Geoff Keating  <geoffk@cygnus.com>
4812
4813         * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
4814         inside the MEM.
4815
4816 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4817
4818         * loop.c (loop_optimize): Allocate loop_info structure for each loop
4819         prior to calling scan_loop.
4820
4821 Wed Jan 19 19:54:38 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4822
4823         * sh.c (find_barrier, gen_block_redirect): Fix indentation.
4824         (split_branches, calc_live_regs): Likewise.
4825
4826 Wed Jan 19 19:12:36 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
4827
4828         * sh.md (fpu_single, fp_mode): New attributes.
4829
4830 2000-01-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4831
4832         * loop.c (current_loop_info): Renamed from loop_info_data
4833         and changed to a pointer.
4834         (loop_optimize): Allocate loop_info structure for each loop
4835         and initialise to zero.
4836         (scan_loop): Set current_loop_info.
4837
4838         * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
4839         on iteration_var.
4840
4841 2000-01-19  Richard Henderson  <rth@cygnus.com>
4842
4843         * stupid.c: Die die die.
4844         * Makefile.in (OBJS): Remove stupid.o.
4845         (stupid.o): Likewise.
4846
4847         * except.c (emit_eh_context): Don't emit USEs for stupid.
4848         * explow.c (probe_stack_range): Likewise.
4849         * flags.h (obey_regdecls): Remove.
4850         * flow.c (find_basic_blocks): Don't run try_merge_blocks
4851         when not optimizing.
4852         (life_analysis): Limit data collection when not optimizing.
4853         (mark_regs_live_at_end): Always mark the return value registers.
4854         (mark_used_regs): Remove dummy RETURN case.
4855         (print_rtl_with_bb): Don't consult obey_regdecls.
4856         * function.c (use_variable, use_variable_after): Remove.
4857         (assign_parms): Consult optimize not obey_regdecls.
4858         (expand_function_start): Don't emit USEs for stupid.
4859         (expand_function_end): Likewise.
4860         * global.c (build_insn_chain): Export.
4861         * integrate.c (expand_inline_function): Kill return-value USE
4862         handling code.
4863         * jump.c (jump_optimize_1): Do simple jump optimizations and
4864         dead code elimination.
4865         (calculate_can_reach_end): Remove check_deleted argument.
4866         (delete_insn): Patch out insns even when not optimizing.
4867         * local-alloc.c (block_alloc): Don't do tying when not optimizing.
4868         * rtl.h (use_variable, use_variable_after): Remove declarations.
4869         (build_insn_chain): Declare.
4870         * stmt.c (expand_value_return): Don't emit USEs for stupid.
4871         (expand_end_bindings): Likewise.
4872         (expand_decl): Likewise.  Consult optimize not obey_regdecls.
4873         * toplev.c (obey_regdecls): Remove.
4874         (rest_of_compilation): Don't set it.  Kill stupid in favour of
4875         flow1, local-alloc, and reload.
4876         (main): Don't set obey_regdecls.
4877
4878         * config/nextstep.c (handle_pragma): Likewise.
4879
4880         * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
4881
4882         * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
4883
4884 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4885
4886         * alpha-protos.h: PROTO -> PARAMS.
4887         * alpha.c: Likewise.
4888         * elf.h: Likewise.
4889         * h8300.c: Likewise.
4890         * i386-protos.h: Likewise.
4891         * i386.c: Likewise.
4892         * m32r-protos.h: Likewise.
4893         * m32r.c: Likewise.
4894         * mips.c: Likewise.
4895         * mips.md: Likewise.
4896         * gmon-sol2.c: Likewise.
4897         * sparc.c: Likewise.
4898
4899 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4900
4901         * ns32k-protos.h: New file.
4902
4903         * ns32k.c: Fix compile time warnings.
4904
4905         * ns32k.h: Move prototypes to ns32k-protos.h.  Fix compile time
4906         warnings.
4907
4908         * ns32k.md: Likewise.
4909
4910 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4911
4912         * vax-protos.h: New file.
4913
4914         * vax.c: Fix compile time warnings.
4915
4916         * vax.h: Move prototypes to vax-protos.h.  Fix compile time
4917         warnings.
4918
4919         * vax.md: Likewise.
4920
4921         * vaxv.md: Likewise.
4922
4923 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4924
4925         * romp-protos.h: New file.
4926
4927         * romp.c: Fix compile time warnings.
4928
4929         * romp.h: Move prototypes to romp-protos.h.  Fix compile time
4930         warnings.
4931
4932         * romp.md: Likewise.
4933
4934 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4935
4936         * we32k-protos.h: New file.
4937
4938         * we32k.c: Fix compile time warnings.
4939
4940         * we32k.h: Move prototypes to we32k-protos.h.  Fix compile time
4941         warnings.
4942
4943 2000-01-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4944
4945         * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
4946
4947         * except.c (eh_regs): Likewise.
4948
4949         * final.c (output_operand): Likewise.
4950
4951         * fold-const.c (target_isinf, target_isnan): Likewise.
4952
4953 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
4954
4955         * i386.h (BIGGEST_ALIGNMENT): Set to 128.
4956         (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
4957
4958         * i386.md (memstr): Do not use rep stosb for counts divisible by 4
4959         when optimize_size.
4960         (clrstrsi): Rewrite.
4961         (strsethi, strsetqi): New expanders.
4962         (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
4963         (cmpstrsi): Emit compare insn before cmpstrsi_1
4964         (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
4965         (strlensi_1): Likewise.
4966         (cmpstrsi_1): Likewise; do not output compare.
4967         (strlen expander): Do not unroll when optimizing for size.
4968         (*subsi3_carry): Rename to subsi3_carry
4969         (addqi3_cc): New pattern.
4970         * i386.h (processor_costs): Add move_ratio field.
4971         (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
4972         * i386.c (*_cost): Set move_ratio.
4973         (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
4974         (x86_expand_strlensi_1): Rewrite the main loop.
4975
4976 2000-01-17  Richard Henderson  <rth@cygnus.com>
4977
4978         * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
4979         * cse.c (find_comparison_args, fold_rtx): Likewise.
4980         * integrate.c (subst_constants): Likewise.
4981         * loop.c (get_condition): Likewise.
4982
4983         * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
4984
4985         * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
4986
4987 2000-01-18  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
4988
4989         * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
4990         (RESTORE_WARN_FLAGS): Unpack it.
4991         Change semantic type of extension to ttype.
4992         * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
4993         * c-parse.y, c-parse.c, objc/objc-parse.y,
4994         objc/objc-parse.c: Regenerate.
4995
4996 2000-01-17  Zack Weinberg  <zack@wolery.cumb.org>
4997
4998         * fixinc/fixlib.c: Add copyright notice.
4999         (compile_re): New function.
5000         * fixinc/fixlib.h: Prototype compile_re.
5001
5002         * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
5003         Use compile_re to compile regular expressions.
5004
5005         * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
5006         where the pattern matched.
5007
5008         * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
5009         use 'replace'.
5010         (ultrix_ansi_compat): Likewise.
5011         (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
5012         add egrep test.
5013         (interactv_add2, interactv_add3): Delete.
5014         (x11_sprintf): Don't use filename glob.
5015         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
5016         Regenerate.
5017
5018 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5019
5020         * print-rtl.c: PROTO -> PARAMS.
5021         * real.c: Likewise.
5022         * reg-stack.c: Likewise.
5023         * resource.c: Likewise.
5024         * sdbout.h: Likewise.
5025         * simplify-rtx.c: Likewise.
5026         * stor-layout.c: Likewise.
5027         * stupid.c: Likewise.
5028         * xcoffout.c: Likewise.
5029         * xcoffout.h: Likewise.
5030
5031 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5032
5033         * toplev.c: PROTO -> PARAMS.
5034         * toplev.h: Likewise.
5035         * tree.c: Likewise.
5036         * tree.h: Likewise.
5037         * unroll.c: Likewise.
5038         * varasm.c: Likewise.
5039         * varray.c: Likewise.
5040         * varray.h: Likewise.
5041
5042 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5043
5044         * reload.c: PROTO -> PARAMS.
5045         * reload.h: Likewise.
5046         * reload1.c: Likewise.
5047         * reorg.c: Likewise.
5048         * resource.h: Likewise.
5049         * rtl.c: Likewise.
5050         * rtl.h: Likewise.
5051         * rtlanal.c: Likewise.
5052         * sbitmap.h: Likewise.
5053         * sdbout.c: Likewise.
5054         * stack.h: Likewise.
5055         * stmt.c: Likewise.
5056         * system.h: Likewise.
5057
5058 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5059
5060         * machmode.h: PROTO -> PARAMS.
5061         * mbchar.h: Likewise.
5062         * mips-tdump.c: Likewise.
5063         * mips-tfile.c: Likewise.
5064         * optabs.c: Likewise.
5065         * output.h: Likewise.
5066         * prefix.c: Likewise.
5067         * profile.c: Likewise.
5068         * protoize.c: Likewise.
5069         * real.h: Likewise.
5070         * recog.c: Likewise.
5071         * recog.h: Likewise.
5072         * regclass.c: Likewise.
5073         * regmove.c: Likewise.
5074         * regs.h: Likewise.
5075
5076 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5077
5078         * ggc-common.c: PROTO -> PARAMS.
5079         * ggc-page.c: Likewise.
5080         * ggc-simple.c: Likewise.
5081         * ggc.h: Likewise.
5082         * global.c: Likewise.
5083         * graph.c: Likewise.
5084         * gthr-win32.h: Likewise.
5085         * haifa-sched.c: Likewise.
5086         * halfpic.h: Likewise.
5087         * integrate.c: Likewise.
5088         * integrate.h: Likewise.
5089         * jump.c: Likewise.
5090         * lcm.c: Likewise.
5091         * local-alloc.c: Likewise.
5092         * loop.c: Likewise.
5093         * loop.h: Likewise.
5094
5095 2000-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5096
5097         * genattr.c: PROTO -> PARAMS.
5098         * genattrtab.c: Likewise.
5099         * gencheck.c: Likewise.
5100         * gencodes.c: Likewise.
5101         * genconfig.c: Likewise.
5102         * genemit.c: Likewise.
5103         * genextract.c: Likewise.
5104         * genflags.c: Likewise.
5105         * gengenrtl.c: Likewise.
5106         * genopinit.c: Likewise.
5107         * genoutput.c: Likewise.
5108         * genpeep.c: Likewise.
5109         * genrecog.c: Likewise.
5110
5111 2000-01-16  Mark Mitchell  <mark@codesourcery.com>
5112
5113         * tree.h (BINFO_VPTR_FIELD): Augment documentation.
5114
5115 2000-01-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5116
5117         * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
5118         * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
5119         * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
5120         * configure, config.in: Rebuilt.
5121
5122 2000-01-16  Zack Weinberg  <zack@wolery.cumb.org>
5123
5124         * config/i386/i386.md: Add peephole to merge successive stack
5125         adjusts.
5126
5127 Sat Jan 15 15:41:14 EST 2000  John Wehle  (john@feith.com)
5128
5129         * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
5130         instead of emit_insn_before.  Also handle NOTE_INSN_BASIC_BLOCK
5131         when walking backwards to find all the parameter loads when
5132         the basic block ends in a call.
5133
5134 2000-01-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5135
5136         * loop.c (this_loop_info): Delete.
5137         (uid_loop): Add in place of uid_loop_num.  All uses updated.
5138         (loop_number_exit_count): Delete and replace with entry in loop
5139         structure.  All uses updated.
5140         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
5141         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
5142         (loop_outer_loop): Likewise.
5143         (loop_invalid, loop_number_exit_labels): Likewise.
5144         (loop_used_count_register): Delete and replace with entry in
5145         loop_info structure.
5146         (find_and_verify_loops): Add loops argument.
5147         (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
5148         loop_end, etc. arguments with loop structure pointer.  All callers
5149         changed.
5150         (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
5151         (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
5152         (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
5153         (insert_bct): Likewise.
5154         (basic_induction_var): New argument level.
5155         * loop.h (struct loop_info): Delete fields num, loops_enclosed,
5156         vtop, and cont.  Add used_count_register.
5157         (uid_loop): Delete declaration.
5158         (loop_number_exit_count): Likewise.
5159         (loop_number_loop_starts, loop_number_loop_ends): Likewise.
5160         (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
5161         (loop_outer_loop, loop_used_count_register): Likewise.
5162         (loop_invalid, loop_number_exit_labels): Likewise.
5163         (unroll_loop): Replace loop_start and loop_end arguments
5164         with loop structure pointer.
5165         (loop_precondition_p, loop_iterations): Likewise.
5166         Include basic-block.h.
5167         * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
5168         with loop structure pointer.
5169         (loop_precondition_p, loop_iterations): Likewise.
5170         * basic-block.h (struct loop): New entries vtop, cont,
5171         cont_dominator, start, end, top, scan_start, exit_labels,
5172         exit_count.
5173         * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
5174
5175 2000-01-15  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5176
5177         * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
5178
5179 2000-01-14  Nathan Sidwell  <sidwell@codesourcery.com>
5180
5181         * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
5182
5183 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5184
5185         * pdp11-protos.h: New file.
5186
5187         * pdp11.c: Include tm_p.h.  Add static prototypes.  Fix compile
5188         time warnings.
5189
5190         * pdp11.h: Move prototypes to pdp11-protos.h.  Fix compile time
5191         warnings.
5192
5193         * pdp11.md: Likewise.
5194
5195         * 2bsd.h: Likewise.
5196
5197 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5198
5199         * mn10300-protos.h: New file.
5200
5201         * mn10300.c: Include tm_p.h.  Add static prototypes.  Fix compile
5202         time warnings.
5203
5204         * mn10300.h: Move prototypes to mn10300-protos.h.  Fix compile time
5205         warnings.
5206
5207         * mn10300.md: Likewise.
5208
5209 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5210
5211         * mn10200-protos.h: New file.
5212
5213         * mn10200.c: Include tm_p.h.  Add static prototypes.  Fix compile
5214         time warnings.
5215
5216         * mn10200.h: Move prototypes to mn10200-protos.h.  Fix compile time
5217         warnings.
5218
5219         * mn10200.md: Likewise.
5220
5221 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5222
5223         * h8300-protos.h: New file.
5224
5225         * h8300.c: Include tm_p.h.  Add static prototypes.  Fix compile
5226         time warnings.
5227
5228         * h8300.h: Move prototypes to h8300-protos.h.  Fix compile time
5229         warnings.
5230
5231         * h8300.md: Likewise.
5232
5233 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5234
5235         * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
5236         (asm_emit_uninitialised): Likewise.
5237
5238 2000-01-13  Gavin Romig-Koch  <gavin@cygnus.com>
5239
5240         * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
5241         * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
5242
5243 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
5244
5245         * config/mips/mips.c (override_options): Don't turn on extra
5246         alignment for mips16.
5247
5248 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
5249
5250         * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
5251         eabi, and make sure queued POSTINCREMENT rtl is emitted at
5252         the right point.
5253
5254 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
5255
5256         * builtins.c (PAD_VARARGS_DOWN): Define.
5257         (std_expand_builtin_va_arg): Use the above macro.
5258         * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
5259         * tm.texi (Register Arguments): Document the above macro.
5260
5261 2000-01-14  Nick Clifton  <nickc@cygnus.com>
5262
5263         * emit-rtl.c (emit_insn): If checking is enabled, make sure
5264         that this function has not been used to emit a jump
5265         instruction.
5266
5267         * jump.c (return_jump_1): Cope with being passed a null rtx.
5268
5269 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5270
5271         * eh-common.h: PROTO -> PARAMS.
5272         * emit-rtl.c: Likewise.
5273         * errors.c: Likewise.
5274         * errors.h: Likewise.
5275         * except.c: Likewise.
5276         * except.h: Likewise.
5277         * explow.c: Likewise.
5278         * expmed.c: Likewise.
5279         * expr.c: Likewise.
5280         * expr.h: Likewise.
5281         * final.c: Likewise.
5282         * fix-header.c: Likewise.
5283         * flow.c: Likewise.
5284         * fold-const.c: Likewise.
5285         * function.c: Likewise.
5286         * function.h: Likewise.
5287         * gcc.c: Likewise.
5288         * gcov-io.h: Likewise.
5289         * gcov.c: Likewise.
5290         * gcse.c: Likewise.
5291
5292 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5293
5294         * sh-protos.h: New file.
5295
5296         * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
5297         Add static prototypes.  Fix compile time warnings.
5298
5299         * sh.h: Move prototypes to sh-protos.h.  Fix compile time warnings.
5300         * sh.md: Likewise.
5301         * elf.h: Likewise.
5302
5303 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5304
5305         * arc-protos.h: New file.
5306
5307         * arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
5308         time warnings.
5309
5310         * arc.h: Move prototypes to arc-protos.h.  Fix compile time
5311         warnings.
5312
5313         * arc.md: Likewise.
5314
5315 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5316
5317         * dsp16xx-protos.h: New file.
5318
5319         * dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
5320         time warnings.
5321
5322         * dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
5323         warnings.
5324
5325         * dsp16xx.md: Likewise.
5326
5327 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5328
5329         * convex-protos.h: New file.
5330
5331         * convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
5332         time warnings.
5333
5334         * convex.h: Move prototypes to convex-protos.h.  Fix compile time
5335         warnings.
5336
5337 2000-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5338
5339         * elxsi-protos.h: New file.
5340
5341         * elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
5342         time warnings.
5343
5344         * elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
5345         warnings.
5346
5347         * elxsi.md: Likewise.
5348
5349 2000-01-14  Clinton Popetz  <cpopetz@cygnus.com>
5350
5351         * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
5352         case for moving from HI/LO/HI_LO_REG.  This makes the behavior
5353         match the comment for MIPS16.
5354
5355 Fri Jan 14 00:28:06 2000  Jeffrey A Law  (law@cygnus.com)
5356
5357         * flow.c (split_edge): Do not call set_block_for_insn if we
5358         do not have a basic_block_for_insn structure.
5359
5360         * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
5361         and destination functions are 32bit aligned within the trampoline.
5362         (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
5363         (TRAMPOLINE_ALIGNMENT): Define.
5364
5365         * cse.c (cse_insn): When changing (set (pc) (reg)) to
5366         (set (pc) (label_ref)), verify the change creates a valid insn.
5367
5368         * fr30.c (call_operand): Tighten and rework to match rules for
5369         call RTL expressions.
5370         * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
5371         * fr30.md (call patterns): Improve constraints.
5372
5373 Thu Jan 13 23:44:03 2000  Richard Henderson  <rth@cygnus.com>
5374
5375         * fr30.c (fr30_expand_epilogue): Revert last change.
5376         Use emit_jump_insn for the return insn.
5377
5378 Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
5379                           Stan Cox  <scox@cygnus.com>
5380
5381         * predict.c: New file. Preliminary infrastructure work for static
5382         branch prediction and basic block reordering.
5383         * basic-block.h: Add prototype for estimate_probability.
5384         * Makefile.in: Add rules for predict.o.
5385
5386 2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
5387
5388         * fixincludes (va_list): Use __not_va_list__ for the dummy.
5389         * fixinc/*: Likewise.
5390
5391 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5392
5393         * cccp.c: PROTO -> PARAMS.
5394         * cexp.y: Likewise.
5395         * collect2.c: Likewise.
5396         * combine.c: Likewise.
5397         * convert.h: Likewise.
5398         * cse.c: Likewise.
5399         * dbxout.c: Likewise.
5400         * dbxout.h: Likewise.
5401         * diagnostic.c: Likewise.
5402         * doprint.c: Likewise.
5403         * dwarf2out.c: Likewise.
5404         * dwarf2out.h: Likewise.
5405         * dwarfout.c: Likewise.
5406         * dwarfout.h: Likewise.
5407         * dyn-string.h: Likewise.
5408
5409 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5410
5411         * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
5412         macro conditionals guarding use.
5413
5414         * dwarf2out.c: Include "tm_p.h".
5415
5416         * function.c (locate_and_pad_parm): Mark parameter with
5417         ATTRIBUTE_UNUSED.
5418         (expand_function_end): Likewise for variable `context'.
5419
5420         * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
5421
5422 2000-01-13  Nick Clifton  <nickc@cygnus.com>
5423
5424         * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
5425         register to prevent compile time warnings.
5426
5427 2000-01-13  Zack Weinberg  <zack@wolery.cumb.org>
5428
5429         * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
5430         to avoid -Wtraditional warning.
5431
5432 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5433
5434         * 1750a-protos.h: New file.
5435
5436         * 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
5437         time warnings.
5438
5439         * 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
5440         warnings.
5441
5442         * 1750a.md: Likewise.
5443
5444 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5445
5446         * a29k-protos.h: New file.
5447
5448         * a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
5449         time warnings.
5450
5451         * a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
5452         warnings.
5453
5454 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5455
5456         * clipper-protos.h: New file.
5457
5458         * clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
5459         time warnings.
5460
5461         * clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
5462         warnings.
5463
5464 Thu Jan 13 16:03:06 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
5465
5466         * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
5467
5468 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
5469
5470         * configure.in (--enable-new-gxx-abi): New option.
5471         * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
5472         * Makefile.in (GXX_ABI_FLAG): New variable.
5473         * configure: Regenerate.
5474
5475 2000-01-13  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5476
5477         * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
5478         * tm.texi (FORCE_STRUCT_BLK): Document.
5479         * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
5480
5481 Wed Jan 12 23:12:47 2000  Hans-Peter Nilsson  <hp@axis.com>
5482
5483         * config/ns32k/ns32k.md: Revert Jan 9 change.
5484
5485         * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
5486         to a mode-test, if the predicate is address_operand.
5487
5488 Wed Jan 12 22:34:00 2000  Jeffrey A Law  (law@cygnus.com)
5489
5490         * combine.c (if_then_else_cond): Be careful about what kinds
5491         of RTL expressions are passed to operand_subword.
5492
5493         * flow.c (split_edge): If we have to insert a new jump, make
5494         sure to associate it with a basic block.
5495
5496         * flow.c (commit_one_edge_insertion): A block with one successor
5497         can end in a JUMP_INSN that is not a simplejump.
5498
5499 2000-01-12  Robert Lipe  <robertl@sco.com>
5500
5501         * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
5502         (BUILD_VA_LIST_TYPE): Define.
5503         (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
5504         with crtstuff.c.
5505
5506 2000-01-12  Jason Merrill  <jason@casey.cygnus.com>
5507
5508         * cccp.c (do_pragma): Add cast to (char *).
5509
5510 2000-01-12  Richard Henderson  <rth@cygnus.com>
5511             Fred Fish  <fnf@be.com>
5512             Jason Merrill  <jason@cygnus.com>
5513
5514         * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
5515         * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
5516         * i386/beos-elf.h, i386/beos-pe.h: New files.
5517
5518         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
5519         * cross-make (SYSTEM_HEADER_DIR): Define using
5520         CROSS_SYSTEM_HEADER_DIR.
5521
5522         * gcc.c (LIBRARY_PATH_ENV): Provide default.
5523         (process_command): Use it.
5524         (main): Likewise.  Kill trailing = from env vars.
5525         (build_search_list): Put it back.
5526         * collect2.c (main): Use LIBRARY_PATH_ENV.
5527
5528         * configure.in (GCC_NEED_DECLARATIONS): Add environ.
5529         * toplev.c: Use NEED_DECLARATION_ENVIRON.
5530
5531         * tm.texi (Frame Layout): Document SMALL_STACK.
5532         * c-common.c (c_common_nodes_and_builtins): Check it.
5533
5534         * system.h: Undef alloca after including glibc's <stdlib.h>,
5535         if USE_C_ALLOCA is defined.
5536
5537         * gcc.c (set_input): New fn.
5538         (main): After all input files are compiled, reset the input file
5539         info to the first.
5540
5541         * aclocal.m4 (rindex, index): If already defined, don't attempt
5542         to redefine.
5543
5544         * ginclude/varargs.h: (__va_list__): Define ifndef.
5545         * ginclude/stdarg.h: Likewise.
5546
5547         * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
5548         instead of unsigned char.
5549
5550         * hash.h (true, false, boolean): Undef before enum.
5551
5552         * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
5553         proper type of "HOST_WIDE_INT *", rather than their natural type of
5554         "unsigned HOST_WIDE_INT *".
5555
5556 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5557
5558         * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
5559
5560         * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
5561
5562         * regclass.c (choose_hard_reg_mode): Likewise.
5563
5564         * reload.c (find_valid_class, strict_memory_address_p): Likewise.
5565
5566         * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
5567
5568 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5569
5570         * c-common.c: PROTO -> PARAMS.
5571         * c-common.h: Likewise.
5572         * c-decl.c: Likewise.
5573         * c-iterate.c: Likewise.
5574         * c-lang.c: Likewise.
5575         * c-lex.c: Likewise.
5576         * c-lex.h: Likewise.
5577         * c-parse.in: Likewise.
5578         * c-pragma.c: Likewise.
5579         * c-pragma.h: Likewise.
5580         * c-tree.h: Likewise.
5581         * c-typeck.c: Likewise.
5582         * objc/objc-act.c: Likewise.
5583         * objc/objc-act.h: Likewise.
5584
5585 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5586
5587         * m88k-protos.h: New file.
5588
5589         * m88k.c: Include tm_p.h.  Add static prototypes.  Fix compile
5590         time warnings.
5591
5592         * m88k.h: Move prototypes to m88k-protos.h.  Fix compile time warnings.
5593
5594         * m88k.md: Likewise.
5595
5596         * tekXD88.h: Likewise.
5597
5598 2000-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5599
5600         * m68k-protos.h: New file.
5601
5602         * m68k.c: Include tm_p.h.  Add static prototypes.  Fix compile
5603         time warnings.
5604
5605         * m68k.h: Move prototypes to m68k-protos.h.  Fix compile time warnings.
5606
5607         * mot3300.h: Likewise.
5608
5609 2000-01-12  Richard Earnshaw <rearnsha@arm.com>
5610
5611         * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
5612         extract_bitlst.
5613         (extract_bitlist): Declare bitlen.
5614
5615 2000-01-12  Zack Weinberg  <zack@wolery.cumb.org
5616
5617         * cccp.c: Accept and ignore -lang-fortran.
5618
5619         * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
5620         qualifiers don't match at any level of pointerness.
5621
5622 2000-01-12  Robert Lipe  <robertl@sco.com>
5623
5624         * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
5625
5626 2000-01-12  Bernd Schmidt  <bernds@cygnus.co.uk>
5627
5628         * reload1.c (reload_reg_unavailable): New static variable.
5629         (reload_reg_free_p): Test it.
5630         (reload_reg_free_for_value_p): Test it instead of
5631         reload_reg_used.
5632         (choose_reload_regs_init): Compute it.
5633
5634 Wed Jan 12 03:24:41 2000  Toshiyasu Morita (toshi.morita@sega.com)
5635
5636         * reorg.c (fill_slots_from_thread): Check modified_in_p
5637         before replacing.
5638
5639 Wed Jan 12 03:20:31 2000  John Marshall <john_w_marshall@palm.com>
5640
5641         * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
5642         these nodes even if INTERNALS is not set.
5643
5644 Wed Jan 12 09:39:22 2000  Nick Burrett  <nick.burrett@btinternet.com>
5645
5646         * gcse.c (delete_null_pointer_checks_1): Cope when
5647         get_condition cannot determine the condition.
5648
5649 2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>
5650
5651         * toplev.h (set_message_length): Declare.
5652
5653         * diagnostic.c (obstack_chunk_alloc): Define macro.
5654         (obstack_chunk_free): Likewise.
5655         (struct output_buffer): New data structure.
5656         (vmessage): Remove.
5657         (output_maximum_width): New variable.
5658         (doing_line_wrapping, set_message_length, init_output_buffer,
5659         get_output_prefix, output_space_left, emit_output_prefix,
5660         output_newline, output_append, output_puts, dump_output,
5661         vbuild_message_string, build_message_string, build_location_prefix,
5662         voutput_notice, output_printf, line_wrapper_printf,
5663         vline_wrapper_message_with_location):  New functions. Implement
5664         automatic line wrapping.
5665         (v_message_with_decl): Make it handle automatic line wrapping.
5666         (v_error_with_file_and_line): Likewise.
5667         (v_warning_with_file_and_line): Likewise.
5668         (announce_function): Likewise.
5669         (default_print_error_function): Likewise.
5670
5671 2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>
5672
5673         * cpplib.h (struct cpp_options): Change lang_asm to char.
5674         Add lang_fortran.
5675         * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
5676         done in cpp_handle_option now.
5677         (initialize_builtins): Take out special case code used only by
5678         __STDC_VERSION__.
5679         (cpp_handle_option): Turn off trigraphs and trigraph warnings
5680         if -traditional.  Recognize -lang-fortran and set
5681         lang_fortran, also turn off cplusplus_comments.
5682         (print_help): Document -lang-fortran.
5683         * cpplib.c (handle_directive): Ignore `# 123 "file"' if
5684         lang_asm. Ignore all directives other than `# 123 "file"' if
5685         CPP_PREPROCESSED.
5686         (cpp_get_token): If -traditional, don't recognize directives
5687         unless the # is in column 1.
5688         (parse_string): If lang_fortran or lang_asm, silently
5689         terminate strings ('' or "") at end of line.
5690         Remove unnecessary braces.
5691
5692 2000-01-11  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5693             Richard Henderson  <rth@cygnus.com>
5694
5695         * resource.c (mark_referenced_resources): Mark a set strict_low_part
5696         as used.
5697         * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
5698         strict_low_part when possible.
5699
5700 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5701
5702         * alias.c: PROTO -> PARAMS.
5703         * basic-block.h: Likewise.
5704         * bitmap.c: Likewise.
5705         * bitmap.h: Likewise.
5706         * builtins.c: Likewise.
5707         * c-aux-info.c: Likewise.
5708         * caller-save.c: Likewise.
5709         * calls.c: Likewise.
5710
5711 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5712
5713         * Makefile.in (toplev.o): Depend on regs.h.
5714
5715         * output.h (tdesc_section): Prototype.
5716
5717         * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
5718
5719         * sdbout.c: Include "tm_p.h".
5720
5721         * toplev.c: Include "regs.h".
5722
5723 Tue Jan 11 11:37:58 2000  Mike Stump  <mrs@wrs.com>
5724
5725         * unroll.c (unroll_loop): Add EH support.
5726
5727 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5728
5729         * pa-protos.h: New file.
5730
5731         * pa.c: Include recog.h and tm_p.h.
5732         (compute_zdepwi_operands, compute_movstrsi_length,
5733         remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
5734         find_addr_reg, import_milli): Add static prototypes.
5735         (pa_cpu_string, pa_arch_string): Constify a char*.
5736         (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
5737         (read_only_operand): Add argument `mode'.
5738         (singlemove_string, output_move_double, output_fp_move_double,
5739         output_block_move, output_and, output_ior, output_ascii,
5740         remove_useless_addtr_insns, milli_names, output_mul_insn,
5741         output_div_insn, output_mod_insn, output_arg_descriptor,
5742         output_cbranch, output_bb, output_bvb, output_dbra, ,
5743         output_millicode_call, output_call, hppa_encode_label,
5744         output_parallel_movb, output_parallel_addb): Constify a char*.
5745         (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
5746         (output_parallel_addb): Remove extra arg to `constrain_operands'
5747
5748         * pa.h:  Move all prototypes to pa-protos.h.
5749         (pa_cpu_string, pa_arch_string): Constify a char*.
5750         (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
5751
5752         * pa.md: Call `function_label_operand' with mode argument.
5753         Likewise for `read_only_operand'.
5754         Fix nesting of parens in call to `symbolic_operand'.
5755
5756 2000-01-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5757
5758         * i860-protos.h: New file.
5759
5760         * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
5761         time warnings.
5762
5763         * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.
5764
5765         * i860.md: Likewise.
5766
5767 Tue Jan 11 18:59:35 MET 2000  Jan Hubicka <jh@suse.cz>
5768
5769         * i386.md (movstrsi expander): Rewrite.
5770         (movstrsi_1 insn): Deleted.
5771         (strmovhi, strmovqi expander): New expanders.
5772         (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
5773         * i386.c (x86_single_stringop): New global variable.
5774         * i386.h (x86_single_stringop): Declare.
5775         (TARGET_SINGLE_STRINGOP): New macro.
5776
5777 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
5778
5779         * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
5780         integer vararg POSTINCREMENT before the destination of the jump
5781         for the hard fp case.
5782         (function_arg_pass_by_reference): Pass a copy of CUM to
5783         FUNCTION_ARG.
5784
5785         * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
5786         for CONSTANT_ADDRESS_P above while loop for subreg.
5787
5788 2000-01-11  Clinton Popetz  <cpopetz@cygnus.com>
5789
5790         * flow.c (propagate_block): When a prologue/epilogue insn
5791         is marked dead, unconditionally clear libcall_is_dead and
5792         insn_is_dead, and only dump rtl if warnings aren't being
5793         suppressed.
5794
5795 Tue Jan 11 16:26:47 MET 2000  Jan Hubicka <jh@suse.cz>
5796
5797         * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
5798         * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
5799         (FIXED_REGISTERS): Set dirflag as fixed.
5800         (CALL_USED_REGISTERS): Set dirflag as used.
5801         (REG_ALLOC_ORDER): Set dirflag as last one.
5802         (DIRFLAG_REG): New macro.
5803         (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
5804         (HI_REGISTER_NAMES): Add dirflag.
5805         (DEBUF_PRINT_REG): Handle dirflag.
5806         * i386.md (type attribute): New cld and str types.
5807         (length_opcode attribute): Set cld and str to 1.
5808         (memory attribute): Set str to unknown - it is not clear from the
5809         patterns.
5810         (pent_np function unit): Prefixed string operations takes 12 cycles
5811         minimally; cld takes 2 cycles.
5812         (ppro_uops attribute): Str is "many" and cld is "few".
5813         (ppro_p0 unit): Handle cld here.
5814         (k6_alux unit): Handle cld and str types.
5815         (k6_load unit): It is ocupied by str opcodes.
5816         (k6_store unit): It is ocupied by str opcodes.
5817         (athlon_decode): Str is vector decoded.
5818         (athlon_ieu): Handle str and cld.
5819         (cld pattern): New.
5820         (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
5821         (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
5822         cmpstrsi_nz_1 insn): Do not output cld instruction
5823
5824 Tue Jan 11 06:14:39 2000  David Starner <dstarner98@aasaa.ofe.org>
5825
5826         * gcc.texi (G++ and GCC): Add Java and Chill.
5827         (Bug Critera): Don't list languages.
5828
5829         * gcc.texi (Incompatibilities): No longer claim most C compilers
5830         are K&R.
5831
5832         * gcc.texi (G++ and GCC): Update other front-ends list.
5833
5834 Tue Jan 11 05:49:01 2000  Jeffrey A Law  (law@cygnus.com)
5835
5836         * i386.c (ix86_expand_setcc): Fix typo.
5837         (ix86_expand_movcc): Similarly.
5838
5839         * Band-aid until haifa's bitset implementation is nuked.
5840         * haifa-sched.c (extract_bitlst): New parameter for size of the
5841         bitset in bits.  All callers changed.  Avoid looking at undefined
5842         bits in the bitset.
5843         (edgeset_bitsize): New variable.
5844         (schedule_region): Initialize edgeset_bitsize.
5845
5846 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5847
5848         * Makefile.in (optabs.o): Depend on real.h
5849         (resource.o): Depend on insn-attr.h
5850
5851         * builtins.c (result_vector): Wrap prototype in macro conditions
5852         governing definition and use.
5853
5854         * c-common.c: Include tm_p.h.
5855
5856         * c-lex.c: Likewise.
5857
5858         * elfos.h: Constify a char*.
5859
5860         * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
5861         (get_attr_length, shorten_branches, profile_after_prologue): Mark
5862         parameter with ATTRIBUTE_UNUSED.
5863
5864         * fold-const.c (exact_real_inverse): Wrap variable `i' in
5865         CHECK_FLOAT_VALUE.
5866
5867         * haifa-sched.c (schedule_insns): Mark parameter with
5868         ATTRIBUTE_UNUSED.
5869
5870         * optabs.c: Include real.h.
5871
5872         * real.h (ereal_atof): Add prototype arguments.
5873
5874         * resource.c: Include insn-attr.h.
5875
5876         * sdbout.c (sdbout_queue_anonymous_type,
5877         sdbout_dequeue_anonymous_types): Wrap in macro
5878         SDB_ALLOW_FORWARD_REFERENCES.
5879         (sdbout_init, sdbout_start_new_source_file): Mark parameter with
5880         ATTRIBUTE_UNUSED.
5881
5882         * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
5883
5884         * stupid.c: Include tm_p.h.
5885
5886         * tree.c (real_value_from_int_cst): Mark parameter with
5887         ATTRIBUTE_UNUSED.
5888
5889 2000-01-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5890
5891         * i960-protos.h: New file.
5892
5893         * i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
5894         time warnings.
5895
5896         * i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.
5897
5898 2000-01-10  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5899
5900         * combine.c (expand_field_assignment): Do not discard SUBREGs
5901         while computing nonzero_bits.
5902
5903 2000-01-09  Nick Clifton  <nickc@cygnus.com>
5904
5905         * config/arm/arm.c: Fix compile time warnings about signed vs
5906         unsigned constants.
5907         * config/arm/arm.h: Fix compile time warnings about signed vs
5908         unsigned constants.
5909
5910 2000-01-09  Philip Blundell  <philb@gnu.org>
5911
5912         * config/arm/arm.c (output_return_instruction): Use `ldr' rather
5913         than `ldm' with only one register.
5914         * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
5915         only one register.
5916
5917         * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
5918         clobbered.
5919
5920 Sun Jan  9 17:50:23 2000  Hans-Peter Nilsson  <hp@axis.com>
5921
5922         * config/ns32k/ns32k.md (load or push effective address): Operand 1
5923         must have SImode.
5924
5925 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5926
5927         * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
5928         assignment used as truth value.
5929
5930         * function.c (assign_temp): Mark parameter `dont_promote' with
5931         ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
5932         PROMOTE_FOR_CALL_ONLY.
5933
5934         * genrecog.c (write_subroutine): Mark variable `operands' with
5935         ATTRIBUTE_UNUSED.
5936
5937         * optabs.c (prepare_cmp_insn): Mark parameter `align' with
5938         ATTRIBUTE_UNUSED.
5939
5940         * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
5941         (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
5942
5943         * toplev.c (note_deferral_of_defined_inline_function): Likewise
5944         for `decl'.
5945
5946 2000-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5947
5948         * config/c4x.h: Tidy up comments.
5949         * config/c4x.c: Likewise.
5950
5951 Sun Jan  9 01:02:55 EST 2000  John Wehle  (john@feith.com)
5952
5953         * fold-const.c (lshift_double, rshift_double): Handle
5954         shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
5955
5956 2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
5957
5958         * toplev.c (rest_of_compilation): Initialize cse_not_expected as
5959         in prepare_function_start().
5960
5961 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
5962
5963         * config/v850/v850.c (expand_epilogue): Interrupt functions no
5964         longer allocate extra stack for function calls.
5965
5966 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5967
5968         * config/c4x/c4x.md (*subqf3_set): Fix typo.
5969
5970 2000-01-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5971
5972         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
5973
5974 2000-01-07  David Edelsohn  <edelsohn@gnu.org>
5975
5976         * rs6000.c (processor_target_table): Add power3 as alias for 630.
5977         * aix43.h: Revert Aug 2 change.
5978         (HAS_INIT_SECTION): Define, not visible yet.
5979         (LD_INIT_SWITCH): Define, not visible yet.
5980         * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
5981
5982         * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
5983
5984         * collect2.c (main): Expand ld2 size further.
5985         (export_object_lst): Cast assignment to avoid warning.
5986         (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
5987         (scan_prog_file, COFF): Do not collect initialization or
5988         finalization functions generated for entire shared object if
5989         init/fini support present.
5990
5991 2000-01-07  Nick Clifton  <nickc@cygnus.com>
5992
5993         * config/elfos.h: Tidy up formatting of marcos.  Make sure
5994         that .section directives are always prefixed by a tab.
5995
5996         * config/svr4.h: Add #include "elfos.h" and remove duplicate
5997         definitions.
5998
5999 2000-01-07  Matt Austern  <austern@sgi.com>
6000
6001         * fold-const.c (real_hex_to_f): Remove duplicate declaration of
6002         expon.
6003
6004 Fri Jan  7 01:55:34 2000  Jeffrey A Law  (law@cygnus.com)
6005
6006         * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
6007         crtstuff.c.
6008         (crtbegin.o, s-crtS): Likewise.
6009
6010 2000-01-06  Richard Henderson  <rth@cygnus.com>
6011
6012         * alpha.md (adddi_2+1): Limit offset such that it will be
6013         loadable with a single ldah+lda pair.
6014         (adddi_2+2): Explicitly fail split if we can't make it work.
6015
6016 2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>
6017
6018         * protoize.c: Conditionally include unistd.h.
6019         (IS_SAME_PATH_CHAR): New macro.
6020         (IS_SAME_PATH): New macro.
6021         (CPLUS_FILE_SUFFIX): New macro.
6022         (cplus_suffix): New static variable.
6023         (is_abspath): New static function.
6024         (in_system_include_dir): Handle DOS style pathnames.
6025         (file_could_be_converted): Likewise.
6026         (file_normally_convertible): Likewise.
6027         (directory_specified_p): Likewise.
6028         (file_excluded_p): Likewise.
6029         (abspath): Likewise.
6030         (shortpath): Likewise.
6031         (referenced_file_is_newer): Likewise.
6032         (save_def_or_dec): Likewise.
6033         (do_processing): Likewise.
6034         (main): Likewise.
6035         (edit_file): Likewise. Use rename instead of link.
6036         (rename_c_file): Likewise. Don't rename syscalls file.
6037         (munge_compile_params): Define null device for DOS based systems.
6038         (process_aux_info_file): Use binary mode if appliable.
6039         (edit_file): Likewise.
6040         * invoke.texi (Running Protoize): Document C++ suffixes used.
6041
6042         * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
6043         IS_DIR_SEPARATOR macros.
6044         * collect2.c: Likewise.
6045         * cppinit.c: Likewise.
6046         * dwarf2out.c: Likewise.
6047         * gcc.c: Likewise.
6048         * gcov.c: Likewise.
6049         * prefix.c: Likewise.
6050         * rtl.c: Likewise.
6051         * toplev.c: Likewise.
6052         * system.h: And move to here.
6053
6054         * prefix.c (update_path): Fix typo in variable name.
6055
6056 2000-01-06  Richard Henderson  <rth@cygnus.com>
6057
6058         * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
6059         (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
6060         (count_reg_sets_1, count_reg_references): Likewise.
6061         (flow_loops_level_compute): Start counting actual loop depth at 1.
6062         (flow_loops_find): Likewise.
6063         * local-alloc.c (update_equiv_regs): Likewise.
6064         * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
6065
6066 2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
6067
6068         * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
6069         FIRST_PSEUDO_REGISTER
6070         * dwarf2out.c: Don't include frame.h
6071         * dwarfout.c: Likewise
6072         * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
6073         frame.h
6074
6075 Thu Jan  6 13:44:59 CET 2000  Jan Hubicka  <jh@suse.cz>
6076
6077         * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
6078         dead registers.
6079
6080         * i386.c (movsf splitter): Fix typo in my last checkin.
6081
6082 2000-01-05  Nick Clifton  <nickc@cygnus.com>
6083
6084         * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
6085         own definition of this macro.
6086         (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
6087         flag_data_sections or UNIQUE_SECTION_P are true.
6088
6089         * tm.texi (UNIQUE_SECTION): Document that it can be called for
6090         unitialised data decls.
6091
6092         * config/i386/winnt.c (i386_pe_unique_section): Cope with
6093         being called for uninitialised data.
6094
6095         * config/i386/interix.c (i386_pe_unique_section): Cope with
6096         being called for uninitialised data.
6097
6098         * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
6099         for uninitialised data.
6100
6101         * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
6102         for uninitialised data.
6103
6104         * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
6105         for uninitialised data.
6106
6107         * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
6108         (UNIQUE_SECTION_P): Always generate a unique section if
6109         flag_data_sections is true.
6110         (UNIQUE_SECTION): Also generate unique sections for
6111         uninitialised data.
6112         (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
6113         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
6114         named_section().
6115
6116 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6117
6118         * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
6119         SI, or DI.
6120
6121 2000-01-06  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6122
6123         * config/c4x/c4x.md (udivqi3, divqi3): Delete.
6124         (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
6125         (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
6126         (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
6127         (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
6128
6129         * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
6130
6131 2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
6132
6133         * c-decl.c (finish_enum): Simplify code to determine minimum and
6134         maximum values of the enum, and calculate the type.  Remove check
6135         for FUNCTION_DECLs in the values list, which cannot happen.  Replace
6136         the DECL_INITIAL of each enumeration constant with a copy converted
6137         to the enumeration type.  When updating variant types, don't bother
6138         updating the type itself.
6139
6140         * c-typeck.c (build_binary_op): Simplify conditional expressions
6141         when weeding out spurious signed-unsigned warnings.  Add new
6142         spurious warning category: if the unsigned quantity is an enum
6143         and its maximum value fits in signed_type(result_type).  Update
6144         commentary.
6145         (build_conditional_expr): Warn here if one alternative is signed
6146         and the other is unsigned.
6147
6148 2000-01-05  Nick Clifton  <nickc@cygnus.com>
6149
6150         * config/fr30/fr30.h: Remove extraneous comments.
6151
6152 2000-01-05  Bernd Schmidt  <bernds@cygnus.co.uk>
6153
6154         * reload1.c (choose_reload_regs): When disabling a reload, also
6155         set reload_spill_index to -1.
6156
6157 2000-01-04  Joel Sherrill (joel@OARcorp.com>
6158
6159         * configure.in (m68*-*-rtemscoff*): New target, formal name for
6160         old m68*-*-rtems*.
6161         (m68*-*-rtemself*): New target.
6162         (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
6163         (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
6164         (sparc*-*-rtemself*): New target.
6165         (sparc*-*-rtems*): Now elf not a.out.
6166         * config/i386/rtems.h: Include config/rtems.h.
6167         * config/i386/rtemself.h: Include config/rtems.h.
6168         * config/i960/rtems.h: Include config/rtems.h.
6169         * config/m68k/rtems.h: Include config/rtems.h.
6170         * config/m68k/rtemself.h: Include config/rtems.h.
6171         * config/mips/rtems64.h: Include config/rtems.h.
6172         * config/pa/rtems.h: Include config/rtems.h.
6173         * config/rs6000/rtems.h: Include config/rtems.h.
6174         * config/sh/rtems.h: Include config/rtems.h.
6175         * config/sh/rtemself.h: Include config/rtems.h.
6176         * config/sparc/rtems.h: Include config/rtems.h.
6177         * config/sparc/rtemself.h: Include config/rtems.h
6178
6179 Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
6180
6181         * final.c (shorten_branches): Correctly compute length of
6182         asms without operands.
6183
6184 Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
6185
6186         * configure.in: Add pj target.
6187         * configure: Regenerate.
6188         * config/pj: New directory.
6189         * config/pj/lib1funcs.S: New file.
6190         * config/pj/linux.h: New file.
6191         * config/pj/pj.c: New file.
6192         * config/pj/pj.md: New file.
6193         * config/pj/pjl.h: New file.
6194         * config/pj/t-pj: New file.
6195         * config/pj/xm-pj.h: New file
6196
6197 Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
6198
6199         * toplev.c (rest_of_compilation): Run shorten-branches before
6200         reg-stack for now.
6201
6202 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6203
6204         * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
6205         macros so that they're consistent with their names.
6206         * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
6207         * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
6208
6209 2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6210
6211         * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
6212         modified inadvertently.
6213
6214 2000-01-04  Joel Sherrill <joel@OARcorp.com>
6215
6216         * configure.in (v850*-*-rtems*): New target.
6217         * configure: Regenerate.
6218         * config/v850/rtems.h: New file.
6219
6220 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
6221
6222         * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
6223         (__gthread_key_create): Likewise.
6224         (__gthread_key_dtor):  Likewise.
6225         (__gthread_once): Fix logic.
6226         (__gthread_key_delete): Cast away constness.
6227
6228         * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
6229         * invoke.texi: Document.
6230         * i386/mingw32.h (CPP_SPEC): Use.
6231         (LIBGCC_SPEC): Likewise.
6232         * i386/crtdll.h (LIBGCC_SPEC): Likewise.
6233
6234 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
6235
6236         * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
6237         (HANDLE_PRAGMA_PACK): Undefine.
6238         (SLOW_UNALIGNED_ACCESS): Define.
6239
6240 2000-01-04  David Edelsohn  <edelsohn@gnu.org>
6241
6242         * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
6243         to default definition.
6244         (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
6245         (store_fixed_bit_field): Call macro with word_mode and alignment.
6246         (extract_bit_field): Call macro with relevant mode and alignment.
6247         * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
6248         to default definition.
6249         (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
6250         and alignment.
6251         (move_by_pieces_ninsns): Likewise.
6252         (clear_by_pieces): Likewise.
6253         (emit_push_insn): Likewise.
6254         (store_field): Call macro with relevant mode and alignment.
6255         (expand_expr): Likewise.
6256         (expand_expr_unaligned): Likewise.
6257
6258         * rs6000.h (HANDLE_PRAGMA_PACK): Define.
6259         (SLOW_UNALIGNED_ACCESS): Define.
6260         (CASE_VECTOR_MODE): Always use 32-bit offsets.
6261         (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
6262         (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
6263         (toc_section): Likewise and .toc pseudo-op.
6264         (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
6265         64-bit mode.
6266         (TEXT_SECTION_ASM_OP): Likewise.
6267         (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
6268         32-bit offsets.
6269
6270         * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
6271         * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
6272         * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
6273         * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
6274         * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
6275
6276 Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
6277
6278         * regclass.c: Revert my Jan 4 change to loop cost computation.
6279
6280 Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
6281
6282         * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
6283         compilation.
6284
6285 2000-01-04  Stan Cox  <scox@cygnus.com>
6286
6287         * haifa-sched.c (build_control_flow): Change unreachable simple
6288         loop test to check if current block has only one predecessor.
6289         (find_rgns): Initialize degree.  Use dest as degree index, not src.
6290
6291 2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6292
6293         * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
6294
6295         * calls.c (expand_call): Likewise for
6296         `old_stack_arg_under_construction'.
6297
6298         * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
6299
6300         * function.c (pad_to_arg_alignment): Likewise for `save_var' and
6301         `save_constant'.
6302
6303         * gcc.c (execute): Likewise for `ut' and `st'.
6304
6305         * genattrtab.c (attr_rtx): Likewise for `rt_val'.
6306
6307         * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
6308
6309         * jump.c (jump_optimize_1): Likewise for `temp2'.
6310
6311         * local-alloc.c (block_alloc): Likewise for `r1'.
6312
6313         * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
6314
6315         * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
6316         (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
6317
6318         * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
6319         and `set2'.
6320
6321         * reload.c (find_reloads): Likewise for `goal_alternative_number'
6322         and `goal_earlyclobber'.
6323
6324         * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
6325
6326         * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
6327
6328         * stupid.c (stupid_life_analysis): Likewise for `chain'.
6329
6330         * unroll.c (copy_loop_body): Likewise for `copy'.
6331
6332         * varasm.c (output_constructor): Likewise for `byte'.
6333
6334 Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
6335
6336         * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
6337         all FP constants for constant->reg moves.
6338         (ix86_split_to_parts): Try to convert memory address into immediate
6339         when available in the constant pool.
6340         * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
6341         moves.
6342         (LEGITIMATE_CONSTANT_P): Return 1.
6343         * i386.md (pushsf): New splitter to convert constant pool memory
6344         reference to immediate.
6345         (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
6346         reload.
6347
6348 2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
6349
6350         * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
6351         (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
6352         ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
6353         (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
6354         rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
6355
6356 2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
6357
6358         * ginclude/stdbool.h:  Support compilation as C++.
6359
6360 Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
6361
6362         * fold-const.c (make_range): Don't try to reverse an unbounded range.
6363
6364 Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
6365
6366         * regclass.c (regclass): Properly compute loop_cost.  Adjust
6367         comments.
6368
6369         * regclass.c: Fix minor whitespace problems.
6370
6371 2000-01-03  Anthony Green  <green@cygnus.com>
6372
6373         * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
6374         Restore the pic register if required.
6375
6376 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
6377
6378         * c-common.c (format_char_info): Update comment.
6379         (check_format_info): Recognize 'z' modifier in the same way 'Z'
6380         was recognized.  Emit warning for formats new in ISO C99 only
6381         if flag_isoc9x is not set.
6382
6383 Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
6384
6385         * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
6386
6387 Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
6388
6389         * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
6390         SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
6391         (make_compound_operation): Choose cheaper alternative between
6392         ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
6393
6394         * regclass.c (op_costs): Remove global variable.
6395         (record_reg_classes): New parameter "op_costs" and "reg_pref".
6396         (record_operand_costs): Break out from ...
6397         (scan_one_insn): ... here.
6398         (dump_regclass): Make dumps nicer.
6399         (regclass): Dump preferrences choosed and changes done during passes.
6400
6401 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
6402
6403         * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
6404
6405 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
6406
6407         * config/sparc/sparc.c (gen_df_reg): New function.
6408         * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
6409         * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
6410         movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
6411         movtf_cc_reg_sp64+1): Use it.
6412
6413 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
6414
6415         * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
6416         copied LABEL_DECLs.
6417
6418 Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
6419
6420         * config/i386/i386.c (ix86_expand_unary_operator): Function
6421         definition made void.
6422         (ix86_expand_binary_operator): Update outdated preceding comment.
6423         * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
6424         prototype.
6425
6426         * config/i386/i386.c (override_options): Fix option-name typo.
6427
6428 2000-01-02  Mark Mitchell  <mark@codesourcery.com>
6429
6430         * system.h (CEIL): Define.
6431         * builtins.c (CEIL): Remove.
6432         * expmed.c (CEIL): Likewise.
6433         * expr.c (CEIL): Likewise.
6434         * stor-layout.c (CEIL): Likewise.
6435
6436 2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6437
6438         * expr.c (store_constructor_field): Fix typo introduced with last
6439         gcc2 merge.
6440
6441 2000-01-01  Mark Mitchell  <mark@codesourcery.com>
6442
6443         * tree.h (BINFO_N_BASETYPES): New macro.
6444
6445 2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
6446
6447         * expmed.c (emit_store_flag): Prevent losing a pending stack
6448         adjust the same way we prevent losing queued increments.
6449
6450 Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6451
6452         * function.c (update_temp_slot_address): Handle case where sum of
6453         temporary address plus offset in register is a valid address.
6454
6455 1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
6456
6457         * genrecog.c (change_state) Corrected typo.
6458
6459 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6460
6461         * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
6462         getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
6463         strerror, getrlimit, setrlimit, abort): Add prototype arguments.
6464
6465 1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
6466
6467         * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
6468         case, expand GT comparisons correctly.  Fix a comment before this
6469         part of the code.
6470
6471 1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
6472
6473         * dwarfout.c: Include "frame.h"
6474         * dwarf2out.c: Likewise.
6475         * Makefile.in (dwarfout.o): Depend on frame.h
6476         (dwarf2out.o): Likewise.
6477
6478 1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
6479
6480         Restore i386 binary compatibility in Dwarf EH info.
6481         * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
6482         value of FIRST_PSEUDO_REGISTER.
6483         * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
6484         (struct frame_state): Use DWARF_FRAME_REGISTERS.
6485         * dwarfout.c (output_reg_number): Ditto.
6486         * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
6487         (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
6488
6489 1999-12-29  Bruce Korb  <autogen@linuxbox.com>
6490
6491         * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
6492         * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
6493         (<hack>_RE_CT): not needed
6494         * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
6495         rewritten to scan the file text once only
6496         "template<..." test added
6497         * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
6498         (is_cxx_header): declaration added
6499         * fixinc/fixtests.c(is_cxx_header): removed
6500         (apply_fix_p_t): removed
6501         (double_slash_test): is_cxx_header is only called once now
6502         * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
6503         * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
6504         within the templates.
6505         The borken spelling of "broken" was fixed.
6506         * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
6507         The default level depends on FIXINC_DEBUG.
6508
6509 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6510
6511         * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
6512         Otherwise provide a declaration for atexit.
6513         (init_dummy): Make sure dummy call to atexit is nevertheless
6514         called with correct number of args.
6515
6516         * frame.c: Update comments referring to other files.
6517
6518         * libgcc2.c: Likewise.
6519
6520 1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6521
6522         * cse.c (free_element, get_element): Remove unused prototypes.
6523
6524         * fold-const.c (extract_muldiv): Initialize variables `op0' and
6525         `op1'.
6526
6527         * jump.c (invert_exp): Add explicit braces to avoid ambiguous
6528         `else' clauses.
6529
6530 Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
6531
6532         * configure.in,configure: case arm for mn10200-*-* now sets
6533         float_format=i32 so that float.h will correctly claim "double"
6534         to be 32 bits. Ran autoconf to generate configure from .in file.
6535
6536 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
6537
6538         * pa.md (conditional zero): If op1 is a register, force it into
6539         the same register as op0.
6540
6541 1999-12-28  Mark Mitchell  <mark@codesourcery.com>
6542
6543         * tree.h (BINFO_BASETYPES): Improve documentation.
6544
6545 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6546
6547         * configure.in (--enable-checking): Use a more portable `for'
6548         loop syntax.
6549
6550 1999-12-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6551
6552         * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
6553         arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
6554
6555         * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
6556         Delete files.
6557
6558         * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
6559         Delete descriptions.
6560
6561         * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
6562         m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
6563         m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
6564         pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
6565         xm-svr4.h: Remove all instances of sys_siglist handling.
6566
6567 1999-12-27  Jakub Jelinek  <jakub@redhat.com>
6568
6569         * config/sparc/sparc.md (cmp_zero_qi,
6570         cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
6571         cmp_zero_extendqidi2_andcc_set): New patterns.
6572
6573 1999-12-28  Manfred Hollstein  <mhollstein@cygnus.com>
6574
6575         * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
6576         (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
6577         (fpgnulib.c, xfgnulib.c): Add rules.
6578         * m68k/t-mot3300-gas: Likewise.
6579
6580 1999-12-27  Ian Lance Taylor  <ian@zembu.com>
6581
6582         * configure.in: Avoid [[ by using test and changequote.  Add
6583         changequote required by 1999-12-14 change.
6584         * configure: Rebuild.
6585
6586 1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>
6587
6588         * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
6589
6590 1999-12-27  Christophe Jaillet  <jaillet.christophe@caramail.com>
6591
6592         * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
6593         * flow.c (find_use_as_address): Likewise.
6594         * function.c (fixup_var_refs_1): Likewise.
6595         (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
6596         * jump.c (invert_exp, redirect_exp): Likewise.
6597         * loop.c (replace_call_address): Likewise.
6598         (count_nonfixed_reads): Likewise.
6599         * rtlanal.c (modified_between_p): Likewise.
6600         (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
6601         (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
6602         * unroll.c (remap_split_bivs): Likewise.
6603
6604 1999-12-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6605
6606         * diagnostic.c (v_message_with_decl): Use .* format specifier
6607         instead of building the format specifier width manually.
6608
6609         * system.h (strsignal): Don't check HAVE_STRSIGNAL when
6610         determining whether to provide a prototype.  Remove the
6611         sys_siglist clause in the conditional.
6612
6613 1999-12-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6614
6615         * fold-const.c (operand_equal_p): Use memcmp to compare string
6616         constants.
6617         Suggested by D. J. Bernstein
6618
6619 1999-12-17  Jakub Jelinek  <jakub@redhat.com>
6620
6621         * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
6622         UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
6623         compiling libgcc2.
6624         * config/mips/mips.h (TARGET_64BIT): Likewise.
6625         * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
6626         * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
6627         of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
6628         dsps.  Give routines proper names if SI/DI modes are not used.
6629         * longlong.h: Use DWunion instead of DIunion.
6630
6631 1999-12-26  Zack Weinberg  <zack@wolery.cumb.org>
6632
6633         * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
6634         GC_CHECKING, GC_ALWAYS_COLLECT.
6635         * configure.in: Allow --enable-checking with an argument
6636         listing check modes to enable.
6637         * config.in, configure: Rebuilt.
6638         * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
6639         GGC_ALWAYS_VERIFY for ggc-simple.c) only if
6640         ENABLE_GC_CHECKING.  Define GGC_ALWAYS_COLLECT only if
6641         ENABLE_GC_ALWAYS_COLLECT.
6642         * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
6643         throughout.
6644         * tree.h, tree.c: Change ENABLE_CHECKING to
6645         ENABLE_TREE_CHECKING throughout.
6646
6647 Sun Dec 26 07:48:20 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6648
6649         * fold-const.c (fold_truthop): Properly check for FP RHS.
6650
6651 1999-12-24  Mark Mitchell  <mark@codesourcery.com>
6652
6653         * toplev.h (note_deferall_of_defined_inline_function): Declare.
6654         * toplev.c (note_deferral_of_defined_inline_function): New
6655         function, split out from ...
6656         (rest_of_compilation): ... here.  Use it.
6657
6658 Fri Dec 24 12:34:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6659
6660         * expr.c (store_constructor): Don't call clear_storage if size is
6661         variable.
6662
6663 1999-12-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6664
6665         * Makefile.in (toplev.o): Depend on loop.h.
6666
6667         * dwarfout.c: Include tm_p.h.
6668
6669         * emit-rtl.c (restore_emit_status): Mark parameter with
6670         ATTRIBUTE_UNUSED.
6671
6672         * final.c (final_scan_insn): Likewise.
6673
6674         * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
6675         flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
6676         flow_depth_first_order_compute, flow_loop_pre_header_find,
6677         flow_loop_tree_node_add, flow_loops_tree_build,
6678         flow_loop_level_compute, flow_loops_level_compute,
6679         flow_loop_outside_edge_p): Add prototypes.
6680         (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
6681
6682         * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
6683         Mark with ATTRIBUTE_NORETURN.
6684
6685         * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
6686
6687         * local-alloc.c (no_conflict_p): Likewise.
6688
6689         * loop.c (insert_bct): Hide definitions of variables with hidden
6690         usage.
6691         (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
6692
6693         * regclass.c (memory_move_secondary_cost): Mark variable `mem'
6694         with ATTRIBUTE_UNUSED.
6695         (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
6696         (reg_scan): Likewise.
6697
6698         * reload.c (find_reloads): Remove unused variables `changed'.
6699
6700         * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
6701         away const-ness.
6702         (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
6703         Remove unused variable `insn'.
6704
6705         * toplev.c: Include loop.h.
6706         (report_file_and_line): Remove unnecessary prototype.
6707
6708         * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
6709
6710         * unroll.c (biv_total_increment): Likewise.
6711
6712 Thu Dec 23 23:15:22 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6713
6714         * reload1.c (emit_input_reload_insns): Restore old behaviour
6715         wrt. 'special' reloads.
6716
6717 1999-12-23  Zack Weinberg  <zack@wolery.cumb.org>
6718
6719         * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
6720         hash.h.  (cse.c): Don't depend on hashtab.h.
6721
6722         * cse.c: Don't include hashtab.h.
6723         (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
6724         of dead functions.
6725         * ggc-simple.c: Don't include hash.h.
6726
6727 1999-12-22  Jason Merrill  <jason@casey.cygnus.com>
6728
6729         * dwarf2out.c (add_abstract_origin_attribute): Call
6730         gen_abstract_function on our function context.
6731
6732 Thu Dec 23 03:57:10 1999  Hans-Peter Nilsson  <hp@bitrange.com>
6733
6734         * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
6735
6736 1999-12-23  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6737
6738         * config/c4x/c4x.c (c4x_address_cost): Add statement to default
6739         case in switch.
6740
6741 1999-12-22  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6742
6743         * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
6744         constraints to "a!r".
6745
6746 1999-12-21  Mark Mitchell  <mark@codesourcery.com>
6747
6748         * Makefile.in (calls.o): Depend on function.h.
6749         (alias.o): Likewise.
6750
6751 1999-12-21  Bernd Schmidt  <bernds@cygnus.co.uk>
6752
6753         * reload1.c (emit_reload_insns): Break out code and variables into...
6754         (input_reload_insns, other_input_address_reload_insns,
6755         other_input_reload_insns, input_address_reload_insns,
6756         inpaddr_address_reload_insns, output_reload_insns,
6757         output_address_reload_insns, outaddr_address_reload_insns,
6758         operand_reload_insns, other_operand_reload_insns,
6759         other_output_reload_insns): ... new static variables, and...
6760         (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
6761         do_output_reload): ... new functions.
6762
6763 Tue Dec 21 07:06:36 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6764
6765         * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
6766
6767 1999-12-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6768
6769         * md.texi: Add c4x constraints documentation.
6770
6771 1999-12-21  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
6772
6773         * config/i386/dgux.c (struct option): Rename to
6774         lang_independent_option.
6775         (struct m_options): Add description field.
6776         (output_options): Rename option type, add sep declaration, output
6777         ix86_cpu_string and ix86_arch_string only if set.
6778         (output_file_start): Rename option type.
6779
6780 Mon Dec 20 23:15:36 1999  Mike Stump  <mrs@wrs.com>
6781
6782         * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
6783         stmp-int-hdrs.
6784         (libgcc2.a): Similarly.
6785
6786 Mon Dec 20 23:06:47 1999  David Edelsohn  <edelsohn@gnu.org>
6787
6788         * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
6789         with W_TYPE_SIZE == 32.  Do not fall through to POWER architecture
6790         for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
6791
6792 Mon Dec 20 23:02:03 1999  Jeffrey A Law  (law@cygnus.com)
6793
6794         * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
6795         Remove redundant initialization of "frexpon" and "expon".
6796
6797 Mon Dec 20 15:00:04 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6798
6799         * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
6800
6801         * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
6802         (store_constructor_field, expand_expr): Pass new arg.
6803
6804 1999-12-20  Mark Mitchell  <mark@codesourcery.com>
6805
6806         * Makefile.in (explow.o): Depend on function.h.
6807
6808         * stor-layout.c (set_sizetype): Fix typo.
6809
6810 1999-12-20  Bernd Schmidt  <bernds@cygnus.co.uk>
6811
6812         * function.c (cfun): Renamed from current_function.  All users
6813         changed.
6814         * function.h (cfun): Rename declaration as well.
6815
6816         * reload.h (struct insn_chain): Change live_throughout and dead_or_set
6817         to be of type regset_head, not regset.  All users changed by adding
6818         address operator.
6819         * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
6820
6821 1999-12-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6822
6823         * config/c4x/rtems.h: New file.
6824
6825 1999-12-19  Bernd Schmidt  <bernds@cygnus.co.uk>
6826
6827         * reload1.c (spill_failure): Take class of failed reload as argument
6828         and print it.  Caller changed.
6829
6830 Sun Dec 19 07:50:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6831
6832         * rs6000.h (SUBTARGET_DEFAULT): New macro.
6833         (TARGET_SWITCHES): Allow subtargets to default switches.
6834         * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
6835
6836 1999-12-18  Mark Mitchell  <mark@codesourcery.com>
6837
6838         * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
6839         in a main program.
6840
6841 Sat Dec 18 20:42:43 1999  Richard Henderson  <rth@cygnus.com>
6842
6843         * cccp.c (main): Define __STDC_VERSION__ as necessary.
6844         * cppinit.c (cpp_handle_option): Likewise.
6845
6846         * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
6847         determine when to define.
6848
6849 Sat Dec 18 20:34:00 1999  Richard Henderson  <rth@cygnus.com>
6850
6851         * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
6852         cmove with mismatched test and data modes.
6853
6854 Sat Dec 18 20:30:15 1999  Richard Henderson  <rth@cygnus.com>
6855
6856         * c-typeck.c (c_expand_start_case): Don't warn for long switch
6857         in system headers.
6858
6859 Sat Dec 18 16:28:43 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6860
6861         * alias.c: Minor reformatting.
6862         * flow.c: Likewise.
6863         * regs.h: Likewise.
6864         * stor-layout.c: Likewise.
6865         * fold-const.c: Likewise.
6866         (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
6867         (struct cb_args, const_binop_1, const_binop): Pass type of arg,
6868         not arg itself.
6869         (size_int_wide): Cache nodes even if garbage collecting.
6870         (twoval_comparison_p): Reenable SAVE_EXPR case if operand
6871         of SAVE_EXPR has no side effects.
6872         * cse.c: Move a comment.
6873         * tree.c: Minor reformatting.
6874         (int_size_in_bytes): Return -1 if constant overflows.
6875
6876 Sat Dec 18 18:30:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
6877
6878         * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
6879
6880 1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>
6881
6882         * objc/objc-parse.c: Regenerate.  This file must be rebuilt
6883         after any change to c-parse.in, even if objc-parse.y didn't
6884         change.  Oops.
6885
6886 1999-12-18  David S. Miller  <davem@redhat.com>
6887
6888         * toplev.c (rest_of_compilation): Restore BLOCK tree
6889         reconstruction and branch shortening changes lost in
6890         December 18th change.
6891
6892 Sat Dec 18 05:29:29 1999  Scott Bambrough  <scottb@netwinder.org>
6893
6894         * config/arm/linux-elf.h: Change all instances of
6895         ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
6896         * config/arm/uclinux-elf.h: Likewise.
6897
6898 1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>
6899
6900         * toplev.c (notice, vmessage, v_message_with_file_and_line,
6901         v_message_with_decl, file_and_line_for_asm,
6902         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
6903         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
6904         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
6905         v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
6906         pfatal_with_name, fatal_io_error, need_error_newline,
6907         last_error_function, last_error_tick, announce_function,
6908         default_print_error_function, print_error_function,
6909         report_error_function, fnotice, error_with_file_and_line,
6910         error_with_decl, error_for_asm, error, set_fatal_function, fatal,
6911         _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
6912         warning_with_decl, warning_for_asm, warning, pedwarn,
6913         pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
6914         diagnostic.c
6915         (compile_file): Use fnotice instead of notice.  Adjust call.
6916
6917         * diagnostic.c: New file.
6918
6919         * Makefile.in (OBJS): Include diagnostic.o
6920         (diagnostic.o): Define dependence.
6921
6922 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6923
6924         * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
6925         Tweak formatting.
6926
6927 1999-12-18  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6928
6929         * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
6930
6931 1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
6932
6933         * fixtests.c (is_cxx_header): New fn, split out of
6934         double_slash_test.
6935         (else_endif_label): Allow "#endif // comment" in C++ headers,
6936         as determined by is_cxx_header.
6937         * fixfixes.c (else_endif_label_fix): Update comment.
6938         * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
6939         a tty.
6940         * genfixes: Correct double thinko in commandline parsing.
6941         * hackshell.tpl: Generate correct sh syntax for bypass
6942         entries.
6943
6944         * inclhack.def (all): Whenever an inserted preprocessor
6945         conditional is split over multiple lines, use double
6946         backslashes in this file so the fixed header will be readable.
6947
6948         (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
6949         and add bypass entry for correct version of this header.
6950         (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
6951         (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
6952
6953         (hpux8_bogus_inlines): New fix, split from...
6954         (ultrix_atof_param) ... here.
6955         (math_expression): Add bypass entry keyed to glibc comment
6956         indicating the problem has been dealt with; disable
6957         unnecessary sed operations; update commentary.
6958         (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
6959         add select and bypass entries, simplify shell operation.
6960         (math_huge_val_ifndef): Split from math_gcc_ifndefs.
6961
6962         (ip_missing_semi, rs6000_param, tinfo_cplusplus,
6963          ultrix_atof_param): Add select entry.
6964         (stdio_va_list, sunos_mather_decl): Add bypass entry.
6965         (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
6966         comments with the fixes they describe.
6967
6968         * c-parse.in (string action): Do not warn about ANSI string
6969         concatenation in system headers.  Affects C parser only.
6970         * c-parse.y, c-parse.c, c-parse.h: Rebuild.
6971
6972 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
6973
6974         * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
6975         compiling libgcc2 the macro depends always on arch cpp defines.
6976
6977 Fri Dec 17 10:34:16 1999  Richard Earnshaw <rearnsha@arm.com>
6978
6979         * loop.c (insert_loop_mem): Don't record MEMs from inside
6980         EXPR_LISTs.
6981
6982 Fri Dec 17 12:08:11 MET 1999  Jan Hubicka  <hubicka@freesoftr.cz>
6983
6984         * regclass.c (regclass): Do not use flowgraph when not optimizing.
6985
6986         * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
6987         notes too, create one when replacement failed, attempt to simplify
6988         resulting notes.
6989         (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
6990         or REG_EQUIV notes.
6991
6992 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
6993
6994         * crtstuff.c (__dso_handle): Declare.
6995         (__cxa_finalize): Likewise.
6996         (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
6997         non-NULL.
6998
6999         * invoke.texi: Document -fuse-cxa-atexit.
7000
7001         * tree.h (ptr_type_node): Document.
7002         (const_ptr_type_node): Likewise.
7003
7004 Fri Dec 17 01:32:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7005
7006         * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
7007         (optimize_reg_copy_2): Likewise.
7008         (optimize_reg_copy_3): Likewise.
7009         (fixup_match_2): Likewise.
7010         (regmove_optimize): Likewise.
7011         (fixup_match_1): Liekwise.
7012
7013         * i386.md (HI to SImode promoting splitters): Rewrite.
7014         (pushsf mem peep2): New.
7015         (testhi to andhi peep2): Remove.
7016         * i386.h (x86_promote_QImode): New.
7017         (TARGET_PROMOTE_QImode): New.
7018         (PREDICATE_CODES): Add promotable_binary_operator.
7019         * i386.c (x86_promote_QImode0: New.
7020         (promotable_binary_operator): New.
7021         * i386-protos.h (promotable_binary_operator): New.
7022
7023         * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
7024         condition.
7025         (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
7026
7027 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
7028
7029         * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
7030         * function.c (insert_block_after_note): Remove.
7031         (retrofit_block): Likewise.
7032         (identify_blocks): Fix indentation.
7033         (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
7034         NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
7035         * function.h (insert_block_after_note): Remove prototype.
7036         (retrofit_block): Likewise.
7037         * integrate.c (expand_inline_function): Don't call
7038         find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
7039         just expand_start_bindings.  Use the block_map to remap old
7040         NOTE_BLOCKs to new ones.
7041         (integrate_decl_tree): Keep track of remapped blocks.
7042         * integrate.h (struct inline_remap): Add block_map.
7043         * stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
7044         NOTE_BLOCK on the notes.
7045         (expand_start_bindings): Rename to ...
7046         (expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
7047         (expand_end_bindings): Set NOTE_BLOCK.
7048         * toplev.c (rest_of_compilation): In function-at-a-time-mode,
7049         reconstruct the BLOCK tree.
7050         * tree.h (expand_start_bindings): Macroize.  Call ...
7051         (expand_start_bindings_and_block): New function.
7052
7053 1999-12-16  Jakub Jelinek  <jakub@redhat.com>
7054
7055         * config/sparc/sparc.c (print_operand): Cast fprintf arguments
7056         to match the format.
7057
7058 1999-12-16  David S. Miller  <davem@redhat.com>
7059
7060         * expr.c (emit_move_insn_1): Only emit clobbers if one of
7061         the outputs is a SUBREG.
7062         * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
7063         change.
7064
7065         * config/sparc/sparc.c (epilogue_renumber): Add default case
7066         to switch stmt.
7067
7068 Thu Dec 16 11:33:57 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7069
7070         * toplev.c (rest_of_compilation): Run branch shortening after
7071         reg-stack.
7072
7073         * regclass.c (loop_depth): Remove
7074         (scan_one_insn): Do not handle LOOP_NOTE insns.
7075         (regclass): Go through basic blocks and set loop_cost
7076
7077 Thu Dec 16 02:56:25 1999  Zack Weinberg  <zack@bitmover.com>
7078
7079         * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
7080
7081 Thu Dec 16 10:43:35 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7082
7083         * i386.md (movqi): Use "nonimmediate_operand" for output operand.
7084         (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
7085         (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
7086
7087 Thu Dec 16 02:41:26 1999  Richard Henderson (rth@cygnus.com)
7088
7089         * loop.c (insert_loop_mem): Ignore memory clobbers.
7090
7091         * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
7092         to (OP A B).
7093
7094 Thu Dec 16 02:26:11 1999  Jeffrey A Law  (law@cygnus.com)
7095
7096         * profile.c: Remove redundant #include "output.h".
7097
7098         * h8300.md (HImode preinc peephole): Fix typo.
7099
7100 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
7101
7102         * function.c (retrofit_block): Abort if we don't find a suitable insn.
7103         (insert_block_after_note): Abort if we don't have a previous block.
7104         Remove FN parameter.
7105         * function.h: Adjust.
7106
7107 1999-12-15  Mark Mitchell  <mark@codesourcery.com>
7108
7109         * builtins.c (expand_builtin_mathfn): Make sure not to expand the
7110         argument more than once.
7111
7112 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
7113
7114         * stmt.c (expand_decl): Expand upper bound of a dynamic array.
7115
7116 1999-12-15  Jakub Jelinek  <jakub@redhat.com>
7117
7118         * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
7119
7120 Wed Dec 15 16:11:55 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7121
7122         * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
7123         (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
7124         update stack_alignment_needed.
7125         (prepare_function_start): Initialize stack_alignment_needed
7126         * function.h (struct function): Add field stack_alignment_needed.
7127
7128 Wed Dec 15 14:55:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7129
7130         * caller-save.c (insert_one_insn): Returns struct insn_chain *.
7131         Handle live_throughout / dead_or_set instead of live_before /
7132         live_after.
7133         (save_call_clobbered_regs): Get register livenessinformation from
7134         chain->live_throughout.
7135         (add_stored_regs): New function.
7136         (insert_restore, insert_save): Add restored / saved registers to
7137         dead_or_set.
7138         * global.c (reg_dies): New parameter chain.
7139         (reg_becomes_live): Third parameter is regs_set now.
7140         Changed all callers.
7141         (reg_dies): New parameter chain.  Changed all callers.
7142         (build_insn_chain): Set live_throughout instead of
7143         live_before / live_after.
7144         * reload.h (struct insn_chain): Replace members live_before /
7145         live_after with live_throughout / dead_or_set.
7146         * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
7147         instead of live_before / live_after.
7148         (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
7149         (order_regs_for_reload, find_reg, finish_spills): Likewise.
7150         (choose_reload_regs_init): Likewise.
7151         * stupid.c (current_chain, find_clobbered_regs): Delete.
7152         (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
7153         instead of chain->live_before / chain->live_after.
7154         (mark_hard_ref): New function.
7155         (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
7156
7157 1999-12-15  David S. Miller  <davem@redhat.com>
7158
7159         * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
7160
7161 Wed Dec 15 15:05:30 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7162
7163         * flow.c (calculate_loop_depth): Make global, remove prototype,
7164         rewrite to use new loop infrastructure.
7165         (find_basic_block): Remove calculate_loop_depth call.
7166         * toplev.c (rest_of_compilation): Call find_basic_block.
7167         * output.h (calculate_loop_depth): Declare.
7168
7169         * flow.c (dump_flow_info): Dump loop_depth.
7170         (flow_loops_nodes_find): Increase loop_depth for basic block in the
7171         body.
7172         (flow_loops_find): Initialize the loop_depth for each basic block.
7173
7174 1999-12-15  Jason Merrill  <jason@casey.cygnus.com>
7175
7176         * tree.c (decl_function_context): Handle virtual functions.
7177
7178         * tlink.c (scan_linker_output): Don't look in demangled name when
7179         looking for linker output keywords.
7180
7181         * dwarfout.c (output_type): We can defer namespace-scope classes.
7182
7183 Wed Dec 15 01:23:29 1999  Jeffrey A Law  (law@cygnus.com)
7184
7185         * regclass.c (record_reg_classes): Update comment for merging
7186         register class preferences in reg->reg copies.  Tighten conditions
7187         for merging register class preferences in reg->reg copies.
7188
7189 Wed Dec 15 02:19:32 1999  David Edelsohn  <edelsohn@gnu.org>
7190
7191         * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
7192
7193 1999-12-14  Geoff Keating  <geoffk@cygnus.com>
7194
7195         * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
7196         (INIT_SECTION_ASM_OP): Delete.
7197         (FINI_SECTION_ASM_OP): Delete.
7198         (STARTFILE_SPEC): Define to hold just crtbegin.o.
7199
7200 1999-12-14  Jason Merrill  <jason@casey.cygnus.com>
7201
7202         * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
7203         the abstract origin wasn't emitted.
7204
7205         * dwarf2out.c (class_scope_p): New fn.
7206         (gen_subprogram_die): Use it.
7207         (gen_variable_die): Use it.  Tweak logic.
7208         (gen_struct_or_union_type_die): Check context_die to determine
7209         if we're function-local.
7210         (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
7211
7212 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
7213
7214         * loop.c (check_dbra_loop): Can't reverse a biv that has
7215         maybe_multiple set.
7216
7217 1999-12-14  Nick Clifton  <nickc@cygnus.com>
7218
7219         * config/arm/arm.c: Add support for -mcpu=arm720 command line
7220         switch.
7221
7222 Tue Dec 14 18:13:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7223
7224         * loop.c (strength_reduce): Fix sign of giv lifetime calculation
7225         for givs made from biv increments.
7226
7227 Tue Dec 14 08:11:27 1999  Richard Henderson  <rth@cygnus.com>
7228
7229         * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
7230         * alpha.c (override_options): Recognize -mcpu=ev67.
7231         * alpha.h (CPP_CPU_EV67_SPEC): New.
7232         (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
7233         (EXTRA_SPECS): Update.
7234
7235 Tue Dec 14 08:04:28 1999  Richard Henderson  <rth@cygnus.com>
7236
7237         * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
7238         appropriate for -lang-c89 and -std=*.
7239         * cppinit.c (cpp_handle_option): Likewise.
7240         (new_pending_define): New, split out from cpp_handle_option.
7241         * gcc.c (default_compilers): Don't define __STRICT_ANSI__
7242         or enable trigraphs for -ansi/-std=*.
7243
7244         * ginclude/stdarg.h (__va_copy): New.
7245         (va_copy): Don't define for C89.
7246
7247 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz  <cpopetz@cygnus.com>
7248
7249         * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
7250         for long long multiply-accumulate.
7251
7252 Tue Dec 14 13:51:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7253
7254         * regclass.c (scan_one_insn): Set loop_cost to 1 when
7255         optimizing for size.
7256
7257 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
7258
7259         * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
7260         if something changed.  Back out that part of yesterday's changes.
7261
7262         * loop.c (loop_max_reg): New static variable.
7263         (loop_optimize): Initialize it.  Eliminate one unnecessary call to
7264         max_reg_num.
7265         (scan_loop): Call reg_scan_update whenever we may have added new
7266         registers, and update loop_max_reg.
7267
7268 Tue Dec 14 12:07:29 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7269
7270         * regclass.c  (record_reg_classes): Do not do the copying preferrencing
7271         when source does not die.
7272
7273         * regclass.c (record_reg_classes): Handle INOUT operands propertly.
7274
7275 1999-12-14  Jakub Jelinek  <jakub@redhat.com>
7276
7277         * config/sparc/linux64.h (TARGET_LIVE_G0,
7278         TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
7279         variants on Linux.
7280         * config/sparc/linux.h (TARGET_LIVE_G0,
7281         TARGET_BROKEN_SAVERESTORE): Likewise.
7282         * config/sparc/linux-aout.h (TARGET_LIVE_G0,
7283         TARGET_BROKEN_SAVERESTORE): Likewise.
7284
7285         * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
7286         (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
7287         not %g2.
7288         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
7289         as sparc64 block profiling register.
7290         * config/sparc/sparc.c (sparc_override_options): Allow block
7291         profiling with -m32.
7292         (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
7293         profiling register.
7294         * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
7295         macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
7296         * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
7297
7298         * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
7299         for sparc64.
7300         * config/sparc/sparc.h: Likewise.
7301         * config/sparc/xm-sysv4-64.h: Likewise.
7302         * config/float-sparc.h: Likewise.
7303         * glimits.h: Likewise.
7304         * longlong.h: Likewise.
7305
7306         * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
7307         (ASM_IDENTIFY_GCC): Remove.
7308
7309 1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
7310
7311         * combine.c (combine_simplify_rtx): Don't make shared rtl.
7312         (simplify_logical): Likewise.
7313
7314 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
7315
7316         * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
7317         * cppfiles.c (INO_T_EQ): Likewise.
7318
7319 1999-12-14  Mumit Khan  <khan@xraylith.wisc.edu>
7320
7321         * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
7322         * i386/mingw32.h (LIB_SPEC): Likewise.
7323         (STARTFILE_SPEC): Likewise.
7324         * i386/uwin.h (LIB_SPEC): Likewise.
7325         (STARTFILE_SPEC): Likewise.
7326
7327         * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
7328         * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
7329
7330 Mon Dec 13 20:25:29 1999  Jeffrey A Law  (law@cygnus.com)
7331
7332         * combine.c (combine_simplify_rtx): Fix order of checks for
7333         (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
7334
7335 1999-12-13  Clinton Popetz  <cpopetz@cygnus.com>
7336
7337         * config/arm/arm.md  (*mulsidi3adddi, *umulsidi3adddi) Backed out
7338         12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
7339
7340 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
7341
7342         * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
7343         defined.
7344         * regclass.c (inv_reg_alloc_order): New array.
7345         (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
7346
7347         * reload.h (struct insn_chain): Delete fields group_size, group_mode,
7348         counted_for_groups, counted_for_nongroups.  Add fields rld and
7349         n_reloads.
7350         * reload.c (push_secondary_reload): Don't set nongroup field of
7351         new reloads.
7352         (push_reload): Likewise.
7353         (find_reloads): Delete code to compute nongroup fields.
7354         * reload1.c (reload_insn_firstobj): New static variable.
7355         (pseudos_counted, spilled_pseudos): Now of type regset_head.  All
7356         users changed.
7357         (calculate_needs, find_tworeg_group, find_group, possible_group_p,
7358         count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
7359         dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
7360         functions.
7361         (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
7362         functions.
7363         (struct hard_reg_n_uses): Deleted.
7364         (potential_reload_regs): Deleted.
7365         (init_reload): Initialize spilled_pseudos and pseudos_counted.
7366         (reload): Don't try to allocate reload registers if we already know
7367         we have to make another pass.  Call select_reload_regs.  Free memory
7368         starting with reload_firstobj when starting another pass.
7369         Don't allocate spilled_pseudos.
7370         (calculate_needs_all_insns): Call copy_reloads for an insn that
7371         needs reloads; don't call calculate_needs.
7372         (spill_cost): New static array.
7373         (used_spill_regs_local): New static variable.
7374         (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
7375         to compute potential_reload_regs.
7376         (find_reload_regs): Completely rewritten to use find_reg.
7377         (allocate_reload_reg): Don't test counted_for_groups or
7378         counted_for_nongroups.  Lose NOERROR arg and code to give an error;
7379         all cllers changed.
7380         (choose_reload_regs): Add fallback code that uses the existing
7381         register allocation from find_reload_regs.
7382
7383 Mon Dec 13 00:54:14 1999  Philippe De Muyter  <phdm@macqel.be>
7384
7385         * flow.c (create_edge_list): Cast xmalloc return value.
7386
7387 Mon Dec 13 00:47:58 1999  Jeffrey A Law  (law@cygnus.com)
7388
7389         * doprnt.c: Remove incorrect comment closure.
7390
7391         * cse.c: Fix a few minor whitespace goofs.
7392
7393 1999-12-13  Don Bowman  <don@pixstream.com>
7394
7395         * mips/vxworks.h: Fix problem with comment termination.
7396         (EXTRA_SECTIONS): Add in_sbss.
7397         (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
7398
7399 1999-12-12  David S. Miller  <davem@redhat.com>
7400
7401         * cse.c (struct cse_reg_info): Add hash_next member,
7402         reorder rest of struct for better packing on 64-bit
7403         hosts.
7404         (cse_reg_info_tree): Kill.
7405         (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
7406         REGHASH_FN): New custom pow2 hash mechanism.
7407         (NBUCKETS): Kill.
7408         (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
7409         use a pow2 hash table.
7410         (get_cse_reg_info): Rework to use new REGHASH.
7411         (new_basic_block): Likewise, use HASH_SIZE, and inline
7412         free_element call.
7413         (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
7414         and inline free_element call.
7415         (lookup_as_function, insert, flush_hash_table, invalidate,
7416         remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
7417         invalidate_for_call, use_related_value, find_comparison_args,
7418         fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
7419         (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
7420         get_element): Kill.
7421
7422 Sun Dec 12 21:31:44 1999  Jeffrey A Law  (law@cygnus.com)
7423
7424         * cse.c (cse_basic_block): Free qty_table consistently.
7425
7426 1999-12-12  David S. Miller  <davem@redhat.com>
7427             Jakub Jelinek    <jakub@redhat.com>
7428
7429         * config/sparc/sparc.md (movtf reg/reg split): Don't generate
7430         SUBREGs by hand, gen the appropriate hard reg directly.
7431         (movtf reg/mem split): Likewise and alter_subreg on destination
7432         if necessary.
7433         (movtf mem/reg split): Similarly.
7434         (movdf_cc_sp64): Rename from hidden pattern.
7435         (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
7436         (movtf_cc_sp64, following split): New pattern and splitter.
7437         (movdf_cc_reg_sp64): Rename from hidden pattern.
7438         (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
7439         TARGET_HARD_QUAD.
7440         (movtf_cc_reg_sp64, following split): New pattern and splitter.
7441
7442 1999-12-12  Stephen L Moshier <moshier@mediaone.net>
7443
7444         * loop.c (load_mems): Don't hoist written floating point mem
7445         if -ffloat-store.
7446
7447 1999-12-12  Mark Mitchell  <mark@codesourcery.com>
7448
7449         * except.h (struct eh_queue): Add `next' pointer.
7450         (struct eh_status): Make x_ehqueue a pointer.
7451         (push_ehqueue):  Declare.
7452         (pop_ehqueue): Likewise.
7453         * except.c (expand_eh_region_end): Adjust now that ehqueue is a
7454         pointer.
7455         (expand_fixup_region_end): Likewise.
7456         (expand_leftover_cleanups): Likewise.
7457         (push_ehqueue): Define.
7458         (pop_ehqueue): Likewise.
7459         (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
7460         than doing it inline.
7461         (expand_start_all_catch):  Adjust now that ehqueue is a
7462         pointer.
7463         (mark_eh_queue): Mark all level of the queue.
7464         (mark_eh_status):  Adjust now that ehqueue is a
7465         pointer.
7466         (init_eh_for_function): Allocate ehqueue.
7467         (free_eh_status): Free it.
7468         * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
7469         expansion for a fixup.
7470
7471 1999-12-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7472
7473         * gthr-single.h (__gthread_active_p): Add prototype arguments.
7474
7475         * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
7476         (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
7477         __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
7478         function_ptr, getpagesize, __enable_execute_stack,
7479         __enable_execute_stack, __clear_insn_cache,
7480         __enable_execute_stack, __do_global_dtors, __do_global_ctors,
7481         _cleanup, _exit, __default_terminate, __terminate_func,
7482         __terminate, __empty, __throw, new_eh_context,
7483         eh_context_initialize, eh_context_static, eh_context_specific,
7484         get_eh_context, __get_eh_context, __get_eh_info,
7485         init_reg_size_table, eh_threads_initialize,
7486         __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
7487         __unwinding_cleanup, throw_helper, __throw, __rethrow,
7488         __pure_virtual): Add prototype arguments.
7489         (__bb_exit_func): Cast a sizeof to long when comparing against one.
7490         Cast a signed value to unsigned long when comparing against one.
7491         (new_eh_context): Wrap in _GTHREADS macro.
7492         (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
7493         declaration.
7494         (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
7495         (throw_helper): Initialize variables `handler_p' and `pc_p'.
7496
7497 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7498
7499         * combine.c (record_promoted_value): Remove unused variable
7500         `links2'.
7501
7502         * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
7503
7504         * global.c (record_conflicts): Likewise for `j'.
7505
7506         * genoutput.c (output_insn_data): Don't unnecessarily cast away
7507         const-ness.
7508
7509 1999-12-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7510
7511         * i386-protos.h (output_387_binary_op, output_fix_trunc,
7512         output_fp_compare): Constify a char*.
7513
7514         * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
7515         static prototypes.
7516         (override_options, ix86_comp_type_attributes, print_operand,
7517         output_387_binary_op, output_fix_trunc, output_fp_compare):
7518         Constify a char*.
7519         (ix86_sched_reorder): Mark parameter `clock_var' with
7520         ATTRIBUTE_UNUSED.
7521
7522         * i386.h (DEBUG_PRINT_REG): Constify a char*.
7523
7524 Fri Dec 10 16:12:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
7525
7526         * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
7527         operand, for use in the Java front-end.
7528
7529 1999-12-10  Ben Collins  <bcollins@debian.org>
7530
7531         * configure.in: Fix typo for "-64" in 64bit as check.
7532         * configure: Rebuilt.
7533
7534 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
7535
7536         * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
7537         appropriate.
7538
7539 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7540
7541         * c-parse.in (string): With -Wtraditional, warn if ANSI string
7542         concatenation is utilized.
7543
7544         * invoke.texi (-Wtraditional): Document it.
7545
7546 1999-12-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7547
7548         * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
7549         Cast a ptrdiff_t to long and pass it to printf with %ld.
7550
7551 1999-12-10  Geoff Keating  <geoffk@cygnus.com>
7552
7553         * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
7554         68881, we have no 68881 registers at all.
7555         (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
7556         value in a 68881 register if it is available.
7557
7558 1999-12-10  Clinton Popetz  <cpopetz@cygnus.com>
7559
7560         * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
7561         for long long multiply-accumulate.
7562
7563 1999-12-10  Bernd Schmidt  <bernds@cygnus.co.uk>
7564
7565         * loop.c (insert_loop_mem): Undo last change.
7566
7567 1999-12-10  David S. Miller  <davem@redhat.com>
7568
7569         * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
7570         New functions.
7571         * config/sparc/sparc-protos.h: Add them.
7572         * config/sparc/sparc.h: Add them to PREDICATE_CODES.
7573         (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
7574         constraints which use those helpers.
7575         (EXTRA_CONSTRAINT): Use this new macro.
7576         * md.texi: Update sparc target constraints documentation.
7577         * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
7578         movsf_const_high, movsf_const_lo, movsf_insn): Delete.
7579         (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
7580         movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
7581         (movsf high/lo_sum split): Rework for new patterns.
7582         (movsf expander): Allow storing fp_zero to memory if ! live_g0.
7583
7584 1999-12-09  Gavin Romig-Koch  <gavin@cetus.cygnus.com>
7585
7586         * c-common.c (c_common_nodes_and_builtins):
7587         Create __builtin_ptrdiff_t and __builtin_size_t.
7588
7589 Thu Dec  9 18:05:48 1999  Jeffrey A Law  (law@cygnus.com)
7590
7591         * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
7592
7593 Fri Dec 10 00:53:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7594
7595         * regclass.c (globalize_reg): Re-instate test that allows
7596         fixed registers to be declared as a variable even after functions
7597         are defined.
7598
7599 Fri Dec 10 00:52:13 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7600
7601         * i386.md (cpu attribute): Add "athlon".
7602         (athlon_decode): New attribute.
7603         (Athlon scheduling units definitions): New.
7604         (fcmp and shld patterns): Set athlon_decode to "vector".
7605         * i386.c (athlon_cost): New.
7606         (m_ATHLON): New.
7607         (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
7608         x86_use_sahf): Set for Athlon.
7609         (x86_use_fiop): Unset for Athlon.
7610         (override_options): Define Athlon alignments and "athlon" name.
7611         (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
7612         * i386.h (TARGET_ATHLON): New.
7613         (enum processor_type): Add PROCESSOR_ATHLON.
7614         (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
7615         for CPU_DEFAULT==5
7616         (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
7617
7618 1999-12-09  Andreas Jaeger  <aj@suse.de>
7619
7620         * loop.c (record_biv): Declare parameter as int.
7621
7622         * config/i386/i386-protos.h: Declare long_memory_operand.
7623
7624 1999-12-09  Mark Mitchell  <mark@codesourcery.com>
7625
7626         * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
7627         EXPR_WITH_FILE_LOCATION.
7628
7629 Thu Dec  9 11:36:24 MET 1999 Jan Hubicka  <hubicka@freesoft.cz>
7630
7631         * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
7632         in expander.
7633
7634         * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
7635
7636         * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
7637         updating code.
7638
7639 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
7640
7641         * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
7642         default on linux64 again.
7643         * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
7644         models for multilibing.
7645         * genmultilib: Accept | as alternative separator within a set in
7646         MULTILIB_OPTIONS.
7647
7648         * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
7649
7650         * calls.c (precompute_arguments): Make sure initial_value contains
7651         value pseudo which CSE expects.
7652         * cse.c (struct set): New entry orig_src.
7653         (cse_insn): Set it early on entry, use it for libcall EQUIV note
7654         replacement.
7655
7656 Wed Dec  8 22:24:15 1999  Richard Henderson  <rth@cygnus.com>
7657
7658         * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
7659
7660 1999-12-08  Bernd Schmidt  <bernds@cygnus.co.uk>
7661
7662         * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
7663
7664 1999-12-08  Jakub Jelinek  <jakub@redhat.com>
7665
7666         * config/sparc/sparc.c (ultra_cmove_results_ready_p,
7667         ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
7668
7669         * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
7670         if TARGET_ARCH32.
7671
7672         * longlong.h: Merge in changes from glibc.
7673         Also don't clobber %g2 register in 32bit SPARC assembly, so that
7674         -mno-app-regs libgcc can be compiled.
7675         * libgcc2.c: Add defines so that the updated longlong.h
7676         can be used in libgcc2.a. Also, make sure on most architectures
7677         (at least on all which have optimized code in longlong.h defined
7678         for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
7679
7680 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
7681
7682         * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
7683         `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
7684         * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
7685         is GNU ld.
7686         * configure: Rebuilt.
7687
7688 Wed Dec  8 03:45:40 1999  Richard Henderson  <rth@cygnus.com>
7689
7690         * alpha.c (secondary_reload_class): For !BWX, sub-simode
7691         outputs require a register.
7692
7693 1999-12-08  Brendan Kehoe  <brendan@cygnus.com>
7694
7695         * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
7696         _df_to_usi.  Required by some targets, so US_SOFTWARE_GOFAST calls to
7697         functions like dptoul will be resolved.
7698         (libgcc2.a): Make sure that the object files from DPBIT are named
7699         differently (prefix `_dp') from those that would be coming from
7700         FPBIT.
7701
7702 1999-12-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>,  Jakub Jelinek  <jakub@redhat.com>
7703
7704         * configure.in: When target is sparc* and tm_file contains 64,
7705         test for 64bit support in assembler.  If not supported, remove
7706         sparc/t-sol2-64 from target-dependent Makefile fragments.
7707         (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
7708         (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
7709         (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
7710         * acconfig.h (AS_SPARC64_FLAG): Added.
7711         * configure, config.in: Rebuilt.
7712         * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
7713         support.  Use AS_SPARC64_FLAG.
7714
7715 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
7716
7717         * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
7718         suitable for holding OFmode values so that gcc works with complex
7719         quad long doubles.
7720         (hard_64bit_mode_classes): Likewise.
7721
7722         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
7723         so that it is actually matched.
7724         (sethi_di_medlow): Likewise.
7725
7726         * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
7727         as legitimate constant if -mvis.
7728         * config/sparc/sparc.md (movtf): Likewise.
7729         (clear_sf): Use const_double_operand.
7730         (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
7731
7732         * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
7733         * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
7734         * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
7735         routines, _Qp_* cannot be handled like that now.
7736         (INIT_TARGET_OPTABS): Likewise.
7737         * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
7738         (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
7739         sparc_emit_float_lib_cmp if ARCH64 and soft float.
7740         (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
7741         floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
7742         divtf3, sqrttf3): New expanders.
7743         (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
7744         floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
7745         addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
7746         non-_hq patterns.
7747
7748         * configure.in (sparc64-*-linux*): Use posix threads if enabled.
7749         * configure: Rebuilt.
7750         * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
7751         -mcpu is given and we're doing 64bit compiles.
7752
7753 Tue Dec  7 19:22:06 1999  Richard Henderson  <rth@cygnus.com>
7754
7755         * loop.h (struct induction): Add multi_insn_incr.
7756         * loop.c (basic_induction_var): New multi_insn_incr argument.
7757         Set it if we search back through previous insns for the biv.
7758         (record_biv): New multi_insn_incr argument; fill in struct induction.
7759         (strength_reduce): Discard an iv with multiple bivs, any of
7760         which require multiple insns to increment.
7761
7762 1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
7763
7764         * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
7765         documentation.
7766
7767 1999-12-06  David S. Miller  <davem@redhat.com>
7768
7769         * combine.c (check_promoted_subreg): Do not conditionalize this upon
7770         PROMOTE_FUNCTION_RETURN.
7771
7772 Mon Dec  6 15:12:14 1999  Jim Wilson  <wilson@cygnus.com>
7773
7774         * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
7775         and handle REG_UNUSED note on insn.
7776
7777         * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask.  Set
7778         inner_mask instead of mask.
7779
7780 1999-12-06  Brendan Kehoe  <brendan@cygnus.com>
7781
7782         * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
7783         zero if there was an error.
7784
7785 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
7786
7787         * config/sparc/sparc.md (return_losum_di): Fix typo in asm
7788         output string.
7789
7790         * longlong.h: Fix clobbers in SPARC asm statements.
7791
7792         * config/sparc/sparc.c (input_operand): Allow HImode and QImode
7793         valid sethi operations when TARGET_ARCH64.
7794
7795         * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
7796         always use move_by_pieces to avoid infinite recursion.
7797         (restore_fixed_argument_area): Likewise.
7798
7799         * combine.c (check_promoted_subreg, record_promoted_value): New
7800         functions.
7801         (combine_instructions): Use them to retain nonzero and sign bit
7802         information after SUBREGs are eliminated by optimizations in
7803         this pass if PROMOTE_FUNCTION_RETURN.
7804
7805         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
7806         .register declaration. Don't use variables with __ prefixes.
7807
7808 Mon Dec  6 12:24:52 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7809
7810         * fold-const.c (optimize_bit_field_compare): Only use one mode
7811         for both RHS and LHS in non-constant case.
7812
7813 1999-12-06  Nathan Sidwell  <nathan@acm.org>
7814
7815         * frame.c (start_fde_sort): Only allocate erratic array, if
7816         linear one was allocated. Return allocated flag.
7817         (fde_insert): Only insert, if there's a valid array.
7818         (fde_end_sort): Split, sort and merge if linear and erratic
7819         arrays exist, else just sort linear one.
7820         (search_fdes): New function. Linear search through original fde
7821         structure.
7822         (frame_init): Permit multiple initializations. Cope with
7823         memory shortages.
7824         (find_fde): Fallback on linear search, if failed to sort array.
7825         (__deregister_frame_info): Only free sorted array, if we
7826         allocated it.
7827
7828 1999-12-06  Jakub Jelinek  <jakub@redhat.com>
7829
7830         * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
7831
7832 1999-12-05  Jakub Jelinek  <jakub@redhat.com>
7833
7834         * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
7835
7836 1999-12-05  Mark Mitchell  <mark@codesourcery.com>
7837
7838         * tree.h (special_function_p): Declare.
7839         * calls.c (special_function_p): Make it global.  Don't take `name'
7840         as a parameter.  Fix typo in 1999-11-28 change.
7841         (expand_cal): Adjust.
7842
7843 1999-12-04  Mark Mitchell  <mark@codesourcery.com>
7844
7845         * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
7846         * tree.h (EXPR_WFL_FILENAME): Define in terms of
7847         EXPR_WFL_FILENAME_NODE.
7848         (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
7849         the TREE_CHAIN.
7850         * print-tree.c (print_note): Print TREE_PRIVATE and
7851         TREE_PROTECTED.
7852
7853         * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
7854         the original die cannot be found.
7855
7856         * varray.h (varray_head_tag): Add elements_used.
7857         (VARRAY_PUSH): New macro.
7858         (VARRAY_POP): Likewise.
7859         (VARRAY_TOP): Likewise.
7860         Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
7861         types.
7862         * varray.c (varray_init): Initialize elements_used.
7863         * Makefile.in (BASIC_BLOCK_H): Add varray.h.
7864         (INTEGRATE_H): New variable.
7865         (integrate.o): Depend on INTEGRATE_H.
7866         (unroll.o): Likewise.
7867
7868         * function.h (insert_block_after_note): Declare.
7869         * function.c (insert_block_after_note): Split out from ...
7870         (retrofit_block): ... here.
7871
7872         * stmt.c (expand_fixup): Fix typo in comment.
7873
7874 Sat Dec  4 14:13:38 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
7875
7876         * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
7877         (optimize_reg_copy_1): Remove REG_N_REFS updating code.
7878         (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
7879         (regmove_optimize, fixup_match_1): Likewise.
7880
7881 1999-12-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7882
7883         * flow.c (flow_loops_dump): Add missing argument when calling
7884         flow_loop_nested_p.
7885
7886 1999-12-04  Geoffrey Keating  <geoffk@cygnus.com>
7887             Greg McGary  <gkm@gnu.org>
7888
7889         * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
7890         (init_attributes): Add A_NO_LIMIT_STACK.
7891         (decl_attributes): Handle A_NO_LIMIT_STACK.
7892         * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
7893         * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
7894         Handle stack bounds checking.
7895         * flags.h (flag_stack_check): Use the word 'probe' rather than
7896         'check', because the flag doesn't actually cause any checking to
7897         be done.
7898         * function.c (expand_function_start): Set
7899         current_function_limit_stack.
7900         * function.h (struct function): Add limit_stack.
7901         (current_function_limit_stack): Define.
7902         * invoke.texi (Code Gen Options): Document new options.
7903         * rtl.h: Declare stack_limit_rtx.
7904         * toplev.c (stack_limit_rtx): New variable.
7905         (decode_f_option): Handle new options -fstack-limit-register=REG,
7906         -fstack-limit-symbol=IDENT, -fno-stack-limit.
7907         (main): Add stack_limit_rtx as GC root.
7908         * tree.h (DECL_NO_LIMIT_STACK): New macro.
7909         (struct tree_decl): New member no_limit_stack.
7910
7911         * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
7912         stack_limit_rtx.
7913         * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
7914         (conditional_trap+1): Get new mnemonic correct.
7915         (conditional_trap+2): New pattern for DImode traps.
7916
7917         * config/m68k/m68k.c (output_function_prologue): Handle
7918         stack_limit_rtx.
7919         * config/m68k/m68k.md (trap): New insn.
7920         (conditional_trap): New insn.
7921         * md.texi (Standard Names): Document `trap' and
7922         `conditional_trap'.
7923         * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
7924         so a cc0 setter doesn't get emitted at some random place in the
7925         function.
7926
7927         * config/i960/i960.md (trap): New insn.
7928         (conditional_trap): New expander.
7929         (conditional_trap+1, conditional_trap+2): New insns for signed
7930         and unsigned cases.
7931         * config/i960/i960.c (i960_function_prologue): Use
7932         STARTING_FRAME_OFFSET.  Handle stack_limit_rtx.
7933
7934 Thu Dec  2 21:22:45 1999  Greg McGary  <gkm@gnu.org>
7935                           Geoffrey Keating  <geoffk@cygnus.com>
7936
7937         * flags.h (warn_padded, warn_packed): Add global var decls.
7938         * toplev.c (warn_padded, warn_packed): Add global var defns.
7939         (W_options): Add warnings `-Wpacked' and `-Wpadded'.
7940         * stor-layout.c (layout_record): Add local variable `type'
7941         to hold often-used TREE_TYPE (field).  Add local variable
7942         `unpacked_align' to hold alignment that would be in force
7943         if no `packed' attribute were present.  Warn if `packed' attribute
7944         is unnecessary, or even harmful.  Warn when gcc inserts padding
7945         to satisfy alignment requirements of members.  Use NULL_TREE
7946         when checking whether var_size is set.
7947         * invoke.texi: Document new flags.
7948
7949 1999-12-03  Nathan Sidwell  <nathan@acm.org>
7950
7951         * frame.c (fde_split): Reimplement to avoid variable sized array.
7952
7953 Thu Dec  2 18:59:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
7954
7955         * combine.c (try_combine): Before fixing up LOG_LINKS for the
7956         i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
7957
7958 1999-12-02  Gavin Romig-Koch  <gavin@cygnus.com>
7959
7960         * invoke.texi: Document the mips option -mno-crt0
7961
7962 1999-12-02  Mike Karr  <mkarr@mathworks.com>
7963
7964         * cccp.c (argdata): Added free_ptr member.
7965         (macroexpand): Initialize free_ptr of each argument. When an
7966         argument's buffers are freed, if the argument's free_ptr corresponds
7967         to a buffer on the input stack, then return the free_ptr to that stack
7968         frame, otherwise, free it.
7969         (macarg): If an argument begins and ends on the same input stack level,
7970         then transfer the free_ptr of that buffer to the argument in case
7971         the stack is popped during the processing of a subsequent argument.
7972
7973 1999-12-02  Bernd Schmidt  <bernds@cygnus.co.uk>
7974
7975         * loop.c (note_reg_stored): New function.
7976         (struct note_reg_stored_arg): New structure.
7977         (try_copy_prop): Change to be more conservative; only replace within
7978         one extended basic block and stop replacing if a store to the
7979         replacement reg is seen.
7980
7981 1999-12-02  Nick Clifton  <nickc@cygnus.com>
7982
7983         * config/fp-bit.c: Initialise all fields of the NAN
7984         constants.
7985
7986         * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
7987         to HANDLE_PRAGMA.
7988
7989 Wed Dec  1 18:16:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
7990
7991         * i386.md (extend?f?f2): Force the input into a register, not
7992         the output.
7993
7994 1999-12-01  Jakub Jelinek  <jakub@redhat.com>
7995
7996         * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
7997         regclass' sake.
7998         (movdf_const_intreg_sp32): Likewise. Prefer the memory load
7999         alternative because setting up 64bit constant is usually costly,
8000         especially when reload is in progress or completed.
8001         (movdf_const_intreg_sp64): Likewise.
8002         (movdf_const_intreg split): Fix building up constants when
8003         HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
8004
8005 Wed Dec  1 16:51:22 1999  Jeffrey A Law  (law@cygnus.com)
8006
8007         * combine.c (if_then_else_cond): Use const_true_rtx instead of
8008         const1_rtx for return values in EQ/NE comparison against (const_int 0)
8009         case.
8010
8011         * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
8012         (asm_file_start): Emit .am33 into assembly file when compiling for
8013         the AM33.
8014         (print_operand_address): Handle POST_INC addresses.
8015         (can_use_return_insn, initial_offset): Check AM33 registers too.
8016         (expand_prologue): Check & save AM33 registers too.
8017         (expand_epilogue): Similarly.
8018         (secondary_reload_class): Handle AM33 specific secondary reloads.
8019         (output_tst): Emit efficient code for the AM33 too.
8020         * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
8021         (TARGET_SWITCHES): Add -mam33 switch.
8022         (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
8023         (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
8024         (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
8025         (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
8026         (enum reg_class, REG_CLASS_NAMES): Likewise.
8027         (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
8028         (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
8029         (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
8030         (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
8031         (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
8032         (HAVE_POST_INCREMENT): Define.
8033         (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
8034         (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
8035         * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
8036         (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
8037         (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
8038         (zero_extend to SI from QI/HI): Likewise.
8039         (sign_extend to SI from QI/HI): Likewise.
8040         (mulsidi3, umulsidi3): New patterns for the AM33.
8041         (tstsi with zero extension from QI/HI): Add AM33 variants.
8042         (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
8043         (return_internal_regs, store_movm): Handle new AM33 registers.
8044         * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
8045         (LIBGCC, INSTALL_LIBGCC): Likewise.
8046         * invoke.texi: Document new flags.
8047
8048 Fri Nov 26 10:59:12 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8049
8050         * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
8051         (addsi3_carry): Likewise.
8052         (sbbsi3_cc): Add "binary_operator_ok" to the condition.
8053         (sbbsi3_carry): Likewise.
8054         (mulsi3): Rewrite to expander, ensure that only one operand is memory.
8055         (mulhi3): Likewise.
8056         (test?i_1): Ensure that only one operand is memory.
8057         (conditional move patterns): likewise.
8058         (shift and rotate patterns): Rewrite to expander, add
8059         "binary_operator_ok" to the condition.
8060
8061         * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
8062         * i386.h (procesor_costs): Add movzbl_load field.
8063         (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
8064         non-Q registers, accept DImode registers anywhere.
8065         (Q_CLASS_P): New.
8066         (MEMORY_MOVE_COST): Calculate QImode moves correctly.
8067         * i386.c (*_cost): Set value for movxbl_load field.
8068
8069         * (addsi): New add to lea splitter.
8070         (ashlsi): Likewise.
8071         (lea to add/shift peep2): New.
8072
8073 1999-12-01  Mark Salter <msalter@cygnus.com>
8074
8075         * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
8076         * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
8077         * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
8078
8079 Tue Nov 30 15:20:52 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8080
8081         * i386.c (ix86_expand_move): Never add clobbers to move patterns.
8082         * i386.md (movsi_xor): New.
8083         (movsi_or): New.
8084         (movsi_1, movhi_1, movqi_1): Remove.
8085         (movsi_2): Rename to movsi_1.
8086         (movhi_2): Rename to movhi_1.
8087         (movqi_2): Rename to movqi_1.
8088         (movdi_1): Remove; remove splitter.
8089         (movdi_2): Rename to movdi_1.
8090         (divmodsi4 splitter): Do not emit clobbers for move patterns.
8091         (long move peep2): Do not create QI or HI mode mov0s
8092         (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
8093
8094         * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
8095         rewrite splitters.
8096
8097         * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
8098         (abs?f2_if): Likewise.
8099
8100 1999-11-30  Alex Samuel  <samuel@codesourcery.com>
8101
8102         * ggc.h (ggc_test_and_set_mark): New macro.
8103         (ggc_mark_rtx): Use ggc_test_and_set_mark.
8104         (ggc_mark_tree): Likewise.
8105         (ggc_mark_rtvec): Likewise.
8106         * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
8107
8108 1999-11-30  Jason Merrill  <jason@casey.cygnus.com>
8109
8110         * dwarf2out.c (scope_die_for): Only handle types.  Only search for
8111         containing types.
8112         (decl_scope_table): Just an array of trees now.
8113         (push_decl_scope): Simplify.
8114         (dwarf2out_init): Adjust.
8115         (local_scope_p): New fn.
8116         (gen_inlined_enumeration_type_die): Don't call scope_die_for.
8117         (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
8118         (gen_typedef_die): Likewise.
8119         (gen_lexical_block_die): Don't call push/pop_decl_scope.
8120         (gen_inlined_subroutine_die): Likewise.
8121         (gen_abstract_function): Set current_function_decl temporarily.
8122         (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
8123         Handle block extern declarations.  Don't call push/pop_decl_scope.
8124         (gen_decl_die): Fix logic for block externs.
8125
8126 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8127
8128         * calls.c (special_function_p): Remove `realloc' and add `strdup'
8129         to the list of functions which have attribute malloc by default.
8130
8131 1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8132
8133         * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
8134         integer constant does not match the traditional type, limit the
8135         warnings to cases where the base of the type is ten.
8136
8137         * invoke.texi (-Wtraditional): Document it.
8138
8139 Tue Nov 30 15:18:35 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
8140
8141         * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
8142         * rs6000.md: Only access a CONST_INT with INTVAL
8143
8144 Tue Nov 30 14:21:00 1999  Richard Henderson  <rth@cygnus.com>
8145
8146         * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
8147         (compute_nearerout): Likewise.
8148         * ggc-page.c (ggc_page_print_statistics): Explicitly cast
8149         size_t to unsigned long for formatting.
8150
8151 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
8152
8153         * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
8154         Allow the user to override call-used/fixed state of %g2-5
8155         registers from the command line (with the exception of %g4 for
8156         embedded model).
8157         (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
8158         there is a higher chance of having a leaf function.
8159         (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
8160         for ARCH64 which has %ccr register.
8161         * config/sparc/sparc.md (return_losum_si, return_losum_di): New
8162         patterns.
8163         * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
8164         insn accept into delay slot any insn which does not use %[ol]
8165         registers.  Accept some LO_SUM and shift left by 1 for the normal
8166         restore case.
8167         (output_function_epilogue): Likewise.
8168         (epilogue_renumber): Added argument which inhibits any renumbering
8169         and just tests if the rtx does not use any %[ol] registers.
8170         (output_return): Reflect above change.
8171
8172 1999-11-30  Jakub Jelinek  <jakub@redhat.com>
8173
8174         * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
8175         aggregate passing for sizes <= 16 bytes.
8176
8177 1999-11-30  Bernd Schmidt  <bernds@cygnus.co.uk>
8178
8179         * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
8180         * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
8181         * reload.c (find_dummy_reload): Likewise.
8182         (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
8183         * reload1.c (reload_as_needed): Likewise.
8184         * stupid.c (stupid_find_reg): Likewise.
8185         * tm.texi (Obsolete Register Macros): Delete section.
8186         * gmicro.h: Remove all traces of the two macros.
8187         * i386.h: Likewise.
8188         * m88k.h: Likewise.
8189         * mips.h: Likewise.
8190
8191 1999-11-30  Brendan Kehoe  <brendan@cygnus.com>
8192
8193         * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
8194         (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
8195         (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
8196         * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
8197         units for the sparclite86x chip.
8198         (flush): Revert October 14th change; add SImode specifically.
8199         (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
8200         * invoke.texi: Document it.
8201
8202 Tue Nov 30 14:58:14 1999  Nick Clifton  <nickc@cygnus.com>
8203
8204         * config/mn10200/mn10200.h (PREDICATE_CODES): Add
8205         psimode_truncation_operand.
8206
8207         * config/mn10200/mn10200.c (psimode_truncation_operand): New
8208         function.  Return true if the operand is either a MEM valid
8209         for a PSImode address or not a MEM at all.
8210
8211         * config/mn10200/mn10200.md (truncsipsi2): Use
8212         psimode_truncation_operand.
8213
8214 1999-11-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8215
8216         * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
8217         (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
8218         (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
8219         (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
8220         (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
8221         (flow_loop_level_compute, low_loops_level_compute): Likewise.
8222         (flow_loops_find, flow_loop_outside_edge_p): Likewise.
8223         * basic-block.h: Protect from multiple inclusion.
8224         (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
8225         (struct loops, struct loop): Define structures.
8226         * sbitmap.c (sbitmap_a_subset_b_p): New function.
8227         * sbitmap.h: Protect from multiple inclusion.
8228         (sbitmap_a_subset_b_p): Add prototype.
8229         * Makefile.in (LOOP_H): New macro.
8230         (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
8231
8232 Tue Nov 30 01:34:47 1999  Philippe De Muyter  <phdm@macqel.be>
8233
8234         * cppinit.c (CAT): The argument list of this macro may not contain
8235         spaces !
8236
8237 1999-11-29  David S. Miller  <davem@redhat.com>
8238
8239         Move quantity tables and register equivalence chains into
8240         per-qty and per-register structure arrays respectively.
8241         * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
8242         qty_const_insn, qty_comparison_code, qty_comparison_const,
8243         qty_comparison_qty): Delete, replace with...
8244         (qty_table): this structure table.
8245         (reg_next_eqv, reg_prev_eqv): Delete, replace with...
8246         (reg_eqv_table): this structure table.
8247         (make_new_qty): Add argument MODE.  Caller updated.
8248         Update to use qty_table and reg_eqv_table.
8249         (make_regs_eqv, delete_reg_equiv, insert_regs,
8250         insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
8251         fold_rtx, equiv_constant, record_jump_cond, cse_insn,
8252         cse_process_notes, cse_main, cse_basic_block): Likewise.
8253
8254 Mon Nov 29 16:56:42 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8255
8256         * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
8257         operation if C is negative.
8258         (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
8259         (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
8260         law for some divisions if constant is negative and change other
8261         divisions to the opposite rounding.
8262
8263         * expr.c (store_constructor_field): If bit position is not multiple
8264         of alignment of TARGET's mode, use BLKmode.
8265
8266         * expr.c (expand_expr_unaligned): Add more code from full case
8267         that is needed when OP0 is in a register.
8268
8269 Mon Nov 29 18:09:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8270
8271         * dwarfout.c (field_byte_offset): Size can be zero if there was
8272         an error.
8273
8274 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
8275
8276         * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
8277         (associate_trees): Delete unused var TEM.
8278         (extract_muldiv): Delete unused var CANCEL_P.
8279
8280         * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
8281         (target_isinf, target_isnan, target_negative): Add return types to
8282         function definitions.
8283
8284 1999-11-29  Bruce Korb  <autogen@linuxbox.com>
8285
8286         * fixinc/fixincl.c(process): don't skip GLIBC files any more.
8287         * fixinc/hackshell.tpl: ditto
8288         * fixinc/fixtests.c(double_slash_test): more C++ header testing
8289         * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
8290
8291 1999-11-29  Bernd Schmidt  <bernds@cygnus.co.uk>
8292
8293         * reload.c (push_reload): When looking for a register to put into
8294         reg_rtx, make sure all hard regs in a multi-reg register are in the
8295         right class and nonfixed.
8296
8297         * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
8298         pending_read_insns, pending_write_insns, pending_read_mems,
8299         pending_write_mems, pending_list_length, last_pending_memory_flush,
8300         last_function_call, sched_before_next_call): Move static variables
8301         into a structure.
8302         (bb_ prefixed versions): Replace with single array bb_deps.
8303         (struct deps): New structure.
8304         (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
8305         sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
8306         argument of type "struct deps *"; use that instead of global
8307         variables.  All callers changed.
8308         (init_rgn_data_dependencies): Delete function.
8309         (init_rtx_vector): Delete function.
8310         (init_deps): New function.
8311
8312         (free_pending_lists): Simplify, we always use the bb_deps array even
8313         if only one basic block.
8314         (compute_block_backward_dependences): Likewise.
8315         (schedule_region): Likewise.
8316
8317         (propagate_deps): New function, broken out of
8318         compute_block_backward_dependences.
8319         (compute_block_backward_dependences): Use it.
8320
8321         * alpha.md: Delete useless patterns that tried to work around
8322         register elimination problems.
8323
8324         * unroll.c (loop_iterations): Don't abort if iteration variable
8325         was made by loop.
8326
8327         From Joern Rennecke:
8328         * reload1.c (reloads_conflict): Reverse test comparing operand
8329         numbers when testing for conflict between output/outaddr reloads.
8330
8331 1999-11-29  David S. Miller  <davem@redhat.com>
8332
8333         * config/sparc/sparc.c (init_cumulative_args): Fix type of third
8334         arg.
8335         * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
8336
8337 1999-11-28  Robert Lipe  <robertl@cygnus.com>
8338
8339         * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
8340         table from .fini into .dtor.
8341
8342 1999-11-28  Anthony Green  <green@cygnus.com>
8343
8344         * tree.h (struct tree_decl): Add malloc_flag.
8345         (DECL_IS_MALLOC): Define.
8346         * c-common.c (attrs): Add A_MALLOC attribute.
8347         (init_attributes): Add this attribute to the table.
8348         (decl_attributes): Handle malloc attribute.
8349         * calls.c (special_function_p): Check for the malloc attribute.
8350         * extend.texi (Function Attributes): Document malloc attribute.
8351
8352 Sun Nov 28 13:21:00 1999  Jeffrey A Law  (law@cygnus.com)
8353
8354         * pa.md (reload shift-add patterns): Remove.
8355
8356 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8357
8358         * reorg.c (dbr_schedule) Print more statistics. Corrected
8359         problem when printing info when 3 delay slots are filled.
8360
8361 1999-11-28  Jakub Jelinek  <jakub@redhat.com>
8362
8363         * combine.c (setup_incoming_promotions): Pass an outgoing
8364         regno to FUNCTION_ARG_REGNO_P which it expects.
8365
8366 1999-11-28  Andreas Jaeger  <aj@suse.de>
8367
8368         * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
8369
8370 Sun Nov 28 00:48:15 1999  Philippe De Muyter  <phdm@macqel.be>
8371
8372         * cccp.c (do_include): Avoid initialization of automatic variable.
8373
8374         * integrate.c (mark_stores): Function definition made void, to match
8375         previous declaration.
8376         * regclass.c (dump_regclass): Ditto.
8377         * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
8378
8379 Sat Nov 27 08:38:26 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8380
8381         * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
8382         known to be multiple of divisor.
8383
8384         * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
8385
8386         * combine.c (try_combine): Add code to try to merge a set of a
8387         two-word pseudo to a constant with a setting of one of those words
8388         to a constant.
8389
8390         * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
8391         (split_tree): Completely rework to make more general.
8392         (make_range, fold): Call negate_expr.
8393         (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
8394         (fold, associate): Call new split_tree and associate_trees.
8395         (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
8396
8397 1999-11-26  Bernd Schmidt  <bernds@cygnus.co.uk>
8398
8399         * loop.c (try_copy_prop): Avoid GNU C extension.
8400
8401 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
8402
8403         * except.c (init_eh_for_function): Still zero eh_return_context,
8404         eh_return_stack_adjust, and eh_return_handler.
8405
8406         * except.h (eh_status): Adjust documentation for x_protect_list.
8407         (begin_protect_partials): New function.
8408         * except.c (enqueue_eh_entry): Fix formatting.
8409         (get_first_handler): Add consistency check.
8410         (add_partial_entry): Adjust usage of protect_list.
8411         (emit_cleanup_handler): Save and restore ehqueue.
8412         (expand_start_all_catch): Add comment.
8413         (begin_protect_partials): New function.
8414         (end_protect_partials): Adjust usage of protect_list.
8415         (init_eh_for_function): Use xcalloc.
8416
8417 1999-11-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8418
8419         * c-common.c (check_format_info): Don't call a variadic function
8420         with a non-literal format string.
8421
8422         * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
8423
8424         * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
8425         pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
8426         Likewise.
8427
8428         * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
8429         Likewise.
8430
8431         * collect2.c (collect_wait): Likewise.
8432
8433         * dbxout.c (dbxout_type): Likewise.
8434
8435         * gcc.c (do_spec_1): Likewise.
8436
8437         * genemit.c (gen_insn, gen_expand): Likewise.
8438
8439         * genrecog.c (write_switch, write_subroutine): Likewise.
8440
8441         * mips-tfile.c (catch_signal, botch): Likewise.
8442
8443         * print-rtl.c (print_rtx): Likewise.
8444
8445         * toplev.c (default_print_error_function, report_error_function,
8446         _fatal_insn): Likewise.
8447
8448 1999-11-25  Mark Mitchell  <mark@codesourcery.com>
8449
8450         * tree.c (unsave_expr_now): Handle NULL_TREE as input.
8451
8452 Wed Nov 24 17:08:09 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8453
8454         * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
8455         operations when needed.
8456         * i386.md (fop_?f_comm): New.
8457         (fop_?f_1): Do not accept commutative operands.
8458
8459 1999-11-25  Andreas Jaeger  <aj@suse.de>
8460
8461         * config/mips/mips.md (casesi_internal): Add missing brace.
8462
8463 1999-11-25  Jason Merrill  <jason@casey.cygnus.com>
8464
8465         * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
8466         (splice_child_die): Handle moving a child DIE from the declaration
8467         DIE of a class to its specification.
8468         (gen_struct_or_union_type_die): Use 'complete' consistently.
8469         (gen_decl_die): Generate the virtual context DIE first.
8470         Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
8471
8472 1999-11-24  Gavin Romig-Koch  <gavin@cygnus.com>
8473
8474         * config/mips/mips.md (call_value_multiple_interanal1): New.
8475
8476 1999-11-24  Jason Merrill  <jason@casey.cygnus.com>
8477
8478         * dwarf2out.c (free_AT, free_die): New fns.
8479         (remove_children): Call them.
8480         (output_line_info): Disable removal of duplicate notes.
8481
8482         Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
8483         * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
8484         means pretend the type isn't defined.
8485         Don't defer emitting types.
8486         (gen_type_die_for_member): New fn.
8487         (gen_decl_die): Call it.
8488         (splice_child_die): New fn.
8489         (gen_member_die): Call it rather than generate duplicate dies.
8490
8491         Defer emitting information for the abstract instance of an inline
8492         until we either inline it or emit an out-of-line copy.
8493         * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
8494         from output_inline_function if DECL_ABSTRACT is also set.
8495         (block_ultimate_origin): Likewise.
8496         (gen_abstract_function): New fn.
8497         (gen_decl_die, gen_inlined_subroutine_die): Call it.
8498         (gen_subprogram_die):  An abstract instance is not a declaration
8499         just because it doesn't match current_function_decl.  Don't abort
8500         because DECL_DEFER_OUTPUT isn't set.  Do abort if a declaration
8501         has an abstract origin.
8502         * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
8503         abstract instance here.
8504
8505 Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
8506
8507         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
8508         where we need to reload fpul from a system register.
8509
8510 1999-11-24  Andreas Jaeger  <aj@suse.de>
8511
8512         * config/mips/linux.h (CPP_PREDEFINES): Added.
8513         (LINK_SPEC): Remove -Y since this is only needed on sparc.
8514
8515 1999-11-24  Andreas Jaeger  <aj@suse.de>
8516
8517         * config/mips/linux.h (TARGET_VERSION): Added.
8518         (HANDLE_SYSV_PRAGMA): Added.
8519         (DEFAULT_VTABLE_THUNKS): Added.
8520
8521 Wed Nov 24 14:12:15 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8522
8523         * local-alloc.c (qty): New structure and static variable.
8524         (qty_phys_reg): Remove, all references changed to qty.
8525         (qty_n_refs): Likewise.
8526         (qty_min_class): Likewise.
8527         (qty_birth): Likewise.
8528         (qty_death): Likewise.
8529         (qty_size): Likewise.
8530         (qty_mode): Likewise.
8531         (qty_n_calls_crossed): Likewise.
8532         (qty_alternate_class): Likewise.
8533         (qty_changes_size): Likewise.
8534         (qty_first_reg): Likewise.
8535         (alloc_qty): Rename variable QTY to QTYNO.
8536         (finf_free_reg): Likewise.
8537         (local_alloc): Allocate qty, do not allocate the removed variables.
8538
8539 Wed Nov 24 17:26:05 1999  Geoffrey Keating  <geoffk@cygnus.com>
8540
8541         * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
8542         when -membedded-pic is passed.
8543
8544         * config/mips/mips.md (casesi): Handle 64-bit case too.
8545         (casesi_internal_di): New insn.
8546
8547         * config/mips/mips.c (embedded_pic_offset): Always make the
8548         embedded-pic subtractions relative to the name of the current
8549         function by use of the magic string "..CURRENT_FUNCTION".
8550         * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
8551
8552 1999-11-24  Geoffrey Keating  <geoffk@cygnus.com>
8553
8554         * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
8555         of (const_int 0), when what we really care about is
8556         whether it's a zero constant anyway.
8557         (div_trap_mips16): Likewise.
8558
8559 1999-11-23  Mark Mitchell  <mark@codesourcery.com>
8560
8561         * loop.c (loop_optimize): Always find_loop_tree_blocks and
8562         unroll_block_trees when generating debuggable code.
8563
8564         * tree.h (unsave_expr_1): New function.
8565         (lang_unsave): New variable.
8566         (get_callee_fndecl): New function.
8567         * tree.c (unsave_expr_now_r): New function.
8568         (lang_unsave): Define.
8569         (unsave_expr_1): Likewise.
8570         (unsave_expr_now_r): Split out from unsave_expr_now.
8571         (unsave_expr_now): Call lang_unsave if it is non-NULL.  Otherwise,
8572         call unsave_expr_now_r.
8573         (get_callee_fndecl): Define.
8574
8575         * Makefile.in (gencheck): Don't depend on lang_tree_files.
8576         (gencheck.o): Do depend on lang_tree_files.
8577
8578         * integrate.h (copy_decl_for_inlining): New declaration.
8579         * integrate.c (copy_and_set_decl_abstract_origin): Remove.
8580         (copy_decl_for_inlining): New function.
8581         (integrate_parm_decls): Use it.
8582         (integrate_decl_tree): Likewise.
8583
8584 1999-11-23  Gavin Romig-Koch  <gavin@cygnus.com>
8585
8586         * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
8587         the second two from the first.
8588         (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
8589         * config/mips/mips.md (movcc,reload_incc,reload_outcc,
8590         conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
8591         ISA_HAS_FP4.
8592         * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
8593         override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
8594         ISA_HAS_FP4.
8595
8596 Tue Nov 23 11:15:04 1999  Jeffrey A Law  (law@cygnus.com)
8597
8598         * pa.md (call_internal_symref, call_value_internal_symref): No mode
8599         needed on the address operand.
8600         * pa.c (call_operand_address): Check for the correct mode.
8601
8602 1999-11-23  Bernd Schmidt  <bernds@cygnus.co.uk>
8603
8604         * loop.c: Include "basic-block.h".
8605         (try_copy_prop, replace_loop_reg): New functions.
8606         (load_mems): Detect registers that just hold copies of the hoisted
8607         mem, and call try_copy_prop to eliminate them.
8608         * Makefile.in (loop.o): Update dependencies.
8609
8610 Tue Nov 23 01:03:29 1999  Hans-Peter Nilsson  <hp@axis.com>
8611
8612         * Makefile.in (gencheck.o): Depend on gencheck.h.
8613         (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
8614         (insn-peep.o): Depend on except.h and function.h.
8615         (insn-attrtab.o): Depend on RECOG_H.
8616         (insn-output.o): Depend on toplev.h and flags.h.
8617         (gengenrtl.o): Depend on real.h.
8618         (gen-protos.o): Depend on cpplib.h and cpphash.h.
8619         Unify all dependencies to be on RECOG_H rather than recog.h.
8620
8621 Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8622
8623         From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
8624         * configure.in: Try building a bi-arch 32/64-bit compiler on
8625         sparc-*-solaris2.7 and higher.
8626         * configure: Rebuild.
8627
8628 Mon Nov 22 23:09:44 1999  David O'Brien  <obrien@FreeBSD.org>
8629
8630         * config/freebsd.h: New, FreeBSD architecture independent file.
8631         * config/i386/freebsd-elf.h: removed FreeBSD architecturally
8632         independent pieces.
8633         * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
8634         directly by i386/freebsd.h.
8635         * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
8636         independent configuration file.
8637         (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
8638         directly by i386/freebsd.h.
8639         * configure: Rebuilt.
8640
8641         * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
8642         which is in the user's namespace.
8643         * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
8644         `i386' which is not in our namespace.
8645
8646 Mon Nov 22 22:58:01 1999  "R. Kelley Cook" <KelleyCook@attglobal.net>
8647
8648         * invoke.texi (ARM Options): Add in -mno-alignment-traps
8649
8650 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
8651
8652         * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
8653         (add_dwarf_attr, add_child_die): Just push onto the front.
8654         (reverse_die_lists): New fn.
8655         (add_sibling_attributes): Use it.
8656         (push_decl_scope): Reorganize.
8657         (add_name_and_src_coords_attributes): Don't set file and line for
8658         an artificial decl.
8659         (gen_subprogram_die): An artificial function doesn't need to match
8660         file and line.
8661         (gen_compile_unit_die): Return the generated die.  Only add
8662         AT_comp_dir if the filename is relative.
8663         (remove_AT): Simplify loop.  Also free string values.
8664         (output_die): A DIE ref can't be null.
8665         (output_value_format, value_format): Take a dw_attr_ref.
8666         (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
8667         (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
8668         AT_addr, AT_lbl): New fns.
8669         (various): Use them.
8670         (various): Constify.
8671
8672 Mon Nov 22 23:53:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
8673
8674         * combine.c (combine_simplify_rtx): When handling a SUBREG,
8675         take SUBREG_WORD into account.
8676         (if_then_else_cond): Likewise.
8677
8678 1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
8679
8680         * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
8681         clause from BSD license, pursuant with
8682
8683           ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
8684
8685 1999-11-22  Bernd Schmidt  <bernds@cygnus.co.uk>
8686
8687         * loop.c (load_mems): Reformat slightly.
8688         * basic-block.h (regset_head): New typedef.
8689         (INIT_REG_SET): New macro.
8690
8691 1999-11-22  Bruce Korb  <autogen@linuxbox.com
8692
8693         * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
8694         (mips-dec-bsd*): non-functional code
8695         (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
8696
8697         * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
8698         added three replacement fixes
8699         (no_double_slash): removed comments that are not (any longer) pertinent
8700         (bad_lval): this fix currently runs against many files.
8701         The comment seems to indicate that we should select for files
8702         containing 'pragma extern_prefix'.
8703
8704         * fixinc/fixinc.x86-linux-gnu: deleted
8705         * fixinc/inclhack.sh:  regen
8706         * fixinc/fixincl.x:  regen
8707         * fixinc/fixincl.sh:  regen
8708
8709 Fri Nov 12 14:08:40 1999  Andrew Haley  <aph@cygnus.com>
8710
8711         * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
8712         its code is INSN and it has no notes.
8713
8714 1999-11-22  Andrew Haley  <aph@cygnus.com>
8715
8716         * varasm.c (function_defined): Remove.
8717         (make_function_rtl): Don't set function_defined.
8718         (make_decl_rtl): Remove global register warning.
8719         * regclass.c (no_global_reg_vars): New variable.
8720         (globalize_reg): Warn if function has already been defined.
8721         (regclass_init): Set no_global_reg_vars.
8722
8723 Mon Nov 22 14:42:22 MET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8724
8725         * regclass.c (reg_pref): New structure and static variable
8726         (prefclass): Delete.
8727         (altclass): Delete.
8728         (all uses of prefclass and altclass): Use reg_pref instead.
8729
8730 1999-11-21  Nick Clifton  <nickc@cygnus.com>
8731
8732         * invoke.texi (ARM Options): Replace -mshort-load-bytes with
8733         -malignment-traps.
8734         (arm.h): Replace -mshort-load-bytes with -malignment-traps.
8735         (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
8736         (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
8737
8738 Sun Nov 21 17:11:13 1999  Geoffrey Keating  <geoffk@cygnus.com>
8739
8740         * varasm.c (output_constructor): Solve problem with long long
8741         bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
8742
8743 Fri Nov 19 05:48:45 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8744
8745         * global.c (allocno): New structure and static variable.
8746         (allocno_reg): Remove, all references replaced by allocno.
8747         (allocno_size): Likewise.
8748         (hard_reg_conflicts): Likewise.
8749         (hard_reg_preferences): Likewise.
8750         (hard_reg_copy_preferences): Likewise.
8751         (hard_reg_full_preferences): Likewise.
8752         (regs_someone_prefers): Likewise.
8753         (allocno_calls_crossed): Likewise.
8754         (allocno_n_refs): Likewise.
8755         (allocno_live_length): Likewise.
8756         (find_reg): Rename ALLOCNO to NUM.
8757
8758         * regclass.c (may_move_in_cost): Rename from may_move_cost, all
8759         references updated.
8760         (may_move_out_cost): New variable.
8761         (init_reg_sets_1): Initialize may_move_out_cost.
8762         (record_reg_classes): Use may_move_out_cost.
8763
8764         * regclass.c (dump_regclass): New function.
8765         (regclass): New parameter DUMP, call DUMP_REGCLASS.
8766         * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
8767         pass rtl_dump_file to regclass.
8768         * rtl.h (regclass): Update prototype.
8769
8770 Fri Nov 19 06:32:19 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8771
8772         * i386.md (neg, not and abs patterns): Revmap to use
8773         ix86_expand_unary_operator and ix86_unary_operator_ok.
8774         (add?f and sub?f expanders): Force operand 1 to register.
8775         * i386.c (ix86_expand_unary_operator): Rewrite.
8776         (ix86_unary_operator_ok): Ensure that memory operands
8777         match real opcode.
8778         (ix86_binary_operator_ok): Do not allow operand 1 to
8779         come into memory and operand 0 not.
8780         (ix86_expand_binary_operator): Ensure that
8781         src1 is not non-matching memory.
8782
8783         * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
8784         to support integer registers and memory.
8785         (abss?2_integer): Likewise.
8786
8787         * i386.h (enum reg_class): Add FLOAT_INT_REGS.
8788         (REG_CLASS_NAMES): Likewise.
8789         (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
8790         and GENERAL_REGS.
8791         * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
8792         (movsf): Likewise; unify 4th and 5th alternative.
8793         (pushdf): Likewise.
8794         (movdf_1): Likewise; rename to movdf_integer.
8795         (pushxf): Likewise; rename to pushxf_integer; fix output template;
8796         remove redundant splitter.
8797         (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
8798         (movdf_nointeger): New.
8799         (movxf_nointeger): New.
8800         (pushxf_nointeger): New.
8801
8802         * i386.md (extend?f?f): Split to expander and pattern, refuse two
8803         memory operands in patterns.
8804         (fop*): Refuse two memory operands.
8805
8806         * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
8807         on !TARGET_USE_CLTD CPUs.
8808
8809 Fri Nov 19 10:41:15 GMT 1999  Nathan Sidwell  <nathan@acm.org>
8810
8811         * extend.texi: Document C++ restricted pointers and references.
8812
8813 1999-11-19  Bernd Schmidt  <bernds@cygnus.co.uk>
8814
8815         * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
8816         (invalidate_skipped_set): Call it unconditionally.
8817         (cse_set_around_loop): Likewise.
8818
8819 Thu Nov 18 17:29:34 MST 1999    Diego Novillo <dnovillo@cygnus.com>
8820
8821         * rtl.texi (mem): Add documentation for alias-set argument
8822         to RTX `mem'.
8823
8824 Fri Nov 18 13:39:22 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8825
8826         * i386.h (struct_processor_costs): New fields int_load, int_store,
8827         fp_move, fp_load and fp_store
8828         (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
8829         fp->int moves
8830         (MEMORY_MOVE_COST): New macro.
8831         * i386.c (386_cost): Define new fields.
8832         (i486_cost): Likewise.
8833         (pentium_cost): Likewise.
8834         (pentiumpro_cost): Likewise.
8835         (k6_cost): Likewise.
8836
8837 Fri Nov 19 11:11:55 1999  Greg McGary  <gkm@gnu.org>
8838                           Geoffrey Keating  <geoffk@cygnus.com>
8839
8840         * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
8841
8842         * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
8843         MASK_ALIGN_INT.
8844
8845         * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
8846         (TARGET_STRICT_ALIGNMENT): New macro.
8847         (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
8848         (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
8849         * invoke.texi (M680x0 Options): Document -mstrict-align.
8850
8851 Thu Nov 18 11:10:03 1999  Jan Hubicka  <hubicka@freesoft.cz>
8852                           Richard Henderson  <rth@cygnus.com>
8853
8854         * i386-protos.h (split_xf, ix86_split_movdi): Remove.
8855         (ix86_split_long_move): Declare.
8856         * i386.c (split_xf, ix86_split_movdi): Remove.
8857         (ix86_split_to_parts, ix86_split_long_move): New.
8858         * i386.md (dimode move splitters): Use ix86_split_long_move.
8859         (dfmode move splitters): Likewise.
8860         (xfmode move splitters): Likewise.
8861         (movsf_1): Allow F->r.
8862         (movdf_1, movxf_1): Allow F->ro.
8863
8864 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
8865
8866         * except.h (struct eh_entry): Add goto_entry_p.
8867         (eh_region_from_symbol): Remove prototype.
8868         * except.c (find_func_region_from_symbol): New function.
8869         (emit_cleanup_handler): Likewise.
8870         (eh_region_from_symbol): Make it static.
8871         (add_new_handler): Verify the argument.
8872         (find_func_region): Update comment.
8873         (expand_eh_region_end): Expand handlers here, rater than waiting
8874         until expand_leftover_cleanups or start_all_catch.
8875         (expand_leftover_cleanups): Don't expand here.
8876         (expand_start_all_catch): Or here.
8877         (expand_rethrow): Check the return value from find_func_region.
8878         * function.c (expand_function_end): Emit the catch_clauses.
8879
8880 1999-11-18  Gavin Romig-Koch  <gavin@cygnus.com>
8881
8882         * integrate.c (expand_inline_function): Add necessary check for NULL.
8883
8884 1999-11-18  Nick Clifton  <nickc@cygnus.com>
8885
8886         * toplev.c (main): Correctly detect an unrecognised option.
8887
8888         * cppinit.c (cpp_handle_option): Do not claim to have consumed
8889         a -f option if it has not been recognised.
8890
8891 Thu Nov 18 00:59:11 1999  Michael Gschwind  <mikeg@alagoas.watson.ibm.com>
8892
8893         * basic-block.h (update_life_extent): Remove trailing comma on
8894         enumeration type list.
8895
8896 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8897
8898         * varasm.c (output_constructor) Solved problem with long long
8899         bitfields. Corrected calculating this_time and shift. Also
8900         corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
8901
8902 Wed Nov 17 23:46:14 1999  Jeffrey A Law  (law@cygnus.com)
8903
8904         * flow.c (split_edge): Take looping structure into account when
8905         determining where to put the new block note.
8906
8907 Wed Nov 17 20:42:43 1999  Jeff Holcomb  <jeffh@cygnus.com>
8908
8909         * Makefile.in (ggc-none.o): Provide host specific version if
8910         needed.
8911
8912 Wed Nov 17 16:51:23 1999  Richard Henderson  <rth@cygnus.com>
8913
8914         * cse.c (delete_trivially_dead_insns): Identify no-op insns
8915         containing subregs too.
8916
8917 Wed Nov 17 17:39:48 MST 1999    Diego Novillo <dnovillo@cygnus.com>
8918
8919         * invoke.texi: Add documentation for -muninit-const-in-rodata.
8920         * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
8921         (TARGET_UNINIT_CONST_IN_RODATA): Define.
8922         (text_section): Add switches -munint-const-in-rodata and
8923         -mno-uninit-const-in-rodata.
8924         (ASM_OUTPUT_COMMON): Remove.
8925         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
8926         const objects should be placed in read-only data. Otherwise declare
8927         them in common.
8928
8929 Wed Nov 17 16:38:32 1999  Richard Henderson  <rth@cygnus.com>
8930
8931         * jump.c (jump_optimize_1): Revert last change.
8932
8933 Wed Nov 17 15:18:30 1999  Richard Henderson  <rth@cygnus.com>
8934
8935         * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
8936         test if optimizing for size.
8937
8938 1999-11-17  Mark Mitchell  <mark@codesourcery.com>
8939
8940         * Makefile.in (toplev.o): Depend on except.h.
8941         (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
8942
8943 Mon Nov 15 22:45:39 CET 1999  Jan Hubicka  <hubicka@freesoft.cz>
8944
8945         * i386.md (divmodsi4): Rewrite to expander.
8946         (*divmodsi4_nocltd): New.
8947         (*divmodsi4_cltd): New.
8948         (divmodsi4 splitter): Handle the case when input comes in edx.
8949         (udivmodhi4): Do not use constraints in exander.
8950         (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
8951
8952 1999-11-17  Jason Merrill  <jason@yorick.cygnus.com>
8953
8954         * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
8955         for the common case.
8956
8957 1999-11-16  Jakub Jelinek  <jakub@redhat.com>
8958
8959         * explow.c (hard_function_value): Add outgoing argument.
8960         * expr.h (hard_function_value): Declare it.
8961         * calls.c (expand_call, emit_library_call_value): Update callers.
8962         * function.c (aggregate_value_p): Ditto.
8963         (diddle_return_value): Must look at the outgoing registers
8964         on archs with register windows.
8965
8966 Mon Nov 15 20:46:45 1999  Richard Henderson  <rth@cygnus.com>
8967
8968         * alpha.c (alpha_build_va_list): Use make_lang_type and
8969         initialize TYPE_NAME for the va_list record.
8970
8971         * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
8972
8973         * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
8974         for printing.
8975         * ggc.h (struct ggc_statistics): Rearrange elements for better
8976         packing on 64-bit hosts.
8977         * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
8978         (compute_nearerout): Likewise.
8979
8980 Tue Nov 16 14:37:52 1999  Geoffrey Keating  <geoffk@cygnus.com>
8981
8982         * config/rs6000/rs6000.c (first_reg_to_save): Save
8983         PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
8984
8985 1999-11-15  Jason Merrill  <jason@casey.cygnus.com>
8986
8987         * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
8988         notion of nesting to find the DIE for a type or function.
8989         DIEs can go in limbo even if we got a context_die.
8990         (push_decl_scope): Our context doesn't need to be in decl_scope_table.
8991         (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
8992         for local type.
8993         (gen_decl_die): Ignore NAMESPACE_DECLs for now.
8994         (gen_type_die): Writing out the context doesn't cause member class
8995         template instantiations to be written out as well.
8996
8997 Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
8998
8999         * rs6000.h (ASM_OUTPUT_DEF): New.
9000         Based on proposed addition from David Edelsohn.
9001
9002 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
9003             Bruce Korb  <autogen@linuxbox.com>
9004
9005         * fixinc/inclhack.def
9006         (AAB_svr4_replace_byteorder): added.  Takes advantage of GCC features
9007         (unixware7_byteorder_fix): added.  Removes conflicts for new defs
9008                 in net/inet.h.
9009         (svr5_mach_defines): added.  Like svr4_mach_defines, with new syntax
9010         (svr4_endian): enabled with SVR5
9011         (svr4_mkdev): simplified syntax and enabled with SVR5
9012
9013 Sun Nov 14 18:49:37 1999  David O'Brien  <obrien@FreeBSD.org>
9014
9015         * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
9016         * configure: Rebuilt.
9017         * config/t-freebsd-thread: New file.
9018
9019 Sun Nov 14 23:11:05 1999  Jeffrey A Law  (law@cygnus.com)
9020
9021         * i386.c (ix86_decompose_address): Verify the base is a REG
9022         before trying to examine its register number.
9023
9024         * basic-block.h: Remove all #defines and prototypes related to
9025         integer lists.
9026         (free_bb_mem, compute_preds_succs): Remove prototype.
9027         * rtl.h (free_bb_mem): Remove prototype.
9028         * flow.c (alloc_int_list_node); Remove function.
9029         (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
9030         (compute_preds_succs, free_bb_mem): Likewise.
9031         * gcse.c (gcse_main): Do not call free_bb_mem anymore.
9032         * toplev.c (rest_of_compilation): Likewise.
9033         * haifa-sched.c (build_control_flow): Use flow generated edge
9034         list to build the haifa specific edge list.
9035         (find_rgns): Use new CFG data structures instead of pred/succ lists.
9036         (schedule_insns): Do not build pred/succ lists anymore.  Instead
9037         build the edge table.
9038
9039         * basic-block.h (dump_bb_data): Remove declaration.
9040         * flow.c (dump_bb_data): Remove function.
9041         * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
9042         (sbitmap_union_of_predsucc): Likewise.
9043
9044         * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
9045         argument.  All callers changed.
9046         (delete_null_pointer_checks_1): No longer need to compute the
9047         pred/succ lists.
9048
9049         * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
9050         All callers changed.
9051         (pre_expr_reaches_here_p_work): Likewise.
9052         (pre_edge_insert): No longer call pre_expr_reaches_here_p.
9053         * lcm.c (compute_laterin): Fix initialization of LATER.
9054         (compute_nearerout): Similarly for NEARER.
9055
9056 Sun Nov 14 12:41:57 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9057
9058         * cse.c (set_nonvarying_address_components): Delete unused function.
9059         (refers_to_p): Likewise.
9060
9061 Fri Nov 12 20:53:22 1999  Jeffrey A Law  (law@cygnus.com)
9062
9063         * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
9064         needed.
9065
9066 Sat Nov 13 16:20:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9067
9068         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
9069         definition in do while (0).
9070
9071 Fri Nov 12 16:26:25 1999  Jim Wilson  <wilson@cygnus.com>
9072
9073         * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
9074
9075 Fri Nov 12 12:43:49 1999  Richard Henderson  <rth@cygnus.com>
9076
9077         * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
9078
9079 Fri Nov 12 15:14:19 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
9080
9081         * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
9082         (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
9083         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
9084         (INITIAL_FRAME_POINTER_OFFSET): Remove it.
9085
9086         * i960.c (i960_function_prologue): Don't allocate space for g8-g11
9087         saved on the stack.  Output more accurate stack frame statistics
9088         into assembler file.
9089
9090 1999-11-12 11:47 -0800  Zack Weinberg  <zack@bitmover.com>
9091
9092         * genextract.c (record_insn_name): New function.
9093         (get_insn_name): No longer a stub.
9094         (main): Call record_insn_name for each insn.  After each label
9095         written, print the insn name in a comment.
9096
9097 Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9098
9099         * output.h (const_section, init_section, fini_section): Add
9100         prototypes.
9101
9102         * alpha/elf.h (const_section): Delete declaration.
9103
9104         * svr4.h (const_section): Likewise.
9105
9106 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
9107
9108         * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
9109         * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
9110         (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
9111         expressions.
9112         * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
9113         variable-sized array bounds.
9114
9115 Fri Nov 12 08:04:45 1999  Catherine Moore  <clm@cygnus.com>
9116
9117         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME):  Use
9118         ASM_OUTPUT_LABEL.
9119
9120 Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9121
9122         * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
9123         addresses the same way GO_IF_LEGITIMATE_INDEX does.
9124
9125 Fri Nov 12 12:36:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9126
9127         * cse.c (hash_arg_in_struct): Delete.
9128         (struct table_elt): Delete elt in_struct.
9129         (struct set): Delete elt src_in_struct.
9130         (merge_equiv_classes): Don't set either hash_arg_in_struct or
9131         the corresponding in_struct elts.
9132         (canon_hash): Likewise.
9133         (safe_hash): Likewise.
9134         (find_best_addr): Likewise.
9135         (record_jump_cond): Likewise.
9136         (cse_insn): Likewise.
9137
9138 Thu Nov 11 19:45:24 1999  Jim Wilson  <wilson@cygnus.com>
9139
9140         * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
9141
9142         * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
9143         unsigned types.
9144
9145 Thu Nov 11 18:54:24 1999  Jeffrey A Law  (law@cygnus.com)
9146
9147         * function.c (diddle_return_value): Put back check that the DECL_RTL
9148         for the function is a register.
9149
9150         * function.c (diddle_return_value): Use hard_function_value to
9151         get an rtx suitable for use in the USE/CLOBBER insn.
9152
9153         * global.c (global_conflicts): Update comments.
9154         (record_conflicts): No need to record conflicts between pseudos here.
9155
9156 1999-11-11  Bruce Korb  <autogen@linuxbox.com>
9157
9158         * fixinc/fixincl.c: Added verbose levels for status messages
9159
9160 Thu Nov 11 13:23:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9161
9162         * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
9163         operand as argument to expand_and or expand_binop.
9164
9165 Thu Nov 11 02:21:16 1999  Rodney Brown <RodneyBrown@pmsc.com>
9166
9167         * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
9168         gcc_add_string_root.
9169
9170 Wed Nov 10 21:24:19 1999  Jason Eckhardt  <jle@cygnus.com>
9171
9172         * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
9173
9174 Wed Nov 10 15:56:16 1999  Jeffrey A Law  (law@cygnus.com)
9175
9176         * flow.c (compute_flow_dominators): Initially put all blocks on
9177         the worklist.
9178         * lcm.c (compute_antinout_edge, compute_available): Similarly.
9179         * gcse.c (compute_cprop_avinout): Remove.
9180         (compute_cprop_data): Use compute_available.
9181         (delete_null_pointer_checks_1): Use compute_available.
9182
9183         * basic-block.h (compute_available): Returns a void now.
9184         * gcse.c (one_classic_gcse_pass): Do not expect compute_available
9185         to return a value anymore.
9186         * lcm.c (compute_available, compute_antinout_edge): Revamp to use
9187         worklists.  Fix boundary cases. Compute maximal solutions.
9188         (compute_laterin, compute_nearerout): Similarly.
9189
9190         * dwarf2out.c (add_AT_location_description): Allow
9191         (mem (plus (pseudo) (...)) too.
9192
9193 Wed Nov 10 10:52:42 1999  Tom Tromey  <tromey@cygnus.com>
9194
9195         * gcc.c (do_spec_1): Support text between `%u' and `%O'.
9196
9197 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
9198                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9199
9200         * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
9201
9202         * gansidecl.h: Likewise.
9203
9204         * rtl.c: Likewise.
9205
9206         * rtl.h: Likewise.
9207
9208         * toplev.h: Likewise.
9209
9210         * tree.c: Likewise.
9211
9212         * tree.h: Likewise.
9213
9214         * varray.c: Likewise.
9215
9216         * varray.h: Likewise.
9217
9218 Wed Nov 10 10:57:22 1999  Clinton Popetz  <cpopetz@cygnus.com>
9219
9220         * gcov.c (struct arcdata): Add hits and total, remove prob.
9221         (output_branch_counts): New.
9222         (process_args): Set output_branch_counts if -c.
9223         (calculate_branch_probs): Store hits and total instead of
9224         percentage.
9225         (output_data): Emit counts if output_branch_counts is true.
9226         * gcov.texi (Invoking Gcov): Document -c switch..
9227
9228 Wed Nov 10 01:10:41 1999  Philippe De Muyter  <phdm@macqel.be>
9229
9230         * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
9231         `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
9232
9233 Wed Nov 10 00:51:41 1999  Hans-Peter Nilsson  <hp@axis.se>
9234
9235         * invoke.texi (C Dialect Options): Add missing builtins from
9236         c-common.c to list.
9237         * extend.texi (Other Builtins): Copy to this list.
9238
9239 Wed Nov 10 04:58:09 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9240
9241         * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
9242         (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise.  Remove
9243         redundant bitmap.h.
9244
9245 Wed Nov 10 00:02:53 1999  Jeffrey A Law  (law@cygnus.com)
9246
9247         * flow.c (compute_flow_dominators): No longer treat basic block 0
9248         or (n_basic_blocks - 1) specially.  Clear the AUX field before
9249         starting computation of doms/pdoms.  Fix initial state for pdoms.
9250
9251 Wed Nov 10 03:58:08 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9252
9253         * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
9254         match rtl.o's: added ggc.h and toplev.h
9255         ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
9256         ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
9257         ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
9258
9259 Tue Nov  9 10:30:08 1999  Tom Tromey  <tromey@cygnus.com>
9260
9261         * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
9262         from HAVE_DOS_BASED_FILESYSTEM.
9263         * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
9264         HAVE_DOS_BASED_FILESYSTEM.
9265         (main): Likewise.
9266         (split_directories): Only special-case DOS file names if
9267         HAVE_DOS_BASED_FILE_SYSTEM is defined.  Use IS_DIR_SEPARATOR
9268         instead of explicit tests.  Conditionalize on !VMS.
9269         (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
9270         tests.  Conditionalize on !VMS.
9271         (process_command): Only use make_relative_prefix if !VMS.
9272         (free_split_directories): Conditionalize on !VMS.
9273         (DIR_UP): Conditionalize on !VMS.
9274
9275 Wed Jun  9 16:57:11 1999  Mumit Khan  <khan@xraylith.wisc.edu>
9276
9277         * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
9278
9279 Fri Feb  5 14:22:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
9280
9281         * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
9282         case.
9283
9284 Mon Nov  8 14:16:57 1999  Michael Meissner  <meissner@cygnus.com>
9285
9286         * invoke.texi (Environment Variables): Document relative path
9287         lookup.
9288         * gcc.c (DIR_UP): If not defined, define as "..".
9289         (standard_bindir_prefix): New static, holds target location to
9290         install binaries.
9291         (split_directories): New function to split a filename into
9292         component directories.
9293         (free_split_directories): New function, release memory allocated
9294         by split_directories.
9295         (make_relative_prefix): New function, make a relative pathname if
9296         the compiler is not in the expected location.
9297         (process_command): If GCC_EXEC_PREFIX was not specified, see if we
9298         can figure out an appropriate prefix from argv[0].
9299         * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
9300         STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX.  Define
9301         STANDARD_BINDIR_PREFIX.
9302
9303 Wed Nov 10 11:47:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9304
9305         * config/c4x/c4x-protos.h: New file.  Prototypes for functions defined
9306         in c4x.c.
9307         * config/c4x/c4x.h: Moved prototypes to c4x.h.
9308         * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
9309         c4x_secondary_memory_needed) Delete.
9310         (fp_zero_operand): Add mode argument.
9311
9312 Thu Nov  4 15:52:35 1999  Andrew Haley  <aph@cygnus.com>
9313
9314         * reload1.c (reload_reg_free_for_value_p): Don't use a register
9315         that is in reload_reg_used.
9316
9317 Tue Nov  9 16:43:00 1999  Nick Clifton  <nickc@cygnus.com>
9318
9319         * config/arm/arm-protos.h: New file: Prototypes for functions
9320         defined in arm.c and pe.c.
9321         * config/arm/arm.h: Fix compile time warnings.
9322         * config/arm/arm.c: Fix compile time warnings.
9323         * config/arm/pe.h: Fix compile time warnings.
9324         * config/arm/aout.h: Fix compile time warnings.
9325
9326 Tue Nov  9 14:55:44 1999  Nick Clifton  <nickc@cygnus.com>
9327
9328         * config/m32r/m32r-protos.h: New file: Prototypes for functions
9329         defined in m32r.c
9330
9331         * config/m32r/m32r.h: Move prototypes to m32r-protos.h
9332         Add support for subtargets.
9333         Add prototypes for new predicates.
9334         Add scheduling macros.
9335
9336         * config/m32r/m32r.c: Fix compile time warnings.
9337         (int8_operand): New predicate function.
9338         (reg_or_cmp_int16_operand): New predicate function.
9339         (extend_operand): New predicate function.
9340         (m32r_adjust_code): New scheduling function.
9341         (m32r_adjust_priorty): New scheduling function.
9342         (m32r_sched_init): New scheduling function.
9343         (m32r_sched_reorder): New scheduling function.
9344         (m32r_sched_variable_issue): New scheduling function.
9345         (direct_return): New codegen function.
9346         (m32r_not_same_reg): New rtl testsing function.
9347
9348         * config/m32r/m32r.md: Fix compile time warnings.
9349         Add support for pre decrement and post increment memory
9350         references.
9351         Add S<cc> patterns.
9352         Add fabs patterns.
9353
9354 Mon Nov  8 22:20:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9355
9356         * global.c (EXECUTE_IF_CONFLICT): Don't define.
9357         (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
9358         (find_reg): Likewise.
9359
9360 Mon Nov  8 13:16:46 1999  Jason Eckhardt  <jle@cygnus.com>
9361
9362         * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
9363         to avoid assembler errors.
9364
9365 Mon Nov  8 15:38:41 1999  Nick Clifton  <nickc@cygnus.com>
9366
9367         * config/v850/v850-protos.h: New file: Prototypes for functions
9368         defined in v850.c
9369         * config/v850/v850.h: Move prototypes to v850-protos.h
9370         * config/v850/v850.c: Move prototypes to v850-protos.h
9371         * config/v850/v850.md: Fix compile time warnings.
9372
9373         * config/fr30/fr30-protos.h: New file: Prototypes for functions
9374         defined in fr30.c
9375         * config/fr30/fr30.h: Move prototypes to fr30-protos.h
9376         * config/fr30/fr30.c: Fix compile time warnings.
9377         * config/fr30/fr30.md: Fix compile time warnings.
9378
9379 Mon Nov  8 07:25:37 1999  Mark Mitchell  <mark@codesourcery.com>
9380
9381         * tree.h (get_containing_scope): Declare it.
9382         * tree.c (get_containing_scope): New fucntion.
9383         (decl_function_context): Use it.
9384         * toplev.c (rest_of_compilation): Use get_containing_scope.
9385
9386 aMon Nov  8 03:03:07 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9387
9388         * Makefile.in (rtl.o): Depend on toplev.h.
9389
9390 Sun Nov  7 20:55:14 1999  Mark Mitchell  <mark@codesourcery.com>
9391
9392         * cse.c (delete_trivially_dead_insns): Replace alloca with
9393         xmalloc/xcalloc.
9394         * except.c (update_rethrow_references): Likewise.
9395         (init_eh_nesting_info): Likewise.
9396         * function.c (identify_blocks): Likewise.
9397         * gcse.c (dump_hash_table): Likewise.
9398         * graph.c (print_rtl_graph_with_bb): Likewise.
9399         * loop.c (combine_movables): Likewise.
9400         (move_movables): Likewise.
9401         (count_loop_regs_set): Likewise.
9402         (strength_reduce): Likewise.
9403         * profile.c (compute_branch_probabilities): New function, split
9404         out from ...
9405         (branch_prob): Here.  Replace alloca with xmalloc/xcalloc.
9406         * regclass.c (regclass): Likewise.
9407         * regmove.c (regmove_optimize): Likewise.
9408         * toplev.c (compile_file): Likewise.
9409         (main): Don't mess with the stack rlimit.
9410
9411 Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
9412
9413         * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
9414         (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
9415
9416 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
9417
9418         * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
9419
9420 Sun Nov  7 02:58:48 1999  Jeffrey A Law  (law@cygnus.com)
9421
9422         * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
9423         (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
9424         macro expansion.
9425
9426 Sat Nov  6 23:48:30 1999  Robert Lipe  (robertlipe@usa.net)
9427
9428         * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
9429
9430 Sat Nov  6 17:34:39 1999  Jeffrey A Law  (law@cygnus.com)
9431
9432         * gcse.c (post_dominators): Kill.
9433         (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
9434         (compute_code_hoist_data): Use compute_flow_dominators.  Do not
9435         pass in a pdom array since we do not need pdoms.
9436         * haifa-sched.c (schedule_insns): Similarly.
9437         * flow.c (compute_dominators): Remove dead function.
9438         (compute_flow_dominators): Do not compute doms or pdoms if the
9439         caller does not request them.  Split up loop to build doms and
9440         pdoms.  Use a worklist to compute doms and pdoms.
9441         * basic-block.h (compute_dominators): Remove prototype.
9442
9443 Sat Nov  6 11:38:39 1999  Richard Henderson  <rth@cygnus.com>
9444
9445         * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
9446         (insn_luid, insn_priority, insn_costs, insn_units): Remove.
9447         (insn_reg_weight, insn_depend, insn_dep_count): Remove.
9448         (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
9449         (cant_move, fed_by_spec_load, is_load_insn): Remove.
9450         (schedule_region): Remove unused variable.
9451         (schedule_insns): Allocate h_i_d, and not all the separate arrays.
9452
9453 Sat Nov  6 10:00:34 1999  Mark Mitchell  <mark@codesourcery.com>
9454
9455         * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
9456         (update_equiv_regs): Likewise.
9457         (block_alloc): Likewise.
9458         * reg-stack.c (reg_to_stack): Likewise.
9459         (convert_regs_2): Likewise.
9460         * reload1.c (reload_as_needed): Likewise.
9461
9462 Sat Nov  6 09:57:59 1999  Mark Mitchell  <mark@codesourcery.com>
9463
9464         * Makefile.in (dbxout.o): Depend on ggc.h.
9465         (dwarf2out.o): Likewise.
9466         (xcoffout.o): Likewise.
9467         * dbxout.c: Include ggc.h.
9468         (dbxout_init): Register lastfile as a root.
9469         * dwarf2out.c: Include ggc.h.
9470         (dwarf2out_line): Register lastfile as a root.
9471         * xcoffout.c: Include ggc.h.
9472         (xcoffout_source_line): Register xcoff_lastfile as a root.
9473
9474 Sat Nov  6 09:52:09 1999  Richard Henderson  <rth@cygnus.com>
9475
9476         * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
9477
9478 Sat Nov  6 07:48:59 1999  Catherine Moore  <clm@cygnus.com>
9479
9480         * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
9481         defined.
9482         (ASM_DECLARE_FUNCTION_SIZE): Likewise.
9483
9484 Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9485
9486         * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
9487         (EXECUTE_IF_CONFLICT): Likewise.
9488         (ALLOCNO_LIVE_P): Avoid signed division.
9489         (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
9490         (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
9491         (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
9492
9493 Fri Nov  5 12:04:02 1999  Richard Henderson  <rth@cygnus.com>
9494
9495         * haifa-sched.c (schedule_block): Don't crash if there's no
9496         next insn for an interblock movement.
9497         (add_branch_dependences): Don't allow clobber insns to move either.
9498
9499 Fri Nov  5 10:18:11 1999  Richard Henderson  <rth@cygnus.com>
9500
9501         * i386.c (split_xf): New.
9502         * i386-protos.h: Declare it.
9503         * i386.md (movxf_1): Add general regs alternatives.
9504         (movxf_1+1): New splitter for same.
9505
9506 Fri Nov  5 12:05:52 1999  Nick Clifton  <nickc@cygnus.com>
9507
9508         * function.c (purge_addressof_1): Add missing return values.
9509
9510 Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
9511
9512         * function.c (is_addressof): New function.  Returns true if
9513         the given piece of RTL is an ADDRESSOF.
9514         (purge_addressof_1): Make boolean.  Return false if the
9515         ADDRESSOFs could not be purged.
9516         (purge_addressof): If ADDRESSOFs could not be purged from the
9517         notes attached to an insn, remove the offending note(s),
9518         unless they are attached to a libcall.
9519
9520 1999-11-05  Andreas Jaeger  <aj@suse.de>
9521
9522         * genoutput.c (null_operand =): Initialize all fields.
9523
9524         * errors.h: Add extern to prototypes.
9525
9526 Fri Nov  5 01:44:09 1999  Jeffrey A Law  (law@cygnus.com)
9527
9528         * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
9529         * configure: Rebuilt.
9530
9531 Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
9532
9533         * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
9534         (mirror_conflicts): New function.
9535         (global_alloc): Call it.
9536         (expand_preferences): Remove redundant CONFLICTP test.
9537         (find_reg, dump_conflicts): Likewise.
9538         (prune_preferences): Process conflicts one word at a time.
9539
9540 Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>
9541
9542         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
9543         instead of an explicit loop.
9544
9545 Thu Nov  4 23:07:14 1999  Jim Wilson  <wilson@cygnus.com>
9546
9547         * cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
9548         if REG_RETVAL check succeeds, then put classp in src_elt.
9549
9550 Thu Nov  4 23:48:14 1999  Jeffrey A Law  (law@cygnus.com)
9551
9552         * function.c (pad_to_arg_alignment): Only update argument_pad
9553         if the argument's alignment is greater than STACK_BOUNDARY.
9554
9555 Thu Nov  4 16:44:53 1999  Richard Henderson  <rth@cygnus.com>
9556
9557         * bitmap.h (BITMAP_XFREE): New.
9558         * flow.c (life_analysis): Use it.
9559         (life_analysis_1): Free blocks.
9560
9561         * combine.c (undo_commit): New.
9562         (try_combine): Use it.  Don't zap undobuf.undos.
9563         (combine_instructions): Don't zap undobuf.undos; free the
9564         undobuf.frees list.
9565
9566         * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
9567
9568         * stmt.c (cost_table_): New.
9569         (estimate_case_costs): Use it instead of xmalloc.
9570
9571         * toplev.c (compile_file): Reuse dumpname memory instead
9572         of strdup'ing it.
9573
9574 Thu Nov  4 16:36:44 1999  Richard Henderson  <rth@cygnus.com>
9575
9576         * reg-stack.c (convert_regs_1): Initialize target_stack->top
9577         after verifying an EH edge.
9578
9579         * haifa-sched.c (init_rgn_data_dependences): Correctly
9580         size bb_pending_lists_length when zeroing.
9581
9582 Thu Nov  4 16:36:36 1999  Richard Henderson  <rth@cygnus.com>
9583
9584         * function.c (diddle_return_value): New.
9585         (expand_function_end): Use it.
9586         * stmt.c (expand_null_return): Likewise.
9587         (expand_value_return): Likewise.
9588
9589         * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
9590
9591         * reload1.c (reload): Don't remove return value clobbers.
9592
9593 Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
9594
9595         * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
9596
9597 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
9598
9599         * cse.c (cse_main): Use xmalloc, not alloca.
9600         (cse_basic_block): Likewise.
9601         * local-alloc.c (local_alloc): Likewise.
9602
9603 Thu Nov  4 14:22:12 1999  David Billinghurst  <David.Billinghurst@riotinto.com.au>
9604                           Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9605
9606         * rtl.c: Include toplev.h.
9607         (fatal): Remove declaration.
9608
9609 Thu Nov  4 06:39:47 1999  Jeffrey A Law  (law@cygnus.com)
9610
9611         * haifa-sched.c (schedule_block): Fix thinko.
9612
9613 1999-11-03  James McKelvey <mckelvey@fafnir.com>
9614
9615         * fixinc/fixincl.c(create_file):  Allow for systems that do not have
9616         S_IR* defined values
9617
9618 1999-11-03  Philippe De Muyter  <phdm@macqel.be>
9619
9620         * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
9621         call `malloc' instead.
9622
9623 Wed Nov  3 23:05:14 1999  Mark Mitchell  <mark@codesourcery.com>
9624
9625         * flags.h (flag_renumber_insns): Declare.
9626         * emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
9627         renumbering table.
9628         * rtl.h (renumber_insns): Change prototype.
9629         * toplev.c (flag_renumber_insns): Define.
9630         (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
9631
9632 Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>
9633
9634         * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
9635         and fpsqrtd.  Use them and create fdiv function unit to more
9636         accurately represent fpu sqrt pipeline semantics on UltraSparc.
9637         * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
9638
9639 Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>
9640
9641         * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
9642         3 on UltraSparc.
9643         * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
9644         insn into ready list, do not use just a raw swap.
9645
9646 Wed Nov  3 14:51:59 1999  Mark P. Mitchell  <mark@codesourcery.com>
9647
9648         * rtl.h (renumber_insns): New function.
9649         (remove_unnecessary_notes): Likewise.
9650         * emit-rtl.c (renumber_insns): Define.
9651         (remove_unncessary_notes): Likewise.
9652         * toplev.c (rest_of_compilation): Remove dead code.
9653         Use renumber_insns and remove_unncessary_notes.
9654
9655         * gcse.c (struct null_pointer_info): New type.
9656         (get_bitmap_width): New function.
9657         (current_block): Remove.
9658         (nonnull_local): Likewise.
9659         (nonnull_killed): Likewise.
9660         (invalidate_nonnull_info): Take a null_pointer_info as input.
9661         (delete_null_pointer_checks_1): New function.
9662         (delete_null_pointer_checks): Use it.
9663
9664         * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
9665         (split_edges): Likewise.
9666         (schedule_block): Likewise.
9667         (compute_block_backward_dependencies): Likewise.
9668         (schedule_region): Likewise.
9669         (schedule_insns): Likewise.
9670
9671 Wed Nov  3 15:40:23 1999  Catherine Moore  <clm@cygnus.com>
9672
9673         * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
9674         * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
9675         * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
9676         * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
9677         * jump.c (delete_unreferenced_labels): Don't delete if
9678         LABEL_ALTERNATE_NAME is set.
9679         * print-rtl.c (print_rtx): Dump alternate name.
9680         * rtl.def (CODE_LABEL): Change format to "iuuis00s".
9681         * rtl.h (LABEL_ALTERNATE_NAME): Define.
9682         * rtl.texi (LABEL_ALTERNATE_NAME): Document.
9683         * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
9684
9685 Wed Nov  3 15:39:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9686
9687         * fix-header.c (recognized_extern, recognized_function): Constify
9688         a char*.
9689
9690         * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
9691         (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
9692         (compute_available): Remove unused variable `last'.
9693         (compute_nearerout): Remove unused variable `temp_bitmap'.
9694         (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
9695         Remove unused variable `x'.
9696
9697         * scan.h (recognized_function, recognized_extern): Constify a
9698         char*.
9699
9700         * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
9701
9702 Wed Nov  3 10:40:53 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
9703
9704         * varasm.c (decode_rtx_const): Use XSTR to access the string
9705         of a SYMBOL_REF.
9706
9707 Wed Nov  3 10:10:58 1999  Richard Henderson  <rth@cygnus.com>
9708
9709         * c-decl.c (duplicate_decls): Copy DECL_MODE too.
9710
9711 Wed Nov  3 12:12:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9712
9713         * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
9714
9715 Wed Nov  3 03:26:28 1999  Jeffrey A Law  (law@cygnus.com)
9716
9717         * pa.c (ireg_operand): New function.
9718         * pa.h (PREDICATE_CODES): Handle ireg_operand.
9719         * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
9720         Fix out of date comment.
9721
9722         * pa.md (negdi2): Turn into expander + anonymous pattern.
9723
9724         * reload.c (find_reloads): Fix typos in recent change.
9725
9726         * dwarf2out.c: Do not include ctype.h.
9727
9728 Tue Nov  2 21:53:44 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9729
9730         * regclass.c (record_reg_classes): Always use may_move_cost when
9731         seeing how operand fits with various register classes.
9732
9733 Tue Nov  2 15:38:17 1999  Richard Henderson  <rth@cygnus.com>
9734
9735         * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
9736         * toplev.c: Revert Nov 1 13:22 change.
9737
9738 Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>
9739
9740         * config/pa/pa.md (height reduction patterns): Add checks for
9741         overlapping operands to avoid semantic-destroying splits for
9742         height reduction patterns.
9743
9744 Tue Nov  2 15:27:31 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
9745
9746         * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
9747         have been an hyphen, fixed.
9748         * configure: Rebuilt.
9749
9750 Tue Nov  2 17:04:36 1999  Nick Clifton  <nickc@cygnus.com>
9751
9752         * config/arm/tpe.h: Add prototypes for exported functions.
9753         * config/arm/pe.c: Fix compile time warnings.
9754         * config/arm/semi.h: Fix compile time warnings.
9755         * config/arm/arm.c: Fix compile time warnings.
9756         * config/arm/arm.h: Fix compile time warnings.
9757         * config/arm/arm.md: Fix compile time warnings.
9758         * config/arm/thumb.c: Fix compile time warnings.
9759         * config/arm/thumb.h: Fix compile time warnings.
9760         * config/arm/thumb.md: Fix compile time warnings.
9761
9762 Tue Nov  2 04:10:24 1999  Jan Hubicka  <hubicka@freesoft.cz>
9763
9764         * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
9765         detection code
9766
9767         * unroll.c (unroll_loop): Remove LOOP notes when loop is
9768         completely unrolled.
9769
9770 Tue Nov  2 16:57:22 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
9771
9772         * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
9773
9774 Tue Nov  2 09:43:00 1999  Catherine Moore  <clm@cygnus.com>
9775
9776         * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
9777         * rtl.h (rtx_equal_p): Move prototype.
9778         * rtl.c (rtx_equal_function_value_matters): Move from
9779         rtlanal.c
9780         (rtx_equal_p): Likewise.
9781         * rtlanal.c (rtx_equal_function_value_matters): Delete.
9782         (rtx_equal_p): Likewise.
9783
9784 Mon Nov  1 23:21:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
9785
9786         * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
9787         ! HAS_INIT_SECTION.
9788
9789 Mon Nov  1 23:37:38 1999  Jeffrey A Law  (law@cygnus.com)
9790
9791         * gcc.1 (PA options): Remove obsolete -mshared-libs options.
9792
9793         * pa.h (ADDR_VEC_ALIGN): Define.
9794
9795         * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
9796         notes when presented with "if (foo) break; end_of_loop" and
9797         the break sequence gets moved out of the loop.
9798
9799         * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
9800         Remove explicit zero initializations of entries within MAP.
9801
9802 Mon Nov  1 18:09:14 1999  Richard Henderson  <rth@cygnus.com>
9803
9804         * reg-stack.c (convert_regs_1): Handle EH edges specially.
9805
9806 Mon Nov  1 15:41:01 1999  Mark P. Mitchell  <mark@codesourcery.com>
9807
9808         * bitmap.h (BITMAP_XMALLOC): New macro.
9809         * flow.c (CLEAN_ALLOCA): Remove.
9810         (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
9811         (life_analysis): Likewise.
9812         (update_life_info): Don't use CLEAN_ALLOCA.
9813         (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
9814         (calculate_global_regs_live): Likewise.
9815         (print_rtl_with_bb): Likewise.
9816         (verify_flow_info): Likewise.
9817         * global.c (global_alloc): Likewise.
9818         (global_conflicts): Likewise.
9819         * integrate.c (save_for_inline_nocopy): Likewise.
9820         (expand_inline_function): Likewise.
9821         * jump.c (jump_optimize_1): Likewise.
9822         (duplicate_loop_exit_test): Likewise.
9823         (thread_jumps): Likewise.
9824         * loop.c (loop_optimize): Likewise.
9825         (combine_givs): Likewise.
9826         (recombine_givs): Likewise.
9827         * reorg.c (dbr_schedule): Likewise.
9828         * unroll.c (unroll_loop): Likewise.
9829
9830         * combine.c (combine_instructions): Use xmalloc instead of alloca.
9831
9832 Mon Nov  1 13:22:30 1999  Richard Henderson  <rth@cygnus.com>
9833
9834         * toplev.c (rest_of_compilation): Don't optimize the CFG
9835         when rebuilding, just before dbr.
9836
9837 Mon Nov  1 14:35:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9838
9839         * output.h (assemble_end_function, assemble_destructor,
9840         assemble_constructor, assemble_gc_entry, assemble_global,
9841         assemble_label, output_constant_pool) Constify a char*.
9842
9843         * varasm.c (assemble_destructor, assemble_constructor,
9844         assemble_gc_entry, assemble_end_function, assemble_global,
9845         assemble_label, output_constant_pool): Likewise.
9846
9847 Mon Nov  1 14:22:51 1999  Nick Clifton  <nickc@cygnus.com>
9848
9849         * config/arm/thumb.c (thumb_expand_prologue): Add comments
9850         explaining what is goin on in this function.
9851
9852 Mon Nov  1 08:03:15 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9853
9854         * regclass.c (record_reg_classes): In matching case, recompute
9855         costs since the direction of movement is different.
9856
9857 Sun Oct 31 21:59:34 MST 1999  Diego Novillo <dnovillo@cygnus.com>
9858
9859         * resource.c (mark_target_live_regs): For unconditional branches,
9860         the resources found at the branch target should be added to the
9861         resources found so far, not intersected.
9862
9863 Sun Oct 31 15:48:49 1999  Philippe De Muyter  <phdm@macqel.be>
9864
9865         * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
9866         old cpp's.
9867         * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
9868         (sys/mman.h): Include this file only if #HAVE_MMAP.
9869         (run_compiles): Initialize `esac_fmt' with one old KR string, not
9870         with automatically concatenated ANSI strings.
9871
9872 Sun Oct 31 23:57:07 1999  Mark Mitchell  <mark@codesourcery.com>
9873
9874         * ggc-page.c (struct page_entry): Remove save_num_free_objects.
9875         (DIV_ROUND_UP): Robustify.
9876         (ggc_recalculate_in_use_p): New function.
9877         (release_pages): Don't inline it.
9878         (ggc_alloc_obj): Don't refuse to allocate objects on pages for
9879         outer contexts.
9880         (ggc_pop_context): Use ggc_recalculate_in_use_p.
9881         (clear_marks): Always save in_use_p.
9882         (sweep_pages): Use ggc_recalculate_in_use_p.
9883         (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
9884         Release pages before counting statistics.
9885
9886 Sun Oct 31 23:42:37 1999  Mark Mitchell  <mark@codesourcery.com>
9887
9888         * toplev.c (rest_of_compilation): Fix thinko in this change:
9889
9890         Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
9891
9892         (rest_of_compilation): If inside an inlined external function,
9893         pretend we are just being declared.
9894
9895 Sun Oct 31 23:03:25 1999  Jeffrey A Law  (law@cygnus.com)
9896
9897         * flow.c (calculate_global_regs_live): Fix thinko.
9898
9899         * integrate.c (expand_inline_function): Fix bugs in previous
9900         change from Oct 28, 1999.
9901
9902 Sun Oct 31 20:27:45 1999  Mark Mitchell  <mark@codesourcery.com>
9903
9904         * stmt.c (expand_value_return): Fix typo in this change:
9905
9906         Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
9907         (expand_value_return): Correctly convert VAL when promoting function
9908         return; support RETURN_REG being a PARALLEL.
9909
9910 Sun Oct 31 20:25:42 1999  Mark P. Mitchell  <mark@codesourcery.com>
9911
9912         * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
9913
9914 Sun Oct 31 20:42:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9915
9916         * hard-reg-set.h (reg_names): Constify a char*.
9917
9918         * regclass.c  (reg_names): Likewise.
9919
9920         * regs.h (reg_names): Likewise
9921
9922         * a29k/a29k.c (reg_names): Delete declaration.
9923
9924         * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
9925
9926         * arc/arc.c (arc_save_restore, arc_output_function_prologue,
9927         arc_output_function_epilogue): Likewise.
9928
9929         * elxsi/elxsi.c (reg_names): Likewise.
9930
9931         * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
9932
9933         * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
9934         Likewise.
9935
9936         * m88k/m88k.c (output_function_profiler): Likewise.
9937
9938         * sparc/sparc.c (sparc_flat_output_function_prologue,
9939         sparc_flat_output_function_epilogue): Likewise.
9940
9941 Sun Oct 31 13:32:15 CET 1999  Marc Lehmann <pcg@goof.com>
9942
9943         * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
9944         warning from -Wuninitialized and put it under -W.
9945         * function.c (uninitialized_vars_warning): Warn only when the
9946         corresponding flag is set.
9947
9948 Sun Oct 31 01:53:30 1999  Jeffrey A Law  (law@cygnus.com)
9949
9950         * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
9951         is nonzero and the single set does not have an elt, then assign
9952         it an elt.
9953
9954         * simplify-rtx.c: New file.
9955         * Makefile.in (OBJS): Add simplify-rtx.o
9956         (simplify-rtx.o): Add dependencies.
9957         * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
9958         * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
9959         (cse_gen_binary, simplify_unary_operation): Delete.
9960         (simplify_binary_operation, simplify_plus_minus): Likewise.
9961         (check_fold_consts, simplify_relation_operation): Likewise.
9962         (simplify_ternary_operation): Likewise.
9963         (delete_trivially_dead_insns): Simplify the contents of the
9964         REG_EQUAL note before trying to substitute it into the source
9965         of the reg-reg copy at the end of a libcall sequence.
9966
9967         * combine.c (combine_simplify_rtx): Renamed from simplify_rtx.  All
9968         references/callers changed.
9969
9970         * mn10200.c (mn10200_va_arg): Force the return value into a
9971         register.
9972
9973         * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
9974
9975         * cccp.c (macroexpand): Avoid out of range accesses for omitted
9976         arguments.
9977
9978 Sat Oct 30 22:42:50 1999  Stephen L Moshier <moshier@mediaone.net>
9979
9980         * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
9981
9982 Sat Oct 30 22:19:26 1999  Jeffrey A Law  (law@cygnus.com)
9983
9984         * fold-const.c (fold): Fix thinko when optimizing comparisons
9985         against -0.0.
9986
9987 Sat Oct 30 21:32:17 1999  David Starner  <dstarner98@aasaa.ofe.org>
9988
9989         * gcc.texi (Passes): Update front-end files to their current
9990         location.
9991
9992 Sat Oct 30 14:41:40 1999  Richard Henderson  <rth@cygnus.com>
9993
9994         * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
9995         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
9996         (PREDICATE_CODES): Add addition_operation.
9997         * alpha-protos.h (addition_operation): Declare.
9998         (secondary_reload_class): Likewise.
9999         * alpha.c (addition_operation): New.
10000         (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
10001         * alpha.md (adddi3): Turn into expander.
10002         (*lda, *adddi_2): New.
10003         (movsf, movdf patterns): Don't preference integer regs.
10004         (movsi, movdi patterns): Don't preference fp regs.
10005
10006 Sat Oct 30 14:38:22 1999  Richard Henderson  <rth@cygnus.com>
10007
10008         * genrecog.c (write_switch): Check for duplicate CODE cases.
10009
10010 Sat Oct 30 14:31:48 1999  Richard Henderson  <rth@cygnus.com>
10011
10012         * ggc-common.c: Update pre-function commentary.
10013         * ggc-page.c: Likewise.
10014         (poison): Remove.
10015         (poison_pages): Use memset directly.
10016         (ggc_alloc_obj): Likewise.  Use a different pattern than poison_pages.
10017         (ggc_collect): Poison before sweeping.
10018         * ggc-simple.c: Update pre-function commentary.
10019         (ggc_alloc_obj): Poison non-zeroed memory.
10020
10021 Sat Oct 30 14:28:52 1999  Mark Mitchell  <mark@codesourcery.com>
10022
10023         * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
10024         match format string, even on 64-bit hosts.
10025         * gcc-page.c (ggc_page_print_statistics): Likewise.
10026
10027 Sat Oct 30 14:38:04 1999  Catherine Moore  <clm@cygnus.com>
10028
10029         * config/i386/i386.c (ix86_cpu): Revert last patch.
10030         * config/i386/i386.h (ix86_cpu): Ditto.
10031
10032 Fri Oct 29 17:00:42 1999  Jim Wilson  <wilson@cygnus.com>
10033
10034         * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
10035         TYPE_SIZE, convert type of result to sizetype.
10036
10037 Fri Oct 29 14:34:17 1999  Richard Henderson  <rth@cygnus.com>
10038
10039         * flow.c (count_or_remove_death_notes): Equate NULL with the
10040         universal set.
10041
10042         * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
10043         * toplev.c (rest_of_compilation): Rebuild CFG immediately before
10044         dbr_schedule.
10045
10046         * i386.c (pic_label_no): Delete.
10047         (ix86_attr_length_default): Don't use single_set to peek
10048         inside a parallel.
10049
10050         * recog.c (peephole2_optimize): Allow recog_next_insn to index
10051         the first insn after bb->end.
10052         * i386.md (push mem peeps): Scratch is live after evaluation
10053         of the memory.
10054         (cmp mem peep): Similarly.
10055
10056 Fri Oct 29 11:50:11 1999  Catherine Moore  <clm@cygnus.com>
10057
10058         * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
10059         * function.c (pad_to_arg_alignment): Add missing braces.
10060
10061 Fri Oct 29 13:53:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10062
10063         * alpha/alpha-protos.h (literal_section): Add prototype.
10064         (alpha_need_linkage, alpha_start_function,alpha_end_function):
10065         Constify a char*.
10066
10067         * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
10068         prototype.
10069         (alpha_start_function, alpha_end_function, float_strings,
10070         alpha_need_linkage): Constify a char*
10071
10072         * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
10073
10074         * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
10075
10076         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
10077
10078         * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
10079
10080 Fri Oct 29 13:49:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10081
10082         * flow.c (debug_flow_info): Add prototype.
10083
10084         * gcc.c (main): Likewise.
10085
10086         * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
10087         Likewise.
10088
10089         * reload1.c (failed_reload, set_reload_reg): Likewise.
10090
10091         * mips-tfile.c (main): Likewise.
10092         (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
10093         with ATTRIBUTE_NORETURN.
10094
10095 Fri Oct 29 18:16:03 1999  Andrew Haley  <aph@cygnus.com>
10096
10097         * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
10098         DECL is not a memory ref.
10099
10100 Fri Oct 29 09:05:34 1999  Catherine Moore  <clm@cygnus.com>
10101
10102         * config/i386/i386.h (ix86_cpu): Remove extern attribute.
10103         * config/i386/i386.c (ix86_cpu): Add extern attribute.
10104
10105 Fri Oct 29 16:30:04 1999  Andrew Haley  <aph@cygnus.com>
10106
10107         * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
10108         * config/mips/elf64.h: ditto.
10109
10110 Fri Oct 29 08:03:57 1999  Catherine Moore  <clm@cygnus.com>
10111
10112         * expr.c (emit_push_insn): New argument alignment_pad.
10113         Update all callers.  Adjust stack pointer based on alignment pad.
10114         * function.c (pad_to_arg_alignment):  New argument alignment_pad.
10115         Update all callers.  Track alignment_pad if boundary > PARM_BOUNDARY.
10116         (locate_and_pad_parm): New argument alignment_pad.  Update all
10117         callers.
10118         * expr.h (emit_push_insn): Update prototype.
10119         (locate_and_pad_parm): Update prototype.
10120         * calls.c (arg_data):  Add new field alignment_pad.
10121         (initialize_argument_information): Initialize alignment_pad.
10122
10123 Fri Oct 29 02:51:35 1999  Mark Mitchell  <mark@codesourcery.com>
10124
10125         * except.c (free_eh_nesting_info): Free the info itself.
10126         * function.c (free_after_compilation): Don't free NULL.
10127         * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
10128         (pre_edge_insert): Free inserted.
10129         * stmt.c (free_stmt_status): Don't free NULL.
10130
10131 Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>
10132
10133         * gcov.c (DIR_SEPARATOR): Provide default.
10134         (output_data): Add test for MS-DOS format absolute filename.
10135         (fancy_abort): Correct program name.
10136         (open_files): Open all files in binary mode.
10137         * libgcc2.c (__bb_exit_func): Likewise.
10138
10139         * profile.c (init_branch_prob): Specify binary when opening files.
10140
10141         * flags.h (flag_unwind_tables): New decl.
10142         * toplev.c (flag_unwind_table): New definition.
10143         (f_options): Add -funwind-tables.
10144         (decode_g_option): Clarify warning when unknown -g option is given.
10145         (rest_of_compilation): If inside an inlined external function,
10146         pretend we are just being declared.
10147
10148         * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
10149         (dwarf2out_frame_finish): Likewise.
10150
10151 Fri Oct 29 07:44:26 1999  Vasco Pedro  <vp@di.fct.unl.pt>
10152
10153         * fold-const.c (merge_ranges): If not in0, but in1, handle
10154         upper bounds equal like subset case.
10155
10156 Thu Oct 28 19:22:24 1999  Douglas Rupp <rupp@gnat.com>
10157
10158         * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
10159         passed in a register but moved to the stack.
10160
10161 Thu Oct 28 19:12:57 1999  Sam Tardieu  <tardieu@act-europe.fr>
10162
10163         * gcc.c (pass_exit_codes, greatest_status): New variables.
10164         (struct option_map): Add entry for "--pass-exit-codes".
10165         (execute): Update greatest_status if error.
10166         (display_help): Add documentation for -pass-exit-codes.
10167         (process_command): Handle -pass-exit-codes.
10168         (main): Look at pass_exit_codes and greatest_status on call to exit.
10169
10170 Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10171
10172         * reload.c (find_reloads): Refine test for no input reload
10173         case to not includes reloads emitted after insn.
10174
10175         * function.c (find_temp_slots_from_address): Handle sum involving
10176         a register that points to a temp slot.
10177         (update_temp_slot_address): Make recursive call if both old and
10178         new are PLUS with a common operand.
10179         * calls.c (expand_call): Mark temp slot for result as having
10180         address taken.
10181
10182         * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
10183
10184         * gcc.c (process_command): Add standard_exec_prefix with "GCC"
10185         component as well as "BINUTILS".
10186
10187         * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
10188         * integrate.c (copy_rtx_and_substitute): Likewise.
10189         (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
10190         All callers changed.
10191         * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
10192
10193         * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
10194         gdb extensions, write size of type; also be more consistent
10195         in using references when this is a subtype.
10196
10197         * pa.md (extv, extzv, insv): Use define_expand to reject constant
10198         that is out of range.
10199
10200         * loop.c (unknown_constant_address_altered): New variable.
10201         (prescan_loop): Initialize it.
10202         (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
10203         (invariant_p, case MEM): Remove handling for volatile and readonly;
10204         check new variable if readonly.
10205         (check_dbra_loop): Chdeck unknown_constant_address_altered.
10206
10207         * cse.c (canon_hash, case MEM): Do not record if BLKmode.
10208         (addr_affects_sp_p): Removed from note_mem_written and only
10209         define #ifdef AUTO_INC_DEC.
10210
10211         * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
10212
10213         * regclass.c (record_reg_classes): Properly handle register move
10214         directions.
10215
10216         * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
10217         Don't think valid if both operands are invalid.
10218         (struct constant_descriptor): New field RTL.
10219         (mark_const_hash_entry): Mark it.
10220         (record_constant{,_rtx}): Initialize it.
10221         (output_constant_def): Allocate RTL in permanent obstack and
10222         save in table.
10223         ({record,compare}_constant_1): Modes must match for
10224         CONSTRUCTOR of ARRAY_TYPE.
10225
10226         * c-common.h (initializer_constant_valid_p): Delete decl from here.
10227         * output.h (initializer_constant_valid_p): Move decl to here.
10228         * c-common.c (initializer_constant_valid_p): Delete function from here.
10229         * varasm.c (initializer_constant_valid_p): Move function to here.
10230
10231         * tree.h (STRIP_SIGN_NOPS): New macro.
10232         * fold-const.c (optimize_minmax_comparison): New function.
10233         (invert_truthvalue, case WITH_RECORD_EXPR): New case.
10234         (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
10235         (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
10236         cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
10237         widening conversions.
10238         (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
10239         to look at size of mode, not precision of type; also add missing cases.
10240         (optimize_bit_field_compare, decode_field_reference): Don't try to
10241         optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
10242
10243         * dwarf2out.c (ctype.h): Include.
10244         (dwarf2out_set_demangle_name_func): New function.
10245         (size_of_line_info): Deleted.
10246         (output_line_info): Compute size of line info table from difference
10247         of labels.
10248         (base_type_die, add_name_attribute): Call demangle function, if any.
10249         (field_byte_offset): Use bits per word for variable length fields.
10250         (gen_array_type_die): Add array name.
10251         (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
10252         (dwarf2out_add_library_unit_info): New function.
10253
10254         * explow.c (set_stack_check_libfunc): New function.
10255         (stack_check_libfunc): New static variable.
10256         (probe_stack_range): Allow front-end to set up a libfunc to call.
10257
10258         * combine.c (simplify_comparison): When making comparison in wider
10259         mode, check for having commuted an AND and a SUBREG.
10260         (contains_muldiv): New function.
10261         (try_combine): Call it when dividing a PARALLEL.
10262         (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
10263         (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
10264         a PLUS.
10265         (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
10266         use one of the CLOBBERs instead.
10267         (if_then_else_cond): If comparing against zero, just return thing
10268         being compared.
10269
10270         * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
10271         Don't generate shifts and subtract if have conditional arithmetic.
10272
10273         * rtl.h (delete_barrier): New declaration.
10274         * jump.c (jump_optimize): Set up to handle conditional call.
10275         In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
10276         (delete_barrier): New function.
10277
10278         * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
10279
10280         * recog.c (nonmemory_operand): Accept ADDRESSOF.
10281
10282         * tree.c (build_type_attribute_variant): Push to obstack of
10283         ttype around type_hash_canon call.
10284
10285         * expr.c (placeholder_list): Move decl to file scope.
10286         (expand_expr): Don't force access to volatile just because its
10287         address is taken.
10288         If ignoring reference operations, just expand the operands.
10289         (expand_expr, case COMPONENT_REF): Propagate
10290         EXPAND_CONST_ADDRESS to recursive call when expanding inner.
10291         Refine test for using bitfield operations vs pointer punning.
10292         (expand_expr, case CONVERT_EXPR): If converting to
10293         BLKmode UNION_TYPE from BLKmode, just return inner object.
10294         Use proper mode in store_field call.
10295         Properly set sizes of object to store and total size in store_field
10296         call for convert to union.
10297         (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
10298         memory (like for ADDR_EXPR).  Also, don't put constant in register if
10299         we'll want it in memory.
10300         (readonly_fields_p): New function.
10301         (expand_expr, case INDIRECT_REF): Call it if LHS.
10302         (expand_assignment): Handle a RESULT_DECL where
10303         DECL_RTL is a PARALLEL.
10304         (do_jump, case WITH_RECORD_EXPR): New case.
10305         (get_inner_reference): Always go inside a CONVERT_EXPR
10306         and NOP_EXPR if both modes are the same.
10307         (store_field): Use bitfield operations if size of bitsize is not same
10308         as size of RHS's type.
10309         Check for bitpos not a multiple of alignment in BLKmode case.
10310         Do block move in largest possible alignment.
10311         (store_constructor): Set BITSIZE to -1 for variable size and properly
10312         in case of array of BLKmode.
10313         (expand_expr_unaligned): New function.
10314         (do_compare_and_jump): Call it.
10315
10316         * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
10317         * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
10318         does not include 'o'.
10319
10320         * function.c (instantiate_virtual_regs_1, case SET): Handle case where
10321         both SET_DEST and SET_SRC reference a virtual register.
10322         (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
10323
10324         * integrate.c (expand_inline_function): Handle case of setting
10325         virtual stack vars register (from built in setjmp); when parameter
10326         lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
10327         (subst_constant): Add new parm, MEMONLY.
10328         (expand_inline_function, integrate_parm_decls): Pass new parm.
10329         (integrate_decl_tree): Likewise.
10330         (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
10331         (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
10332         (copy_rtx_and_substitute, case SET): Add explicit calls to
10333         copy_rtx_and_substitute for both sides.
10334
10335         * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
10336         constraints.
10337         (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
10338         within INDEX_TYPE, instead of before.
10339         (fixup_gotos): Use f->target_rtl, not the next insn,
10340         since latter may be from a later fixup.
10341         (expand_value_return): Correctly convert VAL when promoting function
10342         return; support RETURN_REG being a PARALLEL.
10343         (expand_return): When checking for result in regs and having
10344         cleanup, consider PARALLEL in DECL_RTL as being in regs.
10345
10346 1999-10-28 21:27 -0700  Zack Weinberg  <zack@bitmover.com>
10347
10348         * cpplib.h (struct cpp_buffer: fname, nominal_fname,
10349         last_nominal_fname): Mark const.
10350         (struct include_hash: name, nshort, control_macro): Mark
10351         const.
10352         (struct macrodef: symnam): Mark const.
10353         (struct if_stack: fname): Mark const.
10354         (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
10355         (IStable): New character-syntax array which encompasses all
10356         the old is_foo arrays.
10357         (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
10358         is_space): New macros for interrogating IStable.
10359         (check_macro_name): Kill last argument.  All callers changed.
10360
10361         * cppinit.c (initialize_char_syntax): Delete.
10362         (is_idchar, is_idstart, is_hor_space, is_space,
10363         trigraph_table): Delete.
10364         (IStable): New.  Initialize with clever macros to avoid
10365         information duplication.
10366         (builtin_array): Table of builtins to get rid of explicit list
10367         in initialize_builtins.
10368         (initialize_builtins): Use builtins_array.
10369         (cpp_start_read): Call init_IStable, and set IStable['$'] if
10370         opts->dollars_in_ident.
10371
10372         * cppexp.c: Change all refs to is_xyz[] arrays to use new
10373         is_xyz() macros.
10374         (cpp_parse_expr): Avoid 'format string is not constant'
10375         warning. Use ISGRAPH to identify printable chars.
10376         * cppfiles.c: Change all refs to is_xyz[] arrays to use new
10377         is_xyz() macros.
10378         (read_and_prescan): Map trigraphs to chars with open-coded
10379         if-else-if-... sequence, not a lookup table.
10380         * cpphash.c: Change all refs to is_xyz[] arrays to use new
10381         is_xyz() macros.
10382         * cpplib.c: Change all refs to is_xyz[] arrays to use new
10383         is_xyz() macros.  Kill SKIP_ALL_WHITE_SPACE (unused).
10384         (check_macro_name): Remove ability to report an invalid
10385         assertion name, which is never used.
10386         (do_line): Constify a couple of char *'s.
10387         * cppmain.c (main): Call cpp_cleanup before returning.
10388
10389 Thu Oct 28 21:16:35 1999  Mark Mitchell  <mark@codesourcery.com>
10390
10391         * ggc.h (struct ggc_statistics): New type.
10392         (ggc_get_size): New function.
10393         (ggc_print_statistics): Likewise.
10394         * ggc-common.c (ggc_stats): New variable.
10395         (ggc_mark_rtx_children): Keep statistics.
10396         (ggc_mark_tree_children): Likewise.
10397         (ggc_print_statistics): New function.
10398         * ggc-page.c (struct globals): Add bytes_mapped field.
10399         (alloc_anon): Update it.
10400         (release_pages): Likewise.
10401         (ggc_get_size): New function.
10402         (ggc_page_print_statistics): New function.
10403         * ggc-simple.c (ggc_get_size): New function.
10404
10405 Fri Oct 29 06:32:44 1999  Geoffrey Keating  <geoffk@cygnus.com>
10406
10407         * flow.c (propagate_block): When the last reference to a label
10408         before an ADDR_VEC is deleted because the reference is a dead
10409         store, delete the ADDR_VEC.
10410
10411 Thu Oct 28 12:28:50 1999  Richard Henderson  <rth@cygnus.com>
10412
10413         * resource.c (find_free_register): Don't use the frame pointer
10414         if frame_pointer_needed.
10415
10416 Thu Oct 28 10:02:00 1999  Jim Wilson  <wilson@cygnus.com>
10417
10418         * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
10419         (function_arg_pass_by_reference): Check for a NULL pointer in cum.
10420
10421         * config/i960/i960.c (i960_va_start): New locals base, num.
10422         Use INDIRECT_REF instead of ARRAY_REF on valist.
10423         (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
10424
10425 Thu Oct 28 09:45:48 1999  Mark Mitchell  <mark@codesourcery.com>
10426
10427         * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
10428
10429 Thu Oct 28 03:37:50 1999  Peter Gerwinski <peter@gerwinski.de>
10430
10431         * tree.def (PLACEHOLDER_EXPR): Update comments.
10432
10433 Thu Oct 28 06:47:32 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10434
10435         * c-common.c (check_format_info): Avoid non-literal format string
10436         warnings when `first_arg_num' is zero.
10437
10438 Thu Oct 28 12:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10439
10440         * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
10441
10442 Thu Oct 28 11:05:13 1999  Richard Earnshaw <rearnsha@arm.com>
10443
10444         * arm.md (casesi_insn): Add a clobber of the condition code
10445         register.
10446
10447 Mon Oct 18 21:16:06 1999  Fred Fish  <fnf@be.com>
10448
10449         * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
10450         used by both cc1 and cc1plus.
10451
10452 Thu Oct 28 10:00:48 1999  Nick Clifton  <nickc@cygnus.com>
10453
10454         * config/arm/arm.c: Initialise arm_structure_size_boundary to
10455         DEFAULT_STRUCTURE_SIZE_BOUNDARY.
10456         * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
10457         to the value 32 if it has not already been defined.
10458         * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
10459         Override definition in arm.h with a value of 8.
10460
10461 Thu Oct 28 03:12:02 1999  David Starner  <dstarner98@aasaa.ofe.org>
10462
10463         * c-pragma.c (push_alignment): Don't check the return value
10464         of xmalloc.
10465
10466 Thu Oct 28 03:08:38 1999  Matteo Frigo <athena@fftw.org>
10467
10468         * sparc.h (ADJUST_COST): Fix thinko.
10469
10470 Thu Oct 28 02:44:03 1999  Glen Nakamura  <glen.nakamura@usa.net>
10471
10472         * cccp.c (rescan): Fixed obp pointer handling around call to
10473         check_expand subroutine.
10474
10475 Thu Oct 28 02:15:22 1999  Jeffrey A Law  (law@cygnus.com)
10476
10477         * gcse.c (delete_null_pointer_checks): Only record non-null info
10478         for pseudos when examining stores.
10479
10480         * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
10481         splitters for these patterns.  Use "#" for output templates.
10482         (addsi3_carryin_shift): New pattern.
10483
10484 Thu Oct 28 10:20:02 1999  Geoffrey Keating  <geoffk@cygnus.com>
10485
10486         * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
10487         of the function return register into a plain REG until
10488         after function inlining is done.
10489
10490 Wed Oct 27 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
10491
10492         * jump.c (jump_optimize_1): If we did cross-jumping, and
10493         the data will matter, rebuild the CFG.
10494         * reg-stack.c (reg_to_stack): Only (re)build the CFG if
10495         not optimizing.  Don't run shorten_branches.
10496         * toplev.c (rest_of_compilation): Run shorten_branches after
10497         reg_to_stack.
10498
10499 Wed Oct 27 12:33:40 1999  Mark Mitchell  <mark@codesourcery.com>
10500
10501         * rtl.h (note_stores): Add additional paramter.
10502         * rtlanal.c (reg_set_p_1): Take additional paramter.
10503         (reg_set_last_1): Likewise.
10504         (reg_set_p): Adjust call to note_stores.
10505         (reg_set_last): Likewise.
10506         (note_stores): Pass data parameter to worker function.
10507         * alias.c (record_set): Take additional parameter.
10508         (init_alias_analysis): Pass it.
10509         * caller-save.c (mark_set_regs): Take additional parameter.
10510         (save_call_clobbered_regs): Pass NULL to note_stores.
10511         * combine.c (set_nonzero_bits_and_sign_copies): Take additional
10512         parameter.
10513         (record_dead_and_set_regs_1): Likewise.
10514         (reg_dead_at_p_1): Likewise.
10515         (combine_instructions): Adjust calls to note_stores.
10516         (try_combine): Likewise.
10517         (record_dead_insn): Remove.
10518         (record_dead_and_set_regs): Adjust calls to note_stores.
10519         (reg_dead_at_p): Likewise.
10520         * cse.c (invalidate_skipped_set): Take additional parameter.
10521         (cse_check_loop_start): Likewise.
10522         (cse_check_loop_start_value): Remove.
10523         (cse_set_around_loop): Adjust calls to note_stores.
10524         * flow.c (notice_stack_pointer_modification): Take additional
10525         parameter.  Remove duplicate declaration.
10526         (record_volatile_insns): Adjust calls to note_stores.
10527         * gcse.c (record_set_info): Take additional parameter.
10528         (record_last_set_info): Likewise.
10529         (invalidate_nonnull_info): Likewise.
10530         (record_set_insn): Remove.
10531         (compute_sets): Adjust calls to note_stores.
10532         (last_set_insn): Remove.
10533         (compute_hash_table): Adjust calls to note_stores.
10534         (insert_insn_end_bb): Likewise.
10535         (delete_null_pointer_checks): Likewise.
10536         * global.c (mark_reg_store): Take additional parameter.
10537         (mark_reg_clobber): Likewise.
10538         (reg_becomes_live): Likewise.
10539         (global_conflicts): Adjust calls to note_stores.
10540         (build_insn_chain): Likewise.
10541         * integrate.c (note_modified_parmregs): Take additional parameter.
10542         (mark_stores): Likewise.  Make it static.
10543         (save_for_inline_nocopy): Adjust calls to note_stores.
10544         (try_constants): Likewise.
10545         * integrate.h (mark_stores): Remove declaration.
10546         * jump.c (mark_modified_reg): Take additional parameter.
10547         (thread_jumps): Adjust calls to note_stores.
10548         * local-alloc.c (validate_equiv_mem_from_store): Take additional
10549         parameter.
10550         (no_equiv): Likewise.
10551         (reg_is_set): Likewise.
10552         (validate_equiv_mem): Adjust calls to note_stores.
10553         (update_equiv_regs): Likewise.
10554         (block_alloc): Likewise.
10555         * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
10556         (note_addr_stored): Take additional parameter.
10557         (note_set_pseudo_multiple_uses): Likewise.
10558         (record_initial): Likewise.
10559         (prescan_loop): Adjust calls to note_stores.
10560         (strength_reduce): Likewise.
10561         (check_dbra_loop): Likewise.
10562         * regmove.c (flags_set_1): Take additional paramter.
10563         (mark_flags_life_zones): Adjust calls to note_stores.
10564         * reload1.c (mark_not_eliminable): Take additional parameter.
10565         (forget_old_reloads_1): Likewise.
10566         (reload_cse_invalidate_rtx): Likewise.
10567         (reload_cse_check_clobber): Likewise.
10568         (reload_combine_note_store): Likewise.
10569         (move2add_note_store): Likewise.
10570         (reload): Adjust calls to note_stores.
10571         (reload_as_needed): Likewise.
10572         (emit_reload_insns): Likewise.
10573         (reload_cse_regs_1): Likewise.
10574         (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
10575         (reload_combine): Adjust calls to note_stores.
10576         * resource.c (update_live_status): Take additional paramter.
10577         (mark_target_live_regs): Adjust calls to note_stores.
10578         * stupid.c (find_clobbered_regs): Take additional parameter.
10579         (stupid_life_analysis): Adjust calls to note_stores.
10580
10581 Wed Oct 27 19:26:12 1999  Nick Clifton  <nickc@cygnus.com>
10582
10583         * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
10584         definition.
10585
10586         * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
10587         definition.
10588
10589         * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
10590         of the variable arm_structure_size_boundary.
10591
10592 Wed Oct 27 02:05:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
10593
10594         * alias.c (init_alias_analysis): Allocate reg_known_value and
10595         reg_known_equiv_p on the heap.  Likewise for new_reg_base_value
10596         and reg_seen.
10597         (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
10598         * cse.c (cse_main): Call end_alias_analysis.
10599         * haifa-sched.c (schedule_insns): Likewise.
10600         * local-alloc. (update_equiv_regs): Likewise.
10601         * reload1.c (reload_cse_regs): Likewise.
10602
10603 Wed Oct 27 01:49:17 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10604
10605         * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
10606         * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
10607         mapping from MASK_FPU.
10608
10609 Wed Oct 27 01:42:26 1999  Scott Christley  <scottc@net-community.com>
10610
10611         * sparc.md (call): Don't bound structure return size to 0xfff.
10612
10613 Wed Oct 27 00:56:59 1999  Richard Henderson  <rth@cygnus.com>
10614
10615         * resource.c (mark_target_live_regs): Check that the target
10616         insn wasn't created after compute_bb_for_insn.
10617
10618 Tue Oct 26 23:15:03 1999  Mark Mitchell  <mark@codesourcery.com>
10619
10620         * ggc-page.c (poison_pages): Don't be overzealous.
10621
10622 Tue Oct 26 23:29:18 1999  Jeffrey A Law  (law@cygnus.com)
10623
10624         * alias.c: Update comments for ADDRESS.
10625         (nonlocal_reference_p): Look inside the ADDRESS to determine if
10626         it is a local memory reference.
10627
10628         * c-typeck.c (build_function_call): Check that the built-in
10629         function is of class BUILT_IN_NORMAL before trying to recongize
10630         it as BUILT_IN_ABS.
10631         * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
10632         * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
10633
10634 Wed Oct 27 00:14:13 1999  Robert Lipe  <robertlipe@usa.net>
10635
10636         * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
10637         of alloca.
10638         (pre_gcse): Likewise.
10639         (hoist_expr_reaches_here_p): Likewise.
10640         (hoist_code): Likewise.
10641         (pre_expr_reaches_here_p): Replace alloca with xcalloc.  Move core
10642         code to ...
10643         (pre_expr_reaches_here_p_work): ... here.
10644         (expr_reaches_here_p): Replace alloca with xcalloc.  Move core
10645         code to ...
10646         (expr_reaches_here_p_work): ... here.
10647
10648 Tue Oct 26 20:42:45 1999  Richard Henderson  <rth@cygnus.com>
10649
10650         * resource.c (find_basic_block): Delete.
10651         (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
10652         (init_resource_info): Call compute_bb_for_insn.
10653
10654 Tue Oct 26 20:21:02 1999  Richard Henderson  <rth@cygnus.com>
10655
10656         * flow.c (merge_blocks_move_predecessor_nojumps): Cope
10657         with already adjacent blocks, but no fallthru.
10658         (merge_blocks_move_successor_nojumps): Simplify.
10659         (debug_flow_info): New.
10660
10661         * toplev.c (rest_of_compilation): Open jump1 dump file before
10662         jump and close after, as opposed to just using dump_rtl.
10663
10664 Wed Oct 27 03:09:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
10665
10666         * reload.h (earlyclobber_operand_p): Declare.
10667         * reload.c (earlyclobber_operand_p): Don't declare.  No longer static.
10668         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
10669         an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
10670         case where the RELOAD_OTHER reload is new.  Use earlyclobber_operand_p.
10671
10672 Tue Oct 26 18:23:38 1999  Jan Hubicka  <hubicka@freesoft.cz>
10673                           Richard Henderson  <rth@cygnus.com>
10674
10675         * emit-rtl.c (emit_block_insn_before): New.
10676         (emit_block_insn_after): New.
10677         * basic-block.h: Declare them.
10678
10679         * bitmap.h: Protect from multiple inclusion.
10680
10681         * recog.c (scratch_operand): Handle VOIDmode correctly.
10682
10683         * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
10684
10685         * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
10686         * function.c (assign_parms): Likewise.
10687         * global.c (global_conflicts): Clarify STACK_REGS commentary.
10688
10689         * reg-stack.c (max_uid): Remove.
10690         (blocks, block_begin, block_end, block_drops_in): Remove.
10691         (block_stack_in, block_out_reg_set, block_number): Remove.
10692         (struct block_info_def, BLOCK_INFO): New.
10693         (enum emit_where): New.
10694         (current_block): New.
10695         (BLOCK_NUM): Remove.
10696         (mark_regs_pat, record_label_references): Remove.
10697         (record_reg_life_pat, record_reg_life, find_blocks): Remove.
10698         (nan): New.
10699         (goto_block_pat, print_blocks, dump_stack_info): Remove.
10700         (reg_to_stack): Simplified test for existance of fp code.  Use
10701         flow.c code.  Call shorten_branches after cross-jump opt.
10702         (check_asm_stack_operands): Renamed from record_asm_reg_life.
10703         Return false if the asm doesn't use stack regs.  Don't do life
10704         analysis on the asm.
10705         (emit_pop_insn): Replace function pointer arg `when' with
10706         enum `where'.  Update all callers.
10707         (change_stack): Likewise.  Update basic block end.
10708         (emit_swap_insn): Use current_block->head to limit reverse search
10709         for start of block.  Use emit_block_insn_after.
10710         (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
10711         (subst_asm_stack_regs): Use check_asm_stack_operands.  Use direct
10712         structure assignment instead of bcopy.
10713         (print_stack): New.
10714         (convert_regs_entry, convert_regs_exit): New.
10715         (convert_regs_1, convert_regs_2): Split out from convert_regs.
10716         Work on basic blocks and the CFG.
10717         (convert_regs): Use them.
10718
10719         * i386.c (output_fix_trunc): Remove code for DImode input operand
10720         not at top-of-stack.
10721         * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
10722         appropriate mode.
10723         (fix_truncdi_1): Allow any mode scratch.
10724
10725 Tue Oct 26 13:30:35 1999  Richard Henderson  <rth@cygnus.com>
10726
10727         * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
10728         * linux.h, netbsd.h, vms.h: Not here.
10729
10730 1999-10-26  Gavin Romig-Koch  <gavin@cygnus.com>
10731
10732         * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
10733         ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
10734         (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
10735         CONDITIONAL_REGISTER_USEAGE): Use them.
10736         * config/mips/mips.c (mips_move_1word,mips_move_2words,
10737         gen_conditional_branch,override_options) : Use them.
10738         * config/mips/mips.md : Use them.
10739
10740 Tue Oct 26 13:09:23 1999  Richard Henderson  <rth@cygnus.com>
10741
10742         * i386.md (zero_extendqihi2): Use SImode register name with andl.
10743
10744 Tue Oct 26 12:35:38 1999  Richard Henderson  <rth@cygnus.com>
10745
10746         * integrate.c (function_cannot_inline_p): Don't allow inlining
10747         if setjmp is used.
10748
10749 Tue Oct 26 14:10:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10750
10751         * c-parse.in (cast_expr): Constify.
10752
10753         * cccp.c (special_symbol): Likewise.
10754
10755         * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
10756
10757         * dwarf2out.c (base_type_die): Likewise.
10758
10759         * global.c (allocno_compare): Likewise.
10760
10761         * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
10762
10763         * regclass.c (fix_register): Likewise.
10764
10765         * rtl.h (fix_register): Likewise.
10766
10767         * stupid.c (stupid_reg_compare): Likewise.
10768
10769         * toplev.c (decode_f_option): Likewise.
10770
10771         * tree.c (build_complex_type): Likewise.
10772
10773 Tue Oct 26 18:35:25 1999  Richard Earnshaw  <rearnsha@arm.com>
10774
10775         * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
10776
10777 Tue Oct 26 15:42:56 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10778
10779         * reload.c (find_reloads): Compute mode and nregs fields of all
10780         reloads.
10781         * reload1.c (calculate_needs_all_insns): Simplify a bit.
10782         (calculate_needs): Use precomputed mode/nregs values.
10783         (allocate_reload_reg): Likewise.
10784         Break out two...
10785         (failed_reload, set_reload_reg): ... new functions.
10786         (choose_reload_regs_init): New function, mostly broken out from...
10787         (choose_reload_regs): ... here.  Lose all the save_xxx nonsense.
10788         Also lose one #if 0 block.
10789
10790 Tue Oct 26 02:48:32 1999  Marc Espie <espie@cvs.openbsd.org>
10791
10792         * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET):  Fix target name
10793         substitution.
10794
10795 Tue Oct 26 01:27:32 1999  Mark Mitchell  <mark@codesourcery.com>
10796
10797         * tree.h (BLOCK_TYPE_TAGS): Remove.
10798         (BLOCK_END_NOTE): Likewise.
10799         (BLOCK_LIVE_RANGE_FLAG): Likewise.
10800         (BLOCK_LIVE_RANGE_START): Likewise.
10801         (BLOCK_LIVE_RANGE_END): Likewise.
10802         (tree_block): Remove live_range_flag, live_range_var_flag, and
10803         type_tags.  Remove end_note, live_range_start, and live_range_end.
10804         (remember_end_note): Remove prototype.
10805         * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
10806         * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
10807         remember_end_note.
10808         * ggc-common.c (ggc_mark_tree_children): Don't mark
10809         BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
10810         * integrate.c (adjust_copied_decl_tree): Remove.
10811         * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
10812         * stmt.c (last_block_end_note): Remove.
10813         (init_stmt): Don't add a GC root for it.
10814         (expand_fixup): Don't set it.
10815         (remember_end_note): Remove.
10816         (expand_end_bindings): Don't set last_block_end_note.
10817
10818 Tue Oct 26 00:41:54 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
10819
10820         * reload1.c (reload_reg_free_for_value_p): Show
10821         RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
10822         reloads.
10823
10824 Mon Oct 25 23:54:45 1999  Geoff Keating  <geoffk@cygnus.com>
10825
10826         * expmed.c (extract_bit_field): Allow for the case of non-integer
10827         objects that are smaller than a word (like SFmode on a 64-bit
10828         machine).
10829
10830         * loop.c (basic_induction_var): A non-integer variable which is
10831         being set by a paradoxical subreg is probably not a biv.
10832
10833 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10834
10835         * prefix.c (translate_name) Check for empty prefix string.
10836
10837 Mon Oct 25 23:10:45 1999  Andreas Schwab  <schwab@suse.de>
10838
10839         * Makefile.in (CPP_CROSS_NAME): New variable.
10840         (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
10841         xcpp.
10842         (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
10843         names of the files to be uninstalled.
10844
10845 Mon Oct 25 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
10846
10847         * collect2.c (IS_DIR_SEPARATOR): Define.
10848         (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
10849
10850         * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
10851         functions too.
10852
10853         * haifa-sched.c (add_dependence): Update the true dependency
10854         cache the first time we add a true dependence to the LOG_LINKS chain.
10855
10856 Mon Oct 25 22:27:40 1999  Jim Kingdon  <http://developer.redhat.com/>
10857
10858         * fold-const.c (fold): Fix comment.
10859
10860 Mon Oct 25 22:49:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10861
10862         * dbxout.c (lastfile, cwd, dbxout_type_method_1,
10863         dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
10864         dbxout_start_new_source_file, dbxout_source_file,
10865         dbxout_source_line, dbxout_finish, dbxout_type_fields,
10866         dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
10867         Constify a char*.
10868         (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
10869         (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
10870         (dbxout_block): Initialize variable `blocknum'.
10871
10872         * dbxout.h (dbxout_init, dbxout_finish,
10873         dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
10874         dbxout_args, dbxout_source_line): Constify a char*.
10875
10876         * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
10877         dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
10878         dwarf_fund_type_name, name_attribute, stmt_list_attribute,
10879         low_pc_attribute, high_pc_attribute, body_begin_attribute,
10880         body_end_attribute, comp_dir_attribute, sf_names_attribute,
10881         src_info_attribute, mac_info_attribute, producer_attribute,
10882         lookup_filename, generate_macinfo_entry, fundamental_type_code,
10883         dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
10884         dwarfout_undef): Constify a char*.
10885         (add_incomplete_type, retry_incomplete_types): Add prototypes.
10886
10887         * dwarfout.h (dwarfout_define, dwarfout_undef,
10888         dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
10889
10890 1999-10-25  Gavin Romig-Koch  <gavin@cygnus.com>
10891
10892         * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
10893         (MULTILIB_ISA_DEFAULT): New.
10894         (MULTILIB_DEFAULTS): Use it.
10895         * config/mips/mips.c (): Remove the now unnecessary definition
10896         of MIPS_ISA_DEFAULT.
10897         * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
10898         unnecessary definition.
10899
10900 Mon Oct 25 22:08:35 1999  Richard Earnshaw (rearnsha@arm.com)
10901
10902         * arm.md (pic_load_addr): Add constraints to operand 1.
10903
10904 1999-10-25  Bruce Korb  <autogen@linuxbox.com>
10905
10906         * fixinc/genfixes:  Provide a means for specifying -D options to
10907         AutoGen
10908
10909 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
10910
10911         * arm.c (arm_override_options): Correct initialization of
10912         arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
10913         arm_is_strong, and arm_is_6_or_7.
10914
10915         * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
10916         (note_set_pseudo_multiple_uses): New function.
10917         (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
10918         if a pseudo set in the loop exit is used elsewhere.
10919
10920 Sun Oct 24 20:52:40 1999  Mark Mitchell  <mark@codesourcery.com>
10921
10922         * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
10923
10924 Sun Oct 24 21:02:46 1999  Richard Henderson  <rth@cygnus.com>
10925
10926         * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
10927         a single load-address pattern.
10928
10929 Sun Oct 24 19:33:24 1999  Mark P. Mitchell  <mark@codesourcery.com>
10930
10931         * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
10932         depending on whether or not line-number notes are present.
10933
10934 Sun Oct 24 20:29:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10935
10936         * cccp.c (progname, file_buf, default_include, include_file,
10937         macrodef, definition, hashval, wchar_type, user_label_prefix,
10938         directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
10939         expand_to_temp_buffer, is_system_include, base_name,
10940         absolute_filename, read_name_map, open_include_file,
10941         record_control_macro, check_precompiled, check_preconditions,
10942         pcfinclude, pass_thru_directive, create_definition,
10943         check_macro_name, comp_def_part, collect_expansion,
10944         check_assertion, read_token_list, assertion_install,
10945         assertion_lookup, eval_if_expression, conditional_skip,
10946         validate_else, skip_quoted_string, quote_string, macarg1,
10947         error_from_errno, install, lookup, hashf, dump_defn_1,
10948         perror_with_name, pfatal_with_name, main, trigraph_pcp,
10949         check_white_space, rescan, handle_directive, monthnames,
10950         special_symbol, do_include, remap_include_file, write_output,
10951         arglist, do_assert, do_unassert, do_line, do_error, do_once,
10952         do_ident, do_sccs, do_xifdef, skip_if_group,
10953         output_line_directive, macroexpand, macarg, change_newlines,
10954         initialize_builtins, make_definition): Constify a char*.
10955
10956         * pcp.h (stringdef): Likewise.
10957
10958 Sun Oct 24 13:29:28 1999  Richard Henderson  <rth@cygnus.com>
10959
10960         * unroll.c (copy_loop_body): Examine SET_DEST of single_set
10961         not of pattern.
10962
10963 Sun Oct 24 13:14:20 1999  Graham  <grahams@rcp.co.uk>
10964                           Richard Henderson  <rth@cygnus.com>
10965
10966         * alias.c: Include ggc.h.
10967         (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
10968         (record_set): Verify enough room in reg_base_value.
10969         (init_alias_analysis): Allocate reg_base_value with xcalloc.
10970         Register it as a GC root.
10971         (end_alias_analysis): Free reg_base_value.  Remove it as a GC root.
10972         * Makefile.in (alias.o): Depend on ggc.h.
10973
10974         * unroll.c (unroll_loop): Verify the insn before a barrier
10975         is a JUMP_INSN before checking JUMP_LABEL.
10976
10977 Sun Oct 24 15:46:44 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10978
10979         * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
10980         * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
10981         * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
10982         * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
10983         * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
10984         * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
10985
10986 Sun Oct 24 15:35:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10987
10988         * output.h (ctors_section, dtors_section, bss_section): Prototype.
10989
10990         * alpha/alpha-interix.h (text_section): Delete prototype.
10991         * alpha/elf.h (text_section): Likewise.
10992         * arm/linux-elf.h (text_section): Likewise.
10993         * arm/linux-telf.h (text_section): Likewise.
10994         * c4x/c4x.h (text_section): Likewise.
10995         * dsp16xx/dsp16xx.h (bss_section): Likewise.
10996         * elfos.h (text_section): Likewise.
10997         * i386/aix386ng.h (text_section): Likewise.
10998         * i386/i386-interix.h (text_section): Likewise.
10999         * i386/sco5.h (text_section): Likewise.
11000         * i386/svr3gas.h (text_section): Likewise.
11001         * nextstep.h (text_section): Likewise.
11002         * psos.h (text_section): Likewise.
11003         * ptx4.h (text_section): Likewise.
11004         * svr3.h (text_section): Likewise.
11005         * svr4.h (text_section, ctors_section, dtors_section): Likewise.
11006
11007 Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11008
11009         * final.c (peephole): Delete prototype.
11010
11011         * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
11012         (pre_insert_copies): Remove unused variable `bb'.
11013
11014         * genrecog.c (debug_decision_0, debug_decision_list, main): Add
11015         prototypes.
11016
11017         * output.h (peephole): Add prototype.
11018
11019 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
11020
11021         * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
11022         -O0.
11023
11024 Sat Oct 23 21:13:00 1999  Mark Mitchell  <mark@codesourcery.com>
11025
11026         * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
11027         for inlined declarations.
11028
11029 Fri Oct 22 18:05:43 1999  Jeffrey A Law  (law@cygnus.com)
11030
11031         * arm.c (logical_binary_operator): New fucntion.
11032         * arm.h (logical_binary_operator): Declare it.
11033         (PREDICATE_CODES): Handle logical_binary_operator.
11034         * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
11035         output constraints.  Add appropriate splitters.
11036         (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
11037         (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
11038         (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
11039
11040 Fri Oct 22 23:46:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11041
11042         * genoutput.c (struct operand_data): New elt eliminable.
11043         (output_operand_data): Write it.
11044         (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
11045         (compare_operands): Take it into account.
11046         * recog.h (struct insn_operand_data): New elt eliminable.
11047         * reload1.c (check_eliminable_occurrences, elimination_effects): New
11048         functions.
11049         (old_asm_operands_vec, new_asm_operands_vec): Delete.
11050         (eliminate_regs): Move code that detects changes to elimination
11051         target regs into new function elimination_effects.
11052         Delete one #if 0 block.
11053         Abort for USE, CLOBBER, ASM_OPERANDS and SET.
11054         (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
11055         ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
11056         Only call eliminate_regs for real operands of the insn, not for parts
11057         of its structure or parts matched by things like match_operator.
11058         Use elimination_effects and check_eliminable_occurrences.  Use
11059         copy_insn to duplicate the pattern when not in the final pass.
11060
11061 Fri Oct 22 09:03:44 1999  Mark Mitchell  <mark@codesourcery.com>
11062
11063         * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
11064         and fld.
11065
11066 1999-10-22  Bruce Korb  <autogen@linuxbox.com>
11067
11068         * fixinc/README: document the "mach" machine matching test
11069         * fixinc/fixfixes.c: Implement the #else/#endif label fix
11070         * fixinc/fixtests.c: Implement the #else/#endif label test
11071         * fixinc/inclhack.def: utilize these tests and fixes
11072         * fixinc/inclhack.sh:  regen
11073         * fixinc/fixincl.x:  regen
11074         * fixinc/fixincl.sh:  regen
11075
11076 Thu Oct 21 20:37:19 1999  Jeffrey A Law  (law@cygnus.com)
11077
11078         * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
11079         depend on ggc.h.
11080
11081 Thu Oct 21 20:30:19 1999  Matthias Klose  <doko@debian.org>
11082
11083         * gcc.1: Document exit codes.
11084
11085 Thu Oct 21 12:49:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11086
11087         * calls.c: Include tm_p.h later, so everything we need is defined.
11088         * expr.c: Likewise.
11089         * function.c: Likewise.
11090
11091         * except.c: Include tm_p.h.
11092
11093         * sparc.c: Likewise.
11094         (dwarf2out_cfi_label): Don't prototype.
11095         (check_return_regs, epilogue_renumber,
11096         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
11097         ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
11098         ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
11099         ultra_schedule_insn): Add static prototype.
11100         (data_segment_operand, text_segment_operand): Call itself with the
11101         proper number of arguments.
11102         (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
11103
11104         * sparc.h: Move all declarations to sparc-protos.h.
11105         (SELECT_RTX_SECTION):  Pass a missing MODE argument to
11106         symbolic_operand.
11107
11108         * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
11109
11110         * config/svr4.h (text_section, ctors_section, dtors_section): Add
11111         Prototypes.
11112         (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
11113         ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
11114         ASM_OUTPUT_ASCII): Constify a char*.
11115
11116         * sparc-protos.h: New file for sparc prototypes.
11117
11118 Thu Oct 21 12:23:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11119
11120         * function.c (record_insns, contains): Always declare and define.
11121         (record_insns): Mark with ATTRIBUTE_UNUSED.
11122
11123 Thu Oct 21 13:03:49 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
11124
11125         * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
11126         to .section when outputting a .bss section to deal with multiple
11127         .bss input sections (as happens with -fdata-sections)
11128         Also output %progbits, not @progbits so the assembler doesn't treat as
11129         a comment.
11130         * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
11131
11132         * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
11133         thumb parts even when building with non-thumb CPUs, by forcing
11134         thumb mode.
11135
11136 Wed Oct 20 22:57:58 1999  Jeffrey A Law  (law@cygnus.com)
11137
11138         * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
11139         (movdf_const_intreg_sp64): Similarly.
11140
11141         * local-alloc.c (update_equiv_regs): Check the correct insn
11142         for pre-existing REG_EQUIV notes.
11143
11144 Wed Oct 20 20:41:46 1999  Mark Mitchell  <mark@codesourcery.com>
11145
11146         * cse.c (cse_end_of_basic_block): Don't return the end of a basic
11147         block reached by a branch if we're not going to actually process
11148         this block.
11149
11150 Wed Oct 20 15:18:42 1999  Jim Wilson  <wilson@cygnus.com>
11151
11152         * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
11153         a local extern function declaration.
11154
11155 Wed Oct 20 13:56:01 1999  Richard Henderson  <rth@cygnus.com>
11156
11157         * i386.c (ix86_expand_prologue): Properly wrap USE around
11158         reg for CALL_INSN_FUNCTION_USAGE.
11159
11160 Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>
11161
11162         * config/mips/mips.md (movdf_internal1a): Allow floating-point
11163         move between GP_REGs.
11164
11165 Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>
11166
11167         * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
11168         the mode size when finding out if an offset is legal.
11169
11170 Wed Oct 20 06:26:58 1999  Richard Henderson  <rth@cygnus.com>
11171
11172         * basic-block.h (PROP_*): Move constants from ...
11173         * flow.c: ... here.
11174         (compute_bb_for_insn): Free the array before reallocating.
11175         (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
11176         (allocate_reg_life_data): Reset all reg variables collected by
11177         propagate_block.
11178         (get_block_head_tail): Don't convert from bb to block.
11179         (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
11180         (find_insn_reg_weight): Take block not bb.
11181         (schedule_block): Don't set block num for moved insns.
11182         (schedule_region): Don't update_life_info or find_insn_reg_weight.
11183         (schedule_insns): Do it here instead.
11184         * combine.c (combine_instructions): Invoke compute_bb_for_insn
11185         before update_life_info.
11186         * recog.c (split_all_insns, peephole2_optimize): Update for
11187         new arg to update_life_info.
11188         * rtlanal.c (remove_note): Cope with NULL note.
11189         * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
11190         if we did sched1.
11191
11192 Wed Oct 20 10:46:41 1999  Richard Earnshaw (rearnsha@arm.com)
11193
11194         * jump.c (jump_optimize_1): More accurately detect casesi insns.
11195
11196         * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
11197         block records so that merge_blocks_nomove will clean up correctly.
11198         (split_edge): Handle casesi insns.
11199
11200         * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
11201
11202 Tue Oct 19 23:43:50 1999  Jeffrey A Law  (law@cygnus.com)
11203
11204         * pa.md (call, call_value): Do not emit a blockage after restoring
11205         the PIC register.
11206
11207 Tue Oct 19 17:22:39 1999  Mark Mitchell  <mark@codesourcery.com>
11208
11209         * c-typeck.c (c_expand_asm_operands): Fix typo.
11210
11211 Tue Oct 19 18:42:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11212
11213         * arm.c (fpu_rhs_operand): Verify modes.
11214         (fpu_add_operand): Likewise.
11215         (di_operand): Likewise.
11216         (soft_df_operand): Likewise.
11217
11218 Tue Oct 19 15:26:11 1999  Richard Earnshaw  (rearnsha@arm.com)
11219
11220         * arm.c (arm_return_in_memory): APCS rules state that the elements
11221         of a structure returned in a register must be 'integer-like'.
11222
11223 1999-10-19  Bruce Korb  <autogen@linuxbox.com>
11224
11225         * fixinc/Makefile.in: Change the generation rules to run `genfixes'
11226         in the source tree when the generated targets are out of date
11227         * fixinc/genfixes: Alter it to run individual fixes for make.
11228         * fixinc/README: rewrite
11229         * fixinc/inclhack.def: moved initial comments to README
11230
11231 Tue Oct 19 14:01:34 1999  Nick Clifton  <nickc@cygnus.com>
11232
11233         * toplev.c (main): Do not generate an error message if an
11234         unrecognised command line switch is recognisable by another
11235         language.  If extra_warnings are enabled, then generate a
11236         warning message instead.
11237
11238 Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
11239
11240         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
11241         (insert_pack_attributes): Delete prototype.
11242
11243         * c-pragma.c (default_alignment): New static variable.
11244         (push_alignment): Initialize to current effective alignment.
11245         (pop_alignment): Use to set new alignment.
11246         (insert_pack_attributes): Delete function.
11247         (handle_pragma_token): Set default_alignment as well each time
11248         a #pragma pack(<n>) is encountered.
11249
11250 Tue Oct 19 02:03:00 1999  Jeffrey A Law  (law@cygnus.com)
11251
11252         * reg-stack.c (stack_result): Aggregates are not returned in
11253         stack registers.
11254
11255 Tue Oct 19 01:26:48 1999  Alasdair Baird <alasdair@wildcat.demon.co.uk>
11256
11257         * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
11258
11259 Mon Oct 18 15:19:41 1999  Richard Henderson  <rth@cygnus.com>
11260
11261         * basic-block.h (set_block_num): Declare.
11262         * flow.c (update_life_info): Don't call compute_bb_for_insn
11263         or free_basic_block_vars.
11264         * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
11265         (insn_orig_block): Remove.
11266         (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
11267         (schedule_block): Keep BLOCK_NUM up-to-date.
11268         (schedule_insns): Use compute_bb_for_insn.
11269         * recog.c (split_all_insns): Likewise.
11270         (peephole2_optimize): Likewise.
11271
11272 Mon Oct 18 18:50:51 1999  Andreas Schwab  <schwab@suse.de>
11273
11274         * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
11275         if the pic register is used.
11276
11277 Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11278
11279         * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
11280         (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
11281         if that tests TREE_PERMANENT.
11282
11283 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
11284
11285         * cse.c (invalidate_for_call): Do not remove memory references from
11286         the table here.  It's handled elsewhere.
11287
11288         * haifa-sched.c (add_dependence): Protect references to the
11289         true dependency cache with #ifdef INSN_SCHEDULING.
11290         (remove_dependence): Similarly.
11291
11292         * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
11293         to the cfg code that this is a return instruction.
11294         * mn10300.md (return_internal): Similarly.
11295
11296         * combine.c (get_last_value): If the last set of a register
11297         is after subst_low_cuid, then we can not use it to determine
11298         the register's last value.
11299
11300 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
11301
11302         * Makefile.in: Back out previous change.
11303
11304 Sun Oct 17 15:22:50 1999  Jeffrey A Law  (law@cygnus.com)
11305
11306         * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
11307
11308         * haifa-sched.c (add_dependence): Only check/update the cache
11309         if it exists.
11310         (remove_dependence): Likewise.
11311         (schedule_insns): Only create the true_dependency_cache if the
11312         average number of instructions in a basic block is very large.
11313
11314 Sun Oct 17 11:02:52 1999  Mark Mitchell  <mark@codesourcery.com>
11315
11316         * Makefile.in (ggc-common.o): Depend on genrtl.h.
11317         (ggc-simple.o): Likewise.
11318         (ggc-page.o): Likewise.
11319
11320 Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
11321
11322         * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
11323         Prototype for exported functions.
11324         (pre_lcm, pre_rev_lcm): Remove prototypes.
11325         * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
11326         (compute_available): Move to lcm.c, and change parameter order.
11327         (one_classic_gcse_pass): Call compute_ae_kill with parameters.
11328         (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
11329         (gcse_main): No longer call compute_preds_succs.  Rebuild the
11330         set table after reach pre pass.
11331         (pre_insert_map, pre_delete_map, edge_list): New.
11332         (alloc_pre_mem): Allocate edge vectors.
11333         (free_pre_mem): Delete edge vectors.
11334         (compute_pre_data): Call new edge based lcm routines.
11335         (process_insert_insn): New function.
11336         (insert_insn_end_bb): Use it.
11337         (pre_edge_insert): New function.
11338         (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
11339         needed.
11340         (pre_insert_copies): Revamp using new edge based lcm outputs.
11341         (pre_delete): Likewise.
11342         (one_pre_gcse_pass): Insert & remove fake edges to the exit
11343         block.
11344         (compute_code_hoist_vbeinout): New new edge based routines.
11345         * lcm.c: Remove all the old LCM functions.  Replace with new ones
11346         that work with the new cfg datastructures and work with edges
11347         instead of blocks.
11348
11349 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11350
11351         * reload.h (struct reload): Add new fields "mode" and "nregs".
11352         * reload1.c: Change all occurrences of reload_mode and reload_nregs
11353         to reference the "mode" and "nregs" field within struct reload.
11354
11355 Sat Oct 16 21:50:28 1999  Jeffrey A Law  (law@cygnus.com)
11356
11357         * haifa-sched.c (true_dependency_cache): New.
11358         (add_dependence): Use the true dependency cache to avoid expensive
11359         walks down the LOG_LINKS dependency list.  Add entries to the
11360         cache as necessary.
11361         (remove_dependence): Remove entries from the true dependency cache
11362         as needed.
11363         (schedule_insns): Allocate and initialize and free the true
11364         dependency cache.
11365
11366         * haifa-sched.c (schedule_insns): Do not remove inter-block
11367         dependencies anymore.
11368
11369 Sat Oct 16 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
11370
11371         * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
11372         * i386/t-winnt: Likewise.
11373
11374 Sat Oct 16 11:11:54 1999  Richard Henderson  <rth@cygnus.com>
11375
11376         * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
11377
11378 1999-10-16  Manfred Hollstein  <mhollstein@cygnus.com>
11379
11380         * Makefile.in (LANGUAGES): Omit "proto".
11381         (clean): Remove stale comment about removing unprotoize.c.
11382
11383 Sat Oct 16 11:29:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11384
11385         * protoize.c (safe_read, safe_write): Avoid the gcc extension of
11386         using arithmetic on void pointers.
11387
11388 Sat Oct 16 02:48:22 1999  Jeffrey A Law  (law@cygnus.com)
11389
11390         * haifa-sched.c (compute_block_forward_dependencies): Only check
11391         for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
11392
11393 Sat Oct 16 00:07:01 1999  Richard Henderson  <rth@cygnus.com>
11394
11395         * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
11396         (expr_equiv_p): Reject memories with different alias sets.
11397
11398 Fri Oct 15 15:17:29 1999  Greg McGary  <gkm@gnu.org>
11399
11400         * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
11401         * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
11402         (f_options): Add "bounded-pointers" and "bounds-check" entries.
11403         * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
11404         (lang_init): Set default for flag_bounds_check if still "unspecified".
11405
11406 Sat Oct 16 13:42:29 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11407
11408         * config/c4x/c4x.md (HF mode patterns):  Add missing modes.
11409
11410 Sat Oct 16 13:37:46 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11411
11412         * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
11413         instructions.
11414
11415 Sat Oct 16 13:26:47 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11416
11417         * config/c4x/c4x.md (*db_noclobber,
11418         *decrement_and_branch_until_zero_noclobber): New patterns and
11419         associated splitters.
11420
11421 Sat Oct 16 13:13:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11422
11423         * config/c4x/c4x.md (parallel instruction patterns): Rework
11424         constraints to keep reload happy.
11425
11426 Sat Oct 16 13:03:16 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11427
11428         * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
11429         *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
11430         *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
11431         Add new patterns and associated post-reload splitters.
11432
11433 Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11434
11435         * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
11436
11437 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11438
11439         * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
11440         if appropriate.
11441         * config/c4x/c4x.md (rpts_top): New pattern and splitter.
11442
11443 Sat Oct 16 12:26:30 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11444
11445         * config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
11446         memory mode.
11447
11448 Fri Oct 15 17:02:09 1999  Jeffrey A Law  (law@cygnus.com)
11449
11450         * pa.c (move_operand): Rely on memory_address_p to determine the
11451         validity of non-indexed memory addresses.
11452         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
11453         operand in DFmode and SFmode when generating PA2.0 code.
11454
11455 Fri Oct 15 14:25:19 1999  Richard Henderson  <rth@cygnus.com>
11456
11457         * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
11458
11459 Fri Oct 15 13:48:45 1999  Richard Henderson  <rth@cygnus.com>
11460
11461         * mips.c (function_prologue): Fix argument types.
11462         * mips.md (casesi): Use emit_jump_insn for casesi_internal.
11463         (casesi_internal): Write to the scratch register.
11464
11465 1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>
11466
11467         * cppexp.c (cpp_parse_escape): Make static.  Change second arg
11468         to U_CHAR **.
11469         (parse_charconst): Delete unnecessary cast when calling
11470         cpp_parse_escape.
11471         (cpplib.h): Kill prototype of cpp_parse_escape.
11472
11473 Fri Oct 15 11:02:46 1999  Richard Henderson  <rth@cygnus.com>
11474
11475         Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
11476         * unroll.c (unroll_loop): Cast return value of alloca.
11477         * i370/i370.c: Include function.h and toplev.h.
11478         (i370_label_scan): Remove c++ commented abort.
11479         * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
11480         (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
11481         * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
11482         * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
11483
11484 Fri Oct 15 03:01:01 1999  Loren Rittle  <ljrittle@acm.org>
11485
11486         * config/t-freebsd: Do not override USER_H.
11487         * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
11488
11489 Fri Oct 15 02:37:28 1999  Alastair J. Houghton <ajh8@doc.ic.ac.uk>
11490                           Mumit Khan  <khan@xraylith.wisc.edu>
11491
11492         * c-parse.in (component_decl): Support anonymous struct/union.
11493         (%expect): Update.
11494         * c-parse.y: Regenerate.
11495         * c-parse.c: Likewise.
11496         * objc/objc-parse.y: Likewise.
11497         * objc/objc-parse.c: Likewise.
11498         * c-decl.c (finish_struct): Don't sort the fields.
11499         (field_decl_cmp): Delete unused function.
11500
11501 Fri Oct 15 01:20:52 1999  Richard Henderson  <rth@cygnus.com>
11502
11503         * sparc.md (movsf_const_intreg): Revert last constraint change.
11504         (movdf_const_intreg_sp32): Likewise.
11505
11506 Fri Oct 15 01:47:51 1999  Vladimir Makarov  <vmakarov@loony.cygnus.com>
11507
11508         * cse.c: Include hashtab.h instead of splay-tree.h
11509         (struct cse_reg_info): No longer use variant union.  Add new
11510         field "regno".  All references changed to avoid union.
11511         (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
11512         (free_cse_reg_info): Remove.
11513         (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
11514         (get_cse_reg_info): Revamp to use expandable hash tables instead
11515         of splay trees.  Initialize new fields in cse_reg_info structure.
11516         (new_basic_block): Similarly.
11517
11518 Thu Oct 14 23:51:56 1999  Richard Henderson  <rth@cygnus.com>
11519
11520         * genrecog.c (message_with_line): Prototype.
11521         (validate_pattern): Pass along the set for the dest, not a flag.
11522         Fix non-lvalue message.  Don't warn for VOIDmode SET_DEST of CALL.
11523         Check for PC/CC0 as sources.
11524         (nodes_identical): Check for children position match before
11525         allowing the combination.
11526
11527         * rtl.c (read_rtx): Track line number across \\\n.
11528
11529 Thu Oct 14 23:50:25 1999  Richard Henderson  <rth@cygnus.com>
11530
11531         * mips.h (SPECIAL_MODE_PREDICATES): New.
11532         * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
11533         (movdi+1, movsi+1): Add output reload constraint.
11534         (casesi_internal): Likewise.  Fix commentary.
11535         (return_internal): Use pmode_register_operand.
11536
11537 Thu Oct 14 23:19:34 1999  Richard Henderson  <rth@cygnus.com>
11538
11539         * 1750a.md (movstrqi): Add missing output reload constraint.
11540         (call_value): Likewise.
11541         * a29k.md (cpxxx patterns): Add missing match_operator mode.
11542         (jmpfdec): Add missing inout reload constraint.
11543         * elxsi.md (addsi patterns): Add missing output reload constraint.
11544         (move from sp): Use @ alternates.
11545         (call_value): No constraint on output.
11546         * fr30.md (movsi_pop): Add missing output reload constraint.
11547         (movsf_constant_store): Likewise.
11548         (splits): Remove constraints.
11549         (subsi3): Add missing mode.
11550         * i370.md (cmpstrsi+1): Add missing output reload constraint.
11551         (call_value): Likewise.
11552         * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
11553         * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
11554         * m32r.md (movsicc_internal): Add output reload constraint.
11555         (movstrsi_internal): Add inout reload constraints.
11556         * m88k.h (reg_names): Don't declare.
11557         (SPECIAL_MODE_PREDICATES): New.
11558         * m88k.md (*): Use register_operand not reg_or_0_operand
11559         on destinations.
11560         * mn10200.h (PREDICATE_CODES): New.
11561         * ns32k.md (ffs pattern): Add output reload constraint.
11562         * pdp11.md (sob pattern): Add inout reload constraint.
11563         * sh.md (splits): Remove constraints.
11564         (indirect_jump_scratch, fpu_switch): Add output reload constraint.
11565         * v850.md (pattern_is_ok_for_epilogue): Likewise.
11566         * vax.md (jgequ pattern): Add inout reload constraint.
11567
11568 Fri Oct 15 00:05:00 1999  Jeffrey A Law  (law@cygnus.com)
11569
11570         * configure.in (djgpp): Revert previous patch.
11571         * configure: Rebuit.
11572         * config/i386/djgpp.h: Revert previous patch.
11573
11574 Fri Oct 15 00:00:24 1999  Loren J. Rittle <ljrittle@acm.org>
11575
11576         * fixinc/inclhack.def: Restore patch lost during last merge of
11577         "no_bogosity" branch.
11578         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
11579
11580 Thu Oct 14 23:57:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
11581
11582         * fixincludes: Add a HPUX 11 fix for inttypes.h.
11583         * fixinc/inclhack.def: Same.
11584         * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
11585
11586 Thu Oct 14 22:51:55 1999  Richard Henderson  <rth@cygnus.com>
11587
11588         * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
11589         as the base of a PLUS.
11590
11591 Fri Oct 15 18:36:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11592
11593         * config/c4x/c4x.md:  Define mode for remaining unspec operators.
11594         * config/c4x/c4x.c (dst_operand):  Use nonimmediate_operand.
11595
11596 Thu Oct 14 22:14:23 1999  Richard Henderson  <rth@cygnus.com>
11597
11598         * pa.md (post_stw+1): Use pmode_register_operand.
11599         (dcacheflush, icacheflush): Likewise.
11600
11601         * i386.md (movstricthi_1): Allow r/r.
11602
11603 Thu Oct 14 19:44:08 1999  Jan Hubicka  <hubicka@freesoft.cz>
11604
11605         * fold-const.c (fold): Convert (or (not arg0) (not arg1))
11606         to (not (and (arg0) (arg1))). Similary for and.
11607
11608         * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
11609         fallthrough to associate code.
11610         Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
11611         bits in common.
11612
11613         * combine.c (simplify_logical): Convert XOR to IOR if operands have
11614         no bits in common; remove XOR to ROTATE conversion.
11615
11616 Fri Oct 15 17:40:11 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11617
11618         * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
11619
11620 Fri Oct 15 17:27:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11621
11622         * config/c4x/c4x.c (dst_operand): New.
11623         (PREDICATE_CODES): Update.
11624         * config/c4x/c4x.h (dst_operand): Declare it.
11625         * config/c4x/c4x.md:  Define mode for each unspec usage.
11626         (move patterns):  Use dst_operand predicate instead of src_operand.
11627         (movqi_update, movqf_update): Delete.
11628
11629 Thu Oct 14 18:48:54 1999  Richard Henderson  <rth@cygnus.com>
11630
11631         * recog.c (pmode_register_operand): New.
11632         * recog.h: Declare it.
11633         * genrecog.c (pred_codes): Likewise.
11634         (special_mode_pred_table): Likewise.
11635         (validate_pattern): Don't warn no mode for address_operand.
11636
11637         * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
11638         if the operand is not insn-like.
11639
11640 Thu Oct 14 19:38:42 1999  Jeffrey A Law  (law@cygnus.com)
11641                           Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
11642
11643         * fold-const.c (fold): Handle more simplifications allowed by IEEE.
11644
11645 Thu Oct 14 17:30:14 1999  Richard Henderson  <rth@cygnus.com>
11646
11647         * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
11648         instead of general_operand in a SET_DEST.  Use const_double_operand
11649         instead of an explicit test against CONST_DOUBLE.
11650         (movsf_const_lo): Add missing register mode.
11651         (goto_handler_and_restore): Add auxiliary test for Pmode.
11652         (flush): Adjust to use address_operand.
11653         (return_sf_no_fpu): Add missing output constraint.
11654
11655 Thu Oct 14 17:21:26 1999  Richard Henderson  <rth@cygnus.com>
11656
11657         * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
11658         for call return value.
11659         (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
11660
11661 Thu Oct 14 13:54:25 1999  Jason Merrill  <jason@yorick.cygnus.com>
11662
11663         * toplev.c (main): Only warn about options for other languages.
11664         * collect2.c (main): Pass -w to sub-gcc.
11665
11666 Thu Oct 14 16:27:50 1999  Richard Henderson  <rth@cygnus.com>
11667
11668         * flow.c (propagate_block): Add call-clobbered registers to
11669         significant too.
11670
11671         * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
11672         zapping mem_set_list.
11673         (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
11674         (mark_set_1, mark_used_regs): Likewise.
11675
11676 Thu Oct 14 10:51:49 1999  Richard Henderson  <rth@cygnus.com>
11677
11678         * m68k.md (zero_extendsidi2): Add missing output reload constraint.
11679
11680 Wed Oct 13 00:09:18 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
11681
11682         * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
11683         -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
11684         options. Also add a new item "C-only Warning Options" to the
11685         option summary.
11686
11687 1999-10-14  Gavin Romig-Koch  <gavin@cygnus.com>
11688
11689         * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
11690         from multiple calls.
11691
11692 Thu Oct 14 04:54:54 1999  Richard Henderson  <rth@cygnus.com>
11693
11694         * i386.md (call value patterns): Move to the end of the file.
11695         (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
11696
11697 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
11698
11699         * configure.in (djgpp configuration): Define extra_objects..
11700         * configure: Rebuilt.
11701         * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
11702         (DTORS_SECTION_ASM_OP): Define.
11703         (INIT_SECTION_ASM_OP): Define.
11704         (FINI_SECTION_ASM_OP): Define.
11705         (DATA_SECTION_ASM_OP): Define.
11706         (TEXT_SECTION_ASM_OP): Define.
11707         (EH_FRAME_SECTION_ASM_OP): Define.
11708         (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
11709         (STARTFILE_SPEC): Add crtbegin.o.
11710         (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
11711         to here from LINK_COMMAND_SPEC.
11712         (DO_GLOBAL_CTORS_BODY): Define.
11713         (CRTSTUFF_USE_FINI_SECTION): Define
11714         (HAS_INIT_SECTION): Delete.
11715
11716 Thu Oct 14 05:08:14 1999  Andreas Schwab  <schwab@suse.de>
11717
11718         * Makefile.in (all.cross): Depend on xcpp$(exeext).
11719
11720 Thu Oct 14 04:00:40 1999  Richard Henderson  <rth@cygnus.com>
11721
11722         * pa.h (PREDICATE_CODES): New.
11723
11724         * genrecog.c (validate_pattern): Condense the destination
11725         non-lvalue message.
11726
11727 Thu Oct 14 03:23:08 1999  Richard Henderson  <rth@cygnus.com>
11728
11729         * alpha.md (call-1): Supply missing mode for operator.
11730         (*): Add missing output reload constraints.  Remove constraints
11731         from define_splits.
11732
11733         * i386.h (SPECIAL_MODE_PREDICATES): New.
11734         * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
11735         (movqi_1, movdi_1, movdi_2, some splits): Likewise.
11736         (addsi_lea_3): Add missing mode for op 3.
11737         (prologue_set_got, prologue_get_pc): Add missing modes.
11738         (*) Add missing output reload constraints.
11739
11740 Thu Oct 14 03:59:57 1999  Stephane Carrez  <stcarrez@worldnet.fr>
11741
11742         * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
11743         check for member bit-size overflow and use var_size if it occurs.
11744         (layout_record): Use bitsize_int() to define the type size in bits.
11745         Likewise for computation and assignment to DECL_FIELD_BITPOS.
11746         (layout_decl): Likewise when assigning to DECL_SIZE.
11747
11748 Thu Oct 14 02:57:05 1999  Richard Henderson  <rth@cygnus.com>
11749
11750         * genrecog.c (validate_pattern): Typo last change.  Verify
11751         that output operands have output reloads.
11752
11753 Thu Oct 14 01:49:54 1999  Richard Henderson  <rth@cygnus.com>
11754
11755         * genrecog.c (special_mode_pred_table): New.
11756         (NUM_SPECIAL_MODE_PREDS): New.
11757         (find_operand): New.
11758         (validate_pattern): New argument `insn'.  Warn for assignment to
11759         any predicate accepting non-lvalues.  Conditionaly warn for
11760         match_operand without a mode.  Try much harder to match source
11761         and destination modes on a set.
11762         * tm.texi (SPECIAL_MODE_PREDICATES): Document.
11763
11764 Thu Oct 14 02:54:13 1999  Jeffrey A Law  (law@cygnus.com)
11765
11766         * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
11767
11768 Thu Oct 14 02:18:19 1999  Marc Espie <espie@cvs.openbsd.org>
11769
11770         * combine.c (simplify_logical): Recognize xor pattern that encodes
11771         rotation.
11772
11773 Wed Oct 13 23:23:45 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
11774
11775         * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
11776         alignment.
11777
11778 Wed Oct 13 21:47:18 1999  Richard Henderson  <rth@cygnus.com>
11779
11780         * ggc-page.c (MAP_FAILED): Provide default.
11781
11782 Wed Oct 13 21:41:59 1999  Richard Henderson  <rth@cygnus.com>
11783
11784         * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
11785         * sparc.h (PREDICATE_CODES): Update.
11786
11787 Wed Oct 13 21:18:17 1999  Richard Henderson  <rth@cygnus.com>
11788
11789         * alpha.c (some_ni_operand): New.
11790         * alpha-protos.h: Declare it.
11791         * alpha.h (PREDICATE_CODES): Update.
11792         * alpha.md (sXaddq reload insns): Use some_ni_operand
11793         for SET_DEST instead of some_operand.
11794
11795 Wed Oct 13 21:04:45 1999  Richard Henderson  <rth@cygnus.com>
11796                           Jim Wilson  <wilson@cygnus.com>
11797
11798         * genrecog.c (maybe_both_true_2): Don't compare modes of
11799         two DT_pred tests.
11800         (process_tree): Elide peephole2_insns.  Invoke simplify_tests
11801         after find_afterward.
11802         (debug_decision_1): Dump next and afterward codes.
11803
11804 Wed Oct 13 20:35:16 1999  Richard Henderson  <rth@cygnus.com>
11805
11806         * rtl.c (dump_and_abort): Remove.
11807         (fatal_with_file_and_line): New.
11808         (fatal_expected_char): New.
11809         (read_rtx_lineno, read_rtx_filename): New.
11810         (read_skip_spaces): Track line number.
11811         (read_name): Use fatal_with_file_and_line.
11812         (read_rtx): Use fatal_expected_char.  Track line number.
11813         * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
11814
11815         * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
11816         if it isn't a CODE_LABEL.
11817
11818         * genattr.c (main): Set read_rtx_filename.
11819         * genattrtab.c (main): Likewise.
11820         * gencodes.c (main): Likewise.
11821         * genconfig.c (main): Likewise.
11822         * genemit.c (main): Likewise.
11823         * genextract.c (main): Likewise.
11824         * genflags.c (main): Likewise.
11825         * genopinit.c (main): Likewise.
11826         * genoutput.c (main): Likewise.
11827         * genpeep.c (main): Likewise.
11828
11829         * genrecog.c (decision_test.u.insn): Add `lineno'.
11830         (pattern_lineno, error_count): New variables.
11831         (message_with_line): New.
11832         (add_to_sequence): Break out checking code to ...
11833         (validate_pattern): ... here.  Detect SET_DEST matching CONST_INT.
11834         (merge_insn): Use message_with_line.
11835         (make_insn_sequence): Use validate_pattern.  Record insn lineno.
11836         (main): Set read_rtx_filename, pattern_lineno.  Exit early on error.
11837
11838 Wed Oct 13 22:01:35 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11839
11840         * expr.c (store_constructor): Clear union if constructor is empty.
11841
11842 Wed Oct 13 15:19:04 1999  Jim Wilson  <wilson@cygnus.com>
11843
11844         * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
11845         Add !endian checks.  Change %{...} to %(...).
11846
11847 Wed Oct 13 13:30:34 1999  Richard Henderson  <rth@cygnus.com>
11848
11849         * i386.md (*addsi3_cc): Renamed from addcsi3.
11850         (*addsi3_carry): Renamed from addxsi3.
11851         (*subsi3_cc): Renamed from subcsi3.
11852         (*subsi3_carry): Renamed from subxsi3.
11853         (*xorqi_cc_1): Renamed from xorcqi_1.
11854         (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
11855         * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
11856
11857 Wed Oct 13 13:10:46 1999  Richard Henderson  <rth@cygnus.com>
11858
11859         * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
11860         (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
11861
11862 1999-10-13  Brendan Kehoe  <brendan@cygnus.com>
11863
11864         * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
11865         climb up the chain of insns.
11866
11867 Wed Oct 13 10:20:58 1999  Richard Henderson  <rth@cygnus.com>
11868
11869         * genrecog.c (write_subroutine): Careful for null trees.
11870         (process_tree): Don't elide empty functions.
11871
11872 Wed Oct 13 10:07:54 1999  Richard Henderson  <rth@cygnus.com>
11873
11874         * Makefile.in (genrtl.o): Depend on ggc.h.
11875         * configure.in (valloc): Probe for it.
11876         (with-gc): Use ggc-page if valloc present.
11877         * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
11878         (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
11879         (ggc_alloc_string): Moved from ggc-page.c.
11880         * ggc-none.c (ggc_alloc_obj): New.
11881         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
11882         * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
11883         (struct globals): Likewise for dev_zero_fd.
11884         (init_ggc): Likewise for it's initialization.
11885         (ggc_allocated_p): Move careful dereference from ...
11886         (ggc_lookup_page_table): ... here.  Delete.
11887         (lookup_page_table_entry): Don't use ggc_lookup_page_table.
11888         (alloc_anon): Use valloc if no mmap.
11889         (release_pages): Use free if using valloc.
11890         (ggc_alloc_obj): Renamed from alloc_obj.
11891         (ggc_set_mark): Renamed from mark_obj.
11892         (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
11893         (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
11894         (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
11895         (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
11896         (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
11897         (ggc_collect): Use fp printing instead of our own rounding.
11898         * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
11899         (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
11900         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
11901         (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
11902         (struct ggc_string, struct ggc_any): Delete.
11903         (offsetof): Provide default definition.
11904         (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
11905         (PTR_KEY): New.
11906         (struct ggc_mem): New, from corpse of ggc_any.
11907         (struct ggc_status): Delete.
11908         (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
11909         (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
11910         (n_strings_collected, n_anys_collected): Delete.
11911         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
11912         (ggc_alloc_string, ggc_alloc): Delete.
11913         (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
11914         (ggc_free_string, ggc_free_any): Delete.
11915         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
11916         (ggc_compare_addresses, ggc_mark_string): Delete.
11917         (ggc_mark_string_if_gcable, ggc_mark): Delete.
11918         (search_data): Delete.
11919         (struct globals): New.
11920         (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
11921         (tree_insert, tree_lookup): New.
11922         (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
11923         (clear_marks, sweep_objs): New.
11924         (ggc_collect): Gut.  Use clear_marks, sweep_objs.
11925         (init_ggc): Set allocated_last_gc.
11926         (ggc_push_context): Gut.  Use G.context.
11927         (ggc_pop_context): Likewise.
11928         (ggc_pop_context_1): New.
11929         (debug_ggc_tree): New.
11930         (debug_ggc_balance, tally_leaves): New.
11931         * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
11932         (ggc_mark_string_if_gcable): Remove decl.
11933         (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
11934         (ggc_mark_rtvec_children): New.
11935         (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
11936         (ggc_mark_if_gcable): New decl.
11937         (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
11938         (ggc_alloc_tree, ggc_alloc): Likewise.
11939         (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
11940         (ggc_alloc_obj): New decl.
11941         (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
11942         (ggc_alloc_tree, ggc_alloc): Likewise.
11943         (ggc_set_mark): New decl.
11944         * rtl.h (struct rtx_def): Remove gc_mark.
11945         (struct rtvec_def): Likewise.
11946         * tree.h (struct tree_common): Likewise.
11947
11948 Wed Oct 13 01:44:29 1999  Carol LePage  <carolo@hal.com>
11949
11950         * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
11951         float_format and thread_file definitions.
11952         * configure: Rebuilt.
11953
11954 Wed Oct 13 09:25:03 1999  Niels Möller <nisse@lysator.liu.se>
11955
11956         * extend.texi (Function Names): Document types of function names.
11957
11958 Wed Oct 13 00:45:04 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
11959
11960         * reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
11961         an earlyclobbered output conflict with RELOAD_INPUT reloads.
11962
11963 Tue Oct 12 23:28:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11964
11965         * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
11966
11967 Tue Oct 12 23:19:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11968
11969         * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
11970
11971 Tue Oct 12 17:09:38 1999  David Edelsohn  <edelsohn@gnu.org>
11972
11973         * collect2.c (main): Do prelimnary link on AIX if rflag.
11974
11975 Tue Oct 12 09:45:19 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
11976
11977         * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
11978         __CTOR_LIST__ in opposite order, which is the correct order for sorted
11979         constructors.
11980         (__do_global_dtors): similarly for __DTOR_LIST__.
11981
11982 Fri Oct  8 19:46:03 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
11983                                 Diego Novillo <dnovillo@cygnus.com>
11984
11985         * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
11986         FPUL_REGS.
11987
11988 Tue Oct 12 07:38:41 1999  Bruce Korb  <autogen@linuxbox.com>
11989
11990         * fixincl/*: Merged "no_bogosity" branch
11991         * fixincl/fixlib.h: protect against doubly defining t_bool
11992         * fixincl/server.h: protect against doubly defining t_bool
11993
11994 Mon Oct 11 20:18:41 1999  Jim Wilson  <wilson@cygnus.com>
11995
11996         * genoutput.c: Include toplev.h.
11997
11998 Mon Oct 11 18:56:14 1999  Jim Wilson  <wilson@cygnus.com>
11999
12000         * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
12001         Undef.
12002         * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
12003         * configure: Regenerate.
12004
12005 Mon Oct 11 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
12006
12007         * gcse.c (delete_null_pointer_checks): Returns void.
12008
12009 Mon Oct 11 20:31:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12010
12011         * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
12012         * emit-rtl.c (copy_insn_1): Likewise.
12013
12014 Mon Oct 11 13:29:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
12015
12016         * config/mips/mips.c (mips_build_va_list): Correct
12017         TREE_CHAIN setting when hard-float.
12018         (mips_va_start): Use corrected setting.
12019         (mips_va_arg): Likewise.  Also pass a tree to build of
12020         POSTINCREMENT_EXPR rather than a naked 'int'.
12021
12022 Sun Oct 10 18:27:27 1999  Mark Mitchell  <mark@codesourcery.com>
12023
12024         * ggc.h (ggc_push_context): Fix comment.
12025         (ggc_pop_context): Likewise.
12026         (mark_string_if_gcable): Likewise.
12027         * ggc-common.c (ggc_mark_rtx_children): Use
12028         ggc_mark_string_if_gcable.
12029         * ggc-page.c (ggc_lookup_page_table): New function.
12030         (ggc_allocated_p): Likewise.
12031         (mark_obj): Fix formatting.
12032         (ggc_mark_string_if_gcable): New function.
12033         * ggc-simple.c (ggc_allocated_strings): New variable.
12034         (ggc_strings_used): Likewise.
12035         (ggc_compare_addresses): New function.
12036         (ggc_pop_context): Pop the `any' memory too.
12037         (ggc_mark_string_if_gcable): New function.
12038         (ggc_collect): Initialize and tear down ggc_allocated_strings.
12039
12040 Sun Oct 10 20:05:21 1999  David Edelsohn  <edelsohn@gnu.org>
12041
12042         * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
12043         (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
12044         * rs6000.c (expand_block_move): Match movstrsi_?reg register
12045         changes.
12046
12047 Sun Oct 10 16:37:01 1999  Richard Henderson  <rth@cygnus.com>
12048
12049         * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
12050         (sched_reg_live_length, sched_reg_basic_block): Delete.
12051         (current_block_num, bb_live_regs, old_live_regs): Delete.
12052         (dead_notes, struct sometimes): Delete.
12053         (sched_note_set, birthing_insn_p): Delete.
12054         (adjust_priority): Gut useless reg lifetime code.
12055         (create_reg_dead_note, attach_deaths): Delete.
12056         (attach_deaths_insn, new_sometimes_live): Delete.
12057         (finish_sometimes_live): Delete.
12058         (find_pre_sched_live, find_post_sched_live): Delete.
12059         (update_reg_usage): Delete.
12060         (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
12061         (schedule_insns): Delete reg lifetime code.
12062         (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
12063         (unlink_other_notes): Adjust REG_NOTE commentary.
12064         (reemit_notes): Use REG_SAVE_NOTE.
12065         (schedule_block): Likewise.
12066         (schedule_region): Allocate bitmap of blocks in region.  Use
12067         count_or_remove_death_notes.  Use update_life_info.
12068
12069         * rtl.h (REG_SAVE_NOTE): New.
12070         * rtl.c (reg_note_name): Update.
12071
12072 Sun Oct 10 16:14:16 1999  Richard Henderson  <rth@cygnus.com>
12073
12074         * combine.c (refresh_blocks, need_refresh): New.
12075         (combine_instructions): Allocate refresh_blocks.  Invoke
12076         update_life_info if needed.
12077         (distribute_notes): Mark refresh_blocks instead of installing
12078         USE insns.
12079         * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
12080         * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
12081
12082         * Makefile.in (recog.o): Depend on basic-block.h.
12083
12084 Sun Oct 10 12:03:21 1999  Richard Henderson  <rth@cygnus.com>
12085
12086         * genrecog.c (add_to_sequence): Thinko last change: delete
12087         shadowing allow_const_int variable.
12088
12089 Sun Oct 10 08:40:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12090
12091         * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
12092         __GNUC__ and __GNUC_MINOR__.
12093
12094         * gansidecl.h: Likewise.
12095
12096         * rtl.c: Likewise.
12097
12098         * rtl.h: Likewise.
12099
12100         * toplev.h: Likewise.
12101
12102         * tree.c: Likewise.
12103
12104         * tree.h: Likewise.
12105
12106         * varray.c: Likewise.
12107
12108         * varray.h: Likewise.
12109
12110 Sun Oct 10 13:28:48 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12111
12112         * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
12113         use one before a jump table.
12114
12115         * rtl.def (ADDRESS): Change documentation to match reality.
12116         * md.texi: Don't document it.
12117         * gmicro.md (load address pattern): Use 'p' constraint, delete use
12118         of ADDRESS rtx.
12119
12120         * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
12121
12122 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
12123
12124         * genrecog.c (add_to_sequence): Move allow_const_int test outside
12125         known predicate block; default allow_const_int true.
12126         (debug_decision_list): New.
12127
12128 Sun Oct 10 00:43:08 1999  Richard Henderson  <rth@cygnus.com>
12129
12130         * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
12131
12132 Sat Oct  9 23:26:55 1999  Jeffrey A Law  (law@cygnus.com)
12133
12134         * gcse.c (gcse_main): Avoid global optimizations if we have a
12135         large number of basic blocks and the ratio of edges to blocks
12136         is high.
12137         (delete_null_pointer_checks): Likewise.
12138
12139 Sat Oct  9 23:16:01 1999  Ken Raeburn  <raeburn@mit.edu>
12140
12141         * c-common.c (check_format_info): Warn if format string isn't a
12142         string literal.
12143
12144 Sat Oct  9 23:04:02 1999  Jonathan Larmour  <jlarmour@cygnus.co.uk>
12145
12146         * configure.in (arm*-*-*): Don't let autoconf remove brackets
12147         * configure: regenerate
12148
12149 Sat Oct  9 13:15:53 1999  Richard Henderson  <rth@cygnus.com>
12150
12151         * alpha.md (extendsidi2): Turn into a splitter.  Allow f/f.
12152         If TARGET_FIX, allow r/f.  Remove cvtlq unspec pattern.
12153         (peepholes): Re-enable.
12154
12155 Sat Oct  9 12:18:16 1999  Richard Henderson  <rth@cygnus.com>
12156
12157         * Makefile.in (flow.o): Depend on TREE_H.
12158         * basic-block.h (REG_SET_EQUAL_P): New.
12159         (XOR_REG_SET): New.
12160         (n_edges): Declare.
12161         (free_regset_vector): Remove declaration.
12162         (flow_delete_insn_chain): Declare.
12163         (enum update_life_extent): New.
12164         (update_life_info, count_or_remove_death_notes): Declare.
12165         * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
12166         Verify register live at bb->global_live_at_start before adding USE.
12167         * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
12168         (CLEAN_ALLOCA): New.
12169         (n_edges): New.
12170         (PROP_*): New flags.
12171         (find_basic_blocks_1): Use alloc_EXPR_LIST.
12172         (clear_edges): Zero n_edges.
12173         (make_edge): Increment n_edges.
12174         (split_edge): Don't allocate bb->local_set.  Increment n_edges.
12175         (flow_delete_insn_chain): Export.
12176         (delete_block): Decrement n_edges.
12177         (merge_blocks_nomove): Likewise.
12178         (life_analysis): Give life_analysis_1 PROP flags.
12179         (verify_wide_reg_1, verify_wide_reg): New.
12180         (verify_local_live_at_start): New.
12181         (update_life_info): Rewrite to call into propogate_block.
12182         (mark_reg): New.
12183         (mark_regs_live_at_end): After reload, if epilogue as rtl,
12184         always mark stack pointer.  Conditionally mark PIC register.
12185         After reload, mark call-saved registers, return regsiters.
12186         (life_analysis_1): Accept PROP flags not remove_dead_code.
12187         Call mark_regs_live_at_end before zeroing regs_ever_live.
12188         Use calculate_global_regs_live.  Copy global_live_at_end before
12189         calling final propagate_block.  Zero reg_next_use on exit.
12190         (calculate_global_regs_live): New.
12191         (allocate_bb_life_data): Don't allocate bb->local_set.
12192         (init_regset_vector, free_regset_vector): Remove.
12193         (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
12194         Test flags before every operation.  Warn if prologue/epilogue insn
12195         would have been deleted.
12196         (mark_set_regs, mark_set_1): Accept and use FLAGS.
12197         Use alloc_EXPR_LIST.
12198         (mark_used_regs): Accept and use FLAGS, not FINAL.
12199         Remove special handling for RETURN.
12200         (try_pre_increment): Use alloc_EXPR_LIST.
12201         (dump_flow_info): Dump n_edges.
12202         (unlink_insn_chain, split_hard_reg_notes): Remove.
12203         (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
12204         (find_insn_with_note, new_insn_dead_notes): Remove.
12205         (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
12206         (maybe_remove_dead_notes, prepend_reg_notes): Remove.
12207         (replace_insns): Remove.
12208         (count_or_remove_death_notes): New.
12209         (verify_flow_info): Abort on error after all checks.
12210         (remove_edge): Decrement n_edges.
12211         (remove_fake_edges): Tweek format.
12212         * haifa-sched.c (schedule_insns): Use split_all_insns.
12213         * output.h (update_life_info): Remove declaration.
12214         * recog.c (split_all_insns): From the corpse of split_block_insns,
12215         do the whole function block by block.  Use update_life_info.
12216         (recog_last_allowed_insn): New.
12217         (recog_next_insn): Mind it.
12218         (peephole2_optimize): Set it.  Walk backwards through blocks.
12219         Use update_life_info.
12220         * rtl.h (update_flow_info, replace_insns): Remove declarations.
12221         (split_all_insns): Declare.
12222         * toplev.c (rest_of_compilation): Thread prologue before flow2.
12223         Use split_all_insns.
12224
12225         * i386.md (or -1 peep2s): Disable.
12226
12227 Fri Oct  8 17:49:08 1999  Richard Henderson  <rth@cygnus.com>
12228
12229         * config/mips/mips.md (movstrsi+[123]) : Combine these into
12230         a single pattern.  Scrap the 'd' versions as unnecessary.
12231
12232         * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
12233         tablejump_mips162,tablejump_internal4): The operands to a
12234         label_ref must be VOIDmode.
12235
12236 Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12237
12238         * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
12239
12240 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
12241
12242         * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
12243
12244 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
12245
12246         * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
12247         cache every function if ggc_p.
12248
12249 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12250
12251         * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
12252         instead of copy_rtx.  Accept sequences that contain asm statements.
12253         * emit-rtl.c (copy_insn_1, copy_insn): New functions.
12254         (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
12255         orig_asm_operands_vector, copy_asm_operands_vector,
12256         orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
12257         variables.
12258         * rtl.h (copy_insn, copy_insn_1): Declare.
12259
12260 Fri Oct  8 13:08:12 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12261
12262         * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
12263
12264         * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
12265         arguments to `current_file_function_operand'.
12266
12267         * genrecog.c: Include hard-reg-set.h and resource.h in the
12268         generated output file.
12269
12270         * real.c: Include tm_p.h.
12271
12272 Fri Oct  8 18:46:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12273
12274         * i386.md (prologue_allocate_stack): Add '=' constraint letter on
12275         output operand.
12276
12277 Thu Oct  7 23:06:50 1999  Richard Henderson  <rth@cygnus.com>
12278
12279         * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
12280         before the fctiwz insn.
12281
12282 Thu Oct  7 22:53:00 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12283                           Mark Mitchell  <mark@codesourcery.com>
12284
12285         * tree.c (make_lang_type_fn): New funtion pointer.
12286         (make_lang_type): Call it.
12287         * tree.h (make_lang_type): Declare.
12288         (make_lang_type_fn): Likewise.
12289         * rs6000.c (rs6000_build_va_list): Use make_lang_type.
12290
12291 Thu Oct  7 00:36:17 1999  Diego Novillo  <dnovillo@cygnus.com>
12292
12293         * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
12294         make sure that HIGH instructions are copied into BASE_REGS.
12295
12296 Thu Oct  7 17:02:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
12297
12298         * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
12299
12300 Thu Oct  7 17:01:58 1999  Greg McGary  <gkm@gnu.org>
12301
12302         * c-decl.c (finish_struct): Use simpler method of
12303         removing elements of a singly-linked list.
12304
12305 Thu Oct  7 15:23:28 1999  Michael Meissner  <meissner@cygnus.com>
12306
12307         * alpha.md (peephole2's): Comment out peephole2's that generate
12308         buggy code.
12309
12310 Thu Oct  7 12:00:53 1999  Richard Henderson  <rth@cygnus.com>
12311
12312         * genrecog.c (add_to_sequence): Disable mode check for
12313         wildcard matches.
12314
12315 Thu Oct  7 20:14:16 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12316
12317         * ggc-simple.c (init_ggc): Set empty_string.
12318
12319 Thu Oct  7 01:13:15 1999  Richard Henderson  <rth@cygnus.com>
12320
12321         * configure.in: Detect mmap.  Add --with-gc=foo to select
12322         garbage collector; default to page if mmap available.
12323         * Makefile.in (GGC): Substitute.
12324
12325 Wed Oct  6 23:56:30 1999  Richard Henderson  <rth@cygnus.com>
12326
12327         * c-decl.c (ggc_p): Enable.
12328
12329 Wed Oct  6 17:17:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12330
12331         * flow.c (verify_flow_info): Make it extern & unconditionally define.
12332
12333 1999-10-06  Brendan Kehoe  <brendan@cygnus.com>
12334
12335         * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
12336         string for little-endian-data.
12337
12338 Wed Oct  6 16:10:35 1999  Michael Meissner  <meissner@cygnus.com>
12339
12340         * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
12341         case somebody tries to compile --enable-checking code with gcc
12342         1.34 or such.
12343
12344 Wed Oct  6 12:22:50 1999  Richard Henderson  <rth@cygnus.com>
12345
12346         * genrecog.c (add_to_sequence): Verify operand to label_ref is
12347         VOIDmode.
12348
12349 Wed Oct  6 10:21:15 1999  Richard Henderson  <rth@cygnus.com>
12350
12351         * genconfig.c (main): Disable HAVE_conditional_arithmetic.
12352         * jump.c (jump_optimize_1): Document why.
12353
12354 Wed Oct  6 10:41:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12355
12356         * collect2.c (scan_prog_file, scan_libraries): Prototype function
12357         pointers and casts for `int_handler' and `quit_handler'.
12358
12359         * flow.c (verify_flow_info, split_hard_reg_notes,
12360         find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
12361         remove_edge, remove_fake_successors): Add static prototypes.
12362         (verify_flow_info): Wrap with macro ENABLE_CHECKING.
12363         (mark_set_1): Initialize variable `regno'.
12364         (unlink_insn_chain): Likewise for variable `curr'.
12365         (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
12366
12367         * loop.c (strength_reduce): Initialize variable
12368         `unrolled_insn_copies'.
12369         (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
12370         prototypes.  Change these functions to take const PTR parameters
12371         to avoid prototype conflict when used as the comparson argument
12372         for qsort.
12373         (check_dbra_loop): Initialize variable `comparison_val'.
12374
12375         * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
12376         (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
12377         (find_valid_class): Initialize variable `best_class'.
12378         (find_reloads): Call memcpy, not bcopy.
12379
12380         * reload1.c (gen_mode_int, dump_needs): Add prototypes.
12381         (hard_reg_use_compare): Don't needlessly cast away const.
12382         (reload_reg_class_lower): Likewise.
12383         (choose_reload_regs): Initialize variable `regno'.
12384
12385 Tue Oct  5 16:34:12 1999  Paul Burchard <burchard@pobox.com>
12386
12387         * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
12388
12389 Tue Oct  5 16:14:40 1999  Michael Meissner  <meissner@cygnus.com>
12390
12391         * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
12392         ({,d}discard): Add forward declarations.  Declare parameter as
12393         unused.
12394         (main_without_main): Explicitly declare return type to be int.
12395         (memcpy): Properly declare.
12396
12397         * libgcc2.c (toplevel): If inhibit_libc is defined and not
12398         building the trampoline support, declare malloc, free, and
12399         atexit.
12400         (__clear_cache): Mark arguments as potentially unused.
12401
12402         * frame.c (toplevel): If inhibit_libc is defined, declare
12403         malloc and free.
12404
12405 Tue Oct  5 12:00:32 1999  Richard Henderson  <rth@cygnus.com>
12406
12407         * flow.c (make_edge): Accept an optional 2D bitmap in which
12408         to cache edge existence.  Update all callers.
12409         (make_label_edge, make_eh_edge): Pass through the edge cache.
12410         (make_edges): Provide the cache.
12411
12412 Tue Oct  5 12:16:49 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12413
12414         * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
12415         a char*.
12416         (local_mbtowc): Change the type of variable `i' from int to size_t.
12417
12418         * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
12419         (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
12420
12421 Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
12422
12423         * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
12424         after other includes that define the appropriate types.  Include
12425         tm_p.h for getting user prototypes.
12426         * ggc-callbacks.c (toplevel): Ditto.
12427         * ggc-none.c (toplevel): Ditto.
12428         * gcc-page.c (toplevel): Ditto.
12429         * ggc-simple.c (toplevel): Ditto.
12430
12431 Mon Oct  4 16:48:16 1999  Diego Novillo <dnovillo@cygnus.com>
12432                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
12433
12434         * config/mips/mips.c (mips_move_2words): Split doubles if
12435         ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
12436
12437 Mon Oct  4 21:47:31 1999  Richard Henderson  <rth@cygnus.com>
12438
12439         * genrecog.c (struct decision_test): New.
12440         (struct decision): Remove test-related members, sort the rest by size.
12441         (IS_SPLIT): Simplify.
12442         (new_decision, new_decision_test): New.
12443         (add_to_sequence): Use them.  No special handling for args of
12444         non-MATCH codes.
12445         (maybe_both_true): Renamed from not_both_true; return sense changed.
12446         (maybe_both_true_1, maybe_both_true_2): New.  Broken out
12447         of maybe_both_true and adjusted for decision_test.
12448         (position_merit): Remove.
12449         (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
12450         (merge_accept_insn): New, broken out of merge_trees.
12451         (merge_trees): Use them.  No special case for c_test; no node
12452         splitting; use test type instead of position_merit.
12453         (factor_tests): New.
12454         (simplify_tests): New.
12455         (break_out_subroutines): Don't write code now.
12456         (find_afterward): New.
12457         (write_afterward, write_switch, write_cond): New.
12458         (write_action, is_unconditional): New.
12459         (write_node): New.  Use them.
12460         (write_tree_1): Rewrite.  Use the new functions above.
12461         (write_tree): Remove afterward processing.
12462         (write_subroutine): Simplify function variant emission.
12463         (write_subroutines): New.
12464         (same_codes, clear_codes): Remove.
12465         (same_modes, clear_modes): Remove.
12466         (write_header): New, broken out of main.
12467         (make_insn_sequence): Use new_decision and new_decision_test.
12468         (process_tree): New, broken out of main.
12469         (main): Adjust for merge_trees interface change.
12470         Don't #define operands in the output file.
12471         (record_insn_name): New, broken out of make_insn_sequence.
12472         (debug_decision_2, debug_decision_1, debug_decision_0): New.
12473         (debug_decision): New.
12474
12475 1999-10-04 21:58 -0700  Zack Weinberg  <zack@bitmover.com>
12476
12477         * resource.c (find_free_register): Mark class_str argument const.
12478         * resource.h: Update prototype to match.
12479
12480         * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
12481         * i386.md: Give all anonymous insns names.
12482
12483 Mon Oct  4 21:12:02 1999  Jeffrey A Law  (law@cygnus.com)
12484
12485         * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
12486         blocks.
12487
12488 Mon Oct  4 21:01:39 1999  Richard Henderson  <rth@cygnus.com>
12489
12490         * toplev.c (dbr_sched_time): Unconditional.
12491         (peephole2_time): New.
12492         (compile_file): Add pass numbers to all of the dump file suffixes.
12493         Dump peephole2_time.  Don't dump times for non-applicable passes.
12494         (rest_of_compilation): Add pass numbers to dump file suffixes.
12495         Conditionalize calls to the scheduler.
12496         * invoke.texi: Update.
12497
12498 Mon Oct  4 20:25:13 1999  Anthony Green  <green@cygnus.com>
12499
12500         * flow.c (make_edges): Fix insn iteration.
12501         (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
12502         (find_basic_blocks_1): Fix spelling mistake.
12503
12504 Mon Oct  4 16:56:11 1999  Richard Henderson  <rth@cygnus.com>
12505
12506         * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
12507         always have side-effects.  Use memset not bzero.
12508         (make_node): Likewise.
12509
12510 Mon Oct  4 16:22:20 1999  Mark Mitchell  <mark@codesourcery.com>
12511
12512         * stmt.c (expand_anon_union_decl): When any of the elements of the
12513         union is addressable, so is the entire union.
12514
12515 Mon Oct  4 11:38:33 1999  Richard Henderson  <rth@cygnus.com>
12516
12517         * sbitmap.c (sbitmap_ones): Don't set too many bits.
12518
12519         * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
12520         * bitmap.c (bitmap_operation): Return true iff TO changed.
12521         (bitmap_equal_p): New.
12522         (bitmap_bit_p): Tidy arithmetic.
12523         (debug_bitmap_file): Likewise.
12524
12525 Mon Oct  4 11:28:37 1999  Richard Henderson  <rth@cygnus.com>
12526
12527         * toplev.c (rest_of_compilation): Turn on cse_not_expected
12528         before cse2 instead of after.
12529
12530 Mon Oct 4 09:55:17 1999  Stan Cox  <scox@cygnus.com>
12531
12532         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
12533         register offsets.
12534
12535 Mon Oct  4 08:54:12 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
12536
12537         * cppinit.c (is_idchar initializer): Loosen tests to accept
12538         gcc 2.>6 and >2.
12539
12540 Mon Oct  4 02:31:20 1999  Mark Mitchell  <mark@codesourcery.com>
12541
12542         * mips.md: Define conditional move patterns for floating point
12543         operands and DI mode conditions.
12544
12545 Mon Oct  4 02:12:41 1999  Mark Mitchell  <mark@codesourcery.com>
12546
12547         * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
12548         always have side-effects.
12549
12550 Sun Oct  3 14:14:16 1999  Jeffrey A Law  (law@cygnus.com)
12551
12552         * mn10200.c (asm_file_start): Fix typo.
12553
12554         * cppinit.c (is_idchar initializer): Tighten tests for when
12555         to put the table into initialized memory.
12556
12557         * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
12558         not an array of rtunion.
12559         * gcc-page.c (ggc_alloc_rtvec): Similarly.
12560         * gcc-simple (ggc_free_rtvec): Similarly.
12561
12562         * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
12563         of rtunions.
12564
12565         * mbchar.h: Add missing #endif.
12566
12567         * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
12568         (FPBIT, DPBIT): Define.
12569
12570 Sun Oct  3 12:44:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12571
12572         * print-tree.c (print_node, indent_to): Remove redundant prototypes.
12573
12574         * profile.c (instrument_arcs, output_gcov_string,
12575         tablejump_entry_p): Add static prototypes.
12576         (output_gcov_string): Constify a char*.
12577
12578         * regmove.c (replacement_quality, fixup_match_2): Add static
12579         prototypes.
12580
12581         * resource.h (reg_dead_p): Add extern prototype.
12582
12583         * rtl.c (trim_filename): Add static prototype.
12584
12585         * scan-decls.c (skip_to_closing_brace): Likewise.
12586
12587         * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
12588         (expand_end_case): Initialize variable `range'.
12589         (emit_case_nodes): Remove unused prototype `rtx_fn'.
12590
12591         * varasm.c (asm_emit_uninitialised): Add static prototype.
12592         (asm_emit_uninitialised, assemble_variable): Mark parameter with
12593         ATTRIBUTE_UNUSED.
12594
12595 Sun Oct  3 12:24:52 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12596
12597         * cpplib.c (if_directive_nameo): Add static prototype.
12598
12599         * cse.c (cse_insn): Remove unused variable `p'.
12600
12601         * except.c (create_rethrow_ref, push_entry,
12602         receive_exception_label, new_eh_region_entry, find_func_region,
12603         clear_function_eh_region, process_nestinfo): Add static prototypes.
12604         (get_reg_for_handler): Hide definition.
12605         (process_nestinfo): Initialize variable `extra_handlers'.
12606
12607         * expr.h (expand_builtin_longjmp): Add extern prototype.
12608
12609         * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
12610
12611         * function.c (prepare_function_start): Likewise.
12612         (pop_function_context_from): Mark parameter `context' with
12613         ATTRIBUTE_UNUSED.
12614         (push_temp_slots_for_block, flush_addressof): Hide definition.
12615
12616         * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
12617         solve_program_flow_graph, calculate_branch_probs,
12618         function_summary, main, fancy_abort): Add prototypes.
12619
12620         * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
12621         (add_hash): Constify a char*.
12622
12623         * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
12624         ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
12625         ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
12626
12627         * integrate.c (expand_inline_function_eh_labelmap): Likewise.
12628
12629         * lists.c (free_list, zap_lists): Likewise.
12630
12631 Sun Oct  3 12:05:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12632
12633         * alias.c (nonlocal_reference_p): Add static prototype.
12634
12635         * bitmap.c (bitmap_element_allocate): Prototype args in function
12636         pointer cast.
12637
12638         * builtins.c (stabilize_va_list): Add static prototype.
12639         (expand_builtin_va_arg): Constify a char*.
12640
12641         * c-lex.c (getch, put_back, extend_token_buffer_to,
12642         read_line_number, token_getch, token_put_back): Add static
12643         prototypes.
12644
12645         * c-parse.gperf (hash, is_reserved_word): Likewise.
12646
12647         * cccp.c (is_dir_separator): Likewise.
12648
12649 Sat Oct  2 16:07:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12650
12651         * graph.h: New file to prototype functions exported by graph.c.
12652
12653         * Makefile.in (graph.o, toplev.o): Depend on graph.h.
12654
12655         * graph.c: Include graph.h.
12656
12657         * toplev.c: Likewise.  Remove redundant prototypes.
12658
12659 Sat Oct  2 11:28:33 1999  Krister Walfridsson <cato@df.lth.se>
12660
12661         * invoke.texi: Removed duplicated description for -Q.
12662
12663 Sat Oct  2 11:16:00 1999  Jim Kingdon  <http://developer.redhat.com>
12664
12665         * extend.texi: Grammar fix in __extension__ text.
12666
12667 Sat Oct  2 11:06:31 1999  Richard Henderson  <rth@cygnus.com>
12668
12669         * md.texi (define_peephole2): New section.
12670
12671 Sat Oct  2 10:57:56 1999  Jan Hubicka  <hubicka@freesoft.cz>
12672
12673         * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
12674         (mov $-1 to or peepholer): Enable for pentium when optimizing for
12675         speed.
12676
12677 Sat Oct  2 10:55:25 1999  Jan Hubicka  <hubicka@freesoft.cz>
12678
12679         * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
12680
12681 Sat Oct  2 10:53:22 1999  Jan Hubicka  <hubicka@freesoft.cz>
12682
12683         * i386.md (ffs expander): Emit Pentium friendly code for
12684         TARGET_PENTIUM.
12685
12686 Sat Oct  2 02:48:21 1999  Mark P. Mitchell  <mark@codesourcery.com>
12687
12688         * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
12689         for non-trees.
12690         (build1): Likewise.
12691
12692 Fri Oct  1 18:01:11 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12693
12694         * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
12695
12696 Fri Oct  1 12:42:53 1999  Andreas Schwab  <schwab@suse.de>
12697
12698         * config/m68k/m68k.c (use_return_insn): Return false if the pic
12699         register is in use.
12700
12701 Fri Oct  1 10:56:06 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12702
12703         * md.texi (No Constraints): Delete section.
12704         * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
12705         * final.c (final_scan_insn): We always have register constraints.
12706         * genattrtab.c: Don't include "insn-config.h".
12707         (write_attr_case): We always have register constraints.
12708         * genconfig.c (register_constraint_flag): Delete.
12709         (walk_insn_part): Don't check whether we have register constraints.
12710         (main): Don't write out "#define REGISTER_CONSTRAINTS".
12711         * genoutput.c (have_constraints): Delete.
12712         (main): Don't set it.
12713         (output_operand_data): We always have constraints.
12714         (scan_operands): Likewise.
12715         (compare_operands): Likewise.
12716         * local-alloc.c (block_alloc): We always have constraints.
12717         (requires_inout): Always compile this function.
12718         * recog.c (extract_insn): We always have constraints.
12719         (constrain_operands, reg_fits_class_p): Always compile these
12720         functions.
12721         * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
12722         fields.
12723         (struct insn_operand_data): Likewise.
12724         * regclass.c (regclass): We always have constraints.
12725         (record_reg_classes, copy_cost, record_address_regs,
12726         auto_inc_dec_reg_p): Always compile these functions.
12727         * regmove.c (regmove_optimize): We always have constraints.
12728         * reload.c (find_reloads): Likewise.
12729         * reload1.c (reload): Likewise.
12730         (reload_cse_simplify_operands): Likewise.
12731         * i860.c (output_delay_insn): Likewise.
12732
12733 Thu Sep 30 23:04:41 1999  Mark P. Mitchell  <mark@codesourcery.com>
12734
12735         * iris6.h (BUILD_VA_LIST_TYPE): Define.
12736
12737 Thu Sep 30 18:44:50 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
12738
12739         * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
12740         for the va_list record.
12741
12742 Thu Sep 30 18:34:54 1999  Jan Hubicka  <hubicka@freesoft.cz>
12743
12744         * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
12745         prologues.
12746
12747 Thu Sep 30 18:31:36 1999  Jan Hubicka  <hubicka@freesoft.cz>
12748
12749         * alias.c: Include insn-flags.h.
12750         * Makefile.in (alias.o): Update.
12751
12752 Thu Sep 30 18:21:30 1999  Jan Hubicka  <hubicka@freesoft.cz>
12753
12754         * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
12755         to LTU and GEU.  Handle more cases using sbb.
12756
12757 Thu Sep 30 18:18:39 1999  Jan Hubicka  <hubicka@freesoft.cz>
12758
12759         * i386.md (truncatexfdf splitters): Do not use subreg.
12760         (fop XFmode patterns): Fix mode in operand testing.
12761
12762 Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
12763
12764         * jump.c (jump_optimize_1): Amend last change to test only the
12765         form of the operand, not the insn.
12766
12767         * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
12768         not register_operand to determine when B may need preloading.
12769
12770 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
12771
12772         * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
12773         (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
12774         (call-value patterns): Move to end of file.
12775         (*): Remove mode from label_ref in (pc) context.
12776         (movstrqi): Use memory not general_operand for BLKmode operands.
12777         (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
12778         to register_operand operands.
12779         (peep2 patterns): Convert from commented-out peephole patterns.
12780
12781 Thu Sep 30 14:39:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12782
12783         * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
12784         to BUILT_IN_INIT_DWARF_REG_SIZES.
12785         * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
12786         Renamed from BUILT_IN_DWARF_REG_SIZE; call
12787         expand_builtin_init_dwarf_reg_sizes.
12788         * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
12789         with __builtin_init_dwarf_reg_size_table.
12790         * dwarf2out.c (struct reg_size_range): Delete.
12791         (expand_builtin_init_dwarf_reg_sizes): New function.
12792         (expand_builtin_dwarf_reg_size): Delete.
12793         * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
12794         (expand_builtin_dwarf_reg_size): Don't declare.
12795         * libgcc2.c (dwarf_reg_size_table_initialized): New.
12796         (dwarf_reg_size_table): New.
12797         (init_reg_size_table): New function.
12798         (copy_reg): Use dwarf_reg_size_table.
12799         (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
12800         before use.
12801
12802 Thu Sep 30 05:40:34 1999  Richard Earnshaw <rearnsha@arm.com>
12803
12804         * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
12805         Correctly build argument list to constructor and destructor functions.
12806
12807 Thu Sep 30 00:13:27 1999  Dirk Zoller  <duz@rtsffm.com>
12808
12809         * c-tree.h (warn_float_equal): Declare.
12810         * c-decl.c (warn_float_equal): Define.
12811         (c_decode_option): Recognize -W[no-]float-equal.
12812         * c-typeck.c (build_binary_op): Conditionally warn
12813         about equality tests of floating point types.
12814         * toplev.c (documented_lan_options): Add -W[no-]float-equal.
12815         * invoke.texi: Add docs for -Wfloat-equal warning.
12816
12817 Wed Sep 29 23:43:39 1999  Jeffrey A Law  (law@cygnus.com)
12818
12819         * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
12820         generating RTL directly.
12821         * mips.h (INIT_TARGET_OPTABS): Likewise.
12822         * mn10200.h (INIT_TARGET_OPTABS): Likewise.
12823
12824         * expr.h (init_mov_optab): Delete declaration
12825
12826         * h8300.c (WORD_REG_USED): Update to avoid useless register
12827         saves in interrupt functions and functions which never return.
12828
12829         * cse.c (struct set): Delete inner_dest_loc field.
12830         (cse_insn): Remove assignments to inner_dest_loc field.
12831
12832 Wed Sep 29 16:06:20 1999  Richard Henderson  <rth@cygnus.com>
12833
12834         * ggc-page.c: Don't include <unistd.h> etc taken care of
12835         by "system.h".  Include <sys/mman.h> afterward.
12836
12837 Wed Sep 29 16:05:18 1999  Richard Henderson  <rth@cygnus.com>
12838
12839         * rs6000.c (rs6000_encode_section_info): If ggc_p, use
12840         ggc_alloc_string.
12841
12842 Tue Sep 28 16:45:40 1999  David Edelsohn  <edelsohn@gnu.org>
12843
12844         * xcoffout.c (xcoffout_declare_function): Add documentation.
12845         * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
12846         TARGET_64BIT.  Compare constant to -1, not bit pattern.
12847         (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
12848         (expand_block_move): Allow 8 DImode loads for PowerPC64.  Fix
12849         gen_movsi typos.
12850
12851 Tue Sep 28 16:43:14 1999  Nick Clifton  <nickc@cygnus.com>
12852
12853         * dwarf2out.c (add_abstract_origin_attribute): Abort if
12854         origin_die is NULL.
12855         (gen_inlined_enumeration_type_die): Do not abort if the type has
12856         not been writeen out.
12857         (gen_inlined_structure_type_die): Do not abort if the type has
12858         not been writeen out.
12859         (gen_inlined_union_type_die): Do not abort if the type has
12860         not been writeen out.
12861         (gen_tagged_type_instantiation_die): Do not abort if the type
12862         has not been written out.
12863
12864 Tue Sep 28 14:33:47 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12865
12866         * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
12867         call it.
12868         * reg-stack.c (straighten_stack): Copy hard reg set with
12869         COPY_HARD_REG_SET.
12870
12871 Tue Sep 28 01:11:05 1999  Richard Henderson  <rth@cygnus.com>
12872
12873         * builtins.c (stabilize_va_list): Stabilize array type va_list
12874         to a pointer type, not the base record type.
12875         (expand_builtin_va_copy): Dereference the pointers explicitly;
12876         use the correct size for the copy.
12877
12878         * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
12879         (rs6000_va_arg): Likewise.
12880
12881 Mon Sep 27 23:27:21 1999  Richard Henderson  <rth@cygnus.com>
12882
12883         * rtl.h (struct rtx_def): Move gc_mark to align mode field.
12884
12885 Mon Sep 27 23:20:29 1999  Mark Mitchell  <mark@codesourcery.com>
12886
12887         * tree.h (struct tree_decl): Use `bclass', not `class', in name of
12888         field.
12889         (DECL_BUILT_IN_CLASS): Adjust accordingly.
12890
12891 Mon Sep 27 23:03:16 1999  Richard Henderson  <rth@cygnus.com>
12892
12893         * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
12894         (init_ggc): Use it instead of a constant.
12895         (ggc_collect): Bound allocated_last_gc by it.
12896
12897 Mon Sep 27 19:06:04 1999  Jeffrey A Law  (law@cygnus.com)
12898
12899         * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
12900         with va_list.
12901
12902 Mon Sep 27 19:40:17 CEST 1999   Marc Espie <espie@cvs.openbsd.org>
12903
12904         * configure.in (mips*el-*-openbsd*):  Don't duplicate default settings.
12905         (mips*-*-openbsd*):  Let big endian configuration be a fragment.
12906         * configure:  Regen.
12907         * config/mips/openbsd.h:  New, OpenBSD little endian target.
12908         * config/mips/openbsd-be.h:  New, OpenBSD big endian target fragment.
12909         * config/mips/xm-openbsd.h:  New, OpenBSD host.
12910
12911 Mon Sep 27 10:28:48 1999  Andreas Schwab  <schwab@suse.de>
12912
12913         * config/m68k/m68k.c (output_function_prologue,
12914         output_function_epilogue): Use
12915         current_function_uses_pic_offset_table instead of regs_ever_live
12916         to decide whether to save/restore pic register.
12917         (legitimize_pic_address): Don't modify regs_ever_live any more.
12918
12919 Sun Sep 26 10:55:36 1999  Mark Mitchell  <mark@codesourcery.com>
12920
12921         * function.h (struct function): Add x_dont_save_pending_sizes_p.
12922         * stor-layout.c (variable_size): Don't add sizes to the pending
12923         sizes list if x_dont_save_pending_sizes_p is set.
12924
12925 Sun Sep 26 16:36:52 1999  Robert Lipe  (robertlipe@usa.net)
12926
12927         * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
12928         for symbolic_operand().
12929         * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
12930
12931 Sun Sep 26 07:37:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12932
12933         * combine.c (gen_rtx_combine): Add missing call to va_end().
12934
12935         * final.c (asm_fprintf): Likewise.
12936
12937         * genattrtab.c (attr_rtx): Likewise.
12938
12939 Sat Sep 25 13:11:07 1999  Jeffrey A Law  (law@cygnus.com)
12940
12941         * cse.c: Update comments.
12942         (cse_insn): When converting a conditional/computed jump into
12943         an unconditional jump, always make sure a BARRIER immediately
12944         follows the converted jump.  Do not delete unreachable code.
12945         (cse_basic_block): Do not delete unreachable code.
12946         * toplev.c (rest_of_compilation): Move call to
12947         delete_trivially_dead_insns after the conditional call to
12948         jump_optimize.
12949
12950 Sat Sep 25 09:03:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12951
12952         * collect2.c (make_temp_file): Don't prototype.
12953
12954         * gcc.c (make_temp_file): Likewise.
12955
12956         * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
12957
12958 Sat Sep 25 13:42:15 1999  Nick Clifton  <nickc@cygnus.com>
12959
12960         * varasm.c (asm_emit_uninitialised): New function: Generate
12961         the assembler statements necessary to declare an uninitialised
12962         variable.
12963         (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
12964         variable.
12965         (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
12966         (ASM_EMIT_COMMON): New macro: Emit an entry in the common
12967         section.
12968         (assemble_variable): Use asm_emit_uninitialised to emit an
12969         uninitialised variable.
12970
12971 Fri Sep 24 17:10:56 1999  Nick Clifton  <nickc@cygnus.com>
12972
12973         * combine.c (simplify_comparison): Cope with downshifting a 32 bit
12974         constant on a 64 bit host.  Patch supplied by Geoffrey Keating
12975         <geoffk@cygnus.com>.
12976
12977 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
12978
12979         * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
12980         * c-common.h (builtin_function): Don't declare.
12981
12982         * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
12983         DECL_BUILT_IN.
12984         (pushdecl): Likewise.
12985         (finish_decl): Likewise.
12986         (builtin_function): New arg CLASS.  Arg FUNCTION_CODE now of type
12987         int.  All callers changed.
12988         Set the builtin's DECL_BUILT_IN_CLASS.
12989         * tree.h (enum built_in_class): New.
12990         (enum built_in_function): Delete NOT_BUILT_IN.
12991         (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
12992         in a union.
12993         (DECL_SET_FUNCTION_CODE): Likewise.
12994         (DECL_BUILT_IN_CLASS): New macro.
12995         (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
12996         (struct tree_decl): Split builtin function code field into a
12997         struct.
12998         (builtin_function): Declare.
12999
13000 Fri Sep 24 01:45:05 1999  Mark Mitchell  <mark@codesourcery.com>
13001
13002         * optabs.c (init_traps): Fix typo in last change.
13003
13004 Fri Sep 24 01:10:11 1999  Mark Mitchell  <mark@codesourcery.com>
13005
13006         * toplev.c (rest_of_decl_compilation): Update comment.
13007
13008 Fri Sep 24 11:57:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
13009
13010         * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
13011         in .sbss if appropriate.
13012         (EXTRA_SECTION_FUNCTIONS): Add sbss.
13013         (SBSS_SECTION_ASM_OP): New macro.
13014         * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
13015         (EXTRA_SECTIONS): Add in_sbss.
13016         * config/mips/mips.h: Prototype sbss_section.
13017
13018 Thu Sep 23 18:18:55 1999  Mark Mitchell  <mark@codesourcery.com>
13019
13020         * stmt.c (expand_start_bindings): Don't allow cleanup instructions
13021         to disappear.
13022
13023 Thu Sep 23 18:07:01 1999  Mark Mitchell  <mark@codesourcery.com>
13024
13025         * optabs.c (init_traps): Register trap_rtx as a GC root.
13026
13027 Thu Sep 23 17:41:47 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13028
13029         * config/mips/mips.c (function_arg_pass_by_reference): Define
13030         unconditionally, since it's called unconditionally.
13031
13032 Thu Sep 23 13:40:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
13033
13034         * toplev.c (documented_lang_options): Add -fshort-wchar.
13035         * c-decl.c (c_decode_option): Likewise.
13036         (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
13037         for wchar_t.
13038         * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
13039         * gcc.c (default_compilers): If -fshort-wchar,
13040         override __WCHAR_TYPE__.
13041         * tm.texi (C Dialect Options): Add -fshort-wchar.
13042
13043         * dwarf2out.c (output_aranges): Use DW_AT_location to find the
13044         symbol for a variable.
13045
13046         * cpplib.h (CPP_PREPROCESSED): New macro.
13047         * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
13048         we're seeing this input for a second time.
13049
13050 Thu Sep 23 12:54:49 1999  Alex Samuel  <samuel@codesourcery.com>
13051
13052         * emit-rtl.c (init_emit_once): Initialize modes first.
13053
13054 Sun Sep 19 01:23:23 1999  Alex Samuel  <samuel@codesourcery.com>
13055
13056         * config/i386/i386.c (pic_label_name): Change to char pointer.
13057         (global_offset_table): New variable.
13058         (load_pic_register): Fill global_offset_table if it hasn't
13059         already been done.  Allocate pic_label_name dynamically.
13060         * ggc.h (empty_string): New variable.
13061         * ggc-simple.c (empty_string): Likewise.
13062         (init_ggc): Allocate empty_string and add as root.
13063         * stmt.c (digit_strings): New variable.
13064         (init_stmt): Add last_block_end_note as root.  Allocate and
13065         initialize digit_strings.
13066         (expand_asm_operands): Use empty_string instead of string
13067         constant.  Use digit_strings instead of string constants.
13068         * profile.c (init_arc_profiler): Allocate string with
13069         ggc_alloc_string instead of xmalloc.
13070         (output_func_start_profiler): Likewise.
13071         * c-typeck.c (digest_init): Check if init is error_mark_node.
13072
13073 Thu Sep 23 12:59:14 1999  Alex Samuel  <samuel@codesourcery.com>
13074                           Richard Henderson  <rth@cygnus.com>
13075
13076         * ggc-page.c: New file.
13077         * Makefile.in (ggc-page.o): New.
13078
13079 Thu Sep 23 13:55:21 1999  Jeffrey A Law  (law@cygnus.com)
13080
13081         * invoke.texi: Document -fdelete-null-pointer-checks
13082         * toplev.c (flag_delete_null_pointer_checks): New.
13083         (f_options): Add entry for -fdelete-null-pointer-checks.
13084         (rest_of_compilation): Conditionalize null pointer check
13085         elimination on flag_delete_null_pointer_checks.
13086         (main): If -O2 or greater, enable -fdelete-null-pointer-checks
13087
13088 1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>
13089
13090         * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
13091         copyright notice and special exception to GPL.
13092
13093 Thu Sep 23 13:40:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13094
13095         * abi64.h (mips_function_value): Add prototype arguments.
13096
13097         * mips-protos.h: New file with mips prototypes.
13098
13099         * mips.c: Include "tm_p.h".
13100         (mktemp, lookup_name): Add prototype arguments.
13101         (extern_list, string_constant, mips_fill_delay_slot,
13102         mips_output_external, mips_output_external_libcall,
13103         mips_output_filename, mips_declare_object, function_prologue,
13104         mips_expand_prologue, function_epilogue, mips16_constant,
13105         build_mips16_function_stub, mips_output_conditional_branch):
13106         Constify a char*.
13107         (mips_va_start): Remove unused variable `u'.
13108         (mips_va_arg): Cast value to unsigned when comparing against one.
13109         (trace): Delete.
13110         (save_restore_insns, mips_expand_prologue): Add missing arg in
13111         call to `large_int'.
13112
13113         * mips.h: Move prototypes to mips-protos.h.
13114         (data_section, memory_address_p, rdata_section,
13115         readonly_data_section, simple_epilogue_p, text_section): Delete
13116         prototypes delcared elsewhere.
13117         (mips_epilogue_delay_slots, print_options): Delete unused decls.
13118         (trace): Delete.
13119         (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
13120
13121         * mips.md: Delete extra args in call to `mips_move_2words'.
13122
13123         * xm-iris6.h (alloca): Add prototype argument.
13124
13125         * genpeep.c: Include "tm_p.h" in generated output file.
13126
13127 Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13128
13129         * basic-block.h (find_edge_index): Change parameters.
13130         * flow.c (verify_edge_list): Pass basic_block parameters to
13131         find_edge_index instead of integers.
13132
13133 Thu Sep 23 15:54:12 1999  Nick Clifton  <nickc@cygnus.com>
13134
13135         * combine.c (simplify_comparison): Use an unsigned shift to adjust
13136         the constant.
13137
13138 Thu Sep 23 08:46:21 1999  Guy Harris  <guy@netapp.com>
13139
13140         * gcc.1: Fix a formatting error.
13141
13142 Wed Sep 22 16:10:21 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13143
13144         * install.texi (Configurations): Remove pyramid. Add fr30, i686,
13145         i786, mn10200, mn10300, pdp11, v850.
13146
13147 Thu Sep 23 07:37:13 1999  Dan Nicolaescu  <dann@ics.uci.edu>
13148
13149         * libgcc2.c (num_digits): Add prototype with
13150         __attribute__((const)).
13151         (__terminate): Add prototype.
13152
13153 Thu Sep 23 05:32:06 1999  Richard Henderson  <rth@cygnus.com>
13154
13155         * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
13156
13157         * alpha/alpha.c (print_operand): Fix type of `code'.
13158         (alpha_output_filename): Constify.
13159         * alpha/alpha.h: Move all function declarations ...
13160         * alpha/alpha-protos.h: ... here.  New file.
13161         * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
13162         (SECTION_FUNCTION_TEMPLATE): Likewise.
13163
13164 Thu Sep 23 11:15:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13165
13166         * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
13167         * expr.c (expand_expr): Likewise.
13168         (do_jump): Likewise.
13169         (do_store_flag): Pass ccp_store_flag to can_compare_p.
13170         * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
13171         accessor macros.
13172         (enum can_compare_purpose): New.
13173         (can_compare_p): Adjust prototype.
13174         (prepare_cmp_insn, prepare_operand): Declare.
13175         * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
13176         * optabs.c (cmp_available_p): Deleted.
13177         (expand_abs): Pass ccp_jump to can_compare_p.
13178         (can_compare_p): New arg PURPOSE.  Check for combined optabs.
13179         (prepare_cmp_insn): No longer static.  Add arg PURPOSE.
13180         Call can_compare_p rather than cmp_available_p.
13181         (prepare_operand): No longer static.
13182         (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
13183         (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
13184         (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
13185         sequence to use emit_cmp_and_jump_insns.
13186         (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
13187
13188 Wed Sep 22 17:58:01 1999  Stan Cox  <scox@cygnus.com>
13189
13190         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
13191         register offsets; let LEGITIMIZE_ADDRESS load it into a register.
13192         (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
13193         (plus (reg) (const_int 0))
13194         * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
13195
13196 Wed Sep 22 17:55:31 1999  David Edelsohn  <edelsohn@gnu.org>
13197
13198         * rs6000.c (expand_block_move): DImode loads and stores require
13199         word-aligned displacements.  Increment address registers with
13200         adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.
13201
13202 Wed Sep 22 17:35:55 1999  Michael Meissner  <meissner@cygnus.com>
13203
13204         * dwarf2out.c (base_type_die): Use the name __unknown__ if there
13205         is no name for the base type, rather than segfault.  If we are
13206         writing out a complex integer type, use DW_ATE_lo_user.
13207
13208         * expr.c (emit_move_insn_1): If we are copying a complex that fits
13209         in one word or less (complex char, complex short, or on 64 bit
13210         systems complex float) to/from a hard register, copy it through
13211         memory instead of dying in gen_{real,imag}part.  If we have a
13212         short complex type, prevent inlining since it allocates stack
13213         memory.
13214
13215         * tree.c (build_complex_type): If we are writing dwarf2 output,
13216         generate a name for complex integer types.
13217
13218 Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13219
13220         * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
13221         * flow.c (remove_edge): Remove extra whitespace.
13222         (remove_fake_edges): Fix comment.
13223         (add_noreturn_fake_exit_edges): Use the correct name.
13224
13225 Wed Sep 22 16:12:40 BST 1999  Nathan Sidwell  <nathan@acm.org>
13226
13227         * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
13228         (mostlyclean): Depend on INTL_MOSTLYCLEAN.
13229         (clean): Depend on INTL_CLEAN.
13230         (maintainer-clean): Adjust.
13231
13232 Wed Sep 22 10:18:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13233
13234         * configure.in (AC_PREREQ): Bump to 2.13.
13235         (AC_C_STRINGIZE): Call this instead of using a custom macro.
13236
13237         * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
13238
13239         * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
13240
13241         * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
13242
13243         * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
13244         (HAVE_STRINGIZE): Define.
13245
13246 Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
13247
13248         * c-parse.in: save and restore warn_pointer_arith on __extension__
13249         along with pedantic.
13250         (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
13251         Set the type of extension to itype rather than $<itype>1 kludge.
13252         * extend.texi (Alternate Keywords): Adjust documentation.
13253         * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
13254
13255 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
13256
13257         * pa.c, pa.h, pa.md: Support multiple assembler dialects in
13258         most assembler templates.
13259
13260         * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
13261         FP loads and stores.
13262         (following_call): Always return zero for the PA8000.
13263         * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
13264         FP loads and stores.
13265         (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
13266
13267         * pa.h (BRANCH_COST): Define.
13268
13269         * pa.md (return, return_internal): Use bve for PA2.0.
13270
13271         * pa.md (fused multiply): Add variants which reduce height for the
13272         fused multiply, but which still generate 2 insns.
13273         (fnegabs): Similarly.
13274
13275         * pa.md (subsi3): Turn into an expander.  Create two anonymous
13276         patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
13277         * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
13278
13279         * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
13280         for TARGET_PA_20.
13281         (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
13282         code generation.
13283         (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
13284         (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
13285
13286         * regclass.c (init_regs): Add "top_of_stack" as a garbage
13287         collection root.
13288
13289         * flow.c (record_active_eh_regions): Terminate loop after finding
13290         the last insn in the last basic block.
13291
13292 Wed Sep 22 20:25:00 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13293
13294         * config/c4x/c4x.md: Delete parallel instruction peepholes.
13295
13296 Wed Sep 22 19:59:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13297
13298         * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
13299
13300 Wed Sep 22 19:56:25 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13301
13302         * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
13303         splitting to not use output template.
13304
13305 Wed Sep 22 19:50:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
13306
13307         * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
13308         * config/c4x/c4x.c (c4x_va_start): New function.
13309
13310 Tue Sep 21 18:40:01 1999  Jan Hubicka  <hubicka@freesoft.cz>
13311
13312         * genrecog.c (not_both_true): Handle correctly cases when called for
13313         tests with different positions in the insn.
13314
13315 Tue Sep 21 18:29:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13316
13317         * machmode.h (HOST_PTR_PRINTF): Move from here ...
13318
13319         * system.h (HOST_PTR_PRINTF): ... to here.
13320
13321         * mips-tfile.c: Don't include machmode.h.
13322
13323         * Makefile.in (MACHMODE_H): New variable.  Update to use it.
13324         (mips-tfile.o): Don't depend on machmode.h.
13325
13326 Tue Sep 21 18:27:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13327
13328         * haifa-sched.c (sched_analyze): Rename local variable `region' to
13329         avoid conflicts with typedef struct `region' at the top level scope.
13330
13331 Tue Sep 21 14:14:50 1999  Richard Henderson  <rth@cygnus.com>
13332
13333         * basic-block.h (basic_block): Add eh_beg, eh_end.
13334         * flow.c (entry_exit_blocks): Update.
13335         (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
13336         Call new functions.
13337         (find_basic_blocks_1): Don't record eh_list at each bb.  Use
13338         lists.c functions to allocate insn lists.
13339         (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
13340         edge creation ...
13341         (make_eh_edge): ... here.  New.
13342         (move_stray_eh_region_notes): New.
13343         (record_active_eh_regions): New.
13344         (delete_unreachable_blocks): Split out block merging ...
13345         (try_merge_blocks): ... here.  New.
13346         (merge_blocks_move_predecessor_nojumps): Remove edge arg.
13347         Dump debugging data.
13348         (merge_blocks_move_successor_nojumps): Likewise.
13349         (merge_blocks): Use eh_beg+eh_end to validate block movement.
13350
13351 Tue Sep 21 11:15:03 1999  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
13352
13353         * extend.texi (Bound member functions): Document unbound pmf
13354         conversion.
13355
13356 Tue Sep 21 14:55:11 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13357
13358         * flow.c (split_edge): Handle insertion on a fallthrough edge which
13359         has the EXIT_BLOCK as a dest.
13360
13361 Tue Sep 21 14:51:23 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13362
13363         * flow.c (remove_edge): New function to remove an edge from the
13364         flow graph.
13365         (remove_fake_successors): New function to remove fake successor edges.
13366         (remove_fake_edges): New function to remove all fake edges from the
13367         flow graph.
13368         (add_fake_exit_edges): New function to add fake edges from all blocks
13369         with no successors to the exit block.
13370         * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
13371         prototypes for new functions.
13372
13373 Tue Sep 21 14:49:53 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
13374
13375         * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
13376         Use Pmode to determine whether to output .dword or .word.
13377
13378 Tue Sep 21 11:04:34 1999  Alex Samuel  <samuel@codesourcery.com>
13379
13380         * tree.c (built_in_filename): New variable.
13381         (BUILT_IN_FILENAME): New macro.
13382         (init_tree_codes): Allocate built_in_filename.
13383         (make_node): Use built_in_filename instead of string constant.
13384
13385 Tue Sep 21 14:13:27 1999  Nick Clifton  <nickc@cygnus.com>
13386
13387         * configure.in: Add fr30 target.
13388         * configure: Regenerate.
13389         * config/fr30: New directory.
13390         * config/fr30/crti.asm: New file.
13391         * config/fr30/fr30.c: New file.
13392         * config/fr30/crtn.asm: New file.
13393         * config/fr30/fr30.h: New file.
13394         * config/fr30/fr30.md: New file.
13395         * config/fr30/lib1funcs.asm: New file.
13396         * config/fr30/t-fr30: New file.
13397         * config/fr30/xm-fr30.h: New file.
13398
13399 Tue Sep 21 06:45:31 1999  Jeffrey A Law  (law@cygnus.com)
13400
13401         * flow.c (merge_blocks_move_successor_nojumps): Delete the
13402         BARRIER at the end of the successor, not the BARRIER before
13403         the successor.
13404
13405         * pa.c (pa_add_gc_roots): Fix thinko in last change.
13406
13407 Tue Sep 21 05:29:17 1999  Richard Earnshaw (rearnsha@arm.com)
13408
13409         * stmt.c (any_pending_cleanups): Don't crash when
13410         current_function->stmt is unset.
13411
13412 Tue Sep 21 00:59:49 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13413
13414         * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
13415         other initializations that may use it for relative offsets.
13416
13417 Mon Sep 20 21:43:25 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13418
13419         * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
13420         (ASM_SPEC): Moved from sol2dbg.h.  Added work-around for gas.
13421         * config/i386/sol2dbg.h: Removed.
13422         * config/i386/sol2gas.h: New file, to enable gas work-around.
13423         * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
13424         Don't use sol2dbg.h.
13425         * configure: Rebuilt.
13426
13427 Mon Sep 20 13:29:41 1999  Mark Mitchell  <mark@codesourcery.com>
13428
13429         * invoke.texi (-fthis-is-variable): Remove documentation.
13430
13431 Mon Sep 20 12:59:16 1999  Richard Henderson  <rth@cygnus.com>
13432
13433         * basic-block.h (compute_bb_for_insn): Declare.
13434         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
13435         to use; set size of basic_block_for_insn directly.
13436         (find_basic_blocks): Update.
13437
13438 Mon Sep 20 15:11:54 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13439
13440         * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
13441
13442 Mon Sep 20 14:56:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13443
13444         * crtstuff.c (ON_EXIT): Delete empty macro definition.
13445         (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
13446
13447 Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
13448
13449         * c-decl.c (c_decode_option): Extend comment.
13450
13451 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
13452
13453         * toplev.c (progname): Make 'const char *'
13454         (flag_print_mem): Move out of main.
13455         (version_flag): Move out of main.
13456         (filename): Move out of main.
13457         (debug_args): Remove g prefix from options.
13458         (documented_lang_options): Remove cpplib specific options.
13459         (display_help): Add g prefix to debug options.
13460         (check_lang_option): Delete this function.
13461         (decode_d_option): New function: Decode -d... option.
13462         (decode_f_option): New function: Decode -f... option.
13463         (decode_W_option): New function: Decode -W... option.
13464         (decode_g_option): New function: Decode -g... option.
13465         (independent_decode_option): New function: Decode a language
13466         independent command line option.
13467         (main): Invoke lang_decode_option and then
13468         independent_decode_option on each command line option in
13469         turn.
13470
13471 Mon Sep 20 05:41:36 1999  Jeffrey A Law  (law@cygnus.com)
13472
13473         Revert this change.  Gavin's patch to operand_equal_p is a better fix.
13474          * fold-const.c (fold_range_test): Do not try to fold the range
13475          test if the rhs or lhs has side effects.
13476
13477         * basic-block.h (compute_flow_dominators): Declare.
13478
13479         * gcse.c (alloc_code_hoist_mem): New function.
13480         (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
13481         (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
13482         (hoist_code, one_code_hoisting_pass): Likewise.
13483         (gcse_main): If optimizing for size, then hoist expressions
13484         computed in multiple dominated basic blocks.
13485
13486         * gcse.c (invalid_nonnull_info): New function.
13487         (delete_null_pointer_checks): Likewise.
13488         * rtl.h (delete_null_pointer_checks): Declare.
13489         * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
13490
13491         * flow.c (merge_blocks_move_predecessor_nojumps): New function.
13492         (merge-blocks_move_successor_nojumps): Likewise.
13493         (merge_blocks): Allow merging of some blocks, even if it requires
13494         physical movement of the blocks, but not if it requires new jumps.
13495
13496         * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
13497         Callers and prototype changed.
13498         * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
13499
13500 Mon Sep 20 06:56:32 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13501
13502         * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
13503         -YP when both -p and -pg are present.  From i386/sol2.h.
13504
13505 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13506
13507         * Makefile.in (distclean): Delete tm_p.h.
13508         * configure.in: Create a new file, "tm_p.h", from a list in
13509         "tm_p_file". For ix86 systems, set up "tm_p_file" to include
13510         "i386/i386-protos.h".
13511
13512         * alias.c: Include "tm_p.h".
13513         * c-typeck.c: Likewise.
13514         * calls.c: Likewise.
13515         * cse.c: Likewise.
13516         * emit-rtl.c: Likewise.
13517         * explow.c: Likewise.
13518         * expmed.c: Likewise.
13519         * expr.c: Likewise.
13520         * final.c: Likewise.
13521         * flow.c: Likewise.
13522         * fold-const.c: Likewise.
13523         * function.c: Likewise.
13524         * gcse.c: Likewise.
13525         * global.c: Likewise.
13526         * haifa-sched.c: Likewise.
13527         * integrate.c: Likewise.
13528         * jump.c: Likewise.
13529         * local-alloc.c: Likewise.
13530         * loop.c: Likewise.
13531         * optabs.c: Likewise.
13532         * recog.c: Likewise.
13533         * reg-stack.c: Likewise.
13534         * regclass.c: Likewise.
13535         * regmove.c: Likewise.
13536         * reload.c: Likewise.
13537         * reload1.c: Likewise.
13538         * reorg.c: Likewise.
13539         * resource.c: Likewise.
13540         * stmt.c: Likewise.
13541         * stor-layout.c: Likewise.
13542         * toplev.c: Likewise.
13543         * tree.c: Likewise.
13544         * unroll.c: Likewise.
13545         * genattrtab.c (main): Make generated file include "tm_p.h".
13546         * genemit.c (main): Likewise.
13547         * genoutput.c (main): Likewise.
13548         * genrecog.c (main): Likewise.
13549
13550         * i386.h: Delete all prototypes.
13551         * i386.c: Include "tm_p.h".
13552         (ix86_attr_length_default): Call constant_call_address_operand
13553         with correct number of arguments.
13554         * i386-protos.h: New file.
13555         * i386.md (unnamed patterns): Call constant_call_address_operand
13556         with correct number of arguments.
13557         (exception_receiver): Call load_pic_register with correct number
13558         of arguments.
13559
13560 Sun Sep 19 14:18:39 1999  Richard Henderson  <rth@cygnus.com>
13561
13562         * c-pragma.c (mark_align_stack): Dereference the void* properly.
13563
13564 Sun Sep 19 09:03:40 1999  Mark Mitchell  <mark@codesourcery.com>
13565
13566         * rtl.h (insns_safe_to_move_p): New function.
13567         * loop.c (find_and_verify_loops): Use it.
13568         * rtlanal.c (insns_safe_to_move_p): Define it.
13569
13570 Sun Sep 19 02:54:33 1999  Richard Henderson  <rth@cygnus.com>
13571
13572         * c-pragma.c: Include ggc.h.
13573         * Makefile.in (c-pragma.o): Update.
13574
13575 Sat Sep 18 16:01:18 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13576
13577         * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
13578         (LIB_SPEC): Likewise.
13579         (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
13580         Reindent -YP/-p/-pg.
13581         Copied from config/sparc/sol2.h.
13582
13583 Sat Sep 18 11:52:43 1999  Richard Henderson  <rth@cygnus.com>
13584
13585         * c-pragma.c (mark_align_stack): New.
13586         (init_pragma): New.
13587         * c-pragma.h (init_pragma): Declare it.
13588         * c-lex.c (init_parse): Call it.
13589
13590 Sat Sep 18 15:20:38 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13591
13592         * configure.in: Pick up thread library on Solaris/x86 just
13593         like on Solaris/sparc.
13594         * configure: Rebuilt.
13595
13596 Sat Sep 18 11:15:58 1999  Alex Samuel  <samuel@codesourcery.com>
13597
13598         * rtl.h (global_rtx_index): New enum.
13599         (global_rtl): Change to array of rtx.
13600         (pc_rtx, cc0_rtx): Redefine accordingly.
13601         (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
13602         (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
13603         (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
13604         (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
13605         (const_int_rtx): Change to array of rtx.
13606         (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
13607         accordingly.
13608         * emit-rtl.c (global_rtl): Change to array of rtx.
13609         (const_int_rtx): Change to aray of rtx.
13610         (gen_rtx_CONST_INT): Redefine accordingly.
13611         (init_emit_once): Allocate and initialize global_rtl.  Likewise
13612         for const_int_rtx.  Add both as GC roots.
13613         * genattrtab.c (global_rtl): Update declaration.
13614
13615 1999-09-17  Ulrich Drepper  <drepper@cygnus.com>
13616
13617         * Makefile (USER_H): Add iso646.h back.
13618
13619 Sat Sep 18 01:07:21 1999  Jeffrey A Law  (law@cygnus.com)
13620
13621         * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
13622         zapping the LOG_LINKS of sched_before_next_call.
13623
13624         * pa.h (INSN_SETS_ARE_DELAYED): Delete.
13625         * pa.c (insn_refs_are_delayed): Renamed from
13626         insn_sets_and_refs_are_delayed.
13627
13628 Fri Sep 17 15:19:01 1999  Mark Mitchell  <mark@codesourcery.com>
13629
13630         * functiion.h (struct function): Add x_whole_function_mode_p.
13631         (retrofit_block): Declare.
13632         * function.c (retrofit_block): New function.
13633         (identify_blocks): Add assertions.  Allow an incomplete set of
13634         block notes if we're still generating code for the function.
13635         * integrate.c: Include loop.h.
13636         (expand_inline_function): Call find_loop_tree_blocks to map block
13637         notes to blocks when in whole-function mode.  Use retrofit_block
13638         to insert new BLOCKs for the inlined function, rather than
13639         insert_block.
13640         * stmt.c (expand_fixup): Likewise.  Don't use pushlevel/polevel.
13641         * Makefile.in (integrate.o): Depend on loop.h.
13642
13643 Fri Sep 17 15:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
13644
13645         * tree.h (warn_about_unused_variables): Declare.
13646         * stmt.c (warn_about_unused_variables): New function, split out
13647         from ...
13648         (expand_end_bindings): Here.
13649
13650 Fri Sep 17 15:07:37 1999  Mark Mitchell  <mark@codesourcery.com>
13651
13652         * stmt.c (preserve_subexpressions_p): Don't crash when
13653         current_function->stmt is unset.
13654
13655 Fri Sep 17 15:03:16 1999  Mark Mitchell  <mark@codesourcery.com>
13656
13657         * stmt.c (expand_start_bindings): Allow callers to pass a flag
13658         indicating that no NOTE_INSN_BLOCK_BEG note is required.
13659         (expand_start_target_temps): Use it.
13660         * except.c (expand_eh_region_start_for_decl): Likewise.
13661         * expr.c (expand_expr): Likewise.
13662
13663 Fri Sep 17 15:05:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
13664
13665         * fold-const.c (operand_equal_p): Pay attention to side effects.
13666
13667 Fri Sep 17 11:14:17 1999  Jason Merrill  <jason@yorick.cygnus.com>
13668
13669         * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
13670         * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
13671
13672         * tlink.c (scan_linker_output): Look for keywords before accepting
13673         a mangled name in quotes.
13674
13675 Thu Sep 16 16:47:08 1999  Richard Henderson  <rth@cygnus.com>
13676
13677         * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
13678         * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
13679
13680 Thu Sep 16 16:35:41 1999  Richard Henderson  <rth@cygnus.com>
13681
13682         * alpha.md: Revert Thu Nov 26 change that came in through the
13683         last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
13684         Avoid earlyclobber when possible.
13685
13686 Thu Sep 16 18:44:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13687
13688         * libgcc2.c (__do_global_ctors): Call atexit with one arg.
13689
13690         * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
13691         Define HAVE_ON_EXIT.
13692
13693 Thu Sep 16 18:06:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13694
13695         * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
13696         CTYPE_CONV in all ctype macros.
13697
13698         * cccp.c (initialize_char_syntax): Use uppercase ctype macro
13699         from system.h.
13700
13701         * cexp.y (initialize_random_junk): Likewise.
13702
13703         * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
13704
13705         * i370.c (handle_pragma): Likewise.
13706
13707         * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
13708
13709         * v850.c (override_options): Likewise.
13710
13711         * doprint.c (_doprnt): Likewise.
13712
13713         * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
13714         Likewise.
13715
13716         * fixinc/server.c (load_data): Likewise.
13717
13718         * fold-const.c (real_hex_to_f): Likewise.
13719
13720         * genattr.c (write_upcase, gen_attr): Likewise.
13721
13722         * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
13723         write_upcase): Likewise.
13724
13725         * genemit.c (print_code): Likewise.
13726
13727         * genopinit.c (gen_insn): Likewise.
13728
13729         * genpeep.c (print_code): Likewise.
13730
13731         * genrecog.c (print_code): Likewise.
13732
13733         * optabs.c (init_libfuncs): Likewise.
13734
13735 Thu Sep 16 14:03:32 1999  Mark Mitchell  <mark@codesourcery.com>
13736
13737         * haifa-sched.c (sched_analyze): Keep the list of notes organized
13738         in pairs.
13739         (reemit_notes): Likewise.
13740
13741 Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
13742
13743         * ggc.h (ggc_root): Move to ggc-common.c.
13744         (roots): Remove.
13745         (ggc_mark_rtx, ggc_mark_tree): Change to macro.
13746         (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
13747         (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
13748         (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
13749         * ggc-common.c (ggc_root): Move from ggc.h.
13750         (roots): Declare, static.
13751         (ggc_mark_rtx, ggc_mark_tree): Renamed to...
13752         (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
13753         null or check/set mark bit.
13754         (ggc_mark_roots): New.
13755         * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
13756
13757 Thu Sep 16 11:37:32 1999  Richard Henderson  <rth@cygnus.com>
13758
13759         * m32r.c: Include toplev.h.
13760         (*): Add ATTRIBUTE_UNUSED as needed to arguments.
13761         (gen_compare): Rename swap_p to must_swap to match uses.
13762         Add default abort case.
13763         (m32r_output_function_epilogue): Remove unused variables.
13764         (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
13765         * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
13766         define to empty parameter list.  Update all uses.
13767         (predicate decls): Use enum machine_mode not int.
13768         * m32r.md (movsi): Call abort, not fatal_insn.
13769         (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
13770
13771 1999-09-14  Andrew Haley  <aph@cygnus.com>
13772
13773         * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
13774         use $0 instead of 0.
13775
13776 Thu Sep 16 10:53:36 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13777
13778         * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
13779         computation out of loop over hard regs.
13780
13781 Wed Sep 15 21:37:06 1999  Mark Mitchell  <mark@codesourcery.com>
13782
13783         * function.c (identify_blocks): Don't shadow a variable in an
13784         outer scope.
13785         * integrate.c (integrate_decl_tree): Don't use pushlevel,
13786         pushdecl, or poplevel to build up the new BLOCK tree.
13787         (expand_inline_function): Likewise.
13788         (integrate_parm_decls): Likewise.
13789
13790 Wed Sep 15 21:20:38 1999  Mark Mitchell  <mark@codesourcery.com>
13791
13792         * c-typeck.c (qualify_type): Merge qualifiers from both types.
13793
13794 1999-09-15  Brad Lucier  <lucier@math.purdue.edu>
13795
13796         * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
13797         * invoke.texi: Document this change.
13798
13799 Wed Sep 15 17:56:00 1999  Richard Henderson  <rth@cygnus.com>
13800
13801         * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
13802         Free the struct.
13803         (mark_emit_status): Renamed from mark_emit_state.
13804         * except.c (mark_eh_status): Renamed from mark_eh_state.
13805         Check not null before marking.
13806         (free_eh_status): New.
13807         * expr.c (mark_expr_status, free_expr_status): New.
13808         * function.c (free_machine_status): New.
13809         (free_after_parsing): New.
13810         (free_after_compilation): Move bits to free_after_parsing; call
13811         free_eh_status, free_expr_status; zero the marked members of the
13812         function state.
13813         (prepare_function_start): No can_garbage_collect.
13814         Call init_eh_for_function.
13815         (expand_dummy_function_end): Free up current_function state.
13816         (mark_function_status): Renamed from mark_function_state.
13817         (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
13818         * function.h (struct function): No can_garbage_collect.
13819         (free_machine_status, free_after_parsing): Declare.
13820         (free_eh_status, free_expr_status): Declare.
13821         * ggc.h (mark_expr_status): Declare.
13822         * stmt.c (free_stmt_status): Free the struct.
13823         (mark_stmt_status): Renamed from mark_stmt_state.
13824         (init_stmt): Don't call init_eh.
13825         (init_stmt_for_function): Don't call init_eh_for_function.
13826         * toplev.c (compile_file): Call init_eh.
13827         (rest_of_compilation): Free basic block info before ggc_collect.
13828         Call free_after_parsing; conditionally call free_after_compilation.
13829         * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
13830         Check not null before marking.
13831         (free_varasm_status): Don't check DECL_DEFER_OUTPUT.  Free the struct.
13832
13833 Wed Sep 15 17:53:16 1999  Richard Henderson  <rth@cygnus.com>
13834
13835         * c-lex.c (yylex): Initialize warn.
13836
13837 Wed Sep 15 18:35:38 1999  Jeffrey A Law  (law@cygnus.com)
13838
13839         * pa.c (emit_move_sequence): Properly set the mode of the scratch
13840         register when performing secondary reloads for the SAR register.
13841
13842 Wed Sep 15 15:51:52 1999  Mark Mitchell  <mark@codesourcery.com>
13843
13844         * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
13845         (NOTE_BLOCK): New macro.
13846         (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
13847         * function.h (identify_blocks): Change prototype.
13848         * function.c (identify_blocks): Simplify.
13849         (reorder_blocks): Likewise.
13850         * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
13851         NOTE_INSN_BLOCK_{BEG,END}.
13852         * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
13853         the list of saved notes if the note isn't a
13854         NOTE_INSN_BLOCK_{BEG,END}.
13855         (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
13856         NOTE_BLOCK_NUMBER.
13857         (reemit_notes): Adjust recreation of notes to reflect new saved
13858         note structure.
13859         * print-rtl.c (print_rtx): Print the address of the BLOCK when
13860         printing a block note.
13861         * stmt.c (block_vector): Remove.
13862         (find_loop_tree_blocks): Simplify.
13863         (unroll_block_trees): Likewise.
13864         * tree.h (reorder_block): Change prototype.
13865
13866 Wed Sep 15 14:39:35 1999  Jason Merrill  <jason@yorick.cygnus.com>
13867
13868         * gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
13869         * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
13870         (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
13871         (__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
13872         (atexit, exit): Simplify.
13873         * tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
13874         * config/lots: Remove defns of HAVE_ATEXIT.
13875
13876 Wed Sep 15 10:25:12 1999  Mark Mitchell  <mark@codesourcery.com>
13877
13878         * calls.c (precompute_arguments): Fix typo in comment.
13879         * expr.c (preexpand_calls): Don't preexpand the cleanup in a
13880         TARGET_EXPR.
13881
13882 Wed Sep 15 09:59:59 1999  Mark Mitchell  <mark@codesourcery.com>
13883
13884         * dsp16xx.c (override_options): Fix typos in GC root registration.
13885
13886 Wed Sep 15 15:23:28 1999  Philip Blundell  <pb@nexus.co.uk>
13887
13888         * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
13889         from config/svr4.h.
13890         (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
13891         (FUNCTION_PROFILER): Redefine appropriately for Linux.
13892         (CC1_SPEC): Likewise.
13893
13894 Wed Sep 15 10:09:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13895
13896         * genattr.c (main): Add extern prototype.  Call return, not exit.
13897         * genattrtab.c (main): Likewise.
13898         * gencheck.c (main): Likewise.
13899         * gencodes.c (main): Likewise.
13900         * genconfig.c (main): Likewise.
13901         * genemit.c (main): Likewise.
13902         * genextract.c (main): Likewise.
13903         * genflags.c (main): Likewise.
13904         * gengenrtl.c (main): Likewise.
13905         * genopinit.c (main): Likewise.
13906         * genoutput.c (main): Likewise.
13907         * genpeep.c (main): Likewise.
13908         * genrecog.c (main): Likewise.
13909
13910         * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
13911         * genattrtab.c (get_insn_name): Likewise.
13912         * gencodes.c (get_insn_name): Likewise.
13913         * genconfig.c (get_insn_name): Likewise.
13914         * genemit.c (get_insn_name): Likewise.
13915         * genextract.c (get_insn_name): Likewise.
13916         * genflags.c (get_insn_name): Likewise.
13917         * genopinit.c (get_insn_name): Likewise.
13918         * genpeep.c (get_insn_name): Likewise.
13919
13920         * gencheck.c (usage): Add static prototype.
13921         * genextract.c (print_path): Constify a char*.
13922         * genopinit.c (optabs): Likewise.
13923         * genoutput.c (operand_data, data, output_predicate_decls,
13924         compare_operands): Likewise.
13925         * genrecog.c (write_tree): Add default case in switch.
13926
13927 Wed Sep 15 09:59:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13928
13929         * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
13930
13931         * print-rtl.c (get_insn_name): Remove prototype.
13932
13933         * toplev.h (progname): Declare const.
13934
13935         * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
13936         init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
13937         dump_sched_info, dump_local_alloc, regset_release_memory,
13938         print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
13939         error_with_file_and_line, error_with_decl, error_for_asm, error,
13940         fatal, warning_with_file_and_line, warning_with_decl, warning,
13941         pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
13942         Remove redundant prototypes.
13943
13944         (notice, check_lang_option, report_file_and_line, vnotice,
13945         mark_file_stack): Add static prototype.
13946         (set_fatal_function): Add prototype.
13947         (vnotice, report_file_and_line, set_fatal_function,
13948         check_lang_option): Constify a char*.
13949         (main): Prototype.  Call return, not exit.
13950
13951 Wed Sep 15 09:50:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13952
13953         * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
13954
13955         * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
13956
13957         * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
13958
13959         * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
13960
13961 Wed Sep 15 11:04:43 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
13962
13963         * function.c (assign_parms): Delete arg SECOND_TIME.  Don't test it,
13964         behave as if it's zero in all cases.
13965         (expand_function_start): Adjust call to assign_parms.
13966         * tree.h (assign_parms): Adjust prototype.
13967         * objc/objc-act.c (hack_method_prototype): Adjust call to
13968         assign_parms.
13969
13970 Tue Sep 14 21:47:06 1999  Jeffrey A Law  (law@cygnus.com)
13971
13972         * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
13973         arg_pointer_rtx fixed if the argument pointer register is
13974         not fixed.
13975         (NONZERO_BASE_PLUS_P): Likewise.
13976
13977 Tue Sep 14 20:26:02 1999  Richard Henderson  <rth@cygnus.com>
13978
13979         * rtl.def (match_insn, match_insn2): Remove match_insn; rename
13980         match_insn2 to match_insn.
13981         * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
13982
13983 Tue Sep 14 20:10:29 1999  Richard Henderson  <rth@cygnus.com>
13984
13985         * Makefile.in (USER_H): Remove va-foo.h.
13986
13987         * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
13988         va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
13989         va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
13990         va-spur.h,va-v850.h}: Remove.
13991
13992 Tue Sep 14 19:43:16 1999  Richard Henderson  <rth@cygnus.com>
13993
13994         * sparc/sparc.md (eligible_for_return_delay): New attribute.
13995         (in_return_delay): Use it instead of match_insn.
13996
13997 Tue Sep 14 23:05:37 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
13998
13999         * config/alpha/va_list.h (va-alpha.h): Do not include.
14000         (__gnuc_va_list): Typedef as in varargs.h.
14001
14002 Tue Sep 14 18:14:03 1999  Richard Henderson  <rth@cygnus.com>
14003
14004         * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
14005         DECL_LIVE_RANGE_RTL.
14006
14007 Tue Sep 14 16:47:08 1999  Mark Mitchell  <mark@codesourcery.com>
14008
14009         * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
14010         not NOTE_BLOCK_NUMBER.
14011         (expand_eh_region_end): Likewise.
14012         (find_exception_handler_labels): Likewise.
14013         (scan_region): Likewise.
14014         (exception_optimize): Likewise.
14015         (update_rethrow_references): Likewise.
14016         (set_insn_eh_region): Likewise.
14017         * final.c (final_scan_insn): Likewise.
14018         * flow.c (make_edges): Likewise.
14019         * integrate.c (expand_inline_function): Likewise.
14020         * print-rtl.c (print_rtx): Likewise.
14021
14022 Tue Sep 14 16:30:16 1999  Richard Henderson  <rth@cygnus.com>
14023
14024         * ginclude/stdarg.h, ginclude/varargs.h: Implement in
14025         terms of builtin functions and types.
14026
14027         * mips.c (mips_build_va_list): New.
14028         (mips_va_start, mips_va_arg): New.
14029         * mips.h (BUILD_VA_LIST_TYPE): New.
14030         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
14031
14032         * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
14033         (sh_build_va_list, sh_va_start, sh_va_arg): New.
14034         * sh.h (BUILD_VA_LIST_TYPE): New.
14035         (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
14036
14037 Tue Sep 14 16:20:24 1999  Richard Henderson  <rth@cygnus.com>
14038
14039         * recog.h (struct recog_data): Make dup_num, operand_address_p,
14040         n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
14041         (struct insn_data): Likewise with n_operands, n_dups,
14042         n_alternatives, output_format.
14043         * regclass.c (scan_one_insn): Cast n_operands to int before
14044         arithmetic inside comparison.
14045
14046 Tue Sep 14 15:13:36 1999  Richard Henderson  <rth@cygnus.com>
14047
14048         * toplev.c (compile_function): Unconditionally emit nop.
14049
14050 Tue Sep 14 14:41:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14051
14052         * haifa-sched.c (actual_hazard): Move declaration of variable
14053         `this_cost' into the scope where it is used.
14054
14055 Tue Sep 14 14:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14056
14057         * c-pragma.c (handle_pragma_token): Wrap variables `name' and
14058         `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
14059         HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
14060
14061         * genrecog.c (make_insn_sequence): Call memset, not bzero.
14062
14063         * jump.c (find_insert_position): Don't declare or define unless
14064         !HAVE_conditional_arithmetic.
14065         (returnjump_p_1, delete_prior_computation): Add static prototypes.
14066
14067         * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
14068
14069         * recog.c (offsettable_address_p): Prototype function pointer.
14070         (preprocess_constraints): Call memset, not bzero.
14071
14072         * tree.c (tree_node_kind_names): Constify a char*.  Make static.
14073         (gcc_obstack_init): Don't declare.
14074         (fix_sizetype): Add static prototype.
14075         (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
14076         (tree_cons): Call memset, not bzero.
14077
14078         * varasm.c (remove_from_pending_weak_list): Wrap declaration and
14079         definition in macro ASM_WEAKEN_LABEL.
14080         (mark_const_hash_entry): Add static prototype.
14081
14082 Tue Sep 14 12:22:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14083
14084         * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
14085
14086         * unroll.c (find_common_reg_term, subtract_reg_term,
14087         loop_find_equiv_value): Add static prototypes.
14088         (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
14089         (copy_loop_body): Remove unreachable break statement.
14090
14091         * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
14092
14093         * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
14094
14095 Tue Sep 14 15:28:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14096
14097         Undo some changes from the gcc2 merge:
14098         * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
14099         * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
14100         pointers.
14101
14102         Undo this change:
14103         Sat Oct  3 07:20:28 1998  Stephen L Moshier  <moshier@world.std.com>
14104         * emit-rtl.c (gen_lowpart_common): Disable optimization of
14105         initialized float-int union if the value is a NaN.
14106
14107 Tue Sep 14 04:03:44 1999  Mumit Khan  <khan@xraylith.wisc.edu>
14108
14109         * gthr-win32.h: New file.
14110
14111         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
14112         shared as a valid attribute.
14113         * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
14114         * extend.texi: Document `shared' variable attribute.
14115
14116 Tue Sep 14 04:01:46 1999  Loren Rittle  <ljrittle@acm.org>
14117
14118         * configure.in: Handle --enable-threads on FreeBSD.
14119         * configure: Rebuit.
14120
14121 Tue Sep 14 03:58:44 1999  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
14122
14123         * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
14124         thread support.
14125         * configure: Rebuilt.
14126
14127 Tue Sep 14 03:47:23 1999  Joel Sherrill <joel@OARcorp.com>
14128                           Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
14129                           Rosimildo DaSilva <rdasilva@connecttel.com>
14130
14131         * configure.in (m68k-*-rtemscoff*): Added.
14132         * configure.in (mips64orion-*-rtems*): Converted to ELF.
14133         * configure.in (sparc-*-rtemsaout*): Added as alias for old
14134         sparc-rtems configuration.
14135         * configure.in (sparc-*-rtemself*): Added.
14136         * configure.in (sparc-*-rtems*): Now ELF not a.out.
14137         * config/i386/rtems.h: Added comment.
14138         * config/sparc/rtemself.h: New file.
14139
14140         * configure.in (m68k-rtemself): Added.
14141         * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
14142         and DWARF_DEBUGGING_INFO.
14143         * config/m68k/crti.s: New file.
14144         * config/m68k/crtn.s: New file.
14145         * config/m68k/t-crtstuff: New file.
14146         * config/m68k/rtemself.h: New file.
14147
14148         * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
14149         global ctor/dtor and C++ exception handling.
14150         * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
14151         for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
14152         ENDFILE_SPEC.
14153         * config/i386/t-rtems-i386: New File.
14154
14155 Tue Sep 14 09:47:41 1999  Andreas Schwab  <schwab@suse.de>
14156
14157         * stmt.c (expand_end_case): Return right away if the case stack is
14158         empty.
14159
14160 Tue Sep 14 01:47:19 1999  Jeffrey A Law  (law@cygnus.com)
14161
14162         * Makefile.in (version.c): Remove rule incorrectly brought in from
14163         the gcc2 merge.
14164
14165 Tue Sep 14 01:42:27 1999  Marc Espie <espie@cvs.openbsd.org>
14166
14167         * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
14168         * msdos/top.sed:  Take into account a prepended $(SHELL) to
14169         move-if-change.
14170         * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.
14171
14172         * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
14173
14174 Tue Sep 14 01:38:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
14175
14176         * regmove.c (fixup_match_1): Don't change an unchanging register.
14177         (stable_but_for_p): Renamed to:
14178         (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
14179         Changed all callers.
14180
14181 Tue Sep 14 01:33:15 1999  Andreas Schwab  <schwab@suse.de>
14182
14183         * loop.c (strength_reduce): Don't call reg_used_between_p if the
14184         insn from BL2 is after the insn from BL.
14185
14186 Mon Sep 13 21:06:01 1999  Richard Henderson  <rth@cygnus.com>
14187
14188         * recog.h (INSN_OUTPUT_FORMAT_*): New.
14189         (struct insn_data): Merge `template' and `outfun' into `output'.
14190         Add `output_format'.
14191         * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
14192         (struct data): Remove `outfun'; add `output_format'.
14193         (name_for_index): Remove declaration.
14194         (output_insn_data): Handle output formats.
14195         (process_template): Emit the bare array for @.
14196         (gen_expand, gen_split): Set output_format to NONE.
14197         * output.h (get_insn_template): Declare.
14198         * final.c (get_insn_template): New.
14199         (final_scan_insn): Use it.
14200         * toplev.c (compile_file): Likewise.
14201
14202         * c4x/c4x.c (c4x_process_after_reload): Likewise.
14203         * i860/i860.c (output_delayed_branch): Likewise.
14204         (output_delay_insn): Likewise.
14205
14206 1999-09-13  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
14207
14208         * rtl.c (obstack_alloc_rtx): Removed.
14209
14210 1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>
14211
14212         * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
14213
14214 Mon Sep 13 15:21:46 1999  Richard Henderson  <rth@cygnus.com>
14215
14216         * i386.c (call_insn_operand): Reject const_int.
14217         (expander_call_insn_operand): Use call_insn_operand.
14218
14219 Mon Sep 13 17:44:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14220
14221         * gcc.c (getrusage): Wrap prototype arguments in PROTO().
14222
14223 1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>
14224
14225         * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
14226         Use DImode operation.
14227
14228 1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>
14229
14230         * gcc.c: Include sys/resource.h.
14231         (report_times): New flag.
14232         (execute):  If report_times is set, calculate and report the
14233         CPU time consumed by each subprocess.
14234
14235         (rus, prus): New globals.
14236         (option_map): Add --time.
14237         (display_help): Document -time.
14238         (process_command): Set report_times if -time is given.
14239         Turn off -pipe if -time is given.
14240
14241         * invoke.texi: Document new option -time.
14242
14243         * configure.in: Check for getrusage.  Check if we have to
14244         prototype getrusage.
14245         * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
14246         * configure: Regenerate.
14247         * config.in: Regenerate.
14248
14249 Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>
14250
14251         * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
14252         fields.
14253
14254 Mon Sep 13 10:01:33 1999  Nick Clifton  <nickc@cygnus.com>
14255
14256         * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
14257         appropriate) if FINE_GRAINED_LIBRARIES is not defined.
14258         (nan): Return _thenan_sf or _thenan_df as appropriate.
14259         (L_thenan_sf): Define _thenan_sf.
14260         (L_thenan_df): Define _thenan_df.
14261
14262         * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
14263         (DPBIT_FUNCS): Add _thenan_df.
14264
14265 Mon Sep 13 09:38:53 1999  Andreas Schwab  <schwab@suse.de>
14266
14267         * tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
14268         TYPE_SIZE_UNIT.
14269
14270 Sun Sep 12 23:28:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14271
14272         * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
14273
14274         * gcc.h: New file.
14275         (lang_specific_driver): Don't take a function pointer parameter.
14276         All callers changed.
14277
14278         * gcc.c: Include gcc.h.
14279         (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
14280         lang_specific_extra_outfiles, fatal): Don't declare.
14281         (multilib_defaults_raw): Constify.
14282         (read_specs): Call memset, rather than bzero.
14283         (main): Call return, not exit.
14284         (lookup_compiler): Call memcpy, not bcopy.
14285         (fatal): Make extern.
14286
14287         * cppspec.c: Include gcc.h.
14288         (lang_specific_driver): Initialize variable `quote'.  Constify a
14289         char*.  All calls to the function pointer parameter now
14290         explicitly call `fatal'.
14291
14292         * gccspec.c (lang_specific_driver): Include gcc.h.
14293
14294 Sun Sep 12 19:52:10 1999  Richard Earnshaw <rearnsha@arm.com>
14295
14296         * arm.c (note_invalid_constants): Use recog_data.operand_type
14297         for recog_op_type.
14298
14299 Sun Sep 12 15:53:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14300
14301         * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
14302         Declare.
14303
14304         * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
14305         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
14306         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
14307         reload_secondary_in_reload, reload_secondary_out_reload,
14308         reload_secondary_in_icode, reload_secondary_out_icode,
14309         reload_reg_rtx, reload_when_needed): Delete declarations.
14310         (struct reload): New structure.
14311         (rld): Declare new array.
14312         * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
14313         reload_reg_class, reload_inmode, reload_outmode, reload_optional,
14314         reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
14315         reload_secondary_in_reload, reload_secondary_out_reload,
14316         reload_secondary_in_icode, reload_secondary_out_icode,
14317         reload_reg_rtx, reload_when_needed): Delete definitions.
14318         (rld): New array.
14319         (whole file): Replace uses of the deleted arrays with uses of rld.
14320         * reload1.c (whole file): Replace uses of the deleted arrays with
14321         uses of rld.
14322         (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
14323         explicit loops, not with bcopy.
14324
14325 Sun Sep 12 05:00:24 1999  Richard Henderson  <rth@cygnus.com>
14326
14327         * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
14328         insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
14329         insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
14330         insn_name): Delete and consolidate into new structures.
14331         (insn_operand_predicate_fn): New.
14332         (insn_output_fn): New.
14333         (insn_gen_fn): New.
14334         (struct insn_operand_data): New.
14335         (struct insn_data): New.
14336         (insn_data): New.
14337         (OUT_FCN): Update for insn_data change.
14338         * builtins.c (expand_builtin_strlen): Likewise.
14339         (expand_builtin_memcmp): Likewise.
14340         * combine.c (make_extraction, simplify_comparison): Likewise.
14341         * cse.c (canon_reg, cse_insn): Likewise.
14342         * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
14343         * expmed.c (store_bit_field, extract_bit_field): Likewise.
14344         (emit_store_flag): Likewise.
14345         * expr.c (convert_move, emit_block_move): Likewise.
14346         (clear_storage, emit_push_insn, expand_increment): Likewise.
14347         (do_store_flag): Likewise.
14348         * expr.h (GEN_FCN): Likewise.
14349         (insn_gen_function): Die.
14350         * final.c (final_scan_insn): Update for insn_data change.
14351         (output_asm_name): Likewise.
14352         * function.c (fixup_var_refs_1): Likewise.
14353         * loop.c (check_dbra_loop): Likewise.
14354         * optabs.c (expand_binop, expand_twoval_binop): Likewise.
14355         (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
14356         (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
14357         (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
14358         * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
14359         * regmove.c (gen_add3_insn): Likewise.
14360         * reload.c (push_secondary_reload, combine_reloads): Likewise.
14361         (find_reloads, find_reloads_address_1): Likewise.
14362         (debug_reload_to_stream): Likewise.
14363         * reload1.c (emit_reload_insns, gen_reload): Likewise.
14364         * stmt.c (expand_end_case): Likewise.
14365         * toplev.c (compile_file): Likewise.
14366
14367         * c4x/c4x.c (c4x_process_after_reload): Likewise.
14368         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
14369
14370         * print-rtl.c (insn_name_ptr): Remove declaration.
14371         (get_insn_name): Declare.
14372         (print_rtx): Use it.
14373         * genoutput.c (insn_name_ptr): Remove.
14374         (next_operand_number): New.
14375         (struct operand_data): New.
14376         (null_operand, odata, odata_end): New.
14377         (struct data): Use struct operand_data.
14378         (idata, idata_end): Renamed from insn_data and end_of_insn_data.
14379         (get_insn_name): Renamed from name_for_index.
14380         (output_prologue): Define NO_MD_PROTOTYPES.
14381         (output_predicate_decls): Break out from output_epilogue.
14382         Iterate over the operands list.
14383         (output_operand_data): Break out from output_epilogue.  Emit
14384         just the operands list.
14385         (output_insn_data): Break out from output_epilogue.  Emit just
14386         the insn data.
14387         (output_epilogue): Remove.
14388         (output_get_insn_name): New.
14389         (constraints, op_n_alternatives, predicates, address_p): Die.
14390         (modes, strict_low, seen): Die.
14391         (scan_operands): Take new param `d' instead of writing to
14392         seven global variables.
14393         (compare_operands): New.
14394         (place_operands): New.
14395         (validate_insn_alternatives): Update for struct data change.
14396         (gen_insn): Don't zero or copy 7 global arrays.  Update for
14397         scan_operands; call place_operands.
14398         (gen_peephole, gen_expand, gen_split): Likewise.
14399         (main): Update for new output routines.
14400
14401         * genattr.c (insn_name_ptr): Remove.
14402         (get_insn_name): New function.
14403         * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
14404         * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
14405         * genrecog.c: Likewise.
14406
14407         * alpha.md (adddi3): Make `pattern' array static.
14408
14409 Sun Sep 12 22:05:21 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14410
14411         * config/c4x/c4x.h (c4x_rpts_cycles_string,
14412         c4x_cpu_version_string): Constify char *.
14413         * config/c4x/c4x.c (c4x_rpts_cycles_string,
14414         c4x_cpu_version_string): Likewise.
14415
14416 Sat Sep 11 23:28:33 1999  Richard Henderson  <rth@cygnus.com>
14417
14418         * tree.c (save_tree_status): Revert 10 Sep change.
14419         (restore_tree_status): Likewise.  Call obstack_free with NULL
14420         before freeing the obstack proper.
14421
14422 Sat Sep 11 23:23:46 1999  Richard Henderson  <rth@cygnus.com>
14423
14424         * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
14425
14426         * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
14427         surrounding context.
14428
14429 Sat Sep 11 19:52:43 1999  Mark Mitchell  <mark@codesourcery.com>
14430
14431         * tree.c (type_hash_canon): Put all types in the hash-table, when
14432         GC'ing.
14433
14434 Sat Sep 11 18:37:04 1999  Richard Henderson  <rth@cygnus.com>
14435
14436         * recog.h (struct recog_data, recog_data): New.
14437         (recog_foo variables): Kill.
14438         * recog.c (recog_operand, recog_operand_loc): Kill.
14439         (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
14440         (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
14441         (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
14442         (recog_data): Define.
14443         (extract_insn): Update all recog_foo references to use recog_data.
14444         (preprocess_constraints, constrain_operands): Likewise.
14445         * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
14446         * genattrtab.c (main): Likewise.
14447         * genextract.c (main): Likewise.
14448         * genoutput.c: Likewise.
14449         * genrecog.c (write_subroutine, main): Likewise.
14450         * local-alloc.c (block_alloc): Likewise.
14451         * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
14452         * regclass.c (scan_one_insn, record_reg_classes): Likewise.
14453         * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
14454         * reload.c (find_reloads, find_reloads_toplev): Likewise.
14455         * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
14456         (reload_cse_simplify_operands): Likewise.
14457
14458         * arc/arc.c (arc_final_prescan_insn): Likewise.
14459         * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
14460         * h8300/h8300.c (notice_update_cc): Likewise.
14461         * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
14462         * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
14463         * mn10200/mn10200.c (notice_update_cc): Likewise.
14464         * mn10300/mn10300.c (notice_update_cc): Likewise.
14465         * romp/romp.c (update_cc): Likewise.
14466         * sparc/sparc.c (check_pic): Likewise.
14467         * v850/v850.c (notice_update_cc): Likewise.
14468
14469         * genemit.c (main): Don't declare recog_operand.
14470
14471 Sat Sep 11 12:41:55 1999  Alex Samuel  <samuel@codesourcery.com>
14472
14473         * ggc.h (rtvec_def): Forward declare.
14474         (tree_node): Likewise.
14475         (ggc_root): Define.
14476         (roots): Declare.
14477         (ggc_set_mark_rtx): Add prototype.
14478         (ggc_set_mark_rtvec): Likewise.
14479         (ggc_set_mark_tree): Likewise.
14480         * ggc-simple.c (ggc_root): Don't define.
14481         (roots): Don't declare.
14482         (ggc_mark_rtx): Remove.
14483         (ggc_mark_rtvec): Likewise.
14484         (ggc_mark_tree): Likewise.
14485         (ggc_mark_varray): Likewise.
14486         (ggc_mark_tree_hash_table_entry): Likewise.
14487         (ggc_mark_tree_hash_table): Likewise.
14488         (ggc_set_mart_rtx): New function.
14489         (ggc_set_mark_rtvec): Likewise.
14490         (ggc_set_mark_tree): Likewise.
14491         (ggc_add_root): Remove.
14492         (ggc_add_rtx_root): Likewise.
14493         (ggc_remove_tree_root): Likewise.
14494         (ggc_add_string_root): Likewise.
14495         (ggc_add_tree_varray_root): Likewise.
14496         (ggc_add_tree_hash_table_root): Likewise.
14497         (ggc_del_root): Likewise.
14498         (ggc_mark_rtx_ptr): Likewise.
14499         (ggc_mark_tree_ptr): Likewise.
14500         (ggc_mark_string_ptr): Likewise.
14501         (ggc_mark_tree_varray_ptr): Likewise.
14502         (ggc_mark_tree_hash_table_ptr): Likewise.
14503         * ggc-common.c: New file.
14504         * Makefile.in (OBJS): Add ggc-common.o.
14505         (ggc-common.o): List dependencies.
14506
14507 1999-09-10 22:37 -0700  Zack Weinberg  <zack@bitmover.com>
14508
14509         * cppalloc.c (xstrdup): Use memcpy.
14510         * cpperror.c (cpp_print_containing_files): Don't use
14511         cpp_notice.
14512         * cpplib.c (conditional_skip): Set temp->lineno.
14513         (do_endif): Make error message less obscure.
14514         (if_directive_name): New function.
14515         (cpp_get_token [case EOF]): Unwind the if stack and generate
14516         error messages for each unterminated conditional in this file.
14517         (parse_string):  Do not behave differently if -traditional.
14518
14519 Fri Sep 10 14:04:07 1999  Richard Henderson  <rth@cygnus.com>
14520
14521         * builtins.c (expand_builtin_va_arg): Cope with an array-type
14522         va_list decomposing to pointer-type.
14523         * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
14524         (rs6000_va_arg): Likewise.
14525
14526 Fri Sep 10 13:21:21 1999  Jim Wilson  <wilson@cygnus.com>
14527
14528         * except.c (start_dynamic_handler): Compute size using
14529         STACK_SAVEAREA_MODE.
14530
14531 Fri Sep 10 16:01:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14532
14533         * protoize.c: Remove various __STDC__ and POSIX hacks.  Don't
14534         include directory headers.  Don't define strrchr.  Don't provide
14535         my_* replacement functions.  Prefer PTR over `pointer_type'.
14536         Don't prototype system functions.  Don't redefine getopt.
14537
14538         (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
14539         safe_read, safe_write, save_pointers, restore_pointers,
14540         is_id_char, in_system_include_dir, directory_specified_p,
14541         file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
14542         find_corresponding_lparen, referenced_file_is_newer,
14543         save_def_or_dec, munge_compile_params, gen_aux_info_file,
14544         process_aux_info_file, identify_lineno, check_source,
14545         seek_to_line, forward_to_next_token_char, output_bytes,
14546         output_string, output_up_to, other_variable_style_function,
14547         find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
14548         do_processing, is_syscalls_file, rename_c_file, find_extern_def,
14549         find_static_definition, connect_defs_and_decs, add_local_decl,
14550         add_global_decls, needs_to_be_converted, visit_each_hash_node,
14551         add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
14552         edit_fn_declaration, edit_formals_lists, edit_fn_definition,
14553         scan_for_missed_items, edit_file, string_list_cons): Add static
14554         prototypes.
14555         (standard_exec_prefix, target_machine, target_version,
14556         default_syscalls_dir, string_list, string_list_cons, find_file,
14557         do_cleaning): Constify a char*.
14558         (safe_read, safe_write): Use PTR, not a char*.
14559         (is_id_char): Take an int, not a char.
14560         (main): Add prototype.  Call return, not exit.
14561
14562 Fri Sep 10 16:48:26 1999  Andrew Haley  <aph@cygnus.com>
14563
14564         * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
14565         when comparing types.
14566
14567 Fri Sep 10 08:43:32 1999  Richard Henderson  <rth@cygnus.com>
14568
14569         * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
14570         (strength_reduce): Release the varrays from the no-bivs early exit.
14571
14572         * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
14573         the loop over the registers.
14574
14575         * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
14576         for a new obstack.
14577         (restore_tree_status): Check that instead when freeing the obstack.
14578
14579 Wed Sep  8 16:12:04 1999  Andrew Haley  <aph@cygnus.com>
14580
14581         * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
14582         as pointers.
14583
14584 Fri Sep 10 11:58:55 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14585
14586         * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall.  Fix some
14587         operand size modifiers.
14588
14589 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14590
14591         * c-common.c (c_common_nodes_and_builtins): Don't build
14592         va_list_type_node.
14593         * c-common.h (enum c_tree_index and related accesor macros): Remove
14594         everything now declared in tree.h.
14595         * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
14596         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
14597         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
14598         (error_mark_node, void_type_node, char_type_node, integer_type_node,
14599         unsigned_type_node, ptr_type_node, va_list_type_node,
14600         integer_zero_node, null_pointer_node, integer_one_node): Delete.
14601         (init_decl_processing): Call build_common_tree_nodes and
14602         build_common_tree_nodes_2 instead of building their nodes here.
14603         Don't add roots for these nodes.
14604         * stor-layout.c (size_zero_node, size_one_node): Delete.
14605         (set_sizetype): Make a new node for bitsizetype each time.
14606         * tree.c (global_trees): New variable.
14607         (init_obstacks): Add a gc root for it.
14608         (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
14609         LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
14610         DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
14611         (build_common_tree_nodes): New function.
14612         (fix_sizetype): New function.
14613         (build_common_tree_nodes_2): New function.
14614         * tree.h (enum tree_index): New.
14615         (global_trees): Declare.
14616         Add accessor macros for all nodes now moved to global_trees.
14617         Delete their declarations.
14618
14619 Thu Sep  9 20:15:46 1999  Richard Henderson  <rth@cygnus.com>
14620
14621         * c-decl.c (finish_function): When processing a nested function,
14622         push and pop GC context around rest_of_compilation.
14623
14624 Thu Sep  9 16:42:06 1999  Richard Henderson  <rth@cygnus.com>
14625
14626         * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
14627         Default ix86_arch to PROCESSOR_I386.
14628         * i386.h (CC1_CPU_SPEC): Don't add -march=foo.  Remove -mno-foo.
14629         (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
14630         (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
14631         (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
14632         __tune_foo__ if no -mcpu.  Make -mcpu=bar define __tune_bar__.
14633         (EXTRA_SPECS): Remove deleted specs.
14634
14635 Thu Sep  9 16:03:06 1999  Richard Henderson  <rth@cygnus.com>
14636
14637         * function.c (assign_stack_local_1): Allocate from
14638         function->x_frame_offset, not frame_offset.
14639
14640 Thu Sep  9 14:36:31 1999  Mark Mitchell  <mark@codesourcery.com>
14641
14642         * ggc.h (lang_cleanup_tree): Remove.
14643         * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
14644         * ggc-callbacks.c (lang_cleanup_tree): Remove.
14645
14646         * c-decl.c (finish_struct): Use ggc_alloc to allocate
14647         TYPE_LANG_SPECIFIC when garbage collecting.
14648         (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
14649         (lang_cleanup_tree): Remove.
14650
14651 Thu Sep  9 14:23:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
14652
14653         * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
14654         * crtstuff.c: Not here.
14655         * dwarf2out.c: Or here.
14656         * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
14657         info.
14658
14659 Thu Sep  9 09:40:58 1999  Mark Mitchell  <mark@codesourcery.com>
14660
14661         * function.h (free_after_compilation): Remove decl parameter.
14662         (free_varasm_status0: Likewise.
14663         (free_emit_status): Likewise.
14664         (free_stmt_status): Likewise.
14665         (free_after_compilation): Likewise.
14666         (init_lang_status): New variable.
14667         (free_lang_status): Likewise.
14668         * emit-rtl.c (free_emit_status): Make decl parameter implicit.
14669         * function.c (init_lang_status): New variable.
14670         (free_lang_status): Likewise.
14671         (push_function_context_to): Don't set function::decl here.
14672         (free_after_copmilation): Make decl parameter implicit.  Call
14673         free_lang_status if defined.
14674         (prepare_function_start): Call init_lang_status if defined.
14675         (init_function_start): Set function::decl here.
14676         * profile.c (output_func_start_profiler): Don't call pushdecl
14677         until we've actually started the function.
14678         * stmt.c (free_stmt_status): Make decl parameter implicit.
14679         * toplev.c (rest_of_compilation): Don't pass decl to
14680         free_after_compilation.
14681         * varasm.c (free_varasm_status): Likewise.
14682
14683 Thu Sep  9 17:23:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
14684
14685         * except.c (call_get_eh_context): Add root when allocating static
14686         tree variable.
14687
14688 Thu Sep  9 15:24:59 BST 1999  Richard Earnshaw <rearnsha@arm.com>
14689
14690         * arm.c: Include "ggc.h".
14691         (arm_add_gc_roots): New function.
14692         (arm_override_options): Call it.
14693         (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
14694
14695         * arm.md (define_asm_attributes): Add a pool_range attribute.
14696
14697 Thu Sep  9 12:32:57 BST 1999  Nathan Sidwell  <nathan@acm.org>
14698
14699         * extend.texi (Volatiles): New node.
14700
14701 Thu Sep  9 03:37:31 1999  Richard Henderson  <rth@cygnus.com>
14702
14703         * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
14704         (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
14705         (struct ggc_any): Replace `mark' with `magic_mark'.
14706         (ggc_alloc_string): Use memcpy, not bcopy.
14707         (ggc_alloc_any): Set magic_mark.  Update bytes_alloced_since_gc.
14708         (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
14709         (ggc_free_any): New.
14710         (ggc_mark_string): Use IGNORE_MARK.  Calc back to struct gcc_string.
14711         (ggc_mark): Use IGNORE_MARK.  Abort if magic doesn't match.
14712         (ggc_collect): Re-enable collection avoidance.  Use GGC_ANY_MARK.
14713         Use IS_MARKED. Use ggc_free_any.
14714
14715 1999-09-09  Scott Bambrough <scottb@netwinder.org>
14716
14717         * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
14718
14719 Thu Sep  9 01:55:21 1999  Richard Henderson  <rth@cygnus.com>
14720
14721         * toplev.c (main): Always init_ggc.
14722
14723 Wed Sep  8 23:53:22 1999  Richard Henderson  <rth@cygnus.com>
14724
14725         * except.c (find_all_handler_type_matches): Free the list if
14726         we found no matches.
14727
14728         * combine.c (SUBST): Break out to a real function do_SUBST.
14729         (SUBST_INT): Likewise.
14730         * gcse.c (free_pre_mem): Free `temp_bitmap'.
14731         (pre_insert): Free `inserted'.
14732         * loop.c (basic_induction_var): Always set `location'.
14733
14734         * function.c (expand_function_end): Add initial_trampoline as a root.
14735         * rtl.h (init_varasm_once): Declare.
14736         * toplev.c (compile_file): Call it.
14737         * ggc-simple.c (ggc_mark_string_ptr): New.
14738         (ggc_add_string_root): New.
14739         (ggc_collect): Disable collection avoidance temporarily.
14740         * ggc.h (ggc_add_string_root): Declare.
14741         * except.c (create_rethrow_ref): Use ggc_alloc_string.
14742         * optabs.c (init_libfuncs): Likewise.
14743         * varasm.c (named_section): Use ggc_alloc_string.
14744         (make_function_rtl): Likewise.
14745         (make_decl_rtl): Likewise.
14746         (assemble_static_space): Likewise.
14747         (assemble_trampoline_template): Likewise.
14748         (output_constant_def): Likewise.
14749         (force_const_mem): Likewise.
14750         (mark_const_hash_entry): New.
14751         (mark_pool_sym_hash_table): New.
14752         (mark_varasm_state): Use it.
14753         (init_varasm_once): New.
14754
14755         * expr.h (init_one_libfunc): Declare.
14756         * optabs.c (init_one_libfunc): New.
14757         (init_optabs): Use it.
14758         * config/gofast.h: Likewise.
14759         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
14760         * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
14761
14762 Thu Sep  9 13:46:06 1999  Geoffrey Keating  <geoffk@cygnus.com>
14763
14764         * Makefile.in (cppexp.o): Depend on cpphash.h.
14765         * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
14766         Include cpphash.h.
14767         * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
14768         * cpplib.c (do_define): Generalise to handle poisoned definitions,
14769         redefining poisoned identifiers, etc.
14770         (do_undef): Don't allow poisoned identifiers to be undefined.
14771         (do_pragma): Add #pragma poison.
14772         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
14773
14774         * cccp.c: Add T_POISON node type.
14775         (special_symbol): Handle `defined(xxx)' and plain `xxx' for
14776         poisoned xxx.
14777         (do_define): Generalise to handle poisoned definitions,
14778         redefining poisoned identifiers, etc.
14779         (do_undef): Don't allow poisoned identifiers to be undefined.
14780         (do_pragma): Add #pragma poison.
14781         (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
14782
14783         * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
14784         * c-pragma.h: Add ps_poison state.  We now always have generic
14785         pragmas.
14786
14787 Wed Sep  8 20:30:42 1999  Mark Mitchell  <mark@codesourcery.com>
14788
14789         * ggc.h (ggc_alloc): New function.
14790         (ggc_mark): Likewise.
14791         * ggc-simple.c (ggc_any): New structure.
14792         (ggc_status): Add anys.
14793         (n_anys_collected): New variable.
14794         (ggc_alloc): Define.
14795         (ggc_mark): Likewise.
14796         (ggc_collect): Collect the anys.
14797
14798 Wed Sep  8 20:15:14 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14799
14800         * c-decl.c (mark_binding_level): Make static to match prototype.
14801
14802 Wed Sep  8 16:41:27 1999  Richard Henderson  <rth@cygnus.com>
14803
14804         * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
14805
14806 Wed Sep  8 16:07:52 1999  Richard Henderson  <rth@cygnus.com>
14807
14808         * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
14809         will use into account.  Expand the max width to 5.
14810         * rtl.c: Likewise.
14811
14812 Wed Sep  8 16:01:14 1999  Richard Henderson  <rth@cygnus.com>
14813
14814         * ggc-simple.c (ggc_free_rtx): Poison the correct amount
14815         for the rtx length.
14816
14817 Wed Sep  8 15:23:54 1999  Richard Henderson  <rth@cygnus.com>
14818
14819         * alpha.md (call value patterns): Remove the result predicates.
14820
14821 Wed Sep  8 13:35:38 1999  Richard Henderson  <rth@cygnus.com>
14822
14823         * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
14824         last change.
14825
14826 Wed Sep  8 15:32:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14827
14828         * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
14829         changed from extern char *, to extern PTR.  Also fix typo in
14830         NEED_DECLARATION_REALLOC test.
14831
14832         * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
14833
14834 Wed Sep  8 11:40:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14835
14836         * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
14837         ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
14838         ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
14839         ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
14840
14841         * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
14842
14843         * cccp.c (pcfinclude): Likewise.
14844
14845         * global.c (allocno_compare): Likewise.
14846
14847         * haifa-sched.c (rank_for_schedule): Likewise.
14848
14849         * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
14850
14851         * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
14852
14853         * stupid.c (stupid_reg_compare): Likewise.
14854
14855         * tree.c (_obstack_allocated_p): Likewise.
14856
14857         * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
14858
14859 1999-09-08  Bruce Korb  autogen@linuxbox.com
14860
14861         * Makefile.in: Give the hapless gperf user a hint about
14862         why "gperf -F" fails.
14863
14864 Wed Sep  8 04:43:22 1999  Richard Henderson  <rth@cygnus.com>
14865
14866         * lists.c: Include ggc.h.
14867         (zap_lists): New.
14868         (init_EXPR_INSN_LIST_cache): Install it.
14869
14870         * ggc-simple.c (init_ggc): Absorb the old init.
14871         (ggc_push_context): Use xcalloc.
14872         (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
14873         (ggc_collect): Add [rvts] tags to the collection stats.
14874
14875 Wed Sep  8 11:14:25 1999  Andreas Schwab  <schwab@suse.de>
14876
14877         * cccp.c (main): Fix handling of -include and -imacros options.
14878
14879 Wed Sep  8 02:23:08 1999  Jeffrey A Law  (law@cygnus.com)
14880
14881         * cpplib.c (cpp_push_buffer): Fix order of arguments.
14882
14883 Wed Sep  8 04:44:09 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
14884
14885         * rtl.h (obstack_alloc_rtx): Removed, it's now static in
14886         genrtl.c.
14887
14888 Wed Sep  8 00:33:43 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
14889
14890         * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
14891         * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
14892         and SET_DEST. Update comment.
14893
14894 Wed Sep  8 18:55:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
14895
14896         * config/c4x/c4x.c: Include ggc.h.
14897         (c4x_add_gc_roots): New function.
14898         (c4x_override_options): Call c4x_add_gc_roots.
14899
14900 Wed Sep  8 00:00:16 1999  Richard Henderson  <rth@cygnus.com>
14901
14902         * defaults.h (TARGET_ESC): Move ...
14903         * system.h: ... here, where Linas had it in the first place.  Silly me.
14904
14905 Tue Sep  7 23:46:35 1999  Linas Vepstas  <linas@linas.org>
14906
14907         * c-common.c: Use ISGRAPH, ISLOWER, toupper.
14908         * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
14909         genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
14910         * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
14911         * defaults.h (TARGET_ESC): Add default.
14912
14913 Tue Sep  7 23:36:59 1999  Linas Vepstas  <linas@linas.org>
14914
14915         * configure.in: add i370-*-openedition, i370-*-mvs and
14916         i370-*-linux targets
14917
14918 Tue Sep  7 23:31:53 1999  Mark Mitchell  <mark@codesourcery.com>
14919
14920         * dsp16xxx.c: Include ggc.h
14921         (override_options): Mark GC roots.
14922         * mn10200.c: Include ggc.h.
14923         (asm_file_start): Mark GC roots.
14924         * tahoe.c: Include ggc.h.
14925         (extensible_operand): Mark GC roots.
14926
14927 Tue Sep  7 23:23:15 1999  Linas Vepstas  <linas@linas.org>
14928
14929         * README: Add section discussing status of ELF ABI.
14930         * i370.c: Fix misc spelling mistakes.
14931         (i370_label_scan): Updated notes, exception handling.
14932         (i370_function_prolog): Simplify ELF stack handling.
14933         * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
14934         (STACK_GROWS_DOWNWARD): ELF stack grows down.
14935         (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
14936         * i370.md: (movdi): Add notes.
14937         (floatsidf2): Use stack not rtca for scratch float area.
14938         (iorsi3): Correct operand constraints.
14939         * x-oe: Restore TAROUTOPTS which are used by pax.
14940
14941 Tue Sep  7 22:39:18 1999  Mark Mitchell  <mark@codesourcery.com>
14942
14943         * rs6000.c: Include ggc.h.
14944         (rs6000_add_gc_roots): New function.
14945         (override_options): Call it.
14946
14947 Tue Sep  7 22:09:03 1999  Richard Henderson  <rth@cygnus.com>
14948
14949         * alpha.h (alpha_compare): New.
14950         (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
14951         * alpha.c: Likewise for the definitions.
14952         (alpha_emit_conditional_branch): Update for alpha_compare.
14953         (alpha_emit_conditional_move): Likewise.
14954         * alpha.md (cmpdf, cmpdi): Likewise.
14955         (setcc patterns): Likewise.  Zero alpha_compare after use.
14956         (sne): Optimize (x != 0) into (0U < x).
14957
14958 Tue Sep  7 21:55:02 1999  Richard Henderson  <rth@cygnus.com>
14959
14960         * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
14961         (struct machine_function): Declare; add eh_epilogue_sp_ofs.
14962         (INIT_EXPANDERS): Remove.
14963         * alpha.c: Include ggc.h.
14964         (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
14965         (alpha_init_machine_status, alpha_mark_machine_status): New.
14966         (override_options): Install them.
14967         (struct machine_function): Moved to alpha.h.
14968         (alpha_save_machine_status, alpha_restore_machine_status): Remove.
14969         (alpha_init_expanders): Remove.
14970         (alpha_return_addr): Adjust to use current_function->machine.
14971         (alpha_ra_ever_killed): Likewise.
14972         (alpha_expand_epilogue): Likewise.
14973         * alpha.md (eh_epilogue): Likewise.
14974
14975 Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
14976                           Melissa O'Neill  <oneill@cs.sfu.ca>
14977                           Geoffrey Keating  <geoffk@cygnus.com>
14978
14979         * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
14980         call-used registers (call-saved registers must still be contiguous
14981         and end with r31, of course).
14982
14983 Tue Sep  7 21:41:38 1999  Richard Henderson  <rth@cygnus.com>
14984
14985         * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
14986         (self_promoting_type_p): Delete.
14987         (self_promoting_args_p): Move ...
14988         * c-common.c: ... here.
14989         (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
14990         (simple_type_promotes_to): New.
14991         * builtins.c (lang_type_promotes_to): New.
14992         (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
14993         * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
14994         * c-common.h: ... here.
14995         (self_promoting_args_p, simple_type_promotes_to): Declare.
14996         * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
14997         (grokdeclarator): Likewise.
14998         * tree.h (lang_type_promotes_to): Declare.
14999
15000 Tue Sep  7 17:15:21 1999  Mark Mitchell  <mark@codesourcery.com>
15001
15002         Add some machine-dependent GC roots.
15003         * sparc.c: Include ggc.h.
15004         (sparc_add_gc_roots): New function.
15005         (mark_ultrasparc_pipeline_state): Likewise.
15006         (override_options): Call sparc_add_gc_roots.
15007         * pa.c: Include ggc.h.
15008         (pa_add_gc_roots): New function.
15009         (mark_deferred_plabels): Likewise.
15010         (override_options): Call pa_add_gc_roots.
15011         * mips.c: Include ggc.h.
15012         (mips_add_gc_roots): New function.
15013         (override_options): Use it.
15014
15015 Tue Sep  7 11:39:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15016
15017         * cpperror.c (cpp_file_line_for_message): Constify a char*.
15018
15019         * cppexp.c (parse_number, parse_charconst, cpp_lex,
15020         cpp_parse_expr): Add static prototypes.
15021         (parse_charconst): Don't cast away const-ness.
15022         (token): Constify a char*.
15023
15024         * cppfiles.c (file_name_list, include_hash, find_include_file,
15025         finclude, initialize_input_buffer): Constify a char*.
15026         (file_cleanup, find_position): Add static prototypes.
15027
15028         * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
15029         collect_expansion): Add static prototypes.
15030         (cpp_install, create_definition, monthnames): Constify a char*.
15031
15032         * cpphash.h (cpp_install): Likewise.
15033
15034         * cppinit.c (known_suffixes, default_include,
15035         dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
15036         (base_name, dump_special_to_buffer, initialize_dependency_output):
15037         Add static prototypes.
15038
15039         * cpplib.c (my_strerror): Constify a char*.
15040         (null_underflow, null_cleanup, skip_comment, copy_comment,
15041         copy_rest_of_line, handle_directive, pass_thru_directive,
15042         get_directive_token, read_line_number, cpp_print_file_and_line,
15043         v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
15044         v_cpp_warning_with_line, detect_if_not_defined,
15045         consider_directive_while_skipping): Add static prototypes.
15046         (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
15047         cpp_pedwarn_with_file_and_line): Constify a char*.
15048
15049         * cpplib.h (cpp_options, include_hash, progname, definition,
15050         cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
15051         check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
15052         find_include_file, deps_output, include_hash): Constify a char*.
15053
15054         * cppmain.c (progname): Constify.
15055         (main): Add prototype.  Use return, not exit.
15056
15057         * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
15058         recognized_macro, check_macro_names, read_scan_file, write_rbrac,
15059         inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
15060         check_protection): Add static prototype.
15061         (xfree): Remove.
15062         (progname, recognized_macrom, recognized_extern): Constify a char*.
15063         (main): Add prototype.
15064
15065         * gen-protos.c (progname): Constify a char*.
15066
15067 Tue Sep  7 00:47:52 1999  Mark Mitchell  <mark@codesourcery.com>
15068
15069         * emit-rtl.c (free_emit_status): Take decl as a parameter.
15070         (init_emit_once): Add more GC roots.
15071         * except.c (mark_func_eh_entry): New function.
15072         (mark_eh_node): Mark false_label and rethrow_label.
15073         (init_eh): Add more GC roots.
15074         * function.c (free_after_compilation): Take decl as a paramter.
15075         Call free_stmt_status.
15076         (mark_function_state): Don't assume x_parm_reg_stack_loc is
15077         non-NULL.
15078         * function.h (free_after_compilation): Change prototype.
15079         (free_varasm_status): Likewise.
15080         (free_emit_status): Likewise.
15081         (free_stmt_status): New function.
15082         * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
15083         Remove, replacing with ...
15084         (ggc_status): New structure.
15085         (ggc_chain): New variable.
15086         (init_gcc): Define.
15087         (ggc_push_context): New function.
15088         (ggc_pop_context): Likewise.
15089         (ggc_alloc_rtx): Adjust for use of ggc_chain.
15090         (ggc_alloc_rtvec): Likewise.
15091         (ggc_alloc_tree): Likewise.
15092         (ggc_alloc_string): Likewise.
15093         (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
15094         (ggc_mark_tree): Give language-dependent code a chance to mark
15095         `x' nodes.
15096         (ggc_mark_tree_varray): Handle empty arrays.
15097         (ggc_collect): Adjust for use of ggc_chain.  Clear
15098         bytes_alloced_since_last_gc.
15099         * ggc.h (ggc_pop_context): New function.
15100         (ggc_push_context): Likewise.
15101         * print-tree.c (print_node): Don't print obstacks when GC'ing.
15102         * stmt.c (free_stmt_status): New function.
15103         (init_stmt_for_function): Clear last_expr_value.
15104         * toplev.c (rest_of_compilation): Always call free_after_compilation.
15105         Conditionalize call to ggc_collect.
15106         (main): Call init_ggc.
15107         * tree.c (push_obstacks): Do the push, even when GC'ing.
15108         (push_obstacks_nochange): Likewise.
15109         (pop_obstacks): Liekwise.
15110         * varasm.c (free_varasm_status): Take decl as a parameter.
15111
15112 Tue Sep  7 08:15:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
15113
15114         * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
15115         (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
15116         * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
15117         * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
15118
15119 Tue Sep  7 03:42:45 1999  Mark Klein (mklein@dis.com)
15120
15121         * pa/x-pa-mpeix: New file for the MPE port.
15122
15123         * pa/quadlib.asm: New file for long double support.
15124
15125         * configure.in: Add hppa1.0-*-mpeix for MPE port.
15126         * configure: Rebuilt.
15127
15128 Tue Sep  7 10:08:40 1999  Andreas Schwab  <schwab@suse.de>
15129
15130         * final.c (shorten_branches): Fix last change.
15131
15132 Tue Sep  7 00:30:32 1999  Jeffrey A Law  (law@cygnus.com)
15133
15134         * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
15135
15136 Mon Sep  6 22:44:47 1999  Jeffrey A Law  (law@cygnus.com)
15137
15138         * Merge from gcc2 snapshot Jan 9, 1999.  See FSFChangeLog for
15139         details.
15140
15141 Mon Sep  6 22:31:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15142
15143         * c-aux-info.c (concat): Don't define.
15144
15145         * cccp.c (my_strerror): Likewise.  All callers changed to use
15146         xstrerror instead.
15147         (do_include): Call xstrdup, not xmalloc/strcpy.
15148         (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
15149         (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
15150
15151         * collect2.c (my_strsignal): Likewise.  All callers changed to use
15152         strsignal instead.
15153         (locatelib): Call xstrdup, not xmalloc/strcpy.
15154
15155         * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
15156
15157         * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
15158
15159         * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
15160
15161         * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
15162
15163         * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
15164
15165         * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
15166
15167         * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
15168         malloc/realloc.
15169         (find_all_handler_type_matches): Likewise.  Don't check return
15170         value.
15171         (get_new_handler, init_insn_eh_region, process_nestinfo): Call
15172         xmalloc, not malloc.
15173         (init_eh_nesting_info): Likewise.  Call xcalloc, not xmalloc/bzero.
15174
15175         * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
15176         (init_spec): Call xcalloc, not xmalloc/bzero.
15177         (set_spec): Call xstrdup, not save_string.
15178         (record_temp_file): Call xstrdup, not xmalloc/strcpy.
15179         (find_a_file): Call xstrdup, not xmalloc/strcpy.
15180         (process_command): Call xstrdup, not save_string.
15181         (main): Call xcalloc, not xmalloc/bzero.
15182
15183         * gcov.c (xmalloc): Don't define.
15184         (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
15185         (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
15186         (output_data): Call xcalloc, not xmalloc/bzero.
15187
15188         * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
15189
15190         * mips-tdump.c (xmalloc): Don't define.
15191         (print_symbol): Call xmalloc, not malloc.
15192         (read_tfile): Call xcalloc, not calloc.
15193
15194         * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
15195         Don't define.  All callers of xfree/my_strsignal changed to use
15196         free/strsignal instead.
15197         (allocate_cluster): Call xcalloc, not calloc.
15198
15199         * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
15200         Fix memory leak, free allocated memory.
15201
15202         * prefix.c (translate_name): Call xstrdup, not save_string.
15203         (update_path): Likewise.
15204
15205         * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
15206
15207         * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
15208         Don't define.  Callers of xfree/savestring2 changed to use
15209         free/concat instead.
15210
15211         * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
15212         (init_elim_table): Likewise.
15213
15214         * resource.c (init_resource_info): Likewise.
15215
15216         * stupid.c (stupid_life_analysis): Likewise.
15217
15218         * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
15219         (open_dump_file): Call concat, not xmalloc/strcpy/...
15220         (clean_dump_file): Likewise.
15221         (compile_file): Call xstrdup, not xmalloc/strcpy.
15222
15223 Mon Sep  6 15:04:55 1999  Richard Henderson  <rth@cygnus.com>
15224
15225         * v850.h (EXPAND_BUILTIN_VA_ARG): New.
15226         * v850.c (v850_va_arg): New.
15227
15228 Tue Sep  7 09:36:01 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15229
15230         * haifa-sched.c: Tidy comments.
15231
15232 Mon Sep  6 14:30:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15233
15234         * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
15235         (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
15236         $(out_object_file)): Depend on ggc.h.
15237         * c-common.c: Include "ggc.h".
15238         (combine_strings): If doing GC, use ggc_alloc_string.
15239         * c-decl.c: Include "ggc.h".
15240         (ggc_p): Define with value 0.
15241         (mark_binding_level): New function.
15242         (init_decl_processing): Add GC roots.
15243         (mark_c_function_context): New function.
15244         (lang_mark_false_label_stack): New function.
15245         (lang_mark_tree): New function.
15246         (lang_cleanup_tree): New function.
15247         * c-lang.c: Include "ggc.h".
15248         (lang_init): Call c_parse_init.
15249         * c-lex.c: Include "ggc.h".
15250         (check_linenum): If doing GC, don't copy filenames to permanent
15251         obstack.
15252         * c-parse.in: Include "ggc.h".
15253         (c_parse_init): New function.
15254         * c-tree.h (c_parse_init, mark_c_function_context): Declare.
15255         * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
15256
15257         * except.c (mark_eh_state): Mark more state.
15258         * function.c (mark_function_state): Likewise.
15259         * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
15260         (ggc_alloc_string) [GGC_DUMP]: Fix typo.
15261         * toplev.c (mark_file_stack): New function.
15262         (compile_file): If doing GC, use ggc_alloc_string on input filename.
15263         (main): Add root for input_file_stack.
15264
15265         * i386.c: Include "ggc.h".
15266         (ix86_mark_machine_status): New function.
15267         (override_options): Set mark_machine_status.
15268
15269 Mon Sep  6 15:26:23 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15270
15271         * tree.c (copy_node): Copy node contents also if doing GC.
15272
15273 Mon Sep  6 08:42:06 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
15274
15275         * collect2.c (scan_libraries): Fix double-thinko :-).
15276
15277 Mon Sep  6 02:42:36 1999  Jeffrey A Law  (law@cygnus.com)
15278
15279         * collect2.c (scan_libraries): Fix thinko.
15280
15281         * cse.c (delete_trivially_dead_insns): Do not skip the last
15282         insn if it is a real insn.
15283
15284 Sun Sep  5 18:57:42 1999  Mark Mitchell  <mark@codesourcery.com>
15285
15286         * Makefile.in (ggc-simple.o): Depend on hash.h.
15287         * ggc.h (ggc_add_tree_hash_table_root): Declare.
15288         (ggc_mark_tree_varray): Likewise.
15289         (ggc_mark_tree_hash_table): Likewise.
15290         * ggc-simple.c: Include hash.h.
15291         (ggc_mark_tree_hash_table_ptr): New function.
15292         (ggc_mark_tree_hash_table_entry): Likewise.
15293         (ggc_mark_tree_hash_table): Likewise.
15294         (ggc_add_tree_hash_table_root): Likewise.
15295         * varray.h (const_equiv_data): Use struct rtx_def *, rather than
15296         rtx, when defining fields.
15297
15298 Sun Sep  5 18:57:42 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
15299
15300         * profile.c (output_func_start_profiler): Remove apparently
15301         nonsensical call to start_sequence.
15302
15303 Sun Sep  5 17:34:33 1999  Richard Henderson  <rth@cygnus.com>
15304
15305         * clipper/clipper.c (clipper_va_start): Fix typos.
15306
15307         * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
15308         * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
15309         (spur_va_arg): New stub.
15310
15311         * configure.in: Comment out pyramid.
15312
15313 Sun Sep  5 19:11:01 1999  Michael Meissner  <meissner@cygnus.com>
15314
15315         * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
15316         don't conflict with the bits that win32, cygwin, and dgux
15317         defines.
15318
15319 Sun Sep  5 09:31:56 1999  Richard Henderson  <rth@cygnus.com>
15320                           Bernd Schmidt <bernds@cygnus.co.uk>
15321
15322         * integrate.c (function_cannot_inline_p): Do not inline
15323         functions with forced labels.
15324
15325 Sun Sep  5 00:35:17 1999  Richard Henderson  <rth@cygnus.com>
15326                           Bernd Schmidt <bernds@cygnus.co.uk>
15327                           Mark Mitchell  <mark@codesourcery.com>
15328
15329         * Makefile.in (ggc-simple.o): Depend on varray.h.
15330         (rtl.o): Depend on ggc.h.
15331         (genattrtab.o): Depend on ggc.h.
15332         (print-tree.o): Likewise.
15333         (fold-const.o): Likewise.
15334         * emit-rtl.c (sequence_element_free_list): Remove, and all references.
15335         (make_insn_raw): Don't cache insns when GC'ing.
15336         (emit_insn_before): Likewise.
15337         (emit_insn_after): Likewise.
15338         (emit_insn): Likewise.
15339         (start_sequence): Use xmalloc to allocate the sequence_stack.
15340         (end_sequence): Add free to free it.
15341         (gen_sequence): Don't cache insns when GC'ing.
15342         (clear_emit_caches): Don't use sequence_element_free_list.
15343         (init_emit): Use xcalloc, not xmalloc+bzero.
15344         * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
15345         * function.c (pop_function_context_from): Use free to free the
15346         fixup_var_refs_queue.
15347         (put_reg_into_stack): Allocate it with xmalloc.
15348         * genattrtab.c: Include ggc.h.
15349         (operate_exp): Don't use obstack_free when GC'ing.
15350         (simplify_cond): Likewise.
15351         (simplify_text_exp): Likewise.
15352         (optimize_attrs): Likewise.
15353         * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
15354         GC'ing.
15355         (gencode): Generate a #include for ggc.h.
15356         * ggc-callbacks.c (ggc_p): Define it to zero.
15357         * ggc-none.c (ggc_p): Likewise.
15358         * ggc-simple.c: Include varray.h.
15359         (ggc_mark_tree_varray): New function.
15360         (ggc_add_tree_varray_root): Likewise.
15361         (ggc_mark_tree_varray_ptr): Likewise.
15362         * ggc.h (ggc_p): Declare.
15363         (varray_head_tag): Likewise.
15364         (ggc_add_tree_varray_root): Declare.
15365         * print-tree.c (print_node): Don't check for TREE_PERMANENT
15366         inconsistencies when GC'ing.
15367         * rtl.c: Include ggc.h.
15368         (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
15369         (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
15370         (rtx_free): Don't call obstack_free when GC'ing.
15371         * toplev.c (rest_of_compilation): Call ggc_collect after every
15372         pass, if GC'ing.
15373         * tree.c (push_obstacks): Do nothing, if GC'ing.
15374         (pop_obstacks_nochange): Likewise.
15375         (pop_obstacks): Likewise.
15376         (make_node): Use ggc_alloc_tree when GC'ing.
15377         (copy_node): Likewise.
15378         (get_identifier): Use ggc_alloc_string when GC'ing.
15379         (build_string): Likewise.
15380         (make_tree_vec): Use ggc_alloc_tree when GC'ing.
15381         (tree_cons): Likewise.
15382         (build1): Likewise.
15383         (type_hash_canon): Don't call obstack_free when GC'ing.
15384
15385 Sat Sep  4 21:52:32 1999  Richard Henderson  <rth@cygnus.com>
15386
15387         * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
15388         of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
15389
15390 Sat Sep  4 20:40:19 1999  Richard Henderson  <rth@cygnus.com>
15391                           Bernd Schmidt <bernds@cygnus.co.uk>
15392                           Mark Mitchell  <mark@codesourcery.com>
15393
15394         * Makefile.in (stor-layout.o): Depend on ggc.h.
15395         (expr.o): Depend on ggc.h.
15396         (profile.o): Depend on ggc.h.
15397         (stor-layout.o): Depend on ggc.h.
15398         * emit-rtl.c (init_emit_once): Add gc roots.
15399         * expr.c: Include ggc.h.
15400         (emit_block_move): Add gc roots.
15401         (clear_storage): Likewise.
15402         * expr.h (init_stor_layout_once): New function.
15403         * profile.c: Include ggc.h.
15404         (init_arc_profiler): profiler_label is a root.
15405         * scan.c (make_sstring_space): Trust xrealloc to function
15406         correctly with first parameter NULL.
15407         * stor-layout.c: Include ggc.h.
15408         (set_sizetype): Add gc root.
15409         (init_stor_layout_once): New function.
15410         * toplev.c (compile_file): Call it.
15411
15412 Sat Sep  4 19:26:25 1999  Richard Henderson  <rth@cygnus.com>
15413                           Bernd Schmidt <bernds@cygnus.co.uk>
15414                           Mark Mitchell  <mark@codesourcery.com>
15415
15416         * Makefile.in (tree.o): Depend on ggc.h.
15417         (varasm.o): Likewise.
15418         (function.o): Likewise.
15419         (stmt.o): Likewise.
15420         (except.o): Likewise.
15421         (optabs.o): Likewise.
15422         (emit-rtl.o): Likewise.
15423         * emit-rtl.c: Include ggc.h.
15424         (sequence_element_free_list): Remove, and all references.
15425         (mark_sequence): New functions.
15426         (mark_emit_state): New function.
15427         * except.c: Include ggc.h.
15428         (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
15429         (mark_tree_label_node): New functions.
15430         (mark_eh_state): New function.
15431         * function.c: Include ggc.h.
15432         (mark_temp_slot, mark_function_chain): New functions.
15433         (mark_function_state): New function.
15434         (init_function_once): New function.
15435         * function.h (init_function_once): New function.
15436         * ggc-callbacks.c (lang_mark_false_label_stack): New function.
15437         * ggc.h (label_node): Declare.
15438         (eh_status, emit_status, stmt_status, varasm_status): Likewise.
15439         (lang_mark_false_label_stack): New function.
15440         (mark_temp_slot): Remove declaration.
15441         (mark_function_chain): Likewise.
15442         (mark_eh_state): Adjust prototype.
15443         (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
15444         Likewise.
15445         * optabs.c: Include ggc.h.
15446         (mark_optab): New function.
15447         (init_optabs): Add gc roots.
15448         * stmt.c: Include ggc.h.
15449         (mark_cond_nesting, mark_loop_nesting): New functions.
15450         (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
15451         (mark_stmt_state): New function.
15452         * toplev.c (compile_file): Call init_function_once.
15453         * tree.c: Include ggc.h.
15454         (type_hash): Move declaration earlier in file.
15455         (TYPE_HASH_SIZE, type_hash_table): Likewise.
15456         (init_obstacks): Add gc roots.
15457         (mark_type_hash): New function.
15458         * varasm.c: Include ggc.h.
15459         (mark_pool_constant): New function.
15460         (mark_varasm_state): New function.
15461
15462 Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15463
15464         * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
15465
15466 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
15467
15468         * c-decl.c (struct language_function): Renamed from struct c_function.
15469         Delete elt NEXT.
15470         (c_function_chain): Delete.
15471         (push_c_function_context): New arg F.  Don't warn about nested
15472         functions here.  Fill LANGUAGE elt of F.  Delete code to update
15473         c_function_chain.  Don't call push_function_context.
15474         (pop_c_function_context): New arg F.  Restore from there instead of
15475         from c_function_chain.  Don't call pop_function_context.  Clear out
15476         LANGUAGE field of F when done.
15477         * c-lang.c: Include "function.h"
15478         (lang_init): Initialize save_lang_status and restore_lang_status.
15479         * c-parse.in (nested_function, nested_function_notype): Warn about
15480         nested functions.  Call push_function_context/pop_function_context
15481         instead of the _c_ variants.
15482         * c-tree.h (push_c_function_context, pop_c_function_context): Update
15483         prototype.
15484         * Makefile.in (c-lang.o): Update dependencies.
15485
15486         * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
15487         regno_pointer_flag, regno_pointer_align.
15488         (gen_reg_rtx): Use xrealloc to enlarge them.
15489         (free_emit_status): New function.
15490         * function.c (mark_machine_status, mark_lang_status): New variables.
15491         (assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
15492         in some bits from assign_stack_local.  All callers changed to use new
15493         name.
15494         (assign_stack_local): Just call assign_stack_local_1.
15495         (free_after_compilation): New function.
15496         (put_reg_into_stack): Simplify to always call assign_stack_local_1.
15497         (trampoline_address): Likewise.
15498         (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
15499         (prepare_function_start): Explicitly clear some more variables.
15500         * function.h (struct function): New elt can_garbage_collect.
15501         (mark_machine_status, mark_lang_status): Declare variables.
15502         (free_after_compilation, free_emit_status, free_varasm_status,
15503         init_varasm_status): Declare functions.
15504         * toplev.c (rest_of_compilation): Call free_after_compilation when
15505         done with the current function.
15506         * varasm.c (free_varasm_status): New function.
15507
15508 Sat Sep  4 17:15:13 1999  Richard Henderson  <rth@cygnus.com>
15509
15510         * sparc.h (EXPAND_BUILTIN_VA_START): Define.
15511         (EXPAND_BUILTIN_VA_ARG): Define.
15512         * sparc.c (sparc_va_start): New.
15513         (sparc_va_arg): New.
15514
15515 Sun Sep  5 11:11:59 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15516
15517         * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
15518
15519 Sun Sep  5 10:13:19 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15520
15521         * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
15522
15523 Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
15524
15525         * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
15526         (OBJS): Add $(GGC).
15527         (ggc-callbacks.o): New target.
15528         * ggc-callbacks.c: New file.
15529
15530 Sat Sep  4 22:53:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15531
15532         * expr.h: Collapse individual optab and libfunc vars to arrays.
15533         (optab_index, libfunc_index): New enumerations.
15534         (optab_table, libfunc_table): New arrays.
15535         Add accessor macros for both.
15536
15537         * optabs.c (optab_table, libfunc_table): New.
15538         Delete declarations for individual optab and libfunc vars.
15539
15540 Sat Sep  4 12:57:17 1999  Richard Henderson  <rth@cygnus.com>
15541
15542         * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
15543
15544 Sat Sep  4 11:19:52 1999  Richard Henderson  <rth@cygnus.com>
15545
15546         * Makefile.in (GGC, GGC_LIB): New.
15547         (HOST_RTL): Include ggc-none.o.
15548         (ggc-simple.o): New target.
15549         (ggc-none.o): Likewise.
15550         * tree.h (tree_common): Add gc_mark.
15551         * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
15552         (struct rtvec_def): Add gc_mark.
15553         * emit-rtl.c (global_rtl): Update static initializers to contain
15554         enough initializers.
15555         * ggc.h, ggc-none.c, ggc-simple.c: New files.
15556         * toplev.c (gc_time): New variable.
15557         (all_time): New variable.
15558         (compile_file): Print gc time.
15559         (print_time): Calculate percentage of the whole.
15560
15561 Sat Sep  4 13:11:01 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15562
15563         Change obstack memory management and varasm constant pool handling so
15564         that nested functions are treated like any other functions.
15565         * function.c (init_machine_status): New variable.
15566         (push_function_context_to): Set contains_functions for the outer
15567         function.  Don't call save_varasm_status.
15568         (pop_function_context_from): Don't call restore_varasm_status.  Don't
15569         set current_function_contains_functions.
15570         (prepare_function_start): Call init_varasm_status rather than
15571         init_const_rtx_hash_table.  Call (*init_machine_status) if the pointer
15572         is non-null.
15573         * function.h (struct function) Add field varasm.  Delete fields
15574         inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
15575         last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
15576         (init_machine_status): Declare.
15577         (save_varasm_status, restore_varasm_status): Delete declarations.
15578         (save_tree_status, restore_tree_status): Delete last argument.
15579         * integrate.c (initialize_for_inline): Lose arg COPY.  Delete copying
15580         code.  All callers changed.
15581         (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
15582         save_constants_in_decl_trees, restore_constants, save_constants,
15583         save_for_inline_eh_labelmap, save_for_inline_copying): Delete
15584         functions.
15585         (inlining): New variable.
15586         (reg_map, label_map, insn_map, orig_asm_operands_vector,
15587         copy_asm_operands_vector, copy_asm_constraints_vector): Delete
15588         variables.
15589         (save_for_inline_nocopy): Don't save constants.
15590         Don't set inl_emit field in current_function.
15591         (expand_inline_function): Use emit field, not inl_emit, of the inlined
15592         function.  Set new variable inlining before
15593         calling copy_rtx_and_substitute.
15594         (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
15595         constant pool references if inlining is nonzero.
15596         Delete ADDRESS and (most of the) CONST cases.
15597         (output_inline_function): Save and restore current_function/
15598         current_function_decl.  Delete restore_constants code.  Don't call
15599         init_const_rtx_hash_table.
15600         * output.h (init_const_rtx_hash_table): Don't declare.
15601         * rtl.h (struct function): Declare.
15602         (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
15603         * toplev.c (rest_of_compilation): Don't treat nested functions or
15604         functions containing them specially.  Delete all code to deal with
15605         save_for_inline_copying.
15606         * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
15607         inline_obstacks): Delete variables.
15608         (save_tree_status): Lose arg CONTEXT.  All callers changed.
15609         Simply allocate a new function_maybepermanent_obstack for the new
15610         function, delete all the special cases.
15611         Don't save inline_obstacks.
15612         (restore_tree_status): Lose arg CONTEXT.  All callers changed.
15613         Delete special handling for function_maybepermanent_obstack; simply
15614         free it if empty.
15615         Don't restore inline_obstacks.
15616         (permanent_allocation):  Delete code that frees inline_obstacks.
15617         (print_inline_obstack_statistics): Delete function.
15618         (dump_tree_statistics): Don't call it.
15619         * varasm.c (struct varasm_status): New.
15620         (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
15621         last_pool, pool_offset, const_double_chain): Delete global
15622         variables, replace with accessor macros.
15623         (immed_double_const): Don't walk const_double_chain outside a
15624         function, but don't treat nested functions specially anymore.
15625         (immed_real_const_1): Likewise.
15626         (clear_const_double_mem): Don't treat nested functions specially.
15627         (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
15628         (save_varasm_status, restore_varasm_status): Delete functions.
15629         (init_varasm_status): New function.
15630         (force_const_mem): Don't treat nested functions specially.
15631         (find_pool_constant): Accept new arg F, search for constants in
15632         that function's pool rather than the current one.  All callers
15633         changed.
15634         (get_pool_constant_for_function, get_pool_mode_for_function): New
15635         functions.
15636
15637         * i386.c (init_386_machine_status): New function, mostly from
15638         clear_386_stack_locals.
15639         (struct machine_functions): Rename element names to avoid name
15640         clashes.
15641         (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
15642         macros, replacing global variables.
15643         (clear_386_stack_locals, save_386_machine_status,
15644         restore_386_machine_status): Delete functions.
15645         (override_options): Initialize init_machine_status.
15646         * i386.h (INIT_EXPANDERS): Delete macro.
15647         (save_386_machine_status, restore_386_machine_status,
15648         clear_386_stack_locals): Delete declarations.
15649
15650 Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15651
15652         * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
15653         (doloop_begin):  Simplify pattern and use emit_jump_insn.
15654         (doloop_end): Simplify pattern, switch operand order,
15655         and use emit_jump_insn.
15656
15657 Fri Sep  3 19:02:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
15658
15659         * function.h (struct function): Add new element LANGUAGE.
15660         (save_lang_status): Declare new variable.
15661         (restore_lang_status): Likewise.
15662         * function.c (save_lang_status): Define.
15663         (restore_lang_status): Likewise.
15664         (push_function_context_to): Call language-specific save function.
15665         (pop_function_context_from): Call language-specific restore function.
15666
15667 Fri Sep  3 01:16:18 1999  Alasdair Baird  <alasdair@wildcat.demon.co.uk>
15668
15669         * i386.md (movsf_1): Check REG_P before use of REGNO.
15670         (movdf_1): Likewise.
15671         (movxf_1): Likewise.
15672         (extendsfdf2): Likewise.
15673         (extendsfxf2): Likewise.
15674         (extenddfxf2): Likewise.
15675
15676 Sat Sep  4 11:37:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
15677
15678         * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
15679         constants into memory.
15680         (c4x_shiftable_constant): New function.
15681         * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
15682         (c4x_shiftable_constant): Declare.
15683         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
15684         ashlqi3_noclobber): Add new patterns and associated splitters.
15685
15686 Fri Sep  3 16:22:17 1999  Richard Henderson  <rth@cygnus.com>
15687
15688         * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
15689         * dwarf2out.c (dwarf2out_frame_init): Likewise.
15690         * final.c (shorten_branches): Likewise.
15691         * global.c (global_alloc): Likewise.
15692         * haifa-sched.c (build_control_flow): Likewise.
15693         * stmt.c (check_for_full_enumeration_handling): Likewise.
15694         (estimate_case_costs): Likewise.
15695
15696 Fri Sep  3 15:49:56 1999  Mark Mitchell  <mark@codesourcery.com>
15697
15698         * rtl.h (RTL_CHECKC2): Fix typo in last change.
15699
15700 Fri Sep  3 15:13:34 1999  Richard Henderson  <rth@cygnus.com>
15701
15702         * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
15703         (recompute_reg_usage): Likewise.
15704         * rtlanal.c (find_regno_fusage): Likewise.
15705
15706         * rtl.c (rtl_check_failed_code1): New function.
15707         (rtl_check_failed_code2): New.
15708         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
15709         (RTL_CHECKC1, RTL_CHECKC2): New.
15710         (XC*): New accessor macros.
15711         (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
15712         (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
15713         (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
15714         (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
15715         (TRAP_*, RANGE_INFO_*): Likewise.
15716
15717 Fri Sep  3 15:10:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15718
15719         * Makefile.in (tlink.o): Don't depend on toplev.h.
15720
15721         * collect2.c (c_file, o_file, export_file, import_file, ldout,
15722         output_file, nm_file_name, ldd_file_name, strip_file_name,
15723         c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
15724         add_prefix, prefix_from_env, prefix_from_string, do_wait,
15725         fork_execute, maybe_unlink, add_to_list,
15726         extract_init_priority, write_list, dump_list,
15727         dump_prefix_list, write_list_with_asm, write_c_file,
15728         write_c_file_stat, write_c_file_glob, scan_prog_file,
15729         scan_libraries, is_in_list, resolve_lib_name, use_import_list,
15730         ignore_library, extract_string, notice, dump_file, target_machine,
15731         collect_wait, collect_execute, libname, locatelib, aix_std_libs,
15732         read_file, print_load_command): Constify a char*.
15733         (fdopen, error, fatal, fatal_perror): Don't prototype.
15734         (my_strerror): Remove.  All callers use xstrerror instead.
15735         (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
15736         (main): Add prototype.  Constify lots of char* ptrs.  Change calls
15737         to xcalloc/strcpy/strcat/...  to one call to concat.
15738         (main, scan_prog_file, scan_libraries): Use an intermediate
15739         `const char **' to build an argv array.
15740         (mapfile, libselect, libcompare, locatelib): Add prototypes.
15741
15742         * collect2.h (collect_execute, collect_wait, dump_file,
15743         file_exists): Constify a char*.
15744         (ldout, c_file_name, temporary_obstack, permanent_obstack,
15745         temporary_firstobj, vflag, debug): Add extern declarations.
15746         (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
15747
15748         * tlink.c: Don't include toplev.h.
15749         (vflag, debug, ldout, c_file_name, temporary_obstack,
15750         permanent_obstack, temporary_firstobj): Don't declare.
15751         (tlink_execute, frob_extension, symbol_hash_lookup,
15752         file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
15753         recompile_files, read_repo_files, demangle_new_symbols,
15754         scan_linker_output): Constify a char*.
15755         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
15756         do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
15757
15758 Fri Sep  3 18:09:24 1999  Andrew Haley  <aph@cygnus.com>
15759
15760         * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
15761         (relative) rather than jsr (absolute) subroutine call insns.
15762         * config/m68k/m68k-coff.h: Ditto.
15763
15764 Fri Sep  3 17:24:31 1999  Richard Earnshaw <rearnsha@arm.com>
15765
15766         * arm.c (note_invalid_constants): No need to ignore ASMs, we can
15767         now rework these too.
15768         (arm_reorg): If an insn can't reach the end of the current pool,
15769         ensure that we emit that pool before the insn.
15770
15771 Fri Sep  3 09:14:32 1999  Marc Espie <espie@tetto.liafa.jussieu.fr>
15772
15773         * tlink.c (scan_linker_output): Skip the initial underscore in
15774         a mangled name if appropriate.
15775
15776 Fri Sep  3 01:28:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15777
15778         * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
15779         objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
15780         error_with_ivar, gen_declarator, create_builtin_decl,
15781         my_build_string, generate_descriptor_table, generate_ivars_list,
15782         generate_dispatch_table, check_protocols, TAG_GETCLASS,
15783         TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
15784         dump_base_name, lang_decode_option, build_encode_expr,
15785         start_class, finish_class, encode_pointer, really_start_method,
15786         gen_declaration, dump_interface, handle_class_ref, handle_impent):
15787         Constify.
15788         (objc_demangle, objc_printable_name, generate_struct_by_value_array):
15789         Add static prototypes.
15790         (build_objc_string_decl, build_selector_reference_decl,
15791         encode_bitfield, build_class_reference_decl): Remove unused
15792         parameter, all callers changed.
15793         (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
15794         (objc_printable_name): Likewise.  Change second parameter to type int.
15795         (init_objc): Use memcpy, not bcopy, to avoid casts.
15796
15797 Thu Sep  2 21:49:52 1999  Richard Henderson  <rth@cygnus.com>
15798
15799         * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
15800         reg notes on a deleted insn.
15801         * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
15802
15803 Thu Sep  2 20:18:12 1999  Jeffrey A Law  (law@cygnus.com)
15804
15805         * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
15806
15807 Thu Sep  2 22:00:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15808
15809         * stmt.c (expand_asm_operands): Fix index into inout_mode when
15810         reading it.
15811
15812 Thu Sep  2 13:00:48 1999  Richard Henderson  <rth@cygnus.com>
15813
15814         * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
15815         * tm.texi (MD_ASM_CLOBBERS): Document it.
15816
15817 Thu Sep  2 10:22:40 1999  Richard Henderson  <rth@cygnus.com>
15818
15819         * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
15820         * except.c (expand_rethrow): Remove unused variable.
15821         * expr.c (do_jump_by_parts_greater_rtx): Likewise.
15822         * flow.c (replace_insns): Likewise.
15823         (create_edge_list, verify_edge_list): Likewise.
15824         * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
15825
15826         * genemit.c (gen_expand): Only emit `operands[N]' decl if there
15827         is special code to run.
15828         (main): Don't define operands to emit_operand.
15829         * genrecog.c (main): Don't emit an empty peephole2_insn function.
15830
15831         * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
15832
15833         * alpha/alpha.h (normal_memory_operand): Declare.
15834         (reg_no_subreg_operand): Declare.
15835         * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
15836
15837 Thu Sep  2 10:19:20 1999  Richard Henderson  <rth@cygnus.com>
15838
15839         * c-parse.in (compstmt_primary_start): New, broken out of first
15840         part of compstmt handling in primary.
15841         (primary): Use it.  Add an error clause.
15842         (compstmt_nostart): Renamed from compstmt; remove all
15843         initial invocations of compstmt_start.
15844         (compstmt): New.
15845
15846 Thu Sep  2 01:35:50 1999  Marc Espie <espie@cvs.openbsd.org>
15847
15848         * protoize.c (gen_aux_info_file):  Let pexecute call choose_temp_base if
15849         needed.
15850
15851 Thu Sep  2 00:43:59 1999  Finn Hakansson  <finn@axis.com>
15852
15853         * combine.c (simplify_shift_const): Remove extra semicolon.
15854         * dwarf2out.c (remove_AT): Likewise.
15855         * expmed.c (expand_mult): Likewise.
15856         * gcov.c (create_program_flow_graph): Likewise.
15857         * reorg.c (mostly_true_jump): Likewise.
15858
15859 Thu Sep  2 00:06:43 1999  Jeffrey A Law  (law@cygnus.com)
15860
15861         * fold-const.c (fold_range_test): Do not try to fold the range
15862         test if the rhs or lhs has side effects.
15863
15864         * combine.c (simplify_rtx): Recognize another case of a synthesized
15865         sign extension.
15866
15867         * varasm.c (mark_constant_pool): When marking indirect references,
15868         only look at SYMBOL_REFs.
15869
15870         * except.c (expand_fixup_region_end): Do not peek at
15871         INSN_UID (node->entry->outer_context) for flag_new_exceptions.
15872
15873 Thu Sep  2 13:52:53 1999  Geoffrey Keating  <geoffk@cygnus.com>
15874
15875         * flags.h: New variables align_loops, align_loops_log,
15876         align_jumps, align_jumps_log, align_labels, align_labels_log,
15877         align_functions, align_functions_log.
15878         * toplev.c: Define them.
15879         (f_options): Handle -falign-* when they have no argument.
15880         (main): Add logic to set variables for -falign-functions,
15881         -falign-jumps, -falign-labels, -falign-loops.
15882         Make it -fsched-verbose=<n> and -finline-limit=<n>.
15883         (display_help): Change help to match options.
15884         * final.c (LABEL_ALIGN): Default to align_labels_log.
15885         (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
15886         (LOOP_ALIGN): Default to align_loops_log.
15887         (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
15888         (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
15889         (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
15890         * varasm.c (assemble_start_function): Handle align_functions.
15891
15892         * config/sparc/sparc.h: Don't declare sparc_align_*.
15893         Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
15894         (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
15895         sparc.c.
15896         (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
15897         it's a promise.
15898         * config/sparc/sparc.c: Delete sparc_align_loops,
15899         sparc_align_jumps, sparc_align_funcs and the corresponding string
15900         variables.
15901         (sparc_override_options): Default align_functions on ultrasparc.
15902         Delete -malign-* handling.
15903
15904         * config/mips/mips.c (override_options):  On 64-bit targets,
15905         try to align code to 64-bit boundaries.
15906         (print_operand): New substitution, %~,
15907         which aligns labels to align_labels_log.
15908         * config/mips/mips.md (div_trap_normal): Use %~.
15909         (div_trap_mips16): Likewise.
15910         (abssi): Likewise.
15911         (absdi2): Likewise.
15912         (ffssi2): Likewise.
15913         (ffsdi2): Likewise.
15914         (ashldi3_internal): Likewise.
15915         (ashrdi3_internal): Likewise.
15916         (lshrdi3_internal): Likewise.
15917         (casesi_internal): Likewise.
15918
15919 Wed Sep  1 21:13:48 1999  Richard Henderson  <rth@cygnus.com>
15920
15921         Merge new ia32 backend from the branch!
15922
15923         * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
15924         See ChangeLog.P2 on new_ia32_branch for details.
15925
15926         * rtl.h (stack_regs_mentioned_p): Delete prototype.
15927         * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
15928         * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
15929         * i386/gas.h (ASM_FILE_START): Define.
15930         * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
15931         for name change of ix86_valid_decl_attribute_p.
15932         (i386_pe_valid_type_attribute_p): Similarly.
15933
15934 Wed Sep  1 18:21:23 1999  Richard Henderson  <rth@cygnus.com>
15935
15936         * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
15937         to step through CC modes.
15938
15939 Wed Sep  1 20:18:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
15940
15941         * regmove.c (fixup_match_1): Don't move INSN in front of P if
15942         it would end up in the shadow of a live flags regsiter.
15943
15944 Wed Sep  1 11:32:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
15945
15946         * reload1.c: Fix many indentation problems.
15947         * reload.c: Likewise.
15948
15949 Tue Aug 31 22:08:03 1999  Marc Espie <espie@cvs.openbsd.org>
15950
15951         * alias.c (non_local_reference_p): Constify fmt.
15952
15953 Tue Aug 31 23:19:35 1999  Michael Meissner  <meissner@cygnus.com>
15954
15955         * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
15956
15957 Tue Aug 31 16:44:52 1999  Jeffrey A Law  (law@cygnus.com)
15958
15959         * cse.c (delete_trivially_dead_insns): Do not delete stores to
15960         the internal_arg_pointer.
15961
15962 Tue Aug 31 13:35:42 1999  Richard Henderson  <rth@cygnus.com>
15963
15964         Merge peephole2 from new_ia32_branch:
15965         * Makefile.in (STAGESTUFF): Add *.peephole2.
15966         (mostlyclean): Likewise.
15967         (recog.o): Depend on resource.h.
15968
15969         * final.c (peephole): Conditionalize decl on HAVE_peephole.
15970         (final_scan_insn): Likewise for the invocation of peephole.
15971         * genconfig.c (main): Look for peephole and peephole2 patterns.
15972         Emit HAVE_peephole* accordingly.
15973         * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
15974         * flags.h (flag_peephole2): Declare.
15975         * toplev.c: New pass peephole2.  New flag -fpeephole2.
15976
15977         * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
15978         * gencodes.c (main): Likewise.
15979         * genextract.c (main): Likewise.
15980         * genoutput.c (main): Likewise.
15981         * genemit.c (max_operand_1): Look for the max scratch operand.
15982         (gen_rtx_scratch): New.
15983         (gen_exp): Use it, and pass on new arg subroutine_type.
15984         (gen_expand): Take max scratch into account.
15985         (gen_split): Emit peephole2 functions.
15986         (output_peephole2_scratch): New.
15987         (main): Include hard-reg-set.h and resource.h.  Handle peephole2.
15988         * genrecog.c (routine_type): Add PEEPHOLE2.
15989         (IS_SPLIT): New.
15990         (make_insn_sequence): Match outer parallel for peep2.  Discard
15991         top level scratches and dups.
15992         (add_to_sequence): New args insn_type and top.  Update all callers.
15993         Handle toplevel peep2 matching insns.
15994         (write_subroutine): Handle peep2.
15995         (write_tree_1): Likewise.
15996         (write_tree): Likewise.
15997         (main): Likewise.
15998         (change_state): New arg afterward.  Update all callers.
15999         Handle matching separate insns.
16000         * recog.c (recog_next_insn): New.
16001         (peephole2_optimize): New.
16002         * rtl.def (DEFINE_PEEPHOLE2): New.
16003         * resource.c (find_free_register): New argument last_insn.  Use it
16004         to find a register available through the entire span.
16005         * resource.h (find_free_register): Update prototype.
16006
16007 Tue Aug 31 11:51:06 1999  Jim Kingdon  <http://developer.redhat.com>
16008
16009         * i386.c (output_strlen_unroll): Don't write xops[7]
16010         label if it wasn't set.
16011
16012 1999-08-31 12:44 -0700  Zack Weinberg  <zack@bitmover.com>
16013
16014         * cpplib.c (struct directive): Const-ify name pointer and
16015         function pointer prototype.
16016         (validate_else, do_define, do_line, do_include, do_undef,
16017         do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
16018         do_elif, do_endif, do_sccs, do_assert, do_unassert,
16019         do_warning): Const-ify second arg.
16020         (directive_table): Mark const.  Reorder entries by frequency
16021         of usage, record statistics.
16022
16023 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
16024
16025         * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
16026         bounds- check RTL accesses if --enable-checking.
16027         (RTVEC_ELT): Bounds check if --enable-checking.
16028         (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
16029         XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
16030         (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
16031         GET_NUM_ELEM.
16032         (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
16033         X0BBDEF, X0ADVFLAGS):  New macros for accessing '0' slots of RTXes.
16034
16035         (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
16036         (NOTE_SOURCE_FILE): Use X0STR.
16037         (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
16038         MEM_ALIAS_SET): Use X0INT.
16039         (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
16040         JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
16041         Use X0EXP.
16042         * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
16043         * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
16044         (rtl_check_failed_bounds, rtl_check_failed_type1,
16045         rtl_check_failed_type2, rtvec_check_failed_bounds): New
16046         functions.
16047         (fancy_abort): Fix comment.
16048
16049         * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
16050         (cse_insn): Decrement LABEL_NUSES for jump target before
16051         deleting jump insn.
16052         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
16053         * final.c (alter_subreg): Compute regno before changing x to
16054         REG; set REGNO(x) after changing it.
16055         * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
16056         notes containing CONST_INTs.
16057         (delete_eh_regions): Use NOTE_EH_HANDLER.
16058         * function.c (put_reg_into_stack): Make reg a MEM before
16059         initializing it.
16060         (fixup_var_refs_insns):  Save REG_NOTES (insn) in case we
16061         delete insn.
16062         (gen_mem_addressof): Make reg a MEM before initializing it.
16063         * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
16064         X0WINT.
16065         * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
16066         deleting an insn, not after.
16067         (block_alloc): Only look at PATTERN(insn) if we have to, and
16068         only if it's format class 'i'.
16069         * loop.c (check_dbra_loop): Check bl->biv->add_val is a
16070         CONST_INT before using its INTVAL.
16071         * print-rtl.c (print_rtx): Use X0STR.
16072         * regmove.c (fixup_match_1): Don't look at PATTERN of
16073         non-class-'i' insn chain elements.
16074         * reload.c (loc_mentioned_in_p): Take address of
16075         in->fld[1].rtx directly.
16076         * reload1.c (reload): Change reg to a MEM before initializing
16077         it.
16078         * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
16079         have no names.
16080         * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
16081
16082 Fri Aug 20 13:43:41 1999  Andrew Haley  <aph@cygnus.com>
16083
16084         * config/mips/mips.c (machine_dependent_reorg): Force a
16085         barrier to output the local constant pool if a barrier hasn't
16086         been found at a natural point in the instruction stream.
16087
16088 Mon Aug 30 22:04:36 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16089
16090         * c-parse.in (language_string): Constify.
16091
16092         * dwarf2out.c (language_string): Remove declaration.
16093
16094         * dwarfout.c (language_string): Likewise.
16095
16096         * toplev.c (language_string, init_parse, finish_parse): Likewise.
16097
16098         * tree.h (language_string, init_parse, finish_parse): Declare.
16099
16100         * i386/sun386.h (language_string): Remove declaration.
16101
16102         * mips.h (language_string): Likewise.
16103
16104         * nextstep.h (language_string): Likewise.
16105
16106         * nextstep21.h (language_string): Likewise.
16107
16108         * rs6000.c (language_string): Likewise.
16109
16110 Mon Aug 30 20:56:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16111
16112         * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
16113         (getpwd.o): Remove target.
16114
16115         * getpwd.c: Delete file.  Its in libiberty now.
16116
16117         * dbxout.c (getpwd): Don't prototype.
16118         * dwarf2out.c (getpwd): Likewise
16119         * dwarfout.c (getpwd): Likewise
16120         * final.c (getpwd): Likewise.
16121         * protoize.c (getpwd): Likewise.
16122
16123 Mon Aug 30 20:21:34 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16124
16125         * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
16126
16127 Mon Aug 30 16:07:49 1999  Richard Henderson  <rth@cygnus.com>
16128
16129         * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
16130         mark_set_resources.
16131
16132 Mon Aug 30 12:23:53 1999  Jim Wilson  <wilson@cygnus.com>
16133
16134         * fixinc/Makefile.in (subdir): New.
16135         (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
16136         (Makefile): New.
16137
16138 Mon Aug 30 01:02:09 1999  Jeffrey A Law  (law@cygnus.com)
16139
16140         * emit-rtl.c (copy_rtx_if_shared): A MEM which references
16141         virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
16142         be shared.
16143
16144         * invoke.texi: Fix typo.
16145
16146         * dwarf2out.c (mem_loc_descriptor): New argument MODE.  All callers
16147         changed.  Handle autoincrement addressing modes.
16148
16149         * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
16150         just like we would the virtual incoming args register when
16151         integrating.
16152
16153 Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
16154
16155         * rs6000.h (ASM_FILE_START): Specify complete filename, including
16156         path, in .file directive.
16157
16158 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
16159
16160         * gcc.texi (External Bugs): Remove obsolete note about Perl on
16161         SunOS.
16162
16163 1999-08-29 08:38 -0700  Zack Weinberg  <zack@bitmover.com>
16164
16165         * stdbool.h: Make the typedef name _Bool, with bool a #defined
16166         alias.
16167
16168 Sun Aug 29 09:36:50 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16169
16170         * tree.c (tree_code_name): Constify a char*.
16171
16172         * tree.h (tree_code_name, decl_printable_name): Likewise.
16173
16174         * function.h (struct function): Likewise.
16175
16176         * toplev.c (decl_name, decl_printable_name): Likewise.
16177
16178         * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
16179
16180         * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
16181         (init_objc): Remove function pointer cast.
16182
16183 Sun Aug 29 05:01:17 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
16184
16185         * pa.md (interspace_jump): New pattern.
16186         (builtin_longjmp): New expander.
16187
16188 1999-08-29  Bernd Schmidt  <bernds@cygnus.co.uk>
16189
16190         * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
16191         _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
16192         sf_to_df, df_to_sf): Fix potential problem with alias analysis.
16193
16194 Sun Aug 29 04:30:52 1999  John Wehle  (john@feith.com)
16195
16196         * jump.c (delete_prior_computation): Also check calls
16197         to constant functions.  Don't bother checking for a
16198         REG_UNUSED note before adding it.
16199         (delete_computation): Handle multi-word hard registers
16200         when synthesizing missing REG_DEAD notes for a register
16201         which is both set and used by an insn.
16202
16203 1999-08-29  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
16204
16205         * loop.c (this_loop_info): New variable.
16206         (loop_has_call, loop_has_volatile, loop_has_tablejump,
16207         loop_continue, loops_enclosed): Replace with fields in this_loop_info.
16208         All uses updated.
16209         (prescan_loop, strength_reduce): New argument loop_info.  All callers
16210         updated.
16211         (scan_loop): New variable loop_info, initialise to address of
16212         this_loop_info.
16213         (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
16214         Delete variable loop_has_multiple_exit targets and replace with
16215         field in this_loop_info.
16216         (find_and_verify_loops): Rename this_loop to this_loop_num.
16217         (strength_reduce): Delete loop_iteration_info.  Replace variable
16218         loop_info with function argument of same name.
16219         (insert_bct): Rework test for loop being completely unrolled.
16220
16221         * loop.h (struct loop_info): New fields num, loops_enclosed,
16222         has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
16223         has_indirect_jump, and cont.  Redefine use of unroll_number.
16224         (loop_unroll_number): Delete.
16225
16226         * unroll.c (unroll_loop): Store loop unroll count in unroll_number
16227         field of loop_info.
16228         (loop_iterations): Delete variable vtop and instead use
16229         loop_info->vtop computed in prescan_loop.
16230
16231 Sun Aug 29 03:27:23 1999  Scott Weikart <scott@igc.apc.org>
16232
16233         * fix-header.c (main): Do not pass a null pointer to strcmp.
16234
16235 Sun Aug 29 03:18:48 1999  William Bader  (william@nscs.fast.net)
16236
16237         * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
16238         filenames.
16239         * configure: Rebuilt.
16240
16241 Sat Aug 28 19:36:05 1999  Jeffrey A Law  (law@cygnus.com)
16242
16243         * jump.c (jump_optimize_1): Do not delete assignments to
16244         internal_arg_pointer.
16245         * cse.c (delete_trivially_dead_insns): Always consider a set of
16246         the internal_arg_pointer live.
16247
16248 Sat Aug 28 16:24:31 1999  Richard Henderson  <rth@cygnus.com>
16249
16250         * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
16251         (update_life_info) [REG_WAS_0]: Search the original insns rather
16252         than the new insns for the note.  Fix typos finding note_dest.
16253         If no dest found, discard the note rather than abort.
16254         [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
16255         (replace_insns): Remove the old insn list after update_life_info
16256         not before.
16257
16258 Sat Aug 28 16:20:12 1999  Richard Henderson  <rth@cygnus.com>
16259
16260         * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
16261         sched_analyze_insn.
16262         (sched_analyze_1): Let add_dependence care for not adding dups.
16263         (sched_analyze_2): Likewise.
16264         (add_branch_dependences): Likewise.
16265
16266 Sat Aug 28 15:58:16 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16267
16268         * i386/winnt.c (export_list): New type.
16269         (exports_head): Rename to
16270         (export_head):  this.
16271         (i386_pe_record_exported_symbol): Add is_data flag.
16272         (i386_pe_asm_file_end): Emit directive for exported variables.
16273         * i386/cygwin.h (i386_pe_record_exported_symbol): Update
16274         prototype.
16275         * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
16276         (ASM_DECLARE_OBJECT_NAME): Likewise.
16277         (ASM_DECLARE_FUNCTION_NAME): Likewise.
16278         * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
16279
16280 Fri Aug 27 15:35:24 1999  Jeffrey A Law  (law@cygnus.com)
16281
16282         * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
16283
16284         * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
16285         operand.
16286
16287 Fri Aug 27 14:01:19 1999  Marc Espie <espie@cvs.openbsd.org>
16288
16289         * config/openbsd.h: Define SET_ASM_OP.
16290         * tm.texi: cross-reference SET_ASM_OP in the index.
16291
16292 1999-08-27 13:27 -0700  Zack Weinberg  <zack@bitmover.com>
16293
16294         * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
16295         for a CONST_DOUBLE, at compile time.  Initialize rtx_length
16296         and class_narrowest_mode at compile time.  Kill init_rtl.
16297         Mark rtx_length, mode_class, mode_size, mode_unit_size,
16298         mode_wider_mode, mode_mask_array, class_narrowest_mode, and
16299         rtx_format as const.  Kill all references to EXTRA_CC_MODES or
16300         EXTRA_CC_NAMES.
16301         * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
16302         format.
16303         * rtl.h: Declare rtx_length and rtx_format as const.
16304         * machmode.def: Define CC().  Use CC() to define CCmode.  If
16305         EXTRA_CC_MODES is defined, expand it here.
16306         * machmode.h: Declare mode_class, mode_size, mode_unit_size,
16307         mode_wider_mode, mode_mask_array, and class_narrowest_mode as
16308         const.  Kill all references to EXTRA_CC_MODES.
16309
16310         * toplev.c: Don't prototype or call init_rtl.
16311         * optabs.c: Don't call init_mov_optab.
16312         * genemit.c: Don't generate init_mov_optab.  Don't call
16313         init_rtl.
16314         * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
16315         here.
16316         * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
16317         genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
16318         genrecog.c: Don't call init_rtl.
16319
16320         * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
16321         rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES.  Use CC() in
16322         definition of EXTRA_CC_MODES.
16323
16324         * md.texi: Kill ref to EXTRA_CC_NAMES.
16325         * tm.texi: Document new way to define EXTRA_CC_MODES.
16326
16327         * genrecog.c: Do not look up the name of a define_split.
16328         (Unrelated bugfix.)
16329
16330 Fri Aug 27 17:03:42 1999  Nick Clifton  <nickc@cygnus.com>
16331
16332         * config/v850/v850.md: Fix typo introduced by previous delta.
16333
16334 Fri Aug 27 09:48:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16335
16336         * gcc.c (fatal): Make definition static to match prototype.
16337
16338 Fri Aug 27 10:33:35 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16339
16340         * combine.c (get_last_value): Don't look for earlier sets if the last
16341         known set is somewhere in between the insns being combined.
16342
16343 Fri Aug 27 10:03:12 BST 1999  Nathan Sidwell  <nathan@acm.org>
16344
16345         * configure.in: Don't use shell ! to negate exit codes
16346         * configure: Regenerate
16347
16348 Fri Aug 27 09:36:17 1999  Andreas Schwab  <schwab@suse.de>
16349
16350         * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
16351         the fact that ALIGN is measured in bits, not bytes.
16352
16353 1999-08-27 00:27 -0700  Zack Weinberg  <zack@bitmover.com>
16354
16355         * errors.c: New file; defines functions error, warning, and
16356         fatal, variables have_error and progname.
16357         * errors.h: New file; prototypes and decls for stuff in errors.c.
16358
16359         * Makefile: Add rules to build errors.o and
16360         $(HOST_PREFIX)errors.o.  Link genconfig, gencodes, genemit,
16361         genopinit, genrecog, genextract, genpeep, genattr, and
16362         genoutput with errors.o.  Add errors.h to deps of genconfig.o,
16363         gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
16364         genpeep.o, genattr.o, and genoutput.o.
16365
16366         * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
16367         genextract.c, genpeep.c, genattr.c:  Include errors.h.  Don't
16368         define or prototype fatal.  Set progname at beginning of main.
16369         * genoutput.c:  Likewise, and don't define or prototype error
16370         either.
16371
16372         * c-typeck.c (c_expand_start_case): Return immediately if exp
16373         is an ERROR_MARK.
16374         * fold-const.c (operand_equal_p): Return immediately if arg1
16375         or arg0 are ERROR_MARKs.
16376         * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
16377         fields of type ERROR_MARK when calculating if the record can
16378         go in a register.
16379
16380 Fri Aug 27 01:03:48 1999  Jim Kingdon  <http://developer.redhat.com>
16381         with much help from Jeffrey A Law and Richard Henderson
16382
16383         * i386.md: In the 6 insns which call output_fix_trunc,
16384         earlyclobber operands[0].
16385
16386 Fri Aug 27 01:01:51 1999  Philip Blundell  <pb@nexus.co.uk>
16387
16388         * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
16389         creating new registers.
16390
16391 1999-08-26 23:09 -0700  Zack Weinberg  <zack@bitmover.com>
16392
16393         * i386.h: Declare ix86_cpu_string, ix86_arch_string,
16394         i386_reg_alloc_order, i386_regparm_string,
16395         i386_align_loops_string, i386_align_jumps_string,
16396         i386_align_funcs_string, i386_preferred_stack_boundary_string,
16397         and i386_branch_cost_string as type "const char *".
16398         * i386.c: Define all above strings as type "const char *".
16399
16400 Thu Aug 26 20:36:30 1999  Jim Wilson  <wilson@cygnus.com>
16401
16402         * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
16403         when emitting alignment padding.  Emit padding byte of 0 instead of 4.
16404
16405 Thu Aug 26 18:11:20 1999  Mark Mitchell  <mark@codesourcery.com>
16406
16407         * tree.c (array_type_nelts): Don't create RTL_EXPRs from
16408         SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
16409
16410 Thu Aug 26 19:33:23 1999  Jim Wilson  <wilson@cygnus.com>
16411
16412         * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
16413         (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
16414         (dwarf2out_line, dwarf2out_finish): Likewise.
16415         * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
16416
16417 Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16418
16419         * tree.c (lang_unsave_expr_now) : Correct return type.
16420         * tree.h (lang_unsave_expr_now) : Same.
16421
16422 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
16423
16424         * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
16425         instead of duplicating code.
16426
16427 Thu Aug 26 18:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16428
16429         * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
16430
16431 1999-08-26 09:42 -0700  Zack Weinberg  <zack@bitmover.com>
16432
16433         * tree.h: fancy_abort always takes three args.
16434         * resource.c: Move include of system.h before toplev.h.
16435
16436 Thu Aug 26 09:46:16 1999  Nick Clifton  <nickc@cygnus.com>
16437
16438         * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
16439         as SYMBOL_REFs.
16440
16441 1999-08-25 22:10 -0700  Zack Weinberg  <zack@bitmover.com>
16442
16443         * system.h: Don't redefine abort or trim_filename.
16444         * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
16445         or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
16446         whether or not __FUNCTION__ is available.
16447         * tree.h: Duplicate rtl.h's definition of abort, for files
16448         that don't include rtl.h.  Delete all code to perform type
16449         checking with a compiler other than GCC.
16450         * varray.h: Delete all code to perform type checking with a
16451         compiler other than GCC.  Make VARRAY_CHECK() always evaluate
16452         its arguments exactly once, using a statement expression.
16453         Adjust the VARRAY_<type> accessor macros to match.
16454         * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
16455         (_fatal_insn, _fatal_insn_not_found): New fns, take info on
16456         caller's location.  Define fatal_insn and fatal_insn_not_found
16457         as macros that use _fatal_insn and _fatal_insn_not_found.
16458         (fancy_abort, trim_filename): Kill prototypes.
16459
16460         * rtl.c (trim_filename): Move here from toplev.c.
16461         (fancy_abort): New function.
16462         (DIR_SEPARATOR): Provide default definition.
16463         * tree.c (tree_check_failed, tree_class_check_failed): Go
16464         through fancy_abort.
16465         (tree_check, tree_class_check, cst_or_constructor_check,
16466         expr_check): Delete.
16467         * varray.c (varray_check_failed): New function.
16468         * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
16469         _fatal_insn and _fatal_insn_not_found.  Go through
16470         fancy_abort.
16471         (trim_filename, fancy_abort): Delete.
16472
16473         * builtins.c (expand_builtin_args_info): Report ICE with abort.
16474         * except.c (start_catch_handler): Report ICE with error/abort
16475         combo.
16476         * final.c (output_operand_lossage): Likewise.
16477         * flow.c (verify_flow_info): Likewise.
16478
16479         * gcc.c: Prototype fatal.
16480         * gengenrtl.c: Undef abort after including rtl.h not system.h.
16481         * genattr.c, genattrtab.c, genemit.c, genextract.c,
16482         genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
16483         Don't define fancy_abort.
16484
16485 Wed Aug 25 17:56:59 1999  Richard Henderson  <rth@cygnus.com>
16486
16487         * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
16488         canonization.
16489
16490 Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>
16491
16492         * m88k.h (VERSION_INFO2): Kill.
16493         (VERSION_STRING): Kill.
16494         (TM_RCS_ID): Kill.
16495         (VERSION_INFO1): Tidy.
16496         (TARGET_VERSION): Update.
16497         * m88k/dgux.h (VERSION_INFO2): Kill.
16498         (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
16499         * m88k/luna.h (VERSION_INFO1): Tidy.
16500         * m88k/sysv4.h (VERSION_INFO1): Likewise.
16501         * m88k.c (out_rcs_id, tm_rcs_id): Kill.
16502         (output_file_start): Adjust for death of VERSION_STRING.
16503
16504 1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>
16505
16506         * cpplib.c (detect_if_not_defined): New function.
16507         (do_if): Use it to detect potential once-only headers.
16508
16509 Wed Aug 25 14:00:18 1999  Jason Merrill  <jason@yorick.cygnus.com>
16510
16511         * c-common.c (combine_strings): Always set TREE_CONSTANT.
16512
16513 Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
16514
16515         * combine.c (nonzero_bits) : Allow single-ly set registers to be
16516         anywere in the function only if they are pseudos and set before
16517         being used (not live at the start of the function).
16518         (num_sign_bit_copies) : Same.
16519         (get_last_value_validate) : Same.
16520         (get_last_value) : Same.
16521
16522 Wed Aug 25 11:13:29 1999  Richard Henderson  <rth@cygnus.com>
16523
16524         * loop.c (express_from): Try harder to unify (* c N) and (* c M)
16525         where N and M are constant and N is an integer multiple of M.
16526
16527 Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16528
16529         * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
16530         (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
16531         sbitmap_union_of_preds): Add prototypes.
16532         * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
16533         the intersection of successors with the new flow graph structures.
16534         (sbitmap_intersection_of_preds): New function to compute the
16535         intersection of predecessors with the new flow graph structures.
16536         (sbitmap_union_of_succs): New function to compute the union of
16537         successors with the new flow graph structures.
16538         (sbitmap_union_of_preds): New function to compute the union of
16539         predecessors with the new flow graph structures.
16540         * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
16541         (expr_reaches_here_p): Use edge and basic_block structures instead
16542         of s_preds and s_succs.
16543         (compute_cprop_avinout): Use new sbitmap routines.
16544         (pre_expr_reaches_here_p): Use edge and basic_block structures instead
16545         of s_preds and s_succs.
16546         * flow.c (compute_flow_dominators): Compute dominators using
16547         edges and basic blocks instead of s_preds and s_succs.
16548
16549 Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
16550
16551         * lists.c (unused_insn_list, unused_expr_list): New file for
16552         maintaining various types of lists. New statics for maintaining a
16553         cache of available INSN_LIST and EXPR_LIST nodes.
16554         (free_list): Static function for freeing a list of INSN/EXPR nodes.
16555         (alloc_INSN_LIST): Function to get a free INSN_LIST node.
16556         (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
16557         (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
16558         (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
16559         (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
16560         (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
16561         (free_INSN_LIST_node): Free an individual INSN_LIST node.
16562         * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
16563         (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
16564         (remove_dependence, free_pending_lists): Use new global routines.
16565         (flush_pending_lists, sched_analyze_insn): Use new global routines.
16566         (sched_analyze, compute_block_backward_dependences): Use new routines.
16567         (sched_analyze_1, sched_analyze_2): Use new routines.
16568         (schedule_insns): Use new global routines.
16569         * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
16570         prototypes.
16571         (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
16572         (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
16573         prototypes.
16574         * toplev.c (rest_of_compilation): Initialize node cache.
16575         * Makefile.in (OBJS): Add lists.o to list of object files.
16576         (lists.o): Add dependancies.
16577
16578 Wed Aug 25 17:31:56 1999  Nick Clifton  <nickc@cygnus.com>
16579
16580         * config/v850/v850.md: Fix compile time warning messages.
16581         * config/v850/v850.c: Fix compile time warning messages.
16582         * config/v850/v850.h: Fix compile time warning messages.
16583
16584 Wed Aug 25 09:44:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16585
16586         * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
16587         Remove unused prototype for `init_lengths'.
16588
16589 Wed Aug 25 09:32:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16590
16591         * calls.c (emit_call_1): Mark parameter `stack_size' with
16592         ATTRIBUTE_UNUSED.
16593         (expand_call): Initialize variable `insn'.
16594         (emit_library_call): Likewise for variable `high_to_save'.
16595         (emit_library_call_value): Likewise.
16596         (store_one_arg): Likewise for variables `lower_bound' and
16597         `upper_bound'.
16598
16599         * combine.c (try_combine): Likewise for variables `i2_code_number'
16600         and `other_code_number'.
16601         (find_split_point): Likewise for variables `pos', `unsignedp' and
16602         `inner'.
16603         (simplify_if_then_else): Likewise for variables `op' and `c1'.
16604         (simplify_and_const_int): Remove unused variable `width'.
16605         (merge_outer_ops): Likewise.
16606
16607         * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
16608         HOST_WIDE_INT' when comparing against one.
16609         (simplify_relational_operation): Likewise.
16610         (cse_insn): Initialize variables `src_eqv_volatile',
16611         `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
16612
16613         * final.c (init_final): Constify parameter `filename'.
16614         (final_start_function): Mark parameter `optimize' with
16615         ATTRIBUTE_UNUSED.
16616         (profile_function): Likewise for parameters `first' and `optimize'.
16617         (output_source_line): Likewise for parameter `file'.
16618
16619         * integrate.c (subst_constants): Cast a value to `size_t' when
16620         comparing against one.
16621         (mark_stores): Initialize variable `mode'.  Cast a value to
16622         `size_t' when comparing against one.
16623
16624         * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
16625
16626         * loop.c (move_movables): Initialize variable `first'.
16627         (strength_reduce): Likewise for variable `increment'.
16628         (check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
16629         value to `size_t' when comparing against one.
16630         (load_mems): Initialize variable `end_label'.
16631
16632         * output.h (init_final): Constify parameter.
16633
16634         * reload.c (decompose): Initialize variable `base'.
16635
16636         * reload1.c (reload): Likewise for variable `is_scalar'.
16637         (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
16638         (choose_reload_regs): Initialize variable `mode'.
16639         (emit_reload_insns): Likewise for variable `store_insn'.
16640         (reload_cse_noop_set_p): Mark parameter `insn' with
16641         ATTRIBUTE_UNUSED.
16642         (reload_combine): Initialize variable `set'.
16643
16644         * unroll.c (unroll_loop): Likewise for variable `local_label'.
16645         (copy_loop_body): Cast a value to `size_t' when comparing against
16646         one.
16647
16648         * varasm.c (assemble_variable): Initialize variable `size_tree'.
16649         (const_hash): Add an `else abort()' in an if-else-if-else sequence.
16650         (remove_from_pending_weak_list): Mark parameter `name' with
16651         ATTRIBUTE_UNUSED.
16652
16653 Wed Aug 25 11:18:39 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16654
16655         * toplev.c (rest_of_compilation): Use decl_printable_name when opening
16656         gcse dump file.
16657
16658 Wed Aug 25 10:57:12 1999  Nick Clifton  <nickc@cygnus.com>
16659
16660         * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
16661         (ASM_DECLARE_FUNCTION_NAME): Define.
16662         (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
16663         ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
16664         ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
16665         not already defined.
16666
16667 Wed Aug 25 01:36:11 1999  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16668
16669         * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
16670         of n_popped when call/call_value are not defined.
16671
16672 Wed Aug 25 01:25:14 1999  Jeffrey A Law  (law@cygnus.com)
16673
16674         * tm.texi: GNU CC -> GCC conversion.
16675         (CC1_SPEC): Indicate it is used for all language front ends.
16676
16677 Tue Aug 24 23:43:03 1999  Mark Mitchell  <mark@codesourcery.com>
16678
16679         * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
16680         NOTE_INSN_EH_REGION_END correctly.
16681
16682 Tue Aug 24 23:26:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
16683                           Jeff Law <law@cygnus.com>
16684
16685         * loop.c (strength_reduce): Automatically unroll loops if the
16686         unrolled loop size is smaller than the rolled loop size.
16687
16688         * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
16689         and delete comment that code should be rewritten.
16690
16691 Tue Aug 24 22:56:35 1999  Jeffrey A Law  (law@cygnus.com)
16692
16693         * haifa-sched.c (find_rgns): Mark a block found during the DFS search
16694         as reachable.
16695
16696         * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
16697
16698 Tue Aug 24 22:41:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
16699
16700         * fixinc/mkfixinc.sh: Don't fix uwin headers.
16701         * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
16702         (LINK_SPEC): Add -u _main when building executables.
16703         (ASM_DECLARE_FUNCTION): Update from Cygwin.
16704         (ASM_FILE_END): Use the default for ix86-pe.
16705         * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
16706
16707 Tue Aug 24 20:49:47 1999  Art Haas  <ahaas@neosoft.com>
16708
16709         * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
16710         and ASM_CLOSE_PAREN are empty strings.
16711
16712 Wed Aug 25 12:46:22 1999  Fred Fish  <fnf@cygnus.com>
16713                           Geoffrey Keating <geoffk@cygnus.com>
16714
16715         * Makefile.in (PREPROCESSOR_DEFINES): New macro.
16716         (protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
16717         (unprotoize.o): Ditto.
16718         (test-protoize-simple): Don't define STD_PROTO_DIR.
16719         * protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
16720         changes to make 'test-protoize-simple' pass.
16721         (STD_PROTO_DIR): Remove define.
16722         (STANDARD_EXEC_PREFIX): Supply default define.
16723         (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
16724         (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
16725         (target_version): New variable, init to DEFAULT_TARGET_VERSION.
16726         (GET_ENV_PATH_LIST): New macro.
16727         (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
16728         (do_processing): Initialize default_syscalls_dir using new
16729         macros.  Use it to initialize syscalls_absolute_filename.
16730
16731 Tue Aug 24 16:58:15 1999  Richard Henderson  <rth@cygnus.com>
16732
16733         * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
16734         B into a register before emit_conditional_move.
16735
16736 Tue Aug 24 15:37:03 1999  Richard Henderson  <rth@cygnus.com>
16737
16738         * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
16739         as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
16740         multiplicand out of (+ (* a b) (* c d)).
16741
16742 Tue Aug 24 11:46:10 1999  Bob Manson <manson@cygnus.com>
16743                           Richard Henderson  <rth@cygnus.com>
16744
16745         * haifa-sched.c (split_hard_reg_notes): Move to flow.c
16746         (new_insn_dead_notes): Likewise.
16747         (update_n_sets): Likewise.
16748         (update_flow_info): Move to flow.c, renamed to update_life_info;
16749         extend to handle multiple source insns.
16750         * flow.c: Include resource.h
16751         (unlink_insn_chain): New.
16752         (split_hard_reg_notes): New.
16753         (maybe_add_dead_note): New.
16754         (maybe_add_dead_note_use): New.
16755         (find_insn_with_note): New.
16756         (new_insn_dead_notes): New.
16757         (update_n_sets): New.
16758         (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
16759         (maybe_remove_dead_notes): New.
16760         (update_life_info): New.
16761         (prepend_reg_notes): New.
16762         (replace_insns): New.
16763         * output.h (update_life_info): Declare.
16764         * recog.c (split_block_insns): Use update_life_info.
16765         * resource.c (find_free_register): Use reg_alloc_order, don't use
16766         fixed regs, make sure the mode is supported, don't use new regs.
16767         (reg_dead_p): New.
16768         * rtl.h (replace_insns): Declare.
16769
16770 Tue Aug 24 13:48:39 1999  Nathan Sidwell  <nathan@acm.org>
16771
16772         * expr.c (expand_expr): Cope with COND_EXPRs with one
16773         non-returning branch.
16774
16775 Mon Aug 23 22:28:16 1999  Mark Mitchell  <mark@codesourcery.com>
16776
16777         * expr.c (store_expr): Always pass down the target, even when not
16778         doing CSE.
16779
16780 1999-08-24  Nick Clifton  <nickc@cygnus.com>
16781
16782         * configure.in: Define target_cpu_default for v850 targets.
16783         * configure: Regenerate
16784
16785         * config/v850/v850.h (TARGET_CPU_generic): Define.
16786         (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
16787         addresses are 4 byte aligned.
16788
16789         * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
16790         addresses.
16791
16792 Tue Aug 24 09:32:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16793
16794         * genattr.c (function_unit_desc): Constify a char*.  Add prototype.
16795         (main): Add prototypes.
16796
16797         * genattrtab.c (substitute_address, write_const_num_delay_slots,
16798         attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
16799         (write_attr_get): Emit prototypes along with function definition.
16800         (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
16801         (write_complex_function): Emit static prototype along with
16802         function definition.
16803
16804         * genemit.c (gen_split): Emit prototypes along with function
16805         definition.
16806
16807         * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
16808         Likewise for predicates and `insn_operand_predicate'.
16809         (process_template): Emit static prototype along with function
16810         definition.
16811
16812         * genrecog.c (make_insn_sequence): Constify a char*.  Add
16813         prototypes for get_split_*().
16814         (write_subroutine): Emit prototypes along with function
16815         definition.
16816
16817 Tue Aug 24 12:35:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16818
16819         * gcse.c (find_avail_set): Follow chains of register-register copies.
16820         Use oprs_not_set_p to guarantee that the returned value can be
16821         substituted.
16822         (cprop_insn): Don't verify the return value of find_avail_set with
16823         oprs_not_set_p.
16824
16825         * gcse.c (cprop_jump): New function, broken out of cprop_insn.
16826         (cprop_cc0_jump): New function.
16827         (cprop_insn): Break out new function cprop_jump and use it.
16828         Also use cprop_cc0_jump for machines with CC0.
16829         (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
16830
16831         * tree.h (current_function_calls_setjmp,
16832         current_function_calls_longjmp): Delete declarations.
16833         * dsp16xx.c: Include "function.h".
16834         * elxsi.c: Likewise.
16835         * gmicro.c: Likewise.
16836         * h8300.c: Likewise.
16837         * i370.c: Likewise.
16838         * m32r.c: Likewise.
16839         * mn10200.c: Likewise.
16840         * mn10300.c: Likewise.
16841         * ns32k.c: Likewise.
16842         * spur.c: Likewise.
16843         * v850.c: Likewise.
16844
16845         * rtl.h (rtx_equal_function_value_matters): Declare.
16846         * toplev.c (rtx_equal_function_value_matters): Don't declare.
16847         * cse.c: Likewise.
16848         * function.c: Likewise.
16849         * emit-rtl.c: Likewise.
16850
16851 Tue Aug 24 02:47:44 1999  Jeffrey A Law  (law@cygnus.com)
16852
16853         * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
16854         call.
16855
16856 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16857
16858         * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
16859         exactly.
16860
16861 Mon Aug 23 23:35:52 1999  Matthias Klose  <doko@cs.tu-berlin.de>
16862
16863         * cpp.texi: Add a node documenting macro varargs (copied
16864         from extend.texi).
16865
16866 1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>
16867
16868         * cppspec.c: Put a null pointer at the end of the new argv.
16869
16870 Mon Aug 23 21:23:24 1999  Jeffrey A Law  (law@cygnus.com)
16871
16872         * configure.in: Remove code to select/de-select the haifa
16873         scheduler.  Every scheduled port gets haifa now.
16874         * configure: Rebuilt.
16875         * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
16876         * sched.c Deleted.
16877         * Makefile.in: Corresponding changes.
16878
16879 Mon Aug 23 16:04:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
16880
16881         * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
16882         All callers changed.
16883         (prepare_float_lib_cmp): Likewise.
16884         Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
16885         * expr.h (emit_float_lib_cmp): Delete declaration.
16886         * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
16887         * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
16888         * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
16889         specially.
16890         (cmptf): Now conditional on TARGET_HARD_QUAD.
16891
16892 Fri Aug 20 17:52:27 1999  Jim Wilson  <wilson@cygnus.com>
16893
16894         * resource.c (mark_target_live_regs): Use
16895         PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
16896
16897 Fri Aug 20 19:07:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16898
16899         * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
16900
16901         * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
16902
16903         * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
16904
16905 Fri Aug 20 18:53:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16906
16907         * rtl.h (rtx_format): Constify a char*.
16908
16909         * rtl.c (rtx_format): Likewise.
16910         (copy_rtx, copy_most_rtx, read_rtx): Likewise.
16911         (init_rtl): Use accessor macro, not `rtx_format'.
16912
16913         * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
16914         char*.
16915
16916         * caller-save.c (mark_referenced_regs): Likewise.
16917
16918         * combine.c (subst, make_compound_operation, known_cond,
16919         gen_rtx_combine, update_table_tick, get_last_value_validate,
16920         use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
16921
16922         * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
16923         refers_to_p, canon_reg, fold_rtx, cse_process_notes,
16924         count_reg_usage): Likewise.
16925
16926         * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
16927         Likewise.
16928
16929         * final.c (leaf_renumber_regs_insn): Likewise.
16930
16931         * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
16932         dump_edge_info, count_reg_references): Likewise.
16933
16934         * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
16935         fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
16936         Likewise.
16937
16938         * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
16939         oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
16940         add_label_notes): Likewise.
16941
16942         * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
16943         clear_struct_flag, count_sub_rtxs, count_alternatives,
16944         compares_alternatives_p, contained_in_p, walk_attr_value,
16945         write_expr_attr_cache): Likewise.
16946
16947         * genconfig.c (walk_insn_part): Likewise.
16948
16949         * genemit.c (max_operand_1, gen_exp): Likewise.
16950
16951         * genextract.c (walk_rtx): Likewise.
16952
16953         * genflags.c (num_operands): Likewise.
16954
16955         * genoutput.c (scan_operands): Likewise.
16956
16957         * genpeep.c (match_rtx): Likewise.
16958
16959         * genrecog.c (add_to_sequence): Likewise.
16960
16961         * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
16962         Likewise.
16963
16964         * integrate.c (save_constants, copy_for_inline,
16965         copy_rtx_and_substitute, subst_constants, restore_constants):
16966         Likewise.
16967
16968         * jump.c  (mark_jump_label, invert_exp, redirect_exp,
16969         rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
16970
16971         * local-alloc.c (contains_replace_regs, memref_referenced_p):
16972         Likewise.
16973
16974         * loop.c (record_excess_regs, rtx_equal_for_loop_p,
16975         add_label_notes, replace_call_address, count_nonfixed_reads,
16976         invariant_p, find_single_use_in_loop, find_mem_givs,
16977         find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
16978         Likewise.
16979
16980         * print-rtl.c (reg_names, print_rtx): Likewise.
16981
16982         * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
16983
16984         * reg-stack.c (stack_regs_mentioned_p, record_label_references,
16985         record_reg_life_pat, swap_rtx_condition, goto_block_pat,
16986         print_blocks): Likewise.
16987
16988         * regclass.c (fix_register, record_address_regs,
16989         reg_scan_mark_refs): Likewise.
16990
16991         * regmove.c (stable_but_for_p): Likewise.
16992
16993         * reload.c (loc_mentioned_in_p, operands_match_p,
16994         find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
16995         copy_replacements, refers_to_regno_for_reload_p,
16996         refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
16997         reload_when_needed_name, reg_class_names, debug_reload_to_stream):
16998         Likewise.
16999
17000         * reload1.c (eliminate_regs, scan_paradoxical_subregs,
17001         delete_address_reloads_1, count_occurrences,
17002         reload_cse_mem_conflict_p, reload_combine_note_use,
17003         add_auto_inc_notes): Likewise.
17004
17005         * resource.c (mark_referenced_resources, mark_set_resources):
17006         Likewise.
17007
17008         * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
17009         reg_mentioned_p, regs_set_between_p, modified_between_p,
17010         modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
17011         rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
17012         may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
17013         jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
17014
17015         * sched.c (sched_analyze_2, attach_deaths): Likewise.
17016
17017         * stupid.c (stupid_mark_refs): Likewise.
17018
17019         * unroll.c (remap_split_bivs): Likewise.
17020
17021         * varasm.c (mark_constants): Likewise.
17022
17023         * a29k/a29k.c (uses_local_reg_p): Likewise.
17024
17025         * alpha/alpha.c (summarize_insn): Likewise.
17026
17027         * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
17028         eliminate_lr2ip): Likewise.
17029
17030         * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
17031
17032         * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
17033         reg_mentioned_in_mem): Likewise.
17034
17035         * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
17036         symbolic_reference_mentioned_p): Likewise.
17037
17038         * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
17039
17040         * sh/sh.c (regs_used, mark_use): Likewise.
17041
17042         * vax/vax.c (vax_rtx_cost): Likewise.
17043
17044 Fri Aug 20 18:38:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17045
17046         * machmode.h (mode_name): Constify a char*.
17047
17048         * rtl.c (mode_name): Likewise.
17049
17050         * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
17051
17052         * optabs.c (init_libfuncs): Constify a char*.
17053
17054         * print-tree.c (mode_name): Remove redundant declaration.
17055         (print_node): Use accessor macro, not `mode_name'.
17056
17057         * reload1.c (dump_needs): Constify a char*.  Use accessor macro,
17058         not `mode_name'.
17059         (new_spill_reg): Constify a char*.
17060
17061         * tree.c (mode_name): Remove redundant declaration.
17062
17063 Fri Aug 20 18:31:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17064
17065         * rtl.c (rtx_name): Constify a char*.
17066
17067         * rtl.h (rtx_name, fix_sched_param): Likewise.
17068
17069         * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
17070         (mypr): Use accessor macro, not `rtx_name'.
17071
17072         * genemit.c (print_code): Constify a char*.
17073
17074         * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
17075
17076         * genpeep.c (print_code): Constify a char*.
17077
17078         * genrecog.c (print_code): Likewise.
17079
17080         * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
17081         end_bb): Add static prototype.
17082         (draw_edge): Constify a char*.
17083         (end_bb): Remove unused parameter.
17084
17085         * haifa-sched.c (fix_sched_param, safe_concat, print_exp
17086         print_block_visualization): Constify a char*.
17087
17088 Fri Aug 20 15:02:10 1999  Mark Mitchell  <mark@codesourcery.com>
17089
17090         * c-common.c (c_get_alias_set): Update comment.
17091
17092 1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
17093
17094         * linux.h (LIB_SPEC): Added.
17095
17096 Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
17097
17098         * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
17099
17100 1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>
17101
17102         * tree.c (expr_check): Fix typo in last change.
17103
17104 1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>
17105
17106         * rtl.def (NOTE): Change format to "iuu0n".
17107         (ADDR_DIFF_VEC): Change format to "eEee0".
17108         (ADDRESSOF): Change format to "eit".
17109
17110         * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
17111         (RTVEC_ELT): Change to match.
17112         (XVECEXP): Use XVEC and RTVEC_ELT.
17113         (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
17114         ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
17115         (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
17116         CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
17117         TRAP_CONDITION, TRAP_CODE): Use XEXP.
17118         (INTVAL): Use XWINT.
17119         (ADDRESSOF_DECL): Use XTREE.
17120         (SET_ADDRESSOF_DECL): Delete.
17121         (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
17122         NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
17123         ifdefed out since 2.6 at least.
17124         (gen_rtvec_vv): Delete prototype.
17125
17126         * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
17127         not rtunion.
17128         (copy_most_rtx): Handle 't' format letter.
17129         * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
17130         (gen_rtvec_vv): Delete function.  All callers changed to use
17131         gen_rtvec_v instead.
17132         * print-rtl.c (print_rtx): Move special casing of NOTEs to
17133         the '0' format letter.
17134
17135         * function.c (gen_mem_addressof): Don't use
17136         SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
17137         instead.
17138         * integrate.c (copy_rtx_and_substitute): Likewise.
17139         Copy 't' slots with XTREE.
17140         (subst_constants): Treat 't' slots like '[swi]' slots.
17141         * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
17142         * jump.c (rtx_equal_for_thread_p): Likewise.
17143         * rtlanal.c (rtx_equal_p): Likewise.
17144         * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
17145         only four arguments.
17146         * gengenrtl.c (type_from_format): Provide correct types for
17147         'b' and 't' slots.
17148
17149
17150         * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
17151         If a recent gcc is in use (always in stage2 and beyond), use
17152         statement expressions, so we don't make a function call unless
17153         the check fails.  Evaluate arguments exactly once.
17154         (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
17155         TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
17156         Delete.
17157         (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
17158         they evaluate their arguments exactly once, irrespective of
17159         the compiler in use.
17160
17161         * tree.c [ENABLE_CHECKING]: Define whichever set of functions
17162         is used by the currently-enabled check macros.  This is:
17163         (tree_check_failed, tree_class_check_failed): For gcc.
17164         (tree_check, tree_class_check, cst_or_constructor_check,
17165         expr_check): For other compilers.
17166
17167         * gencheck.c: Do not define any *_CHECK1 macros.
17168
17169 Thu Aug 19 14:42:38 1999  Mike Stump <mrs@wrs.com>
17170                           Mark Mitchell <mark@codesourcery.com>
17171
17172         * c-common.c (c_get_alias_set): Fix support for poitners and
17173         references.
17174
17175 Thu Aug 19 11:51:22 EDT 1999  John Wehle  (john@feith.com)
17176
17177         * alias.c: Include tree.h.
17178         (nonlocal_reference_p, mark_constant_function): New functions.
17179         * flow.c (life_analysis): Call mark_constant_function.
17180         * rtl.h (mark_constant_function): Declare it.
17181
17182 Thu Aug 19 15:02:01 1999  Nick Clifton  <nickc@cygnus.com>
17183
17184         * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
17185         unrecognisable switches.
17186
17187 Wed Aug 18 23:31:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17188
17189         * loop.c (recombine_givs): Set ix field after sorting.
17190         (recombine_givs): Remove bogus index / giv lockstep looping.
17191
17192 Wed Aug 18 18:20:40 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17193
17194         * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
17195         on CODE.
17196         (emit_store_flag_force): Use do_compare_rtx_and_jump.
17197         (do_cmp_and_jump): Formatting fixes.
17198         * expr.c (do_compare_and_jump): Renamed from compare; changed to call
17199         do_compare_rtx_and_jump instead of compare_from_rtx.
17200         (do_compare_rtx_and_jump): New function; mostly copied from
17201         compare_from_rtx.
17202         (do_jump_for_compare): Delete.
17203         (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
17204         MIN_EXPR.
17205         (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
17206         of compare/do_jump_for_compare pairs.
17207         (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
17208         (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
17209         compare_from_rtx/do_jump_for_compare pairs.
17210         (do_jump_by_parts_equality): Likewise.
17211         (do_jump_by_parts_equality_rtx): Likewise.
17212         * expr.h (do_compare_rtx_and_jump): Declare.
17213         * optabs.c (prepare_cmp_insn): New function, contains most of the code
17214         that used to be in emit_cmp_insn.
17215         (cmp_available_p): New function.
17216         (prepare_operand): New function.
17217         (emit_cmp_and_jump_insn_1): New function, contains some code that used
17218         to be in emit_cmp_insn.
17219         (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
17220         parameters to be pointers; don't emit final compare but modify some of
17221         the values pointed to by the args so the caller can perform the
17222         correct comparison.
17223         (expand_binop): Call emit_store_flag_force with signed forms of
17224         comparison code.
17225         (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
17226         emit_jump_insn pair.
17227         (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
17228         emit_cmp_and_jump_insn_1.  Call emit_queue.
17229         (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
17230         arg.
17231         * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
17232         jump sets cc0 before deleting it.
17233         * integrate.c (expand_inline_function): Likewise.
17234         * unroll.c (unroll_loop): Similar changes in several places.
17235         (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
17236         before deleting it.
17237
17238 Wed Aug 18 06:37:44 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17239
17240         * Makefile.in (insn-recog.o): Update dependencies.
17241         * genrecog.c (main): Make generated file include "function.h".
17242
17243 Sat Aug 14 00:54:57 1999  Geoffrey Keating  <geoffk@cygnus.com>
17244
17245         * cse.c (cse_insn): Call never_reached_warning when a jump is
17246         changed to be unconditional.
17247         * flags.h: Declare warn_notreached.
17248         * flow.c (delete_block): Call never_reached_warning when
17249         a block is deleted.
17250         * jump.c (delete_barrier_successors): Call never_reached_warning
17251         when we delete everything after a BARRIER.
17252         (never_reached_warning): New function.
17253         * rtl.h: Declare never_reached_warning.
17254         * toplev.c (warn_notreached): New variable.
17255         (lang_independent_options): Set warn_notreached
17256         when -Wunreachable-code.
17257         (compile_file): We need line numbers for -Wunreachable-code.
17258
17259 Tue Aug 17 22:06:11 1999  Jan Hubicka  <hubicka@freesoft.cz>
17260
17261         * haifa-sched.c (insn_unit): Fix typo on out of range test.
17262         * sched.c (insn_unit): Likewise.
17263
17264 Tue Aug 17 21:57:23 1999  Andreas Schwab  <schwab@suse.de>
17265
17266         * combine.c (distribute_notes): Handle REG_EH_RETHROW.
17267
17268 Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17269
17270         * flow.c (create_edge_list): Use xmalloc, not malloc.
17271
17272 Tue Aug 17 01:40:54 1999  Loren Rittle  <ljrittle@acm.org>
17273
17274         * fixinc/inclhack.def (no_double_slash): Do not trash single-line
17275         C-style comments.  Do not lose the character before double slash.
17276
17277 Mon Aug 16 18:08:22 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17278
17279         * basic-block.h (struct edge_list): Stucture to maintain a vector
17280         of edges.
17281         (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
17282          INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
17283         (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
17284         New function prototypes.
17285         * flow.c (create_edge_list): Function to create an edge list.
17286         (free_edge_list): Discards memory used by an edge list.
17287         (print_edge_list): Debug output showing an edge list.
17288         (verify_edge_list): Internal consistency check for an edge list.
17289         (find_edge_index): Function to find an edge index for a pred and succ.
17290
17291 Mon Aug 16 11:56:36 1999  Mark Mitchell  <mark@codesourcery.com>
17292
17293         * tree.c (type_hash_add): Use permalloc to allocate nodes in the
17294         hashtable.
17295
17296 Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
17297
17298         * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
17299
17300 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
17301
17302         * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
17303
17304 Fri Aug 13 10:21:28 1999  Nick Clifton  <nickc@cygnus.com>
17305
17306         * toplev.c (rest_of_compilation): Allow machine dependent
17307         reorganisation pass to place information into the RTL dump
17308         file if it so wishes.
17309
17310 Sun Aug 15 12:41:21 1999  Jim Wilson  <wilson@cygnus.com>
17311
17312         * explow.c (hard_function_value): Use VOIDmode instead of
17313         MAX_MACHINE_MODE.
17314         * stmt.c (expand_return): Likewise.
17315         * stor-layout.c (get_best_mode): Likewise.
17316
17317         * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
17318         emit call instead of emit_insn call.
17319
17320 Sat Aug 14 15:04:06 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17321
17322         * configure.in: Handle --disable/enable-win32-registry.
17323         * install.texi: Document --disable/enable-win32-registry.
17324         * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
17325         (WIN32_REGISTRY_KEY): New macro.
17326         * prefix.c: Use to enable/disable win32-specific code.
17327         (lookup_key): Use versioned key.
17328         * configure: Regenerate.
17329         * config.in: Likewise.
17330
17331 Fri Aug 13 17:41:55 1999  Jason Merrill  <jason@yorick.cygnus.com>
17332
17333         * cpplib.c (read_line_number): New fn, split out of...
17334         (do_line): Here.
17335
17336 Fri Aug 13 14:18:27 1999  Gavin Romig-Koch  <gavin@cygnus.com>
17337
17338         tree.c (lang_unsave_expr_now) : New.
17339         (unsave_expr_now): Call lang_unsave_expr_now.
17340         tree.h (lang_unsave_expr_now) : New.
17341
17342 Fri Aug 13 00:49:46 1999  Jason Merrill  <jason@yorick.cygnus.com>
17343
17344         * toplev.c (flag_new_exceptions): On by default.
17345
17346 1999-08-13  Michael Meissner  <meissner@cygnus.com>
17347
17348         * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
17349
17350 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
17351
17352         * dwarfout.c (fundamental_type_code): Return FT_boolean for
17353         INTEGER_TYPE with precision==1, it's __java_boolean.
17354
17355 Thu Aug 12 23:51:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17356
17357         * global.c (prune_preferences): Move some invariants out of the
17358         inner loop.
17359
17360 Thu Aug 12 15:30:29 1999  Jesse Perry  (jap@unx.dec.com)
17361
17362         * configure.in (alpha*-dec-osf*): Add osf5.
17363
17364 Sun Aug  1 22:24:03 1999  Philip Blundell  <philb@gnu.org>
17365
17366         * configure.in: Rework handling of ARM GNU/Linux slightly.
17367         (arm*-*-linux-gnuoldld): New target.
17368         * configure: Regenerate.
17369         * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
17370         arm-*-elf.  Mention that arm-*-linux-gnuaout is obsolete.
17371         * config/arm/linux-oldld.h: New file.
17372         * config/arm/linux-elf26.h: Don't include linux-elf.h.
17373         (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
17374         Don't define.
17375         * config/arm/linux-elf.h (ASM_SPEC): Define.
17376         (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
17377         SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
17378         for 26-bit APCS and old linker.
17379         (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
17380         `arm_elf'.
17381         (FP_DEFAULT): Define to FP_SOFT3 for all machines.
17382         * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
17383         don't define `arm' or `arm_elf'.
17384         * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
17385         MULTILIB_DIRNAMES): Define.  Fix typo in comment.
17386
17387 Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>
17388
17389         * rtl.texi: Fix typo.
17390
17391 Wed Aug 11 23:50:57 1999  Jason Merrill  <jason@yorick.cygnus.com>
17392
17393         * invoke.texi (C++ Dialect Options): Add -fms-extensions.
17394
17395 Wed Aug 11 12:59:37 1999  Mark Mitchell  <mark@codesourcery.com>
17396
17397         * extend.texi (C++ Signatures): Remove node.
17398         * invoke.texi: Remove discussion of -fhandle-signatures,
17399         signature, sigof, __signature__, and __sigof__.
17400
17401 Wed Aug 11 03:38:25 1999  Jeffrey A Law  (law@cygnus.com)
17402
17403         * Makefile.in (JAVAGC): Removed.
17404
17405 Wed Aug 11 02:13:26 1999  Mumit Khan  <khan@xraylith.wisc.edu>
17406
17407         * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
17408
17409 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
17410
17411         * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
17412
17413 1999-08-11  Richard Earnshaw (rearnsha@arm.com)
17414
17415         * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
17416         a register that is already known to be a pointer.
17417
17418 1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
17419
17420         * fixinc/inclhack.tpl: Only install assert.h conditionally.
17421         * fixinc/inclhack.sh: Regenerated.
17422         * fixinc/fixincl.sh: Regenerated.
17423
17424 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
17425
17426         * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
17427         Fix documentation of -ansi flag to describe its C++ behavior.
17428         Remove bogus reference to GCC 2.9.
17429
17430 Tue Aug 10 17:19:02 1999  Jim Wilson  <wilson@cygnus.com>
17431
17432         * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
17433         note if it is non-NULL.
17434
17435 Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17436
17437         * except.h (eh_nesting_info): Add new structure defintion.
17438         (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
17439         (reachable_handlers, update_rethrow_references): Add function
17440         prototypes.
17441         * rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
17442         a rethrow symbol instead of an integer exception region number.
17443         * flow.c (Make_edges): Use new exception nesting routines to determine
17444         which handlers are reachable from a CALL or asynchronous insn.
17445         Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
17446         goto receivers.
17447         (delete_eh_regions): Update rethrow labels, and don't delete
17448         regions which are the target of a rethrow.
17449         * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
17450         avoid overloading the SYMBOL_REF_USED flag.
17451         (rethrow_symbol_map): Use new rethrow_ref field.
17452         (rethrow_used): Use new rethrow_ref field.
17453         (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
17454         of an integer.  Fix formatting.
17455         (output_exception_table_entry): Use new rethrow_ref field.
17456         (can_throw): Check for EH_REGION_NOTE before deciding
17457         whether a CALL can throw or not.
17458         (scan_region): Call rethrow_used() instead of accessing data structure.
17459         (update_rethrow_references): New function to make sure only regions
17460         which are still targets of a rethrow are flagged as such.
17461         (process_nestinfo): New static function to initialize a handler
17462         list for a specific region.
17463         (init_eh_nesting_info): New function to allocate and initialize
17464         the list of all EH handlers reachable from all regions.
17465         (reachable_handlers): New function to retrieve the list of handlers
17466         reachable from a specific region and insn.
17467         (free_eh_nesting_info): New function to dispose of a list of
17468         reachable handlers.
17469
17470 Tue Aug 10 10:39:31 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>
17471
17472         * flow.c (split_edge): Set JUMP_LABEL field.
17473         (commit_one_edge_insertion): Set head correctly for insert_before.
17474         When inserting insns, update insn block numbers if allocated.
17475
17476 Tue Aug 10 09:26:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17477
17478         * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
17479         retry_incomplete_types): Add static prototype.
17480         (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
17481         dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
17482         dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
17483         dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
17484         dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
17485         Constify a char*.
17486
17487         * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
17488         dwarf2out_start_source_file, dwarf2out_line): Likewise.
17489
17490 Tue Aug 10 09:21:46 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17491
17492         * output.h (assemble_name): Constify a char*.
17493
17494         * varasm.c (UNIQUE_SECTION, assemble_start_function,
17495         assemble_variable, assemble_name): Likewise.
17496
17497         * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
17498
17499         * arm/pe.c (arm_pe_unique_section): Likewise.
17500
17501         * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
17502
17503         * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
17504
17505         * i386/interix.c (i386_pe_unique_section): Likewise.
17506
17507         * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
17508
17509         * i386/winnt.c (i386_pe_unique_section): Likewise.
17510
17511         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
17512
17513         * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
17514
17515         * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
17516
17517         * pa/pa.c (output_call): Likewise.
17518
17519         * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
17520
17521         * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
17522
17523         * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
17524         Likewise.
17525
17526         * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
17527         Likewise.
17528
17529         * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
17530
17531         * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
17532         STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
17533
17534         * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
17535
17536 Mon Aug  9 19:54:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17537
17538         * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
17539
17540 Mon Aug  9 19:36:00 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17541
17542         * tree.h (lang_identify): Constify a char*.
17543         (print_error_function): Add extern prototype.  Constify a char*.
17544
17545         * c-lang.c (lang_identify): Constify a char*.
17546
17547         * objc/objc-act.c (lang_identify): Constify a char*.
17548
17549 Mon Aug  9 16:21:53 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17550
17551         * genpeep.c (main): Make generated file include "function.h".
17552         * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
17553
17554 Mon Aug  9 10:08:50 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17555
17556         * Makefile.in: Update dependencies.
17557         * alias.c: Include "function.h"
17558         * c-decl.c: Likewise.
17559         * caller-save.c: Likewise.
17560         * calls.c: Likewise.
17561         * combine.c: Likewise.
17562         * cse.c: Likewise.
17563         * explow.c: Likewise.
17564         * final.c: Likewise.
17565         * global.c: Likewise.
17566         * graph.c: Likewise.
17567         * local-alloc.c: Likewise.
17568         * loop.c: Likewise.
17569         * optabs.c: Likewise.
17570         * profile.c: Likewise.
17571         * recog.c: Likewise.
17572         * regclass.c: Likewise.
17573         * regmove.c: Likewise.
17574         * reload.c: Likewise.
17575         * reorg.c: Likewise.
17576         * resource.c: Likewise.
17577         * sched.c: Likewise.
17578         * stupid.c: Likewise.
17579         * config/1750a/1750a.c: Likewise.
17580         * config/a29k/a29k.c: Likewise.
17581         * config/arc/arc.c: Likewise.
17582         * config/arm/arm.c: Likewise.
17583         * config/arm/thumb.c: Likewise.
17584         * config/c4x/c4x.c: Likewise.
17585         * config/clipper/clipper.c: Likewise.
17586         * config/convex/convex.c: Likewise.
17587         * config/fx80/fx80.c: Likewise.
17588         * config/i860/i860.c: Likewise.
17589         * config/m68k/m68k.c: Likewise.
17590         * config/m88k/m88k.c: Likewise.
17591         * config/mips/mips.c: Likewise.
17592         * config/pdp11/pdp11.c: Likewise.
17593         * config/pyr/pyr.c: Likewise.
17594         * config/romp/romp.c: Likewise.
17595         * config/sh/sh.c: Likewise.
17596         * config/tahoe/tahoe.c: Likewise.
17597         * config/vax/vax.c: Likewise.
17598         * config/we32k/we32k.c: Likewise.
17599         * config/sparc/sparc.c: Include "function.h".
17600         (mem_min_alignment): Test current_function rather than
17601         regno_pointer_align.
17602         * config/pa/pa.c: Likewise.
17603         (compute_frame_size): Delete declaration of
17604         current_function_outgoing_args_size.
17605         * config/arc/arc.h (current_function_varargs): Delete declaration.
17606         * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
17607         declaration.
17608         * config/i370/i370.h (current_function_outgoing_args_size): Delete
17609         declaration.
17610         * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
17611         current_function_uses_pic_offset_table.
17612         * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
17613         of current_function_returns_pointer.
17614         * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17615         * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17616         * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17617         * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17618         * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17619         * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17620         * config/m88k/m88k.c: Include "function.h"
17621         (call_used_regs, current_function_pretend_args_size,
17622         current_function_outgoing_args_size, frame_pointer_needed): Delete
17623         declarations.
17624         * config/m88k/m88k.h (current_function_pretend_args_size): Delete
17625         declaration.
17626         * config/mips/mips.h (current_function_calls_alloca): Delete
17627         declaration.
17628         * config/mn10200/mn10200.h (current_function_needs_context,
17629         rtx_equal_function_value_matters): Delete declarations.
17630         * config/ns32k/ns32k (current_function_uses_pic_offset_table,
17631         flag_pic): Delete declarations.
17632         * config/pa/pa.h (current_function_pretend_args_size,
17633         current_function_decl): Delete declarations.
17634         * config/pa/som.h (current_function_varargs): Delete declaration.
17635         * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
17636         declaration.
17637         * config/pyr/pyr.h (current_function_pretend_args_size,
17638         current_function_args_size, current_function_calls_alloca): Delete
17639         declarations.
17640         * config/sh/sh.h (current_function_varargs): Delete declaration.
17641         * config/sparc/sparc.h (current_function_outgoing_args_size,
17642         current_function_calls_alloca, current_function_decl): Delete
17643         declarations.
17644         * config/spur/spur.h (current_function_pretend_args_size,
17645         current_function_calls_alloca): Delete declarations.
17646         * config/v850/v850.c (current_function_outgoing_args_size): Delete
17647         declaration.
17648         * config/vax/vms.h (current_function_name): Delete declaration.
17649         * gcse.c: Include "function.h".
17650         (current_function_name, current_function_calls_setjmp): Delete
17651         declarations.
17652         * haifa-sched.c: Include "function.h".
17653         (forced_labels): Delete declaration.
17654         * jump.c: Likewise.
17655         * reg-stack.c: Likewise.
17656         * reload1.c: Likewise.
17657         * genemit.c (main): Make generated file include function.h.
17658         * genoutput.c (output_prologue): Likewise.
17659
17660         * builtins.c (saveregs_value, apply_args_value): Delete variables.
17661         * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
17662         sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
17663         regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
17664         regno_reg_rtx, sequence_stack): Delete variables.  Add accessor
17665         macros for some of them.
17666         (emit_filename, emit_lineno): Delete declarations.
17667         (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy.  Access
17668         regno_pointer_* variables through current_function.
17669         (gen_inline_header_rtx): Delete function.
17670         (save_emit_status): Delete function.
17671         (set_new_last_label_num): New function.
17672         (clear_emit_caches): New function.
17673         (restore_emit_status): Just clear last_labelnum and call
17674         clear_emit_caches.
17675         (get_last_insn_anywhere): Variable sequence_stack is now accessed
17676         through macro seq_stack.
17677         (add_insn_after): Likewise.
17678         (add_insn_before): Likewise.
17679         (remove_insn): Likewise.
17680         (pop_topmost_sequence): Likewise.
17681         (in_sequence_p): Likewise.
17682         (start_sequence_for_rtl_expr): Likewise.
17683         (start_sequence): Likewise, and likewise for
17684         sequence_rtl_expr/seq_rtl_expr.
17685         (push_topmost_sequence): Likewise.
17686         (end_sequence): Likewise.
17687         (init_virtual_regs): Now takes a "struct emit_status *" argument.
17688         All callers changed.  Store into that pointer instead of globals.
17689         (init_emit): Allocate emit elt of current_function.
17690         Changes for sequence_rtl_expr/sequence_stack renaming.
17691         Call clear_emit_caches instead of doing it in-line.
17692         Access regno_pointer_* variables through current_function.
17693         (init_emit_once) Don't clear sequence_stack.
17694
17695         * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
17696         Delete variables.
17697         (arg_pointer_save_area): Delete declaration.
17698         (finish_expr_for_function): Renamed from init_queue; no longer static.
17699         (init_expr): Don't call init_queue.
17700         (save_expr_status, restore_expr_status): Delete functions.
17701         (expand_expr): Changes to reflect new layout of struct function.
17702         Don't access current_function_check_memory_usage when current_function
17703         is 0.
17704         * expr.h (forced_labels, save_expr_regs, saveregs_value,
17705         apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
17706         current_function_outgoing_args_size, current_function_arg_offset_rtx,
17707         current_function_uses_const_pool, function_call_count,
17708         current_function_uses_pic_offset_table, nonlocal_labels,
17709         current_function_internal_arg_pointer, nonlocal_goto_stack_level,
17710         current_function_check_memory_usage, nonlocal_goto_handler_slots,
17711         pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
17712         declarations.
17713         (finish_expr_for_function): Declare.
17714         * flags.h (current_function_has_nonlocal_label,
17715         current_function_has_nonlocal_goto, current_function_is_thunk,
17716         current_function_has_computed_jump): Delete declarations.
17717         * flow.c (forced_labels): Delete declaration.
17718         * function.c (current_function_pops_args,
17719         current_function_returns_struct, current_function_returns_pcc_struct,
17720         current_function_needs_context, current_function_calls_setjmp,
17721         current_function_calls_longjmp, current_function_has_nonlocal_label,
17722         current_function_has_nonlocal_goto, current_function_is_thunk,
17723         current_function_has_computed_jump, current_function_calls_alloca,
17724         current_function_contains_functions, current_function_returns_pointer,
17725         current_function_epilogue_delay_list, current_function_args_size,
17726         current_function_pretend_args_size, current_function_arg_offset_rtx,
17727         current_function_outgoing_args_size, current_function_varargs,
17728         current_function_stdarg, current_function_args_info, cleanup_label,
17729         current_function_name, current_function_uses_const_pool,
17730         current_function_instrument_entry_exit, current_function_return_rtx,
17731         current_function_uses_pic_offset_table, nonlocal_labels,
17732         current_function_internal_arg_pointer, current_function_cannot_inline,
17733         current_function_check_memory_usage, function_call_count,
17734         nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
17735         nonlocal_goto_stack_level, return_label, save_expr_regs,
17736         stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
17737         tail_recursion_reentry, arg_pointer_save_area, frame_offset,
17738         context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
17739         last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
17740         temp_slot_level, var_temp_slot_level, target_temp_slot_level):
17741         Delete variables.
17742         (push_function_context_to): Don't save them.  Don't call
17743         save_storage_status, save_emit_status or save_expr_status.
17744         (pop_function_context_from): Don't restore them.  Don't call
17745         restore_storage_status or restore_expr_status.
17746         (get_func_frame_size): New function.
17747         (get_frame_size): Use it.
17748         (assign_outer_stack_local): Reflect some member name changes in struct
17749         function.
17750         (put_reg_into_stack): Likewise.
17751         (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
17752         seq_rtl_expr.
17753         (fixup_var_refs): Likewise.
17754         (fix_lexical_addr): Likewise.
17755         (trampoline_address): Likewise.
17756         (prepare_function_start): Clear field inlinable of current_function.
17757         (init_function_for_compilation): New function.
17758         (expand_dummy_function_end): New function.
17759         (expand_function_end): Call finish_expr_for_function.
17760         * function.h (struct emit_status): New; fields moved here from struct
17761         function and from global variables.  Add accessor macros for some of
17762         the fields.
17763         (struct expr_status): Likewise.
17764         (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
17765         (struct function): Add fields expr and emit, inlinable, inl_emit,
17766         original_arg_vector, original_decl_initial, inl_last_parm_insn,
17767         inl_max_label_num.  Add many comments.
17768         Add accessor macros for all elts of struct function that no longer
17769         have a global variable.
17770         (cleanup_label, return_label, frame_offset, tail_recursion_label,
17771         tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
17772         stack_slot_list): Delete declarations.
17773         (get_func_frame_size): Declare.
17774         (save_expr_status, restore_expr_status, save_emit_status,
17775         save_storage_status, restore_storage_status): Delete declarations.
17776         (init_virtual_regs): Declare.
17777         * output.h (current_function_pops_args,
17778         current_function_returns_struct, current_function_returns_pcc_struct,
17779         current_function_needs_context, current_function_calls_setjmp,
17780         current_function_calls_longjmp, current_function_calls_alloca,
17781         current_function_has_nonlocal_label, current_function_varargs,
17782         current_function_has_computed_jump, current_function_returns_pointer,
17783         current_function_contains_functions, current_function_args_size,
17784         current_function_pretend_args_size, current_function_stdarg,
17785         current_function_outgoing_args_size, current_function_args_info,
17786         current_function_name, current_function_return_rtx,
17787         current_function_epilogue_delay_list,
17788         current_function_uses_const_pool, current_function_cannot_inline):
17789         Delete declarations.
17790         * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
17791         regno_reg_rtx): Delete declaration.
17792         (REGNO_POINTER_FLAG): Delete macro.
17793         * stmt.c (expand_goto): Changes to reflect that some fields in struct
17794         function were renamed.
17795         * stor-layout.c (save_storage_status, restore_storage_status): Delete
17796         functions.
17797         * toplev.c: Include "function.h".
17798         (current_function_decl): Delete declaration.
17799         (compile_file): Call init_dummy_function_start and
17800         expand_dummy_function_end around some initializations that need to
17801         emit rtl.
17802         (rest_of_compilation): Use DECL_SAVED_INSNS properly.
17803         Call init_function_for_compilation.
17804         * unroll.c: Include "function.h"
17805         (unroll_loop): Access regno_pointer_* variables through
17806         current_function.
17807
17808         * tree.h (struct tree_decl): Add elt f to saved_insns member.
17809         (DECL_SAVED_INSNS): use it.
17810         (expand_dummy_function_end): Declare.
17811         (init_function_for_compilation): Declare.
17812         * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
17813         that it's no longer an INLINE_HEADER.
17814         (expand_call): Likewise.
17815         * integrate.c (finish_inline): Delete function.
17816         (max_parm_reg, parm_reg_stack_loc): Delete declarations.
17817         (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
17818         args.  Don't generate an INLINE_HEADER rtx, just return the arg
17819         vector.  All callers changed.
17820         (save_for_inline_copying):  Create a duplicate struct emit_status to
17821         hold the emit state for compiling the current function.  Use this and
17822         the other new fields in struct function that are for integration
17823         instead of an INLINE_HEADER.
17824         Use memcpy instead of bcopy.
17825         Store the current struct function in DECL_SAVED_INSNS of fndecl.
17826         (save_for_inline_nocopy): Similar changes, except no new emit_status
17827         is needed here.
17828         (expand_inline_function): Get information from function structure,
17829         not from an inline header rtx.
17830         (output_inline_function): Lose code to extract the necessary
17831         information from an inline header; simply put back the function
17832         structure into current_function.  Clear its inlinable elt.
17833         * rtl.def (INLINE_HEADER): Delete.
17834         * rtl.h: Delete all accessors for an INLINE_HEADER.
17835         (gen_inline_header_rtx): Delete declaration.
17836         (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
17837         Delete declarations.
17838         (REGNO_POINTER_ALIGN): Delete.
17839         (clear_emit_caches): Declare.
17840         (set_new_last_label_num): Declare.
17841
17842 Mon Aug  9 01:52:24 1999  Jason Merrill  <jason@yorick.cygnus.com>
17843
17844         * print-tree.c (print_node): Print base for OFFSET_TYPEs.
17845
17846         * except.c (expand_eh_region_start_for_decl): Always start a new block.
17847         * stmt.c (is_eh_region): Make sure current_function is present, too.
17848
17849 Mon Aug  9 01:15:24 1999  Jeffrey A Law  (law@cygnus.com)
17850
17851         * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
17852         for 64bit PA targets.
17853
17854         * pa.h (SELECT_SECTION): Define.
17855         * som.h (SELECT_SECTION): Delete.
17856
17857 Sun Aug  8 15:13:20 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17858
17859         * alias.c (init_alias_analysis): Wrap call to
17860         `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
17861
17862 1999-08-07  Bruce Korb  <autogen@linuxbox.com>
17863
17864         * fixinc/inclhack.def(irix_asm_apostrophe):  IRIX 5.2's
17865         <sys/asm.h> contains an asm comment with an apostrophe
17866         * fixinc/inclhack.sh:  regen
17867         * fixinc/fixincl.x:  regen
17868
17869 Sat Aug  7 19:37:07 1999  Richard Henderson  <rth@cygnus.com>
17870
17871         * function.c (init_function_start): Clear prologue & epilogue.
17872         (prologue_epilogue_contains): New function.
17873         * alias.c (init_alias_analysis): Use it.
17874         * rtl.h (prologue_epilogue_contains): Declare it.
17875
17876 Sat Aug  7 19:32:16 1999  Richard Henderson  <rth@cygnus.com>
17877
17878         * jump.c (onlyjump_p): New function.
17879         * rtl.h: Declare it.
17880         * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
17881         of condjump_p in calling tidy_fallthru_edge and merge_blocks.
17882
17883 Sat Aug  7 17:09:36 1999  Richard Henderson  <rth@cygnus.com>
17884
17885         * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
17886         to invert loops.  Simplify block scanning.
17887
17888 Sat Aug  7 02:11:13 1999  Bernd Schmidt <bernds@cygnus.co.uk>
17889
17890         * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
17891         (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
17892
17893 1999-08-07  Jonathan Larmour  <jlarmour@cygnus.co.uk>
17894
17895         * config/sparc/liteelf.h: New file to support sparclite-elf target
17896         * config/sparc/t-sp86x: New file to support sparc86x targets
17897         * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
17898         * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
17899         * configure.in: Support above target triplets
17900         * configure: Regenerated
17901
17902 Sat Aug  7 01:39:27 1999  Philippe De Muyter  <phdm@macqel.be>
17903
17904         * fixinc/server.c (server_setup): Do not prefix function used as
17905         parameter with `&'.
17906
17907 Sat Aug  7 00:21:20 1999  Richard Henderson  <rth@cygnus.com>
17908
17909         * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
17910         Remove fp reg alternatives.
17911
17912 Sat Aug  7 00:06:54 1999  Jeffrey A Law  (law@cygnus.com)
17913
17914         * Makefile.in (TAROUTOPTS): Kill.
17915         (install-headers-tar): Use "xpf" for tar headerfile extraction
17916         * i370/x-oe (TAROUTOPTS): Delete.
17917         * m68k/x-apollo68 (TAROUTOPTS): Delete.
17918         * m68k/x-hp320 (TAROUTOPTS): Delete.
17919         * m68k/x-hp320g (TAROUTOPTS): Delete.
17920         * gcc.texi: Update bug reporting text.
17921
17922 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17923
17924         * reg-stack.c (change_stack) Fixed problem with negative array index.
17925
17926 Fri Aug  6 23:08:44 1999  Jeffrey A Law  (law@cygnus.com)
17927
17928         * extend.texi, install.texi: Fix spelling mistakes.
17929
17930         * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
17931         (s-attrtab); No longer try to use pre-made insn-attrtab file.
17932         * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
17933         PREMADE_ATTRTAB_MD.
17934         * mips/t-ecoff: Likewise.
17935         * mips/t-elf: Likewise.
17936         * mips/t-mips: Likewise.
17937         * mips/t-osfrose: Likewise.
17938         * mips/t-r3900: Likewise.
17939         * mips/t-svr3: Likewise.
17940         * mips/t-svr4: Likewise.
17941         * mips/t-ultrix: Likewise.
17942
17943         * gcc.texi: Document recommend means to provide software floating
17944         point libraries in libgcc.a
17945
17946 1999-08-06  Jason Merrill  <jason@yorick.cygnus.com>
17947
17948         * c-lex.c (yylex): We can have a number with no digits.
17949
17950 Fri Aug  6 16:53:55 EDT 1999  John Wehle  (john@feith.com)
17951
17952         * jump.c (delete_prior_computation): New function, broken
17953         out of delete_computation.  Check for side effects with
17954         side_effects_p instead of FIND_REG_INC_NOTE.  Handle
17955         multi-word hard registers.
17956         (delete_computation): Use it.  Check for side effects with
17957         side_effects_p instead of FIND_REG_INC_NOTE.  Synthesize a
17958         missing REG_DEAD note for a register which is both set and
17959         used by an insn.
17960
17961 Fri Aug  6 11:05:29 1999  Jeffrey A Law  (law@cygnus.com)
17962
17963         * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
17964         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
17965         (ASM_FILE_START): Import _mcount with the right type.
17966         (ASM_DECLARE_FUNCTION_NAME): Define.
17967         (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
17968         * pa.c (output_function_prologue): Always emit the function's label
17969         here.
17970         * pa.h (TEXT_SPACE_P): Define.
17971         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
17972         (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
17973         * som.h (TEXT_SPACE_P): Delete.
17974         (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
17975         (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
17976
17977 Thu Aug  5 19:29:39 1999  Jim Wilson  <wilson@cygnus.com>
17978
17979         * expr.c (emit_group_load): Allow src to be a CONCAT.
17980
17981 Thu Aug  5 22:27:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
17982
17983         * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
17984         (___mulsi3): Use '!' comment character.
17985
17986 Thu Aug  5 13:34:14 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
17987
17988         * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
17989
17990 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
17991
17992         * gcc.c: Update URLs and mail addresses.
17993         * gcc.texi: Likewise.
17994
17995 Thu Aug  5 01:14:13 1999  Daniel Jacobowitz <drow@false.org>
17996
17997         * rs6000.c (current_file_function_operand): Return zero for
17998         weak functions.
17999         (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
18000         weak symbols.
18001         * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
18002         for weak symbols.
18003
18004 Thu Aug  5 00:56:30 1999  Geoffrey Keating  <geoffk@cygnus.com>
18005
18006         * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
18007         allocate space in the stack frame for the PIC register.
18008
18009 Thu Aug  5 00:20:47 1999  Jeffrey A Law  (law@cygnus.com)
18010
18011         * m68k.md (xordi3, anddi3): These patterns are not available on
18012         the coldfire.
18013
18014 Wed Aug  4 23:39:20 1999  Mark Mitchell  <mark@codesourcery.com>
18015
18016         * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
18017         (PUT_REAL): Likewise.
18018
18019 Wed Aug  4 20:45:04 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18020
18021         * final.c (shorten_branches): Don't add an alignment for loops
18022         that have no label inside.
18023
18024 Wed Aug  4 16:39:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18025
18026         * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
18027         prototypes in macro HAVE_cmpstrsi.
18028
18029         * cpplib.c (cpp_get_token): Remove unused label `op3'.
18030
18031         * emit-rtl.c (operand_subword): Remove unused variable
18032         `bits_per_word'.
18033
18034         * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
18035
18036         * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
18037
18038 Wed Aug  4 13:29:23 1999  Zack Weinberg  <zack@bitmover.com>
18039
18040         * cpphash.c (macroexpand): Delete leading whitespace when arg
18041         is concatenated before.
18042         (unsafe_chars): Correct test for whether + and - can extend a
18043         token.
18044
18045         * cppinit.c (cpp_start_read): Do dependencies for
18046         -include/-imacros files also.
18047
18048         * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
18049         tokenizing non-directive lines.
18050         (cpp_expand_to_buffer): Temporarily disable no-output mode.
18051         * cppmain.c: In no-output mode, just call cpp_scan_buffer for
18052         the input file.
18053
18054 Wed Aug  4 12:53:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
18055
18056         * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
18057
18058         * c-lex.c: Sync with C++ frontend.
18059         (linemode): New variable.
18060         (parse_float): imag, conversion_errno, and type are output only.
18061         (yylex): Adjust.  Move initial '.' case into main switch.
18062         Use linemode.
18063         (handle_generic_pragma): Just deal with tokens.
18064         (readescape): Use ISXDIGIT and ISGRAPH.
18065         * c-parse.in: Add END_OF_LINE token.
18066
18067         * c-lex.c (lang_init): Generalize.
18068         (nextchar): Remove.  Replace uses with UNGETC.
18069         (skip_white_space): Handle linemode here.  Optimize for cpplib.
18070         (skip_white_space_on_line): Remove.
18071         (extend_token_buffer_to): New fn.
18072         (extend_token_buffer): Use it.
18073         (read_line_number, check_newline): Just deal with tokens.
18074         (token_getch, token_put_back): New fns.
18075         (yylex): Use them.  More cpplib optimizations.  Simplify.
18076
18077 Wed Aug  4 12:53:44 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
18078                           Jason Merrill  <jason@yorick.cygnus.com>
18079
18080         * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
18081         (consume_string): Make this smart about USE_CPPLIB.
18082         (check_newline): Rewrite to be intelligent about USE_CPPLIB.
18083         (yylex): Rewrite to be intelligent about USE_CPPLIB.
18084         Also, clean up cases where we redundantly set token_buffer[0].
18085         (read_line_number): New fn.
18086         (ignore_escape_flag): New variable.
18087
18088 Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
18089
18090         * a29k/t-a29kbare: Fix some comments.
18091         (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
18092         (FPBIT, DPBIT): Define.
18093         * a29k/t-vx29k: Likewise.
18094         * arc/t-arc: Likewise.
18095         * arm/t-arm-elf: Likewise.
18096         * arm/t-bare: Likewise.
18097         * arm/t-pe: Likewise.
18098         * arm/t-pe-thumb: Likewise.
18099         * arm/t-semi: Likewise.
18100         * arm/t-thumb: Likewise.
18101         * arm/t-thumb-elf: Likewise.
18102         * arm/t-thumb-linux: Likewise.
18103         * h8300/t-h8300: Likewise.
18104         * i960/t-i960: Likewise.
18105         * i960/t-vxworks960: Likewise.
18106         * m32r/t-m32r: Likewise.
18107         * mips/t-ecoff: Likewise.
18108         * mips/t-elf: Likewise.
18109         * mips/t-r3900: Likewise.
18110         * pa/t-pro: Likewise.
18111         * rs6000/t-aix43: Likewise.
18112         * rs6000/t-beos: Likewise.
18113         * rs6000/t-newas: Likewise.
18114         * rs6000/t-ppccomm: Likewise.
18115         * rs6000/t-rs6000: Likewise.
18116         * rs6000/t-winnt: Likewise.
18117         * rs6000/t-xnewas: Likewise.
18118         * rs6000/t-xrs6000: Likewise.
18119         * sh/t-sh: Likewise.
18120         * sparc/t-elf: Likewise.
18121         * sparc/t-sparcbare: Likewise.
18122         * sparc/t-sparclite: Likewise.
18123         * sparc/t-splet: Likewise.
18124         * v850/t-v850: Likewise.
18125         * mn10200/t-mn10200: Fix comments.
18126         * mn10300/t-mn10300: Likewise.
18127
18128         * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
18129         dummy operand.  Allocate a new pseudo for the dummy operand.
18130         (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
18131
18132         * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
18133
18134 Wed Aug  4 11:53:55 1999  Tom Tromey  <tromey@cygnus.com>
18135
18136         * configure: Rebuilt.
18137         * configure.in: Removed --enable-java-gc option and JAVAGC subst.
18138
18139 Wed Aug  4 09:06:14 1999  Richard Earnshaw (rearnsha@arm.com)
18140
18141         * recog.c (preproces_constraints): Zero recog_op_alt before
18142         processing the constraints.
18143
18144         * arm.c (typedef minipool_node): Renamed from pool_node.
18145         (minipool_vector, minipool_size, minipool_vector_label): Similarly.
18146         (add_minipool_constant): New function.
18147         (dump_minipool): New function.
18148         (find_barrier): Remove special case for getting the insn size of
18149         an insn that references the constant pool.
18150         (minipool_fixup): New structure.
18151         (push_minipool_barrier): New function.
18152         (push_minipool_fix): New function.
18153         (note_invalid_constants): New function.
18154         (add_pool_constant, dump_table, fixit, broken_move): Delete.
18155         (arm_reorg): Rewrite code to fix up the constant pool into a
18156         series of mini-pools embedded in the insn stream.
18157         (arm_output_epilogue): New function, made mainly from the body
18158         of output_func_epilogue.
18159         (output_func_epilogue): Move insn generation part of epilogue code
18160         to arm_output_epilogue.
18161         * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
18162         * arm.md (pool_range): New attribute.
18163         (zero_extendqidi2): Add attribute pool_range.
18164         (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
18165         extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
18166         pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
18167         movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
18168         movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
18169         (epilogue): New expand.
18170         (epilogue_insn): New insn.  Call arm_output_epilogue.
18171
18172         * arm.c (arm_poke_function_name): Undo change of July 17.  Tidy up.
18173         * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
18174
18175 Mon Aug  2 19:18:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
18176
18177         * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
18178
18179 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
18180
18181         * config/i386/djgpp.h  (BSS_SECTION_ASM_OP): Define.
18182
18183 Wed Aug  4 02:15:32 1999  Richard Henderson <rth@cygnus.com>
18184
18185         * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
18186
18187 Wed Aug  4 01:48:08 1999  Jim Kingdon  <http://developer.redhat.com>
18188
18189         * global.c: Fix comment.
18190
18191 Wed Aug  4 01:43:01 1999  Ian Lance Taylor  <ian@zembu.com>
18192
18193         * gcc.c (access_check): New static function.
18194         (find_a_file): Use it when searching a directory list.
18195         * collect2.c (find_a_file): Don't accept directories found when
18196         searching a directory list.
18197
18198 Wed Aug  4 01:40:43 1999  Philippe De Muyter  <phdm@macqel.be>
18199
18200         * tlink.c (symbol_hash_lookup): Do not prefix functions used as
18201         function parameters with `&'.
18202         (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
18203
18204 Wed Aug  4 01:08:44 1999  Jeffrey A Law  (law@cygnus.com)
18205
18206         * flow.c (delete_unreachable_blocks): Do not call merge_blocks
18207         or tidy_fallthru_edge if the last insn in the block is not
18208         an unconditional jump or a simple conditional jump.
18209
18210 Tue Aug  3 20:21:20 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18211
18212         * Makefile.in (c-decl.o): Depends on defaults.h.
18213
18214 Tue Aug  3 14:14:52 1999  Jeffrey A Law  (law@cygnus.com)
18215
18216         * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
18217         PA1.1 and above.
18218         (CLASS_MAX_NREGS): Likewise.
18219
18220 Tue Aug  3 03:51:20 1999  Jeffrey A Law  (law@cygnus.com)
18221
18222         * cse.c (cse_insn): Fix dumb thinko in last change.
18223
18224 Tue Aug  3 10:36:13 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18225
18226         * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
18227         "const char *".
18228
18229 Mon Aug  2 23:45:45 1999  Hans-Peter Nilsson  <hp@bitrange.com>
18230
18231         * dwarf2out.c (add_location_or_const_value_attribute): Correct
18232         test for sizes of passed and declared parameter types.
18233
18234 Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18235
18236         * fixincludes: Fix the return type of bsearch, char* -> void*.
18237
18238         * fixinc/inclhack.def: Likewise.
18239
18240 Mon Aug  2 18:29:32 1999  Mark Mitchell  <mark@codesourcery.com>
18241
18242         * invoke.texi (-fdump-translation-unit): New option.
18243
18244 Mon Aug  2 17:54:19 1999  Richard Henderson  <rth@cygnus.com>
18245
18246         * expr.h (PROMOTE_PROTOTYPES): Move ...
18247         * defaults.h: ... to here.
18248         * c-decl.c: Include defaults.h instead of expr.h.
18249         * c-typeck.c: Include defaults.h.
18250
18251 Mon Aug  2 17:10:24 1999  Mark Mitchell  <mark@codesourcery.com>
18252
18253         * toplev.h (errorcount): Declare.
18254         (warningcount): Likewise.
18255         (sorrycount): Likewise.
18256         * c-lex.c (errorcount): Don't declare.
18257         * dwarf2out.c (errorcount): Don't declare.
18258
18259 Mon Aug  2 17:02:08 1999  Jason Merrill  <jason@yorick.cygnus.com>
18260
18261         * config/libgloss.h: Add a note discouraging use with ELF.
18262         * configure.in: Don't use libgloss.h for ELF targets.
18263         Always use_collect2 on a.out targets.
18264
18265 Mon Aug  2 16:27:42 1999  Jim Wilson  <wilson@cygnus.com>
18266
18267         * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
18268         (force_to_mode, case ASHIFTRT): Add shiftrt label.
18269
18270 Tue Aug  3 00:45:02 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18271
18272         * loop.c (strength_reduce): When doing biv->giv conversion, update
18273         reg note of NEXT->insn.
18274
18275 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
18276
18277         * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
18278
18279 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
18280
18281         * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
18282         PROMOTE_PROTOTYPES, so that it tests it as a C expression.
18283         Ensure expr.h is included.
18284         * c-typecheck.c (convert_arguments): Ditto.
18285
18286         * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
18287
18288         * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
18289         * config/convex/convex.h: Ditto.
18290         * config/dsp16xx/dsp16xx.h: Ditto.
18291         * config/fx80/fx80.h: Ditto.
18292         * config/gmicro/gmicro.h: Ditto.
18293         * config/i370/i370.h: Ditto.
18294         * config/i386/i386.h: Ditto.
18295         * config/m32r/m32r.h: Ditto.
18296         * config/m68k/m68k.h: Ditto.
18297         * config/m88k/m88k.h: Ditto.
18298         * config/mips/mips.h: Ditto.
18299         * config/pa/pa.h: Ditto.
18300         * config/pyr/pyr.h: Ditto.
18301         * config/tahoe/tahoe.h: Ditto.
18302         * config/we32k/we32k.h: Ditto.
18303
18304         * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
18305         based on arch size.
18306
18307         * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
18308
18309         * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
18310         from comment.
18311
18312         * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
18313
18314 1999-08-02  Richard Henderson  <rth@cygnus.com>
18315
18316         * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
18317         for the register spill block.
18318         (m32r_va_arg): New.
18319         * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
18320         (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
18321
18322         * m32r.h (INT8_P): Don't short-cut test with (unsigned).
18323         (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
18324         (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
18325
18326 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
18327
18328         * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
18329         MAX_WCHAR_TYPE defined in sparc.h.
18330         * config/sparc/linuxaout.h: Likewise.
18331         * config/sparc/linux64.h: Likewise.
18332         Also default to -mvis if CPU is UltraSPARC.
18333
18334 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
18335
18336         * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
18337         (RTX_OK_FOR_OLO10): Likewise.
18338         (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
18339         %lo(), allow it in addresses...
18340         (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
18341         * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
18342         does not make sense.
18343         * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
18344         (sparc_output_scratch_registers): New function.
18345         (output_function_prologue, sparc_flat_output_function_prologue): Use
18346         it.
18347         * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
18348         defined.
18349         * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
18350         * configure.in: Add check for .register pseudo-op support in as and
18351         check for offsetable %lo().
18352         * acconfig.h: Add templates for the above checks.
18353         * configure: Regenerate.
18354
18355 1999-08-02  Richard Henderson  <rth@cygnus.com>
18356
18357         * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
18358         * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
18359         * sparc/sol2.h (TARGET_DEFAULT): Likewise.
18360
18361 Mon Aug  2 23:46:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
18362
18363         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
18364         reg_biv_class.
18365
18366 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
18367
18368         * config/float-sparc.h: New file.
18369         * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
18370         sparc-*-linux-gnu and sparc64-*-linux*.
18371
18372 1999-08-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18373
18374         * rs6000.c (rs6000_va_list): Type is an array.
18375         (rs6000_va_start): Don't doubly adjust for varargs.
18376         (rs6000_va_arg): Evaluate long long GPR adjustment.
18377
18378 Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>
18379
18380         * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
18381         -maix64 and -maix32.
18382         (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
18383         LINK_SPEC): Change appropriately.
18384         * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
18385         (u_short_cint_operand): Likewise.
18386         * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
18387         for 64-bit hosts.
18388         * rs6000/t-aix43 (MULTILIB): Change to -m64.
18389
18390         * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
18391
18392 Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>
18393
18394         * rs6000/rs6000.c (num_insns_constant_wide): Correct
18395         for type promotion.
18396         (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
18397         (non_add_cint_operand): Likewise.
18398         (logical_operand): Likewise.
18399         (non_logical_cint_operand): Likewise.
18400         (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
18401         (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
18402         (rs6000_select_rtx_section): Suppress warning.
18403         (small_data_operand): Suppress warning.
18404         (rs6000_got_register): Suppress warning.
18405         * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
18406         type, so `J' is generally the wrong constraint for a SImode value;
18407         use `L' instead.
18408         (andsi3_internal2): Likewise.
18409         (andsi3_internal3): Likewise.
18410         (iorsi3_internal1): Likewise.
18411         (xorsi3_internal1): Likewise.
18412         (movsi): Likewise.
18413         (movsf_softfloat): Likewise.
18414         (scc insns): Likewise.
18415         (movsi+2): Preserve sign bits of SImode constant.
18416         (floatsidf2_internal+1): Sign-extend SImode constant correctly.
18417         (movdf+1): Sign-extend properly.
18418         (movdi_32+1): Sign-extend properly.
18419         (scc insns): Sign-extend properly.
18420
18421         * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
18422         K, L, and T.
18423
18424 1999-08-02  Richard Henderson  <rth@cygnus.com>
18425
18426         * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
18427         -mcpu parsing code.
18428         (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
18429         * alpha.md (all fp insns): Likewise.
18430
18431 1999-08-02  Nick Clifton  <nickc@cygnus.com>
18432
18433         * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
18434         already defined.
18435
18436 Mon Aug  2 03:38:33 1999  Jeffrey A Law  (law@cygnus.com)
18437
18438         * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
18439         pic_load_label generator directly.
18440         * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
18441         No longer a named pattern.
18442
18443 Mon Aug  2 09:38:10 1999  Nick Clifton  <nickc@cygnus.com>
18444
18445         * explow.c (force_reg): Call force_operand if X does not
18446         satisfy general_operand.
18447
18448 Mon Aug  2 01:34:22 1999  Jeffrey A Law  (law@cygnus.com)
18449
18450         * fix-header.c (main): When testing for CONTINUED, use string
18451         equality, not pointer equality.
18452
18453 Mon Aug  2 01:27:24 1999  Dan Nicolaescu  <dann@ics.uci.edu>
18454
18455         * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
18456
18457 Sun Aug  1 22:46:42 1999  Jeffrey A Law  (law@cygnus.com)
18458
18459         * cse.c (cse_insn): Fix loop which deletes insns after a jump
18460         that has become an unconditional jump.
18461
18462         * m68k.c (output_function_prologue): Fix typo in CPU32 case.
18463         (output_function_epilogue): Similarly.
18464
18465 Sun Aug  1 20:14:00 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18466
18467         * tree.h (init_dummy_function_start): Declare.
18468
18469 Sun Aug  1 12:55:31 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18470
18471         * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
18472         last_expr_type, last_expr_value, block_start_count, block_stack,
18473         stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
18474         nesting_depth, goto_fixup_chain): Delete global vars; now allocated
18475         dynamically in stmt elt of struct function for each function.
18476         (struct nesting): Rename function_call_count elt to n_function_calls,
18477         target_temp_slot_level to block_target_temp_slot_level.  All users
18478         changed.
18479         (struct stmt_status): New structure definition.
18480         Add many accessor macros for stmt_status elements which previously
18481         were global variables.
18482         (init_stmt_for_function): Allocate stmt elt for current_function.
18483         Reflect that block_start_count was renamed to
18484         current_block_start_count.
18485         (save_stmt_status, restore_stmt_status): Delete functions.
18486         (preserve_subexpressions_p): Don't access loop_stack when outside
18487         a function.
18488         (expand_start_bindings): Reflect that block_start_count was renamed to
18489         current_block_start_count.
18490         (expand_fixup): Likewise.
18491         (expand_decl): Don't access block_stack when outside a function.
18492         (expand_decl_cleanup): Likewise.
18493         (expand_dcc_cleanup): Likewise.
18494         (expand_dhc_cleanup): Likewise.
18495         (expand_anon_union_decl): Likewise.
18496         (set_file_and_line_for_stmt): New function.
18497         (in_control_zone_p): New function.
18498
18499         * function.h (struct function): Add new elt stmt.
18500         Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
18501         case_stack, nesting_stack, nesting_depth, block_start_count,
18502         last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
18503         emit_lineno, goto_fixup_chain.
18504         (save_eh_status, restore_eh_status, save_stmt_status,
18505         restore_stmt_status): Delete declarations.
18506         * function.c (push_function_context_to): Don't call save_stmt_status.
18507         (pop_function_context_to): Don't call restore_stmt_status.
18508         * tree.h (in_control_zone_p): Declare.
18509         * rtl.h (set_file_and_line_for_stmt): Declare.
18510
18511         * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
18512         call set_file_and_line_for_stmt.
18513
18514 Thu Jul 31 12:34:45 1999  Joe Buck  <jbuck@synopsys.com>
18515
18516         * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
18517         Also update copyright.
18518
18519 Sat Jul 31 11:10:07 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18520
18521         * c-pragma.c: Don't include "except.h".
18522         * emit-rtl.c: Likewise.
18523         * stor-layout.c: Likewise.
18524         * tree.c: Likewise.
18525         * varasm.c: Likewise.
18526
18527         * flow.c: Include "function.h".
18528         * tree.h (init_dummy_function_start): Declare new function.
18529
18530         * except.h (struct eh_status): New structure.
18531         (struct label_node, struct eh_entry): Declare even if tree.h hasn't
18532         been included.
18533         (eh_return_stub_label, ehstack, catchstack, ehqueue,
18534         catch_clauses, false_label_stack, caught_return_label_stack,
18535         protect_list, current_function_ehc): Add accessor macros for the
18536         corresponding fields in current_function->eh; delete declarations
18537         for all items that used to be declared here.
18538         * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
18539         catch_clauses, false_label_stack, caught_return_label_stack,
18540         protect_list, current_function_ehc): Delete variables.
18541         (init_eh_for_function): Allocate current_function->eh.
18542         (save_eh_status, restore_eh_status): Delete functions.
18543
18544         * function.h (struct function): Add fields next_global and eh.
18545         Delete all exception handling related fields.
18546         * function.c (current_function): New variable.
18547         (all_functions): New variable.
18548         (push_function_context_to): Don't allocate a struct function,
18549         use current_function instead.  Call init_dummy_function_start when
18550         outside a function.  Clear current_function before returning.
18551         (pop_function_context_from): Restore current_function.
18552         Don't free the restored struct function.
18553         (prepare_function_start): New function.
18554         (init_dummy_function_start): New function.
18555         (init_function_start): Break out some code into prepare_function_start
18556         and call it here.
18557
18558         * stmt.c (save_stmt_status): Don't call save_eh_status.
18559         (restore_stmt_status): Don't call restore_eh_status.
18560
18561         * Makefile.in: Update dependencies.
18562
18563 Sat Jul 31 04:10:01 1999  Jeffrey A Law  (law@cygnus.com)
18564
18565         * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
18566         of depending on a magic constant value.  Update comments.
18567         (hppa_expand_prologue): Similarly.
18568
18569         * pa.md (reload_indi, reload_outdi): Allow any register for the
18570         original reload register.
18571
18572 Fri Jul 30 19:41:35 1999  Jim Wilson  <wilson@cygnus.com>
18573
18574         * cccp.c (print_help): Change marcos to macros.
18575
18576 1999-07-30  Richard Henderson  <rth@cygnus.com>
18577
18578         * c-typeck.c (initializer_constant_valid_p): Move ...
18579         * c-common.c (initializer_constant_valid_p): ... here.  Use
18580         FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
18581         of label addresses.
18582         * c-common.h (initializer_constant_valid_p): Declare.
18583         * c-tree.h (initializer_constant_valid_p): Remove.
18584
18585 Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
18586
18587         * config/i386/sol2-c1.asm: Align the stack.
18588         * config/i386/sol2-gc1.asm: Likewise.
18589
18590 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
18591
18592         * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
18593         -Asparclite for sparc86x.
18594         (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
18595         sparc86x.
18596         (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
18597
18598 Fri Jul 30 14:53:56 1999  Jakub Jelinek  <jj@ultra.linux.cz>
18599
18600         * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
18601         the user if using the non-default arch size in BI_ARCH configuration.
18602         * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
18603
18604         * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
18605         Fix patterns so that they actually match.
18606         (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
18607         (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
18608         (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
18609         TARGET_HARD_MUL32.
18610         (mulsidi3): Reflect this in the expand.
18611         (smulsi3_highpart): Only on TARGET_ARCH32.
18612         (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
18613         (const_umulsidi3_sp32): Renamed from const_umulsidi3.
18614         (umulsidi3): Reflect this in the expand.
18615         (umulsi3_highpart): Only on TARGET_ARCH32.
18616         (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
18617         don't require g0 to be zero.
18618         (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
18619         ({,u}divsi3): New expands.
18620         ({,u}divsi3_sp64): New patterns.
18621         (after lshrdi3_v8plus): Four new patterns to help combiner
18622         optimizing nested mixed mode shifts.
18623
18624         * config/sparc/sparc.c (sparc_override_options): Use deprecated
18625         v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
18626         speed things up. Don't use them by default on plain v9 in 64bit
18627         mode, according to what SPAMv9 sais.
18628
18629         * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
18630         top 32 bits of %[og][0-7] in signal handlers.
18631         Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
18632
18633 Fri Jul 30 03:00:41 1999  Jeffrey A Law  (law@cygnus.com)
18634
18635         * pa.md (zvdep_imm32): Renamed from zvdep_imm.
18636         (ashlsi3): Corresponding changes.
18637
18638         * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
18639
18640 Thu Jul 29 18:37:13 1999  Jeffrey A Law  (law@cygnus.com)
18641
18642         * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
18643
18644 Thu Jul 29 19:01:58 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18645
18646         * arm.h (Hint): Delete macro.
18647         Substitute HOST_WIDE_INT for Hint in some prototypes.
18648         * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
18649
18650 Thu Jul 29 09:21:42 1999  Nick Clifton  <nickc@cygnus.com>
18651
18652         * builtins.c (expand_builtin_setjmp): Use force_operand to
18653         make sure that the buffer address is in a suitable form to be
18654         passed to force_reg.
18655
18656 Wed Jul 28 12:50:48 1999  Geoff Keating  <geoffk@cygnus.com>
18657
18658         * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
18659         them here.
18660
18661 Wed Jul 28 13:18:35 1999  Jeffrey A Law  (law@cygnus.com)
18662
18663         * pa.md (indirect_jump): Remove mode from match_operand.  Verify
18664         proper mode in the condition string.
18665         (icacheflush, dcacheflush): Remove modes from match_operands.
18666
18667         * pa.c (emit_move_sequence): Always convert scratch_reg to the
18668         proper mode before using it.
18669
18670         * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
18671         pair.
18672
18673         * pa.c (store_reg): Do not call add_high_const generator directly.
18674         (load_reg, set_reg_plus_d): Likewise.
18675         * pa.md (add_high_const): No longer a named pattern.
18676
18677         * pa.c (legitimize_address): Consistently use Pmode rather than
18678         SImode.  Do not call gen_pic2_highpart directly anymore.
18679         * pa.md (pic2_highpart): No longer a named pattern.
18680         (pic2_lo_sum): Similarly.  Reformat to make more readable.
18681
18682         * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
18683         needed.
18684
18685         * README: Update.
18686
18687 Wed Jul 28 11:28:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18688
18689         * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
18690
18691 Wed Jul 28 11:23:48 1999  Richard Henderson  <rth@cygnus.com>
18692
18693         * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
18694         and tag the spill mems.
18695         (hppa_va_start): New.
18696         (hppa_va_arg): New.
18697         * pa.h (EXPAND_BUILTIN_VA_START): New.
18698         (EXPAND_BUILTIN_VA_ARG): New.
18699
18700 Wed Jul 28 11:22:21 1999  Richard Henderson  <rth@cygnus.com>
18701
18702         * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
18703         and tag the spill mems.
18704         (mn10300_va_start): New.
18705         (mn10300_va_arg): New.
18706         * mn10300.h (EXPAND_BUILTIN_VA_START): New.
18707         (EXPAND_BUILTIN_VA_ARG): New.
18708
18709 Wed Jul 28 11:20:19 1999  Richard Henderson  <rth@cygnus.com>
18710
18711         * mn10200.c (mn10200_va_arg): New.
18712         * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
18713
18714 Wed Jul 28 11:19:06 1999  Richard Henderson  <rth@cygnus.com>
18715
18716         * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
18717         rather than play with TREE_INT_CST_LOW.
18718
18719 1999-07-27  Philip Blundell  <pb@nexus.co.uk>
18720
18721         * config/arm/telf.h: Include dbxelf.h.
18722         (CPP_PREDEFINES): Only define if not already defined.
18723         (ASM_IDENTIFY_GCC): Likewise.
18724         (SUBTARGET_EXTRA_SECTIONS): Likewise.
18725         (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
18726         * config/arm/thumb.h (LINK_SPEC): Only define if not already
18727         defined.
18728         (DBX_DEBUGGING_INFO): Don't define.
18729         * config/arm/linux-telf.h: New file.
18730         * config/arm/linux-tgas.h: New file.
18731         * config/arm/t-thumb-linux: New file.
18732         * config/arm/uclinux-elf.h: New file.
18733         * config/arm/uclinux-telf.h: New file.
18734         * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
18735         thumb-*-uclinux): New targets.
18736         * configure: Regenerate.
18737
18738 Tue Jul 27 23:20:21 1999  Jeffrey A Law  (law@cygnus.com)
18739
18740         * pa.md (post_store, pre_load): New expanders.
18741         (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
18742         (post_ldwm, pre_stwm): Make these unnamed patterns since we never
18743         need to directly generate RTL for them.
18744         * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
18745         changes.
18746
18747 Tue Jul 27 16:05:52 1999  David Edelsohn  <edelsohn@gnu.org>
18748
18749         * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
18750         * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
18751         (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
18752         (secndary_reload_class): Make TARGET_ELF conditional compile.
18753         (print_operand_address): Similar.
18754         (output_toc): Print all values as hex.
18755         (get_issue_rate): Rearrange and add RS64A and PPC630.
18756         * rs6000.h (processor_type): Add RS64A and PPC630.
18757         (PROCESSOR_POWERPC64): New.
18758         (PROMOTE_MODE): Use word_mode.
18759         (RTX_COSTS): Add RS64A and PPC630.
18760         * rs6000.md (scheduling information): Add lmul and ldiv
18761         representing 64-bit integer multiply and divide.  Add rs64a and
18762         PPC630 information.
18763         (ashldi3): Add support for "rldic" instruction.
18764         * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
18765
18766 Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>
18767
18768         * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
18769         instead of V8 for sparclite86x in cpu_table.
18770
18771 Tue Jul 27 17:49:42 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
18772
18773         * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
18774         output_file_directive.
18775
18776 Tue Jul 27 03:15:33 1999  Jason Merrill  <jason@yorick.cygnus.com>
18777
18778         * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
18779         tree for op1, not the rtl.
18780
18781 Tue Jul 27 00:18:34 1999  Richard Henderson  <rth@cygnus.com>
18782
18783         * m88k.c (m88k_builtin_saveregs): Break out the constructor code
18784         to m88k_va_start, leaving only the register spill.
18785         (m88k_build_va_list): New.
18786         (m88k_va_start): New.
18787         (m88k_va_arg): New.
18788         * m88k.h (BUILD_VA_LIST_TYPE): New.
18789         (EXPAND_BUILTIN_VA_START): New.
18790         (EXPAND_BUILTIN_VA_ARG): New.
18791
18792 Mon Jul 26 19:07:11 1999  Geoff Keating  <geoffk@cygnus.com>
18793
18794         * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
18795         Rename from expand_builtin_saveregs.
18796         * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
18797
18798 Mon Jul 26 22:52:47 1999  Richard Henderson  <rth@cygnus.com>
18799
18800         * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
18801         for the register spill block.
18802         (i960_build_va_list): New.
18803         (i960_va_start): New.
18804         (i960_va_arg): New.
18805         * i960.h (BUILD_VA_LIST_TYPE): New.
18806         (EXPAND_BUILTIN_VA_START): New.
18807         (EXPAND_BUILTIN_VA_ARG): New.
18808         * i960.md (store_multiple): Use change_address on individul mems.
18809
18810 Mon Jul 26 22:43:12 1999  Richard Henderson  <rth@cygnus.com>
18811
18812         * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
18813         an ARRAY_TYPE.
18814         (std_expand_builtin_va_start): Back out one word if !stdarg_p.
18815         (expand_builtin_va_end): Evaluate arg for side effects.
18816         * c-common.c (c_common_nodes_and_builtins): Construct a
18817         va_list_arg_type_node to handle array decomposition to pointer.
18818
18819 Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
18820
18821         * except.c (start_dynamic_cleanup): Use force_operand on the
18822         buffer's address.
18823
18824 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
18825
18826         * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
18827         * c4x.c (c4x_va_arg): New.
18828
18829 Mon Jul 26 12:30:09 1999  Jason Merrill  <jason@yorick.cygnus.com>
18830
18831         * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
18832         has manual_pop set.
18833
18834 1999-07-26  Nathan Sidwell  <nathan@acm.org>
18835
18836         * eh-common.h (__eh_matcher): Prototype correctly.
18837
18838 Mon Jul 26 17:24:51 1999  Philip Blundell  <pb@nexus.co.uk>
18839
18840         * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
18841         (TARGET_SINGLE_PIC_BASE): Likewise.
18842         (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
18843         definitions.
18844         (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
18845         (TARGET_SWITCHES): Add -m{no-}single-pic-base.
18846         (TARGET_OPTIONS): Add -mpic-register=N.
18847         (OUTPUT_INT_ADDR_CONST): New macro.
18848         (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
18849         LEGITIMATE_PIC_OPERAND_P): Likewise.
18850         (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
18851         (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
18852         output_addr_const directly.
18853         (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
18854         ARM port.
18855         (thumb_pic_register, thumb_pic_register_string): Declare.
18856
18857         * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
18858         from arm.c.
18859         (label_mentioned_p): New function: Imported from arm.c.
18860         (legitimize_pic_address): New function: Imported from arm.c.
18861         (is_pic):New function: Imported from arm.c.
18862         (thumb_finalize_pic):New function: Imported from arm.c.
18863         (add_constant): Cope with PIC constants.
18864         (fixit): Cope with PIC constants.
18865         (output_return): Do not treat the PIC register as live if
18866         TARGET_SINGLE_PIC_BASE is true.
18867         (thumb_function_prologue): Do not treat the PIC register as live if
18868         TARGET_SINGLE_PIC_BASE is true.
18869         (thumb_expand_prologue): Do not treat the PIC register as live if
18870         TARGET_SINGLE_PIC_BASE is true.
18871         (thumb_unexpand_epilogue): Do not treat the PIC register as live if
18872         TARGET_SINGLE_PIC_BASE is true.
18873         (thumb_print_operand): Accept '|'.
18874         (thumb_override_options): Process PIC options.
18875
18876         * config/arm/thumb.md (movsi): Support PIC.
18877         (call_insn): Change "i" constraint to "X".
18878         (call_value_insn): Likewise.
18879         (consttable_4, consttable_8, consttable_end): Set and clear
18880         "making_const_table" as appropriate.
18881         (pic_load_addr, pic_add_dot_plus_four): New insns.
18882
18883         * invoke.texi (Thumb Options): Fix spelling.  Document new
18884         options -msingle-pic-base and -mpic-register=.
18885
18886 1999-07-26  Andrew Haley  <aph@cygnus.com>
18887
18888         * config/m32r/initfini.c (__init): Use a full word immediate for
18889         __fini: this allows it to be placed in any memory region.
18890
18891         * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
18892         -mmodel=medium.  This is OK for all memory models.
18893
18894 Mon Jul 26 11:58:46 1999  Nick Clifton  <nickc@cygnus.com>
18895
18896         * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
18897         * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
18898
18899 Mon Jul 26 10:23:36 1999  Nick Clifton  <nickc@cygnus.com>
18900
18901         * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
18902         defined.
18903
18904         * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
18905
18906 Sun Jul 25 23:51:59 1999  Richard Henderson  <rth@cygnus.com>
18907
18908         * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
18909         (BUILD_VA_LIST_TYPE): New.
18910         (EXPAND_BUILTIN_VA_START): New.
18911         (EXPAND_BUILTIN_VA_ARG): New.
18912         * i860.c (output_delayed_branch): Disable.
18913         (output_delay_insn): Likewise.
18914         (i860_saveregs): New.
18915         (i860_build_va_list): New.
18916         (i860_va_start): New.
18917         (i860_va_arg): New.
18918         * i860.md: Disable all peepholes using output_delayed_branch.
18919         * i860/sysv4.h (I860_SVR4_VA_LIST): New.
18920
18921 Sun Jul 25 23:44:13 1999  Richard Henderson  <rth@cygnus.com>
18922
18923         * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
18924         (BUILD_VA_LIST_TYPE): New.
18925         (EXPAND_BUILTIN_VA_START): New.
18926         (EXPAND_BUILTIN_VA_ARG): New.
18927         * clipper.c (clipper_builtin_saveregs): Only dump registers.
18928         Return the address of the save area.
18929         (clipper_build_va_list): New.
18930         (clipper_va_start): New.
18931         (clipper_va_arg): New.
18932
18933 Sun Jul 25 22:56:47 1999  Richard Henderson  <rth@cygnus.com>
18934
18935         * arc.h (EXPAND_BUILTIN_VA_START): New.
18936         (EXPAND_BUILTIN_VA_ARG): New.
18937         * arc.c (arc_setup_incoming_varargs): Set alias set of
18938         varargs save area.
18939         (arc_va_start): New.
18940         (arc_va_arg): New.
18941
18942 Sun Jul 25 22:45:55 1999  Richard Henderson  <rth@cygnus.com>
18943
18944         * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
18945         (BUILD_VA_LIST_TYPE): New.
18946         (EXPAND_BUILTIN_VA_START): New.
18947         (EXPAND_BUILTIN_VA_ARG): New.
18948         * alpha.c (alpha_builtin_saveregs): Delete.
18949         (alpha_build_va_list): New.
18950         (alpha_va_start): New.
18951         (alpha_va_arg): New.
18952
18953 Sun Jul 25 21:40:33 1999  Jeffrey A Law  (law@cygnus.com)
18954
18955         * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
18956         column zero.
18957         (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
18958         (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
18959
18960         * gcc.texi: More changes related to list conversion.
18961         * invoke.texi: Likewise.
18962
18963 Sun Jul 25 18:15:39 1999  Richard Henderson  <rth@cygnus.com>
18964
18965         * builtins.c (expand_builtin_saveregs): Remove static, remove exp
18966         and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
18967         (expand_builtin_next_arg): Accept ARGLIST not EXP.
18968         (stabilize_va_list): New function.
18969         (std_expand_builtin_va_start): New function.
18970         (expand_builtin_va_start): New function.
18971         (get_varargs_alias_set): New function.
18972         (std_expand_builtin_va_arg): New function.
18973         (expand_builtin_va_arg): New function.
18974         (expand_builtin_va_end): New function.
18975         (expand_builtin_va_copy): New function.
18976         (expand_builtin): Call them.
18977         * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
18978         __builtin_{varargs_start,stdarg_start,end,copy}.
18979         (build_va_arg): New function.
18980         * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
18981         (build_va_arg): Declare.
18982         * c-decl.c (ptr_type_node, va_list_type_node): New.
18983         * c-parse.gperf (__builtin_va_arg): New.
18984         * c-parse.in (VA_ARG): New token.
18985         (unary_expr): Recognize it.
18986         * expr.c (expand_expr): Expand VA_ARG_EXPR.
18987         * expr.h (std_expand_builtin_va_start): Declare.
18988         (std_expand_builtin_va_arg): Declare.
18989         (expand_builtin_va_arg): Declare.
18990         (get_varargs_alias_set): Declare.
18991         * tree.def (VA_ARG_EXPR): New.
18992         * tree.h (BUILT_IN_VARARGS_START): New.
18993         (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
18994         (ptr_type_node, va_list_type_node): Declare.
18995         * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
18996         * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
18997         * m88k.h, m88k.c: Likewise.
18998         * mn10300.h, mn10300.c: Likewise.
18999         * pa.h, pa.c: Likewise.
19000         * rs6000.h, rs6000.c: Likewise.
19001         * sh.h, sh.c: Likewise.
19002         * sparc.h, sparc.c: Likewise.
19003
19004         * emit-rtl.c (operand_subword): Copy alias set.
19005         (change_address): Likewise.
19006
19007 Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
19008
19009         * pa.c (compute_frame_size): Scan all the used callee saved registers,
19010         not just the first one.
19011
19012 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
19013
19014         * config/arm/arm.h (TARGET_SWITCHES): Add
19015         -m{no-}single-pic-base.  Correct help string for -mshort-load-words.
19016         (TARGET_OPTIONS): Add -mpic-register=.
19017         (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
19018         (arm_pic_register_string): Declare.
19019         (NEED_PLT_GOT): Delete, replace with ...
19020         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  New macros.
19021         (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
19022         (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
19023         * config/arm/arm.c (arm_override_options): Add new option
19024         -mpic-register=N.
19025         (arm_pic_register_string): New variable.
19026         (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
19027         (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
19028         register as never live.  Use NEED_PLT_RELOC not NEED_PLT_GOT.
19029         (output_return_instruction): Likewise.
19030         * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
19031         (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these.  Define to flag_pic.
19032         * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
19033
19034         * invoke.texi (ARM Options): Fix spelling.  Remove duplicate
19035         mention of -msched-prolog.  Document new options -msingle-pic-base
19036         and -mpic-register=.
19037
19038 Thu Jul 22 18:23:56 1999  Richard Henderson  <rth@cygnus.com>
19039
19040         * haifa-sched.c (reemit_notes): Tidy.
19041         * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
19042         haifa's routine.
19043
19044 Thu Jul 22 18:21:04 1999  Richard Henderson  <rth@cygnus.com>
19045
19046         * explow.c (trunc_int_for_mode): New function.
19047         (plus_constant_wide): Use it.
19048         * combine.c (simplify_and_const_int): Likewise.
19049         (merge_outer_ops): Likewise.
19050         (simplify_shift_const): Likewise.
19051         * cse.c (simplify_unary_operation): Likewise.
19052         (simplify_binary_operation): Likewise.
19053         * emit-rtl.c (operand_subword): Likewise.
19054         * rtl.h: Declare it.
19055
19056 Thu Jul 22 14:34:59 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19057
19058         * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
19059         (use NUM_REGS instead of NUM_INTS).
19060
19061 Thu Jul 22 11:25:20 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19062
19063         * builtins.c: New file.
19064         * expr.c (saveregs_value, apply_args_value):  Delete definition,
19065         moved into builtins.c.
19066         (string_constant): No longer static.
19067         (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
19068         apply_args_size, apply_result_size, result_vector,
19069         expand_builtin_apply_args, expand_builtin_apply,
19070         expand_builtin_return): Delete functions, moved into builtins.c.
19071         (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
19072         * expr.h (saveregs_value, apply_args_value): Declare variables.
19073         (expand_builtin, string_constant): Declare functions.
19074         * Makefile.in: Update to build builtin.o.
19075
19076 Wed Jul 21 00:46:58 1999  Mark P. Mitchell  <mark@codesourcery.com>
19077
19078         * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
19079         * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
19080         * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
19081         start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
19082         false.
19083         * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
19084         Define to zero.
19085
19086 1999-07-21  Michael Meissner  <meissner@cygnus.com>
19087
19088         * print-rtl.c (print_rtx): Print the names of the virtual
19089         registers.
19090
19091 Wed Jul 21 16:00:32 1999  Nick Clifton  <nickc@cygnus.com>
19092
19093         * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
19094         introduced in previous delta.
19095
19096 Wed Jul 21 14:30:51 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19097
19098         * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
19099         to avoid name clash.
19100
19101 Wed Jul 21 08:39:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19102
19103         * c-lex.c (yylex) : Correct the test for overflow when lexing
19104         integer literals.
19105
19106 Tue Jul 20 18:02:42 1999  Richard Henderson  <rth@cygnus.com>
19107
19108         * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
19109         (adjust_priority): Always call ADJUST_PRIORITY.
19110         (schedule_insn): Only put insns into the ready at cost 0.
19111         (schedule_block): Remove redundant initial sort.  Give clock_var
19112         and can_issue_more to MD_SCHED_REORDER.  Requeue if hazard cost
19113         is not 0.
19114         * tm.texi (MD_SCHED_REORDER): Update docs.
19115
19116         * sparc.h (MD_SCHED_REORDER): Update.  Set CAN_ISSUE_MORE.
19117         * sparc.c (ultra_reorder_called_this_block): Delete.
19118         (ultrasparc_sched_init): Don't set it.
19119         (ultrasparc_sched_reorder): Don't check it.
19120
19121 Tue Jul 20 17:07:54 1999  Richard Henderson  <rth@cygnus.com>
19122
19123         * rs6000.h (struct rs6000_args): Add sysv_gregno.
19124         * rs6000.c (init_cumulative_args): Init sysv_gregno.
19125         (function_arg_boundary): Align DFmode.
19126         (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
19127         to get fp reg and stack overflow correct.
19128         (function_arg): Likewise.
19129         (function_arg_pass_by_reference): True for TFmode for ABI_V4.
19130         (setup_incoming_varargs): Restructure for ABI_V4; use
19131         function_arg_advance to skip final named argument.
19132         (expand_builtin_saveregs): Properly unskip the last integer arg
19133         when doing varargs.  Adjust overflow location calculation.
19134
19135         * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
19136         explicitly unsigned.
19137         (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
19138         (__VA_GP_REGSAVE): Similarly.
19139         (__va_longlong_p): Delete.
19140         (__va_arg_type_violation): New declaration.
19141         (va_arg): Restructure.  Flag promotion errors.  Align double.
19142         TFmode passed by reference.
19143
19144         * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
19145         in the HOST_BITS_PER_WIDE_INT > 32 case.
19146
19147 Tue Jul 20 12:37:30 1999  Hans-Peter Nilsson  <hp@bitrange.com>
19148
19149         * dwarf2out.c (output_abbrev_section): Terminate with a zero.
19150
19151 Tue Jul 20 12:12:27 1999  Jason Merrill  <jason@yorick.cygnus.com>
19152
19153         * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
19154         * toplev.c (documented_lang_options): Add -fpreprocessed.
19155         * cpplib.h (struct cpp_buffer): Add preprocessed.
19156         * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
19157         (cpp_start_read): Don't expand macros or emit an initial #line
19158         directive if -fpreprocessed.
19159
19160 Tue Jul 20 12:12:09 1999  Michael Tiemann  <tiemann@holodeck.cygnus.com>
19161
19162         * cpplib.h (struct cpp_buffer): Added manual_pop for
19163         better C++ tokenization.
19164         * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
19165         Also, support C++ tokenization for ->*, .*, <?, and >? operators.
19166         * c-common.c (cpp_token): Make non-static.
19167
19168 Tue Jul 20 11:24:19 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19169
19170         * c-common.h: New file.
19171         * c-common.c (permanent_obstack): Delete unused declaration.
19172         (c_global_trees): New array.
19173         (c_common_nodes_and_builtins): New function; split off common code
19174         from init_decl_processing in both c-decl.c and cp/decl.c.
19175         * c-tree.h: Delete lots of declarations of tree nodes; replaced by
19176         c_global_trees and accessor macros defined in c-common.h.
19177         Include c-common.h.
19178         * c-decl.c: Delete definitions for tree nodes that were replaced by
19179         c_global_trees.
19180         (init_decl_processing): Build void_list_node.
19181         Call c_common_nodes_and_builtins; delete code to generate the common
19182         builtins here.
19183         * objc/objc-act.c (build_module_descriptor): Rename variable
19184         void_list_node to avoid clash with c-common.h.
19185
19186         * Makefile.in: Update dependencies.
19187         * objc/Make-lang.in: Likewise.
19188
19189 Mon Jul 19 14:22:18 1999  Mark P. Mitchell  <mark@codesourcery.com>
19190
19191         * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
19192         (UNIQUE_SECTION_P): Likewise.
19193         (UNIQUE_SECTION): Likewise.
19194
19195 1999-07-19  Linas Vepstas  <linas@linas.org>
19196
19197         * config/i370/README: New file.
19198         * config/i370/linux.h: New file.
19199         * config/i370/mvs.h: New file.
19200         * config/i370/oe.h: New file.
19201         * config/i370/t-linux: New file.
19202         * config/i370/t-mvs: New file.
19203         * config/i370/t-oe: New file.
19204         * config/i370/x-oe: New file.
19205         * config/i370/xm-linux.h: New file.
19206         * config/i370/xm-mvs.h: New file.
19207         * config/i370/xm-oe.h: New file.
19208
19209         * i370.c (label_node_t): Add first_ref_page, label_addr,
19210         label_first_ref, label_last_ref members.
19211         (mvs_need_base_reload): Renamed from mvs_label_emitted.
19212         (MAX_MVS_LABEL_SIZE): Define.
19213         (MAX_LONG_LABEL_SIZE): Define.
19214         (alias_node_t, alias_anchor, alias_number): New.
19215         (mvs_function_table): Reorder for EBCDIC.
19216         (ascebc, ebcasc): Unconditionally define.
19217         (i370_branch_dest, i370_branch_length): New functions.
19218         (i370_short_branch, i370_label_scan): New functions.
19219         (mvs_get_label): Renamed from mvs_add_label.  Search for
19220         an existing label before creating a new one.
19221         (mvs_add_label): New function.
19222         (mvs_get_label_page): New function.
19223         (mvs_free_label_list): Renamed from mvs_free_label.  Iterate
19224         over the entire list.
19225         (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
19226         (mvs_check_page) [TARGET_ELF_ABI]: New function.
19227         (mvs_add_alias, mvs_need_alias): New functions.
19228         (mvs_get_alias, mvs_check_alias): New functions.
19229         (handle_pragma): New function.
19230         (mvs_function_check): New function.
19231         (unsigned_jump_follows_p): Search harder.
19232         (i370_function_prolog) [TARGET_HLASM]: Handle LE370.  Scan labels.
19233         (i370_function_prolog) [TARGET_ELF_ABI]: New function.
19234         * i370.h (TARGET_VERSION): Delete.
19235         (CPP_SPEC, CPP_PREDEFINES): Delete.
19236         (mvs_label_emitted): Delete.
19237         (TARGET_EBCDIC): Delete.
19238         (MAP_CHARACTER): Define only if TARGET_EBCDIC.
19239         (HANDLE_PRAGMA): Define.
19240         (HARD_REGNO_NREGS): Handle complex modes.
19241         (HARD_REGNO_MODE_OK): Likewise.
19242         (CLASS_MAX_NREGS): Likewise.
19243         (RET_REG): Likewise.
19244         (EXTRA_CONSTRAINT): Define.
19245         (RETURN_IN_MEMORY): True for DImode.
19246         (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
19247         (FUNCTION_PROFILER): Delete.
19248         (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
19249         (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
19250         (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
19251         (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
19252         (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
19253         (ASM_FILE_START): Add "RMODE ANY".
19254         (ASM_OUTPUT_EXTERNAL): Check for aliases.
19255         (ASM_GLOBALIZE_LABEL): Likewise.
19256         (ASM_OUTPUT_LABELREF): Likewise.
19257         (ASM_OUTPUT_COMMON): Likewise.
19258         (PRINT_OPERAND): Handle 'K', 'W', default.
19259         (PRINT_OPERAND_ADDRESS): New.
19260         (Lots of defines): Add support for TARGET_ELF_ABI.
19261         * i370.md (attr length): New.  Define for all patterns.
19262         (*): Lots of tweeks to assembly output and constraints.
19263
19264 Mon Jul 19 15:09:29 1999  David Edelsohn  <edelsohn@gnu.org>
19265
19266         * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
19267         Disable patterns performing SImode comparisons with SImode values
19268         if TARGET_POWERPC64 and instruction does not sign-extend or does
19269         not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
19270         differ for signed quantities.
19271         (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
19272         (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
19273         (decrement_and_branch_on_count): Add 64-bit variant.
19274
19275 Mon Jul 19 09:36:27 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19276
19277         * final.c (output_asm_insn): When searching for the matching string
19278         for a given dialect, don't run past the end of the list of
19279         alternatives if there are fewer alternatives in the template than
19280         dialects.
19281
19282 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
19283
19284         * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
19285         Removed paragraph about compression of files and size limitation,
19286         duplicated in the FAQ.  Use gcc-patches for posting patches.
19287         * gcc.c (main): Updated URL with bug reporting instructions to
19288         gcc.gnu.org.  Removed e-mail address.
19289         * system.h (abort): Likewise.
19290
19291 1999-07-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19292
19293         * Makefile.in (stmp-multilib-sub): Make the files extracted
19294         from $(LIBGCC1) writable.
19295
19296 Sat Jul 17 14:25:46 1999  Nick Clifton  <nickc@cygnus.com>
19297
19298         * config/arm/aout.h: Reformat for improved readability.
19299
19300         * config/arm/arm.h: Reformat for improved readability.
19301         Replace uses of fprintf with asm_fprintf where appropriate.
19302         (ARM_DECLARE_FUNCTION_NAME): New macro:  Perform any generic ARM
19303         function declaration assembler actions.
19304         (NUM_INTS): New macro: Convert from bytes to words.
19305         (NUM_REGS): New macro: Compute number of registers required to
19306         hold a quanitity of tyep MODE.
19307         (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
19308         types.
19309         (NUM_ARG_REGS): New macro: The number of argument registers
19310         available.
19311         (ARG_REGISTER): New macro: Compute the register number of the Nth
19312         argument register.
19313         (LAST_ARG_REGNUM): New macro: The number of the last argument
19314         register.
19315         (SP_REGNUM): New macro: Register number of the stack pointer.
19316         (FP_REGNUM): New macro: Register number of the frame pointer.
19317         (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
19318         FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
19319         CUMULATIVE_ARGS so that it counts registers not bytes.
19320
19321         * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
19322         TARGET_INTERWORK.
19323         Replace uses of fprintf with asm_fprintf where appropriate.
19324         (output_ascii_pseudo_op): Replace with version from thumb.c
19325
19326         * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
19327
19328         * config/arm/elf.h (CPP_PREDEFINES): Replace with
19329         SUBTARGET_CPP_SPEC.
19330         (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
19331         (ASM_FILE_START): Emit ASM_APP_OFF.
19332
19333 Fri Jul 16 13:48:09 1999  Jeffrey A Law  (law@cygnus.com)
19334
19335         * pa.c (compute_frame_size): Round frame according to
19336         STACK_BOUNDARY rather than a hardwired value.
19337
19338         * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
19339
19340         * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
19341         of "1".
19342         * configure: Rebuilt.
19343
19344         * configure.in (hppa*-*-linux*): New configuration.
19345         * configure: Rebuilt.
19346         * pa.h (MAX_OFILE_ALIGNMENT): Delete.
19347         * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
19348         * pa/pa-linux.h: New file.
19349         * pa/t-linux: New file.
19350         * pa/xm-linux.h: New file.
19351
19352         * pa.c (hppa_legitimize_address): Change references from SImode to
19353         either Pmode or word_mode as appropriate.
19354         (emit_move_sequence, store_reg, load_reg): Likewise.
19355         (set_reg_plus_d, hppa_expand_prologue): Likewise.
19356         (output_mul_insn): Likewise.
19357         * pa.h (PROMOTE_MODE): Likewise.
19358         (INITIALZE_TRAMPOLINE): Likewise.
19359         (Pmode): Define to word_mode.
19360
19361         * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
19362         value of 4.  Allocate 8 bytes for each FP register save.
19363         (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
19364         value of 4.
19365         (hppa_expand_prologue): Likewise.
19366         * pa.h (PROMOTE_MODE): Likewise.
19367         (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
19368         (FUNCTION_ARG_BOUNDARY): Likewise.
19369
19370         * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
19371
19372         * pa.c (out_of_line_prologue_epilogue): Delete.
19373         (override_options): Remove -mspace related code.
19374         (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
19375         (compute_frame_size): Only allocate space for register that
19376         actually need to be saved.
19377         * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
19378         (TARGET_SWITCHES): Remove -mspace, -mno-space
19379         * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
19380         * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.  Remove -mspace multilib.
19381         * pa/ee.asm, pa/ee_fp.asm: Delete.
19382
19383         * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
19384
19385         * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
19386         directive in column zero.
19387
19388 Fri Jul 16 01:39:57 1999  Jeffrey A Law  (law@cygnus.com)
19389
19390         * m68k.c (output_function_prologue): Fix computation of save mask
19391         when generating PIC code.
19392
19393 Thu Jul 15 15:40:09 1999  Jim Wilson  <wilson@cygnus.com>
19394
19395         * tree.c (build_type_attribute_variant): Move current_obstack restore
19396         after build_qualified_type call.
19397
19398 1999-07-15  Mark Mitchell  <mark@codesourcery.com>
19399
19400         * configure.in: Use t-iris6, even with GNU LD.
19401         * config/mips/iris6gld.h: Fix typo in linker spec.
19402         * config/mips/t-iris6gld: Remove.
19403
19404 Thu Jul 15 15:15:43 1999  David Edelsohn  <edelsohn@gnu.org>
19405
19406         * rs6000.md (insv, extzv): Remove SImode dependence in named
19407         patterns.  Explicitly generate DImode RTL if PowerPC64 and
19408         operand is DImode.
19409         (insvdi): Reverse start and size in instruction template.
19410
19411 1999-07-12  Joseph S. Myers  <jsm28@cam.ac.uk>
19412
19413         * invoke.texi: Typo fixes.
19414
19415 Wed Jul 14 23:28:06 1999  Jeffrey A Law  (law@cygnus.com)
19416
19417         * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
19418         handle at this time instead of silently generating incorrect code.
19419         (gen_imagpart): Likewise.
19420
19421         * reload.c (find_reloads): Emit a USE for a pseudo register without
19422         a hard register if we could not create an optional reload for the
19423         pseudo.
19424
19425 Wed Jul 14 23:45:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19426
19427         * c-typeck.c (output_init_element, process_init_element):
19428         When advancing constructor_unfilled_fields for a RECORD_TYPE,
19429         check for nameless bit fields.
19430
19431 Wed Jul 14 01:57:39 1999  Richard Henderson  <rth@cygnus.com>
19432
19433         * regclass.c (scan_one_insn): Notice subregs that change the
19434         size of their operand.
19435         (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
19436
19437 Wed Jul 14 01:41:42 1999  Jeffrey A Law  (law@cygnus.com)
19438
19439         * configure.in (alpha*-*-*): Include alpha/t-ieee.
19440         * configure: Rebuilt.
19441         * alpha/t-ieee: New file.
19442
19443 Tue Jul 13 10:45:58 1999  Jeffrey A Law  (law@cygnus.com)
19444
19445         * rs6000.c (find_addr_reg): Do not select r0 as an address
19446         register.
19447
19448 Tue Jul 13 00:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
19449
19450         * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
19451
19452 Mon Jul 12 14:29:15 1999  Jeffrey A Law  (law@cygnus.com)
19453
19454         * rs6000.md (movsf): Do not force easy FP constants into memory.
19455
19456         * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
19457         immed_double_const to ensure they are properly truncated then
19458         sign extended.
19459
19460 Mon Jul 12 10:40:01 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
19461
19462         * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
19463         always unless NO_DEBUG is used.  Compile this code
19464         unconditionally.
19465         (replace_symbols_in_block): Compile it unconditionally.
19466
19467 Sun Jul 11 12:32:32 1999  Jeffrey A Law  (law@cygnus.com)
19468
19469         * configure.in (i?86-*-elf*): New target.
19470         * configure: Rebuilt.
19471         * i386/i386elf.h, i386/t-i386elf: New files.
19472
19473 Fri Jul  9 22:39:44 1999  Jason Merrill  <jason@yorick.cygnus.com>
19474
19475         * toplev.c (main): Don't complain about saying -gdwarf.
19476         (rest_of_compilation): Remove redundant code.
19477
19478 Fri Jul  9 19:08:55 1999  Jim Wilson  <wilson@cygnus.com>
19479
19480         * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
19481
19482 Fri Jul  9 18:54:18 1999  Felix Lee  <flee@cygnus.com>
19483
19484         * config/i960/i960.c (ret_label): Change asm label from "LR:" to
19485         "Li960R:", to avoid name clash.
19486
19487 Fri Jul  9 10:48:28 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
19488
19489         * loop.c (check_dbra_loop): When reversing a loop, delete all
19490         REG_EQUAL notes referencing the reversed biv except those which are
19491         for a giv based on it.
19492
19493 Fri Jul  9 03:51:52 1999  Jeffrey A Law  (law@cygnus.com)
19494
19495         * version.c: Drop "gcc-" prefix from version #.
19496
19497 Thu Jul  8 18:06:30 1999  Jason Merrill  <jason@yorick.cygnus.com>
19498
19499         * dwarf2out.c (dwarf2out_line): Emit a line number comment after
19500         the label if we're being verbose.
19501
19502 Thu Jul  8 14:18:46 1999  Richard Henderson  <rth@cygnus.com>
19503
19504         * m68k.c (output_function_prologue): Add pic register to mask
19505         if live and flag_pic.
19506         (output_function_epilogue): Likewise.
19507
19508 Thu Jul  8 12:55:12 1999  Jeffrey A Law  (law@cygnus.com)
19509
19510         * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
19511         directives in column zero.
19512
19513         * pa/elf.h (ASM_FILE_START): Define.
19514         * pa/som.h (ASM_FILE_START): Include .level directives.
19515         * pa/hpux10.h (ASM_FILE_START): Delete.
19516         * pa/hpux11.h (ASM_FILE_START): Delete.
19517
19518         * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
19519
19520 Thu Jul  8 18:03:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19521
19522         * reload1.c (choose_reload_regs): Never call remove_adress_replacements
19523         when reload_out equals reload_in.
19524
19525 Thu Jul  8 16:50:14 1999  Nick Clifton  <nickc@cygnus.com>
19526
19527         * invoke.texi (Spec Files): New node: Describe the contents of
19528         spec files.
19529
19530 Thu Jul  8 10:28:25 1999  Craig Burley  <craig@jcb-sc.com>
19531
19532         * invoke.texi (DEC Alpha Options): Put @end table at
19533         beginning of line, to avoid confusing texi2html.
19534
19535 Thu Jul  8 09:22:06 1999  Nick Clifton  <nickc@cygnus.com>
19536
19537         * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
19538         introduced in previous delta.
19539
19540 Wed Jul  7 02:00:04 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
19541
19542         * reload1.c (gen_reload): When synthesizing a 3 operand add
19543         sequence, improve test for when to reload OP1 into the reload
19544         register instead of OP0.
19545
19546 Wed Jul  7 01:38:03 1999  Jim Wilson  <wilson@cygnus.com>
19547
19548         * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
19549
19550 1999-07-07  Manfred Hollstein  <mhollstein@cygnus.com>
19551
19552         * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
19553         string literal.
19554
19555 Wed Jul  7 01:16:43 1999  Richard Henderson  <rth@cygnus.com>
19556
19557         * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
19558         (va_dcl): Use __builtin_va_alist_t.
19559
19560 Wed Jul  7 01:14:42 1999  Jason Merrill  <jason@yorick.cygnus.com>
19561
19562         * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
19563         on the permanent_obstack.
19564         * dwarfout.c (output_type): Likewise.
19565
19566 Tue Jul  6 15:25:32 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19567
19568         * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
19569         Merged from c-typeck.c and cp/typeck.c.
19570         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
19571         Merged into c-common.
19572
19573 Tue Jul  6 13:06:01 1999  Dave Brolley  <brolley@cygnus.com>
19574
19575         * c-lex.c (errorcount): Declare it.
19576         (finish_parse): Update errorcount when using CPPLIB.
19577
19578 1999-07-06  Bruce Korb  <ddsinc09@ix.netcom.com>
19579
19580         * fixinc/inclhack.def(end_else_label): Double the backslash so
19581         sed gets a chance to see it.
19582         * fixinc/inclhack.sh: regen
19583         * fixinc/fixincl.x: regen
19584
19585 Fri Jul  2 18:49:51 1999  Nick Clifton  <nickc@cygnus.com>
19586
19587         Add framework to support armv5 architecture when it becomes
19588         available:
19589
19590         * config/arm/arm.c (FL_ARCH5): New processor capability flag.
19591         (arm_arch5): New variable.
19592         (all_architectures): Add armv5 line.
19593         * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
19594         -march=armv5 is specified on the command line.
19595         (arm_arch5): Export this variable.
19596         * invoke.texi: Document new string accepted by -march= switch for
19597         ARM ports.
19598
19599         * config/arm/arm.h: Replace use of constant 12 as a register
19600         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
19601         * config/arm/arm.c: Replace use of constant 12 as a register
19602         number with IP_REGNUM.  Similarly 14 and LR_REGNUM.
19603
19604         * config/arm/elf.h: Tidy up.
19605         * config/arm/coff.h: Tidy up.
19606
19607 Thu Jul  1 19:08:13 1999  Mark P. Mitchell  <mark@codesourcery.com>
19608
19609         * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
19610         * gcc/config/mips/t-iris6gld: New file.
19611         * gcc/config/mips/iris6gld.h: Likewise.
19612
19613 Fri Jul  2 13:23:39 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19614
19615         * c-decl.c (widest_integer_literal_type_node,
19616         widest_unsigned_literal_type) : New.
19617         (init_decl_processing): Handle/use the two new types.
19618         * c-common.c (type_for_size,type_for_mode) : Same.
19619         * c-lex.c (yylex) : Same.
19620         * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
19621         Same.
19622         * c-tree.h (widest_integer_literal_type_node,
19623         widest_unsigned_literal_type) : New.
19624
19625 Fri Jul  2 03:05:44 1999  Jeffrey A Law  (law@cygnus.com)
19626
19627         * dwarfout.c (field_byte_offset): Correctly compute the object's
19628         byte offset for the first bit of a field which crosses an alignment
19629         boundary on a !BYTES_BIG_ENDIAN target.
19630
19631 Fri Jul  2 01:36:36 1999  Robert Lipe  <robertlipe@usa.net>
19632
19633         * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
19634         ntohs.
19635
19636 Fri Jul  2 00:46:47 1999  Richard Henderson  <rth@cygnus.com>
19637                           Jeff Law <law@cygnus.com>
19638
19639         * ginclude/varargs.h (va_dcl): Use word_mode for type of
19640         __builtin_va_list.
19641
19642         * except.c: Include intl.h.
19643         (expand_eh_return): Set current_function_cannot_inline.
19644         (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
19645         * function.h (struct function): Add eh_return_stub_label.
19646         * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
19647         * Makefile.in (except.o): Depend on intl.h.
19648
19649 Fri Jul  2 00:04:23 1999  David Edelsohn  <edelsohn@gnu.org>
19650
19651         * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
19652         same as offsettable in cases 1 and 2.
19653
19654 Thu Jul  1 20:54:10 1999  Richard Henderson  <rth@cygnus.com>
19655
19656         * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
19657         (extlh, extwh): Likewise.
19658
19659 Thu Jul  1 11:05:25 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19660
19661         * c-lex.c (yylex): Improve 'integer constant out of range' messages.
19662
19663 Wed Jun 30 16:51:41 1999  Nick Clifton  <nickc@cygnus.com>
19664
19665         * configure.in: Add arm-pe and thumb-pe targets.
19666         * configure: Regenerate.
19667
19668         * thumb.c (arm_naked_function_p): New function: Determines if
19669         a function is naked (has no gcc generated prologue/epilogue).
19670         (is_called_in_ARM_mode): Return true if the func has the
19671         interfacearm attribute.
19672         (output_return): Do not generate a return for naked functions.
19673         (thumb_function_prologue): Do not generate a prologue for
19674         naked functions.
19675         (thumb_expand_prologue): Do not generate a prologue for naked
19676         functions.
19677         (thumb_expand_epilogue): Do not generate an epilogue for naked
19678         functions.
19679         (arm_valid_machine_decl_attribute): New function, copied from
19680         arm.c:  Permit naked and interfacearm attributes.
19681
19682         * config/arm/pe.c: New file: Support code for arm-pe target.
19683         * config/arm/pe.h: New file: Header file for arm-pe target.
19684         * config/arm/tpe.h: New file: Header file for thumb-pe target.
19685         * config/arm/t-thumb-pe: New file: Makefile fragment for
19686         thumb-pe target.
19687
19688 1999-07-01  Mark Kettenis  <kettenis@gnu.org>
19689
19690         * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
19691         -fPIC or -fpic is specified.
19692
19693 Wed Jun 30 03:31:54 1999  Jeffrey A Law  (law@cygnus.com)
19694
19695         * expr.c (emit_block_move): Use copy_to_mode_reg for
19696         !TARGET_MEM_FUNCTIONS case too.
19697
19698         * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
19699         appropriate.
19700         * configure: Rebuilt.
19701         (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
19702         * pa.h: Include dbxelf.h.  Delete various dbx/stabs related
19703         definitions made redundant by dbxelf.h inclusion.  Delete
19704         lots of definitions related to assembly output that are
19705         specific to the SOM object format.
19706         * pa.c (output_function_prologue): Do not emit the function's
19707         name for OBJ_ELF.
19708         * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
19709         * pa-pro.h: Deleted.
19710         * som.h: New file with SOM specific definitions.
19711         * elf.h: New file with ELF specific definitions.
19712
19713         * elfos.h (const_section): Output a tab before assembler directives.
19714         (ctors_section, dtors_section): Likewise.
19715         (ASM_OUTPUT_SECTION_NAME): Likewise.
19716
19717         * pa/pa1.h: Delete unused file.
19718
19719 Tue Jun 29 01:37:53 1999  Jeffrey A Law  (law@cygnus.com)
19720
19721         * configure.in (hppa*-hp-hpux11*): New configuration.
19722         * configure: Rebuilt.
19723         * pa/pa-hpux11.h: New file.
19724         * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
19725         command line.
19726
19727         * mips.md (leasi, leadi): New patterns.
19728
19729         * expr.c (emit_block_move): Properly handle case where one of the
19730         block move arguments has a queued increment or decrement.
19731         (clear_storage): Similarly.  Fix formatting goof.
19732
19733 1999-06-28  "David O'Brien"  <obrien@NUXI.com>
19734
19735         * fixinc/inclhack.def(stdio_va_list): This patch Removes a
19736         semicolon from the BSD VA_LIST replacement expression.
19737
19738         * fixinc/inclhack.sh: regen
19739         * fixinc/fixincl.x: regen
19740
19741         * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
19742         now use the fixincl program.
19743
19744 Mon Jun 28 05:28:12 1999  Jeffrey A Law  (law@cygnus.com)
19745
19746         * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
19747         case.  Also make the PIC register call_used.
19748
19749         * m68k.h (FINALIZE_PIC): Delete.
19750         * m68k.c (finalize_pic): Delete.
19751
19752 Mon Jun 28 05:16:35 1999  Richard Henderson  <rth@cygnus.com>
19753
19754         * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
19755         to memory.
19756
19757 Mon Jun 28 04:07:27 1999  David Edelsohn  <edelsohn@gnu.org>
19758
19759         * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
19760
19761 Sun Jun 27 02:39:08 1999  Richard Henderson  <rth@cygnus.com>
19762
19763         * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
19764
19765 Sat Jun 26 17:18:18 1999  David Edelsohn  <edelsohn@gnu.org>
19766
19767         * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
19768
19769 Fri Jun 25 11:33:24 1999  Richard Henderson  <rth@cygnus.com>
19770
19771         * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
19772
19773 Fri Jun 25 13:41:25 1999  David Edelsohn  <edelsohn@gnu.org>
19774
19775         * rs6000.c (output_toc): Always use hex values for floating-point
19776         constants.  Store single-precision values in upper-half of TOC
19777         entry in 64-bit mode.
19778         * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
19779         to final constraints.
19780         (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
19781         (fctiwz): Improve accuracy of RTL for pattern.
19782
19783 Fri Jun 25 11:26:38 1999  Gavin Romig-Koch  <gavin@cygnus.com>
19784
19785         * expr.c (expand_expr): Allow RTL_EXPR's through the
19786         MAX_INTEGER_COMPUTATION_MODE checks.
19787
19788 Fri Jun 25 06:06:37 1999  Richard Henderson  <rth@cygnus.com>
19789
19790         * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
19791         such that MASK_SUPPORT_ARCH is not negative.
19792
19793 Fri Jun 25 05:35:44 1999  Jeffrey A Law  (law@cygnus.com)
19794
19795         * loop.c (verify_dominator): Properly handle ADDR_VEC and
19796         ADDR_DIFF_VEC insns that appear inside loops.
19797
19798 Thu Jun 24 22:54:05 1999  David Edelsohn  <edelsohn@gnu.org>
19799                           Jeff Law <law@cygnus.com>
19800
19801         * rs6000.md (movdf_hardfloat32): Revert previous patch.
19802         Handle LO_SUM the same as offsettable in cases 1 and 2.
19803         * rs6000.c (find_addr_reg): Revert previous patch.
19804
19805 Thu Jun 24 22:43:12 1999  Philippe De Muyter  <phdm@macqel.be>
19806
19807         * system.h (strstr): New external function declaration.
19808         * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
19809         * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
19810         * config.in, configure: Rebuilt.
19811
19812 1999-06-24  Tom Tromey  <tromey@cygnus.com>
19813
19814         * gcc.c (main): Read user-specified specs files after computing
19815         additional startfile_prefixes.
19816
19817 Thu Jun 24 15:00:47 1999  Mark Mitchell  <mark@codesourcery.com>
19818
19819         Revert these two patches:
19820
19821         Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19822         * loop.c (strength_reduce): When doing biv->giv conversion, update
19823         reg note of NEXT->insn.
19824
19825         Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19826         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
19827         reg_biv_class.
19828         (recombine_givs): Set ix field after sorting.
19829
19830 Wed Jun 23 21:26:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19831
19832         * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
19833         for the parts of an UNSPEC / UNSPEC_VOLATILE.
19834
19835 1999-06-23  Bruce Korb  <ddsinc09@ix.netcom.com>
19836
19837         *fixinc/inclhack.def:  Add fix development commentary
19838         (read_ret_type): reactivate and add selection clause
19839         (zzz_*): tweak output file name to match what is used in hackshell.tpl
19840         *fixinc/{fixincl.x|inclhack.sh}: regen
19841
19842 Wed Jun 23 00:48:21 1999  Jason Merrill  <jason@yorick.cygnus.com>
19843
19844         * expr.c (expand_expr): STRIP_NOPS before checking against
19845         MAX_INTEGER_COMPUTATION_MODE
19846         (check_max_integer_computation_mode): Likewise.
19847
19848 Tue Jun 22 20:23:43 1999  Jim Wilson  <wilson@cygnus.com>
19849
19850         * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
19851
19852 1999-06-22  Jim Wilson  <wilson@cygnus.com>
19853
19854         * expr.c (store_expr): When target is a promoted subreg, return a
19855         promoted subreg as a result.
19856
19857 Tue Jun 22 17:14:58 1999  Michael Meissner  <meissner@cygnus.com>
19858
19859         * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
19860         coding standards.
19861         (dwarf2out_define): Mark unused parameters appropriately.
19862         (gen_unspecified_parameters_die): Ditto.
19863         (gen_subprogram_die): Fix signed/unsigned warnings.
19864         (gen_variable_die): Ditto.
19865
19866 1999-06-22  Bruce Korb <ddsinc09@ix.netcom.com>
19867
19868         * fixinc/inclhack.def(end_else_label): combined else_label
19869         and endif_label and fixed the sed expression.
19870         *fixinc/{fixincl.x|inclhack.sh}: regen
19871
19872 Tue Jun 22 01:58:18 1999  Jeffrey A Law  (law@cygnus.com)
19873
19874         * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
19875         'x' when handling non-offsettable addresses
19876
19877 Tue Jun 22 00:20:05 1999  Richard Earnshaw (rearnsha@arm.com)
19878
19879         * final.c (shorten_branches): Don't try to split an insn that has
19880         been deleted.
19881
19882 Mon Jun 21 12:47:39 1999  Mark Mitchell  <mark@codesourcery.com>
19883
19884         * config/mips/mips.c (symbolic_expression_p): New function.
19885         (mips_select_rtx_section): Put symbolic expressions in the
19886         data section, not the read-only data section.
19887
19888 Mon Jun 21 22:13:06 1999  Jeffrey A Law  (law@cygnus.com)
19889
19890         * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
19891
19892 Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
19893
19894         * collect2.c (main): Log frame table count.
19895         (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
19896         (scan_prog_file) [COFF]: Handle frame tables.
19897
19898         * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
19899         (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
19900         * alpha/elf.h: Undef them again.
19901         * alpha/vms.h: Remove their definitions.
19902
19903 Tue Jun 22 03:17:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
19904
19905         * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
19906         remove the clobber of r0 and change the REG_UNUSED note to
19907         REG_INC.
19908
19909 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
19910
19911         * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
19912         * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
19913         fits in HOST_WIDE_INT and one uses union to access a long constant
19914         as double.
19915
19916 Mon Jun 21 17:18:25 1999  Richard Henderson  <rth@cygnus.com>
19917
19918         * sparc.c (sparc_override_options): Don't allow profiling for
19919         code models other than medlow.
19920         (sparc_function_profiler): New function from old FUNCTION_PROFILER
19921         macro.  Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
19922         (sparc_function_block_profiler): Likewise.  Use user_label_prefix.
19923         (sparc_block_profiler): Likewise.
19924         (sparc_function_block_profiler_exit): Likewise.
19925         * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
19926         (FUNCTION_BLOCK_PROFILER): Likewise.
19927         (BLOCK_PROFILER): Likewise.
19928         (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
19929         (MCOUNT_FUNCTION): New.
19930         * sparc/pbd.h (FUNCTION_PROFILER): Delete.
19931         (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
19932         * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
19933         (MCOUNT_FUNCTION): New.
19934         * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
19935         (BLOCK_PROFILER): Delete.
19936         (MCOUNT_FUNCTION): New.
19937
19938 Mon Jun 21 14:11:29 1999  David Edelsohn  <edelsohn@gnu.org>
19939
19940         * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
19941
19942 Mon Jun 21 12:27:17 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
19943
19944         * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
19945         Add the macros.
19946
19947         * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
19948         Ditto.
19949
19950         * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
19951         Ditto.
19952
19953         * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
19954         Ditto.
19955
19956 Mon Jun 21 14:58:42 1999  Nick Clifton  <nickc@cygnus.com>
19957
19958         * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
19959         types.
19960
19961 Mon Jun 21 06:22:21 1999  Mark Elbrecht <snowball3@bigfoot.com>
19962
19963         * i386/djgpp.h (LIB_SPEC): New.
19964         (STARTFILE_SPEC): New.
19965
19966         * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
19967
19968 Mon Jun 21 06:19:33 1999  Philippe De Muyter  <phdm@macqel.be>
19969
19970         * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
19971         compiler flags.
19972
19973         * system.h (WSTOPSIG): New macro.
19974
19975 Mon Jun 21 05:33:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
19976
19977         * c-pragma.c (push_alignment): Don't ignore alignments greater than
19978         4 bytes.
19979         (insert_pack_attributes): Take into account member natural
19980         alignment.
19981
19982         * i386/winnt.c (exports_head): New static variable.
19983         (i386_pe_record_exported_symbol): New function.
19984         (i386_pe_asm_file_end): Use.
19985         * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
19986         symbols to be emitted at end of assembly.
19987         (ASM_DECLARE_OBJECT_NAME): Likewise.
19988         (ASM_DECLARE_FUNCTION_NAME): Likewise.
19989
19990         * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
19991         -iwithprefix.
19992
19993 Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
19994
19995         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
19996         in last change.
19997
19998 Sun Jun 20 17:27:20 1999  Richard Henderson  <rth@cygnus.com>
19999
20000         * haifa-sched.c (sched_analyze_1): Use free_list instead of
20001         zapping reg_last_uses directly.
20002         (sched_analyze_2, sched_analyze_insn): Likewise.
20003         (sched_analyze): Likewise.  Don't clear reg_last_uses on calls.
20004
20005 Sun Jun 20 16:57:29 1999  David Edelsohn  <edelsohn@gnu.org>
20006
20007         * rs6000.md (movdf_hardfloat32): Use worst case insn length
20008         attributes for cases 1 and 2.
20009
20010 Sat Jun 19 22:52:55 1999  Richard Henderson  <rth@cygnus.com>
20011
20012         * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
20013         instead of set.
20014
20015 Sat Jun 19 05:40:07 1999  Philip Blundell <pb@nexus.co.uk>
20016
20017         * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
20018
20019 Sat Jun 19 05:25:05 1999  Richard Earnshaw (rearnsha@arm.com)
20020
20021         * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
20022         PIC_OFFSET_TABLE_REGNUM for general alloaction.
20023         (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
20024         must be stacked if it is used for PIC accesses.
20025         * arm.c (use_return_insn): Handle PIC register specially.
20026         (output_return_instruction): Likewise.
20027         (output_func_{prologue,epilogue}): Likewise.
20028         (output_expand_prologue): Likewise.
20029
20030         * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
20031         (*strsi_predec): Renamed from *strqi_predec.
20032         (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
20033         (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
20034
20035         * arm.c (arm_override_options): Remove warning about PIC code
20036         not being supported.
20037
20038 Fri Jun 18 23:47:06 1999  David Edelsohn  <edelsohn@gnu.org>
20039
20040         * rs6000.c (find_addr_reg): New function.
20041         * rs6000.h (find_addr_reg): Declare.
20042         (offsettable_addr_operand): Delete.
20043         * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
20044         from and stores to GPRs.
20045
20046 Fri Jun 18 15:44:18 1999  Richard Henderson  <rth@cygnus.com>
20047
20048         * alpha.c (alpha_expand_block_move): Use get_insns rather than
20049         gen_sequence as argument to emit_no_conflict_block.
20050
20051 Fri Jun 18 07:02 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20052
20053         * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
20054         * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
20055         *fixinc/fixincl.x: regen
20056         *fixinc/inclhack.sh: regen
20057
20058 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay  <dlindsay@cygnus.com>
20059
20060         * added support for -mpcrel (PC relative addressing for m68k)
20061         based on code done by Michael Tiemann  <tiemann@axon.cygnus.com>.
20062         * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
20063         * m68k.c (print_operand_address): Handle 32-bit PIC case.
20064         (comments for general_src_operand): Add some explanation
20065         about EXTRA_CONSTRAINTS.
20066         (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
20067         * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
20068         (LEGITIMATE_PIC_OPERAND_P): Fix typo.
20069         (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
20070         * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
20071         (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
20072         (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
20073         if not already set.
20074         (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
20075         * m68k.h (TARGET_PCREL): New target flag.
20076         (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
20077         (OVERRIDE_OPTIONS): Add checks for -mpcrel.
20078         (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
20079         contains a SYMBOL_REF.  Relax this constraint during reload, since
20080         we want to use the predicates, not reload's built-in concept of a
20081         valid memory address, to control what insns need reloading.
20082         (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
20083         operands (essentially 'g', 'm', and 's' under normal circumstances).
20084         * m68k.c (print_operand): Cause printing of pc-relative addresses
20085         to include pc register.
20086         (print_operand_address): Ditto.
20087         (general_src_operand): Accept operands that are not only
20088         general_operands, but are also valid when used as a pc-relative
20089         source.
20090         (nonimmediate_src_operand): Similar, for nonimmediate_operands.
20091         (memory_src_operand): Similar, for memory_operands.
20092         (pcrel_address): New predicate to accept the special case of a
20093         pc-relative address.
20094         * m68k.md (many patterns): Rewrite common SImode, HImode, and
20095         QImode insns to accept *_src_operand instead of *_operand where
20096         pc-relative operands can fit.  For example, a pc-relative operand
20097         can be used as a memory source operand for addsi3, but not as a
20098         memory destination.
20099         * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
20100
20101 Fri Jun 18 09:11:07 1999  Nick Clifton  <nickc@cygnus.com>
20102
20103         * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
20104         .thumb_set pseudo op to mark aliases of thumb functions.
20105
20106 Wed Jun 16 18:19:13 1999  Nick Clifton  <nickc@cygnus.com>
20107
20108         * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
20109         preference to ASM_OUTPUT_DEF, if it is defined.
20110
20111         * tm.texi: Document new, optional target macro
20112         ASM_OUTPUT_DEF_FROM_DECLS.
20113
20114 Thu Jun 17 15:07 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20115
20116         * fixincludes: ISCNTL patch
20117         * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
20118         (dgux_int_varargs): new for DG/UX
20119         * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
20120
20121 Thu Jun 17 21:34:24 1999  Jeff Law <law@cygnus.com>
20122
20123         * invoke.texi (ia32 options): Fix typo.
20124
20125 Thu Jun 17 21:34:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20126
20127         * loop.c (strength_reduce): When doing biv->giv conversion, update
20128         reg note of NEXT->insn.
20129
20130 Thu Jun 17 14:25:08 1999  Jeffrey A Law  (law@cygnus.com)
20131
20132         * loop.c (move_movables): Note issues with replacing REGs with
20133         SUBREGs.
20134         * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
20135
20136 Thu Jun 17 13:28:30 1999  David O'Brien <obrien@FreeBSD.org>
20137
20138         * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
20139
20140         * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
20141         the reference to `mcount' was not correct for the ELF on FreeBSD.
20142
20143 Thu Jun 17 17:22:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20144
20145         * loop.c (strength_reduce): When doing biv->giv conversion, fix up
20146         reg_biv_class.
20147
20148         (recombine_givs): Set ix field after sorting.
20149
20150 Thu Jun 17 02:54:30 1999  Jeffrey A Law  (law@cygnus.com)
20151
20152         * emit-rtl.c (operand_subword): Tighten checks for when it is safe
20153         to safe to extract a subword out of a REG.
20154
20155 Thu Jun 17 01:45:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20156
20157         * sh.md (mulsi3): Don't add a no-op move at the end.
20158
20159 Wed Jun 16 20:29:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20160
20161         * cse.c (cse_insn): Don't put hard register source into tables for
20162         the last insn of a libcall.
20163
20164 Wed Jun 16 19:44:33 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20165
20166         * loop.c (strength_reduce): Insert sets of derived givs at every
20167         biv increment, even if it's the only one.
20168
20169 Wed Jun 16 10:33:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
20170
20171         * dwarfout.c (add_incomplete_type): New fn.
20172         (output_type): Call it.
20173         (retry_incomplete_types): New fn.
20174         (dwarfout_finish): Call it.
20175
20176         From Eric Raskin <ehr@listworks.com>:
20177         (output_type): Output types for bases.
20178
20179 Tue Jun 15 12:51:23 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
20180
20181         * mips.c (mips_output_conditional_branch): Add `break'
20182         between `default' label and `close braces'.
20183
20184 Tue Jun 15 01:55:20 1999  David O'Brien <obrien@FreeBSD.org>
20185
20186         * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
20187         specifications and make it realistic.
20188         (LIB_SPEC): Likewise.
20189
20190 Mon Jun 14 15:38:43 1999  Jim Wilson  <wilson@cygnus.com>
20191
20192         * config/mips/mips.c (mips_secondary_reload_class): Check for
20193         (PLUS (SP) (REG)) and return appropriate register class.
20194         * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
20195         Handle (PLUS (SP) (REG)).
20196         (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
20197         (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
20198         of emit_insn for tablejump.
20199
20200 Mon Jun 14 17:26:40 1999  David Edelsohn  <edelsohn@gnu.org>
20201
20202         * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
20203         asm_fprintf format string by itself.
20204         (output_function_profiler): Likewise.
20205
20206 Mon Jun 14 12:57:38 1999  David Mosberger  <davidm@hpl.hp.com>
20207
20208         * combine.c (simplify_logical, case AND): Only call
20209         simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
20210         or the constant is positive.
20211
20212 Mon Jun 14 11:43:41 1999  Nick Clifton  <nickc@cygnus.com>
20213
20214         * configure.in: Fix typo in rs6000-ibm-aix4 case.
20215         * configure: Regenerate.
20216
20217 Mon Jun 14 03:55:40 1999  Jeffrey A Law  (law@cygnus.com)
20218
20219         * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
20220         require a sub-version #.
20221         * configure: Rebuilt.
20222
20223 1999-06-14  Robert Lipe  (robertlipe@usa.net)
20224
20225         * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
20226
20227 Mon Jun 14 10:30:52 BST 1999  Nathan Sidwell  <nathan@acm.org>
20228
20229         * c-typeck.c (process_init_element): Detect excess elements in
20230         char array initializer.
20231
20232 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
20233
20234         * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
20235
20236 Sat Jun 12 22:29:48 EDT 1999  Jerry Quinn <jquinn@nortelnetworks.com>
20237
20238         * invoke.texi (Option Summary): Add -fpermissive flag.
20239
20240 Sat Jun 12 03:40:42 1999  Jeffrey A Law  (law@cygnus.com)
20241
20242         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
20243         that require PIC code sequences.
20244
20245 Wed Jun  9 16:29:01 1999  Nick Clifton  <nickc@cygnus.com>
20246
20247         * configure.in: Add new target: thumb-elf.
20248         * configure: Regenerate.
20249         * config/arm/t-thumb-elf: New file: Makefile fragment for
20250         thumb-elf build.
20251         * config/arm/telf.h: New file: Header file for thumb-elf
20252         build.
20253
20254 Fri Jun 11 03:17:51 1999  Jeffrey A Law  (law@cygnus.com)
20255
20256         * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
20257         * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
20258         initializers is some circumstances.
20259
20260         * fixinc/inclhack.def (endif_label): Add additional selector for
20261         more bogus stuff after #endif statements.
20262         * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
20263
20264 Thu Jun 10 20:44:36 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20265
20266         * i386/cygwin.h (SET_ASM_OP): Define.
20267
20268 Thu Jun 10 20:37:57 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20269
20270         * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
20271
20272 Thu Jun 10 19:23:00 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20273
20274         * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
20275         latter.
20276
20277         * sh.md (ic_invalidate_line_i): Remove second alternative.
20278
20279 Thu Jun 10 06:55 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20280
20281         *fixinc/inclhack.def(sun_auth_proto): We do not know how to
20282         test for the presence of valid prototypes.  Delete bypass expr.
20283         (ioctl_fix_ctrl): Correct the selection expression.
20284         (no_double_slash): Correct quoting rules
20285         *fixinc/fixincl.x: regen
20286         *fixinc/inclhack.sh: regen
20287
20288 Thu Jun 10 15:08:15 1999  Nick Clifton  <nickc@cygnus.com>
20289
20290         * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
20291
20292 Wed Jun  9 15:57:57 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20293
20294         * rs6000.md (movsi_got_internal_mem): Delete.
20295         * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
20296         (GOT_TOC_REGNUM): Delete.
20297         (PIC_OFFSET_TABLE_REGNUM): Define.
20298         (FINALIZE_PIC): Disable.
20299         * rs6000.c (rs6000_got_register): New code for fixed pic register.
20300         (rs6000_replace_regno): Delete.
20301         (rs6000_finalize_pic): Likewise.
20302         (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
20303
20304 Wed Jun  9 19:44:26 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20305
20306         * loop.c (loop_insn_first_p): Don't compare LUIDs when P
20307         is a note; use <= for the compare; advance P while it is
20308         a NOTE.
20309
20310 Wed Jun  9 13:12:24 1999  Jeffrey A Law  (law@cygnus.com)
20311
20312         * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
20313         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
20314
20315         * varasm.c (remove_from_pending_weak_list): Verify t->name
20316         is non-NULL before passing it to strcmp.
20317
20318 Wed Jun  9 06:50 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20319
20320         *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
20321         the typed arguments are not part of a comment
20322         (ioctl_fix_ctrl): Added a purpose comment
20323         *fixinc/fixincl.x: regenerate
20324         *fixinc/inclhack.sh: regenerate
20325
20326 Wed Jun  9 22:57:02 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20327
20328         * invoke.texi: Add C4x invocation docs.
20329
20330 Wed Jun  9 22:34:38 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
20331
20332         * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
20333         Define new macros.
20334         * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
20335         TARGET_EXPOSE_LDP.
20336         (c4x_legitimize_reload_address): New function.
20337         * config/c4x/c4x.md: Update docs.
20338
20339 Wed Jun  9 04:14:48 1999  Jeffrey A Law  (law@cygnus.com)
20340
20341         * fixincludes: Avoid removing '.'.
20342         * fixinc/fixinc.svr4: Likewise.
20343         * fixinc/fixinc.winnt: Likewise.
20344         * fixinc/inclhack.tpl: Likewise.
20345         * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
20346
20347 1999-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20348
20349         * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
20350         pattern.
20351         * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
20352
20353 Wed Jun  9 03:10:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
20354
20355         * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
20356         correctly.
20357
20358 Tue Jun  8 13:06:15 1999  Jim Wilson  <wilson@cygnus.com>
20359
20360         * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
20361         * configure: Regenerate.
20362
20363 Tue Jun  8 05:47:48 1999  Richard Earnshaw (rearnsha@arm.com)
20364
20365         * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
20366         values.
20367
20368 Mon Jun  7 22:30:37 1999  Jeffrey A Law  (law@cygnus.com)
20369
20370         * fixinc/inclhack.def (avoid_bool): Also catch
20371         "typedef [unsigned] int bool".
20372         * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
20373
20374         * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
20375         * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
20376         * configure: Rebuilt.
20377
20378 Mon Jun  7 22:05:03 1999  Mark Kettenis  <kettenis@gnu.org>
20379
20380         * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
20381         such that we can override its definitions if necessary.
20382         (CPP_SPEC): New define.  Support processor specific predefines via
20383         %(cpp_cpu).
20384         (CC1_SPEC): New define.  Support processor specific compiler
20385         options via %(cc1_cpu).
20386         (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
20387         -static.
20388
20389 1999-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20390
20391         * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
20392         between sed's -e flag, and the open-quote following it.
20393         * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
20394
20395 Mon Jun  7 20:34:20 1999  Robert Lipe <robertlipe@usa.net>
20396                           Jeffrey A Law  (law@cygnus.com)
20397
20398         * varasm.c (assemble_start_function): Remove the function
20399         from the pending weak decls list when we define a function.
20400         (assemble_variable): Similarly for variables.
20401         (weak_finish): Ignore items on the list with a NULL name.
20402         (remove_from_ending_weak_list); New function to "remove" an item
20403         from the pending weak declarations list.
20404
20405 Mon Jun  7 19:27:07 1999  Jerry Quinn <jquinn@nortelnetworks.com>
20406
20407         * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
20408
20409 Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
20410
20411         * c-lex.c (GETC): Redefine to call getch.
20412         (UNGETC): Redefine to call put_back.
20413         (putback_buffer): New structure type.
20414         (putback): New static structure.
20415         (getch): New function.
20416         (put_back): New function.
20417         (yylex): Replace unused bytes from bad multibyte character.
20418
20419 Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
20420
20421         * cpplib.c (do_define): Cast `alloca' return value.
20422         (do_include, do_undef, do_pragma): Likewise.
20423         * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
20424         values.
20425         * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
20426         * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
20427
20428 Sun Jun  6 11:58:34 1999  Jakub Jelinek  <jj@ultra.linux.cz>
20429
20430         * sparc.md (abstf2): This should be an expand.
20431         (split after abstf2_notv9): Fix mode.
20432         (abstf2_hq_v9): New pattern.
20433         (abstf2_v9): Only use when no hard quad.
20434         (absdf2_v9): Fix if target is not the same as source.
20435         (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
20436         Add correct output constraints.
20437
20438 Sat Jun  5 17:04:16 1999  Craig Burley  <craig@jcb-sc.com>
20439
20440         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
20441         * invoke.texi: Clarify text vis-a-vis Intel CPUs.
20442
20443 Sat Jun  5 12:11:24 1999  Mark Mitchell  <mark@codesourcery.com>
20444
20445         * mips.h (mips_output_conditional_branch): New function.
20446         (mips_adjust_insn_length): Likewise.
20447         (ASSEMBLER_SCRATCH_REGNUM): New macro.
20448         (ADJUST_INSN_LENGTH): Likewise.
20449         * mips.c (print_operand): Add `F' and `W' for floating-point
20450         comparison opcodes.
20451         (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
20452         are now in bytes.
20453         (mips_adjust_insn_length): New function.
20454         (mips_output_conditional_branch): New function.
20455         * mips.md (length): Adjust attribute definition to handle
20456         conditional branches.  Change lengths to bytes, rather than
20457         instructions throughout.  Remove length attribute from
20458         instructions whose length is four bytes, and rely on the default
20459         instead.
20460         (dslot): Fix typo in comment.
20461         Reword conditional branch patterns to use
20462         mips_output_conditional_branch.
20463
20464 Fri Jun  4 13:30:27 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
20465
20466         * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
20467         (LIB_SPEC): Likewise.
20468         Link with -lprof1_r for -g/-pg.
20469
20470 1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
20471
20472         * loop.c (check_dbra_loop): Fix change of Jan 19.
20473
20474 Fri Jun  4 00:12:40 1999  Marc Espie <espie@cvs.openbsd.org>
20475
20476         * freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
20477         (STARTFILE_SPEC):  Define, override the svr4.h version.
20478         (ENDFILE_SPEC):  Likewise.
20479
20480 Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
20481
20482         * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
20483         * fixinc/fixincl.x: Regenerated.
20484         * fixinc/inclhack.sh: Regenerated.
20485
20486 Fri Jun  4 05:42:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20487
20488         * sh.c (barrier_align): Don't return early for normal branch/barrier
20489         when optimizing for SH2.
20490
20491 Thu Jun  3 22:27:50 1999  Robert Lipe  <robertlipe@usa.net>
20492
20493         * i386/udk.h (LINK_SPEC): Correct linker search path for
20494         system libraries.
20495
20496 Fri Jun  4 03:20:40 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20497
20498         * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
20499         (braf_label_ref_operand): Delete.
20500         * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
20501         * sh.md (casesi_jump_2): Operand1 is now the inside of a
20502         label_ref, and has no predicate.
20503         The patten has a predicate to guard against invalid substitutions.
20504         (dummy_jump): Delete.
20505         (casesi): Update use of casesi_jump_2.
20506
20507 Thu Jun 3 07:48 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20508
20509         *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
20510         *fixinc/fixincl.x: regenerate
20511         *fixinc/inclhack.sh: regenerate
20512
20513 Thu Jun  3 02:15:07 1999  Jason Merrill  <jason@yorick.cygnus.com>
20514
20515         * dwarf2out.c (add_incomplete_type): New fn.
20516         (gen_struct_or_union_type_die): Call it.
20517         (retry_incomplete_types): New fn.
20518         (dwarf2out_finish): Call it.
20519
20520 Thu Jun  3 01:19:03 1999  Jeffrey A Law  (law@cygnus.com)
20521
20522         * gcse.c (insert_insn_end_bb): Correct placement of insns when the
20523         current block starts with a CODE_LABEL and ends with a CALL and
20524         we can not find all the argument setup instructions for the CALL.
20525
20526 Wed Jun  2 15:44:15 1999  Mark Mitchell <mark@codesourcery.com>
20527
20528         Revert this change:
20529         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
20530         something is a candidate for optimize_bit_field_compare.
20531
20532 Wed Jun  2 21:53:05 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20533
20534         * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
20535
20536 Wed Jun  2 12:25:55 1999  Richard Henderson  <rth@cygnus.com>
20537
20538         * alpha.c (override_options): Thinko in last patch.
20539
20540         * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
20541         (LIB_SPEC): Recognize -pthread.
20542
20543 Wed Jun  2 08:42:55 1999  Nick Clifton  <nickc@cygnus.com>
20544
20545         * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
20546         definition in config/arm/coff.h
20547         * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
20548
20549 Wed Jun  2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20550
20551         * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
20552         fixes that need "file=xxx\n" prepended before invocation
20553         (start_fixer - new): starting the fixer process is complex enough
20554         to warrent its own routine.  It prepends the "file=xxx\n" stuff.
20555         (process): uses the new routine; omit usage of putenv()
20556         * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
20557         * fixinc/fixincl.x: regenerate
20558
20559 Wed Jun  2 02:29:07 1999  Jeffrey A Law  (law@cygnus.com)
20560
20561         * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
20562         and version #s (1.1 -> 2.96) as needed.
20563         * README.g77: Kill way out of date file in the toplevel directory.
20564
20565 Wed Jun  2 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
20566
20567         * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
20568         i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
20569         * configure: Rebuilt.
20570         * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
20571         (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
20572         (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
20573         (SWITCH_TAKES_ARG): Likewise.
20574         * i386/freebsd.h: Remove FREEBSD_NATIVE support.
20575         * config/t-freebsd: Moved from config/i386/ so it can used for all
20576         FreeBSD targets.
20577
20578 Mon May 31 02:22:55 1999  Philippe De Muyter  <phdm@macqel.be>
20579
20580         * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
20581
20582 Wed Jun  2 00:08:34 1999  Robert Lipe  <robertlipe@usa.net>
20583
20584         * configure.in (i[34567]86-*-udk*): Install headers with cpio.
20585         * configure: Rebuilt.
20586
20587 Tue Jun  1 19:06:22 1999  David Edelsohn  <edelsohn@gnu.org>
20588
20589         * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
20590         * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
20591         * rs6000/rs6000.c (rs6000_file_start): Use putc.
20592         (rs6000_output_load_toc_table): Same.
20593         (output_prolog, output_mi_thunk): Same.
20594         * rs6000/rs6000.h (SELECT_SECTION): Formatting.
20595         (ASM_GLOBALIZE_LABEL): Use putc.
20596
20597 Mon May 31 15:23:23 1999  Richard Henderson  <rth@cygnus.com>
20598
20599         * alpha.md (reload_*_help): New patterns and splitters.
20600         (reload_*): Use them.
20601         (mov[qh]i): Likewise.
20602
20603 Mon May 31 11:48:07 1999  Mark Mitchell  <mark@codesourcery.com>
20604
20605         * cccp.c (handle_directive): Handle backslash-newlines in quoted
20606         strings correctly.
20607
20608 Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
20609
20610         * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
20611
20612 Mon May 31 11:40:20 EDT 1999  John Wehle  (john@feith.com)
20613
20614         * flow.c (mark_regs_live_at_end, insn_dead_p,
20615         mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
20616         and HARD_FRAME_POINTER_REGNUM special treatment if reload
20617         hasn't run or the frame pointer is needed.
20618         * haifa-sched.c (attach_deaths): Likewise.
20619         * sched.c (attach_deaths): Likewise.
20620
20621 Mon May 31 00:46:17 1999  Jeffrey A Law  (law@cygnus.com)
20622
20623         * jump.c (jump_optimize_1): Only set CAN_REACH_END if
20624         calculate_can_reach_end returns nonzero.
20625
20626         * configure.in (native gas tests): Search for an assembler in the
20627         same manner that the installed compiler will.
20628         * configure: Rebuilt.
20629         * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
20630
20631         * alias.c (find_base_term): Improve handling of addresses
20632         constructed from binary operations.
20633
20634 Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
20635
20636         * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
20637
20638 Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
20639
20640         * function.h (cleanup_label, frame_offset): Declare.
20641         (tail_recursion_label, tail_recursion_reentry): Likewise.
20642         (arg_pointer_save_area, rtl_expr_chain): Likewise.
20643         * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
20644         (tail_recursion_label, tail_recursion_reentry): Likewise.
20645         (arg_pointer_save_area, rtl_expr_chain): Likewise.
20646
20647 Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
20648
20649         * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
20650         defined.
20651         * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
20652         (MAX_OFILE_ALIGNMENT): Define.
20653
20654 Fri May 28 21:40 1999  Robert Lipe <robertlipe@usa.net>
20655
20656         * fixincl.c: Replace local include scheme with #includes of
20657         gansidecl.h and system.h.
20658         * procopen.c:  Likewise.
20659         * server.c:  Likewise.
20660
20661 Fri May 28 03:47:03 1999  Eric Raskin (ehr@listworks.com)
20662
20663         * i386/t-dgux (EXTRA_PARTS): Add crti.o
20664         (crti.o): Add build rule and dependencies.
20665         * fixinc/fixinc.dgux:  Use modified _int_varargs.h
20666
20667 Fri May 28 03:41:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20668
20669         * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
20670         (LIB_LINUX_SPEC): Likewise.
20671         (LIB_LINUX_SPEC): Add support for -pthread
20672         (CPP_OS_LINUX_SPEC): Likewise.
20673         (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
20674         specified.
20675
20676 Thu May 27 13:04:52 1999  H.J. Lu  (hjl@gnu.org)
20677
20678         * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
20679         conditional move.
20680         (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
20681         (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
20682         for IEEE math and CC_FCOMI.
20683         (put_jump_code): No IEEE if CC_FCOMI is set.
20684
20685 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
20686
20687         * fold-const.c (fold_truthop): Make the field reference unsigned
20688         when converting a single bit compare.
20689
20690 Thu May 27 02:40:48 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20691
20692         * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
20693
20694 Thu May 27 02:09:27 1999  Jeffrey A Law  (law@cygnus.com)
20695
20696         * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
20697         * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
20698         version did.
20699
20700         * reload.c (push_reload): Do not call remove_address_replacements
20701         when presented with identical optional reloads.
20702
20703 Wed May 26 14:18:05 1999  Richard Henderson  <rth@cygnus.com>
20704
20705         * alpha.h (MASK_FIX, TARGET_FIX): New.
20706         (MASK_*): Reorganize constants.
20707         (CPP_AM_FIX_SPEC): New.
20708         (TARGET_SWITCHES): Add FIX.
20709         (EXTRA_SPECS): Likewise.
20710         (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
20711         (SECONDARY_MEMORY_NEEDED): Likewise.
20712         (REGISTER_MOVE_COST): Likewise.
20713         * alpha.c (override_options): Add FIX support.  Always use
20714         ALPHA_TP_PROG for ev6.
20715         * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
20716         * alpha/elf.h (ASM_FILE_START): Look at FIX too.
20717         * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
20718
20719 Wed May 26 09:53:05 1999  Mark Mitchell  <mark@codesourcery.com>
20720
20721         * fold-const.c (fold): STRIP_NOPS when deciding whether or not
20722         something is a candidate for optimize_bit_field_compare.
20723
20724 Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
20725
20726         * gcc.texi (Passes): Document branch-shortening.
20727         * invoke.texi (Debugging Options): Document the fact that `-dp'
20728         outputs length information for instructions.
20729
20730 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
20731
20732         * flow.c: Revert previous delta.
20733
20734 Wed May 26 06:05:10 1999  Nick Clifton  <nickc@cygnus.com>
20735
20736         * flow.c (insn_dead_p): Check against frame_pointer_rtx not
20737         FRAME_POINTER_REGNUM.
20738         (mark_set_1): Ditto.
20739         (mark_used_regs): Ditto.
20740
20741 Wed May 26 02:19:31 1999  Philip Blundell  <pb@nexus.co.uk>
20742
20743         * arm.h (NEED_PLT_GOT): Fix mistake in last change.
20744         (GOT_PCREL): New macro.  Define to 1 if not already defined.
20745         * arm/elf.h (GOT_PCREL): Define to 0.
20746         * arm.c (arm_finalize_pic): Take into account the setting of
20747         GOT_PCREL.
20748
20749 Tue May 25 14:06:06 1999  Jeffrey A Law  (law@cygnus.com)
20750
20751         * output.h (STRIP_NAME_ENCODING): Provide default definition.
20752         * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
20753
20754         * flow.c (mark_set_1): Do not record BLKmode stores as dead
20755         store elimination candidates.
20756
20757 Tue May 25 08:55:57 1999  Gavin Romig-Koch  <gavin@cygnus.com>
20758
20759         * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
20760         TARGET_GAS.
20761
20762 Mon May 24 20:30:08 1999  Jim Wilson  <wilson@cygnus.com>
20763
20764         * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
20765         Add use of x-aix41-gld.
20766
20767 Mon May 24 16:44:09 1999  Jakub Jelinek  <jj@ultra.linux.cz>
20768
20769         * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
20770         (ASM_OUTPUT_DESTRUCTOR): Define.
20771
20772 Mon May 24 14:35:24 1999  Jeffrey A Law  (law@cygnus.com)
20773
20774         * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
20775         last CODE_LABEL in a loop if we have previously passed a jump
20776         to the top of the loop.
20777
20778 Mon May 24 07:56:29 1999  Nick Clifton  <nickc@cygnus.com>
20779
20780         * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
20781         applying Philip's patch.
20782
20783 Mon May 24 01:02:12 1999  Mark Mitchell  <mark@codesourcery.com>
20784
20785         * stmt.c (expand_end_bindings): Ignore any elements of VARS that
20786         are not VAR_DECLs.
20787
20788 Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
20789
20790         * loop.c (strength_reduce): Grow reg_single_usage as needed.
20791
20792 Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
20793
20794         * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
20795         Also remove a useless comment.
20796
20797 Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
20798
20799         * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.
20800
20801 Sat May 22 21:02:06 1999  David Edelsohn  <edelsohn@gnu.org>
20802
20803         * collect2.c (main): Only generate import or export file and add
20804         to link arguments if non-empty.  Use xmalloc not alloca.
20805         (write_{export,import}_file): Delete.
20806         (write_aix_file): New function.
20807         (locatelib): Use xmalloc not malloc.
20808         (GCC_OK_SYMBOL): Do not check type if aix64.
20809
20810 Sat May 22 09:35:51 1999  Philip Blundell  <pb@nexus.co.uk>
20811
20812         Based on patch by Scott Bambrough and Pat Beirne:
20813         * config/arm/arm.c (making_const_table): New variable.
20814         * config/arm/arm.h (making_const_table): Declare.
20815         (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
20816         appropriate.
20817         * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
20818         Keep track of when we are building the constant table.
20819
20820 Sat May 22 09:34:22 1999  Philip Blundell  <pb@nexus.co.uk>
20821
20822         * config/arm/arm.c (arm_override_options): Fix erroneous warning
20823         message.
20824
20825 Sat May 22 09:06:33 1999  Nick Clifton  <nickc@cygnus.com>
20826
20827         * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
20828         defined.
20829
20830 Sat May 22 07:17:05 1999  Nick Clifton  <nickc@cygnus.com>
20831
20832         * tm.texi (FUNCTION_ARG): Correct description of a stack element
20833         in a PARALLEL.
20834
20835 Sat May 22 01:27:49 1999  Mark Mitchell  <mark@codesourcery.com>
20836
20837         * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
20838
20839 Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
20840
20841         * rs6000.c (output_mi_thunk): Enable full support again.
20842
20843 Fri May 21 20:09:52 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
20844
20845         * sh.h (BRANCH_COST): Define.
20846
20847 Thu May 20 10:00:42 1999  Stephen L Moshier  <moshier@world.std.com>
20848
20849         * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
20850
20851 Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
20852
20853         * function.c (assign_stack_local): Align stack slot propertly.
20854         (assign_outer_stack_local): Likewise.
20855
20856 Thu May 20 10:38:43 1999  Mark Mitchell  <mark@codesourcery.com>
20857
20858         * expr.h (lang_expand_constant): Declare.
20859         * toplev.c (lang_expand_constant): Define it.
20860         * varasm.c (output_constant): Use it.
20861
20862 Thu May 20 11:28:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20863
20864         * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
20865         Change function definitions to K&R style.
20866
20867 Thu May 20 08:16:39 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20868
20869         * fixinc/fixincl.c: We must not ignore SIGCLD now.
20870
20871 Thu May 20 07:06:39 1999  Alexandre Oliva  <aoliva@acm.org>
20872
20873         * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
20874         * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
20875         (several places): omit static initialization
20876         (process): use single fd, since only the read fd is used
20877         * fixinc/gnu-regex.c: define 'const' away, if not supported
20878         * fixinc/procopen.c(several places): omit static initialization
20879         * fixinc/server.c: define 'volitile' away, if not supported
20880
20881 1999-05-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
20882
20883         * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
20884         asm_fprintf and %L to generate the label name.
20885         * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
20886         (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
20887
20888 Thu May 20 01:40:55 1999  Jeffrey A Law  (law@cygnus.com)
20889
20890         * jump.c (can_reverse_comparison_p): Do not abort if the comparison
20891         insn for a conditional jump can not be found.
20892
20893 Wed May 19 23:58:58 1999  Jeffrey A Law  (law@cygnus.com)
20894
20895         * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
20896         on variables in specific sections other than .sbss and .sdata.
20897
20898 Wed May 19 03:56:56 1999  Mark Mitchell  <mark@codesourcery.com>
20899
20900         * stmt.c (expand_return): Call start_cleanup_deferral and
20901         end_cleanup_deferral around conditional code.
20902
20903 Wed May 19 08:40:08 1999  Bruce Korb <ddsinc09@ix.netcom.com>
20904
20905         * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
20906         filename lists.  Utilizes new "krstr" AutoGen function.
20907         * fixinc/fixincl.x: Rebuilt.
20908
20909 Wed May 19 02:47:11 1999  Jan Hubicka  (hubicka@freesoft.cz)
20910
20911         * i386.c (output_float_compare): Avoid GNU-C extensions.
20912
20913 Wed May 19 00:34:40 1999  Jeffrey A Law  (law@cygnus.com)
20914
20915         * version.c: Bump to distinguish mainline tree from the
20916         gcc-2.95 branch.
20917
20918 See ChangeLog.1 for earlier changes.