]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
builtins.c (expand_builtin): Handle bcmp.
[gcc.git] / gcc / ChangeLog
1 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2
3 * builtins.c (expand_builtin): Handle bcmp.
4
5 * builtins.def: Add BUILT_IN_BCMP.
6
7 * c-common.c (c_common_nodes_and_builtins): Provide builtin
8 prototype & function for bcmp.
9
10 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
11
12 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
13 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
14 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
15
16 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
17
18 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
19 alternative when using -fp64 -gp32.
20
21 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
22
23 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
24 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
25 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
26
27 * frame.h (frame_state): Revert last change.
28 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
29 * libgcc2.c (throw_helper): Revert last change.
30
31 2000-03-22 Richard Henderson <rth@cygnus.com>
32
33 * stmt.c (expand_asm_operands): Don't promote the temporary.
34
35 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
36
37 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
38 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
39 c_get_alias_set): Likewise.
40 * c-decl.c (duplicate_decls): Likewise.
41 * c-typeck.c (default_conversion,build_unary_op): Likewise.
42 * calls.c (initialize_argument_information): Likewise.
43 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
44 Likewise.
45 * dwarfout.c (decl_class_context,output_type): Likewise.
46 * expr.c (get_inner_reference): Likewise.
47 * fold-const.c (simple_operand_p,fold): Likewise.
48 * function.c (aggregate_value_p): Likewise.
49 * stmt.c (expand_asm_operands): Likewise.
50 * varasm.c (named_section): Likewise.
51
52 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
53
54 Implement dwarf2 exception handling for the ARM.
55 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
56 (DWARF_FRAME_RETURN_COLUMN): Define.
57 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
58 REG_FRAME_RELATED_EXPR note.
59 (emit_sfm): Likewise.
60 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
61 * dwarf2out.c (reg_save): Handle saving a register to itself.
62 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
63 * except.c (eh_regs): Don't use the static chain reg if it's
64 callee-saved.
65 * frame.h (frame_state): Add cfa_saved field.
66 * frame.c (execute_cfa_insn): Set it.
67 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
68 the epilogue.
69 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
70 Now takes a parm.
71 (instantiate_virtual_regs): Adjust.
72 * tm.texi: Adjust.
73 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
74 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
75 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
76
77 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
78 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
79
80 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
81
82 * builtins.def: New file.
83
84 * Makefile.in (TREE_H): Depend on builtins.def.
85
86 * builtins.c (built_in_names): Use builtins.def.
87
88 * tree.h (built_in_function): Likewise.
89
90 2000-03-22 Mark Mitchell <mark@codesourcery.com>
91
92 * tree.c (size_in_bytes): Return size_zero_node, not
93 integer_zero_node.
94
95 2000-03-22 Geoff Keating <geoffk@cygnus.com>
96
97 * config/fp-bit.c (pack_d): Correct the case when a denormal
98 is rounded up and stops being denormal.
99
100 2000-03-21 Richard Henderson <rth@cygnus.com>
101
102 * config/alpha/alpha.c (function_arg): Check for void_type_node
103 before using MUST_PASS_IN_STACK.
104
105 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
106
107 * regmove.c (combine_stack_adjustments_for_block): Check that
108 the stack pointer is a valid memory address.
109
110 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
111
112 * calls.c: re-install Mar 16 emit_library_call merge.
113
114 2000-03-21 Jakub Jelinek <jakub@redhat.com>
115
116 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
117 we cannot be sure that if reload_completed base register will
118 be properly aligned.
119
120 2000-03-21 Richard Henderson <rth@cygnus.com>
121
122 * flow.c (delete_block): Fix typo last change.
123
124 2000-03-21 Mark Mitchell <mark@codesourcery.com>
125
126 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
127 not COMPLETE_TYPE_P, to check the type of the expression.
128
129 2000-03-21 Michael Meissner <meissner@redhat.com>
130
131 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
132 all floating point insns that just tested the macro
133 TARGET_HAS_XFLOATING_LIBS.
134 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
135 used to only use the gprs.
136
137 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
138
139 * tree.h (COMPLETE_TYPE_P): New macro.
140 (COMPLETE_OR_VOID_TYPE_P): New macro.
141 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
142 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
143 * c-aux-info.c (gen_type): Use them.
144 * c-common.c (c_expand_expr_stmt): Likewise.
145 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
146 grokdeclarator, grokparms, finish_struct, start_function,
147 store_parm_decls, combine_parm_decls): Likewise.
148 * c-parse.y (cast_expr): Likewise.
149 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
150 c_size_in_bytes, c_alignof, build_component_ref,
151 build_indirect_ref, build_array_ref, convert_arguments,
152 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
153 * calls.c (initialize_argument_information): Likewise.
154 * convert.c (convert_to_integer): Likewise.
155 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
156 * dwarfout.c (location_or_const_value_attribute,
157 output_enumeration_type_die, output_structure_type_die,
158 output_union_type_die, output_type): Likewise.
159 * expr.c (safe_from_p, expand_expr): Likewise.
160 * function.c (assign_parms): Likewise.
161 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
162 * tree.c (build_array_type, build_function_type,
163 build_method_type, build_offset_type, build_complex_type): Likewise.
164 * c-parse.c, c-parse.h: Regenerated.
165
166 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
167
168 * config/c4x/rtems.h: Include config/rtems.h.
169
170 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
171
172 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
173 decl is a FUNCTION_DECL
174
175 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
176
177 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
178 function uses output registers. Don't save RP for leaf functions.
179 Do save RP even if no epilogue.
180 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
181 (CALL_USED_REGISTERS): Unmark in registers.
182 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
183 to near the middle.
184
185 2000-03-20 Geoff Keating <geoffk@cygnus.com>
186
187 * config/rs6000/rs6000.md (bunordered): New expander.
188 (bordered): New expander.
189 (buneq): New expander.
190 (bunge): New expander.
191 (bungt): New expander.
192 (bunle): New expander.
193 (bunlt): New expander.
194 (bltgt): New expander.
195
196 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
197 (ccr_bit_negated_p): New function.
198 (print_operand): For %C, generate appropriate cror for UNEQ,
199 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
200
201 2000-03-20 Andreas Jaeger <aj@suse.de>
202
203 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
204 warning.
205
206 * tree.h (safe_for_unsave): Prototype.
207
208 2000-03-20 Richard Henderson <rth@cygnus.com>
209
210 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
211 (combine_stack_adjustments_for_block): Don't allow sp references
212 in the side of a set we're not fixing up.
213 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
214 after life_analysis.
215
216 2000-03-20 Richard Henderson <rth@cygnus.com>
217
218 * calls.c (expand_call): Don't bother generating tail call
219 sequences if there are pending cleanups. Use
220 expand_start_target_temps/expand_end_target_temps to elide
221 cleanups created during sibcall expansion.
222
223 2000-03-20 Geoff Keating <geoffk@cygnus.com>
224
225 * configure.in: Set $IFS to a value if it doesn't already have one
226 in the --enable-checking handling.
227 * configure: Regenerate.
228
229 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
230
231 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
232 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
233 Regenerated.
234
235 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
236
237 * jump.c (delete_noop_moves): Remove code attempting to
238 combine stack adjustments.
239
240 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
241
242 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
243 * except.c (emit_cleanup_handler): Use them.
244 (expand_end_all_catch): Likewise.
245 * function.c (fixup_var_refs): Likewise.
246 (expand_function_end): Clear catch_clauses_last.
247 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
248 * except.h (struct eh_status): New field x_catch_clauses_last.
249 (catch_clauses_last): New define.
250
251 * Makefile.in (tree.o): Depend on HASHTAB_H.
252 * tree.c: Include hashtab.h.
253 (struct type_hash): Remove next field.
254 (TYPE_HASH_SIZE): Remove.
255 (TYPE_HASH_INITIAL_SIZE): New define.
256 (type_hash_table): Change type to htab_t.
257 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
258 mark_hash_entry): New functions.
259 (init_obstacks): Allocate type hash.
260 (type_hash_lookup): Use htab functions.
261 (type_hash_add, mark_type_hash): Likewise.
262 (dump_tree_statistics): Call print_type_hash_statistics.
263
264 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
265
266 * rs6000/t-aix41: New file.
267
268 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
269
270 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
271
272 * tm.texi (Driver): Fix typos and tweak entry for
273 INCLUDE_DEFAULTS.
274 Move misplaced STRUCT_FORCE_BLK entry ...
275 (Storage Layout): ... to here.
276 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
277
278 2000-03-19 Richard Henderson <rth@cygnus.com>
279
280 * flow.c (delete_block): Delete the addr_vec along with the block.
281 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
282 reference labels.
283
284 * fold-const.c (extract_muldiv): Apply type check for defined
285 overflow to multiply as well as divide.
286
287 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
288
289 2000-03-18 Mark Mitchell <mark@codesourcery.com>
290
291 * emit-rtl.c (remove_unncessary_notes): Check that all
292 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
293 associated NOTE_BLOCK.
294 * function.h (identify_blocks): Update comments.
295 (reorder_blocks): Declare.
296 * function.c (identify_blocks): Don't take paramters.
297 (reorder_blocks): Don't take parameters.
298 * loop.h (find_loop_tree_blocks): Remove.
299 (unroll_block_trees): Likewise.
300 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
301 reorder_blocks instead of unroll_block_trees.h
302 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
303 * stmt.c (find_loop_tree_blocks): Remove.
304 (unroll_block_trees): Likewise.
305 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
306 in whole-function mode.
307 * tree.h (reorder_blocks): Remove declaration.
308
309 * expr.c: Include intl.h.
310 * Makefile.in (expr.o): Depend on intl.h.
311
312 2000-03-18 Richard Henderson <rth@cygnus.com>
313
314 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
315
316 2000-03-18 Mark Mitchell <mark@codesourcery.com>
317
318 * tree.h (tree_index): Remove enumerals for integer types.
319 (integer_type_kind): New type.
320 (integer_types): New variable.
321 (char_type_node): Adjust.
322 (signed_char_type_node): Likewise.
323 (unsigned_char_type_node): Likewise.
324 (short_integer_type_node): Likewise.
325 (short_unsigned_type_node): Likewise.
326 (integer_type_node): Likewise.
327 (unsigned_type_node): Likewise.
328 (long_integer_type_node): Likewise.
329 (long_unsigned_type_node): Likewise.
330 (long_long_integer_type_node): Likewise.
331 (long_long_unsigned_type_node): Likewise.
332 * tree.c (integer_types): New variable.
333 (init_obstacks): Register it as a root.
334
335 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
336
337 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
338 NEXT_INSN. Update last insn in chain.
339
340 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
341
342 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
343 with TYPE_DECL_SUPPRESS_DEBUG set.
344
345 2000-03-18 Richard Henderson <rth@cygnus.com>
346
347 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
348
349 2000-03-18 Richard Henderson <rth@cygnus.com>
350
351 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
352 care for HALF_PIC_P.
353 (expander_call_insn_operand): Remove.
354 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
355 * i386.h (PREDICATE_CODES): Update.
356 * i386.md (all call expanders): Remove predicates, remove special
357 handling for half-pic.
358 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
359 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
360 (sibcall_epilogue): New.
361
362 2000-03-17 Richard Henderson <rth@cygnus.com>
363
364 * rtlanal.c (single_set): Reject if the parallel has anything
365 except SET or USE or CLOBBER.
366
367 2000-03-17 Jeff Law <law@cygnus.com>
368 Richard Henderson <rth@cygnus.com>
369
370 * Makefile.in (OBJS): Add sibcall.o.
371 (sibcall.o): New.
372 * sibcall.c: New file.
373 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
374 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
375 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
376 Emit sibcall patterns when requested. Update all callers.
377 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
378 elimination seems feasable.
379 * final.c (leaf_function_p): Sibling calls don't discount being
380 a leaf function.
381 * flow.c (HAVE_sibcall_epilogue): Provide default.
382 (find_basic_blocks_1): Sibling calls don't throw.
383 (make_edges): Make edge from sibling call to EXIT.
384 (propagate_block): Don't remove sibcall_epilogue insns.
385 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
386 (sibcall_epilogue): New.
387 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
388 (identify_blocks_1): Likewise. Break out from ...
389 (identify_blocks): ... here.
390 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
391 (reorder_blocks): ... here.
392 (init_function_for_compilation): Zap prologue/epilogue as varrays.
393 (record_insns): Extend a varray instead of mallocing new memory.
394 (contains): Read a varray not array of ints.
395 (sibcall_epilogue_contains): New.
396 (thread_prologue_and_epilogue_insns): Emit and record
397 sibcall_epilogue patterns.
398 (init_function_once): Allocate prologue/epilogue varrays.
399 * genflags.c (gen_insn): Treat sibcall patterns as calls.
400 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
401 Broken out from ...
402 (save_for_inline_nocopy): ... here.
403 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
404 Broken out from ...
405 (expand_inline_function): ... here.
406 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
407 (subst_constants): Handle 'n' formats.
408 * jump.c (jump_optimize_minimal): New.
409 (jump_optimize_1): New arg `minimal'; update callers. Elide most
410 optimizations if it's set.
411 * rtl.c (copy_rtx): Do copy jump & call for insns.
412 * rtl.h (struct rtx_def): Document use of jump and call for insns.
413 (SIBLING_CALL_P): New.
414 (sibcall_use_t): New.
415 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
416 Invoke optimize_sibling_and_tail_recursive_calls.
417 * tree.c (lang_safe_for_unsave): New.
418 (safe_for_unsave): New.
419 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
420
421 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
422 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
423 (*sibcall_osf_1, *sibcall_value_osf_1): New.
424
425 2000-03-17 Mark Mitchell <mark@codesourcery.com>
426
427 * objc/objc-act.c (encode_method_prototype): Pass types, not
428 PARM_DECLs, to int_size_in_bytes.
429
430 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
431
432 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
433
434 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
435 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
436
437 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
438
439 * Clean up usages of TREE_INT_CST_LOW.
440 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
441 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
442 Regenerated.
443 * c-tree.h (min_precision): Move declaration to here.
444 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
445 (build_unary_op, add_pending_init): Use bit_position.
446 (pending_init_member, process_init_element): Likewise.
447 (really_start_incremental_init, push_init_level, pop_init_level):
448 Don't make copies of nodes or modify them in place, use consistent
449 types when tracking positions, and use tree routines computations.
450 (set_init_index, output_init_element): Likewise.
451 (output_pending_init_elements, process_init_element): Likewise.
452 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
453 tree_low_cst and int_bit_position; also minor cleanup.
454 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
455 (print_cst_octal): Precision is unsigned.
456 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
457 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
458 (simple_type_align_in_bits): Result is unsigned int.
459 Use tree_int_low_cst and host_integerp.
460 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
461 (field_byte_offset): Result is HOST_WIDE_INT.
462 Change types of internal variables so alignments are unsigned int,
463 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
464 Use host_integerp, tree_low_cst, and int_bit_position.
465 (add_bit_offset_attribute): Likewise.
466 (add_data_member_location_attribute): Use tree_cst_low.
467 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
468 (add_bit_size_attribute): Use tree_low_cst.
469 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
470 * dwarfout.c: Similar changes to dwarf2out.c.
471 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
472 * genoutput.c (n_occurences): Return -1 for null string.
473 (strip_whitespace): Accept null string and make into function.
474 (scan_operands): Reflect above changes.
475 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
476 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
477 * ssa.c (rename_registers): Add missing cast of arg to bzero.
478 * tree.c (int_size_in_bytes): Check for too big to represent.
479 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
480 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
481 New declarations.
482 (min_precision): Delete from here.
483 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
484 and int_bit_position.
485 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
486 (encode_method_def): Likewise.
487 (build_ivar_list_initializer): Use int_bit_position.
488 (generate_shared_structures): Convert size.
489 (encode_type, encode_complete_bitfield): Use integer_zerop.
490 (encode_bitfield): Use tree_low_cst and int_bit_position.
491
492 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
493
494 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
495
496 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
497
498 * call.c (special_function_p): It is only malloc if it returns
499 Pmode.
500
501 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
502
503 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
504 (C33_FLAG, TARGET_C3X): Add macros.
505 (TARGET_SWITCHES): Add -m33 option.
506 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
507
508 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
509
510 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
511 (PARALLEL_PACK_FLAG): Delete.
512 (TARGET_SWITCHES): Update.
513 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
514
515 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
516
517 * fold-const.c (fold): Fix a few cases when the returned result
518 is not of the same type as the input.
519
520 2000-03-16 Nick Clifton <nickc@cygnus.com>
521
522 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
523 warning.
524
525 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
526
527 * libgcc2.h: Move prototypes above macros with the same name.
528 Wrap some function prototypes in the conditional which indicates
529 whether they are supported, i.e. "BITS_PER_UNIT == 8".
530
531 2000-03-16 Richard Henderson <rth@cygnus.com>
532
533 * calls.c: Revert last two changes.
534
535 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
536
537 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
538 has exponent 0 is a zero.
539
540 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
541 HASH may already be nonzero. Add code/mode into hash value
542 immediately after repeat label.
543 (cselib_lookup): Don't leave the hash table in an inconsistent
544 state before a hash lookup operation.
545
546 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
547
548 * i386.md (all HI and QI mode non-move patterns): Conditionize
549 by TARGET_[HQ]IMODE_MATH.
550 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
551 x86_promote_qi_regs): Declare.
552 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
553 TARGET_PROMOTE_QI_REGS): New macros.
554 (PROMOTE_MODE): New macro.
555 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
556 x86_promote_qi_regs): New global variables.
557
558 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
559
560 * calls.c (emit_library_call_value_1): Break out from ...; handle
561 VOIDmode function calls too.
562 (emit_library_call_value): ... here.
563 (emit_library_call): Implement by calling emit_library_call_value_1.
564
565 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
566
567 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
568 Update arg_space_so_far on stack adjustments.
569 (emit_library_call, emit_library_call_value): Likewise; take into
570 account arg_space_so_far and pending_stack_adjust when calculcating
571 the boundary.
572
573 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
574
575 * flow.c: Move all basic block reordering code into its own file.
576 (create_basic_block): Externalize.
577 * bb-reorder.c: New file. Copy all basic block reordering code from
578 flow.c to this file.
579 (reorder_basic_blocks): Fix fencepost error in for-loop.
580 (reorder_basic_blocks): Remove braces from single statement for-loops.
581 * basic-block.h: Add declaration for create_basic_block.
582 * Makefile.in: Add rules for bb-reorder.o.
583
584 2000-03-16 Neil Booth <NeilB@earthling.net>
585
586 * cppinit.c (handle_option): Implement #unassert directive
587 as -A- command line option.
588 (print_help): Update.
589 * cpptexi.c: Update.
590
591 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
592
593 * md.texi (Standard Names): Document `jump'.
594
595 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
596
597 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
598 gotos.
599
600 2000-03-15 Geoff Keating <geoffk@cygnus.com>
601
602 See the ChangeLog on the branch for more details.
603
604 * configure.in: Merge in changes from newppc-branch.
605 * configure: Regenerate.
606 * config/rs6000/*: Merge in changes from newppc-branch.
607 Also correct copyright notices.
608
609 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
610
611 * acconfig.h (HAVE_GAS_WEAK): New define.
612 * configure.in (assembler weak support): Check for .weak support.
613 * config.in, configure: Rebuilt.
614 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
615 HAVE_GAS_WEAK is defined.
616
617 2000-03-15 Nick Clifton <nickc@cygnus.com>
618
619 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
620 asm_fprintf().
621
622 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
623
624 * cppfiles.c (open_include_file): New function.
625 (find_include_file, cpp_read_file): Use it.
626
627 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
628
629 * cpphash.c (dump_hash_helper): Take the slot, not the element.
630
631 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
632
633 * flow.c (verify_flow_info): Check for unconditional return.
634
635 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
636
637 * config/ia64/ia64.md (restore_stack_nonlocal): New.
638 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
639 (__ia64_restore_stack_nonlocal): New.
640 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
641
642 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
643
644 * cpphash.c (collect_formal_parameters): Do not complain about
645 parameter names that just start with `__VA_ARGS__'.
646
647 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
648
649 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
650 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
651 * i386.c (pentiumpro_cost): Set mul cost to 4.
652 (x86_use_movx): Set for PPro.
653
654 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
655
656 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
657 STACK_BOUNDARY for empty frames now.
658
659 2000-03-14 Mark Mitchell <mark@codesourcery.com>
660
661 * stor-layout.c (layout_union): Remove.
662 (layout_union_field): New function, split out from layout_union.
663 (finish_union_layout): Likewise.
664 (layout_field): Handle unions by calling layout_union_field.
665 (finish_record_layout): Handle unions.
666 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
667 QUAL_UNION_TYPE handling.
668
669 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
670
671 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
672 end of basic block is jump_insn, not barrier; use create_basic_block
673 instead of creating basic block by hand.
674
675 2000-03-14 Jason Eckhardt <jle@cygnus.com>
676
677 * flow.c (reorder_basic_blocks): Account for barriers when writing
678 over NEXT_INSN (last_bb->end).
679 (verify_flow_info): Add check for missing barriers.
680
681 2000-03-14 Greg McGary <gkm@gnu.org>
682
683 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
684 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
685 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
686 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
687 __unbounded, __unbounded__): New keywords.
688 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
689 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
690 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
691
692 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
693
694 * cselib.h: New file.
695 * alias.c: Include "cselib.h".
696 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
697 MEMs as two new arguments.
698 (get_addr): New static function.
699 (find_base_term): Handle VALUEs.
700 (memrefs_conflict_p): Likewise.
701 (true_dependence): Call get_addr on the addresses.
702 Call fixed_scalar_and_varying_struct_p with addresses that have been
703 passed through get_addr and canon_rtx.
704 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
705 with true_dependence.
706 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
707 * loop.c: Include "cselib.h".
708 (load_mems): Process extended basic block that enters the loop with
709 cselib. Use that information to change initialization of the shadow
710 register so that a constant equivalence is seen by later passes.
711 * reload1.c: Include "cselib.h".
712 (reload_cse_invalidate_regno): Delete function.
713 (reload_cse_mem_conflict_p): Likewise.
714 (reload_cse_invalidate_mem): Likewise.
715 (reload_cse_invalidate_rtx): Likewise.
716 (reload_cse_regno_equal_p): Likewise.
717 (reload_cse_check_clobber): Likewise.
718 (reload_cse_record_set): Likewise.
719 (reg_values): Delete static variable.
720 (invalidate_regno_rtx): Likewise.
721 (reload_cse_delete_noop_set): New static function.
722 (reload_cse_simplify): New static function, broken out of
723 reload_cse_regs_1.
724 (reload_cse_noop_set_p): Delete unused argument INSN.
725 Just call rtx_equal_for_cselib_p on set source and destination.
726 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
727 reload_cse_delete_noop_set. Delete code to keep track of values; use
728 cselib functions instead. Delete code to push/pop obstacks.
729 (reload_cse_simplify_set): Use cselib to find equivalent values.
730 Delete code to push/pop obstacks.
731 (reload_cse_simplify_operands): Likewise.
732 * rtl.def (VALUE): New rtx code.
733 * rtl.h (union rtunion_def): New elt rt_cselib.
734 (X0CSELIB, CSELIB_VAL_PTR): New macros.
735 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
736 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
737 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
738 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
739 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
740 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
741 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
742 cselib_record_set, cselib_record_sets): New static functions.
743 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
744 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
745 references_value_p): New functions.
746 (MAX_USELESS_VALUES, REG_VALUES): New macros.
747 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
748 n_useless_values, reg_values, callmem, cselib_obstack,
749 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
750 New static variables.
751 * varray.h (union varray_data_tag): New elt te.
752 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
753 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
754 dependencies.
755
756 2000-03-14 Nick Clifton <nickc@cygnus.com>
757
758 * gcc.c (do_spec_1): Catch the case where %* is used in a
759 substitution pattern, but it has not been initialised.
760 Issue a meaningful error message if an unrecognised operator
761 is encountered in a spec string.
762
763 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
764
765 * function.c (prepare_function_start): Correctly initialize
766 cfun->stack_alignment_needed.
767
768 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
769
770 * cppfiles.c (find_include_file): Don't assume nshort is a
771 substring of name.
772
773 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
774
775 * configure.in (hppa configurations): Add pa32-regs.h to the
776 list of tm files as appropriate.
777 * configure: Rebuilt.
778 * pa.c (compute_frame_size): Remove explicit knowledge about FP
779 register numbering.
780 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
781 (fmpyaddoperands, fmpysuboperands): Likewise.
782 * pa.h: Remove various definitions which depend on knowing
783 how registers are numbered.
784 * pa32-regs.h: New file with PA32 register numbering specific
785 definitions.
786
787 2000-03-14 Richard Henderson <rth@cygnus.com>
788
789 * regmove.c (combine_stack_adjustments): New.
790 (stack_memref_p, single_set_for_csa): New.
791 (free_csa_memlist, record_one_stack_memref): New.
792 (try_apply_stack_adjustment): New.
793 (combine_stack_adjustments_for_block): New.
794 * rtl.h (combine_stack_adjustments): Declare.
795 * toplev.c (rest_of_compilation): Call it.
796
797 * i386.md: Revert 2000-01-16 change.
798
799 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
800
801 * gccbug.in: Add web category, gcc specific classes.
802
803 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
804
805 * stor-layout.c (finalize_record_size): Fix typo.
806
807 2000-03-14 Stan Shebs <shebs@apple.com>
808
809 * c-typeck.c (c_alignof): Error on incomplete types.
810 * extend.texi (Alignment): Document this.
811
812 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
813
814 * cppfiles.c: Include mkdeps.h.
815 (find_include_file, read_include_file): Remove _cpp_ prefix
816 from name, make static.
817 (_cpp_execute_include): New function, broken out of
818 do_include.
819
820 * cpplib.c: Don't include mkdeps.h.
821 (struct directive): Remove type field. Reorder entries. The
822 function takes only one argument.
823 (struct if_stack): Make type field an int.
824 (directive_table): Rename to dtable. Generate it, the
825 prototypes of the directive handlers, and the enum for the
826 directive numbers, from a template macro.
827 (do_ifndef, do_include_next, do_import): New functions.
828 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
829 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
830 do_ident, do_assert, do_unassert, do_sccs): Take only one
831 argument.
832 (do_sccs): Define always, but alter behavior based on
833 SCCS_DIRECTIVE.
834 (_cpp_handle_directive, consider_directive_while_skipping):
835 Restructure for new directive table layout.
836
837 (pass_thru_directive): Take a directive number, not a pointer
838 to a struct directive.
839 (parse_include): New function, broken out of do_include.
840 (do_include, do_import, do_include_next): Use parse_include
841 and _cpp_execute_include.
842 (do_elif, do_else): Test for T_ELSE specifically when checking
843 for #elif/#else after #else.
844 (parse_ifdef): New function, broken out of do_ifdef.
845 (validate_else): Expect a name arg without a leading #.
846 (if_directive_name): Delete.
847 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
848 directive handlers with only one argument.
849
850 * cpphash.h: Update prototypes.
851 (enum node_type): Remove entries for directives.
852 * Makefile.in: Update dependencies.
853
854 * cpphash.c (dump_hash_helper): Only dump nodes of type
855 T_MACRO. Emit a newline after each definition.
856
857 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
858
859 * gccbug.in: New file.
860 * configure.in (all_outputs): Add gccbug.
861 * Makefile.in (install-common): Install gccbug.
862 (GCCBUG_INSTALL_NAME): New variable.
863 * configure: Rebuilt.
864
865 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
866
867 * function.c (put_var_into_stack): Use type_for_mode to calculate
868 part_type. Use MEM_SET_IN_STRUCT_P.
869 * expr.c (store_field): Handle CONCAT.
870 (store_constructor): Use fields_length.
871 * tree.c (fields_length): New fn.
872 * tree.h: Declare it.
873
874 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
875
876 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
877 (cpplex.o): New target.
878 * po/POTFILES.in: Add cpplex.c.
879
880 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
881 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
882 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
883 skip_block_comment, skip_line_comment, skip_comment,
884 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
885 _cpp_parse_name, skip_string, parse_string,
886 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
887 _cpp_get_directive_token, find_position,
888 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
889 (maybe_macroexpand, _cpp_lex_token): New functions.
890
891 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
892 parse_goto_mark): Delete.
893 (_cpp_handle_eof): New function.
894 (_cpp_handle_directive): Rename from handle_directive.
895 (_cpp_output_line_command): Rename from output_line_command.
896 (do_if, do_elif): Call _cpp_parse_expr directly.
897 * cppfiles.c (_cpp_read_include_file): Don't call
898 init_input_buffer here.
899 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
900 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
901 here; pop the token_buffer and skip the rest of the line here.
902 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
903 here.
904
905 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
906 Define here.
907 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
908 CPP_GOTO_MARK): New macros.
909 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
910 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
911 _cpp_read_and_prescan, _cpp_init_input_buffer,
912 _cpp_grow_token_buffer, _cpp_get_directive_token,
913 _cpp_handle_directive, _cpp_handle_eof,
914 _cpp_output_line_command): Prototype them here.
915 * cpplib.h (enum cpp_token): Add CPP_MACRO.
916 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
917 quote_string, output_line_command): Remove.
918
919 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
920
921 * stmt.c (expand_end_case): RANGE may be signed, and when checking
922 whether it is too large we must also verify that it isn't negative.
923
924 2000-03-13 Jakub Jelinek <jakub@redhat.com>
925
926 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
927 (movsi_zero_liveg0): Remove.
928 (movsf_insn_novis_liveg0): Remove.
929 (negsi2): Remove.
930 (negsi2_not_liveg0): Rename to negsi2.
931 (one_cmplsi2): Remove.
932 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
933 (one_cmplsi2_liveg0): Remove.
934 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
935 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
936 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
937 (PREDICATE_CODES): Remove zero_operand.
938 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
939 TARGET_BROKEN_SAVERESTORE.
940 (zero_operand): Remove.
941 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
942 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
943 options.
944 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
945 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
946 TARGET_BROKEN_SAVERESTORE): Remove.
947 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
948 Remove.
949 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
950 Remove.
951 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
952 Remove.
953
954 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
955
956 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
957
958 * cpplib.c (do_pragma_implementation): Fix off-by-one error
959 truncating a string. Don't assume tokens are nul terminated.
960 Problem noted by Andreas Jaeger <aj@suse.de>
961
962 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
963
964 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
965 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
966 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
967
968 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
969
970 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
971 STRUCTURE_SIZE_BOUNDARY.
972
973 2000-03-13 Mark Mitchell <mark@codesourcery.com>
974
975 * tree.h (record_layout_info_s): New structure.
976 (record_layout_info): New type.
977 (new_record_layout_info): New function.
978 (layout_field): Likewise.
979 (finish_record_layout): Likewise.
980 * stor-layout.c (layout_record): Remove.
981 (new_record_layout_info): New function.
982 (layout_field): New function, broken out from layout_record.
983 (finalize_record_size): Likewise.
984 (compute_record_mode): Likewise.
985 (finalize_type_size): New function, broken out from layout_type.
986 (finish_record_layout): Likewise.
987 (layout_type): Use them.
988
989 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
990
991 * cpphash.c: Don't include version.h.
992 (special_symbol) [case T_VERSION]: Look for the string in
993 hp->value.cpval; don't use version_string.
994 * cppinit.c (initialize_builtins): Set hp->value.cpval for
995 __VERSION__ to version_string.
996 * Makefile.in (cpphash.o): Update deps.
997
998 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
999
1000 Convert cpplib to use libiberty/hashtab.c.
1001
1002 * cpplib.h (struct cpp_reader): Make hashtab and
1003 all_include_files of type 'struct htab *'. Delete HASHSIZE
1004 and ALL_INCLUDE_HASHSIZE macros.
1005
1006 * cpphash.h: Update prototypes.
1007 (struct hashnode): Remove next, prev, and bucket_hdr members.
1008 Make length a size_t. Add hash member.
1009 (struct ihash): Remove next member. Add hash member. Make
1010 name a flexible array member.
1011
1012 * cppfiles.c: Include hashtab.h.
1013 (include_hash): Delete.
1014 (IHASHSIZE): New macro.
1015 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
1016 (cpp_included): Do the hash lookup here.
1017 (_cpp_find_include_file): Rewrite.
1018 (cpp_read_file): Put the "fake" hash entry into the hash
1019 table. Honor the control_macro, if it turns out we've seen
1020 the file before. Don't push the buffer here.
1021 (_cpp_read_include_file): Push the buffer here.
1022 (OMODES): New macro. Use it whenever we call open(2).
1023
1024 * cpphash.c: Include hashtab.h.
1025 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
1026 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
1027 _cpp_lookup_slot): New functions.
1028 (HASHSIZE): new macro.
1029 (hashf, _cpp_install, _cpp_delete_macro): Delete.
1030 (_cpp_lookup): Use hashtab.h routines.
1031
1032 * cppinit.c: Include hashtab.h.
1033 (cpp_reader_init): Call _cpp_init_macro_hash and
1034 _cpp_init_include_hash. Don't allocate hashtab directly.
1035 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
1036 pfile->all_include_files.
1037 (initialize_builtins): Use _cpp_make_hashnode and
1038 htab_find_slot to add hash entries.
1039 (cpp_finish): Just call _cpp_dump_macro_hash.
1040 * cpplib.c: Include hashtab.h.
1041 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
1042 create hash entries.
1043 (do_pragma_poison, do_assert): Likewise.
1044 (do_include): Don't push the buffer here. Don't increment
1045 system_include_depth unless _cpp_read_include_file succeeds.
1046 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
1047 or htab_remove_elt.
1048 (do_pragma_implementation): Use alloca to create copy.
1049
1050 * Makefile.in: Update dependencies.
1051
1052 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1053
1054 * cppinit.c (cl_directive_handler): More K&R fixing.
1055
1056 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
1057
1058 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
1059 STACK_BOUNDARY.
1060 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
1061
1062 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1063
1064 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
1065 Change from char[] to macros.
1066
1067 2000-03-12 Neil Booth <NeilB@earthling.net>
1068
1069 * cppinit.c (cpp_start_read): Update indirect function
1070 call to K&R C.
1071
1072 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
1073
1074 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
1075 entry.
1076
1077 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
1078 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
1079
1080 2000-03-11 Neil Booth <NeilB@earthling.net>
1081
1082 * cppinit.c (struct pending option): Replace undef with a
1083 pointer to a directive handling routine.
1084 (struct cpp_pending): Replace separate assert_ and define_
1085 lists with one directive_ list.
1086 (new_pending_define): Rename new_pending_directive. Extra
1087 argument is the directive's handling routine.
1088 (handle_option): Update to use new_pending_directive.
1089
1090 2000-03-11 Neil Booth <NeilB@earthling.net>
1091
1092 * cppfiles.c (file_cleanup, _cpp_find_include_file,
1093 remap_filename, _cpp_read_include_file, actual_directory,
1094 hack_vms_include_specification): Replace bcopy(), index() etc
1095 calls. Add casts to some allocations. Make some variables
1096 pointers to const [unsigned] char.
1097 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
1098 collect_formal_parameters): Similarly.
1099 * cppinit.c (struct pending_option, append_include_chain,
1100 cpp_options_init, cpp_reader_init, initialize_standard_includes,
1101 cpp_start_read, new_pending_define, handle_option): Similarly.
1102 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
1103 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
1104 do_pragma_implementation, detect_if_not_defined,
1105 do_ifdef, skip_if_group, cpp_get_token, parse_string,
1106 do_assert, do_unassert): Similarly.
1107 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
1108 function prototypes.
1109 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
1110
1111 2000-03-10 Richard Henderson <rth@cygnus.com>
1112
1113 * builtins.c (expand_builtin_strlen): Revert last change.
1114 Use emit_insn_before if we're at the beginning of a sequence.
1115
1116 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
1117
1118 * builtins.c (expand_builtin_strlen): Make sure that we have something
1119 at the beginning of the sequence.
1120
1121 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
1122 deferred inlines.
1123
1124 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
1125
1126 2000-03-10 Richard Henderson <rth@cygnus.com>
1127
1128 * except.c (can_throw): Use INTVAL on a CONST_INT.
1129 (reachable_handlers): Likewise.
1130 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
1131
1132 2000-03-10 Andreas Jaeger <aj@suse.de>
1133
1134 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
1135 MD_STARTFILE_PREFIX since those are not needed on linux.
1136 (ASM_FILE_START): New, from mips/gnu.h.
1137
1138 2000-03-09 Richard Henderson <rth@cygnus.com>
1139 Alex Samuel <samuel@codesourcery.com> and others
1140
1141 * Makefile.in (ssa.o): New rule.
1142 (OBJS): Add ssa.o.
1143 (STAGESTUFF): Add *.ssa and *.ussa.
1144 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
1145 * rtl.def (PHI): New RTL expression.
1146 * rtl.h (clear_log_links): New declaration.
1147 (convert_to_ssa): Likewise.
1148 (convert_from_ssa): Likewise.
1149 * flow.c (split_edge): If the entry node falls through to the
1150 split edge's source block, split the entry edge.
1151 (clear_log_links): New function.
1152 * toplev.c (ssa_dump): New variable.
1153 (flag_ssa): Likewise.
1154 (f_options): Add "ssa".
1155 (compile_file): Create SSA dump files.
1156 (rest_of_compilation): Go to and from SSA if enabled.
1157 (decide_d_option): Handle -de for SSA dump files.
1158 * ssa.c: New file.
1159
1160 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
1161
1162 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
1163 same as VAR_DECL.
1164
1165 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
1166
1167 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
1168
1169 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
1170
1171 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
1172 (MD_STARTFILE_PREFIX_1): New macro.
1173
1174 2000-03-09 Robert Lipe <robertl@sco.com>
1175
1176 * config/ia64/ia64.c: Include system.h.
1177
1178 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
1179
1180 * except.c (nothrow_function_p): If -fno-exceptions, just return.
1181 (init_eh_nesting_info): Likewise.
1182
1183 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
1184 (TREE_NOTHROW): Rename from TREE_RAISES.
1185 * toplev.c (rest_of_compilation): Set it.
1186 * print-tree.c (print_node): Adjust.
1187 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
1188 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
1189 * calls.c (emit_call_1): Add 'nothrow' parm. Add
1190 REG_EH_REGION note as appropriate.
1191 (libfunc_nothrow): New fn.
1192 (emit_library_call, emit_library_call_value): Use it.
1193 (expand_call): Check TREE_NOTHROW.
1194
1195 * varasm.c (make_decl_rtl): Skip initial '*' when setting
1196 DECL_ASSEMBLER_NAME.
1197
1198 2000-03-09 Andreas Jaeger <aj@suse.de>
1199
1200 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
1201 (TARGET_MEM_FUNCTIONS): Define.
1202
1203 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
1204
1205 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
1206
1207 * except.c (can_throw): See through a SEQUENCE.
1208 (nothrow_function_p): New fn.
1209 * except.h: Declare it.
1210 * function.c (current_function_nothrow): New var.
1211 (prepare_function_start): Initialize it.
1212 * output.h: Declare it.
1213 * toplev.c (rest_of_compilation): Set it.
1214 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
1215
1216 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1217
1218 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
1219 match. (cpp_compare_defs): Count the nul separator when
1220 advancing over argument names.
1221
1222 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
1223
1224 * recog.c (preprocess_constraints): Matching constraints affect
1225 same alternative/different operand, not same operand/different
1226 alternative.
1227
1228 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
1229 register and a constant specially.
1230
1231 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1232
1233 * libgcc2.h: New file.
1234 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
1235
1236 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
1237
1238 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
1239 * configure: Regenerate.
1240 * config/ia64: New.
1241
1242 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1243
1244 * Makefile.in (LIBCPP_DEPS): New macro.
1245 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
1246 it to declare deps.
1247 * cpperror.c: Include cpphash.h.
1248 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
1249 dingleberry.
1250 (lex): Don't use CPP_WARN_UNDEF.
1251 (_cpp_parse_expr): Return an int, the truth value.
1252 * cppfiles.c: Include cpphash.h.
1253 (_cpp_merge_include_chains): Move to cppinit.c and make static.
1254 * cppinit.c (include_defaults_array): Disentangle.
1255 (cpp_cleanup): Don't free the if stack here.
1256 (cpp_finish): Pop off all buffers, not just one.
1257 * cpplib.c (eval_if_expr): Return int.
1258 (do_xifdef): Rename do_ifdef.
1259 (handle_directive): Don't use CPP_PREPROCESSED.
1260 (cpp_get_token): Don't use CPP_C89.
1261 * fix-header.c: Don't use CPP_OPTIONS.
1262
1263 * cpplib.h: Move U_CHAR, enum node_type, struct
1264 file_name_list, struct ihash, is_idchar, is_idstart,
1265 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
1266 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
1267 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
1268 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
1269 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
1270 of _cpp_simplify_pathname, _cpp_find_include_file,
1271 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
1272 Move struct if_stack to cpplib.c. Move struct cpp_pending to
1273 cppinit.c.
1274 Change all uses of U_CHAR to be unsigned char instead.
1275 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
1276
1277 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
1278
1279 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
1280 (dwarf2out_begin_prologue): Set it.
1281 (output_call_frame_info): Don't emit EH unwind info for leaves.
1282
1283 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
1284 can occur outside of an EH region.
1285 * except.c: Correct comments about rethrow behavior.
1286 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
1287
1288 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
1289
1290 * flow.c (make_edges): Always call make_eh_edge for calls.
1291
1292 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1293
1294 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
1295 (struct cpp_buffer): Remove fname and underflow fields.
1296 (struct cpp_reader): Remove get_token field.
1297 (struct include_hash): Rename to struct ihash. Add typedef to
1298 IHASH.
1299 (struct if_stack): Remove fname field.
1300 (IF_STACK_FRAME): Rename to IF_STACK.
1301
1302 * cpperror.c (print_containing_files): Trust that there are no
1303 macro buffers below the top file buffer.
1304 * cppfiles.c: Replace all references to 'struct include_hash'
1305 with 'IHASH'. Rename initialize_input_buffer to
1306 init_input_buffer. Don't set or reference cpp_buffer->fname,
1307 use buffer->ihash->name instead.
1308 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
1309 not CPP_NULL_BUFFER.
1310 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
1311 IF_STACK_FRAME, IHASH not struct include_hash.
1312 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
1313 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
1314 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
1315 references to cpp_buffer->fname (delete entirely, or use
1316 ->ihash->name instead) and IF_STACK->fname.
1317 (cpp_push_buffer): Don't set new->underflow.
1318 (do_include): Use cpp_file_buffer.
1319
1320 * cpphash.c (collect_formal_parameters): Remove duplicate
1321 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
1322 used as a macro argument name. Don't append "..." to namebuf
1323 for varargs macros. After we're done scanning, go through
1324 namebuf and make it NUL separated, not comma separated.
1325 (_cpp_compare_defs): Remove register tag from variables.
1326 Expect defn->argnames to be NUL separated.
1327 (_cpp_dump_definition): Expect defn->argnames to be NUL
1328 separated and in forward order.
1329 * cpphash.h: Update documentation of argnames field.
1330
1331 2000-03-08 Richard Henderson <rth@cygnus.com>
1332
1333 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
1334 to fail. Don't pre-expand the source operand.
1335
1336 * i386.md (strlensi): Initialize eoschar and align before use.
1337
1338 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
1339
1340 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
1341 CONSTRUCTOR element.
1342
1343 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
1344
1345 * mips.c (mips_expand_prologue): If the last
1346 named argument is the vararg marker "va_list", treat it as
1347 an unnamed argument.
1348
1349 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
1350
1351 * dbxout.c (dbxout_parms): When correcting for promoted
1352 big-endian parameters, use the mode of the DECL_RTL rather
1353 than UNITS_PER_WORD.
1354
1355 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
1356
1357 * c-common.h (make_fname_decl): Declare.
1358 * c-common.c (make_fname_decl): Define.
1359 (declare_hidden_char_array): Remove.
1360 (declare_function_name): Use make_fname_decl.
1361 * c-decl.c (c_make_fname_decl): New function.
1362 (init_decl_processing): Set make_fname_decl.
1363
1364 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
1365
1366 * cccp.c (handle_directive): Initialize backslash_newlines_p.
1367
1368 2000-03-07 Philipp Thomas <pthomas@suse.de>
1369
1370 * po/POTFILES.in: Remove cppalloc.c from file list.
1371
1372 2000-03-07 Steve Chamberlain <sac@pobox.com>
1373
1374 * pj.c (pj_expand_prologue): current_function->args_info is
1375 now current_function_args_info.
1376
1377 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
1378 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
1379 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
1380
1381 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1382
1383 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
1384 output as hexadecimal rather than the default octal.
1385
1386 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
1387
1388 * cpphash.c (special_symbol): Fix thinko in previous commit.
1389
1390 2000-03-07 Neil Booth <NeilB@earthling.net>
1391
1392 * cppexp.c (struct operation, left_shift, right_shift,
1393 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
1394 "int"s to "unsigned int"s.
1395 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
1396 Similarly.
1397 * cpplib.h: Update for above.
1398 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
1399 returned from allocations.
1400
1401 * cppinit.c (opt_comp, parse_options): New functions.
1402 (handle_option): Use parse_option to parse a single command
1403 line option, that possibly takes an argument.
1404 (cpp_handle_options): Sort the array of command line options on
1405 first invocation (non-ASCII hosts only).
1406 (print_help): Update.
1407
1408 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
1409
1410 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
1411 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
1412
1413 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
1414 initialized.
1415 * cppinit.c (cpp_cleanup): Free imp->nshort also.
1416
1417 * cpperror.c (cpp_print_containing_files,
1418 cpp_print_file_and_line, v_cpp_message): Rename to
1419 print_containing_files, print_file_and_line, and v_message.
1420 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
1421 to _cpp_parse_expr, parse_escape, and lex.
1422 (parse_charconst): Remove broken multibyte support.
1423 * cppfiles.c (include_hash): Make static.
1424 (cpp_included): New function.
1425 (merge_include_chains, find_include_file, finclude,
1426 simplify_pathname): Rename to _cpp_merge_include_chains,
1427 _cpp_find_include_file, _cpp_read_include_file, and
1428 _cpp_simplify_pathname.
1429 * cpphash.c (cpp_lookup, free_definition, delete_macro,
1430 cpp_install, create_definition, macroexpand, compare_defs,
1431 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
1432 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
1433 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
1434 * cppinit.c (cpp_handle_option): Rename to handle_option, make
1435 static.
1436 * cpplib.c: Remove extern prototype of cpp_parse_expr.
1437
1438 * cpphash.h: Update prototypes.
1439 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
1440
1441 2000-03-07 Andrew Haley <aph@cygnus.com>
1442
1443 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
1444 PTRDIFF_TYPE should be based solely on Pmode.
1445 (SIZE_TYPE): ditto.
1446
1447 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1448
1449 * rtl.h (rtunion_def): Constify member `rtstr'.
1450 (emit_line_note_after, emit_line_note, emit_line_note_force,
1451 emit_note, decode_asm_operands): Constify.
1452
1453 * cse.c (canon_hash): Likewise.
1454
1455 * dbxout.c (dbxout_block): Likewise.
1456
1457 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
1458 v_warning_for_asm): Likewise.
1459
1460 * dwarfout.c (function_start_label): Likewise.
1461
1462 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
1463 emit_line_note_force): Likewise.
1464
1465 * final.c (last_filename, asm_insn_count, final_scan_insn,
1466 output_source_line): Likewise.
1467
1468 * function.h (struct emit_status): Likewise.
1469
1470 * gcse.c (hash_expr_1): Likewise.
1471
1472 * genattr.c (gen_attr, main): Likewise.
1473
1474 * genattrtab.c (struct function_unit, current_alternative_string,
1475 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
1476 attr_numeral, check_attr_test, check_attr_value,
1477 convert_set_attr_alternative, convert_set_attr,
1478 compute_alternative_mask, simplify_by_exploding, gen_attr,
1479 gen_unit): Likewise.
1480
1481 * genflags.c (gen_insn): Likewise.
1482
1483 * gengenrtl.c (type_from_format): Likewise.
1484
1485 * genopinit.c (gen_insn): Likewise.
1486
1487 * genoutput.c (n_occurrences, process_template, process_template):
1488 Likewise.
1489
1490 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
1491 Likewise.
1492
1493 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
1494 Likewise.
1495
1496 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
1497 ggc_set_mark, ggc_get_size): Likewise.
1498
1499 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
1500
1501 * optabs.c (init_one_libfunc): Likewise.
1502
1503 * output.h (assemble_start_function): Likewise.
1504
1505 * recog.c (decode_asm_operands): Likewise.
1506
1507 * toplev.c (rest_of_compilation): Likewise.
1508
1509 * tree.h (emit_line_note_after, emit_line_note,
1510 emit_line_note_force): Likewise.
1511
1512 * varasm.c (asm_output_bss, asm_output_aligned_bss,
1513 asm_emit_uninitialised, assemble_start_function,
1514 assemble_variable, const_hash, compare_constant_1,
1515 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
1516
1517 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
1518
1519 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
1520
1521 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
1522
1523 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
1524
1525 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
1526 arm_dllimport_name_p): Likewise.
1527
1528 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
1529 Likewise.
1530
1531 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
1532
1533 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1534
1535 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
1536 arm_mark_dllexport, arm_mark_dllimport,
1537 arm_pe_encode_section_info): Likewise.
1538
1539 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
1540 ASM_FINISH_DECLARE_OBJECT): Likewise.
1541
1542 * arm/thumb.c (thumb_function_prologue): Likewise.
1543
1544 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
1545
1546 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1547
1548 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
1549
1550 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
1551
1552 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
1553
1554 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1555
1556 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
1557 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
1558
1559 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
1560
1561 * i386/i386.c (asm_output_function_prefix): Likewise.
1562
1563 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
1564
1565 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1566
1567 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
1568
1569 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
1570 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
1571 ASM_OUTPUT_SECTION_NAME): Likewise.
1572
1573 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
1574
1575 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
1576
1577 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
1578
1579 * m32r/m32r.c (m32r_encode_section_info): Likewise.
1580
1581 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1582
1583 * mcore/mcore.c (mcore_encode_section_info): Likewise.
1584
1585 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1586
1587 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1588
1589 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1590
1591 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
1592
1593 * mips/mips.md (movdi, movsi): Likewise.
1594
1595 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1596
1597 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1598
1599 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1600
1601 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
1602 ASM_OUTPUT_ASCII): Likewise.
1603
1604 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
1605 output_mi_thunk, output_toc): Likewise.
1606
1607 * rs6000/rs6000.md (movsi): Likewise.
1608
1609 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
1610
1611 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
1612
1613 * v850/v850.c (print_operand, print_operand_address,
1614 v850_encode_data_area): Likewise.
1615
1616 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
1617
1618 * config/mips/mips.md (zero_extendsidi2): Always force operand
1619 one to memory for mips16.
1620
1621 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1622
1623 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
1624 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
1625 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
1626 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
1627 (min_precision): Result is unsigned.
1628 (add_double, neg_double, mul_double): Low word is unsigned.
1629 (lshift_double, rshift_double, lrotate_double): Likewise.
1630 (rrotate_double, div_and_round_double): Likewise.
1631 (tree_floor_log2, compare_tree_int): New functions.
1632 (preserve_rtl_expr_temps): New declaration.
1633 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
1634 (decl_attributes): Use tree_log2 to find alignment.
1635 Check for TREE_INT_CST_HIGH for format args.
1636 (min_precision): Now unsigned.
1637 Use tree_floor_log2.
1638 (truthvalue_conversion): Delete long-disabled code.
1639 * c-decl.c (finish_struct): Clean up tests on field width.
1640 (finish_function): Use compare_tree_int.
1641 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
1642 * c-typeck.c (comptypes): Use tree_int_cst_equal.
1643 (default_conversion, digest_init): Use compare_tree_int.
1644 (build_binary_op): Use integer_all_onesp and compare_tree_int.
1645 Fix type errors in forming masks.
1646 * calls.c (initialize_argument_information): Use compare_tree_int.
1647 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
1648 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
1649 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
1650 (store_field): Use compare_tree_int.
1651 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
1652 (expand_expr, case ARRAY_REF): Use compare_tree_int.
1653 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
1654 (do_store_flag): Use compare_tree_int.
1655 * fold-const.c (encode, decode): Low part is always unsigned.
1656 (force_fit_type, add_double, neg_double, mul_double): Likewise.
1657 (lshift_double, rshift_double, lrotate_double): Likewise.
1658 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
1659 (fold_convert): Use compare_tree_int.
1660 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
1661 (invert_truthvalue, case INTEGER_CST): Likewise.
1662 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
1663 * mkdeps.c (deps_dummy_targets): Make I unsigned.
1664 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
1665 (lshift_double, rshift_double, lrotate_double, rrotate_double):
1666 Likewise.
1667 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
1668 (expand_end_case): Use compare_tree_int.
1669 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
1670 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
1671 (layout_decl): Likewise.
1672 (layout_record, layout_union): Make sizes unsigned.
1673 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
1674 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
1675 * tree.c (struct type_hash): hashcode is unsigned.
1676 (build_type_attribute_variant, type_hash_list): Likewise.
1677 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
1678 (attribute_hash_list, build_array_type, build_method_type): Likewise.
1679 (build_complex_type): Likewise.
1680 (real_value_from_int_cst): Remove unneeded casts.
1681 (integer_all_onesp): Add casts.
1682 (tree_floor_log2, compare_tree_int): New functions.
1683 (build_index_type): Use tree_int_cst_sgn.
1684 * varasm.c (assemble_variable): Use compare_tree_int.
1685
1686 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
1687
1688 * cpphash.c (collect_expansion): Also catch ## at start of macro.
1689
1690 * varasm.c (make_decl_rtl): Don't add a number to members of
1691 local classes.
1692 (make_function_rtl): Likewise.
1693
1694 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1695
1696 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
1697 patch from 2000-01-28.
1698
1699 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
1700
1701 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
1702 filled with an insn from the jump target.
1703
1704 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1705
1706 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
1707 (c4x_external_ref): Likewise.
1708 * config/c4x/c4x.c (struct name_list): Likewise.
1709
1710 1999-12-16 Ben Collins <bcollins@debian.org>
1711
1712 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
1713 argument to genmultilib.
1714 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
1715 the contents into the multilib.h header.
1716 * gcc.c: Declare multilib_exclusions for the specs file.
1717 (set_multilib_dir): Use it.
1718 (print_multilib_info): Likewise.
1719 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
1720 to pass to genmultilib.
1721
1722 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1723
1724 * builtins.c (built_in_class_names, built_in_names): Constify a
1725 char*.
1726
1727 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
1728 int.
1729 (_mcleanup): Ensure value matches format specifier in sprintf.
1730
1731 * cpphash.c (special_symbol): Don't needlessly cast away
1732 const-ness.
1733
1734 * cppinit.c (base_name): Delete unused prototype.
1735
1736 * mkdeps.c (deps_init): Make definition K&R safe.
1737
1738 * tree.h (built_in_class_names, built_in_names): Constify a
1739 char*.
1740
1741 2000-03-06 Jakub Jelinek <jakub@redhat.com>
1742
1743 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
1744 floating point instructions for epilogue delay.
1745
1746 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
1747 to gas if it supports .register pseudo.
1748
1749 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
1750 LONG_DOUBLE_TYPE_SIZE if not defined.
1751 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
1752 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
1753 * real.c: Likewise.
1754 * gengenrtl.c: Likewise.
1755 * print-rtl.c: Likewise.
1756 * rtl.c: Likewise.
1757 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
1758 MASK_LONG_DOUBLE_128.
1759 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
1760 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
1761 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
1762 (SUBTARGET_SWITCHES): Define.
1763 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
1764 with -mlong-double-128.
1765 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
1766 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
1767 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
1768 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
1769 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
1770 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
1771 with -mlong-double-128.
1772 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
1773 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
1774 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
1775 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
1776 TARGET_LONG_DOUBLE_128): Define.
1777 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
1778 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
1779 long double on TARGET_ARCH64.
1780
1781 2000-03-06 Mark Mitchell <mark@codesourcery.com>
1782
1783 * function.c (free_temps_for_rtl_expr): Don't free slots
1784 that have been pushed into a higher level.
1785
1786 Revert this patch:
1787 2000-03-05 Mark Mitchell <mark@codesourcery.com>
1788
1789 2000-03-05 Mark Mitchell <mark@codesourcery.com>
1790
1791 * basic-block.h (ALLOCA_REG_SET): Remove.
1792 (INITIALIZE_REG_SET): New macro.
1793 * flow.c (update_life_info): Use it.
1794 (calculate_global_regs_live): Likewise.
1795 (propagate_block): Likewise.
1796 * global.c (build_insn_chain): Likewise.
1797 * haifa-sched.c (schedule_region): Likewise.
1798
1799 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
1800
1801 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
1802 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
1803 (DWARF_ARANGES_PAD_SIZE): New define.
1804 (output_aranges): Use it to pad the address range header.
1805 (DWARF_ROUND): Fix for non power of 2 rounding.
1806
1807 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
1808
1809 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
1810
1811 2000-03-05 Mark Mitchell <mark@codesourcery.com>
1812
1813 * tree.def (RTL_EXPR): Update documentation.
1814 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
1815 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
1816 * function.c (preserve_rtl_expr_temp): New function.
1817 (preserve_rtl_expr_temps): Likewise.
1818 (preserve_rtl_expr_result): Use it.
1819
1820 Revert this patch:
1821 2000-03-04 Mark Mitchell <mark@codesourcery.com>
1822
1823 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
1824
1825 * regmove.c (copy_src_to_dest) Do not create src->dest move
1826 for unchanging destination.
1827
1828 2000-03-04 Mark Mitchell <mark@codesourcery.com>
1829
1830 * function.h (struct sequence_stack): Remove rtl_expr.
1831 (struct emit_staus): Likewise.
1832 (seq_rtl_expr): Remove.
1833 * tree.h (free_temps_for_rtl_expr): Don't declare.
1834 (start_sequence_for_rtl_expr): Likewise.
1835 * rtl.h (preserve_rtl_expr_result): Likewise.
1836 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
1837 (start_sequence_for_rtl_expr): Remove.
1838 (push_topmost_sequence): Don't save sequence_rtl_expr.
1839 (pop_topmost_sequence): Remove comment about not restoring it.
1840 (end_sequence): Don't set seq_rtl_expr.
1841 (init_emit): Don't initialize it.
1842 (mark_sequence_stack): Don't mark it.
1843 (mark_emit_status): Likewise.
1844 * except.c (protect_with_terminate): Use
1845 start_sequence_for_rtl_expr, not start_sequence.
1846 * expr.c (expand_expr, case RTL_EXPR): Don't call
1847 preserve_rtl_expr_result or free_temps_for_rtl_expr.
1848 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
1849 (preserve_rtl_expr_result): Remove.
1850 (free_temps_for_rtl_expr): Likewise.
1851 (pop_temp_slots): Likewise.
1852 (mark_temp_slot): Don't mark the rtl_expr.
1853 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
1854 start_sequence_for_rtl_expr.
1855
1856 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
1857
1858 * mkdeps.c, mkdeps.h: New files.
1859 * po/POTFILES.in: Add them.
1860 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
1861 (cpplib.o, cppinit.o): Depend on mkdeps.h.
1862 (mkdeps.o): New target.
1863
1864 * cppfiles.c: Delete deps_output.
1865 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
1866 OBJECT_SUFFIX, and base_name.
1867 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
1868 the include hash.
1869 (initialize_dependency_output): Use deps_init,
1870 deps_add_target, deps_calc_target, and deps_add_dep. Remove
1871 all the unnecessary string bashing.
1872 (cpp_finish): Use deps_write. Remove an unnecessary nesting
1873 level.
1874 * cpplib.c (do_include): Use deps_add_dep.
1875 * cpplib.h (struct cpp_reader): Replace deps_buffer,
1876 deps_allocated_size, deps_size, deps_column members with
1877 single pointer to a struct deps. Delete prototype of
1878 deps_output.
1879
1880 * cppinit.c: Fix thinko in previous patch.
1881
1882 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1883
1884 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
1885 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
1886 (mode_for_size_tree): New function.
1887 (layout_decl, layout_type): Call it and clean up BLKmode checks.
1888 * tree.h (mode_for_size_tree): New declaration.
1889
1890 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
1891
1892 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
1893
1894 * stmt.c (is_body_block): Move...
1895 * dwarfout.c, dwarf2out.c: ...from here.
1896 * tree.h: Declare it.
1897 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
1898 * final.c (final_start_function): Do call remove_unnecessary_notes
1899 when scheduling.
1900
1901 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
1902
1903 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
1904
1905 * cpplib.h (_dollar_ok): New macro.
1906 (is_idchar, is_idstart): Use it.
1907 (IStable): Rename to _cpp_IStable. Declare it const if
1908 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
1909 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
1910 is_space): Update for renamed IStable.
1911
1912 * cppinit.c: Delete all references to FAKE_CONST and CAT
1913 macros. Define init_IStable as empty macro if gcc >=2.7 or
1914 C99. Change TABLE() to ISTABLE and hardcode name of table.
1915 (cpp_start_read): Don't change the IStable based on
1916 dollars_in_ident.
1917
1918 * cpphash.c (unsafe_chars): Add pfile argument. All callers
1919 changed. Handle '$' for char1 correctly.
1920 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
1921
1922 * cppexp.c (tokentab2): Make const.
1923 (cpp_lex): Make toktab const.
1924 * cppinit.c (include_defaults_array): Make const.
1925 (initialize_standard_includes): Make default_include const.
1926
1927 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
1928
1929 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
1930 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
1931 (gen_decl_die): Likewise.
1932 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
1933 (output_decl): Likewise.
1934
1935 * varasm.c (make_function_rtl): If we change the name used in the
1936 rtl, update DECL_ASSEMBLER_NAME accordingly.
1937 (make_decl_rtl): Likewise.
1938
1939 * toplev.c (rest_of_compilation): Tweak formatting.
1940
1941 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
1942 remove_unnecessary_notes.
1943 (debug_ignore_block): New fn.
1944 * toplev.h: Declare it.
1945 * emit-rtl.c (remove_unncessary_notes): Call it.
1946 * dwarf2out.c (dwarf2out_ignore_block): New fn.
1947 * dwarf2out.h: Declare it.
1948 * final.c (final_start_function): Don't call remove_unnecessary_notes
1949 if we did insn scheduling.
1950
1951 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
1952
1953 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
1954 * cpplib.h: Delete SET_CPP_PEDANTIC.
1955
1956 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1957
1958 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
1959 result is a RECORD_TYPE.
1960
1961 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
1962
1963 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
1964
1965 2000-03-03 Richard Henderson <rth@cygnus.com>
1966
1967 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
1968 addition over compliments over shifts.
1969
1970 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1971
1972 * reload1.c (reload_combine_note_use): Handle return register USEs.
1973 REG case: Handle multi-hard-register hard regs.
1974
1975 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1976
1977 * md.texi: Document use of '*' in insn pattern name.
1978
1979 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
1980
1981 * calls.c (special_function_p): operator new may not be malloc-like.
1982
1983 * gcse.c (dump_hash_table): Really fix error in last change.
1984
1985 2000-03-02 Denis Chertykov <denisc@overta.ru>
1986
1987 * avr.c (print_operand): Use print_operand_address instead of
1988 output_addr_const.
1989 * avr/libgcc.S: Cleanup code.
1990
1991 2000-03-02 Richard Henderson <rth@cygnus.com>
1992
1993 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
1994
1995 2000-03-02 Mark Mitchell <mark@codesourcery.com>
1996
1997 * tree.h (TYPE_ALIGN_UNIT): New macro.
1998
1999 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
2000
2001 * i386.c: (constant_call_address_operand): Reject CONST_INT.
2002
2003 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
2004
2005 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
2006 for the buffer.
2007 (SET_CPP_PEDANTIC): New macro.
2008 * cpplib.c (do_include): Don't bother checking system_header_p.
2009 (do_warning, do_ident, do_assert, do_unassert): Likewise.
2010 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
2011
2012 * function.h (struct expr_status): Add x_arg_space_so_far.
2013 (arg_space_so_far): New macro.
2014 * expr.c (init_expr): Initialize it.
2015 * calls.c (emit_call_1): Reset it.
2016 (compute_argument_block_size, expand_call): Use it.
2017 (expand_call, store_one_arg): Increment it.
2018
2019 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2020
2021 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
2022 a UNION_TYPE.
2023
2024 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
2025
2026 * cppfiles.c (cpp_read_file): New function.
2027
2028 * cpphash.c (collect_expansion): Make sure to reset last_token
2029 to NORM when we hit a string. Handle trailing whitespace
2030 properly when the expansion is empty.
2031 (create_definition): Disable line commands while parsing the
2032 directive line.
2033 (dump_definition): If pfile->lineno == 0, output a line
2034 command ahead of the dump, and add a trailing newline.
2035
2036 * cppinit.c (append_include_chain): Add fifth argument, which
2037 indicates whether or not system headers are C++ aware.
2038 (initialize_standard_includes): New function,
2039 broken out of read_and_prescan. Pass 'cxx_aware' value from
2040 the include_defaults_array on to append_include_chain.
2041 (dump_special_to_buffer): Const-ify char array.
2042 (builtin_array): Don't dump __BASE_FILE__.
2043 (cpp_start_read): Use cpp_read_file. Reorder code for
2044 clarity. Don't output line commands here for -D/-A/-U
2045 switches. Don't call deps_output for files included with
2046 -include or -imacros.
2047
2048 * cpplib.c (do_define): Don't pay any attention to the second
2049 argument.
2050 (cpp_expand_to_buffer): Disable line commands while scanning.
2051 (output_line_command): Work in the file buffer.
2052 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
2053 Fix formatting of comments. Prototype cpp_read_file.
2054
2055 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2056
2057 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
2058 reference the language-equivalent of sizetype.
2059 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
2060 * fold-const.c (size_binop, size_diffop): Put back checks.
2061 * gcse.c (dump_hash_table): Fix minor error in last change.
2062 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
2063 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
2064 all sizetypes.
2065
2066 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
2067
2068 * calls.c (expand_call) Do not attempt to combine stack adjustments
2069 with inhibit_defer_pop set.
2070
2071 2000-03-01 Mark Mitchell <mark@codesourcery.com>
2072
2073 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
2074 the DECL_SIZE for a FIELD_DECL.
2075
2076 2000-03-01 Bruce Korb <bkorb@gnu.org>
2077
2078 * fixinc/inclhack.tpl: remove unused symlinks
2079 * fixinc/README: GCC Maintainer info
2080 * fixinc/inclhack.sh: regen
2081 * fixinc/fixincl.sh: regen
2082
2083 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
2084
2085 * cpphash.c (collect_expansion): Trim trailing white space
2086 from macro definitions, but don't go past the last insertion
2087 point.
2088
2089 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
2090
2091 * i386.md (mulqi3): New pattern.
2092
2093 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
2094
2095 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
2096 token types.
2097 (struct cpp_reader): Add parsing_if_directive and
2098 parsing_define_directive flags.
2099 (struct cpp_options): Remove output_conditionals flag.
2100 (check_macro_name): Delete prototype.
2101
2102 * cpphash.h (struct macrodef): Delete.
2103 (struct reflist): Separate from struct definition.
2104 (struct definition): Remove unused fields. Add column number.
2105 (create_definition): Returns a DEFINITION *. Takes a
2106 cpp_reader * and an int.
2107
2108 * cpphash.c (SKIP_WHITE_SPACE): Delete.
2109 (PEEKC): Copy defn from cpplib.c.
2110 (rest_extension, REST_EXTENSION_LENGTH): Delete.
2111 (struct arg): New.
2112 (struct arglist): Simplify.
2113 (collect_expansion): Rewrite. Get tokens by calling
2114 cpp_get_token. Add more error checking.
2115 (collect_formal_parameters): New function, broken out of
2116 create_definition and reworked to use get_directive_token.
2117 (create_definition): All real work is now in collect_expansion
2118 and collect_formal_parameters. do_define handles finding the
2119 macro name. Return a DEFINITION, not a MACRODEF.
2120 (macroexpand): Replace bcopy with memcpy throughout. Replace
2121 character-at-a-time copy loop with memcpy and pointer increments.
2122 (compare-defs): d1->argnames / d2->argnames might be null.
2123
2124 * cpplib.c (copy_rest_of_line): Delete function.
2125 (skip_rest_of_line): Do all the work ourselves.
2126 (skip_string): New function.
2127 (parse_string): Use skip_string.
2128 (get_macro_name): New function.
2129 (check_macro_name): Delete.
2130 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
2131 (cpp_skip_hspace): Use CPP_BUMP_LINE.
2132 (handle_directive): ICE if we're called on a macro buffer.
2133 (do_define): Determine macro name and type (funlike/objlike)
2134 here. Expunge all uses of MACRODEF.
2135 (cpp_push_buffer): Set line_base to NULL.
2136 (do_undef, read_line_number): Don't worry about getting a POP token.
2137 (eval_if_expression): Set/reset parsing_if_directive around
2138 cpp_parse_expr. Don't clear only_seen_white.
2139 (skip_if_group): Remove output_conditionals logic. Use
2140 skip_rest_of_line.
2141 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
2142 tokens under appropriate conditions.
2143 (cpp_unassert): Call do_unassert not do_assert. Oops.
2144
2145 * cppexp.c (parse_defined): New function, break out of
2146 cpp_lex.
2147 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
2148 ourselves, with cpp_defined.
2149 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
2150
2151 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
2152 * gcc.dg/strpaste-2.c: New.
2153
2154 2000-02-29 Mark Mitchell <mark@codesourcery.com>
2155
2156 * fold-const.c (size_binop): Don't asert inputs are the same and
2157 have TYPE_IS_SIZETYPE set.
2158 (size_diffop): Likewise.
2159
2160 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
2161
2162 * dwarfout.c (output_block): Output abstract blocks even if they
2163 don't have TREE_ASM_WRITTEN set.
2164
2165 * calls.c (emit_library_call): Check for null REG.
2166
2167 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
2168
2169 * c-decl.c (current_function_decl): Move to toplev.c.
2170 (init_decl_processing): Don't add current_function_decl as a ggc
2171 root here.
2172 * dbxout.c (dbxout_symbol): Change return type to int.
2173 (dbxout_symbol_location, dbxout_syms): Likewise.
2174 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
2175 any locals. Use current_function_func_begin_label if set.
2176 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
2177 * dwarf2out.c (dwarf2out_begin_prologue): Set
2178 current_function_func_begin_label.
2179 * final.c (final_start_function): Reset it.
2180 * toplev.c (current_function_decl): Define it here.
2181 (current_function_func_begin_label): New variable.
2182 (main): Add both as ggc roots.
2183 * tree.h (current_function_func_begin_label): Declare.
2184
2185 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2186
2187 * gcse.c: Cleanups throughout: mostly white-space, but also
2188 some minor rearrangement of code.
2189
2190 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
2191
2192 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
2193 returns a PARALLEL. Use emit_group_load and use_group_regs
2194 as needed.
2195 (emit_library_call_value): Similarly.
2196
2197 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
2198 * pa/quadlib.asm: Remove.
2199 * pa/quadlib.c: New file.
2200
2201 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
2202 * configure: Rebuilt.
2203
2204 2000-02-29 Philip Blundell <pb@futuretv.com>
2205
2206 * config/arm/conix-elf.h: New file.
2207 * configure.in (arm*-*-conix*): New configuration.
2208 * configure: Regenerate.
2209
2210 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
2211
2212 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
2213 don't have TREE_ASM_WRITTEN set.
2214
2215 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2216
2217 * Eliminate DECL_FIELD_SIZE.
2218 * builtins.c (built_in_class_names, built_in_names): New variables.
2219 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
2220 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
2221 DECL_SIZE, not DECL_FIELD_SIZE.
2222 * print-tree.c (print_node): Remove code that prints extra blank
2223 lines in some cases.
2224 Properly handle inline and builtin function cases.
2225 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
2226 * tree.h (built_in_class_named, built_in_names): New declarations.
2227 (union tree_decl): Rename internal unions to u1 and u2 and change
2228 some of their components.
2229 Add new field built_in_class.
2230 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
2231 Reflect above changes.
2232 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
2233 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
2234 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
2235 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
2236
2237 2000-02-28 Dmitri Makarov <dim@windriver.com>
2238
2239 * extend.texi: Document ARM's support for long/short calls.
2240
2241 * invoke.texi: Document ARM's -mlong-calls command line switch.
2242
2243 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
2244 (arm_encode_call_attribute): Add prototype.
2245 (arm_set_default_type_attribute): Add prototype.
2246 (arm_strip_name_encoding): Add prototype.
2247
2248 * config/arm/arm.c (arm_init_cumulative_args): replace
2249 initialisation og 'long_calls' field with initialisation of
2250 'call_cookie' field.
2251 (enum arm_pragma_enum): New enum.
2252 (arm_pragma_long_calls): New static variable.
2253 (arm_process_pragma): Also process "#pragma long_calls_off".
2254 (arm_valid_type_attribute_p): Accept short_call attribute.
2255 (arm_comp_type_attributes): Check long/short call attributes.
2256 (arm_encode_call_attribute): New function: Encode long_call
2257 or short_call attribute in function name.
2258 (arm_set_default_type_attributes): New function: Assign
2259 default attributes to newly defined type.
2260 (current_file_function_operand): New function: Return true if
2261 the symbol is a function which has already been compiled.
2262 (arm_is_longcall_p): New function: Return true if the
2263 indicated function should be called via a long call.
2264 (arm_get_strip_length): New function. Returns number of
2265 prefix characters to be stripped from a function's name.
2266 (arm_strip_name_encoding): New function. Strip prefix characters
2267 from a function's name.
2268
2269 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
2270 with 'call_cookie'.
2271 (SHORT_CALL_FAG_CHAR): Define.
2272 (LONG_CALL_FAG_CHAR): Define.
2273 (ENCODED_SHORT_CALL_ATTR_P): Define.
2274 (ENCODED_LONG_CALL_ATTR_P): Define.
2275 (ARM_NAME_ENCODING_LENGTHS): Define.
2276 (STRIP_NAME_ENCODING): Define.
2277 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
2278 (ARM_ENCODE_CALL_TYPE): Define.
2279 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
2280 (ARM_DECLARE_FUNCTION_SIZE): Define.
2281 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
2282
2283 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
2284 if a long call is needed.
2285 (call_value): Ditto.
2286 (call_symbol): Ditto.
2287
2288 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
2289 ARM_DECLARE_FUNCTION_SIZE.
2290
2291 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
2292 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
2293 (ARM_STRIP_NAME_ENCODING): Undefine.
2294 (STRIP_NAME_ENCODING): Undefine.
2295 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
2296 (ASM_DECLARE_FUNCTION_NAME): Ditto.
2297 (ASM_OUTPUT_COMMON): Ditto.
2298 (ASM_DECLARE_OBJECT_NAME): Ditto.
2299
2300 * config/arm/pe.c (arm_dllexport_name_p): Check for
2301 ARM_PE_FLAG_CHAR.
2302 (arm_dllimport_name_p): Ditto.
2303 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
2304 (arm_mark_dllimport): Ditto.
2305
2306 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2307
2308 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
2309
2310 2000-02-28 Mark Mitchell <mark@codesourcery.com>
2311
2312 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
2313
2314 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
2315
2316 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
2317 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
2318 NO_BUILTIN_WCHAR_TYPE is not defined.
2319 (CPP_WCHAR_TYPE): Delete.
2320 * cccp.c (main): Don't change wchar_type if cplusplus.
2321 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
2322
2323 2000-02-28 Nick Clifton <nickc@cygnus.com>
2324
2325 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
2326
2327 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
2328
2329 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
2330 (ASM_WEAKEN_LABEL): Define.
2331
2332 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
2333
2334 * expr.c (store_constructor): Do not emit USE.
2335 * rtl.h (stupid_life_analysis): Remove.
2336
2337 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2338
2339 * function.c (number_blocks): Reset next_block_index based on
2340 what debugging format is used, not what is defined.
2341
2342 * lcm.c: Minor reformatting throughout.
2343 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
2344
2345 * toplev.c (rest_of_compilation): Account for time in
2346 optimize_mode_switching.
2347
2348 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
2349 if only marking labels.
2350
2351 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
2352
2353 * calls.c (expand_call): Attempt to combine stack adjustments with
2354 pending stack adjustments.
2355
2356 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2357
2358 * loop.c (reg_in_basic_block_p): Don't abort when falling through
2359 to the end of the function.
2360
2361 2000-02-27 Mark Mitchell <mark@codesourcery.com>
2362
2363 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
2364 blocks.
2365 * final.c (next_block_index): Remove.
2366 (max_block_depth): Likewise.
2367 (pending_blocks): Likewise.
2368 (init_final): Don't initialize them.
2369 (final_start_function): Don't set next_block_index. Set up
2370 BLOCK_NUMBER.
2371 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
2372 * function.h (number_blocks): New function.
2373 * function.c (get_block_vector): New function.
2374 (identify_blocks): Use it.
2375 (reorder_blocks): Set NOTE_BLOCK.
2376 (number_blocks): New function.
2377 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
2378 * tree.h (BLOCK_NUMBER): New macro.
2379 (tree_block): Add block_num field.
2380 * dbxout.c (next_block_number): Remove.
2381 (dbxout_init): Don't set it.
2382 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
2383 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
2384 block numbers.
2385 * toplev.c (rest_of_compilation): Always call
2386 find_loop_tree_blocks. Fix indentation.
2387 * dwarf2out.c (next_block_number): Remove.
2388 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
2389 to determine block numbers.
2390 (gen_inlined_subroutine_die): Likewise.
2391 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
2392 (decls_for_scope): Don't increment next_block_number.
2393 * dwarfout.c (next_block_number): Remove.
2394 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
2395 to determine block numbers.
2396 (output_inlined_subroutine_die): Likewise.
2397 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
2398 (output_decls_for_scope): Don't increment next_block_number.
2399 * sdbout.c (next_block_number): Remove.
2400 (sdbout_block): Use BLOCK_NUMBER.
2401 (sdbout_begin_block): Simplify.
2402 * xcoffout.c (next_block_number): Remove.
2403 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
2404 (xcoffout_begin_block): Don't set next_block_number.
2405 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
2406 next_block_number.
2407
2408 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2409
2410 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
2411 (expand_builtin_strcpy): Pass correct type to size_binop.
2412 (expand_builtin_strcmp): Likewise.
2413 Clean up conditional structure.
2414 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
2415 (complete_array_type): Don't use size_binop for MAXINDEX.
2416 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
2417 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
2418 (c_alignof): Use size_one_node.
2419 (build_unary_op): Pass arg of proper type to size_binop.
2420 (really_start_incremental_init, push_init_level): Use sizetype for
2421 constructor{,_bit,_unfilled}_index.
2422 (pop_init_label, output_init_element): Likewise.
2423 (output_pending_init_elements, process_init_element): Likewise.
2424 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
2425 * expr.c (store_expr): Use size_int.
2426 (store_constructor): Use proper types for size_binop args.
2427 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
2428 (expand_expr_unaligned): Likewise.
2429 (string_contant): Return object of sizetype.
2430 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
2431 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
2432 (ARGS_SIZE_TREE): Pass proper types to size_binop.
2433 * fold-const.c (int_const_binop): Refine when size_int is called.
2434 (fold_convert): Likewise.
2435 (size_int_wide): Rework to take KIND as arg, only take low order
2436 bits, handle new sizetype_tab datatype, and chain entries in
2437 size_table.
2438 (size_int_type_wide): New function.
2439 (size_binop): Validate types of arguments.
2440 (ssize_binop): Deleted.
2441 (size_diffop): New function.
2442 (extract_muldiv): Only fold division into multiplication for sizetypes.
2443 * function.c (assign_parms): Use size_diffop and make sure
2444 VAR field is of ssizetype; also pass proper type to size_binop.
2445 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
2446 (round_down): Deleted from here.
2447 * store-layout.c (sizetype_tab): Now an array.
2448 (sizetype_set, early_root_list): New variables.
2449 (variable_size): Use size_one_node.
2450 (round_up): Pass proper type to size_binop.
2451 (round_down): Moved to here and corrected as above.
2452 (layout_record): Pass proper arg types to size_binop.
2453 (layout_type): Likewise.
2454 If sizetype_set is zero, record the type just laid out.
2455 (make_unsigned_type): Don't call set_sizetype;
2456 (make_signed_type): Likewise; also, call fixup_signed_type.
2457 (initialize_sizetypes): New function.
2458 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
2459 set name of bitsizetype to "bit_size_type".
2460 Fix up type of sizes of all types made before call.
2461 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
2462 * tree.c (fix_sizetype): Deleted.
2463 (build_common_tree_nodes): Call initialize_sizetypes.
2464 (build_common_tree_nodes_2): Don't call fix_sizetype.
2465 * tree.h (TYPE_IS_SIZETYPE): New macro.
2466 (initialize_sizetype): New declaration.
2467 (enum size_type_kind): New type.
2468 (struct sizetype_tab): Deleted.
2469 (sizetype_tab): Now array; adjust sizetype macros.
2470 (size_diffop, size_int_type_wide): New functions.
2471 (size_int_wide): Change number of args and type; access macros changed.
2472 (ssize_int, sbitsize_int): New macros.
2473 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
2474 (ROUND_TYPE_SIZE_UNIT): New macro.
2475
2476 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
2477
2478 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
2479
2480 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2481
2482 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
2483 Mark as possibly unused.
2484
2485 * cse.c (cse_insn): Delete dead code involving tablejump.
2486 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
2487
2488 * Makefile.in (libcpp.a): Start by deleting it.
2489
2490 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2491
2492 * cpplib.h (enum file_change_code): Added rename_file.
2493 * cpplib.c (do_line): If a filename is given, set file_change to
2494 rename_file.
2495 (output_line_command): If file_change is rename_file, always
2496 output a # directive with the file name.
2497
2498 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
2499
2500 2000-02-26 Mark Mitchell <mark@codesourcery.com>
2501
2502 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
2503 when copying a PARM_DECL or RESULT_DECL.
2504
2505 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2506
2507 * fix-header.c (recognized_function): Also fix prototypes for
2508 functions taking "void".
2509
2510 2000-02-26 Geoff Keating <geoffk@cygnus.com>
2511
2512 * reload1.c (do_output_reload): Check reg_reloaded_valid before
2513 looking at reg_reloaded_contents.
2514
2515 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
2516
2517 * Makefile.in (STMP_FIXINC): New toggle.
2518 (LIBGCC2_DEPS): Delete all references.
2519 (stmp-headers): Delete target. All references either deleted
2520 or changed to stmp-int-headers.
2521 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
2522 (LIBCPP_OBJS): Take out cppalloc.o.
2523 (cppalloc.o): Delete target.
2524 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
2525 (gen-protos, fix-header): Link with libiberty.a.
2526 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
2527 to empty.
2528
2529 * configure.in: Remove refs to strerror.
2530 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
2531 * system.h: Take out strerror stanza.
2532
2533 * cpperror.c (my_strerror): Delete function.
2534 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
2535 * cppmain.c (main): Call xmalloc_set_program_name first thing.
2536 * cppalloc.c: Delete file.
2537 * gen-protos.c: Don't provide xrealloc.
2538
2539 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
2540 xstrerror throughout.
2541
2542 2000-02-26 Bruce Korb <bkorb@gnu.org>
2543
2544 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
2545 match for DOS headers, too.
2546 * fixinc/inclhack.sh,fixincl.x: Regenerate.
2547
2548 2000-02-26 Geoff Keating <geoffk@cygnus.com>
2549
2550 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
2551 is right for most ELF targets.
2552 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
2553 Let the default file use %U properly.
2554 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
2555 default.
2556
2557 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
2558 numbers.
2559
2560 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2561
2562 * toplev.c (documented_lang_options): Correct spelling error.
2563 (decode_d_option, decode_f_option, main): Likewise.
2564
2565 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
2566
2567 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
2568 to tell assembler it is permitted to expand large constants.
2569
2570 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
2571
2572 * protoize.c: (AUX_INFO_SUFFIX): New macro.
2573 (aux_info_suffix): Use.
2574 (SAVE_SUFFIX): New macro.
2575 (save_suffix): Use.
2576 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
2577 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
2578 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
2579
2580 * invoke.texi (Running Protoize): Update documentation.
2581
2582 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
2583
2584 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
2585
2586 2000-02-25 John Wehle (john@feith.com)
2587
2588 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
2589
2590 2000-02-25 Anthony Green <green@cygnus.com>
2591
2592 * toplev.c (rest_of_compilation): Rebuild jump labels if
2593 combine_instructions has created a new direct jump.
2594 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
2595 when appropriate.
2596 (combine_instructions): Call try_combine with new argument.
2597 Return non-null value when new direct jump instruction is created.
2598 * rtl.h: combine_instructions returns an int.
2599
2600 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
2601
2602 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
2603 jump when changing a computed jump into a jump to a known
2604 target.
2605
2606 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
2607
2608 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
2609 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
2610
2611 * i386.md (define_expand "clrstrsi"): Fix typo.
2612
2613 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
2614
2615 * rtl.texi: Fix typo.
2616
2617 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2618
2619 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
2620 UNITS_PER_WORD. Change caller initial_elimination_offset.
2621 (rounded_frame_size): Take into account that argument pushed has
2622 changed. Fix TARGET_ALIGN_DOUBLE problem.
2623
2624 2000-02-25 Geoff Keating <geoffk@cygnus.com>
2625
2626 * haifa-sched.c (schedule_block): Explain the real reason
2627 we delete REG_SAVE_NOTEs on the first insn of a block.
2628 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
2629
2630 2000-02-24 Mark Mitchell <mark@codesourcery.com>
2631
2632 * input.h (push_srcloc): New function.
2633 (pop_srcloc): Likewise.
2634 * toplev.c (push_srcloc): Define it.
2635 (pop_srcloc): Likewise.
2636
2637 2000-02-24 Richard Henderson <rth@cygnus.com>
2638
2639 * flow.c (life_analysis): When collecting reg info, clear
2640 regs_ever_live.
2641
2642 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2643
2644 Fix bug exposed by reload.c no longer rounding the frame
2645 size to BIGGEST_ALIGNMENT:
2646 * sh.c (rounded_frame_size): New function.
2647 (sh_expand_prologue, sh_expand_epilogue): Use it.
2648 (initial_elimination_offset): Likewise.
2649
2650 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2651
2652 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
2653 * sh-protos.h (sh_need_epilogue): Declare.
2654 * sh.c (sh_need_epilogue_known): New static variable.
2655 (sh_need_epilogue): New function.
2656 (function_epilogue): Clear need_epilogue_known.
2657 * sh.md (return): Split into expander / insn pattern.
2658 Make the expander conditional on ! sh_need_epilogue ().
2659
2660 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
2661
2662 * machmode.h (get_mode_alignment): Declare.
2663 (GET_MODE_ALIGNMENT): Call it.
2664 * stor-layout.c (get_mode_alignment): New function. Make
2665 sure alignment is always power of 2.
2666
2667 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
2668
2669 * i386.h: Remove useless definition of "I386" and misleading
2670 comment above it.
2671
2672 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
2673
2674 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
2675 under which TREE_PERMANENT will be set.
2676 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
2677 build1): Use TREE_SET_PERMANENT.
2678 * print-tree.c (print_node): Don't report value of
2679 TREE_PERMANENT if ggc_p is true.
2680
2681 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
2682 decide whether to give a type a new alias set.
2683 * objc/objc-act.c (build_objc_string_object): Never copy the string.
2684 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
2685 of value of 'obstack'.
2686
2687
2688 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2689
2690 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
2691
2692 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2693
2694 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
2695 * cpplib.c (cpp_get_token): Produce them.
2696 * cppexp.c (cpp_lex): Handle them.
2697
2698 2000-02-23 Nick Clifton <nickc@cygnus.com>
2699
2700 * config/arm/arm.c (arm_comp_type_attributes): Simply and
2701 comment tests on type attributes.
2702
2703 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2704
2705 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
2706 conform to documentation.
2707 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
2708 to check for special cases.
2709 * sh-protos.h (sh_loop_align): Declare.
2710 * sh.c (sh_loop_align): Define.
2711
2712 2000-02-22 Andrew Haley <aph@cygnus.com>
2713
2714 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
2715 (SIZE_TYPE): Is 32 bits when using -mgp32.
2716 (PTRDIFF_TYPE): Ditto.
2717
2718 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2719
2720 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
2721
2722 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
2723
2724 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
2725 BIGGEST_FIELD_ALIGNMENT a constant.
2726
2727 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
2728
2729 * dwarf2out.c (output_line_info): Put the marker for the end of
2730 the line number info at the actual end.
2731 (gen_struct_or_union_type_die): Use decl_function_context
2732 to check for local classes.
2733 * dwarfout.c (output_type): Likewise.
2734
2735 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
2736
2737 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
2738 for arguments with a mode, but no type.
2739 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
2740 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
2741 * pa/long_double.h: New file.
2742 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
2743 both have 128bit wide long doubles.
2744 * configure: Rebuilt.
2745
2746 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2747
2748 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
2749
2750 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
2751 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
2752 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
2753
2754 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
2755
2756 * integrate.c (compare_blocks, find_block): Likewise.
2757
2758 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
2759
2760 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
2761
2762 * stmt.c (stmt_status, set_file_and_line_for_stmt,
2763 expand_asm_operands): Likewise.
2764
2765 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
2766
2767 * predict.c (estimate_probability): Added the pointer heuristic to
2768 the collection of static branch predictors.
2769
2770 2000-02-21 Catherine Moore <clm@cygnus.com>
2771
2772 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
2773 * invoke.texi (-mfix7000): Document.
2774
2775 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
2776
2777 * diagnostic.c (init_output_buffer): Make it possible to output at
2778 least 32 characters if we're given a too long prefix.
2779
2780 2000-02-20 Mark Mitchell <mark@codesourcery.com>
2781
2782 * varasm.c (initializer_constant_valid_p): Call
2783 lang_expand_constant to simplify the constant.
2784
2785 2000-02-20 Bruce Korb <bkorb@gnu.org>
2786
2787 * fixinc/inclhack.def(stdio_va_list):
2788 typedef needs to be disabled.
2789 * fixinc/inclhack.sh: regen
2790 * fixinc/fixincl.x: regen
2791
2792 2000-02-20 Geoff Keating <geoffk@cygnus.com>
2793
2794 * print-rtl.c (print_rtx): Don't print addresses when
2795 flag_dump_unnumbered.
2796
2797 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2798
2799 * sparc.c (sparc_output_scratch_registers): Mark parameter with
2800 ATTRIBUTE_UNUSED.
2801 (sparc_va_arg, sparc_flat_output_function_prologue,
2802 sparc_flat_output_function_epilogue): Cast value to unsigned in
2803 comparison.
2804 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
2805
2806 * sparc.md: Add default case in switch.
2807
2808 2000-02-19 Richard Henderson <rth@cygnus.com>
2809
2810 * c-typeck.c (add_pending_init): Don't abort for multiple
2811 fields at the same offset.
2812 (pending_init_member): Test the correct member.
2813
2814 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2815
2816 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
2817 instead of SImode.
2818 (start_catch_handler) : Same.
2819
2820 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
2821
2822 * Makefile.in: Have flow.o depend on $(EXPR_H)
2823
2824 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2825
2826 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
2827 * c-decl.c (duplicate_decls, finish_enum): Likewise.
2828 (finish_decl): Remove -Wlarger-than code from here.
2829 * flags.h (id_clash_len): Now int.
2830 (larger_than_size): Now HOST_WIDE_INT.
2831 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
2832 Clean up checking to see if in table.
2833 (make_bit_field_ref): Remove extra parm to bitsize_int.
2834 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
2835 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
2836 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
2837 and for computing size of decl.
2838 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
2839 Move -Wlarger-than code to here.
2840 (layout_record): Remove extra arg to bitsize_int.
2841 Set TYPE_BINFO_SIZE_UNIT.
2842 (layout_union): Remove extra arg to bitsize_int.
2843 Use proper type for size of QUAL_UNION.
2844 (layout_type): Remove extra arg to bitsize_int.
2845 * toplev.c (id_clash_len): Now int.
2846 (larger_than_size): Now HOST_WIDE_INT.
2847 (decode_W_option): Clean up id-clash and larger-than- cases.
2848 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
2849 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
2850 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
2851 (struct tree_decl): New field size_unit.
2852 (size_int_wide): No HIGH operand; NUMBER is now signed.
2853 (size_int_2): Deleted.
2854 (size_int, bitsize_int): Don't use it and rework args.
2855 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
2856
2857 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
2858
2859 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
2860
2861 2000-02-18 Geoff Keating <geoffk@cygnus.com>
2862
2863 * invoke.texi (Warning Options): Add an explanation of why
2864 you might want the -Wfloat-equal flag.
2865
2866 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2867
2868 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
2869 * cppinit.c (new_pending_define): Add cast to avoid warning.
2870 * expmed.c (extract_bit_field): Likewise.
2871 * flow.c (enum reorder_skip_type): New type.
2872 (skip_insns_between_blcok): New it.
2873 Rework to avoid warning about possibly undefined variable.
2874 * function.c (assign_parms): Make thisparm_boundary unsigned.
2875 * genrecog.c (write_switch): Cast XWINT result to int.
2876 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
2877 * mips-tfile.c (init_file): Make two versions of FDR intializer:
2878 one for MIPS and one for Alpha.
2879 (get_tag, copy_object): Add casts to avoid warnings.
2880 * optabs.c (init_one_libfunc): Cast NAME to (char *).
2881 * reload.c (find_reloads): Make TYPE enum reload_type.
2882 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
2883 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
2884 * varasm.c (compare_constant_1): Add cast to avoid warning.
2885 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
2886 to (char *).
2887 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
2888 Cast switch operand of size to int.
2889 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
2890 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
2891 in unhandled case.
2892
2893 2000-02-18 Nick Clifton <nickc@cygnus.com>
2894
2895 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
2896 anything for an alignment of zero.
2897
2898 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
2899 anything for an alignment of zero.
2900
2901 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
2902
2903 * gcc.texi (Bug Reporting): Refer to bugs.html.
2904 (Bug Lists): Likewise.
2905 * system.h (GCCBUGURL): New preprocessor define.
2906 * rtl.c (fancy_abort): Use it.
2907 * gcc.c (main): Likewise.
2908
2909 2000-02-18 Richard Henderson <rth@cygnus.com>
2910
2911 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
2912 (life_analysis_1): Subsume into ...
2913 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
2914 Use update_life_info for the relaxation.
2915 (update_life_info): Update REG_BASIC_BLOCK for registers live on
2916 entry and regs_live_at_setjmp.
2917 (set_noop_p): Simplify.
2918 (notice_stack_pointer_modification_1): Renamed from s/_1//.
2919 (record_volatile_insns): Split into ...
2920 (delete_noop_moves): ... here,
2921 (notice_stack_pointer_modification): ... here,
2922 (insn_dead_p): ... and here.
2923 (propagate_block): Don't query INSN_VOLATILE.
2924 (mark_used_regs): Mind !PROP_REG_INFO.
2925 * toplev.c (rest_of_compilation): Call mark_constant_function here,
2926 not in life_analysis.
2927
2928 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
2929
2930 * loop.c (canonicalize_condition): New function,
2931 broken out of get_condition.
2932 (get_condition): Use it.
2933 * expr.h (canonicalize_condition): Prototype it.
2934
2935 * tree.h (tree_int_cst_msb): Declare.
2936 * tree.c (tree_int_cst_msb): New function.
2937
2938 2000-02-17 Mark Mitchell <mark@codesourcery.com>
2939
2940 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
2941 isn't set.
2942
2943 * invoke.texi (-fmessage-length=n): Document.
2944
2945 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
2946
2947 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
2948
2949 2000-02-17 Mark Mitchell <mark@codesourcery.com>
2950
2951 * function.c (thread_prologue_and_epilogue_insns): Put a line note
2952 after the prologue.
2953
2954 2000-02-17 Nick Clifton <nickc@cygnus.com>
2955
2956 * config/arm/thumb.c: Replace includes of system headers with
2957 #include "system.h".
2958
2959 2000-02-16 Richard Henderson <rth@cygnus.com>
2960
2961 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
2962 Add crtbeginS.o and crtendS.o.
2963 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
2964 (ENDFILE_SPEC): Use crtendS.o.
2965 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
2966
2967 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
2968 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
2969 shared and present.
2970 (__dso_handle): New variable.
2971 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
2972 bias to __CTOR_END__.
2973
2974 2000-02-16 Richard Henderson <rth@cygnus.com>
2975
2976 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
2977
2978 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
2979
2980 * longlong.h (__clz_tab): Declare as static to match definition.
2981
2982 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
2983 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
2984 (XREF_FILE_NAME): Define.
2985
2986 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
2987 (EH_FRAME_SECTION_ASM_OP): Define.
2988 (IDENT_ASM_OP): Define.
2989 (TEXT_SECTION_ASM_OP): Define.
2990 (CPP_SPEC): Define.
2991 (CTORS_SECTION_ASM_OP): Define.
2992 (CTOR_SECTION_FUNCTION): Use it.
2993 (DTORS_SECTION_ASM_OP): Define.
2994 (DTOR_SECTION_FUNCTION): Use it.
2995
2996 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
2997
2998 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
2999 NOTE_BASIC_BLOCK.
3000
3001 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
3002 debug_bb_n): New functions.
3003 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
3004 * basic-block.h: Prototype new functions.
3005
3006 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
3007
3008 * configure.in: Add support for avr target.
3009 * configure: Rebuilt.
3010
3011 * invoke.texi: Add AVR invocation docs.
3012 * install.texi: Add information about AVR.
3013 * md.texi: Add AVR constraint letters description.
3014 * extend.texi: Add description for AVR specific attributes.
3015
3016 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
3017
3018 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
3019
3020 2000-02-16 Nick Clifton <nickc@cygnus.com>
3021
3022 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
3023 (make_insn_raw): Move RTL check here.
3024
3025 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3026
3027 * version.c: Include gansidecl.h and version.h.
3028
3029 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
3030
3031 * configure.in (gcc_version): When setting, narrow search to
3032 lines containing `version_string'.
3033
3034 * Makefile.in (mainversion): Likewise.
3035 (GCC_H): New variable.
3036 (gcc.h): Delete target.
3037 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
3038 (version.o): Depend on version.h.
3039 (dbxout.o): Don't depend on gcc.h.
3040
3041 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
3042 Michael Meissner <meissner@cygnus.com>
3043
3044 * md.texi (Simple Constraints): Add item about whitespace.
3045 * genoutput.c (strip_whitespace): New.
3046 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
3047 strip_whitespace for constraints.
3048 Test pointer using NULL, not 0.
3049
3050 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3051
3052 * cpplib.c (do_line): Pedwarn for #line > 32767.
3053
3054 * c-lex.c (readescape): Warn about '\x', but do not reject it.
3055
3056 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
3057
3058 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
3059 to default cpp spec.
3060 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
3061 * cpp.texi: Document __GNUC_PATCHLEVEL__.
3062 * cpp.1: Likewise.
3063
3064 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
3065 default spec.
3066
3067 2000-02-15 Denis Chertykov <denisc@overta.ru>
3068
3069 * configure.in: Add support for avr target.
3070
3071 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3072
3073 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
3074 (sh_addr_diff_vec_mode): Don't declare.
3075 * sh.c (sh_addr_diff_vec_mode): Delete.
3076
3077 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3078
3079 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
3080
3081 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3082
3083 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
3084 (smulsi3_highpart_i): Name.
3085 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
3086 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
3087 (smulsi3_highpart, umulsi3_highpart): Likewise.
3088
3089 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
3090 correctly independent of endianness.
3091 (mulsidi3, umulsidi3): Now define_insn. Hide details that
3092 confuse the optimizers.
3093 (mulsidi3+1, umulsidi3+1): New define_split.
3094
3095 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
3096
3097 * config/sh/sh.md: Guard insn splits against illegal registers.
3098 * config/sh/sh.h: Correct comment about macros.
3099
3100 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3101 Andrew MacLeod <amacleod@cygnus.com>
3102
3103 * Makefile.in (lcm.o): Depend on insn-attr.h.
3104 * basic-block.h (optimize_mode_switching): Declare.
3105 * lcm.c (tm_p.h, insn-attr.h): #include.
3106 (seginfo, bb_info): New structs.
3107 (antic, transp, comp, delete, insert) : New file-scope static variables.
3108 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
3109 (reg_becomes_live, optimize_mode_switching): Likewise.
3110 * tm.texi: Add description of mode switching macros.
3111 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
3112
3113 * sh-protos.h (remove_dead_before_cse): Remove prototype.
3114 (fldi_ok, fpscr_set_from_mem): New prototypes.
3115 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
3116 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
3117 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
3118 (sh_flag_remove_dead_before_cse): Remove declaration.
3119 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
3120 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
3121 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
3122 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
3123 (barrier_align): Allow for JUMP_INSNS containing a parallel.
3124 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
3125 (fldi_ok): New function.
3126 (get_fpscr_rtx): Add fpscr_rtx as GC root.
3127 (emit_sf_insn): Only generate fpu switches when optimize < 1.
3128 (emit_df_insn): Likewise.
3129 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
3130 (sh_flag_remove_dead_before_cse): Delete.
3131 (get_free_reg, fpscr_set_from_mem): New functions.
3132 * sh.md (movdf, movsf): Remove no_new_pseudos code.
3133 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
3134
3135 2000-02-15 Loren Rittle <ljrittle@acm.org>
3136
3137 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
3138
3139 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3140
3141 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
3142 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
3143
3144 * cccp.c: Include version.h and/or don't declare `version_string'.
3145 * collect2.c: Likewise.
3146 * alpha.c: Likewise.
3147 * arm/aof.h: Likewise.
3148 * arm/coff.h: Likewise.
3149 * arm/elf.h: Likewise.
3150 * arm/pe.h: Likewise.
3151 * arm/tcoff.h: Likewise.
3152 * arm/telf.h: Likewise.
3153 * arm/tpe.h: Likewise.
3154 * arm/vxarm.h: Likewise.
3155 * convex/convex.c: Likewise.
3156 * i386/dgux.c: Likewise.
3157 * i386/sun386.h: Likewise.
3158 * m88k/m88k.c: Likewise.
3159 * mcore/mcore-pe.h: Likewise.
3160 * mips/mips.h: Likewise.
3161 * romp/romp.h: Likewise.
3162 * sh/sh.c: Likewise.
3163 * cpphash.c: Likewise.
3164 * cppinit.c: Likewise.
3165 * dwarf2out.c: Likewise.
3166 * dwarfout.c: Likewise.
3167 * gcc.c: Likewise.
3168 * gcc.h: Likewise.
3169 * mips-tfile.c: Likewise.
3170 * protoize.c: Likewise.
3171 * toplev.c: Likewise.
3172 * tree.h: Likewise.
3173
3174 * version.c (version_string): Constify a char*.
3175
3176 * version.h: New file.
3177
3178 2000-02-14 Nick Clifton <nickc@cygnus.com>
3179
3180 * configure.in: Add mcore-elf and mcore-pe targets.
3181 * configure: Regenerate.
3182
3183 * NEWS: Add note that MCore port has been contributed.
3184
3185 * invoke.texi: Document command line switches for MCore port.
3186 * install.texi: Add MCore to list of supported targets.
3187
3188 2000-02-14 Geoff Keating <geoffk@cygnus.com>
3189
3190 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
3191 then we will need to import the frame handling functions.
3192 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
3193 to import the frames themselves.
3194
3195 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
3196 Jason Eckhardt <jle@cygnus.com>
3197
3198 * basic_block.h: Added prototype for reorder_basic_blocks.
3199 * toplev.c: Changes to add -freorder-blocks and graph dump after
3200 block reordering is done.
3201 * flow.c (reorder_block_def): New structure for use during block
3202 reordering.
3203 (REORDER_BLOCK_*): New macros to access members of above structure.
3204 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
3205 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
3206 functions for block reordering.
3207
3208 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
3209
3210 * gcc.texi (Passes): Fix typo.
3211 * md.texi (Standard Names): Ditto.
3212 * tm.texi (Storage Layout): Ditto.
3213
3214 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
3215
3216 * cpplib.c (do_define): Only free the old definition if it
3217 actually had one.
3218
3219 2000-02-13 Neil Booth <NeilB@earthling.net>
3220
3221 * cppfiles.c (read_and_prescan): When emitting deferred
3222 newlines, test speccase[] again instead of checking each
3223 possible whitespace character in turn. When we encounter \r,
3224 look behind for \n first, then ahead.
3225
3226 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
3227
3228 * cse.c (cse_altered): New internal flag.
3229 (cse_insn): Set it if we changed an insn.
3230 (cse_main): Clear cse_altered before each basic block.
3231 Only garbage collect if cse_altered is true afterward.
3232
3233 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3234
3235 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
3236
3237 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
3238
3239 * combine.c (simplify_comparison): Fix typo.
3240
3241 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
3242
3243 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
3244 consistently.
3245
3246 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3247
3248 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
3249 previously inserted node instead of root node. Caller changed.
3250
3251 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3252
3253 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
3254
3255 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3256
3257 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
3258 __dereg_frame_dtor): Add prototype argument.
3259
3260 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
3261
3262 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
3263
3264 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
3265
3266 * gthr-vxworks.h (__gthread_once): Likewise.
3267
3268 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
3269
3270 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
3271
3272 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
3273 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
3274 stack pointer in functions w/o saved registers, output LEAVE more often
3275 on TARGET_USE_LEAVE machines.
3276
3277 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
3278
3279 * config/arm/arm.c (arm_init_cumulative_args); New function:
3280 Initlaise the CUMULATIE_ARGS strcuture for a function
3281 defintion.
3282 (arm_function_arg): New function: Determine where to place a
3283 function's argument. Also handles deciding the function's
3284 call cookie.
3285 (current_file_function_operand): New function: Return true if
3286 the symbol is a function which has already been compiled.
3287 (arm_is_long_call_p): New function: Return true if the
3288 indicated function should be called via a long call.
3289 (arm_valid_type_attribute_p): New function: Return true if the
3290 attribute is a valid, arm specific, attribute.
3291 (arm_comp_type_attribute): New function: Return true if the
3292 two types have compatable, arm specific, attributes.
3293
3294 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
3295 structure.
3296 (FUNCTION_ARG): Redefine to call arm_function_arg.
3297 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
3298 structure field.
3299 (INIT_CUMULATIVE_ARGS): Redefine to call
3300 arm_init_cumulative_args.
3301 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
3302 field.
3303 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
3304 field.
3305 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
3306 functions.
3307 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
3308 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
3309 (COMP_TYPE_ATTRIBUTES): Define.
3310
3311 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
3312 if a long call is needed.
3313 (call_value): Call arm_is_long_call_p to decide if a long call
3314 is needed.
3315 (call_symbol): Call arm_is_long_call_p to decide if a long call
3316 is needed.
3317
3318 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
3319
3320 2000-02-11 Denis Chertykov <denisc@overta.ru>
3321
3322 * README.AVR: New file with information about the avr ports.
3323 * config/avr: New directory with avr port files.
3324
3325 2000-02-11 Andreas Jaeger <aj@suse.de>
3326
3327 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
3328
3329 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
3330
3331 * cpphash.c: Fix formatting, update commentary.
3332 (dump_definition): Take three separate arguments instead of a
3333 MACRODEF structure argument.
3334 * cpphash.h: Update prototype of dump_definition.
3335 * cppinit.c (cpp_finish): Update call of dump_definition.
3336
3337 * cpplib.c (do_define): Always create new hash entry with
3338 T_MACRO type. Remove redundant check for redefinition of
3339 poisoned identifier. Update call of dump_definition.
3340 (do_undef): Don't call check_macro_name. Rename sym_length to
3341 len.
3342 (do_error, do_warning): Don't use copy_rest_of_line or
3343 SKIP_WHITE_SPACE.
3344 (do_warning): Don't use pedwarn for the actual warning,
3345 only the notice about its not being in the standard. (Fixes
3346 bug with #warning in system headers.)
3347 (do_ident): Stricter argument checking - accept only a single
3348 string after #ident. Also, macro-expand the line.
3349 (do_xifdef): Use cpp_defined. De-obfuscate.
3350
3351 (do_pragma): Split out specific pragma handling to separate
3352 functions. Use get_directive_token. Update commentary. Do
3353 not pass on #pragma once or #pragma poison to the front end.
3354 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
3355 do_pragma_default): New.
3356
3357 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
3358
3359 * jump.c (jump_optimize_1): The first operand in a relational
3360 can be a CONST_INT.
3361 * optabs.c (emit_conditional_move): Handle relationals which
3362 have a known true/false result.
3363
3364 2000-02-11 Geoff Keating <geoffk@cygnus.com>
3365
3366 * function.c (thread_prologue_and_epilogue_insns): Don't insert
3367 a RETURN insn into a block which already ends with a jump.
3368
3369 2000-02-11 Geoff Keating <geoffk@cygnus.com>
3370
3371 * haifa-sched.c (BUF_LEN): Increase a lot.
3372
3373 2000-02-11 Nick Clifton <nickc@cygnus.com>
3374
3375 * configure.in: Add tm_p_file specification for thumb targets.
3376 * configure: Regenerate.
3377
3378 * config/arm/thumb-protos.h: New file: Prototypes for exported
3379 functions defined in thumb.c.
3380
3381 2000-02-11 Robert Lipe <robertl@sco.com>
3382
3383 * Makefile.in (bootstrap-lean): Remove additional files.
3384 (bootstrap2-lean): Likewise.
3385 (VOL_FILES): List of files for above.
3386
3387 2000-02-11 Nathan Sidwell <nathan@acm.org>
3388
3389 * cpphash.c (special_symbol): Remove spurious argument to
3390 cpp_lookup.
3391
3392 2000-02-11 Joel Sherrill (joel@OARcorp.com>
3393
3394 * configure.in: (i*86-*-rtems*): Swapped elf and coff
3395 stanzas.
3396 * configure: Rebuilt.
3397
3398 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
3399
3400 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
3401
3402 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
3403
3404 * pa.c, pa.h: Remove trigraph sequences within comments.
3405
3406 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
3407
3408 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
3409
3410 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
3411
3412 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
3413
3414 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3415
3416 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
3417
3418 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3419
3420 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
3421 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
3422 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
3423 (ASM_FILE_END): Use c4x_file_end.
3424 * config/c4x/c4x.c (c4x_global_label): New function.
3425 (c4x_external_ref, c4x_file_end): Likewise.
3426
3427 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
3428 (c4x_external_ref, c4x_end_file): Likewise.
3429
3430 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
3431
3432 * cppexp.c: Don't include cpphash.h.
3433 (parse_charconst, cpp_lex): Use cpp_defined.
3434 (cpp_lex): Use get_directive_token throughout. Remove
3435 unnecessary cases from switch. Move assertion-handling code
3436 down to OTHER case.
3437 (cpp_parse_expr): If we see '+' or '-', check the context to
3438 determine if they are unary or binary operators. Streamline
3439 the jumps a bit. Do not call skip_rest_of_line.
3440
3441 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
3442 static. Export get_directive_token. Update commentary.
3443 (cpp_defined): New function.
3444 (do_define): Remove reference to T_PCSTRING. Call
3445 free_definition to release memory for old definition, when
3446 redefining a macro.
3447 (eval_if_expression): Set only_seen_white to 0 before calling
3448 cpp_parse_expr. Call skip_rest_of_line after it returns.
3449 (cpp_read_check_assertion): Don't preserve a pointer into the
3450 token buffer across a call to cpp_get_token.
3451
3452 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
3453 * cppfiles.c (redundant_include_p): Use cpp_defined.
3454 * cpphash.c (free_definition): New function.
3455 (delete_macro): Use it. Update commentary.
3456 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
3457 free_definition.
3458 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
3459 from enum node_type. Prototype cpp_defined and get_directive_token.
3460 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
3461
3462 * fix-header.c (check_macro_names): Use cpp_defined.
3463 (read_scan_file): Set inhibit_warnings and inhibit_errors in
3464 the options structure.
3465
3466 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3467
3468 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
3469
3470 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
3471
3472 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
3473 rather than die->die_tag.
3474
3475 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3476
3477 * combine.c (make_extraction, force_to_mode): Avoid warning on
3478 mixed-signedness conditionals.
3479 (make_field_assignment, nonzero_bits): Likewise.
3480 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
3481 (store_split_bit_field, extract_split_bit_field): Likewise.
3482 (extract_fixed_bit_field, store_bit_field,
3483 * expr.c: Change alignment to be unsigned everywhere.
3484 (move_by_pieces, store_constructor_field, store_constructor):
3485 Alignment parm is unsigned.
3486 (emit_block_move, emit_group_load, emit_group_store): Likewise.
3487 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
3488 (do_compare_rtx_and_jump): Likewise.
3489 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
3490 Compare align with GET_MODE_ALIGNMENT.
3491 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
3492 (get_inner_reference): Likewise.
3493 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
3494 (expand_assignment): Local vars for alignment now unsigned.
3495 (store_constructor, store_field, expand_expr, do_jump): Likewise.
3496 (do_compare_and_jump): Likewise.
3497 (store_field): Call new function expr_align.
3498 * expr.h (emit_block_move, emit_group_load, emit_group_store):
3499 Alignment arg now unsigned.
3500 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
3501 (do_compare_rtx_and_jump, store_bit_field): Likewise.
3502 (extract_bit_field): Likewise.
3503 * fold-const.c (add_double): Add cast to eliminate signedness warning.
3504 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
3505 (get_best_mode): Alignment arg is unsigned.
3506 * rtl.h (move_by_pieces): Likewise.
3507 * store-layout.c (maximum_field_alignment, set_alignment):
3508 Now unsigned.
3509 (layout_decl): Alignment arg is now unsigned.
3510 Remove unneeded casts.
3511 (layout_record, layout_union, layout_type): Remove unneeded casts.
3512 Local alignment variables now unsigned.
3513 (get_best_mode): Alignment arg now unsigned.
3514 * tree.c (expr_align): New function.
3515 * tree.h (expr_align): Likewise.
3516 (maximum_field_alignment, set_alignment): Now unsigned.
3517 (get_inner_reference): Alignment argument is now pointer to unsigned.
3518 * varasm.c (assemble_variable): Add cast to eliminate warning.
3519
3520 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
3521
3522 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
3523 then store directly into op0.
3524
3525 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
3526 the CALL_INSN, and emit the note immediately after it.
3527
3528 2000-02-10 Nick Clifton <nickc@cygnus.com>
3529
3530 * config/arm/thumb.md (epilogue): Include a (return) in the
3531 generated insn, and emit it using emit_jump_insn not
3532 emit_insn.
3533
3534 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
3535
3536 * function.c (assign_temp): Change zero-sized arrays to size 1.
3537 * integrate.c (expand_inline_function): Do not update
3538 stack_alignment_needed
3539 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
3540 add some sanity checking, remove optimization for function with
3541 zero frame size.
3542
3543 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3544
3545 * flow.c (mark_regs_live_at_end): Delete unused variables.
3546
3547 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
3548
3549 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
3550 in macro FRAME_GROWS_DOWNWARD.
3551
3552 * stmt.c (expand_end_bindings): Delete unused variable.
3553
3554 * unroll.c (iteration_info): Mark parameter `loop' with
3555 ATTRIBUTE_UNUSED.
3556
3557 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3558
3559 * fixinc/server.c (load_data): Return NULL if the marker line is
3560 not found.
3561 (run_shell): If load_data returns NULL, retry the command once, in
3562 a new shell.
3563
3564 * configure: Rebuilt.
3565
3566 2000-02-09 Bruce Korb <bkorb@gnu.org>
3567
3568 * gcc/fixincludes: ** DELETED **
3569 * gcc/fixcpp: ** DELETED **
3570 * gcc/fixinc-nt.sed: ** DELETED **
3571 * gcc/just-fixinc: ** DELETED **
3572 * gcc/Makefile.in: Removed out-dated commentary
3573 * gcc/configure.in: Removed fast-fixincludes disablement.
3574 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
3575
3576 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
3577 * function.c (thread_prologue_and_epilogue_insns): Uncomment
3578 last change.
3579
3580 2000-02-09 Richard Henderson <rth@cygnus.com>
3581
3582 * jump.c (delete_insn): Don't delete user labels at -O0.
3583
3584 2000-02-09 Robert Lipe <robertl@sco.com>
3585
3586 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
3587 Don't link with HOST_LIBS.
3588
3589 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
3590
3591 * configure.in: Correct --help text for --with-dwarf2.
3592 Put tm-dwarf2.h after other tm files, if it's requested.
3593 * configure: Regenerate.
3594 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
3595 defining it.
3596
3597 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
3598
3599 * cpplib.h: Provide HASHNODE typedef and forward decl of
3600 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
3601 DEFINITION, struct hashnode, struct macrodef, struct
3602 definition, scan_decls prototype, default defn of
3603 INCLUDE_LEN_FUDGE moved elsewhere.
3604
3605 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
3606 definition, and struct hashnode moved here. Remove the unused
3607 'predefined' field from struct definition. Replace the 'args'
3608 union with its sole member. All users updated (cpphash.c).
3609 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
3610 multiple include guard.
3611
3612 * cpphash.c (hashf): Make static; use better algorithm; drop
3613 HASHSIZE parameter; return an unsigned int.
3614 (cpp_lookup): Drop HASH parameter. PFILE parameter is
3615 used. Calculate HASHSIZE modulus here.
3616 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
3617 here.
3618 (create_definition): Drop PREDEFINITION parameter.
3619 * cpplib.c (do_define): Don't calculate a hash value here.
3620 Don't pass (keyword == NULL) to create_definition.
3621
3622 * scan.h: Prototype scan_decls here.
3623 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
3624 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
3625 callers of cpp_lookup and cpp_install updated.
3626
3627 * cpphash.c (macarg): Hoist all the flag diddling out of the
3628 function...
3629 (macroexpand): ... and out of the loop that calls macarg.
3630 Skip over the initial paren before macro arguments with
3631 cpp_get_non_space_token; point may be some distance before
3632 that paren. Abort if it's not there.
3633
3634 * cpplib.c (parse_clear_mark): Delete function.
3635 (parse_set_mark, parse_goto_mark): Make static.
3636 (ACTIVE_MARK_P): New macro.
3637 (skip_block_comment, skip_line_comment): Do not bump the line
3638 if ACTIVE_MARK_P is true.
3639 (cpp_pop_buffer): The buffer to be popped may not have an
3640 active mark.
3641 (cpp_get_token): When looking for the initial paren before
3642 macro arguments, only set a mark in a file buffer, Always
3643 return to that mark before proceeding to call macroexpand or
3644 return a NAME token.
3645
3646 * cpplib.h: Remove prototypes of parse_set_mark,
3647 parse_clear_mark, parse_goto_mark.
3648 (struct cpp_options): Rename 'put_out_comments' to
3649 'discard_comments' and invert its sense.
3650 * cppinit.c, cpphash.c, cpplib.c: All users of
3651 put_out_comments changed to use discard_comments, with
3652 opposite sense.
3653
3654 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
3655
3656 * function.c (thread_prologue_and_epilogue_insns): Don't delete
3657 the edge from a block that both jumps and falls through to the
3658 fallthru block.
3659
3660 2000-02-09 Scott Bambrough <scottb@netwinder.org>
3661
3662 * config/arm/arm.md (movsi): In PIC mode, make sure that a
3663 constant source address is legitimate.
3664
3665 2000-02-09 Philip Blundell <pb@futuretv.com>
3666
3667 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
3668 correctly.
3669
3670 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
3671 generating PIC.
3672 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
3673
3674 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
3675
3676 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
3677 ends with a newline and a NUL. Don't be so clever manipulating
3678 strings.
3679
3680 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
3681
3682 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
3683 not to BIGGEST_ALIGNMENT.
3684
3685 2000-02-08 Geoff Keating <geoffk@cygnus.com>
3686
3687 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
3688 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
3689 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
3690 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
3691 * frame.c (execute_cfa_insn): Handle
3692 DW_CFA_GNU_negative_offset_extended.
3693
3694 2000-02-08 Richard Henderson <rth@cygnus.com>
3695
3696 * flow.c (tidy_fallthru_edges): Split out from ...
3697 (delete_unreachable_blocks): ... here.
3698 (find_basic_blocks): Use it.
3699
3700 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3701
3702 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
3703
3704 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
3705
3706 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
3707 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
3708 (fix-header.o): Don't depend on cpphash.h.
3709
3710 * scan.c (hashstr): New function.
3711 * scan.h: Prototype it.
3712 * fix-header.c: Don't include cpphash.h. Use hashstr.
3713 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
3714 hashstr. Report hash table statistics. Add private
3715 definition of xrealloc.
3716
3717 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3718
3719 * i386.h (TARGET_SWITCHES): Fix typo in option name.
3720
3721 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
3722
3723 * function.c (thread_prologue_and_epilogue_insns): Don't replace
3724 jumps with returns unless they are jumps to the fallthru block.
3725
3726 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
3727
3728 * i386.md (addqi3_cc): Fix contraints.
3729
3730 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
3731
3732 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
3733
3734 2000-02-07 Mark Mitchell <mark@codesourcery.com>
3735
3736 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
3737 carriage return after a macro name.
3738
3739 2000-02-07 Fred Fish <fnf@be.com>
3740
3741 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
3742 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
3743
3744 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
3745
3746 * cppfiles.c (deps_output): Count spacers in deps_column.
3747
3748 2000-02-07 Neil Booth <NeilB@earthling.net>
3749
3750 * cppinit.c (initialize_dependency_output): If there is no
3751 suffix, don't try to look for known suffixes. Use strrchr.
3752 (cpp_start_read): Remove duplicate initialization.
3753
3754 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
3755
3756 * calls.c (compute_argument_block_size): New argument
3757 preferred_stack_boundary.
3758 (expand_call): update cfun->preferred_stack_boundary, update call of
3759 compute_argument_block_size
3760 (emit_library_call): Increate cfun->preferred_stack_boundary
3761 to PREFERRED_STACK_BOUNDARY
3762 (emit_library_call_value): Likewise.
3763 * explow.c (allocate_dynamic_stack_spave): Likewise.
3764 * function.c (prepare_function_start): Set
3765 cfun->preferred_stack_boundary
3766 * function.h (struct function): Add preferred_stack_boundary field.
3767 * integrate.c (expand_inline_function): Update
3768 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
3769 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
3770 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
3771
3772 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
3773
3774 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
3775 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
3776 cpp_pedwarn, cpp_pedwarn_with_line,
3777 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
3778 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
3779 v_cpp_error_with_line, v_cpp_warning_with_line,
3780 cpp_message_from_errno, cpp_perror_with_name): Delete.
3781
3782 * cpperror.c (cpp_print_containing_files): Take starting
3783 buffer as argument.
3784 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
3785 (v_cpp_message): Now called directly by all entry points.
3786 Remove -1 case.
3787 (cpp_pfatal_with_name, cpp_message): Delete.
3788 (cpp_notice_from_errno, cpp_ice): New functions.
3789 (cpp_notice): Is now for reporting error conditions, just
3790 without an associated file.
3791 (cpp_error, cpp_error_with_line): Don't do anything if
3792 opts->inhibit_errors is on.
3793 (cpp_pedwarn_with_file_and_line): Take column argument also.
3794
3795 * cpplib.h: Update prototypes of exported functions.
3796 (struct cpp_options): Add inhibit_errors.
3797
3798 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
3799 non-error messages. Include intl.h.
3800
3801 * cppinit.c, cppmain.c: Likewise. Also, use
3802 cpp_notice_from_errno instead of cpp_perror_with_name or
3803 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
3804
3805 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
3806 report internal errors.
3807
3808 * cpplib.c (do_define): Switch bcopy to memcpy.
3809 Give cpp_pedwarn_with_file_and_line a dummy column argument.
3810
3811 * cpplib.c (copy_rest_of_line): Revert previous change: don't
3812 bail out early if we hit a line comment.
3813
3814 2000-02-06 Richard Henderson <rth@cygnus.com>
3815
3816 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
3817 * basic-block.h: Declare them.
3818 * emit-rtl.h (active_insn_p): New.
3819 (next_active_insn, prev_active_insn): Use it.
3820 * rtl.h: Declare it.
3821 * function.c (emit_return_into_block): New.
3822 (thread_prologue_and_epilogue_insns): Insert return insns instead
3823 of epilogues when possible.
3824 * jump.c (jump_optimize_1): Remove code to insert a return insn
3825 on the fallthru to the exit block.
3826
3827 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
3828 and for non-empty stack frames.
3829 * i386.md (return): Expand to return-pop as needed.
3830
3831 2000-02-06 Richard Henderson <rth@cygnus.com>
3832
3833 * simplify-rtx.c (simplify_relational_operation): Canonicalize
3834 constant to op1 for testing.
3835
3836 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3837
3838 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
3839 (fixuns_truncqfqi2): Use it.
3840
3841 2000-02-06 Richard Henderson <rth@cygnus.com>
3842
3843 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
3844 as a TYPE_LEA insn.
3845
3846 * i386.md (widening and peepholes): Mask the constant instead of
3847 using gen_lowpart.
3848
3849 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
3850
3851 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
3852 input pointer before possibly branching off to the backslash
3853 code.
3854 * cpphash.c (macroexpand): Correctly delete \r escapes when
3855 stringifying parameters.
3856 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
3857 if we can; bail out early if we hit a line comment.
3858 (handle_directive): Treat '# 123' in an .S file just like
3859 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
3860 Return 1 for '# not_a_directive'.
3861 (get_directive_token): Pop macro buffers here, so that
3862 cpp_get_token can't sneakily move past a newline.
3863 Add sanity checks.
3864 (cpp_get_token): goto randomchar if handle_directive returns 0.
3865
3866 * cppalloc.c: Update copyright.
3867 * cpplib.c: Merge all the static function prototypes into one
3868 block.
3869 * cpplib.h: Remove #if 0 block.
3870
3871 * cpperror.c: Remove #ifdef EMACS block.
3872 * cppmain.c: Likewise.
3873 * cpphash.c: Remove #if 0 blocks.
3874 * cppinit.c: Remove #if 0 blocks, and the -lint option.
3875 * cpplib.c: Remove #if 0 blocks and code referencing
3876 pcp_inside_if or for_lint. Remove duplicate error message.
3877 Fix error messages for #else after #else or #elif. Reformat.
3878 Remove archaic TODO list.
3879 * cpplib.h: Remove pcp_inside_if and for_lint flags.
3880
3881 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
3882
3883 * i386/osf1elf.h: Add missing backslash to multiline string.
3884
3885 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3886
3887 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
3888
3889 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3890
3891 * Makefile.in (c-common.o): Depend on $(EXPR_H).
3892
3893 * c-common.c: Include expr.h.
3894
3895 * c-pragma.c (mark_align_stack): Add prototype.
3896
3897 * caller-save.c (add_stored_regs): Likewise.
3898
3899 * combine.c (record_promoted_value): Likewise.
3900
3901 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
3902 Likewise.
3903
3904 * cppinit.c (new_pending_define): Likewise.
3905
3906 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
3907
3908 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
3909 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
3910 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
3911 class_scope_p): Likewise.
3912
3913 * dwarf2out.h (dwarf2out_set_demangle_name_func,
3914 dwarf2out_add_library_unit_info): Likewise.
3915
3916 * ggc.h (ggc_page_print_statistics): Likewise.
3917
3918 * haifa-sched.c (propagate_deps): Likewise.
3919
3920 * reg-stack.c (next_flags_user, record_label_references): Likewise.
3921
3922 * rtl.h (set_stack_check_libfunc): Likewise.
3923
3924 * toplev.h (set_fatal_function): Likewise.
3925
3926 * toplev.c (set_fatal_function): Delete prototype.
3927
3928 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
3929
3930 2000-02-05 Geoff Keating <geoffk@cygnus.com>
3931
3932 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
3933 (FUNC_END): Likewise.
3934
3935 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3936
3937 * caller-save.c: Include tm_p.h.
3938
3939 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3940
3941 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
3942
3943 2000-02-04 Neil Booth <NeilB@earthling.net>
3944
3945 * cccp.c (main): Check 'dir' for a NULL pointer before passing
3946 it to strcmp.
3947
3948 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
3949
3950 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
3951 * genflags.c: Use the max_operand_1 logic from genemit.c to
3952 calculate how many arguments gen_insn prototypes have. Remove
3953 NO_MD_PROTOTYPES ifdefs from the generated file.
3954 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
3955 file. Cast gen_insn initializers to insn_gen_fn.
3956 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
3957 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
3958
3959 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3960
3961 * fixinc/Makefile.in (HDR): Add machname.h.
3962 (clean): Likewise.
3963
3964 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3965
3966 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
3967 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
3968 (c4x_cpu_version): Ditto.
3969 * config/c4x/c4x-protos.h: ... here.
3970
3971 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
3972
3973 * dwarf2out.c (add_abstract_origin_attribute): Don't call
3974 gen_abstract_function on our context if we're a nested function.
3975
3976 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3977
3978 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
3979 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
3980
3981 2000-02-04 Bruce Korb <bkorb@gnu.org>
3982
3983 * fixinc/genfixes(machname.h):
3984 Move the functionality from gen-machine.h into this file.
3985 UNdef MN_NAME_PAT if there are no names to change.
3986 Also, be a little kinder when AutoGen is not present.
3987
3988 * fixinc/Makefile.in(machname.h):
3989 Change the generation rule to use genfixes.
3990
3991 * fixinc/fixfixes.c(machine_name):
3992 machine_name_fix's functionality now dependent upon whether
3993 MN_NAME_PAT is defined.
3994
3995 * fixinc/fixtests.c(machine_name):
3996 ditto.
3997
3998 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
3999 of MN_NAME_PAT.
4000
4001 * fixinc/fixlib.h(mn_get_regexps):
4002 ditto
4003
4004 * fixinc/gen-machine.h: DELETED
4005
4006 2000-02-04 Jan Hubicka <jh@suse.cz>
4007 Richard Henderson <rth@cygnus.com>
4008
4009 * i386.c (SAVE_REGS_FIRST): Remove.
4010 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
4011 (ix86_compute_frame_size): Likewise.
4012 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
4013 (ix86_emit_restore_regs): Remove.
4014 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
4015 when a frame pointer is in use.
4016 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
4017 instead of pop to restore a register when profitable; emit leave
4018 when profitable.
4019 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
4020 as a TYPE_LEA insn.
4021 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
4022 * i386.md (prologue_allocate_stack): Remove.
4023 (epilogue_deallocate_stack): Remove.
4024 (pro_epilogue_adjust_stack): New.
4025
4026 2000-02-04 Richard Henderson <rth@cygnus.com>
4027
4028 * function.c (diddle_return_value): Rework to use a callback function.
4029 Use current_function_return_rtx if it's been set up.
4030 (do_clobber_return_reg, clobber_return_register): New.
4031 (do_use_return_reg, use_return_register): New.
4032 (expand_function_end): Use them.
4033 * stmt.c (expand_null_return): Likewise.
4034 * function.h: Declare them.
4035 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
4036 (mark_reg): Change arguments as appropriate for callback.
4037 * integrate.c (expand_inline_function): Revert 19 Jan change.
4038
4039 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
4040
4041 * tm.texi (Values in Registers): Fix typo: "fo" "for".
4042 (Misc): Say the scheduler, not the Haifa scheduler.
4043
4044 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
4045
4046 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
4047 when in_mem is set. Update all callers.
4048
4049 2000-02-04 Richard Henderson <rth@cygnus.com>
4050
4051 * i386/openbsd.h (INT_ASM_OP): Define.
4052
4053 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
4054
4055 * tm.texi: Fix various typos.
4056
4057 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
4058
4059 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
4060 (MD_STARTFILE_PREFIX_1): New macro.
4061
4062 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
4063
4064 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
4065 destination when needed.
4066 (strmovsi, strsetsi): New expander.
4067 (strmovsi_1, strsetsi_1): New pattern.
4068 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
4069 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
4070 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
4071 * invoke.texi (align-stringops, inline-all-stringops): Document.
4072
4073 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
4074
4075 * i386/netbsd.h (INT_ASM_OP): Define.
4076
4077 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
4078
4079 * cpplib.h (cpp_reader): Add new flag, no_directives.
4080 * cpphash.c (macarg): Set it.
4081 * cpplib.c (handle_directive): If no_directives is on and we
4082 find a directive, issue an error and discard the line.
4083
4084 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
4085
4086 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
4087 FP constants. Add ! TARGET_FPU check for FP constants.
4088
4089 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
4090
4091 * flow.c (find_basic_blocks): Don't kill label_value_list
4092 here.
4093 (cleanup_cfg): Kill it here.
4094
4095 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4096
4097 * expr.c (store_field): Ensure ALIGN is no stricter than the
4098 alignment of EXP.
4099
4100 2000-02-02 Richard Henderson <rth@cygnus.com>
4101
4102 * jump.c (delete_insn): Partially revert 19 Jan change;
4103 don't convert unused code labels to notes at -O0.
4104
4105 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4106
4107 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
4108 split_all_insns to recreate REG_LABEL notes for flow2 pass.
4109
4110 2000-02-01 Richard Henderson <rth@cygnus.com>
4111
4112 * i386.c (general_no_elim_operand): New.
4113 (nonmemory_no_elim_operand): New.
4114 (ix86_expand_move): Copy eliminable operands before a push.
4115 * i386-protos.h: Declare new functions.
4116 * i386.h (CAN_ELIMINATE): Simplify.
4117 (PREDICATE_CODES): Update.
4118 * i386.md (push insns): Don't allow eliminable register operands.
4119
4120 2000-02-01 Richard Henderson <rth@cygnus.com>
4121
4122 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
4123 replace BLKmode with DECL_RTL's mode.
4124
4125 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
4126
4127 * frame.c (find_fde): Convert for loop to do-while so compiler
4128 sees it's always executed at least once.
4129 * libgcc2.c (BBINBUFSIZE): Kill.
4130 (__bb_init_prg): Use fgets.
4131 (__bb_exit_trace_func): Don't paste strings.
4132 * unroll.c (unroll_loop): Initialize unroll_type, not
4133 unroll_number, and tweak logic to match.
4134
4135 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
4136 all failure paths.
4137 (ix86_flags_dependant): Likewise. Disentangle control flow.
4138 (ix86_sched_reorder): Break guts out to
4139 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
4140 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
4141 any possible use.
4142
4143 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
4144 use string concatenation. Don't save and restore esi.
4145
4146 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
4147 (machname.h): Remove script to separate file. Use two-step
4148 sequence so target is not created if script fails.
4149 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
4150 identifiers are defined.
4151 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
4152 an empty string, machine_name doesn't need to do anything at
4153 all.
4154 (is_cxx_header): Add more cases to regexp.
4155 * fixinc/fixlib.h: Update prototype.
4156 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
4157 mn_get_regexps.
4158 * fixinc/fixincl.c: Define NO_BOGOSITY.
4159
4160 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
4161 (hp_sysfile): Add missing comma.
4162 (math_exception): Put the wrapper ifdefs at the beginning and
4163 the end of the file.
4164 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
4165
4166 2000-02-01 Richard Henderson <rth@cygnus.com>
4167
4168 * sparc.c (fp_zero_operand): Turn into a normal predicate.
4169 Use CONST0_RTX. Update all callers.
4170 * sparc.h, sparc-protos.h: Update accordingly.
4171 * sparc.md (fp mov insns): Use fp_zero_operand directly
4172 where applicable.
4173
4174 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
4175
4176 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
4177 example.
4178
4179 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4180
4181 * Makefile.in (specs.ready): New target.
4182 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
4183
4184 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4185
4186 * fixinc.irix: Use unique filenames for writing into /tmp,
4187 * fixinc.ptx: Likewise.
4188 * fixinc.sco: Likewise.
4189 * fixinc.svr4: Likewise.
4190 * fixinc.winnt: Likewise.
4191
4192 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4193
4194 * tsystem.h: New file.
4195
4196 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
4197 s-crtS): Depend on tsystem.h.
4198
4199 * crtstuff.c: Include tsystem.h.
4200 * frame.c: Likewise.
4201 * libgcc2.c: Likewise.
4202
4203 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
4204
4205 * builtins.c (expand_builtin_memset): Expand for variable sized
4206 lengths too.
4207
4208 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
4209
4210 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
4211 on ABI.
4212
4213 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
4214
4215 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
4216
4217 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
4218
4219 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
4220
4221 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
4222 case 3->2 combining (combining with splitting) in which 2 is CC0
4223 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
4224 checked at the begining of the function with the aid of calling
4225 function 'can_combine_p'.
4226
4227 2000-01-31 Dave Brolley <brolley@redhat.com>
4228
4229 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
4230
4231 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
4232
4233 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
4234 new label.
4235
4236 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4237
4238 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
4239
4240 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
4241 PROTO -> PARAMS.
4242
4243 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
4244
4245 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
4246 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
4247 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
4248 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
4249 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
4250 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
4251 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
4252 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
4253 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
4254 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
4255
4256 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
4257 Add %(cpp_cpu) to CPP_SPEC.
4258
4259 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
4260 Add %(cc1_cpu) to CC1_SPEC.
4261
4262 2000-01-28 Ulrich Drepper <drepper@redhat.com>
4263
4264 * c-decl.c (c_decode_option): Accept optional numeric argument to
4265 -Wformat and set warn_format.
4266 * c-common.c: Don't emit warning about non-constant printf format
4267 string unless warn_format > 1.
4268
4269 2000-01-30 Richard Henderson <rth@cygnus.com>
4270
4271 * alpha.md (return_internal): Allow after reload only.
4272
4273 2000-01-30 Richard Henderson <rth@cygnus.com>
4274
4275 * i386.c (ix86_compute_frame_size): Omit padding1 if the
4276 local frame size is zero.
4277
4278 2000-01-30 Richard Henderson <rth@cygnus.com>
4279
4280 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
4281 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
4282 * alpha.md (return): Turn into an expander.
4283 (return_internal): Don't use $26.
4284 (epilogue): Emit the return insn.
4285
4286 2000-01-30 Richard Henderson <rth@cygnus.com>
4287
4288 * alpha.md (negtf2, abstf2): Fix word order thinko.
4289 (extendsftf2): New.
4290 (trunctfsf2): Avoid intermediate rounding errors.
4291
4292 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
4293
4294 * cppfiles.c (find_position): Drop 'colp' argument, return the
4295 new line base.
4296 (read_and_prescan): Adjust to match. Don't ever manipulate
4297 line or line_base except via find_position.
4298
4299 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
4300
4301 * c-parse.in: Apply Ulrich's changes from c-parse.y.
4302 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
4303 Regenerate.
4304
4305 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
4306
4307 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
4308 just print "<command line>". If 'filename' is null or an
4309 empty string, print "<stdin>" for the filename.
4310 * cpplib.c (do_define): Don't print the 'location of the
4311 previous definition' message if we're still parsing the
4312 command line.
4313 (cpp_pedwarn_with_file_and_line): Always call
4314 cpp_file_line_for_message.
4315
4316 2000-01-29 Mark Mitchell <mark@codesourcery.com>
4317
4318 * flow.c (mark_regs_live_at_end): Fix typo.
4319
4320 2000-01-28 Ulrich Drepper <drepper@redhat.com>
4321
4322 * c-common.c: Adjust variable names, comments, help strings to c99.
4323 * c-lex.c: Likewise.
4324 * c-parse.y: Likewise.
4325 * c-tree.h: Likewise.
4326 * cccp.c: Likewise.
4327 * cpplib.h: Likewise.
4328 * c-decl.c: Likewise. Recognize options with names "*99" as well.
4329 * cppinit.c: Likewise.
4330
4331 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4332
4333 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
4334 * c4x.c: Define the optab rtx values.
4335 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
4336 (c4x_emit_libcall): Use new optab rtx values.
4337 (c4x_emit_libcall3): Likewise.
4338 (c4x_emit_libcall_mulhi): Likewise.
4339 * c4x-protos.h: Add prototypes for optab rtx values and change
4340 prototypes for above c4x_emit_libcall functions.
4341
4342 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4343
4344 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
4345 syntax is used.
4346 (c4x_function_prologue): Use regnames intead of float_reg_names when
4347 TI syntax is used.
4348 (c4x_function_epilogue): Likewise.
4349 (c4x_print_operand): Likewise.
4350 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
4351 * c4x.md (set_high): Disable for TARGET_TI.
4352
4353 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4354
4355 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
4356 of framepointer + constant to ADDR_REGS class.
4357 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
4358 * c4x.c (std_or_reg_operand): New function.
4359 * c4x-protos.h (std_or_reg_operand): Prototype it.
4360
4361 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4362
4363 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
4364 object names as libgcc2.c.
4365 * libgcc.S: Use newly defined names.
4366
4367 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
4368 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
4369 function.
4370 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
4371 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
4372 (FLOW_LOOP_LAST_BLOCK): Likewise.
4373
4374 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4375
4376 * basic-block.h (struct loop): New fields 'first' and 'last'.
4377 * flow.c (flow_loops_find): Compute loop->first and loop->last.
4378 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
4379 and loop->last to check for NOTE_INSN_LOOP_END.
4380
4381 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
4382
4383 * predict.c (estimate_probability): Use the new FIRST and LAST fields
4384 of the loop descriptor rather than HEADER and LATCH. Also added
4385 missing break statements as well making some coding style modifications
4386 as suggested by Michael Hayes.
4387
4388 2000-01-28 Richard Henderson <rth@cygnus.com>
4389
4390 * flow.c (find_basic_blocks): Remove do_cleanup argument.
4391 Break out that code ...
4392 (cleanup_cfg): ... here.
4393 (commit_one_edge_insertion): Detect a return instruction being
4394 emitted to an edge. Emit a barrier following; clear fallthru.
4395 (commit_edge_insertions): Verify CFG consistency.
4396 * function.c (expand_function_start): Kill unused variable.
4397 (expand_function_end): Likewise.
4398 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
4399 to insert the epilogue.
4400
4401 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
4402 (delete_null_pointer_checks): Likewise.
4403 * output.h: Likewise.
4404 * reg-stack.c (reg_to_stack): Likewise.
4405 * toplev.c (rest_of_compilation): Likewise. Run
4406 thread_prologue_and_epilogue_insns after rebuilding the CFG.
4407
4408 2000-01-28 Richard Henderson <rth@cygnus.com>
4409
4410 * Makefile.in (flow.o): Revert 24 Jan change.
4411 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
4412 FUNCTION_VALUE result to DECL_RESULT's mode.
4413
4414 * haifa-sched.c (schedule_insns): Don't recompute reg info
4415 after reload.
4416
4417 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
4418
4419 * configure.in: Make --enable-cpplib the default.
4420 * configure: Regenerate.
4421 * gcc.dg/990119-1.c: No longer expected to fail.
4422
4423 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
4424
4425 * jump.c (jump_optimize_1): Delete an optimization that is also done
4426 by merge_blocks in flow.
4427
4428 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4429
4430 * diagnostic.c (build_message_string, output_printf,
4431 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
4432 (build_location_prefix): Fix non-literal format string.
4433
4434 2000-01-27 Richard Henderson <rth@cygnus.com>
4435
4436 * alpha.md (trunctfsf2): New.
4437
4438 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
4439
4440 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
4441
4442 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
4443
4444 * cppinit.c (cpp_handle_option): Recognize C++ comments under
4445 -std=gnu89.
4446 * cpplib.c (skip_block_comment, skip_line_comment): Split code
4447 out of...
4448 (skip_comment) ... here. Permit C++ comments in system
4449 headers always. Warn about C++ comments in user code under
4450 -std=gnu89 -pedantic.
4451 (copy_comment): Use skip_comment.
4452 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
4453 return EOF.
4454 (consider_directive_while_skipping, do_else, do_endif): Call
4455 validate_else unconditionally.
4456 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
4457 text after the conditional in a system header.
4458 * cpplib.h (struct cpp_buffer): Add flag
4459 warned_cplusplus_comments.
4460
4461 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
4462
4463 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
4464 Use unshare_all_rtl_1.
4465 (unshare_all_rtl_again): New function.
4466 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
4467
4468 * function.c (purge_addressof_1): Use unshare_all_rtl_again
4469 rather than resetting the 'used' flags ourself.
4470
4471 * toplev.c (rest_of_compilation): Add current_function_decl
4472 to the unshare_all_rtl call.
4473 * tree.h: Prototype unshare_all_rtl.
4474 * rtl.h: Prototype unshare_all_rtl_again here.
4475
4476 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
4477
4478 * genoutput.c (output_prologue): Include ggc.h in generated
4479 files.
4480 * Makefile.in (insn-output.o): Depends on ggc.h.
4481
4482 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
4483 Hans-Peter Nilsson <hp@bitrange.com>
4484
4485 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
4486 Remove redundant include of xm-ns32k.h.
4487 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
4488 Remove redundant include of xm-ns32k.h.
4489 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
4490 Remove redundant include of xm-ns32k.h.
4491 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
4492
4493 * ns32k/ns32k.h: Update comment on multiply-add instructions.
4494 (TARGET_SWITCHES): Add documentation strings.
4495 (DWARF_FRAME_REGNUM): Override default definition.
4496 (REG_CLASS_CONTENTS): Add comments.
4497 (SUBSET_P): Format to reduce line length.
4498 (SMALL_REGISTER_CLASSES): Make a run time option.
4499 (GO_IF_NONINDEXED_ADDRESS): Reformat.
4500 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
4501 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
4502 (regclass_map): fix typo in comment.
4503 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
4504 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
4505 (trace, reg_or_mem_operand): Delete, unused function.
4506 (calc_address_cost): Small offsets are cheaper than large ones.
4507 (expand_block_move): Generate more efficient code when bytes is a
4508 known at compile time.
4509 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
4510 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
4511 instead of reg_or_mem_operand.
4512
4513 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
4514 not general_operand. Similarly use "=rm" or stricter, not "=g".
4515 For input operands, use stricter constraints than "g" if not
4516 general_operand. Similarly use stricter predicate than
4517 "general_operand" when stricter constraints than "g" are present,
4518 except for matching constraints.
4519 (movstrsi): Use "memory_operand" for operands 0 and 1.
4520 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
4521 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
4522 not reg_or_mem_operand.
4523 (udivmoddisi4): Ditto.
4524 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
4525 Use nonimmediate_operand for operand 3, not register_operand.
4526 (udivmoddiqi4_internal): Use register_operand for operand 1, not
4527 reg_or_mem_operand.
4528
4529 2000-01-27 Fred Fish <fnf@be.com>
4530
4531 * gthr-posix.h: Fix typo; compatibily -> compatibility.
4532 * gthr-single.h: Likewise.
4533 * gthr-solaris.h: Likewise.
4534 * gthr-vxworks.h: Likewise.
4535 * gthr-win32.h: Likewise.
4536 * gthr.h: Likewise.
4537
4538 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
4539
4540 * cppinit.c: Add " (cpplib)" to end of string printed by
4541 -v / --version.
4542
4543 2000-01-27 Richard Henderson <rth@cygnus.com>
4544
4545 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
4546 testing for a signed comparison.
4547 (alpha_emit_floatuns): New.
4548 * alpha-protos.h: Declare it.
4549 * alpha.md (floatunsdisf2, floatunsdidf2): New.
4550 (extendsfdf2): Tidy.
4551
4552 2000-01-27 Jakub Jelinek <jakub@redhat.com>
4553
4554 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
4555 no -g option specifying debugging format, default to -gstabs+.
4556
4557 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4558
4559 * calls.c (special_function_p): New argument fork_or_exec.
4560 (expand_call): When profile_arc_flag is set and the function
4561 is in the fork_or_exec group, call __bb_fork_func first.
4562 * libgcc2.c, _bb module (__bb_fork_func): New function.
4563 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
4564 output file.
4565 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
4566 * tree.h (special_function_p): Update prototype.
4567
4568 2000-01-26 Richard Henderson <rth@cygnus.com>
4569
4570 * alpha.c (alpha_split_tfmode_pair): New.
4571 * alpha-protos.h: Declare it.
4572 * alpha.md (abstf2, negtf2): New.
4573 (movtf insn): Add input G constraint.
4574 (movtf splitter): Use alpha_split_tfmode_pair.
4575
4576 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4577
4578 * i386/cygwin.h: PROTO -> PARAMS.
4579
4580 2000-01-26 Jakub Jelinek <jakub@redhat.com>
4581
4582 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
4583 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
4584 using _Qp_cmp/_Q_cmp and testing the return value.
4585 (print_operand): Call reverse_condition_maybe_unordered if
4586 we are handling CCFPmode or CCFPEmode.
4587 Handle ORDERED, UN* and LTGT comparisons.
4588 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
4589 if not TARGET_HARD_QUAD.
4590 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
4591 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
4592 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
4593 Adjust gen_b* calls so that they reflect return comparison of
4594 sparc_emit_float_lib_cmp.
4595
4596 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4597
4598 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
4599 incoming operands array is large enough for one more operand.
4600 (alpha_emit_xfloating_arith): Likewise.
4601
4602 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
4603
4604 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
4605 file with one line and no trailing newline.
4606 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
4607 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
4608 checking if the match is on the line.
4609 * fixinc/gnu-regex.c: Provide regerror not __regerror.
4610
4611 2000-01-25 Richard Henderson <rth@cygnus.com>
4612
4613 * sparc.c (output_cbranch): Fix accidental squashing of the
4614 fp branch pre-delay nop.
4615
4616 2000-01-25 Richard Henderson <rth@cygnus.com>
4617
4618 * tree.def (UNNE_EXPR): Remove.
4619 * c-typeck.c (build_binary_op): Don't handle it.
4620 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
4621
4622 * rtl.def (UNNE): Remove.
4623 (LTGT): Add.
4624 * jump.c (reverse_condition): Update accordingly.
4625 (swap_condition): Likewise.
4626 (comparison_dominates_p): Handle unordered comparisons.
4627 (reverse_condition_maybe_unordered): New.
4628 * rtl.h (reverse_condition_maybe_unordered): Declare.
4629
4630 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
4631 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
4632 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
4633 * sparc.md (bltgt): New.
4634
4635 2000-01-25 Nick Clifton <nickc@redhat.com>
4636
4637 * emit-rtl.c (emit_insn): Only check machine class insns for
4638 improper emission of a RETURN.
4639
4640 2000-01-25 Richard Henderson <rth@cygnus.com>
4641
4642 * Makefile.in (flow.o): Depend on $(EXPR_H).
4643 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
4644 duplicate the structure of diddle_return_value for keeping regs live.
4645
4646 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4647
4648 * loop.c (current_loop_info): Delete.
4649 (consec_sets_invariant_p): Add loop argument, update callers.
4650 (get_condition_for_loop): Likewise.
4651 (count_nonfixed_reads, update_giv_derive): Likewise.
4652 (simplify_giv_expr, general_induction_var): Likewise.
4653 (consec_sets_giv, recombine_givs): Likewise.
4654 (move_movables): Delete loop_start and loop_end arguments,
4655 add loop argument, and update callers.
4656 (find_mem_givs, check_final_value): Likewise.
4657 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
4658 (loop_invariant_p): Rename from invariant_p, add loop argument, and
4659 update callers.
4660 (basic_induction_var): Add loop argument, delete loop_level argument,
4661 and update callers.
4662 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
4663 add loop argument, and update callers.
4664 (find_splittable_regs, find_splittable_givs): Likewise.
4665 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
4666 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
4667 (biv_total_increment): Delete loop_start and loop_end arguments;
4668 update callers.
4669 (precondition_loop_p): Delete loop_start and loop_info arguments;
4670 update callers.
4671 * loop.h (get_condition_for_loop): Add loop argument.
4672 (biv_total_increment): Delete loop_start and loop_end arguments.
4673 (precondition_loop_p): Delete loop_start and loop_info arguments;
4674 add loop argument.
4675 (final_biv_value): Delete loop_start and loop_end arguments;
4676 add loop argument.
4677 (final_giv_value, back_branch_in_range_p): Likewise.
4678
4679 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
4680
4681 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
4682
4683 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
4684
4685 * Makefile.in (c-gperf.h) : Change the "See" pointer to
4686 point to the new "generated_files" doc.
4687
4688 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
4689
4690 * config/fp-bit.c (_unord_f2): Fix typo.
4691
4692 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
4693
4694 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
4695 c-typeck.c, objc/objc-act.c: Remove all references to obstack
4696 functions obsoleted by GC, such as push_obstacks_nochange,
4697 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
4698 and code which existed only to decide whether or not to call
4699 them. Remove now-unused NESTED argument from start_function;
4700 all callers changed. Do not change behavior based on ggc_p.
4701 The use of the ixp_obstack in c-iterate.c and the util_obstack
4702 in objc/objc-act.c remain; these are not obsoleted by garbage
4703 collection.
4704 * c-tree.h: Update prototype for start_function.
4705
4706 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
4707
4708 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
4709
4710 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
4711 mips16.
4712
4713 2000-01-25 Richard Henderson <rth@cygnus.com>
4714
4715 * sparc-protos.h (select_cc_mode): Declare.
4716 * sparc.c (select_cc_mode): New. Handle unordered compares.
4717 (output_cbranch): Always reverse via code change. Handle
4718 unordered compares. Factor tests and string updates.
4719 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
4720 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
4721 * sparc.md (bunordered, bordered): New.
4722 (bungt, bunlt, buneq, bunge, bunle): New.
4723
4724 2000-01-25 Richard Henderson <rth@cygnus.com>
4725
4726 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
4727 * ggc-common.c (ggc_add_rtx_varray_root): New.
4728 (ggc_mark_rtx_varray): New.
4729 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
4730 functions down below ggc_mark_foo.
4731 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
4732
4733 2000-01-25 Richard Henderson <rth@cygnus.com>
4734
4735 * alpha.c (secondary_reload_class): Don't allocate a secondary
4736 for integral mode memories into FLOAT_REGS. Rearrange the more
4737 complicated memory expression inward.
4738
4739 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
4740
4741 * inclhack.def: Fixes to play nicer with FreeBSD, and
4742 corrections to comments.
4743 (cxx_unready): Add select expression.
4744 (irix_sockaddr): Add bypass expression.
4745 (machine_ansi_h_va_list): New fix.
4746 (stdio_va_list): No need to edit _BSD_VA_LIST_.
4747 Split out addition of "#include <stdarg.h>" to...
4748 (stdio_stdarg_h): ... here.
4749 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
4750 to stdlib.h also. Do not munge _BSD_SIZE_T_.
4751 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
4752 size_t.
4753 (ultrix_ifdef): Tighten up select expression.
4754
4755 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
4756 re_ct and max_mach to avoid use of shell. Make printed names
4757 match names in inclhack.def. Use static copyright date.
4758 Don't count c_test and test expressions as requiring regex_t
4759 slots. Add some commentary.
4760 * inclhack.tpl: Do not include the 'This script contains N
4761 fixup scripts' line if PROGRAM is defined. Use static
4762 copyright date.
4763
4764 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
4765
4766 * dwarf2out.c: include "varray.h", not dyn-string.h.
4767 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
4768 (addr_const_to_string, addr_to_string): Lose.
4769 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
4770 (struct dw_val_struct): val_addr is now an rtx.
4771 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
4772 (used_rtx_varray): New varray.
4773 (dwarf2out_init): Initialize it.
4774 (save_rtx): New fn.
4775 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
4776 addr_to_string.
4777 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
4778 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
4779 * Makefile.in (dwarf2out.o): Update dependencies.
4780
4781 2000-01-24 Richard Henderson <rth@cygnus.com>
4782
4783 * i386.c (i386_dwarf_output_addr_const): New.
4784 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
4785
4786 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
4787 if defined.
4788 * dwarfout.c (output_mem_loc_descriptor): Likewise.
4789 * i386.c (i386_simplify_dwarf_addr): New.
4790 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
4791
4792 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
4793
4794 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
4795 TYPE_STUB_DECL is NULL.
4796
4797 2000-01-24 Richard Henderson <rth@cygnus.com>
4798
4799 * builtins.c (expand_tree_builtin): Move ...
4800 * c-common.c (expand_tree_builtin): ... here.
4801
4802 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4803
4804 * loop.h (LOOP_INFO): New accessor macro.
4805 * basic-block.h (struct loop): Rename field `info' to `aux'.
4806 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
4807 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
4808 * unroll.c (loop_iterations, unroll_loop): Likewise.
4809
4810 2000-01-24 Christopher Faylor <cgf@cygnus.com>
4811
4812 * config/i386/t-cygwin: Accomodate new winsup directory layout
4813 when searching for include files.
4814
4815 2000-01-24 Richard Henderson <rth@cygnus.com>
4816
4817 * rtl.def: Add unordered fp comparisions.
4818 * tree.def: Likewise.
4819 * tree.h: Add ISO C 9x unordered fp comparision builtins.
4820
4821 * builtins.c (expand_tree_builtin): New function.
4822 * c-typeck.c (build_function_call): Use it.
4823 (build_binary_op): Support unordered compares.
4824 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
4825
4826 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
4827 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
4828 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
4829 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
4830 * jump.c (reverse_condition): Don't abort for UNLE etc, but
4831 return UNKNOWN.
4832 (swap_condition): Handle unordered compares.
4833 (thread_jumps): Check can_reverse before reversing.
4834 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
4835 reversed for FP.
4836
4837 * optabs.c (can_compare_p): New argument CODE. Verify branch or
4838 setcc is present before acking for cmp_optab. Update all callers.
4839 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
4840 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
4841 * expr.c (expand_expr): Likewise. Support unordered compares.
4842 (do_jump, do_store_flag): Likewise.
4843 * expr.h (enum libfunc_index): Add unordered compares.
4844
4845 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
4846 (DPBIT_FUNCS): Add _unord_df.
4847 * config/fp-bit.c (_unord_f2): New.
4848 * fp-test.c (main): Try unordered compare builtins.
4849
4850 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
4851 * alpha.c (alpha_comparison_operator): Check mode properly.
4852 (alpha_swapped_comparison_operator): Likewise.
4853 (signed_comparison_operator): Likewise.
4854 (alpha_fp_comparison_operator): New.
4855 (alpha_emit_conditional_branch): Handle unordered compares.
4856 * alpha.h (PREDICATE_CODES): Update.
4857 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
4858 (bunordered, bordered): New.
4859
4860 2000-01-24 Richard Henderson <rth@cygnus.com>
4861
4862 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
4863 * alpha.md (movtf): New expander, insn, and splitter.
4864
4865 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
4866
4867 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
4868 dead registers.
4869
4870 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
4871
4872 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
4873 (FIXED_REGISTERS, CALL_USED_REGISTERS,
4874 REG_ALLOC_ORDER): Add frame pointer
4875 (FRAME_POINTER_REGNUM): Set to 20
4876 (HARD_FRAME_POINTER_REGNUM): New macro.
4877 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
4878 to HARD_FRAME_POINTER.
4879 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
4880 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
4881 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
4882 (HI_REGISTER_NAMES): Add "frame".
4883 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
4884 (debug_reg): Handle FRAME_POINTER_REGNUM.
4885 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
4886 GENERAL_REGS and INDEX_REGS.
4887 * i386.c (SAVED_REGS_FIRST): new macro.
4888 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
4889 (ix86_decompose_address, memory_address_length): Likewise.
4890 (regclass_map): Add frame pointer.
4891 (call_insn_operand): Handle frame_pointer_rtx.
4892 (reg_no_sp_operand): Likewise.
4893 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
4894 (print_operand, legitimize_pic_address): Fix formating.
4895 (ix86_compute_frame_size): Make static, update prototype, new
4896 parameters padding1, padding2, use ix86_nsaved_regs, use
4897 stack_alignment_needed.
4898 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
4899 to HARD_FRAME_POINTER_REGNUM conversions.
4900 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
4901 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
4902 (print_reg): Abort on FRAME_POINTER_REGNUM
4903
4904 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
4905
4906 * i386.h (PREDICATE_CODES): Add aligned_operand.
4907 * i386.c (aligned_operand): New function.
4908 (ix86_aligned_p): Kill.
4909 * i386.md (movhi_1): Emit mov for aligned operands.
4910 (promoting peep2s): Use aligned_operand.
4911
4912 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
4913
4914 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
4915 expression to allow underscores in macro names.
4916 (fix_char_macro_defines): Increment scanning pointer.
4917
4918 2000-01-23 Richard Henderson <rth@cygnus.com>
4919
4920 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
4921 * alpha/osf5.h: New file.
4922 * configure.in (alpha-*-osf5): Add it to tm_file.
4923
4924 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
4925
4926 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
4927 (alpha_emit_xfloating_cvt, function_arg): Declare.
4928 * alpha.c (alpha_emit_conditional_branch): Call
4929 alpha_emit_xfloating_compare for TFmode compares.
4930 (alpha_lookup_xfloating_lib_func): New.
4931 (alpha_compute_xfloating_mode_arg): New.
4932 (alpha_emit_xfloating_libcall): New.
4933 (alpha_emit_xfloating_arith): New.
4934 (alpha_emit_xfloating_compare): New.
4935 (alpha_emit_xfloating_cvt): New.
4936 (print_operand): Add default abort case.
4937 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
4938 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
4939 (BIGGEST_ALIGNMENT): Increase to 128 bits.
4940 (RETURN_IN_MEMORY): True for TF/TCmode.
4941 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
4942 (FUNCTION_ARG): Move to function_arg.
4943 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
4944 (ASM_OUTPUT_LONG_DOUBLE): New.
4945 (ASM_OUTPUT_DOUBLE): Always output bits.
4946 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
4947 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
4948 (extenddftf2, trunctfdf2): New.
4949
4950 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4951
4952 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
4953 * config/sparc/sol2.h: ... here.
4954
4955 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4956
4957 * basic-block.h (struct loops): New field `levels'.
4958 * flow.c (flow_loops_level_compute): Traverse all outer loops.
4959 (flow_loop_level_compute): Initialise level to 1.
4960 (flow_loops_find): Set loops->levels.
4961 (flow_loops_dump): Print loops->levels.
4962
4963 2000-01-23 Richard Henderson <rth@cygnus.com>
4964
4965 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
4966 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
4967
4968 2000-01-23 Richard Henderson <rth@cygnus.com>
4969
4970 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
4971 * i386.h (DBX_REGISTER_NUMBER): Use them.
4972 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
4973 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
4974 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
4975 * i386/sequent.h: Kill incorrect comment.
4976
4977 2000-01-23 Mark Mitchell <mark@codesourcery.com>
4978
4979 * ggc-page.c (struct page_entry): Make `context_depth' an
4980 `unsigned short'.
4981 (struct globals): Likewise.
4982
4983 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
4984
4985 * loop.c (check_dbra_loop): When checking a loop for
4986 reversability, check the source of any stores to ensure
4987 they don't depend on an initial value.
4988
4989 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4990
4991 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
4992
4993 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
4994
4995 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
4996 'pz_scan' into scope of entire function. Only affects
4997 compiles with -DDEBUG.
4998
4999 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
5000
5001 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
5002 section naming to that prior to 2000-01-07 patch.
5003 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
5004 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
5005 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
5006 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
5007 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
5008
5009 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
5010
5011 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
5012 constant.
5013
5014 2000-01-21 Jim Wilson <wilson@cygnus.com>
5015
5016 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
5017 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
5018
5019 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
5020
5021 * cpphash.c (change_newlines): Delete function.
5022 (struct argdata): Delete 'newlines' and 'use_count' fields.
5023 (macroexpand): Remove code referencing those fields.
5024
5025 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5026
5027 * loop.c (loops_info): New variable.
5028 (loop_optimize): Allocate loops->array and free it on exit.
5029 Allocate memory for loops_info and assign to each loop,
5030 replacing alloca.
5031 (find_and_verify_loops): Do not allocate loops->array.
5032
5033 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
5034
5035 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
5036
5037 2000-01-21 Jakub Jelinek <jakub@redhat.com>
5038
5039 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
5040 pseudos if expanded after first flow.
5041 (movdi_pic_label_ref): Likewise.
5042
5043 2000-01-20 Richard Henderson <rth@cygnus.com>
5044
5045 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
5046
5047 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
5048
5049 * Makefile.in (fixinc.sh): Depend on specs.
5050 * fixinc/Makefile.in: Add rule to create machname.h.
5051 (fixlib.o): Depend on machname.h.
5052 * fixinc/fixtests.c (machine_name): New test.
5053 * fixinc/fixfixes.c (machine_name): New fix.
5054 * fixinc/fixlib.c (mn_get_regexps): New helper function for
5055 the machine_name test and fix.
5056 * fixinc/fixlib.h: Prototype it.
5057 * fixinc/inclhack.def (machine_name): Use the C test and fix.
5058 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
5059
5060 * gcc.c (do_spec_1) [case P]: Take care not to create
5061 identifiers with three leading or trailing underscores.
5062
5063 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
5064 (fixincl): Don't specify libraries twice on link line.
5065 (gnu-regex.o): Remove special rule.
5066 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
5067 defined by config.h. Do not define _REGEX_RE_COMP.
5068 (regcomp): Allocate and initialize a fastmap.
5069 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
5070
5071 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
5072
5073 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
5074
5075 2000-01-19 Richard Henderson <rth@cygnus.com>
5076
5077 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
5078 arguments with BB. Update all callers. Tidy line wrapping.
5079
5080 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
5081
5082 * emit-rtl.c (try_split): Return last_insn if we split the
5083 last_insn.
5084
5085 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
5086
5087 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
5088 (ix86_initial_elimination_offset): Declare.
5089 * i386.c (ix86_nsaved_regs): Break out from ...
5090 (ix86_can_use_return_insn_p): ... here.
5091 (ix86_emit_save_regs): Break out from ...
5092 (ix86_expand_prologue): ... here.
5093 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
5094 out from ...
5095 (ix86_expand_epilogue): ... here.
5096 (ix86_compute_frame_size): Make static, add prototype.
5097 (ix86_initial_elimination_offset): Break out from ...
5098 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
5099
5100 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5101
5102 * recog.h (OUT_FCN): Delete.
5103
5104 * vax.md: Call `get_insn_template' instead of OUT_FCN.
5105
5106 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5107
5108 * cppalloc.c: PROTO -> PARAMS.
5109 * cpperror.c: Likewise.
5110 * cppfiles.c: Likewise.
5111 * cpplib.c: Likewise.
5112 * cpplib.h: Likewise.
5113
5114 * config/arm/arm-protos.h: PROTO -> PARAMS.
5115 * config/arm/arm.c: Likewise.
5116 * config/c4x/c4x.c: Likewise.
5117 * config/fr30/fr30-protos.h: Likewise.
5118 * config/nextstep.c: Likewise.
5119 * config/pa/pa.c: Likewise.
5120 * config/pj/pj.c: Likewise.
5121 * config/rs6000/rs6000.c: Likewise.
5122 * config/v850/v850-protos.h: Likewise.
5123 * config/v850/v850.c: Likewise.
5124
5125 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5126
5127 * i370-protos.h: New file.
5128
5129 * i370.c: Include tm_p.h. Fix compile time warnings.
5130
5131 * i370.h: Move prototypes to i370-protos.h. Fix compile time
5132 warnings.
5133
5134 * i370.md: Likewise.
5135
5136 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5137
5138 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
5139 (target_isinf, target_isnan, eisnan): Mark parameter with
5140 ATTRIBUTE_UNUSED.
5141 (eiisinf): Wrap in INFINITY.
5142 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
5143 (ibmtoe): Remove unused variable `rndsav'.
5144
5145 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5146
5147 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
5148 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
5149
5150 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
5151
5152 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
5153 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
5154 (fix_char_macro_defines, fix_char_macro_uses): New functions.
5155
5156 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
5157 Recognize Emacs mode markers also.
5158 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
5159 C++ comments in C++ headers. Call is_cxx_header only if
5160 necessary.
5161
5162 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
5163 bypass for ncurses.
5164 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
5165 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
5166 ... these, which use the new C fixes.
5167 (math_exception): Escape literal '+' in bypass expression.
5168
5169 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
5170 Regenerate.
5171
5172 2000-01-19 Geoff Keating <geoffk@cygnus.com>
5173
5174 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
5175 inside the MEM.
5176
5177 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5178
5179 * loop.c (loop_optimize): Allocate loop_info structure for each loop
5180 prior to calling scan_loop.
5181
5182 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5183
5184 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
5185 (split_branches, calc_live_regs): Likewise.
5186
5187 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5188
5189 * sh.md (fpu_single, fp_mode): New attributes.
5190
5191 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5192
5193 * loop.c (current_loop_info): Renamed from loop_info_data
5194 and changed to a pointer.
5195 (loop_optimize): Allocate loop_info structure for each loop
5196 and initialise to zero.
5197 (scan_loop): Set current_loop_info.
5198
5199 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
5200 on iteration_var.
5201
5202 2000-01-19 Richard Henderson <rth@cygnus.com>
5203
5204 * stupid.c: Die die die.
5205 * Makefile.in (OBJS): Remove stupid.o.
5206 (stupid.o): Likewise.
5207
5208 * except.c (emit_eh_context): Don't emit USEs for stupid.
5209 * explow.c (probe_stack_range): Likewise.
5210 * flags.h (obey_regdecls): Remove.
5211 * flow.c (find_basic_blocks): Don't run try_merge_blocks
5212 when not optimizing.
5213 (life_analysis): Limit data collection when not optimizing.
5214 (mark_regs_live_at_end): Always mark the return value registers.
5215 (mark_used_regs): Remove dummy RETURN case.
5216 (print_rtl_with_bb): Don't consult obey_regdecls.
5217 * function.c (use_variable, use_variable_after): Remove.
5218 (assign_parms): Consult optimize not obey_regdecls.
5219 (expand_function_start): Don't emit USEs for stupid.
5220 (expand_function_end): Likewise.
5221 * global.c (build_insn_chain): Export.
5222 * integrate.c (expand_inline_function): Kill return-value USE
5223 handling code.
5224 * jump.c (jump_optimize_1): Do simple jump optimizations and
5225 dead code elimination.
5226 (calculate_can_reach_end): Remove check_deleted argument.
5227 (delete_insn): Patch out insns even when not optimizing.
5228 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
5229 * rtl.h (use_variable, use_variable_after): Remove declarations.
5230 (build_insn_chain): Declare.
5231 * stmt.c (expand_value_return): Don't emit USEs for stupid.
5232 (expand_end_bindings): Likewise.
5233 (expand_decl): Likewise. Consult optimize not obey_regdecls.
5234 * toplev.c (obey_regdecls): Remove.
5235 (rest_of_compilation): Don't set it. Kill stupid in favour of
5236 flow1, local-alloc, and reload.
5237 (main): Don't set obey_regdecls.
5238
5239 * config/nextstep.c (handle_pragma): Likewise.
5240
5241 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
5242
5243 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
5244
5245 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5246
5247 * alpha-protos.h: PROTO -> PARAMS.
5248 * alpha.c: Likewise.
5249 * elf.h: Likewise.
5250 * h8300.c: Likewise.
5251 * i386-protos.h: Likewise.
5252 * i386.c: Likewise.
5253 * m32r-protos.h: Likewise.
5254 * m32r.c: Likewise.
5255 * mips.c: Likewise.
5256 * mips.md: Likewise.
5257 * gmon-sol2.c: Likewise.
5258 * sparc.c: Likewise.
5259
5260 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5261
5262 * ns32k-protos.h: New file.
5263
5264 * ns32k.c: Fix compile time warnings.
5265
5266 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
5267 warnings.
5268
5269 * ns32k.md: Likewise.
5270
5271 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5272
5273 * vax-protos.h: New file.
5274
5275 * vax.c: Fix compile time warnings.
5276
5277 * vax.h: Move prototypes to vax-protos.h. Fix compile time
5278 warnings.
5279
5280 * vax.md: Likewise.
5281
5282 * vaxv.md: Likewise.
5283
5284 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5285
5286 * romp-protos.h: New file.
5287
5288 * romp.c: Fix compile time warnings.
5289
5290 * romp.h: Move prototypes to romp-protos.h. Fix compile time
5291 warnings.
5292
5293 * romp.md: Likewise.
5294
5295 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5296
5297 * we32k-protos.h: New file.
5298
5299 * we32k.c: Fix compile time warnings.
5300
5301 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
5302 warnings.
5303
5304 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5305
5306 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
5307
5308 * except.c (eh_regs): Likewise.
5309
5310 * final.c (output_operand): Likewise.
5311
5312 * fold-const.c (target_isinf, target_isnan): Likewise.
5313
5314 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
5315
5316 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
5317 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
5318
5319 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
5320 when optimize_size.
5321 (clrstrsi): Rewrite.
5322 (strsethi, strsetqi): New expanders.
5323 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
5324 (cmpstrsi): Emit compare insn before cmpstrsi_1
5325 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
5326 (strlensi_1): Likewise.
5327 (cmpstrsi_1): Likewise; do not output compare.
5328 (strlen expander): Do not unroll when optimizing for size.
5329 (*subsi3_carry): Rename to subsi3_carry
5330 (addqi3_cc): New pattern.
5331 * i386.h (processor_costs): Add move_ratio field.
5332 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
5333 * i386.c (*_cost): Set move_ratio.
5334 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
5335 (x86_expand_strlensi_1): Rewrite the main loop.
5336
5337 2000-01-17 Richard Henderson <rth@cygnus.com>
5338
5339 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
5340 * cse.c (find_comparison_args, fold_rtx): Likewise.
5341 * integrate.c (subst_constants): Likewise.
5342 * loop.c (get_condition): Likewise.
5343
5344 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
5345
5346 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
5347
5348 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5349
5350 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
5351 (RESTORE_WARN_FLAGS): Unpack it.
5352 Change semantic type of extension to ttype.
5353 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
5354 * c-parse.y, c-parse.c, objc/objc-parse.y,
5355 objc/objc-parse.c: Regenerate.
5356
5357 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
5358
5359 * fixinc/fixlib.c: Add copyright notice.
5360 (compile_re): New function.
5361 * fixinc/fixlib.h: Prototype compile_re.
5362
5363 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
5364 Use compile_re to compile regular expressions.
5365
5366 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
5367 where the pattern matched.
5368
5369 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
5370 use 'replace'.
5371 (ultrix_ansi_compat): Likewise.
5372 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
5373 add egrep test.
5374 (interactv_add2, interactv_add3): Delete.
5375 (x11_sprintf): Don't use filename glob.
5376 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
5377 Regenerate.
5378
5379 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5380
5381 * print-rtl.c: PROTO -> PARAMS.
5382 * real.c: Likewise.
5383 * reg-stack.c: Likewise.
5384 * resource.c: Likewise.
5385 * sdbout.h: Likewise.
5386 * simplify-rtx.c: Likewise.
5387 * stor-layout.c: Likewise.
5388 * stupid.c: Likewise.
5389 * xcoffout.c: Likewise.
5390 * xcoffout.h: Likewise.
5391
5392 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5393
5394 * toplev.c: PROTO -> PARAMS.
5395 * toplev.h: Likewise.
5396 * tree.c: Likewise.
5397 * tree.h: Likewise.
5398 * unroll.c: Likewise.
5399 * varasm.c: Likewise.
5400 * varray.c: Likewise.
5401 * varray.h: Likewise.
5402
5403 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5404
5405 * reload.c: PROTO -> PARAMS.
5406 * reload.h: Likewise.
5407 * reload1.c: Likewise.
5408 * reorg.c: Likewise.
5409 * resource.h: Likewise.
5410 * rtl.c: Likewise.
5411 * rtl.h: Likewise.
5412 * rtlanal.c: Likewise.
5413 * sbitmap.h: Likewise.
5414 * sdbout.c: Likewise.
5415 * stack.h: Likewise.
5416 * stmt.c: Likewise.
5417 * system.h: Likewise.
5418
5419 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5420
5421 * machmode.h: PROTO -> PARAMS.
5422 * mbchar.h: Likewise.
5423 * mips-tdump.c: Likewise.
5424 * mips-tfile.c: Likewise.
5425 * optabs.c: Likewise.
5426 * output.h: Likewise.
5427 * prefix.c: Likewise.
5428 * profile.c: Likewise.
5429 * protoize.c: Likewise.
5430 * real.h: Likewise.
5431 * recog.c: Likewise.
5432 * recog.h: Likewise.
5433 * regclass.c: Likewise.
5434 * regmove.c: Likewise.
5435 * regs.h: Likewise.
5436
5437 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5438
5439 * ggc-common.c: PROTO -> PARAMS.
5440 * ggc-page.c: Likewise.
5441 * ggc-simple.c: Likewise.
5442 * ggc.h: Likewise.
5443 * global.c: Likewise.
5444 * graph.c: Likewise.
5445 * gthr-win32.h: Likewise.
5446 * haifa-sched.c: Likewise.
5447 * halfpic.h: Likewise.
5448 * integrate.c: Likewise.
5449 * integrate.h: Likewise.
5450 * jump.c: Likewise.
5451 * lcm.c: Likewise.
5452 * local-alloc.c: Likewise.
5453 * loop.c: Likewise.
5454 * loop.h: Likewise.
5455
5456 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5457
5458 * genattr.c: PROTO -> PARAMS.
5459 * genattrtab.c: Likewise.
5460 * gencheck.c: Likewise.
5461 * gencodes.c: Likewise.
5462 * genconfig.c: Likewise.
5463 * genemit.c: Likewise.
5464 * genextract.c: Likewise.
5465 * genflags.c: Likewise.
5466 * gengenrtl.c: Likewise.
5467 * genopinit.c: Likewise.
5468 * genoutput.c: Likewise.
5469 * genpeep.c: Likewise.
5470 * genrecog.c: Likewise.
5471
5472 2000-01-16 Mark Mitchell <mark@codesourcery.com>
5473
5474 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
5475
5476 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5477
5478 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
5479 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
5480 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
5481 * configure, config.in: Rebuilt.
5482
5483 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
5484
5485 * config/i386/i386.md: Add peephole to merge successive stack
5486 adjusts.
5487
5488 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
5489
5490 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
5491 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
5492 when walking backwards to find all the parameter loads when
5493 the basic block ends in a call.
5494
5495 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5496
5497 * loop.c (this_loop_info): Delete.
5498 (uid_loop): Add in place of uid_loop_num. All uses updated.
5499 (loop_number_exit_count): Delete and replace with entry in loop
5500 structure. All uses updated.
5501 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
5502 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
5503 (loop_outer_loop): Likewise.
5504 (loop_invalid, loop_number_exit_labels): Likewise.
5505 (loop_used_count_register): Delete and replace with entry in
5506 loop_info structure.
5507 (find_and_verify_loops): Add loops argument.
5508 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
5509 loop_end, etc. arguments with loop structure pointer. All callers
5510 changed.
5511 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
5512 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
5513 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
5514 (insert_bct): Likewise.
5515 (basic_induction_var): New argument level.
5516 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
5517 vtop, and cont. Add used_count_register.
5518 (uid_loop): Delete declaration.
5519 (loop_number_exit_count): Likewise.
5520 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
5521 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
5522 (loop_outer_loop, loop_used_count_register): Likewise.
5523 (loop_invalid, loop_number_exit_labels): Likewise.
5524 (unroll_loop): Replace loop_start and loop_end arguments
5525 with loop structure pointer.
5526 (loop_precondition_p, loop_iterations): Likewise.
5527 Include basic-block.h.
5528 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
5529 with loop structure pointer.
5530 (loop_precondition_p, loop_iterations): Likewise.
5531 * basic-block.h (struct loop): New entries vtop, cont,
5532 cont_dominator, start, end, top, scan_start, exit_labels,
5533 exit_count.
5534 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
5535
5536 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5537
5538 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
5539
5540 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
5541
5542 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
5543
5544 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5545
5546 * pdp11-protos.h: New file.
5547
5548 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
5549 time warnings.
5550
5551 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
5552 warnings.
5553
5554 * pdp11.md: Likewise.
5555
5556 * 2bsd.h: Likewise.
5557
5558 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5559
5560 * mn10300-protos.h: New file.
5561
5562 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
5563 time warnings.
5564
5565 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
5566 warnings.
5567
5568 * mn10300.md: Likewise.
5569
5570 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5571
5572 * mn10200-protos.h: New file.
5573
5574 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
5575 time warnings.
5576
5577 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
5578 warnings.
5579
5580 * mn10200.md: Likewise.
5581
5582 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5583
5584 * h8300-protos.h: New file.
5585
5586 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
5587 time warnings.
5588
5589 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
5590 warnings.
5591
5592 * h8300.md: Likewise.
5593
5594 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5595
5596 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
5597 (asm_emit_uninitialised): Likewise.
5598
5599 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
5600
5601 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
5602 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
5603
5604 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
5605
5606 * config/mips/mips.c (override_options): Don't turn on extra
5607 alignment for mips16.
5608
5609 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
5610
5611 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
5612 eabi, and make sure queued POSTINCREMENT rtl is emitted at
5613 the right point.
5614
5615 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
5616
5617 * builtins.c (PAD_VARARGS_DOWN): Define.
5618 (std_expand_builtin_va_arg): Use the above macro.
5619 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
5620 * tm.texi (Register Arguments): Document the above macro.
5621
5622 2000-01-14 Nick Clifton <nickc@cygnus.com>
5623
5624 * emit-rtl.c (emit_insn): If checking is enabled, make sure
5625 that this function has not been used to emit a jump
5626 instruction.
5627
5628 * jump.c (return_jump_1): Cope with being passed a null rtx.
5629
5630 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5631
5632 * eh-common.h: PROTO -> PARAMS.
5633 * emit-rtl.c: Likewise.
5634 * errors.c: Likewise.
5635 * errors.h: Likewise.
5636 * except.c: Likewise.
5637 * except.h: Likewise.
5638 * explow.c: Likewise.
5639 * expmed.c: Likewise.
5640 * expr.c: Likewise.
5641 * expr.h: Likewise.
5642 * final.c: Likewise.
5643 * fix-header.c: Likewise.
5644 * flow.c: Likewise.
5645 * fold-const.c: Likewise.
5646 * function.c: Likewise.
5647 * function.h: Likewise.
5648 * gcc.c: Likewise.
5649 * gcov-io.h: Likewise.
5650 * gcov.c: Likewise.
5651 * gcse.c: Likewise.
5652
5653 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5654
5655 * sh-protos.h: New file.
5656
5657 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
5658 Add static prototypes. Fix compile time warnings.
5659
5660 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
5661 * sh.md: Likewise.
5662 * elf.h: Likewise.
5663
5664 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5665
5666 * arc-protos.h: New file.
5667
5668 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
5669 time warnings.
5670
5671 * arc.h: Move prototypes to arc-protos.h. Fix compile time
5672 warnings.
5673
5674 * arc.md: Likewise.
5675
5676 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5677
5678 * dsp16xx-protos.h: New file.
5679
5680 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
5681 time warnings.
5682
5683 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
5684 warnings.
5685
5686 * dsp16xx.md: Likewise.
5687
5688 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5689
5690 * convex-protos.h: New file.
5691
5692 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
5693 time warnings.
5694
5695 * convex.h: Move prototypes to convex-protos.h. Fix compile time
5696 warnings.
5697
5698 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5699
5700 * elxsi-protos.h: New file.
5701
5702 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
5703 time warnings.
5704
5705 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
5706 warnings.
5707
5708 * elxsi.md: Likewise.
5709
5710 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
5711
5712 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
5713 case for moving from HI/LO/HI_LO_REG. This makes the behavior
5714 match the comment for MIPS16.
5715
5716 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
5717
5718 * flow.c (split_edge): Do not call set_block_for_insn if we
5719 do not have a basic_block_for_insn structure.
5720
5721 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
5722 and destination functions are 32bit aligned within the trampoline.
5723 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
5724 (TRAMPOLINE_ALIGNMENT): Define.
5725
5726 * cse.c (cse_insn): When changing (set (pc) (reg)) to
5727 (set (pc) (label_ref)), verify the change creates a valid insn.
5728
5729 * fr30.c (call_operand): Tighten and rework to match rules for
5730 call RTL expressions.
5731 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
5732 * fr30.md (call patterns): Improve constraints.
5733
5734 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
5735
5736 * fr30.c (fr30_expand_epilogue): Revert last change.
5737 Use emit_jump_insn for the return insn.
5738
5739 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
5740 Stan Cox <scox@cygnus.com>
5741
5742 * predict.c: New file. Preliminary infrastructure work for static
5743 branch prediction and basic block reordering.
5744 * basic-block.h: Add prototype for estimate_probability.
5745 * Makefile.in: Add rules for predict.o.
5746
5747 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
5748
5749 * fixincludes (va_list): Use __not_va_list__ for the dummy.
5750 * fixinc/*: Likewise.
5751
5752 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5753
5754 * cccp.c: PROTO -> PARAMS.
5755 * cexp.y: Likewise.
5756 * collect2.c: Likewise.
5757 * combine.c: Likewise.
5758 * convert.h: Likewise.
5759 * cse.c: Likewise.
5760 * dbxout.c: Likewise.
5761 * dbxout.h: Likewise.
5762 * diagnostic.c: Likewise.
5763 * doprint.c: Likewise.
5764 * dwarf2out.c: Likewise.
5765 * dwarf2out.h: Likewise.
5766 * dwarfout.c: Likewise.
5767 * dwarfout.h: Likewise.
5768 * dyn-string.h: Likewise.
5769
5770 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5771
5772 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
5773 macro conditionals guarding use.
5774
5775 * dwarf2out.c: Include "tm_p.h".
5776
5777 * function.c (locate_and_pad_parm): Mark parameter with
5778 ATTRIBUTE_UNUSED.
5779 (expand_function_end): Likewise for variable `context'.
5780
5781 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
5782
5783 2000-01-13 Nick Clifton <nickc@cygnus.com>
5784
5785 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
5786 register to prevent compile time warnings.
5787
5788 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
5789
5790 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
5791 to avoid -Wtraditional warning.
5792
5793 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5794
5795 * 1750a-protos.h: New file.
5796
5797 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
5798 time warnings.
5799
5800 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
5801 warnings.
5802
5803 * 1750a.md: Likewise.
5804
5805 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5806
5807 * a29k-protos.h: New file.
5808
5809 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
5810 time warnings.
5811
5812 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
5813 warnings.
5814
5815 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5816
5817 * clipper-protos.h: New file.
5818
5819 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
5820 time warnings.
5821
5822 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
5823 warnings.
5824
5825 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5826
5827 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
5828
5829 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
5830
5831 * configure.in (--enable-new-gxx-abi): New option.
5832 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
5833 * Makefile.in (GXX_ABI_FLAG): New variable.
5834 * configure: Regenerate.
5835
5836 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5837
5838 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
5839 * tm.texi (FORCE_STRUCT_BLK): Document.
5840 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
5841
5842 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
5843
5844 * config/ns32k/ns32k.md: Revert Jan 9 change.
5845
5846 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
5847 to a mode-test, if the predicate is address_operand.
5848
5849 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
5850
5851 * combine.c (if_then_else_cond): Be careful about what kinds
5852 of RTL expressions are passed to operand_subword.
5853
5854 * flow.c (split_edge): If we have to insert a new jump, make
5855 sure to associate it with a basic block.
5856
5857 * flow.c (commit_one_edge_insertion): A block with one successor
5858 can end in a JUMP_INSN that is not a simplejump.
5859
5860 2000-01-12 Robert Lipe <robertl@sco.com>
5861
5862 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
5863 (BUILD_VA_LIST_TYPE): Define.
5864 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
5865 with crtstuff.c.
5866
5867 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
5868
5869 * cccp.c (do_pragma): Add cast to (char *).
5870
5871 2000-01-12 Richard Henderson <rth@cygnus.com>
5872 Fred Fish <fnf@be.com>
5873 Jason Merrill <jason@cygnus.com>
5874
5875 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
5876 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
5877 * i386/beos-elf.h, i386/beos-pe.h: New files.
5878
5879 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
5880 * cross-make (SYSTEM_HEADER_DIR): Define using
5881 CROSS_SYSTEM_HEADER_DIR.
5882
5883 * gcc.c (LIBRARY_PATH_ENV): Provide default.
5884 (process_command): Use it.
5885 (main): Likewise. Kill trailing = from env vars.
5886 (build_search_list): Put it back.
5887 * collect2.c (main): Use LIBRARY_PATH_ENV.
5888
5889 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
5890 * toplev.c: Use NEED_DECLARATION_ENVIRON.
5891
5892 * tm.texi (Frame Layout): Document SMALL_STACK.
5893 * c-common.c (c_common_nodes_and_builtins): Check it.
5894
5895 * system.h: Undef alloca after including glibc's <stdlib.h>,
5896 if USE_C_ALLOCA is defined.
5897
5898 * gcc.c (set_input): New fn.
5899 (main): After all input files are compiled, reset the input file
5900 info to the first.
5901
5902 * aclocal.m4 (rindex, index): If already defined, don't attempt
5903 to redefine.
5904
5905 * ginclude/varargs.h: (__va_list__): Define ifndef.
5906 * ginclude/stdarg.h: Likewise.
5907
5908 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
5909 instead of unsigned char.
5910
5911 * hash.h (true, false, boolean): Undef before enum.
5912
5913 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
5914 proper type of "HOST_WIDE_INT *", rather than their natural type of
5915 "unsigned HOST_WIDE_INT *".
5916
5917 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5918
5919 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
5920
5921 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
5922
5923 * regclass.c (choose_hard_reg_mode): Likewise.
5924
5925 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
5926
5927 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
5928
5929 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5930
5931 * c-common.c: PROTO -> PARAMS.
5932 * c-common.h: Likewise.
5933 * c-decl.c: Likewise.
5934 * c-iterate.c: Likewise.
5935 * c-lang.c: Likewise.
5936 * c-lex.c: Likewise.
5937 * c-lex.h: Likewise.
5938 * c-parse.in: Likewise.
5939 * c-pragma.c: Likewise.
5940 * c-pragma.h: Likewise.
5941 * c-tree.h: Likewise.
5942 * c-typeck.c: Likewise.
5943 * objc/objc-act.c: Likewise.
5944 * objc/objc-act.h: Likewise.
5945
5946 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5947
5948 * m88k-protos.h: New file.
5949
5950 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
5951 time warnings.
5952
5953 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
5954
5955 * m88k.md: Likewise.
5956
5957 * tekXD88.h: Likewise.
5958
5959 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5960
5961 * m68k-protos.h: New file.
5962
5963 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
5964 time warnings.
5965
5966 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
5967
5968 * mot3300.h: Likewise.
5969
5970 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
5971
5972 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
5973 extract_bitlst.
5974 (extract_bitlist): Declare bitlen.
5975
5976 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
5977
5978 * cccp.c: Accept and ignore -lang-fortran.
5979
5980 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
5981 qualifiers don't match at any level of pointerness.
5982
5983 2000-01-12 Robert Lipe <robertl@sco.com>
5984
5985 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
5986
5987 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
5988
5989 * reload1.c (reload_reg_unavailable): New static variable.
5990 (reload_reg_free_p): Test it.
5991 (reload_reg_free_for_value_p): Test it instead of
5992 reload_reg_used.
5993 (choose_reload_regs_init): Compute it.
5994
5995 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
5996
5997 * reorg.c (fill_slots_from_thread): Check modified_in_p
5998 before replacing.
5999
6000 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
6001
6002 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
6003 these nodes even if INTERNALS is not set.
6004
6005 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
6006
6007 * gcse.c (delete_null_pointer_checks_1): Cope when
6008 get_condition cannot determine the condition.
6009
6010 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
6011
6012 * toplev.h (set_message_length): Declare.
6013
6014 * diagnostic.c (obstack_chunk_alloc): Define macro.
6015 (obstack_chunk_free): Likewise.
6016 (struct output_buffer): New data structure.
6017 (vmessage): Remove.
6018 (output_maximum_width): New variable.
6019 (doing_line_wrapping, set_message_length, init_output_buffer,
6020 get_output_prefix, output_space_left, emit_output_prefix,
6021 output_newline, output_append, output_puts, dump_output,
6022 vbuild_message_string, build_message_string, build_location_prefix,
6023 voutput_notice, output_printf, line_wrapper_printf,
6024 vline_wrapper_message_with_location): New functions. Implement
6025 automatic line wrapping.
6026 (v_message_with_decl): Make it handle automatic line wrapping.
6027 (v_error_with_file_and_line): Likewise.
6028 (v_warning_with_file_and_line): Likewise.
6029 (announce_function): Likewise.
6030 (default_print_error_function): Likewise.
6031
6032 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
6033
6034 * cpplib.h (struct cpp_options): Change lang_asm to char.
6035 Add lang_fortran.
6036 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
6037 done in cpp_handle_option now.
6038 (initialize_builtins): Take out special case code used only by
6039 __STDC_VERSION__.
6040 (cpp_handle_option): Turn off trigraphs and trigraph warnings
6041 if -traditional. Recognize -lang-fortran and set
6042 lang_fortran, also turn off cplusplus_comments.
6043 (print_help): Document -lang-fortran.
6044 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
6045 lang_asm. Ignore all directives other than `# 123 "file"' if
6046 CPP_PREPROCESSED.
6047 (cpp_get_token): If -traditional, don't recognize directives
6048 unless the # is in column 1.
6049 (parse_string): If lang_fortran or lang_asm, silently
6050 terminate strings ('' or "") at end of line.
6051 Remove unnecessary braces.
6052
6053 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6054 Richard Henderson <rth@cygnus.com>
6055
6056 * resource.c (mark_referenced_resources): Mark a set strict_low_part
6057 as used.
6058 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
6059 strict_low_part when possible.
6060
6061 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6062
6063 * alias.c: PROTO -> PARAMS.
6064 * basic-block.h: Likewise.
6065 * bitmap.c: Likewise.
6066 * bitmap.h: Likewise.
6067 * builtins.c: Likewise.
6068 * c-aux-info.c: Likewise.
6069 * caller-save.c: Likewise.
6070 * calls.c: Likewise.
6071
6072 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6073
6074 * Makefile.in (toplev.o): Depend on regs.h.
6075
6076 * output.h (tdesc_section): Prototype.
6077
6078 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
6079
6080 * sdbout.c: Include "tm_p.h".
6081
6082 * toplev.c: Include "regs.h".
6083
6084 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
6085
6086 * unroll.c (unroll_loop): Add EH support.
6087
6088 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6089
6090 * pa-protos.h: New file.
6091
6092 * pa.c: Include recog.h and tm_p.h.
6093 (compute_zdepwi_operands, compute_movstrsi_length,
6094 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
6095 find_addr_reg, import_milli): Add static prototypes.
6096 (pa_cpu_string, pa_arch_string): Constify a char*.
6097 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
6098 (read_only_operand): Add argument `mode'.
6099 (singlemove_string, output_move_double, output_fp_move_double,
6100 output_block_move, output_and, output_ior, output_ascii,
6101 remove_useless_addtr_insns, milli_names, output_mul_insn,
6102 output_div_insn, output_mod_insn, output_arg_descriptor,
6103 output_cbranch, output_bb, output_bvb, output_dbra, ,
6104 output_millicode_call, output_call, hppa_encode_label,
6105 output_parallel_movb, output_parallel_addb): Constify a char*.
6106 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
6107 (output_parallel_addb): Remove extra arg to `constrain_operands'
6108
6109 * pa.h: Move all prototypes to pa-protos.h.
6110 (pa_cpu_string, pa_arch_string): Constify a char*.
6111 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
6112
6113 * pa.md: Call `function_label_operand' with mode argument.
6114 Likewise for `read_only_operand'.
6115 Fix nesting of parens in call to `symbolic_operand'.
6116
6117 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6118
6119 * i860-protos.h: New file.
6120
6121 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
6122 time warnings.
6123
6124 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
6125
6126 * i860.md: Likewise.
6127
6128 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
6129
6130 * i386.md (movstrsi expander): Rewrite.
6131 (movstrsi_1 insn): Deleted.
6132 (strmovhi, strmovqi expander): New expanders.
6133 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
6134 * i386.c (x86_single_stringop): New global variable.
6135 * i386.h (x86_single_stringop): Declare.
6136 (TARGET_SINGLE_STRINGOP): New macro.
6137
6138 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
6139
6140 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
6141 integer vararg POSTINCREMENT before the destination of the jump
6142 for the hard fp case.
6143 (function_arg_pass_by_reference): Pass a copy of CUM to
6144 FUNCTION_ARG.
6145
6146 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
6147 for CONSTANT_ADDRESS_P above while loop for subreg.
6148
6149 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
6150
6151 * flow.c (propagate_block): When a prologue/epilogue insn
6152 is marked dead, unconditionally clear libcall_is_dead and
6153 insn_is_dead, and only dump rtl if warnings aren't being
6154 suppressed.
6155
6156 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
6157
6158 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
6159 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
6160 (FIXED_REGISTERS): Set dirflag as fixed.
6161 (CALL_USED_REGISTERS): Set dirflag as used.
6162 (REG_ALLOC_ORDER): Set dirflag as last one.
6163 (DIRFLAG_REG): New macro.
6164 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
6165 (HI_REGISTER_NAMES): Add dirflag.
6166 (DEBUF_PRINT_REG): Handle dirflag.
6167 * i386.md (type attribute): New cld and str types.
6168 (length_opcode attribute): Set cld and str to 1.
6169 (memory attribute): Set str to unknown - it is not clear from the
6170 patterns.
6171 (pent_np function unit): Prefixed string operations takes 12 cycles
6172 minimally; cld takes 2 cycles.
6173 (ppro_uops attribute): Str is "many" and cld is "few".
6174 (ppro_p0 unit): Handle cld here.
6175 (k6_alux unit): Handle cld and str types.
6176 (k6_load unit): It is ocupied by str opcodes.
6177 (k6_store unit): It is ocupied by str opcodes.
6178 (athlon_decode): Str is vector decoded.
6179 (athlon_ieu): Handle str and cld.
6180 (cld pattern): New.
6181 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
6182 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
6183 cmpstrsi_nz_1 insn): Do not output cld instruction
6184
6185 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
6186
6187 * gcc.texi (G++ and GCC): Add Java and Chill.
6188 (Bug Critera): Don't list languages.
6189
6190 * gcc.texi (Incompatibilities): No longer claim most C compilers
6191 are K&R.
6192
6193 * gcc.texi (G++ and GCC): Update other front-ends list.
6194
6195 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
6196
6197 * i386.c (ix86_expand_setcc): Fix typo.
6198 (ix86_expand_movcc): Similarly.
6199
6200 * Band-aid until haifa's bitset implementation is nuked.
6201 * haifa-sched.c (extract_bitlst): New parameter for size of the
6202 bitset in bits. All callers changed. Avoid looking at undefined
6203 bits in the bitset.
6204 (edgeset_bitsize): New variable.
6205 (schedule_region): Initialize edgeset_bitsize.
6206
6207 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6208
6209 * Makefile.in (optabs.o): Depend on real.h
6210 (resource.o): Depend on insn-attr.h
6211
6212 * builtins.c (result_vector): Wrap prototype in macro conditions
6213 governing definition and use.
6214
6215 * c-common.c: Include tm_p.h.
6216
6217 * c-lex.c: Likewise.
6218
6219 * elfos.h: Constify a char*.
6220
6221 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
6222 (get_attr_length, shorten_branches, profile_after_prologue): Mark
6223 parameter with ATTRIBUTE_UNUSED.
6224
6225 * fold-const.c (exact_real_inverse): Wrap variable `i' in
6226 CHECK_FLOAT_VALUE.
6227
6228 * haifa-sched.c (schedule_insns): Mark parameter with
6229 ATTRIBUTE_UNUSED.
6230
6231 * optabs.c: Include real.h.
6232
6233 * real.h (ereal_atof): Add prototype arguments.
6234
6235 * resource.c: Include insn-attr.h.
6236
6237 * sdbout.c (sdbout_queue_anonymous_type,
6238 sdbout_dequeue_anonymous_types): Wrap in macro
6239 SDB_ALLOW_FORWARD_REFERENCES.
6240 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
6241 ATTRIBUTE_UNUSED.
6242
6243 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
6244
6245 * stupid.c: Include tm_p.h.
6246
6247 * tree.c (real_value_from_int_cst): Mark parameter with
6248 ATTRIBUTE_UNUSED.
6249
6250 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6251
6252 * i960-protos.h: New file.
6253
6254 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
6255 time warnings.
6256
6257 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
6258
6259 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6260
6261 * combine.c (expand_field_assignment): Do not discard SUBREGs
6262 while computing nonzero_bits.
6263
6264 2000-01-09 Nick Clifton <nickc@cygnus.com>
6265
6266 * config/arm/arm.c: Fix compile time warnings about signed vs
6267 unsigned constants.
6268 * config/arm/arm.h: Fix compile time warnings about signed vs
6269 unsigned constants.
6270
6271 2000-01-09 Philip Blundell <philb@gnu.org>
6272
6273 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
6274 than `ldm' with only one register.
6275 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
6276 only one register.
6277
6278 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
6279 clobbered.
6280
6281 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
6282
6283 * config/ns32k/ns32k.md (load or push effective address): Operand 1
6284 must have SImode.
6285
6286 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6287
6288 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
6289 assignment used as truth value.
6290
6291 * function.c (assign_temp): Mark parameter `dont_promote' with
6292 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
6293 PROMOTE_FOR_CALL_ONLY.
6294
6295 * genrecog.c (write_subroutine): Mark variable `operands' with
6296 ATTRIBUTE_UNUSED.
6297
6298 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
6299 ATTRIBUTE_UNUSED.
6300
6301 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
6302 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
6303
6304 * toplev.c (note_deferral_of_defined_inline_function): Likewise
6305 for `decl'.
6306
6307 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6308
6309 * config/c4x.h: Tidy up comments.
6310 * config/c4x.c: Likewise.
6311
6312 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
6313
6314 * fold-const.c (lshift_double, rshift_double): Handle
6315 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
6316
6317 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6318
6319 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
6320 in prepare_function_start().
6321
6322 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
6323
6324 * config/v850/v850.c (expand_epilogue): Interrupt functions no
6325 longer allocate extra stack for function calls.
6326
6327 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6328
6329 * config/c4x/c4x.md (*subqf3_set): Fix typo.
6330
6331 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6332
6333 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
6334
6335 2000-01-07 David Edelsohn <edelsohn@gnu.org>
6336
6337 * rs6000.c (processor_target_table): Add power3 as alias for 630.
6338 * aix43.h: Revert Aug 2 change.
6339 (HAS_INIT_SECTION): Define, not visible yet.
6340 (LD_INIT_SWITCH): Define, not visible yet.
6341 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
6342
6343 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
6344
6345 * collect2.c (main): Expand ld2 size further.
6346 (export_object_lst): Cast assignment to avoid warning.
6347 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
6348 (scan_prog_file, COFF): Do not collect initialization or
6349 finalization functions generated for entire shared object if
6350 init/fini support present.
6351
6352 2000-01-07 Nick Clifton <nickc@cygnus.com>
6353
6354 * config/elfos.h: Tidy up formatting of marcos. Make sure
6355 that .section directives are always prefixed by a tab.
6356
6357 * config/svr4.h: Add #include "elfos.h" and remove duplicate
6358 definitions.
6359
6360 2000-01-07 Matt Austern <austern@sgi.com>
6361
6362 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
6363 expon.
6364
6365 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
6366
6367 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
6368 crtstuff.c.
6369 (crtbegin.o, s-crtS): Likewise.
6370
6371 2000-01-06 Richard Henderson <rth@cygnus.com>
6372
6373 * alpha.md (adddi_2+1): Limit offset such that it will be
6374 loadable with a single ldah+lda pair.
6375 (adddi_2+2): Explicitly fail split if we can't make it work.
6376
6377 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
6378
6379 * protoize.c: Conditionally include unistd.h.
6380 (IS_SAME_PATH_CHAR): New macro.
6381 (IS_SAME_PATH): New macro.
6382 (CPLUS_FILE_SUFFIX): New macro.
6383 (cplus_suffix): New static variable.
6384 (is_abspath): New static function.
6385 (in_system_include_dir): Handle DOS style pathnames.
6386 (file_could_be_converted): Likewise.
6387 (file_normally_convertible): Likewise.
6388 (directory_specified_p): Likewise.
6389 (file_excluded_p): Likewise.
6390 (abspath): Likewise.
6391 (shortpath): Likewise.
6392 (referenced_file_is_newer): Likewise.
6393 (save_def_or_dec): Likewise.
6394 (do_processing): Likewise.
6395 (main): Likewise.
6396 (edit_file): Likewise. Use rename instead of link.
6397 (rename_c_file): Likewise. Don't rename syscalls file.
6398 (munge_compile_params): Define null device for DOS based systems.
6399 (process_aux_info_file): Use binary mode if appliable.
6400 (edit_file): Likewise.
6401 * invoke.texi (Running Protoize): Document C++ suffixes used.
6402
6403 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
6404 IS_DIR_SEPARATOR macros.
6405 * collect2.c: Likewise.
6406 * cppinit.c: Likewise.
6407 * dwarf2out.c: Likewise.
6408 * gcc.c: Likewise.
6409 * gcov.c: Likewise.
6410 * prefix.c: Likewise.
6411 * rtl.c: Likewise.
6412 * toplev.c: Likewise.
6413 * system.h: And move to here.
6414
6415 * prefix.c (update_path): Fix typo in variable name.
6416
6417 2000-01-06 Richard Henderson <rth@cygnus.com>
6418
6419 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
6420 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
6421 (count_reg_sets_1, count_reg_references): Likewise.
6422 (flow_loops_level_compute): Start counting actual loop depth at 1.
6423 (flow_loops_find): Likewise.
6424 * local-alloc.c (update_equiv_regs): Likewise.
6425 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
6426
6427 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6428
6429 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
6430 FIRST_PSEUDO_REGISTER
6431 * dwarf2out.c: Don't include frame.h
6432 * dwarfout.c: Likewise
6433 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
6434 frame.h
6435
6436 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
6437
6438 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
6439 dead registers.
6440
6441 * i386.c (movsf splitter): Fix typo in my last checkin.
6442
6443 2000-01-05 Nick Clifton <nickc@cygnus.com>
6444
6445 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
6446 own definition of this macro.
6447 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
6448 flag_data_sections or UNIQUE_SECTION_P are true.
6449
6450 * tm.texi (UNIQUE_SECTION): Document that it can be called for
6451 unitialised data decls.
6452
6453 * config/i386/winnt.c (i386_pe_unique_section): Cope with
6454 being called for uninitialised data.
6455
6456 * config/i386/interix.c (i386_pe_unique_section): Cope with
6457 being called for uninitialised data.
6458
6459 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
6460 for uninitialised data.
6461
6462 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
6463 for uninitialised data.
6464
6465 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
6466 for uninitialised data.
6467
6468 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
6469 (UNIQUE_SECTION_P): Always generate a unique section if
6470 flag_data_sections is true.
6471 (UNIQUE_SECTION): Also generate unique sections for
6472 uninitialised data.
6473 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
6474 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
6475 named_section().
6476
6477 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6478
6479 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
6480 SI, or DI.
6481
6482 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6483
6484 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
6485 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
6486 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
6487 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
6488 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
6489
6490 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
6491
6492 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
6493
6494 * c-decl.c (finish_enum): Simplify code to determine minimum and
6495 maximum values of the enum, and calculate the type. Remove check
6496 for FUNCTION_DECLs in the values list, which cannot happen. Replace
6497 the DECL_INITIAL of each enumeration constant with a copy converted
6498 to the enumeration type. When updating variant types, don't bother
6499 updating the type itself.
6500
6501 * c-typeck.c (build_binary_op): Simplify conditional expressions
6502 when weeding out spurious signed-unsigned warnings. Add new
6503 spurious warning category: if the unsigned quantity is an enum
6504 and its maximum value fits in signed_type(result_type). Update
6505 commentary.
6506 (build_conditional_expr): Warn here if one alternative is signed
6507 and the other is unsigned.
6508
6509 2000-01-05 Nick Clifton <nickc@cygnus.com>
6510
6511 * config/fr30/fr30.h: Remove extraneous comments.
6512
6513 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
6514
6515 * reload1.c (choose_reload_regs): When disabling a reload, also
6516 set reload_spill_index to -1.
6517
6518 2000-01-04 Joel Sherrill (joel@OARcorp.com>
6519
6520 * configure.in (m68*-*-rtemscoff*): New target, formal name for
6521 old m68*-*-rtems*.
6522 (m68*-*-rtemself*): New target.
6523 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
6524 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
6525 (sparc*-*-rtemself*): New target.
6526 (sparc*-*-rtems*): Now elf not a.out.
6527 * config/i386/rtems.h: Include config/rtems.h.
6528 * config/i386/rtemself.h: Include config/rtems.h.
6529 * config/i960/rtems.h: Include config/rtems.h.
6530 * config/m68k/rtems.h: Include config/rtems.h.
6531 * config/m68k/rtemself.h: Include config/rtems.h.
6532 * config/mips/rtems64.h: Include config/rtems.h.
6533 * config/pa/rtems.h: Include config/rtems.h.
6534 * config/rs6000/rtems.h: Include config/rtems.h.
6535 * config/sh/rtems.h: Include config/rtems.h.
6536 * config/sh/rtemself.h: Include config/rtems.h.
6537 * config/sparc/rtems.h: Include config/rtems.h.
6538 * config/sparc/rtemself.h: Include config/rtems.h
6539
6540 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
6541
6542 * final.c (shorten_branches): Correctly compute length of
6543 asms without operands.
6544
6545 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
6546
6547 * configure.in: Add pj target.
6548 * configure: Regenerate.
6549 * config/pj: New directory.
6550 * config/pj/lib1funcs.S: New file.
6551 * config/pj/linux.h: New file.
6552 * config/pj/pj.c: New file.
6553 * config/pj/pj.md: New file.
6554 * config/pj/pjl.h: New file.
6555 * config/pj/t-pj: New file.
6556 * config/pj/xm-pj.h: New file
6557
6558 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
6559
6560 * toplev.c (rest_of_compilation): Run shorten-branches before
6561 reg-stack for now.
6562
6563 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6564
6565 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
6566 macros so that they're consistent with their names.
6567 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
6568 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
6569
6570 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6571
6572 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
6573 modified inadvertently.
6574
6575 2000-01-04 Joel Sherrill <joel@OARcorp.com>
6576
6577 * configure.in (v850*-*-rtems*): New target.
6578 * configure: Regenerate.
6579 * config/v850/rtems.h: New file.
6580
6581 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
6582
6583 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
6584 (__gthread_key_create): Likewise.
6585 (__gthread_key_dtor): Likewise.
6586 (__gthread_once): Fix logic.
6587 (__gthread_key_delete): Cast away constness.
6588
6589 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
6590 * invoke.texi: Document.
6591 * i386/mingw32.h (CPP_SPEC): Use.
6592 (LIBGCC_SPEC): Likewise.
6593 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
6594
6595 2000-01-04 David Edelsohn <edelsohn@gnu.org>
6596
6597 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
6598 (HANDLE_PRAGMA_PACK): Undefine.
6599 (SLOW_UNALIGNED_ACCESS): Define.
6600
6601 2000-01-04 David Edelsohn <edelsohn@gnu.org>
6602
6603 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
6604 to default definition.
6605 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
6606 (store_fixed_bit_field): Call macro with word_mode and alignment.
6607 (extract_bit_field): Call macro with relevant mode and alignment.
6608 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
6609 to default definition.
6610 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
6611 and alignment.
6612 (move_by_pieces_ninsns): Likewise.
6613 (clear_by_pieces): Likewise.
6614 (emit_push_insn): Likewise.
6615 (store_field): Call macro with relevant mode and alignment.
6616 (expand_expr): Likewise.
6617 (expand_expr_unaligned): Likewise.
6618
6619 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
6620 (SLOW_UNALIGNED_ACCESS): Define.
6621 (CASE_VECTOR_MODE): Always use 32-bit offsets.
6622 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
6623 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
6624 (toc_section): Likewise and .toc pseudo-op.
6625 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
6626 64-bit mode.
6627 (TEXT_SECTION_ASM_OP): Likewise.
6628 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
6629 32-bit offsets.
6630
6631 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
6632 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
6633 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
6634 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
6635 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
6636
6637 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
6638
6639 * regclass.c: Revert my Jan 4 change to loop cost computation.
6640
6641 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
6642
6643 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
6644 compilation.
6645
6646 2000-01-04 Stan Cox <scox@cygnus.com>
6647
6648 * haifa-sched.c (build_control_flow): Change unreachable simple
6649 loop test to check if current block has only one predecessor.
6650 (find_rgns): Initialize degree. Use dest as degree index, not src.
6651
6652 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6653
6654 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
6655
6656 * calls.c (expand_call): Likewise for
6657 `old_stack_arg_under_construction'.
6658
6659 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
6660
6661 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
6662 `save_constant'.
6663
6664 * gcc.c (execute): Likewise for `ut' and `st'.
6665
6666 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
6667
6668 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
6669
6670 * jump.c (jump_optimize_1): Likewise for `temp2'.
6671
6672 * local-alloc.c (block_alloc): Likewise for `r1'.
6673
6674 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
6675
6676 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
6677 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
6678
6679 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
6680 and `set2'.
6681
6682 * reload.c (find_reloads): Likewise for `goal_alternative_number'
6683 and `goal_earlyclobber'.
6684
6685 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
6686
6687 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
6688
6689 * stupid.c (stupid_life_analysis): Likewise for `chain'.
6690
6691 * unroll.c (copy_loop_body): Likewise for `copy'.
6692
6693 * varasm.c (output_constructor): Likewise for `byte'.
6694
6695 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
6696
6697 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
6698 all FP constants for constant->reg moves.
6699 (ix86_split_to_parts): Try to convert memory address into immediate
6700 when available in the constant pool.
6701 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
6702 moves.
6703 (LEGITIMATE_CONSTANT_P): Return 1.
6704 * i386.md (pushsf): New splitter to convert constant pool memory
6705 reference to immediate.
6706 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
6707 reload.
6708
6709 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
6710
6711 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
6712 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
6713 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
6714 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
6715 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
6716
6717 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
6718
6719 * ginclude/stdbool.h: Support compilation as C++.
6720
6721 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6722
6723 * fold-const.c (make_range): Don't try to reverse an unbounded range.
6724
6725 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
6726
6727 * regclass.c (regclass): Properly compute loop_cost. Adjust
6728 comments.
6729
6730 * regclass.c: Fix minor whitespace problems.
6731
6732 2000-01-03 Anthony Green <green@cygnus.com>
6733
6734 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
6735 Restore the pic register if required.
6736
6737 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
6738
6739 * c-common.c (format_char_info): Update comment.
6740 (check_format_info): Recognize 'z' modifier in the same way 'Z'
6741 was recognized. Emit warning for formats new in ISO C99 only
6742 if flag_isoc9x is not set.
6743
6744 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
6745
6746 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
6747
6748 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
6749
6750 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
6751 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
6752 (make_compound_operation): Choose cheaper alternative between
6753 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
6754
6755 * regclass.c (op_costs): Remove global variable.
6756 (record_reg_classes): New parameter "op_costs" and "reg_pref".
6757 (record_operand_costs): Break out from ...
6758 (scan_one_insn): ... here.
6759 (dump_regclass): Make dumps nicer.
6760 (regclass): Dump preferrences choosed and changes done during passes.
6761
6762 2000-01-03 Jakub Jelinek <jakub@redhat.com>
6763
6764 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
6765
6766 2000-01-03 Jakub Jelinek <jakub@redhat.com>
6767
6768 * config/sparc/sparc.c (gen_df_reg): New function.
6769 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
6770 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
6771 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
6772 movtf_cc_reg_sp64+1): Use it.
6773
6774 2000-01-02 Mark Mitchell <mark@codesourcery.com>
6775
6776 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
6777 copied LABEL_DECLs.
6778
6779 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
6780
6781 * config/i386/i386.c (ix86_expand_unary_operator): Function
6782 definition made void.
6783 (ix86_expand_binary_operator): Update outdated preceding comment.
6784 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
6785 prototype.
6786
6787 * config/i386/i386.c (override_options): Fix option-name typo.
6788
6789 2000-01-02 Mark Mitchell <mark@codesourcery.com>
6790
6791 * system.h (CEIL): Define.
6792 * builtins.c (CEIL): Remove.
6793 * expmed.c (CEIL): Likewise.
6794 * expr.c (CEIL): Likewise.
6795 * stor-layout.c (CEIL): Likewise.
6796
6797 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6798
6799 * expr.c (store_constructor_field): Fix typo introduced with last
6800 gcc2 merge.
6801
6802 2000-01-01 Mark Mitchell <mark@codesourcery.com>
6803
6804 * tree.h (BINFO_N_BASETYPES): New macro.
6805
6806 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
6807
6808 * expmed.c (emit_store_flag): Prevent losing a pending stack
6809 adjust the same way we prevent losing queued increments.
6810
6811 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6812
6813 * function.c (update_temp_slot_address): Handle case where sum of
6814 temporary address plus offset in register is a valid address.
6815
6816 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6817
6818 * genrecog.c (change_state) Corrected typo.
6819
6820 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6821
6822 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
6823 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
6824 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
6825
6826 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
6827
6828 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
6829 case, expand GT comparisons correctly. Fix a comment before this
6830 part of the code.
6831
6832 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6833
6834 * dwarfout.c: Include "frame.h"
6835 * dwarf2out.c: Likewise.
6836 * Makefile.in (dwarfout.o): Depend on frame.h
6837 (dwarf2out.o): Likewise.
6838
6839 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
6840
6841 Restore i386 binary compatibility in Dwarf EH info.
6842 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
6843 value of FIRST_PSEUDO_REGISTER.
6844 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
6845 (struct frame_state): Use DWARF_FRAME_REGISTERS.
6846 * dwarfout.c (output_reg_number): Ditto.
6847 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
6848 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
6849
6850 1999-12-29 Bruce Korb <autogen@linuxbox.com>
6851
6852 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
6853 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
6854 (<hack>_RE_CT): not needed
6855 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
6856 rewritten to scan the file text once only
6857 "template<..." test added
6858 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
6859 (is_cxx_header): declaration added
6860 * fixinc/fixtests.c(is_cxx_header): removed
6861 (apply_fix_p_t): removed
6862 (double_slash_test): is_cxx_header is only called once now
6863 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
6864 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
6865 within the templates.
6866 The borken spelling of "broken" was fixed.
6867 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
6868 The default level depends on FIXINC_DEBUG.
6869
6870 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6871
6872 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
6873 Otherwise provide a declaration for atexit.
6874 (init_dummy): Make sure dummy call to atexit is nevertheless
6875 called with correct number of args.
6876
6877 * frame.c: Update comments referring to other files.
6878
6879 * libgcc2.c: Likewise.
6880
6881 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6882
6883 * cse.c (free_element, get_element): Remove unused prototypes.
6884
6885 * fold-const.c (extract_muldiv): Initialize variables `op0' and
6886 `op1'.
6887
6888 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
6889 `else' clauses.
6890
6891 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
6892
6893 * configure.in,configure: case arm for mn10200-*-* now sets
6894 float_format=i32 so that float.h will correctly claim "double"
6895 to be 32 bits. Ran autoconf to generate configure from .in file.
6896
6897 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
6898
6899 * pa.md (conditional zero): If op1 is a register, force it into
6900 the same register as op0.
6901
6902 1999-12-28 Mark Mitchell <mark@codesourcery.com>
6903
6904 * tree.h (BINFO_BASETYPES): Improve documentation.
6905
6906 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6907
6908 * configure.in (--enable-checking): Use a more portable `for'
6909 loop syntax.
6910
6911 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6912
6913 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
6914 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
6915
6916 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
6917 Delete files.
6918
6919 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
6920 Delete descriptions.
6921
6922 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
6923 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
6924 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
6925 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
6926 xm-svr4.h: Remove all instances of sys_siglist handling.
6927
6928 1999-12-27 Jakub Jelinek <jakub@redhat.com>
6929
6930 * config/sparc/sparc.md (cmp_zero_qi,
6931 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
6932 cmp_zero_extendqidi2_andcc_set): New patterns.
6933
6934 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
6935
6936 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
6937 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
6938 (fpgnulib.c, xfgnulib.c): Add rules.
6939 * m68k/t-mot3300-gas: Likewise.
6940
6941 1999-12-27 Ian Lance Taylor <ian@zembu.com>
6942
6943 * configure.in: Avoid [[ by using test and changequote. Add
6944 changequote required by 1999-12-14 change.
6945 * configure: Rebuild.
6946
6947 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
6948
6949 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
6950
6951 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
6952
6953 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
6954 * flow.c (find_use_as_address): Likewise.
6955 * function.c (fixup_var_refs_1): Likewise.
6956 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
6957 * jump.c (invert_exp, redirect_exp): Likewise.
6958 * loop.c (replace_call_address): Likewise.
6959 (count_nonfixed_reads): Likewise.
6960 * rtlanal.c (modified_between_p): Likewise.
6961 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
6962 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
6963 * unroll.c (remap_split_bivs): Likewise.
6964
6965 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6966
6967 * diagnostic.c (v_message_with_decl): Use .* format specifier
6968 instead of building the format specifier width manually.
6969
6970 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
6971 determining whether to provide a prototype. Remove the
6972 sys_siglist clause in the conditional.
6973
6974 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6975
6976 * fold-const.c (operand_equal_p): Use memcmp to compare string
6977 constants.
6978 Suggested by D. J. Bernstein
6979
6980 1999-12-17 Jakub Jelinek <jakub@redhat.com>
6981
6982 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
6983 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
6984 compiling libgcc2.
6985 * config/mips/mips.h (TARGET_64BIT): Likewise.
6986 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
6987 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
6988 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
6989 dsps. Give routines proper names if SI/DI modes are not used.
6990 * longlong.h: Use DWunion instead of DIunion.
6991
6992 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
6993
6994 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
6995 GC_CHECKING, GC_ALWAYS_COLLECT.
6996 * configure.in: Allow --enable-checking with an argument
6997 listing check modes to enable.
6998 * config.in, configure: Rebuilt.
6999 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
7000 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
7001 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
7002 ENABLE_GC_ALWAYS_COLLECT.
7003 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
7004 throughout.
7005 * tree.h, tree.c: Change ENABLE_CHECKING to
7006 ENABLE_TREE_CHECKING throughout.
7007
7008 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7009
7010 * fold-const.c (fold_truthop): Properly check for FP RHS.
7011
7012 1999-12-24 Mark Mitchell <mark@codesourcery.com>
7013
7014 * toplev.h (note_deferall_of_defined_inline_function): Declare.
7015 * toplev.c (note_deferral_of_defined_inline_function): New
7016 function, split out from ...
7017 (rest_of_compilation): ... here. Use it.
7018
7019 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7020
7021 * expr.c (store_constructor): Don't call clear_storage if size is
7022 variable.
7023
7024 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7025
7026 * Makefile.in (toplev.o): Depend on loop.h.
7027
7028 * dwarfout.c: Include tm_p.h.
7029
7030 * emit-rtl.c (restore_emit_status): Mark parameter with
7031 ATTRIBUTE_UNUSED.
7032
7033 * final.c (final_scan_insn): Likewise.
7034
7035 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
7036 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
7037 flow_depth_first_order_compute, flow_loop_pre_header_find,
7038 flow_loop_tree_node_add, flow_loops_tree_build,
7039 flow_loop_level_compute, flow_loops_level_compute,
7040 flow_loop_outside_edge_p): Add prototypes.
7041 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
7042
7043 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
7044 Mark with ATTRIBUTE_NORETURN.
7045
7046 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
7047
7048 * local-alloc.c (no_conflict_p): Likewise.
7049
7050 * loop.c (insert_bct): Hide definitions of variables with hidden
7051 usage.
7052 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
7053
7054 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
7055 with ATTRIBUTE_UNUSED.
7056 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
7057 (reg_scan): Likewise.
7058
7059 * reload.c (find_reloads): Remove unused variables `changed'.
7060
7061 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
7062 away const-ness.
7063 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
7064 Remove unused variable `insn'.
7065
7066 * toplev.c: Include loop.h.
7067 (report_file_and_line): Remove unnecessary prototype.
7068
7069 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
7070
7071 * unroll.c (biv_total_increment): Likewise.
7072
7073 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7074
7075 * reload1.c (emit_input_reload_insns): Restore old behaviour
7076 wrt. 'special' reloads.
7077
7078 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
7079
7080 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
7081 hash.h. (cse.c): Don't depend on hashtab.h.
7082
7083 * cse.c: Don't include hashtab.h.
7084 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
7085 of dead functions.
7086 * ggc-simple.c: Don't include hash.h.
7087
7088 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
7089
7090 * dwarf2out.c (add_abstract_origin_attribute): Call
7091 gen_abstract_function on our function context.
7092
7093 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
7094
7095 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
7096
7097 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7098
7099 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
7100 case in switch.
7101
7102 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7103
7104 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
7105 constraints to "a!r".
7106
7107 1999-12-21 Mark Mitchell <mark@codesourcery.com>
7108
7109 * Makefile.in (calls.o): Depend on function.h.
7110 (alias.o): Likewise.
7111
7112 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
7113
7114 * reload1.c (emit_reload_insns): Break out code and variables into...
7115 (input_reload_insns, other_input_address_reload_insns,
7116 other_input_reload_insns, input_address_reload_insns,
7117 inpaddr_address_reload_insns, output_reload_insns,
7118 output_address_reload_insns, outaddr_address_reload_insns,
7119 operand_reload_insns, other_operand_reload_insns,
7120 other_output_reload_insns): ... new static variables, and...
7121 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
7122 do_output_reload): ... new functions.
7123
7124 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7125
7126 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
7127
7128 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7129
7130 * md.texi: Add c4x constraints documentation.
7131
7132 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7133
7134 * config/i386/dgux.c (struct option): Rename to
7135 lang_independent_option.
7136 (struct m_options): Add description field.
7137 (output_options): Rename option type, add sep declaration, output
7138 ix86_cpu_string and ix86_arch_string only if set.
7139 (output_file_start): Rename option type.
7140
7141 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
7142
7143 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
7144 stmp-int-hdrs.
7145 (libgcc2.a): Similarly.
7146
7147 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
7148
7149 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
7150 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
7151 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
7152
7153 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
7154
7155 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
7156 Remove redundant initialization of "frexpon" and "expon".
7157
7158 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7159
7160 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
7161
7162 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
7163 (store_constructor_field, expand_expr): Pass new arg.
7164
7165 1999-12-20 Mark Mitchell <mark@codesourcery.com>
7166
7167 * Makefile.in (explow.o): Depend on function.h.
7168
7169 * stor-layout.c (set_sizetype): Fix typo.
7170
7171 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
7172
7173 * function.c (cfun): Renamed from current_function. All users
7174 changed.
7175 * function.h (cfun): Rename declaration as well.
7176
7177 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
7178 to be of type regset_head, not regset. All users changed by adding
7179 address operator.
7180 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
7181
7182 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7183
7184 * config/c4x/rtems.h: New file.
7185
7186 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
7187
7188 * reload1.c (spill_failure): Take class of failed reload as argument
7189 and print it. Caller changed.
7190
7191 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7192
7193 * rs6000.h (SUBTARGET_DEFAULT): New macro.
7194 (TARGET_SWITCHES): Allow subtargets to default switches.
7195 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
7196
7197 1999-12-18 Mark Mitchell <mark@codesourcery.com>
7198
7199 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
7200 in a main program.
7201
7202 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
7203
7204 * cccp.c (main): Define __STDC_VERSION__ as necessary.
7205 * cppinit.c (cpp_handle_option): Likewise.
7206
7207 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
7208 determine when to define.
7209
7210 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
7211
7212 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
7213 cmove with mismatched test and data modes.
7214
7215 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
7216
7217 * c-typeck.c (c_expand_start_case): Don't warn for long switch
7218 in system headers.
7219
7220 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7221
7222 * alias.c: Minor reformatting.
7223 * flow.c: Likewise.
7224 * regs.h: Likewise.
7225 * stor-layout.c: Likewise.
7226 * fold-const.c: Likewise.
7227 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
7228 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
7229 not arg itself.
7230 (size_int_wide): Cache nodes even if garbage collecting.
7231 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
7232 of SAVE_EXPR has no side effects.
7233 * cse.c: Move a comment.
7234 * tree.c: Minor reformatting.
7235 (int_size_in_bytes): Return -1 if constant overflows.
7236
7237 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7238
7239 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
7240
7241 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
7242
7243 * objc/objc-parse.c: Regenerate. This file must be rebuilt
7244 after any change to c-parse.in, even if objc-parse.y didn't
7245 change. Oops.
7246
7247 1999-12-18 David S. Miller <davem@redhat.com>
7248
7249 * toplev.c (rest_of_compilation): Restore BLOCK tree
7250 reconstruction and branch shortening changes lost in
7251 December 18th change.
7252
7253 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
7254
7255 * config/arm/linux-elf.h: Change all instances of
7256 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
7257 * config/arm/uclinux-elf.h: Likewise.
7258
7259 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
7260
7261 * toplev.c (notice, vmessage, v_message_with_file_and_line,
7262 v_message_with_decl, file_and_line_for_asm,
7263 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
7264 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
7265 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
7266 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
7267 pfatal_with_name, fatal_io_error, need_error_newline,
7268 last_error_function, last_error_tick, announce_function,
7269 default_print_error_function, print_error_function,
7270 report_error_function, fnotice, error_with_file_and_line,
7271 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
7272 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
7273 warning_with_decl, warning_for_asm, warning, pedwarn,
7274 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
7275 diagnostic.c
7276 (compile_file): Use fnotice instead of notice. Adjust call.
7277
7278 * diagnostic.c: New file.
7279
7280 * Makefile.in (OBJS): Include diagnostic.o
7281 (diagnostic.o): Define dependence.
7282
7283 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7284
7285 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
7286 Tweak formatting.
7287
7288 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7289
7290 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
7291
7292 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
7293
7294 * fixtests.c (is_cxx_header): New fn, split out of
7295 double_slash_test.
7296 (else_endif_label): Allow "#endif // comment" in C++ headers,
7297 as determined by is_cxx_header.
7298 * fixfixes.c (else_endif_label_fix): Update comment.
7299 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
7300 a tty.
7301 * genfixes: Correct double thinko in commandline parsing.
7302 * hackshell.tpl: Generate correct sh syntax for bypass
7303 entries.
7304
7305 * inclhack.def (all): Whenever an inserted preprocessor
7306 conditional is split over multiple lines, use double
7307 backslashes in this file so the fixed header will be readable.
7308
7309 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
7310 and add bypass entry for correct version of this header.
7311 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
7312 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
7313
7314 (hpux8_bogus_inlines): New fix, split from...
7315 (ultrix_atof_param) ... here.
7316 (math_expression): Add bypass entry keyed to glibc comment
7317 indicating the problem has been dealt with; disable
7318 unnecessary sed operations; update commentary.
7319 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
7320 add select and bypass entries, simplify shell operation.
7321 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
7322
7323 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
7324 ultrix_atof_param): Add select entry.
7325 (stdio_va_list, sunos_mather_decl): Add bypass entry.
7326 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
7327 comments with the fixes they describe.
7328
7329 * c-parse.in (string action): Do not warn about ANSI string
7330 concatenation in system headers. Affects C parser only.
7331 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
7332
7333 1999-12-16 Jakub Jelinek <jakub@redhat.com>
7334
7335 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
7336 compiling libgcc2 the macro depends always on arch cpp defines.
7337
7338 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
7339
7340 * loop.c (insert_loop_mem): Don't record MEMs from inside
7341 EXPR_LISTs.
7342
7343 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
7344
7345 * regclass.c (regclass): Do not use flowgraph when not optimizing.
7346
7347 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
7348 notes too, create one when replacement failed, attempt to simplify
7349 resulting notes.
7350 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
7351 or REG_EQUIV notes.
7352
7353 1999-12-16 Mark Mitchell <mark@codesourcery.com>
7354
7355 * crtstuff.c (__dso_handle): Declare.
7356 (__cxa_finalize): Likewise.
7357 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
7358 non-NULL.
7359
7360 * invoke.texi: Document -fuse-cxa-atexit.
7361
7362 * tree.h (ptr_type_node): Document.
7363 (const_ptr_type_node): Likewise.
7364
7365 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7366
7367 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
7368 (optimize_reg_copy_2): Likewise.
7369 (optimize_reg_copy_3): Likewise.
7370 (fixup_match_2): Likewise.
7371 (regmove_optimize): Likewise.
7372 (fixup_match_1): Liekwise.
7373
7374 * i386.md (HI to SImode promoting splitters): Rewrite.
7375 (pushsf mem peep2): New.
7376 (testhi to andhi peep2): Remove.
7377 * i386.h (x86_promote_QImode): New.
7378 (TARGET_PROMOTE_QImode): New.
7379 (PREDICATE_CODES): Add promotable_binary_operator.
7380 * i386.c (x86_promote_QImode0: New.
7381 (promotable_binary_operator): New.
7382 * i386-protos.h (promotable_binary_operator): New.
7383
7384 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
7385 condition.
7386 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
7387
7388 1999-12-16 Mark Mitchell <mark@codesourcery.com>
7389
7390 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
7391 * function.c (insert_block_after_note): Remove.
7392 (retrofit_block): Likewise.
7393 (identify_blocks): Fix indentation.
7394 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
7395 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
7396 * function.h (insert_block_after_note): Remove prototype.
7397 (retrofit_block): Likewise.
7398 * integrate.c (expand_inline_function): Don't call
7399 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
7400 just expand_start_bindings. Use the block_map to remap old
7401 NOTE_BLOCKs to new ones.
7402 (integrate_decl_tree): Keep track of remapped blocks.
7403 * integrate.h (struct inline_remap): Add block_map.
7404 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
7405 NOTE_BLOCK on the notes.
7406 (expand_start_bindings): Rename to ...
7407 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
7408 (expand_end_bindings): Set NOTE_BLOCK.
7409 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
7410 reconstruct the BLOCK tree.
7411 * tree.h (expand_start_bindings): Macroize. Call ...
7412 (expand_start_bindings_and_block): New function.
7413
7414 1999-12-16 Jakub Jelinek <jakub@redhat.com>
7415
7416 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
7417 to match the format.
7418
7419 1999-12-16 David S. Miller <davem@redhat.com>
7420
7421 * expr.c (emit_move_insn_1): Only emit clobbers if one of
7422 the outputs is a SUBREG.
7423 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
7424 change.
7425
7426 * config/sparc/sparc.c (epilogue_renumber): Add default case
7427 to switch stmt.
7428
7429 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7430
7431 * toplev.c (rest_of_compilation): Run branch shortening after
7432 reg-stack.
7433
7434 * regclass.c (loop_depth): Remove
7435 (scan_one_insn): Do not handle LOOP_NOTE insns.
7436 (regclass): Go through basic blocks and set loop_cost
7437
7438 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
7439
7440 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
7441
7442 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7443
7444 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
7445 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
7446 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
7447
7448 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
7449
7450 * loop.c (insert_loop_mem): Ignore memory clobbers.
7451
7452 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
7453 to (OP A B).
7454
7455 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
7456
7457 * profile.c: Remove redundant #include "output.h".
7458
7459 * h8300.md (HImode preinc peephole): Fix typo.
7460
7461 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
7462
7463 * function.c (retrofit_block): Abort if we don't find a suitable insn.
7464 (insert_block_after_note): Abort if we don't have a previous block.
7465 Remove FN parameter.
7466 * function.h: Adjust.
7467
7468 1999-12-15 Mark Mitchell <mark@codesourcery.com>
7469
7470 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
7471 argument more than once.
7472
7473 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
7474
7475 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
7476
7477 1999-12-15 Jakub Jelinek <jakub@redhat.com>
7478
7479 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
7480
7481 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7482
7483 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
7484 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
7485 update stack_alignment_needed.
7486 (prepare_function_start): Initialize stack_alignment_needed
7487 * function.h (struct function): Add field stack_alignment_needed.
7488
7489 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7490
7491 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
7492 Handle live_throughout / dead_or_set instead of live_before /
7493 live_after.
7494 (save_call_clobbered_regs): Get register livenessinformation from
7495 chain->live_throughout.
7496 (add_stored_regs): New function.
7497 (insert_restore, insert_save): Add restored / saved registers to
7498 dead_or_set.
7499 * global.c (reg_dies): New parameter chain.
7500 (reg_becomes_live): Third parameter is regs_set now.
7501 Changed all callers.
7502 (reg_dies): New parameter chain. Changed all callers.
7503 (build_insn_chain): Set live_throughout instead of
7504 live_before / live_after.
7505 * reload.h (struct insn_chain): Replace members live_before /
7506 live_after with live_throughout / dead_or_set.
7507 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
7508 instead of live_before / live_after.
7509 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
7510 (order_regs_for_reload, find_reg, finish_spills): Likewise.
7511 (choose_reload_regs_init): Likewise.
7512 * stupid.c (current_chain, find_clobbered_regs): Delete.
7513 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
7514 instead of chain->live_before / chain->live_after.
7515 (mark_hard_ref): New function.
7516 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
7517
7518 1999-12-15 David S. Miller <davem@redhat.com>
7519
7520 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
7521
7522 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7523
7524 * flow.c (calculate_loop_depth): Make global, remove prototype,
7525 rewrite to use new loop infrastructure.
7526 (find_basic_block): Remove calculate_loop_depth call.
7527 * toplev.c (rest_of_compilation): Call find_basic_block.
7528 * output.h (calculate_loop_depth): Declare.
7529
7530 * flow.c (dump_flow_info): Dump loop_depth.
7531 (flow_loops_nodes_find): Increase loop_depth for basic block in the
7532 body.
7533 (flow_loops_find): Initialize the loop_depth for each basic block.
7534
7535 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
7536
7537 * tree.c (decl_function_context): Handle virtual functions.
7538
7539 * tlink.c (scan_linker_output): Don't look in demangled name when
7540 looking for linker output keywords.
7541
7542 * dwarfout.c (output_type): We can defer namespace-scope classes.
7543
7544 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
7545
7546 * regclass.c (record_reg_classes): Update comment for merging
7547 register class preferences in reg->reg copies. Tighten conditions
7548 for merging register class preferences in reg->reg copies.
7549
7550 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
7551
7552 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
7553
7554 1999-12-14 Geoff Keating <geoffk@cygnus.com>
7555
7556 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
7557 (INIT_SECTION_ASM_OP): Delete.
7558 (FINI_SECTION_ASM_OP): Delete.
7559 (STARTFILE_SPEC): Define to hold just crtbegin.o.
7560
7561 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
7562
7563 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
7564 the abstract origin wasn't emitted.
7565
7566 * dwarf2out.c (class_scope_p): New fn.
7567 (gen_subprogram_die): Use it.
7568 (gen_variable_die): Use it. Tweak logic.
7569 (gen_struct_or_union_type_die): Check context_die to determine
7570 if we're function-local.
7571 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
7572
7573 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
7574
7575 * loop.c (check_dbra_loop): Can't reverse a biv that has
7576 maybe_multiple set.
7577
7578 1999-12-14 Nick Clifton <nickc@cygnus.com>
7579
7580 * config/arm/arm.c: Add support for -mcpu=arm720 command line
7581 switch.
7582
7583 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7584
7585 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
7586 for givs made from biv increments.
7587
7588 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
7589
7590 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
7591 * alpha.c (override_options): Recognize -mcpu=ev67.
7592 * alpha.h (CPP_CPU_EV67_SPEC): New.
7593 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
7594 (EXTRA_SPECS): Update.
7595
7596 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
7597
7598 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
7599 appropriate for -lang-c89 and -std=*.
7600 * cppinit.c (cpp_handle_option): Likewise.
7601 (new_pending_define): New, split out from cpp_handle_option.
7602 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
7603 or enable trigraphs for -ansi/-std=*.
7604
7605 * ginclude/stdarg.h (__va_copy): New.
7606 (va_copy): Don't define for C89.
7607
7608 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
7609
7610 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
7611 for long long multiply-accumulate.
7612
7613 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7614
7615 * regclass.c (scan_one_insn): Set loop_cost to 1 when
7616 optimizing for size.
7617
7618 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
7619
7620 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
7621 if something changed. Back out that part of yesterday's changes.
7622
7623 * loop.c (loop_max_reg): New static variable.
7624 (loop_optimize): Initialize it. Eliminate one unnecessary call to
7625 max_reg_num.
7626 (scan_loop): Call reg_scan_update whenever we may have added new
7627 registers, and update loop_max_reg.
7628
7629 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7630
7631 * regclass.c (record_reg_classes): Do not do the copying preferrencing
7632 when source does not die.
7633
7634 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
7635
7636 1999-12-14 Jakub Jelinek <jakub@redhat.com>
7637
7638 * config/sparc/linux64.h (TARGET_LIVE_G0,
7639 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
7640 variants on Linux.
7641 * config/sparc/linux.h (TARGET_LIVE_G0,
7642 TARGET_BROKEN_SAVERESTORE): Likewise.
7643 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
7644 TARGET_BROKEN_SAVERESTORE): Likewise.
7645
7646 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
7647 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
7648 not %g2.
7649 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
7650 as sparc64 block profiling register.
7651 * config/sparc/sparc.c (sparc_override_options): Allow block
7652 profiling with -m32.
7653 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
7654 profiling register.
7655 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
7656 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
7657 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
7658
7659 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
7660 for sparc64.
7661 * config/sparc/sparc.h: Likewise.
7662 * config/sparc/xm-sysv4-64.h: Likewise.
7663 * config/float-sparc.h: Likewise.
7664 * glimits.h: Likewise.
7665 * longlong.h: Likewise.
7666
7667 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
7668 (ASM_IDENTIFY_GCC): Remove.
7669
7670 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
7671
7672 * combine.c (combine_simplify_rtx): Don't make shared rtl.
7673 (simplify_logical): Likewise.
7674
7675 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
7676
7677 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
7678 * cppfiles.c (INO_T_EQ): Likewise.
7679
7680 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
7681
7682 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
7683 * i386/mingw32.h (LIB_SPEC): Likewise.
7684 (STARTFILE_SPEC): Likewise.
7685 * i386/uwin.h (LIB_SPEC): Likewise.
7686 (STARTFILE_SPEC): Likewise.
7687
7688 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
7689 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
7690
7691 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
7692
7693 * combine.c (combine_simplify_rtx): Fix order of checks for
7694 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
7695
7696 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
7697
7698 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
7699 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
7700
7701 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
7702
7703 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
7704 defined.
7705 * regclass.c (inv_reg_alloc_order): New array.
7706 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
7707
7708 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
7709 counted_for_groups, counted_for_nongroups. Add fields rld and
7710 n_reloads.
7711 * reload.c (push_secondary_reload): Don't set nongroup field of
7712 new reloads.
7713 (push_reload): Likewise.
7714 (find_reloads): Delete code to compute nongroup fields.
7715 * reload1.c (reload_insn_firstobj): New static variable.
7716 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
7717 users changed.
7718 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
7719 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
7720 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
7721 functions.
7722 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
7723 functions.
7724 (struct hard_reg_n_uses): Deleted.
7725 (potential_reload_regs): Deleted.
7726 (init_reload): Initialize spilled_pseudos and pseudos_counted.
7727 (reload): Don't try to allocate reload registers if we already know
7728 we have to make another pass. Call select_reload_regs. Free memory
7729 starting with reload_firstobj when starting another pass.
7730 Don't allocate spilled_pseudos.
7731 (calculate_needs_all_insns): Call copy_reloads for an insn that
7732 needs reloads; don't call calculate_needs.
7733 (spill_cost): New static array.
7734 (used_spill_regs_local): New static variable.
7735 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
7736 to compute potential_reload_regs.
7737 (find_reload_regs): Completely rewritten to use find_reg.
7738 (allocate_reload_reg): Don't test counted_for_groups or
7739 counted_for_nongroups. Lose NOERROR arg and code to give an error;
7740 all cllers changed.
7741 (choose_reload_regs): Add fallback code that uses the existing
7742 register allocation from find_reload_regs.
7743
7744 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
7745
7746 * flow.c (create_edge_list): Cast xmalloc return value.
7747
7748 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
7749
7750 * doprnt.c: Remove incorrect comment closure.
7751
7752 * cse.c: Fix a few minor whitespace goofs.
7753
7754 1999-12-13 Don Bowman <don@pixstream.com>
7755
7756 * mips/vxworks.h: Fix problem with comment termination.
7757 (EXTRA_SECTIONS): Add in_sbss.
7758 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
7759
7760 1999-12-12 David S. Miller <davem@redhat.com>
7761
7762 * cse.c (struct cse_reg_info): Add hash_next member,
7763 reorder rest of struct for better packing on 64-bit
7764 hosts.
7765 (cse_reg_info_tree): Kill.
7766 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
7767 REGHASH_FN): New custom pow2 hash mechanism.
7768 (NBUCKETS): Kill.
7769 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
7770 use a pow2 hash table.
7771 (get_cse_reg_info): Rework to use new REGHASH.
7772 (new_basic_block): Likewise, use HASH_SIZE, and inline
7773 free_element call.
7774 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
7775 and inline free_element call.
7776 (lookup_as_function, insert, flush_hash_table, invalidate,
7777 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
7778 invalidate_for_call, use_related_value, find_comparison_args,
7779 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
7780 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
7781 get_element): Kill.
7782
7783 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
7784
7785 * cse.c (cse_basic_block): Free qty_table consistently.
7786
7787 1999-12-12 David S. Miller <davem@redhat.com>
7788 Jakub Jelinek <jakub@redhat.com>
7789
7790 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
7791 SUBREGs by hand, gen the appropriate hard reg directly.
7792 (movtf reg/mem split): Likewise and alter_subreg on destination
7793 if necessary.
7794 (movtf mem/reg split): Similarly.
7795 (movdf_cc_sp64): Rename from hidden pattern.
7796 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
7797 (movtf_cc_sp64, following split): New pattern and splitter.
7798 (movdf_cc_reg_sp64): Rename from hidden pattern.
7799 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
7800 TARGET_HARD_QUAD.
7801 (movtf_cc_reg_sp64, following split): New pattern and splitter.
7802
7803 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
7804
7805 * loop.c (load_mems): Don't hoist written floating point mem
7806 if -ffloat-store.
7807
7808 1999-12-12 Mark Mitchell <mark@codesourcery.com>
7809
7810 * except.h (struct eh_queue): Add `next' pointer.
7811 (struct eh_status): Make x_ehqueue a pointer.
7812 (push_ehqueue): Declare.
7813 (pop_ehqueue): Likewise.
7814 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
7815 pointer.
7816 (expand_fixup_region_end): Likewise.
7817 (expand_leftover_cleanups): Likewise.
7818 (push_ehqueue): Define.
7819 (pop_ehqueue): Likewise.
7820 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
7821 than doing it inline.
7822 (expand_start_all_catch): Adjust now that ehqueue is a
7823 pointer.
7824 (mark_eh_queue): Mark all level of the queue.
7825 (mark_eh_status): Adjust now that ehqueue is a
7826 pointer.
7827 (init_eh_for_function): Allocate ehqueue.
7828 (free_eh_status): Free it.
7829 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
7830 expansion for a fixup.
7831
7832 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7833
7834 * gthr-single.h (__gthread_active_p): Add prototype arguments.
7835
7836 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
7837 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
7838 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
7839 function_ptr, getpagesize, __enable_execute_stack,
7840 __enable_execute_stack, __clear_insn_cache,
7841 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
7842 _cleanup, _exit, __default_terminate, __terminate_func,
7843 __terminate, __empty, __throw, new_eh_context,
7844 eh_context_initialize, eh_context_static, eh_context_specific,
7845 get_eh_context, __get_eh_context, __get_eh_info,
7846 init_reg_size_table, eh_threads_initialize,
7847 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
7848 __unwinding_cleanup, throw_helper, __throw, __rethrow,
7849 __pure_virtual): Add prototype arguments.
7850 (__bb_exit_func): Cast a sizeof to long when comparing against one.
7851 Cast a signed value to unsigned long when comparing against one.
7852 (new_eh_context): Wrap in _GTHREADS macro.
7853 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
7854 declaration.
7855 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
7856 (throw_helper): Initialize variables `handler_p' and `pc_p'.
7857
7858 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7859
7860 * combine.c (record_promoted_value): Remove unused variable
7861 `links2'.
7862
7863 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
7864
7865 * global.c (record_conflicts): Likewise for `j'.
7866
7867 * genoutput.c (output_insn_data): Don't unnecessarily cast away
7868 const-ness.
7869
7870 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7871
7872 * i386-protos.h (output_387_binary_op, output_fix_trunc,
7873 output_fp_compare): Constify a char*.
7874
7875 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
7876 static prototypes.
7877 (override_options, ix86_comp_type_attributes, print_operand,
7878 output_387_binary_op, output_fix_trunc, output_fp_compare):
7879 Constify a char*.
7880 (ix86_sched_reorder): Mark parameter `clock_var' with
7881 ATTRIBUTE_UNUSED.
7882
7883 * i386.h (DEBUG_PRINT_REG): Constify a char*.
7884
7885 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
7886
7887 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
7888 operand, for use in the Java front-end.
7889
7890 1999-12-10 Ben Collins <bcollins@debian.org>
7891
7892 * configure.in: Fix typo for "-64" in 64bit as check.
7893 * configure: Rebuilt.
7894
7895 1999-12-10 Jakub Jelinek <jakub@redhat.com>
7896
7897 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
7898 appropriate.
7899
7900 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7901
7902 * c-parse.in (string): With -Wtraditional, warn if ANSI string
7903 concatenation is utilized.
7904
7905 * invoke.texi (-Wtraditional): Document it.
7906
7907 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7908
7909 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
7910 Cast a ptrdiff_t to long and pass it to printf with %ld.
7911
7912 1999-12-10 Geoff Keating <geoffk@cygnus.com>
7913
7914 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
7915 68881, we have no 68881 registers at all.
7916 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
7917 value in a 68881 register if it is available.
7918
7919 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
7920
7921 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
7922 for long long multiply-accumulate.
7923
7924 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
7925
7926 * loop.c (insert_loop_mem): Undo last change.
7927
7928 1999-12-10 David S. Miller <davem@redhat.com>
7929
7930 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
7931 New functions.
7932 * config/sparc/sparc-protos.h: Add them.
7933 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
7934 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
7935 constraints which use those helpers.
7936 (EXTRA_CONSTRAINT): Use this new macro.
7937 * md.texi: Update sparc target constraints documentation.
7938 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
7939 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
7940 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
7941 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
7942 (movsf high/lo_sum split): Rework for new patterns.
7943 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
7944
7945 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
7946
7947 * c-common.c (c_common_nodes_and_builtins):
7948 Create __builtin_ptrdiff_t and __builtin_size_t.
7949
7950 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
7951
7952 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
7953
7954 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7955
7956 * regclass.c (globalize_reg): Re-instate test that allows
7957 fixed registers to be declared as a variable even after functions
7958 are defined.
7959
7960 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7961
7962 * i386.md (cpu attribute): Add "athlon".
7963 (athlon_decode): New attribute.
7964 (Athlon scheduling units definitions): New.
7965 (fcmp and shld patterns): Set athlon_decode to "vector".
7966 * i386.c (athlon_cost): New.
7967 (m_ATHLON): New.
7968 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
7969 x86_use_sahf): Set for Athlon.
7970 (x86_use_fiop): Unset for Athlon.
7971 (override_options): Define Athlon alignments and "athlon" name.
7972 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
7973 * i386.h (TARGET_ATHLON): New.
7974 (enum processor_type): Add PROCESSOR_ATHLON.
7975 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
7976 for CPU_DEFAULT==5
7977 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
7978
7979 1999-12-09 Andreas Jaeger <aj@suse.de>
7980
7981 * loop.c (record_biv): Declare parameter as int.
7982
7983 * config/i386/i386-protos.h: Declare long_memory_operand.
7984
7985 1999-12-09 Mark Mitchell <mark@codesourcery.com>
7986
7987 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
7988 EXPR_WITH_FILE_LOCATION.
7989
7990 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7991
7992 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
7993 in expander.
7994
7995 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
7996
7997 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
7998 updating code.
7999
8000 1999-12-09 Jakub Jelinek <jakub@redhat.com>
8001
8002 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
8003 default on linux64 again.
8004 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
8005 models for multilibing.
8006 * genmultilib: Accept | as alternative separator within a set in
8007 MULTILIB_OPTIONS.
8008
8009 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
8010
8011 * calls.c (precompute_arguments): Make sure initial_value contains
8012 value pseudo which CSE expects.
8013 * cse.c (struct set): New entry orig_src.
8014 (cse_insn): Set it early on entry, use it for libcall EQUIV note
8015 replacement.
8016
8017 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
8018
8019 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
8020
8021 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
8022
8023 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
8024
8025 1999-12-08 Jakub Jelinek <jakub@redhat.com>
8026
8027 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
8028 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
8029
8030 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
8031 if TARGET_ARCH32.
8032
8033 * longlong.h: Merge in changes from glibc.
8034 Also don't clobber %g2 register in 32bit SPARC assembly, so that
8035 -mno-app-regs libgcc can be compiled.
8036 * libgcc2.c: Add defines so that the updated longlong.h
8037 can be used in libgcc2.a. Also, make sure on most architectures
8038 (at least on all which have optimized code in longlong.h defined
8039 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
8040
8041 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8042
8043 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
8044 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
8045 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
8046 is GNU ld.
8047 * configure: Rebuilt.
8048
8049 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
8050
8051 * alpha.c (secondary_reload_class): For !BWX, sub-simode
8052 outputs require a register.
8053
8054 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
8055
8056 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
8057 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
8058 functions like dptoul will be resolved.
8059 (libgcc2.a): Make sure that the object files from DPBIT are named
8060 differently (prefix `_dp') from those that would be coming from
8061 FPBIT.
8062
8063 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
8064
8065 * configure.in: When target is sparc* and tm_file contains 64,
8066 test for 64bit support in assembler. If not supported, remove
8067 sparc/t-sol2-64 from target-dependent Makefile fragments.
8068 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
8069 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
8070 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
8071 * acconfig.h (AS_SPARC64_FLAG): Added.
8072 * configure, config.in: Rebuilt.
8073 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
8074 support. Use AS_SPARC64_FLAG.
8075
8076 1999-12-07 Jakub Jelinek <jakub@redhat.com>
8077
8078 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
8079 suitable for holding OFmode values so that gcc works with complex
8080 quad long doubles.
8081 (hard_64bit_mode_classes): Likewise.
8082
8083 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
8084 so that it is actually matched.
8085 (sethi_di_medlow): Likewise.
8086
8087 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
8088 as legitimate constant if -mvis.
8089 * config/sparc/sparc.md (movtf): Likewise.
8090 (clear_sf): Use const_double_operand.
8091 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
8092
8093 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
8094 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
8095 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
8096 routines, _Qp_* cannot be handled like that now.
8097 (INIT_TARGET_OPTABS): Likewise.
8098 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
8099 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
8100 sparc_emit_float_lib_cmp if ARCH64 and soft float.
8101 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
8102 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
8103 divtf3, sqrttf3): New expanders.
8104 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
8105 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
8106 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
8107 non-_hq patterns.
8108
8109 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
8110 * configure: Rebuilt.
8111 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
8112 -mcpu is given and we're doing 64bit compiles.
8113
8114 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
8115
8116 * loop.h (struct induction): Add multi_insn_incr.
8117 * loop.c (basic_induction_var): New multi_insn_incr argument.
8118 Set it if we search back through previous insns for the biv.
8119 (record_biv): New multi_insn_incr argument; fill in struct induction.
8120 (strength_reduce): Discard an iv with multiple bivs, any of
8121 which require multiple insns to increment.
8122
8123 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8124
8125 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
8126 documentation.
8127
8128 1999-12-06 David S. Miller <davem@redhat.com>
8129
8130 * combine.c (check_promoted_subreg): Do not conditionalize this upon
8131 PROMOTE_FUNCTION_RETURN.
8132
8133 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
8134
8135 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
8136 and handle REG_UNUSED note on insn.
8137
8138 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
8139 inner_mask instead of mask.
8140
8141 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
8142
8143 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
8144 zero if there was an error.
8145
8146 1999-12-06 Jakub Jelinek <jakub@redhat.com>
8147
8148 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
8149 output string.
8150
8151 * longlong.h: Fix clobbers in SPARC asm statements.
8152
8153 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
8154 valid sethi operations when TARGET_ARCH64.
8155
8156 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
8157 always use move_by_pieces to avoid infinite recursion.
8158 (restore_fixed_argument_area): Likewise.
8159
8160 * combine.c (check_promoted_subreg, record_promoted_value): New
8161 functions.
8162 (combine_instructions): Use them to retain nonzero and sign bit
8163 information after SUBREGs are eliminated by optimizations in
8164 this pass if PROMOTE_FUNCTION_RETURN.
8165
8166 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
8167 .register declaration. Don't use variables with __ prefixes.
8168
8169 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8170
8171 * fold-const.c (optimize_bit_field_compare): Only use one mode
8172 for both RHS and LHS in non-constant case.
8173
8174 1999-12-06 Nathan Sidwell <nathan@acm.org>
8175
8176 * frame.c (start_fde_sort): Only allocate erratic array, if
8177 linear one was allocated. Return allocated flag.
8178 (fde_insert): Only insert, if there's a valid array.
8179 (fde_end_sort): Split, sort and merge if linear and erratic
8180 arrays exist, else just sort linear one.
8181 (search_fdes): New function. Linear search through original fde
8182 structure.
8183 (frame_init): Permit multiple initializations. Cope with
8184 memory shortages.
8185 (find_fde): Fallback on linear search, if failed to sort array.
8186 (__deregister_frame_info): Only free sorted array, if we
8187 allocated it.
8188
8189 1999-12-06 Jakub Jelinek <jakub@redhat.com>
8190
8191 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
8192
8193 1999-12-05 Jakub Jelinek <jakub@redhat.com>
8194
8195 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
8196
8197 1999-12-05 Mark Mitchell <mark@codesourcery.com>
8198
8199 * tree.h (special_function_p): Declare.
8200 * calls.c (special_function_p): Make it global. Don't take `name'
8201 as a parameter. Fix typo in 1999-11-28 change.
8202 (expand_cal): Adjust.
8203
8204 1999-12-04 Mark Mitchell <mark@codesourcery.com>
8205
8206 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
8207 * tree.h (EXPR_WFL_FILENAME): Define in terms of
8208 EXPR_WFL_FILENAME_NODE.
8209 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
8210 the TREE_CHAIN.
8211 * print-tree.c (print_note): Print TREE_PRIVATE and
8212 TREE_PROTECTED.
8213
8214 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
8215 the original die cannot be found.
8216
8217 * varray.h (varray_head_tag): Add elements_used.
8218 (VARRAY_PUSH): New macro.
8219 (VARRAY_POP): Likewise.
8220 (VARRAY_TOP): Likewise.
8221 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
8222 types.
8223 * varray.c (varray_init): Initialize elements_used.
8224 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
8225 (INTEGRATE_H): New variable.
8226 (integrate.o): Depend on INTEGRATE_H.
8227 (unroll.o): Likewise.
8228
8229 * function.h (insert_block_after_note): Declare.
8230 * function.c (insert_block_after_note): Split out from ...
8231 (retrofit_block): ... here.
8232
8233 * stmt.c (expand_fixup): Fix typo in comment.
8234
8235 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8236
8237 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
8238 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
8239 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
8240 (regmove_optimize, fixup_match_1): Likewise.
8241
8242 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8243
8244 * flow.c (flow_loops_dump): Add missing argument when calling
8245 flow_loop_nested_p.
8246
8247 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
8248 Greg McGary <gkm@gnu.org>
8249
8250 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
8251 (init_attributes): Add A_NO_LIMIT_STACK.
8252 (decl_attributes): Handle A_NO_LIMIT_STACK.
8253 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
8254 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
8255 Handle stack bounds checking.
8256 * flags.h (flag_stack_check): Use the word 'probe' rather than
8257 'check', because the flag doesn't actually cause any checking to
8258 be done.
8259 * function.c (expand_function_start): Set
8260 current_function_limit_stack.
8261 * function.h (struct function): Add limit_stack.
8262 (current_function_limit_stack): Define.
8263 * invoke.texi (Code Gen Options): Document new options.
8264 * rtl.h: Declare stack_limit_rtx.
8265 * toplev.c (stack_limit_rtx): New variable.
8266 (decode_f_option): Handle new options -fstack-limit-register=REG,
8267 -fstack-limit-symbol=IDENT, -fno-stack-limit.
8268 (main): Add stack_limit_rtx as GC root.
8269 * tree.h (DECL_NO_LIMIT_STACK): New macro.
8270 (struct tree_decl): New member no_limit_stack.
8271
8272 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
8273 stack_limit_rtx.
8274 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
8275 (conditional_trap+1): Get new mnemonic correct.
8276 (conditional_trap+2): New pattern for DImode traps.
8277
8278 * config/m68k/m68k.c (output_function_prologue): Handle
8279 stack_limit_rtx.
8280 * config/m68k/m68k.md (trap): New insn.
8281 (conditional_trap): New insn.
8282 * md.texi (Standard Names): Document `trap' and
8283 `conditional_trap'.
8284 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
8285 so a cc0 setter doesn't get emitted at some random place in the
8286 function.
8287
8288 * config/i960/i960.md (trap): New insn.
8289 (conditional_trap): New expander.
8290 (conditional_trap+1, conditional_trap+2): New insns for signed
8291 and unsigned cases.
8292 * config/i960/i960.c (i960_function_prologue): Use
8293 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
8294
8295 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
8296 Geoffrey Keating <geoffk@cygnus.com>
8297
8298 * flags.h (warn_padded, warn_packed): Add global var decls.
8299 * toplev.c (warn_padded, warn_packed): Add global var defns.
8300 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
8301 * stor-layout.c (layout_record): Add local variable `type'
8302 to hold often-used TREE_TYPE (field). Add local variable
8303 `unpacked_align' to hold alignment that would be in force
8304 if no `packed' attribute were present. Warn if `packed' attribute
8305 is unnecessary, or even harmful. Warn when gcc inserts padding
8306 to satisfy alignment requirements of members. Use NULL_TREE
8307 when checking whether var_size is set.
8308 * invoke.texi: Document new flags.
8309
8310 1999-12-03 Nathan Sidwell <nathan@acm.org>
8311
8312 * frame.c (fde_split): Reimplement to avoid variable sized array.
8313
8314 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8315
8316 * combine.c (try_combine): Before fixing up LOG_LINKS for the
8317 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
8318
8319 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
8320
8321 * invoke.texi: Document the mips option -mno-crt0
8322
8323 1999-12-02 Mike Karr <mkarr@mathworks.com>
8324
8325 * cccp.c (argdata): Added free_ptr member.
8326 (macroexpand): Initialize free_ptr of each argument. When an
8327 argument's buffers are freed, if the argument's free_ptr corresponds
8328 to a buffer on the input stack, then return the free_ptr to that stack
8329 frame, otherwise, free it.
8330 (macarg): If an argument begins and ends on the same input stack level,
8331 then transfer the free_ptr of that buffer to the argument in case
8332 the stack is popped during the processing of a subsequent argument.
8333
8334 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
8335
8336 * loop.c (note_reg_stored): New function.
8337 (struct note_reg_stored_arg): New structure.
8338 (try_copy_prop): Change to be more conservative; only replace within
8339 one extended basic block and stop replacing if a store to the
8340 replacement reg is seen.
8341
8342 1999-12-02 Nick Clifton <nickc@cygnus.com>
8343
8344 * config/fp-bit.c: Initialise all fields of the NAN
8345 constants.
8346
8347 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
8348 to HANDLE_PRAGMA.
8349
8350 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
8351
8352 * i386.md (extend?f?f2): Force the input into a register, not
8353 the output.
8354
8355 1999-12-01 Jakub Jelinek <jakub@redhat.com>
8356
8357 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
8358 regclass' sake.
8359 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
8360 alternative because setting up 64bit constant is usually costly,
8361 especially when reload is in progress or completed.
8362 (movdf_const_intreg_sp64): Likewise.
8363 (movdf_const_intreg split): Fix building up constants when
8364 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
8365
8366 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
8367
8368 * combine.c (if_then_else_cond): Use const_true_rtx instead of
8369 const1_rtx for return values in EQ/NE comparison against (const_int 0)
8370 case.
8371
8372 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
8373 (asm_file_start): Emit .am33 into assembly file when compiling for
8374 the AM33.
8375 (print_operand_address): Handle POST_INC addresses.
8376 (can_use_return_insn, initial_offset): Check AM33 registers too.
8377 (expand_prologue): Check & save AM33 registers too.
8378 (expand_epilogue): Similarly.
8379 (secondary_reload_class): Handle AM33 specific secondary reloads.
8380 (output_tst): Emit efficient code for the AM33 too.
8381 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
8382 (TARGET_SWITCHES): Add -mam33 switch.
8383 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
8384 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
8385 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
8386 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
8387 (enum reg_class, REG_CLASS_NAMES): Likewise.
8388 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
8389 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
8390 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
8391 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
8392 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
8393 (HAVE_POST_INCREMENT): Define.
8394 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
8395 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
8396 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
8397 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
8398 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
8399 (zero_extend to SI from QI/HI): Likewise.
8400 (sign_extend to SI from QI/HI): Likewise.
8401 (mulsidi3, umulsidi3): New patterns for the AM33.
8402 (tstsi with zero extension from QI/HI): Add AM33 variants.
8403 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
8404 (return_internal_regs, store_movm): Handle new AM33 registers.
8405 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
8406 (LIBGCC, INSTALL_LIBGCC): Likewise.
8407 * invoke.texi: Document new flags.
8408
8409 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
8410
8411 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
8412 (addsi3_carry): Likewise.
8413 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
8414 (sbbsi3_carry): Likewise.
8415 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
8416 (mulhi3): Likewise.
8417 (test?i_1): Ensure that only one operand is memory.
8418 (conditional move patterns): likewise.
8419 (shift and rotate patterns): Rewrite to expander, add
8420 "binary_operator_ok" to the condition.
8421
8422 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
8423 * i386.h (procesor_costs): Add movzbl_load field.
8424 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
8425 non-Q registers, accept DImode registers anywhere.
8426 (Q_CLASS_P): New.
8427 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
8428 * i386.c (*_cost): Set value for movxbl_load field.
8429
8430 * (addsi): New add to lea splitter.
8431 (ashlsi): Likewise.
8432 (lea to add/shift peep2): New.
8433
8434 1999-12-01 Mark Salter <msalter@cygnus.com>
8435
8436 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
8437 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
8438 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
8439
8440 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8441
8442 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
8443 * i386.md (movsi_xor): New.
8444 (movsi_or): New.
8445 (movsi_1, movhi_1, movqi_1): Remove.
8446 (movsi_2): Rename to movsi_1.
8447 (movhi_2): Rename to movhi_1.
8448 (movqi_2): Rename to movqi_1.
8449 (movdi_1): Remove; remove splitter.
8450 (movdi_2): Rename to movdi_1.
8451 (divmodsi4 splitter): Do not emit clobbers for move patterns.
8452 (long move peep2): Do not create QI or HI mode mov0s
8453 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
8454
8455 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
8456 rewrite splitters.
8457
8458 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
8459 (abs?f2_if): Likewise.
8460
8461 1999-11-30 Alex Samuel <samuel@codesourcery.com>
8462
8463 * ggc.h (ggc_test_and_set_mark): New macro.
8464 (ggc_mark_rtx): Use ggc_test_and_set_mark.
8465 (ggc_mark_tree): Likewise.
8466 (ggc_mark_rtvec): Likewise.
8467 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
8468
8469 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
8470
8471 * dwarf2out.c (scope_die_for): Only handle types. Only search for
8472 containing types.
8473 (decl_scope_table): Just an array of trees now.
8474 (push_decl_scope): Simplify.
8475 (dwarf2out_init): Adjust.
8476 (local_scope_p): New fn.
8477 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
8478 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
8479 (gen_typedef_die): Likewise.
8480 (gen_lexical_block_die): Don't call push/pop_decl_scope.
8481 (gen_inlined_subroutine_die): Likewise.
8482 (gen_abstract_function): Set current_function_decl temporarily.
8483 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
8484 Handle block extern declarations. Don't call push/pop_decl_scope.
8485 (gen_decl_die): Fix logic for block externs.
8486
8487 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8488
8489 * calls.c (special_function_p): Remove `realloc' and add `strdup'
8490 to the list of functions which have attribute malloc by default.
8491
8492 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8493
8494 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
8495 integer constant does not match the traditional type, limit the
8496 warnings to cases where the base of the type is ten.
8497
8498 * invoke.texi (-Wtraditional): Document it.
8499
8500 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8501
8502 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
8503 * rs6000.md: Only access a CONST_INT with INTVAL
8504
8505 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
8506
8507 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
8508 (compute_nearerout): Likewise.
8509 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
8510 size_t to unsigned long for formatting.
8511
8512 1999-11-30 Jakub Jelinek <jakub@redhat.com>
8513
8514 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
8515 Allow the user to override call-used/fixed state of %g2-5
8516 registers from the command line (with the exception of %g4 for
8517 embedded model).
8518 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
8519 there is a higher chance of having a leaf function.
8520 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
8521 for ARCH64 which has %ccr register.
8522 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
8523 patterns.
8524 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
8525 insn accept into delay slot any insn which does not use %[ol]
8526 registers. Accept some LO_SUM and shift left by 1 for the normal
8527 restore case.
8528 (output_function_epilogue): Likewise.
8529 (epilogue_renumber): Added argument which inhibits any renumbering
8530 and just tests if the rtx does not use any %[ol] registers.
8531 (output_return): Reflect above change.
8532
8533 1999-11-30 Jakub Jelinek <jakub@redhat.com>
8534
8535 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
8536 aggregate passing for sizes <= 16 bytes.
8537
8538 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
8539
8540 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
8541 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
8542 * reload.c (find_dummy_reload): Likewise.
8543 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
8544 * reload1.c (reload_as_needed): Likewise.
8545 * stupid.c (stupid_find_reg): Likewise.
8546 * tm.texi (Obsolete Register Macros): Delete section.
8547 * gmicro.h: Remove all traces of the two macros.
8548 * i386.h: Likewise.
8549 * m88k.h: Likewise.
8550 * mips.h: Likewise.
8551
8552 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
8553
8554 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
8555 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
8556 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
8557 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
8558 units for the sparclite86x chip.
8559 (flush): Revert October 14th change; add SImode specifically.
8560 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
8561 * invoke.texi: Document it.
8562
8563 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
8564
8565 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
8566 psimode_truncation_operand.
8567
8568 * config/mn10200/mn10200.c (psimode_truncation_operand): New
8569 function. Return true if the operand is either a MEM valid
8570 for a PSImode address or not a MEM at all.
8571
8572 * config/mn10200/mn10200.md (truncsipsi2): Use
8573 psimode_truncation_operand.
8574
8575 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8576
8577 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
8578 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
8579 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
8580 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
8581 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
8582 (flow_loop_level_compute, low_loops_level_compute): Likewise.
8583 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
8584 * basic-block.h: Protect from multiple inclusion.
8585 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
8586 (struct loops, struct loop): Define structures.
8587 * sbitmap.c (sbitmap_a_subset_b_p): New function.
8588 * sbitmap.h: Protect from multiple inclusion.
8589 (sbitmap_a_subset_b_p): Add prototype.
8590 * Makefile.in (LOOP_H): New macro.
8591 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
8592
8593 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
8594
8595 * cppinit.c (CAT): The argument list of this macro may not contain
8596 spaces !
8597
8598 1999-11-29 David S. Miller <davem@redhat.com>
8599
8600 Move quantity tables and register equivalence chains into
8601 per-qty and per-register structure arrays respectively.
8602 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
8603 qty_const_insn, qty_comparison_code, qty_comparison_const,
8604 qty_comparison_qty): Delete, replace with...
8605 (qty_table): this structure table.
8606 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
8607 (reg_eqv_table): this structure table.
8608 (make_new_qty): Add argument MODE. Caller updated.
8609 Update to use qty_table and reg_eqv_table.
8610 (make_regs_eqv, delete_reg_equiv, insert_regs,
8611 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
8612 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
8613 cse_process_notes, cse_main, cse_basic_block): Likewise.
8614
8615 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8616
8617 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
8618 operation if C is negative.
8619 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
8620 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
8621 law for some divisions if constant is negative and change other
8622 divisions to the opposite rounding.
8623
8624 * expr.c (store_constructor_field): If bit position is not multiple
8625 of alignment of TARGET's mode, use BLKmode.
8626
8627 * expr.c (expand_expr_unaligned): Add more code from full case
8628 that is needed when OP0 is in a register.
8629
8630 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8631
8632 * dwarfout.c (field_byte_offset): Size can be zero if there was
8633 an error.
8634
8635 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
8636
8637 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
8638 (associate_trees): Delete unused var TEM.
8639 (extract_muldiv): Delete unused var CANCEL_P.
8640
8641 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
8642 (target_isinf, target_isnan, target_negative): Add return types to
8643 function definitions.
8644
8645 1999-11-29 Bruce Korb <autogen@linuxbox.com>
8646
8647 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
8648 * fixinc/hackshell.tpl: ditto
8649 * fixinc/fixtests.c(double_slash_test): more C++ header testing
8650 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
8651
8652 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
8653
8654 * reload.c (push_reload): When looking for a register to put into
8655 reg_rtx, make sure all hard regs in a multi-reg register are in the
8656 right class and nonfixed.
8657
8658 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
8659 pending_read_insns, pending_write_insns, pending_read_mems,
8660 pending_write_mems, pending_list_length, last_pending_memory_flush,
8661 last_function_call, sched_before_next_call): Move static variables
8662 into a structure.
8663 (bb_ prefixed versions): Replace with single array bb_deps.
8664 (struct deps): New structure.
8665 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
8666 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
8667 argument of type "struct deps *"; use that instead of global
8668 variables. All callers changed.
8669 (init_rgn_data_dependencies): Delete function.
8670 (init_rtx_vector): Delete function.
8671 (init_deps): New function.
8672
8673 (free_pending_lists): Simplify, we always use the bb_deps array even
8674 if only one basic block.
8675 (compute_block_backward_dependences): Likewise.
8676 (schedule_region): Likewise.
8677
8678 (propagate_deps): New function, broken out of
8679 compute_block_backward_dependences.
8680 (compute_block_backward_dependences): Use it.
8681
8682 * alpha.md: Delete useless patterns that tried to work around
8683 register elimination problems.
8684
8685 * unroll.c (loop_iterations): Don't abort if iteration variable
8686 was made by loop.
8687
8688 From Joern Rennecke:
8689 * reload1.c (reloads_conflict): Reverse test comparing operand
8690 numbers when testing for conflict between output/outaddr reloads.
8691
8692 1999-11-29 David S. Miller <davem@redhat.com>
8693
8694 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
8695 arg.
8696 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
8697
8698 1999-11-28 Robert Lipe <robertl@cygnus.com>
8699
8700 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
8701 table from .fini into .dtor.
8702
8703 1999-11-28 Anthony Green <green@cygnus.com>
8704
8705 * tree.h (struct tree_decl): Add malloc_flag.
8706 (DECL_IS_MALLOC): Define.
8707 * c-common.c (attrs): Add A_MALLOC attribute.
8708 (init_attributes): Add this attribute to the table.
8709 (decl_attributes): Handle malloc attribute.
8710 * calls.c (special_function_p): Check for the malloc attribute.
8711 * extend.texi (Function Attributes): Document malloc attribute.
8712
8713 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
8714
8715 * pa.md (reload shift-add patterns): Remove.
8716
8717 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8718
8719 * reorg.c (dbr_schedule) Print more statistics. Corrected
8720 problem when printing info when 3 delay slots are filled.
8721
8722 1999-11-28 Jakub Jelinek <jakub@redhat.com>
8723
8724 * combine.c (setup_incoming_promotions): Pass an outgoing
8725 regno to FUNCTION_ARG_REGNO_P which it expects.
8726
8727 1999-11-28 Andreas Jaeger <aj@suse.de>
8728
8729 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
8730
8731 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
8732
8733 * cccp.c (do_include): Avoid initialization of automatic variable.
8734
8735 * integrate.c (mark_stores): Function definition made void, to match
8736 previous declaration.
8737 * regclass.c (dump_regclass): Ditto.
8738 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
8739
8740 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8741
8742 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
8743 known to be multiple of divisor.
8744
8745 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
8746
8747 * combine.c (try_combine): Add code to try to merge a set of a
8748 two-word pseudo to a constant with a setting of one of those words
8749 to a constant.
8750
8751 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
8752 (split_tree): Completely rework to make more general.
8753 (make_range, fold): Call negate_expr.
8754 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
8755 (fold, associate): Call new split_tree and associate_trees.
8756 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
8757
8758 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
8759
8760 * loop.c (try_copy_prop): Avoid GNU C extension.
8761
8762 1999-11-25 Mark Mitchell <mark@codesourcery.com>
8763
8764 * except.c (init_eh_for_function): Still zero eh_return_context,
8765 eh_return_stack_adjust, and eh_return_handler.
8766
8767 * except.h (eh_status): Adjust documentation for x_protect_list.
8768 (begin_protect_partials): New function.
8769 * except.c (enqueue_eh_entry): Fix formatting.
8770 (get_first_handler): Add consistency check.
8771 (add_partial_entry): Adjust usage of protect_list.
8772 (emit_cleanup_handler): Save and restore ehqueue.
8773 (expand_start_all_catch): Add comment.
8774 (begin_protect_partials): New function.
8775 (end_protect_partials): Adjust usage of protect_list.
8776 (init_eh_for_function): Use xcalloc.
8777
8778 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8779
8780 * c-common.c (check_format_info): Don't call a variadic function
8781 with a non-literal format string.
8782
8783 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
8784
8785 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
8786 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
8787 Likewise.
8788
8789 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
8790 Likewise.
8791
8792 * collect2.c (collect_wait): Likewise.
8793
8794 * dbxout.c (dbxout_type): Likewise.
8795
8796 * gcc.c (do_spec_1): Likewise.
8797
8798 * genemit.c (gen_insn, gen_expand): Likewise.
8799
8800 * genrecog.c (write_switch, write_subroutine): Likewise.
8801
8802 * mips-tfile.c (catch_signal, botch): Likewise.
8803
8804 * print-rtl.c (print_rtx): Likewise.
8805
8806 * toplev.c (default_print_error_function, report_error_function,
8807 _fatal_insn): Likewise.
8808
8809 1999-11-25 Mark Mitchell <mark@codesourcery.com>
8810
8811 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
8812
8813 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8814
8815 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
8816 operations when needed.
8817 * i386.md (fop_?f_comm): New.
8818 (fop_?f_1): Do not accept commutative operands.
8819
8820 1999-11-25 Andreas Jaeger <aj@suse.de>
8821
8822 * config/mips/mips.md (casesi_internal): Add missing brace.
8823
8824 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
8825
8826 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
8827 (splice_child_die): Handle moving a child DIE from the declaration
8828 DIE of a class to its specification.
8829 (gen_struct_or_union_type_die): Use 'complete' consistently.
8830 (gen_decl_die): Generate the virtual context DIE first.
8831 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
8832
8833 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
8834
8835 * config/mips/mips.md (call_value_multiple_interanal1): New.
8836
8837 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
8838
8839 * dwarf2out.c (free_AT, free_die): New fns.
8840 (remove_children): Call them.
8841 (output_line_info): Disable removal of duplicate notes.
8842
8843 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
8844 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
8845 means pretend the type isn't defined.
8846 Don't defer emitting types.
8847 (gen_type_die_for_member): New fn.
8848 (gen_decl_die): Call it.
8849 (splice_child_die): New fn.
8850 (gen_member_die): Call it rather than generate duplicate dies.
8851
8852 Defer emitting information for the abstract instance of an inline
8853 until we either inline it or emit an out-of-line copy.
8854 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
8855 from output_inline_function if DECL_ABSTRACT is also set.
8856 (block_ultimate_origin): Likewise.
8857 (gen_abstract_function): New fn.
8858 (gen_decl_die, gen_inlined_subroutine_die): Call it.
8859 (gen_subprogram_die): An abstract instance is not a declaration
8860 just because it doesn't match current_function_decl. Don't abort
8861 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
8862 has an abstract origin.
8863 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
8864 abstract instance here.
8865
8866 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
8867
8868 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
8869 where we need to reload fpul from a system register.
8870
8871 1999-11-24 Andreas Jaeger <aj@suse.de>
8872
8873 * config/mips/linux.h (CPP_PREDEFINES): Added.
8874 (LINK_SPEC): Remove -Y since this is only needed on sparc.
8875
8876 1999-11-24 Andreas Jaeger <aj@suse.de>
8877
8878 * config/mips/linux.h (TARGET_VERSION): Added.
8879 (HANDLE_SYSV_PRAGMA): Added.
8880 (DEFAULT_VTABLE_THUNKS): Added.
8881
8882 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8883
8884 * local-alloc.c (qty): New structure and static variable.
8885 (qty_phys_reg): Remove, all references changed to qty.
8886 (qty_n_refs): Likewise.
8887 (qty_min_class): Likewise.
8888 (qty_birth): Likewise.
8889 (qty_death): Likewise.
8890 (qty_size): Likewise.
8891 (qty_mode): Likewise.
8892 (qty_n_calls_crossed): Likewise.
8893 (qty_alternate_class): Likewise.
8894 (qty_changes_size): Likewise.
8895 (qty_first_reg): Likewise.
8896 (alloc_qty): Rename variable QTY to QTYNO.
8897 (finf_free_reg): Likewise.
8898 (local_alloc): Allocate qty, do not allocate the removed variables.
8899
8900 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
8901
8902 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
8903 when -membedded-pic is passed.
8904
8905 * config/mips/mips.md (casesi): Handle 64-bit case too.
8906 (casesi_internal_di): New insn.
8907
8908 * config/mips/mips.c (embedded_pic_offset): Always make the
8909 embedded-pic subtractions relative to the name of the current
8910 function by use of the magic string "..CURRENT_FUNCTION".
8911 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
8912
8913 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
8914
8915 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
8916 of (const_int 0), when what we really care about is
8917 whether it's a zero constant anyway.
8918 (div_trap_mips16): Likewise.
8919
8920 1999-11-23 Mark Mitchell <mark@codesourcery.com>
8921
8922 * loop.c (loop_optimize): Always find_loop_tree_blocks and
8923 unroll_block_trees when generating debuggable code.
8924
8925 * tree.h (unsave_expr_1): New function.
8926 (lang_unsave): New variable.
8927 (get_callee_fndecl): New function.
8928 * tree.c (unsave_expr_now_r): New function.
8929 (lang_unsave): Define.
8930 (unsave_expr_1): Likewise.
8931 (unsave_expr_now_r): Split out from unsave_expr_now.
8932 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
8933 call unsave_expr_now_r.
8934 (get_callee_fndecl): Define.
8935
8936 * Makefile.in (gencheck): Don't depend on lang_tree_files.
8937 (gencheck.o): Do depend on lang_tree_files.
8938
8939 * integrate.h (copy_decl_for_inlining): New declaration.
8940 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
8941 (copy_decl_for_inlining): New function.
8942 (integrate_parm_decls): Use it.
8943 (integrate_decl_tree): Likewise.
8944
8945 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
8946
8947 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
8948 the second two from the first.
8949 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
8950 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
8951 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
8952 ISA_HAS_FP4.
8953 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
8954 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
8955 ISA_HAS_FP4.
8956
8957 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
8958
8959 * pa.md (call_internal_symref, call_value_internal_symref): No mode
8960 needed on the address operand.
8961 * pa.c (call_operand_address): Check for the correct mode.
8962
8963 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
8964
8965 * loop.c: Include "basic-block.h".
8966 (try_copy_prop, replace_loop_reg): New functions.
8967 (load_mems): Detect registers that just hold copies of the hoisted
8968 mem, and call try_copy_prop to eliminate them.
8969 * Makefile.in (loop.o): Update dependencies.
8970
8971 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
8972
8973 * Makefile.in (gencheck.o): Depend on gencheck.h.
8974 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
8975 (insn-peep.o): Depend on except.h and function.h.
8976 (insn-attrtab.o): Depend on RECOG_H.
8977 (insn-output.o): Depend on toplev.h and flags.h.
8978 (gengenrtl.o): Depend on real.h.
8979 (gen-protos.o): Depend on cpplib.h and cpphash.h.
8980 Unify all dependencies to be on RECOG_H rather than recog.h.
8981
8982 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8983
8984 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
8985 * configure.in: Try building a bi-arch 32/64-bit compiler on
8986 sparc-*-solaris2.7 and higher.
8987 * configure: Rebuild.
8988
8989 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
8990
8991 * config/freebsd.h: New, FreeBSD architecture independent file.
8992 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
8993 independent pieces.
8994 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
8995 directly by i386/freebsd.h.
8996 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
8997 independent configuration file.
8998 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
8999 directly by i386/freebsd.h.
9000 * configure: Rebuilt.
9001
9002 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
9003 which is in the user's namespace.
9004 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
9005 `i386' which is not in our namespace.
9006
9007 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
9008
9009 * invoke.texi (ARM Options): Add in -mno-alignment-traps
9010
9011 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
9012
9013 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
9014 (add_dwarf_attr, add_child_die): Just push onto the front.
9015 (reverse_die_lists): New fn.
9016 (add_sibling_attributes): Use it.
9017 (push_decl_scope): Reorganize.
9018 (add_name_and_src_coords_attributes): Don't set file and line for
9019 an artificial decl.
9020 (gen_subprogram_die): An artificial function doesn't need to match
9021 file and line.
9022 (gen_compile_unit_die): Return the generated die. Only add
9023 AT_comp_dir if the filename is relative.
9024 (remove_AT): Simplify loop. Also free string values.
9025 (output_die): A DIE ref can't be null.
9026 (output_value_format, value_format): Take a dw_attr_ref.
9027 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
9028 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
9029 AT_addr, AT_lbl): New fns.
9030 (various): Use them.
9031 (various): Constify.
9032
9033 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9034
9035 * combine.c (combine_simplify_rtx): When handling a SUBREG,
9036 take SUBREG_WORD into account.
9037 (if_then_else_cond): Likewise.
9038
9039 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
9040
9041 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
9042 clause from BSD license, pursuant with
9043
9044 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
9045
9046 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
9047
9048 * loop.c (load_mems): Reformat slightly.
9049 * basic-block.h (regset_head): New typedef.
9050 (INIT_REG_SET): New macro.
9051
9052 1999-11-22 Bruce Korb <autogen@linuxbox.com
9053
9054 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
9055 (mips-dec-bsd*): non-functional code
9056 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
9057
9058 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
9059 added three replacement fixes
9060 (no_double_slash): removed comments that are not (any longer) pertinent
9061 (bad_lval): this fix currently runs against many files.
9062 The comment seems to indicate that we should select for files
9063 containing 'pragma extern_prefix'.
9064
9065 * fixinc/fixinc.x86-linux-gnu: deleted
9066 * fixinc/inclhack.sh: regen
9067 * fixinc/fixincl.x: regen
9068 * fixinc/fixincl.sh: regen
9069
9070 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
9071
9072 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
9073 its code is INSN and it has no notes.
9074
9075 1999-11-22 Andrew Haley <aph@cygnus.com>
9076
9077 * varasm.c (function_defined): Remove.
9078 (make_function_rtl): Don't set function_defined.
9079 (make_decl_rtl): Remove global register warning.
9080 * regclass.c (no_global_reg_vars): New variable.
9081 (globalize_reg): Warn if function has already been defined.
9082 (regclass_init): Set no_global_reg_vars.
9083
9084 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
9085
9086 * regclass.c (reg_pref): New structure and static variable
9087 (prefclass): Delete.
9088 (altclass): Delete.
9089 (all uses of prefclass and altclass): Use reg_pref instead.
9090
9091 1999-11-21 Nick Clifton <nickc@cygnus.com>
9092
9093 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
9094 -malignment-traps.
9095 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
9096 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
9097 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
9098
9099 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
9100
9101 * varasm.c (output_constructor): Solve problem with long long
9102 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
9103
9104 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
9105
9106 * global.c (allocno): New structure and static variable.
9107 (allocno_reg): Remove, all references replaced by allocno.
9108 (allocno_size): Likewise.
9109 (hard_reg_conflicts): Likewise.
9110 (hard_reg_preferences): Likewise.
9111 (hard_reg_copy_preferences): Likewise.
9112 (hard_reg_full_preferences): Likewise.
9113 (regs_someone_prefers): Likewise.
9114 (allocno_calls_crossed): Likewise.
9115 (allocno_n_refs): Likewise.
9116 (allocno_live_length): Likewise.
9117 (find_reg): Rename ALLOCNO to NUM.
9118
9119 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
9120 references updated.
9121 (may_move_out_cost): New variable.
9122 (init_reg_sets_1): Initialize may_move_out_cost.
9123 (record_reg_classes): Use may_move_out_cost.
9124
9125 * regclass.c (dump_regclass): New function.
9126 (regclass): New parameter DUMP, call DUMP_REGCLASS.
9127 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
9128 pass rtl_dump_file to regclass.
9129 * rtl.h (regclass): Update prototype.
9130
9131 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
9132
9133 * i386.md (neg, not and abs patterns): Revmap to use
9134 ix86_expand_unary_operator and ix86_unary_operator_ok.
9135 (add?f and sub?f expanders): Force operand 1 to register.
9136 * i386.c (ix86_expand_unary_operator): Rewrite.
9137 (ix86_unary_operator_ok): Ensure that memory operands
9138 match real opcode.
9139 (ix86_binary_operator_ok): Do not allow operand 1 to
9140 come into memory and operand 0 not.
9141 (ix86_expand_binary_operator): Ensure that
9142 src1 is not non-matching memory.
9143
9144 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
9145 to support integer registers and memory.
9146 (abss?2_integer): Likewise.
9147
9148 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
9149 (REG_CLASS_NAMES): Likewise.
9150 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
9151 and GENERAL_REGS.
9152 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
9153 (movsf): Likewise; unify 4th and 5th alternative.
9154 (pushdf): Likewise.
9155 (movdf_1): Likewise; rename to movdf_integer.
9156 (pushxf): Likewise; rename to pushxf_integer; fix output template;
9157 remove redundant splitter.
9158 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
9159 (movdf_nointeger): New.
9160 (movxf_nointeger): New.
9161 (pushxf_nointeger): New.
9162
9163 * i386.md (extend?f?f): Split to expander and pattern, refuse two
9164 memory operands in patterns.
9165 (fop*): Refuse two memory operands.
9166
9167 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
9168 on !TARGET_USE_CLTD CPUs.
9169
9170 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
9171
9172 * extend.texi: Document C++ restricted pointers and references.
9173
9174 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
9175
9176 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
9177 (invalidate_skipped_set): Call it unconditionally.
9178 (cse_set_around_loop): Likewise.
9179
9180 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
9181
9182 * rtl.texi (mem): Add documentation for alias-set argument
9183 to RTX `mem'.
9184
9185 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
9186
9187 * i386.h (struct_processor_costs): New fields int_load, int_store,
9188 fp_move, fp_load and fp_store
9189 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
9190 fp->int moves
9191 (MEMORY_MOVE_COST): New macro.
9192 * i386.c (386_cost): Define new fields.
9193 (i486_cost): Likewise.
9194 (pentium_cost): Likewise.
9195 (pentiumpro_cost): Likewise.
9196 (k6_cost): Likewise.
9197
9198 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
9199 Geoffrey Keating <geoffk@cygnus.com>
9200
9201 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
9202
9203 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
9204 MASK_ALIGN_INT.
9205
9206 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
9207 (TARGET_STRICT_ALIGNMENT): New macro.
9208 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
9209 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
9210 * invoke.texi (M680x0 Options): Document -mstrict-align.
9211
9212 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
9213 Richard Henderson <rth@cygnus.com>
9214
9215 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
9216 (ix86_split_long_move): Declare.
9217 * i386.c (split_xf, ix86_split_movdi): Remove.
9218 (ix86_split_to_parts, ix86_split_long_move): New.
9219 * i386.md (dimode move splitters): Use ix86_split_long_move.
9220 (dfmode move splitters): Likewise.
9221 (xfmode move splitters): Likewise.
9222 (movsf_1): Allow F->r.
9223 (movdf_1, movxf_1): Allow F->ro.
9224
9225 1999-11-17 Mark Mitchell <mark@codesourcery.com>
9226
9227 * except.h (struct eh_entry): Add goto_entry_p.
9228 (eh_region_from_symbol): Remove prototype.
9229 * except.c (find_func_region_from_symbol): New function.
9230 (emit_cleanup_handler): Likewise.
9231 (eh_region_from_symbol): Make it static.
9232 (add_new_handler): Verify the argument.
9233 (find_func_region): Update comment.
9234 (expand_eh_region_end): Expand handlers here, rater than waiting
9235 until expand_leftover_cleanups or start_all_catch.
9236 (expand_leftover_cleanups): Don't expand here.
9237 (expand_start_all_catch): Or here.
9238 (expand_rethrow): Check the return value from find_func_region.
9239 * function.c (expand_function_end): Emit the catch_clauses.
9240
9241 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
9242
9243 * integrate.c (expand_inline_function): Add necessary check for NULL.
9244
9245 1999-11-18 Nick Clifton <nickc@cygnus.com>
9246
9247 * toplev.c (main): Correctly detect an unrecognised option.
9248
9249 * cppinit.c (cpp_handle_option): Do not claim to have consumed
9250 a -f option if it has not been recognised.
9251
9252 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
9253
9254 * basic-block.h (update_life_extent): Remove trailing comma on
9255 enumeration type list.
9256
9257 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9258
9259 * varasm.c (output_constructor) Solved problem with long long
9260 bitfields. Corrected calculating this_time and shift. Also
9261 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
9262
9263 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
9264
9265 * flow.c (split_edge): Take looping structure into account when
9266 determining where to put the new block note.
9267
9268 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
9269
9270 * Makefile.in (ggc-none.o): Provide host specific version if
9271 needed.
9272
9273 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
9274
9275 * cse.c (delete_trivially_dead_insns): Identify no-op insns
9276 containing subregs too.
9277
9278 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
9279
9280 * invoke.texi: Add documentation for -muninit-const-in-rodata.
9281 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
9282 (TARGET_UNINIT_CONST_IN_RODATA): Define.
9283 (text_section): Add switches -munint-const-in-rodata and
9284 -mno-uninit-const-in-rodata.
9285 (ASM_OUTPUT_COMMON): Remove.
9286 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
9287 const objects should be placed in read-only data. Otherwise declare
9288 them in common.
9289
9290 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
9291
9292 * jump.c (jump_optimize_1): Revert last change.
9293
9294 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
9295
9296 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
9297 test if optimizing for size.
9298
9299 1999-11-17 Mark Mitchell <mark@codesourcery.com>
9300
9301 * Makefile.in (toplev.o): Depend on except.h.
9302 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
9303
9304 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
9305
9306 * i386.md (divmodsi4): Rewrite to expander.
9307 (*divmodsi4_nocltd): New.
9308 (*divmodsi4_cltd): New.
9309 (divmodsi4 splitter): Handle the case when input comes in edx.
9310 (udivmodhi4): Do not use constraints in exander.
9311 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
9312
9313 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
9314
9315 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
9316 for the common case.
9317
9318 1999-11-16 Jakub Jelinek <jakub@redhat.com>
9319
9320 * explow.c (hard_function_value): Add outgoing argument.
9321 * expr.h (hard_function_value): Declare it.
9322 * calls.c (expand_call, emit_library_call_value): Update callers.
9323 * function.c (aggregate_value_p): Ditto.
9324 (diddle_return_value): Must look at the outgoing registers
9325 on archs with register windows.
9326
9327 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
9328
9329 * alpha.c (alpha_build_va_list): Use make_lang_type and
9330 initialize TYPE_NAME for the va_list record.
9331
9332 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
9333
9334 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
9335 for printing.
9336 * ggc.h (struct ggc_statistics): Rearrange elements for better
9337 packing on 64-bit hosts.
9338 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
9339 (compute_nearerout): Likewise.
9340
9341 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
9342
9343 * config/rs6000/rs6000.c (first_reg_to_save): Save
9344 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
9345
9346 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
9347
9348 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
9349 notion of nesting to find the DIE for a type or function.
9350 DIEs can go in limbo even if we got a context_die.
9351 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
9352 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
9353 for local type.
9354 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
9355 (gen_type_die): Writing out the context doesn't cause member class
9356 template instantiations to be written out as well.
9357
9358 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
9359
9360 * rs6000.h (ASM_OUTPUT_DEF): New.
9361 Based on proposed addition from David Edelsohn.
9362
9363 1999-11-15 Robert Lipe <RobertLipe@usa.net>
9364 Bruce Korb <autogen@linuxbox.com>
9365
9366 * fixinc/inclhack.def
9367 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
9368 (unixware7_byteorder_fix): added. Removes conflicts for new defs
9369 in net/inet.h.
9370 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
9371 (svr4_endian): enabled with SVR5
9372 (svr4_mkdev): simplified syntax and enabled with SVR5
9373
9374 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
9375
9376 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
9377 * configure: Rebuilt.
9378 * config/t-freebsd-thread: New file.
9379
9380 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
9381
9382 * i386.c (ix86_decompose_address): Verify the base is a REG
9383 before trying to examine its register number.
9384
9385 * basic-block.h: Remove all #defines and prototypes related to
9386 integer lists.
9387 (free_bb_mem, compute_preds_succs): Remove prototype.
9388 * rtl.h (free_bb_mem): Remove prototype.
9389 * flow.c (alloc_int_list_node); Remove function.
9390 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
9391 (compute_preds_succs, free_bb_mem): Likewise.
9392 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
9393 * toplev.c (rest_of_compilation): Likewise.
9394 * haifa-sched.c (build_control_flow): Use flow generated edge
9395 list to build the haifa specific edge list.
9396 (find_rgns): Use new CFG data structures instead of pred/succ lists.
9397 (schedule_insns): Do not build pred/succ lists anymore. Instead
9398 build the edge table.
9399
9400 * basic-block.h (dump_bb_data): Remove declaration.
9401 * flow.c (dump_bb_data): Remove function.
9402 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
9403 (sbitmap_union_of_predsucc): Likewise.
9404
9405 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
9406 argument. All callers changed.
9407 (delete_null_pointer_checks_1): No longer need to compute the
9408 pred/succ lists.
9409
9410 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
9411 All callers changed.
9412 (pre_expr_reaches_here_p_work): Likewise.
9413 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
9414 * lcm.c (compute_laterin): Fix initialization of LATER.
9415 (compute_nearerout): Similarly for NEARER.
9416
9417 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9418
9419 * cse.c (set_nonvarying_address_components): Delete unused function.
9420 (refers_to_p): Likewise.
9421
9422 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
9423
9424 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
9425 needed.
9426
9427 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9428
9429 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
9430 definition in do while (0).
9431
9432 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
9433
9434 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
9435
9436 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
9437
9438 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
9439
9440 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
9441
9442 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
9443 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
9444 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
9445 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
9446
9447 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
9448 saved on the stack. Output more accurate stack frame statistics
9449 into assembler file.
9450
9451 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
9452
9453 * genextract.c (record_insn_name): New function.
9454 (get_insn_name): No longer a stub.
9455 (main): Call record_insn_name for each insn. After each label
9456 written, print the insn name in a comment.
9457
9458 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9459
9460 * output.h (const_section, init_section, fini_section): Add
9461 prototypes.
9462
9463 * alpha/elf.h (const_section): Delete declaration.
9464
9465 * svr4.h (const_section): Likewise.
9466
9467 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
9468
9469 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
9470 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
9471 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
9472 expressions.
9473 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
9474 variable-sized array bounds.
9475
9476 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
9477
9478 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
9479 ASM_OUTPUT_LABEL.
9480
9481 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9482
9483 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
9484 addresses the same way GO_IF_LEGITIMATE_INDEX does.
9485
9486 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9487
9488 * cse.c (hash_arg_in_struct): Delete.
9489 (struct table_elt): Delete elt in_struct.
9490 (struct set): Delete elt src_in_struct.
9491 (merge_equiv_classes): Don't set either hash_arg_in_struct or
9492 the corresponding in_struct elts.
9493 (canon_hash): Likewise.
9494 (safe_hash): Likewise.
9495 (find_best_addr): Likewise.
9496 (record_jump_cond): Likewise.
9497 (cse_insn): Likewise.
9498
9499 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
9500
9501 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
9502
9503 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
9504 unsigned types.
9505
9506 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
9507
9508 * function.c (diddle_return_value): Put back check that the DECL_RTL
9509 for the function is a register.
9510
9511 * function.c (diddle_return_value): Use hard_function_value to
9512 get an rtx suitable for use in the USE/CLOBBER insn.
9513
9514 * global.c (global_conflicts): Update comments.
9515 (record_conflicts): No need to record conflicts between pseudos here.
9516
9517 1999-11-11 Bruce Korb <autogen@linuxbox.com>
9518
9519 * fixinc/fixincl.c: Added verbose levels for status messages
9520
9521 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9522
9523 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
9524 operand as argument to expand_and or expand_binop.
9525
9526 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
9527
9528 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
9529 gcc_add_string_root.
9530
9531 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
9532
9533 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
9534
9535 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
9536
9537 * flow.c (compute_flow_dominators): Initially put all blocks on
9538 the worklist.
9539 * lcm.c (compute_antinout_edge, compute_available): Similarly.
9540 * gcse.c (compute_cprop_avinout): Remove.
9541 (compute_cprop_data): Use compute_available.
9542 (delete_null_pointer_checks_1): Use compute_available.
9543
9544 * basic-block.h (compute_available): Returns a void now.
9545 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
9546 to return a value anymore.
9547 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
9548 worklists. Fix boundary cases. Compute maximal solutions.
9549 (compute_laterin, compute_nearerout): Similarly.
9550
9551 * dwarf2out.c (add_AT_location_description): Allow
9552 (mem (plus (pseudo) (...)) too.
9553
9554 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
9555
9556 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
9557
9558 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
9559 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9560
9561 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
9562
9563 * gansidecl.h: Likewise.
9564
9565 * rtl.c: Likewise.
9566
9567 * rtl.h: Likewise.
9568
9569 * toplev.h: Likewise.
9570
9571 * tree.c: Likewise.
9572
9573 * tree.h: Likewise.
9574
9575 * varray.c: Likewise.
9576
9577 * varray.h: Likewise.
9578
9579 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
9580
9581 * gcov.c (struct arcdata): Add hits and total, remove prob.
9582 (output_branch_counts): New.
9583 (process_args): Set output_branch_counts if -c.
9584 (calculate_branch_probs): Store hits and total instead of
9585 percentage.
9586 (output_data): Emit counts if output_branch_counts is true.
9587 * gcov.texi (Invoking Gcov): Document -c switch..
9588
9589 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
9590
9591 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
9592 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
9593
9594 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
9595
9596 * invoke.texi (C Dialect Options): Add missing builtins from
9597 c-common.c to list.
9598 * extend.texi (Other Builtins): Copy to this list.
9599
9600 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9601
9602 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
9603 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
9604 redundant bitmap.h.
9605
9606 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
9607
9608 * flow.c (compute_flow_dominators): No longer treat basic block 0
9609 or (n_basic_blocks - 1) specially. Clear the AUX field before
9610 starting computation of doms/pdoms. Fix initial state for pdoms.
9611
9612 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9613
9614 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
9615 match rtl.o's: added ggc.h and toplev.h
9616 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
9617 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
9618 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
9619
9620 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
9621
9622 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
9623 from HAVE_DOS_BASED_FILESYSTEM.
9624 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
9625 HAVE_DOS_BASED_FILESYSTEM.
9626 (main): Likewise.
9627 (split_directories): Only special-case DOS file names if
9628 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
9629 instead of explicit tests. Conditionalize on !VMS.
9630 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
9631 tests. Conditionalize on !VMS.
9632 (process_command): Only use make_relative_prefix if !VMS.
9633 (free_split_directories): Conditionalize on !VMS.
9634 (DIR_UP): Conditionalize on !VMS.
9635
9636 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
9637
9638 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
9639
9640 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
9641
9642 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
9643 case.
9644
9645 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
9646
9647 * invoke.texi (Environment Variables): Document relative path
9648 lookup.
9649 * gcc.c (DIR_UP): If not defined, define as "..".
9650 (standard_bindir_prefix): New static, holds target location to
9651 install binaries.
9652 (split_directories): New function to split a filename into
9653 component directories.
9654 (free_split_directories): New function, release memory allocated
9655 by split_directories.
9656 (make_relative_prefix): New function, make a relative pathname if
9657 the compiler is not in the expected location.
9658 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
9659 can figure out an appropriate prefix from argv[0].
9660 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
9661 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
9662 STANDARD_BINDIR_PREFIX.
9663
9664 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9665
9666 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
9667 in c4x.c.
9668 * config/c4x/c4x.h: Moved prototypes to c4x.h.
9669 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
9670 c4x_secondary_memory_needed) Delete.
9671 (fp_zero_operand): Add mode argument.
9672
9673 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
9674
9675 * reload1.c (reload_reg_free_for_value_p): Don't use a register
9676 that is in reload_reg_used.
9677
9678 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
9679
9680 * config/arm/arm-protos.h: New file: Prototypes for functions
9681 defined in arm.c and pe.c.
9682 * config/arm/arm.h: Fix compile time warnings.
9683 * config/arm/arm.c: Fix compile time warnings.
9684 * config/arm/pe.h: Fix compile time warnings.
9685 * config/arm/aout.h: Fix compile time warnings.
9686
9687 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
9688
9689 * config/m32r/m32r-protos.h: New file: Prototypes for functions
9690 defined in m32r.c
9691
9692 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
9693 Add support for subtargets.
9694 Add prototypes for new predicates.
9695 Add scheduling macros.
9696
9697 * config/m32r/m32r.c: Fix compile time warnings.
9698 (int8_operand): New predicate function.
9699 (reg_or_cmp_int16_operand): New predicate function.
9700 (extend_operand): New predicate function.
9701 (m32r_adjust_code): New scheduling function.
9702 (m32r_adjust_priorty): New scheduling function.
9703 (m32r_sched_init): New scheduling function.
9704 (m32r_sched_reorder): New scheduling function.
9705 (m32r_sched_variable_issue): New scheduling function.
9706 (direct_return): New codegen function.
9707 (m32r_not_same_reg): New rtl testsing function.
9708
9709 * config/m32r/m32r.md: Fix compile time warnings.
9710 Add support for pre decrement and post increment memory
9711 references.
9712 Add S<cc> patterns.
9713 Add fabs patterns.
9714
9715 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9716
9717 * global.c (EXECUTE_IF_CONFLICT): Don't define.
9718 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
9719 (find_reg): Likewise.
9720
9721 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
9722
9723 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
9724 to avoid assembler errors.
9725
9726 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
9727
9728 * config/v850/v850-protos.h: New file: Prototypes for functions
9729 defined in v850.c
9730 * config/v850/v850.h: Move prototypes to v850-protos.h
9731 * config/v850/v850.c: Move prototypes to v850-protos.h
9732 * config/v850/v850.md: Fix compile time warnings.
9733
9734 * config/fr30/fr30-protos.h: New file: Prototypes for functions
9735 defined in fr30.c
9736 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
9737 * config/fr30/fr30.c: Fix compile time warnings.
9738 * config/fr30/fr30.md: Fix compile time warnings.
9739
9740 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
9741
9742 * tree.h (get_containing_scope): Declare it.
9743 * tree.c (get_containing_scope): New fucntion.
9744 (decl_function_context): Use it.
9745 * toplev.c (rest_of_compilation): Use get_containing_scope.
9746
9747 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9748
9749 * Makefile.in (rtl.o): Depend on toplev.h.
9750
9751 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
9752
9753 * cse.c (delete_trivially_dead_insns): Replace alloca with
9754 xmalloc/xcalloc.
9755 * except.c (update_rethrow_references): Likewise.
9756 (init_eh_nesting_info): Likewise.
9757 * function.c (identify_blocks): Likewise.
9758 * gcse.c (dump_hash_table): Likewise.
9759 * graph.c (print_rtl_graph_with_bb): Likewise.
9760 * loop.c (combine_movables): Likewise.
9761 (move_movables): Likewise.
9762 (count_loop_regs_set): Likewise.
9763 (strength_reduce): Likewise.
9764 * profile.c (compute_branch_probabilities): New function, split
9765 out from ...
9766 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
9767 * regclass.c (regclass): Likewise.
9768 * regmove.c (regmove_optimize): Likewise.
9769 * toplev.c (compile_file): Likewise.
9770 (main): Don't mess with the stack rlimit.
9771
9772 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
9773
9774 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
9775 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
9776
9777 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
9778
9779 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
9780
9781 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
9782
9783 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
9784 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
9785 macro expansion.
9786
9787 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
9788
9789 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
9790
9791 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
9792
9793 * gcse.c (post_dominators): Kill.
9794 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
9795 (compute_code_hoist_data): Use compute_flow_dominators. Do not
9796 pass in a pdom array since we do not need pdoms.
9797 * haifa-sched.c (schedule_insns): Similarly.
9798 * flow.c (compute_dominators): Remove dead function.
9799 (compute_flow_dominators): Do not compute doms or pdoms if the
9800 caller does not request them. Split up loop to build doms and
9801 pdoms. Use a worklist to compute doms and pdoms.
9802 * basic-block.h (compute_dominators): Remove prototype.
9803
9804 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
9805
9806 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
9807 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
9808 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
9809 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
9810 (cant_move, fed_by_spec_load, is_load_insn): Remove.
9811 (schedule_region): Remove unused variable.
9812 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
9813
9814 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
9815
9816 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
9817 (update_equiv_regs): Likewise.
9818 (block_alloc): Likewise.
9819 * reg-stack.c (reg_to_stack): Likewise.
9820 (convert_regs_2): Likewise.
9821 * reload1.c (reload_as_needed): Likewise.
9822
9823 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
9824
9825 * Makefile.in (dbxout.o): Depend on ggc.h.
9826 (dwarf2out.o): Likewise.
9827 (xcoffout.o): Likewise.
9828 * dbxout.c: Include ggc.h.
9829 (dbxout_init): Register lastfile as a root.
9830 * dwarf2out.c: Include ggc.h.
9831 (dwarf2out_line): Register lastfile as a root.
9832 * xcoffout.c: Include ggc.h.
9833 (xcoffout_source_line): Register xcoff_lastfile as a root.
9834
9835 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
9836
9837 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
9838
9839 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
9840
9841 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
9842 defined.
9843 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
9844
9845 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9846
9847 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
9848 (EXECUTE_IF_CONFLICT): Likewise.
9849 (ALLOCNO_LIVE_P): Avoid signed division.
9850 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
9851 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
9852 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
9853
9854 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
9855
9856 * haifa-sched.c (schedule_block): Don't crash if there's no
9857 next insn for an interblock movement.
9858 (add_branch_dependences): Don't allow clobber insns to move either.
9859
9860 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
9861
9862 * i386.c (split_xf): New.
9863 * i386-protos.h: Declare it.
9864 * i386.md (movxf_1): Add general regs alternatives.
9865 (movxf_1+1): New splitter for same.
9866
9867 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
9868
9869 * function.c (purge_addressof_1): Add missing return values.
9870
9871 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
9872
9873 * function.c (is_addressof): New function. Returns true if
9874 the given piece of RTL is an ADDRESSOF.
9875 (purge_addressof_1): Make boolean. Return false if the
9876 ADDRESSOFs could not be purged.
9877 (purge_addressof): If ADDRESSOFs could not be purged from the
9878 notes attached to an insn, remove the offending note(s),
9879 unless they are attached to a libcall.
9880
9881 1999-11-05 Andreas Jaeger <aj@suse.de>
9882
9883 * genoutput.c (null_operand =): Initialize all fields.
9884
9885 * errors.h: Add extern to prototypes.
9886
9887 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
9888
9889 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
9890 * configure: Rebuilt.
9891
9892 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9893
9894 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
9895 (mirror_conflicts): New function.
9896 (global_alloc): Call it.
9897 (expand_preferences): Remove redundant CONFLICTP test.
9898 (find_reg, dump_conflicts): Likewise.
9899 (prune_preferences): Process conflicts one word at a time.
9900
9901 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
9902
9903 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
9904 instead of an explicit loop.
9905
9906 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
9907
9908 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
9909 if REG_RETVAL check succeeds, then put classp in src_elt.
9910
9911 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
9912
9913 * function.c (pad_to_arg_alignment): Only update argument_pad
9914 if the argument's alignment is greater than STACK_BOUNDARY.
9915
9916 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
9917
9918 * bitmap.h (BITMAP_XFREE): New.
9919 * flow.c (life_analysis): Use it.
9920 (life_analysis_1): Free blocks.
9921
9922 * combine.c (undo_commit): New.
9923 (try_combine): Use it. Don't zap undobuf.undos.
9924 (combine_instructions): Don't zap undobuf.undos; free the
9925 undobuf.frees list.
9926
9927 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
9928
9929 * stmt.c (cost_table_): New.
9930 (estimate_case_costs): Use it instead of xmalloc.
9931
9932 * toplev.c (compile_file): Reuse dumpname memory instead
9933 of strdup'ing it.
9934
9935 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
9936
9937 * reg-stack.c (convert_regs_1): Initialize target_stack->top
9938 after verifying an EH edge.
9939
9940 * haifa-sched.c (init_rgn_data_dependences): Correctly
9941 size bb_pending_lists_length when zeroing.
9942
9943 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
9944
9945 * function.c (diddle_return_value): New.
9946 (expand_function_end): Use it.
9947 * stmt.c (expand_null_return): Likewise.
9948 (expand_value_return): Likewise.
9949
9950 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
9951
9952 * reload1.c (reload): Don't remove return value clobbers.
9953
9954 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
9955
9956 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
9957
9958 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
9959
9960 * cse.c (cse_main): Use xmalloc, not alloca.
9961 (cse_basic_block): Likewise.
9962 * local-alloc.c (local_alloc): Likewise.
9963
9964 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
9965 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9966
9967 * rtl.c: Include toplev.h.
9968 (fatal): Remove declaration.
9969
9970 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
9971
9972 * haifa-sched.c (schedule_block): Fix thinko.
9973
9974 1999-11-03 James McKelvey <mckelvey@fafnir.com>
9975
9976 * fixinc/fixincl.c(create_file): Allow for systems that do not have
9977 S_IR* defined values
9978
9979 1999-11-03 Philippe De Muyter <phdm@macqel.be>
9980
9981 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
9982 call `malloc' instead.
9983
9984 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
9985
9986 * flags.h (flag_renumber_insns): Declare.
9987 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
9988 renumbering table.
9989 * rtl.h (renumber_insns): Change prototype.
9990 * toplev.c (flag_renumber_insns): Define.
9991 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
9992
9993 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
9994
9995 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
9996 and fpsqrtd. Use them and create fdiv function unit to more
9997 accurately represent fpu sqrt pipeline semantics on UltraSparc.
9998 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
9999
10000 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
10001
10002 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
10003 3 on UltraSparc.
10004 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
10005 insn into ready list, do not use just a raw swap.
10006
10007 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
10008
10009 * rtl.h (renumber_insns): New function.
10010 (remove_unnecessary_notes): Likewise.
10011 * emit-rtl.c (renumber_insns): Define.
10012 (remove_unncessary_notes): Likewise.
10013 * toplev.c (rest_of_compilation): Remove dead code.
10014 Use renumber_insns and remove_unncessary_notes.
10015
10016 * gcse.c (struct null_pointer_info): New type.
10017 (get_bitmap_width): New function.
10018 (current_block): Remove.
10019 (nonnull_local): Likewise.
10020 (nonnull_killed): Likewise.
10021 (invalidate_nonnull_info): Take a null_pointer_info as input.
10022 (delete_null_pointer_checks_1): New function.
10023 (delete_null_pointer_checks): Use it.
10024
10025 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
10026 (split_edges): Likewise.
10027 (schedule_block): Likewise.
10028 (compute_block_backward_dependencies): Likewise.
10029 (schedule_region): Likewise.
10030 (schedule_insns): Likewise.
10031
10032 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
10033
10034 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
10035 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
10036 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
10037 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
10038 * jump.c (delete_unreferenced_labels): Don't delete if
10039 LABEL_ALTERNATE_NAME is set.
10040 * print-rtl.c (print_rtx): Dump alternate name.
10041 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
10042 * rtl.h (LABEL_ALTERNATE_NAME): Define.
10043 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
10044 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
10045
10046 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10047
10048 * fix-header.c (recognized_extern, recognized_function): Constify
10049 a char*.
10050
10051 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
10052 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
10053 (compute_available): Remove unused variable `last'.
10054 (compute_nearerout): Remove unused variable `temp_bitmap'.
10055 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
10056 Remove unused variable `x'.
10057
10058 * scan.h (recognized_function, recognized_extern): Constify a
10059 char*.
10060
10061 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
10062
10063 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10064
10065 * varasm.c (decode_rtx_const): Use XSTR to access the string
10066 of a SYMBOL_REF.
10067
10068 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
10069
10070 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
10071
10072 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10073
10074 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
10075
10076 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
10077
10078 * pa.c (ireg_operand): New function.
10079 * pa.h (PREDICATE_CODES): Handle ireg_operand.
10080 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
10081 Fix out of date comment.
10082
10083 * pa.md (negdi2): Turn into expander + anonymous pattern.
10084
10085 * reload.c (find_reloads): Fix typos in recent change.
10086
10087 * dwarf2out.c: Do not include ctype.h.
10088
10089 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10090
10091 * regclass.c (record_reg_classes): Always use may_move_cost when
10092 seeing how operand fits with various register classes.
10093
10094 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
10095
10096 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
10097 * toplev.c: Revert Nov 1 13:22 change.
10098
10099 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
10100
10101 * config/pa/pa.md (height reduction patterns): Add checks for
10102 overlapping operands to avoid semantic-destroying splits for
10103 height reduction patterns.
10104
10105 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10106
10107 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
10108 have been an hyphen, fixed.
10109 * configure: Rebuilt.
10110
10111 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
10112
10113 * config/arm/tpe.h: Add prototypes for exported functions.
10114 * config/arm/pe.c: Fix compile time warnings.
10115 * config/arm/semi.h: Fix compile time warnings.
10116 * config/arm/arm.c: Fix compile time warnings.
10117 * config/arm/arm.h: Fix compile time warnings.
10118 * config/arm/arm.md: Fix compile time warnings.
10119 * config/arm/thumb.c: Fix compile time warnings.
10120 * config/arm/thumb.h: Fix compile time warnings.
10121 * config/arm/thumb.md: Fix compile time warnings.
10122
10123 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
10124
10125 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
10126 detection code
10127
10128 * unroll.c (unroll_loop): Remove LOOP notes when loop is
10129 completely unrolled.
10130
10131 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10132
10133 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
10134
10135 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
10136
10137 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
10138 * rtl.h (rtx_equal_p): Move prototype.
10139 * rtl.c (rtx_equal_function_value_matters): Move from
10140 rtlanal.c
10141 (rtx_equal_p): Likewise.
10142 * rtlanal.c (rtx_equal_function_value_matters): Delete.
10143 (rtx_equal_p): Likewise.
10144
10145 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
10146
10147 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
10148 ! HAS_INIT_SECTION.
10149
10150 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
10151
10152 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
10153
10154 * pa.h (ADDR_VEC_ALIGN): Define.
10155
10156 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
10157 notes when presented with "if (foo) break; end_of_loop" and
10158 the break sequence gets moved out of the loop.
10159
10160 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
10161 Remove explicit zero initializations of entries within MAP.
10162
10163 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
10164
10165 * reg-stack.c (convert_regs_1): Handle EH edges specially.
10166
10167 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
10168
10169 * bitmap.h (BITMAP_XMALLOC): New macro.
10170 * flow.c (CLEAN_ALLOCA): Remove.
10171 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
10172 (life_analysis): Likewise.
10173 (update_life_info): Don't use CLEAN_ALLOCA.
10174 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
10175 (calculate_global_regs_live): Likewise.
10176 (print_rtl_with_bb): Likewise.
10177 (verify_flow_info): Likewise.
10178 * global.c (global_alloc): Likewise.
10179 (global_conflicts): Likewise.
10180 * integrate.c (save_for_inline_nocopy): Likewise.
10181 (expand_inline_function): Likewise.
10182 * jump.c (jump_optimize_1): Likewise.
10183 (duplicate_loop_exit_test): Likewise.
10184 (thread_jumps): Likewise.
10185 * loop.c (loop_optimize): Likewise.
10186 (combine_givs): Likewise.
10187 (recombine_givs): Likewise.
10188 * reorg.c (dbr_schedule): Likewise.
10189 * unroll.c (unroll_loop): Likewise.
10190
10191 * combine.c (combine_instructions): Use xmalloc instead of alloca.
10192
10193 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
10194
10195 * toplev.c (rest_of_compilation): Don't optimize the CFG
10196 when rebuilding, just before dbr.
10197
10198 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10199
10200 * output.h (assemble_end_function, assemble_destructor,
10201 assemble_constructor, assemble_gc_entry, assemble_global,
10202 assemble_label, output_constant_pool) Constify a char*.
10203
10204 * varasm.c (assemble_destructor, assemble_constructor,
10205 assemble_gc_entry, assemble_end_function, assemble_global,
10206 assemble_label, output_constant_pool): Likewise.
10207
10208 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
10209
10210 * config/arm/thumb.c (thumb_expand_prologue): Add comments
10211 explaining what is goin on in this function.
10212
10213 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10214
10215 * regclass.c (record_reg_classes): In matching case, recompute
10216 costs since the direction of movement is different.
10217
10218 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
10219
10220 * resource.c (mark_target_live_regs): For unconditional branches,
10221 the resources found at the branch target should be added to the
10222 resources found so far, not intersected.
10223
10224 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
10225
10226 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
10227 old cpp's.
10228 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
10229 (sys/mman.h): Include this file only if #HAVE_MMAP.
10230 (run_compiles): Initialize `esac_fmt' with one old KR string, not
10231 with automatically concatenated ANSI strings.
10232
10233 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
10234
10235 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
10236 (DIV_ROUND_UP): Robustify.
10237 (ggc_recalculate_in_use_p): New function.
10238 (release_pages): Don't inline it.
10239 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
10240 outer contexts.
10241 (ggc_pop_context): Use ggc_recalculate_in_use_p.
10242 (clear_marks): Always save in_use_p.
10243 (sweep_pages): Use ggc_recalculate_in_use_p.
10244 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
10245 Release pages before counting statistics.
10246
10247 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
10248
10249 * toplev.c (rest_of_compilation): Fix thinko in this change:
10250
10251 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
10252
10253 (rest_of_compilation): If inside an inlined external function,
10254 pretend we are just being declared.
10255
10256 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
10257
10258 * flow.c (calculate_global_regs_live): Fix thinko.
10259
10260 * integrate.c (expand_inline_function): Fix bugs in previous
10261 change from Oct 28, 1999.
10262
10263 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
10264
10265 * stmt.c (expand_value_return): Fix typo in this change:
10266
10267 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10268 (expand_value_return): Correctly convert VAL when promoting function
10269 return; support RETURN_REG being a PARALLEL.
10270
10271 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
10272
10273 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
10274
10275 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10276
10277 * hard-reg-set.h (reg_names): Constify a char*.
10278
10279 * regclass.c (reg_names): Likewise.
10280
10281 * regs.h (reg_names): Likewise
10282
10283 * a29k/a29k.c (reg_names): Delete declaration.
10284
10285 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
10286
10287 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
10288 arc_output_function_epilogue): Likewise.
10289
10290 * elxsi/elxsi.c (reg_names): Likewise.
10291
10292 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
10293
10294 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
10295 Likewise.
10296
10297 * m88k/m88k.c (output_function_profiler): Likewise.
10298
10299 * sparc/sparc.c (sparc_flat_output_function_prologue,
10300 sparc_flat_output_function_epilogue): Likewise.
10301
10302 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
10303
10304 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
10305 warning from -Wuninitialized and put it under -W.
10306 * function.c (uninitialized_vars_warning): Warn only when the
10307 corresponding flag is set.
10308
10309 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
10310
10311 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
10312 is nonzero and the single set does not have an elt, then assign
10313 it an elt.
10314
10315 * simplify-rtx.c: New file.
10316 * Makefile.in (OBJS): Add simplify-rtx.o
10317 (simplify-rtx.o): Add dependencies.
10318 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
10319 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
10320 (cse_gen_binary, simplify_unary_operation): Delete.
10321 (simplify_binary_operation, simplify_plus_minus): Likewise.
10322 (check_fold_consts, simplify_relation_operation): Likewise.
10323 (simplify_ternary_operation): Likewise.
10324 (delete_trivially_dead_insns): Simplify the contents of the
10325 REG_EQUAL note before trying to substitute it into the source
10326 of the reg-reg copy at the end of a libcall sequence.
10327
10328 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
10329 references/callers changed.
10330
10331 * mn10200.c (mn10200_va_arg): Force the return value into a
10332 register.
10333
10334 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
10335
10336 * cccp.c (macroexpand): Avoid out of range accesses for omitted
10337 arguments.
10338
10339 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
10340
10341 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
10342
10343 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
10344
10345 * fold-const.c (fold): Fix thinko when optimizing comparisons
10346 against -0.0.
10347
10348 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
10349
10350 * gcc.texi (Passes): Update front-end files to their current
10351 location.
10352
10353 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
10354
10355 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
10356 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
10357 (PREDICATE_CODES): Add addition_operation.
10358 * alpha-protos.h (addition_operation): Declare.
10359 (secondary_reload_class): Likewise.
10360 * alpha.c (addition_operation): New.
10361 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
10362 * alpha.md (adddi3): Turn into expander.
10363 (*lda, *adddi_2): New.
10364 (movsf, movdf patterns): Don't preference integer regs.
10365 (movsi, movdi patterns): Don't preference fp regs.
10366
10367 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
10368
10369 * genrecog.c (write_switch): Check for duplicate CODE cases.
10370
10371 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
10372
10373 * ggc-common.c: Update pre-function commentary.
10374 * ggc-page.c: Likewise.
10375 (poison): Remove.
10376 (poison_pages): Use memset directly.
10377 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
10378 (ggc_collect): Poison before sweeping.
10379 * ggc-simple.c: Update pre-function commentary.
10380 (ggc_alloc_obj): Poison non-zeroed memory.
10381
10382 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
10383
10384 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
10385 match format string, even on 64-bit hosts.
10386 * gcc-page.c (ggc_page_print_statistics): Likewise.
10387
10388 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
10389
10390 * config/i386/i386.c (ix86_cpu): Revert last patch.
10391 * config/i386/i386.h (ix86_cpu): Ditto.
10392
10393 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
10394
10395 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
10396 TYPE_SIZE, convert type of result to sizetype.
10397
10398 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
10399
10400 * flow.c (count_or_remove_death_notes): Equate NULL with the
10401 universal set.
10402
10403 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
10404 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
10405 dbr_schedule.
10406
10407 * i386.c (pic_label_no): Delete.
10408 (ix86_attr_length_default): Don't use single_set to peek
10409 inside a parallel.
10410
10411 * recog.c (peephole2_optimize): Allow recog_next_insn to index
10412 the first insn after bb->end.
10413 * i386.md (push mem peeps): Scratch is live after evaluation
10414 of the memory.
10415 (cmp mem peep): Similarly.
10416
10417 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
10418
10419 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
10420 * function.c (pad_to_arg_alignment): Add missing braces.
10421
10422 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10423
10424 * alpha/alpha-protos.h (literal_section): Add prototype.
10425 (alpha_need_linkage, alpha_start_function,alpha_end_function):
10426 Constify a char*.
10427
10428 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
10429 prototype.
10430 (alpha_start_function, alpha_end_function, float_strings,
10431 alpha_need_linkage): Constify a char*
10432
10433 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
10434
10435 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
10436
10437 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
10438
10439 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
10440
10441 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10442
10443 * flow.c (debug_flow_info): Add prototype.
10444
10445 * gcc.c (main): Likewise.
10446
10447 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
10448 Likewise.
10449
10450 * reload1.c (failed_reload, set_reload_reg): Likewise.
10451
10452 * mips-tfile.c (main): Likewise.
10453 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
10454 with ATTRIBUTE_NORETURN.
10455
10456 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
10457
10458 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
10459 DECL is not a memory ref.
10460
10461 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
10462
10463 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
10464 * config/i386/i386.c (ix86_cpu): Add extern attribute.
10465
10466 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
10467
10468 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
10469 * config/mips/elf64.h: ditto.
10470
10471 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
10472
10473 * expr.c (emit_push_insn): New argument alignment_pad.
10474 Update all callers. Adjust stack pointer based on alignment pad.
10475 * function.c (pad_to_arg_alignment): New argument alignment_pad.
10476 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
10477 (locate_and_pad_parm): New argument alignment_pad. Update all
10478 callers.
10479 * expr.h (emit_push_insn): Update prototype.
10480 (locate_and_pad_parm): Update prototype.
10481 * calls.c (arg_data): Add new field alignment_pad.
10482 (initialize_argument_information): Initialize alignment_pad.
10483
10484 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
10485
10486 * except.c (free_eh_nesting_info): Free the info itself.
10487 * function.c (free_after_compilation): Don't free NULL.
10488 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
10489 (pre_edge_insert): Free inserted.
10490 * stmt.c (free_stmt_status): Don't free NULL.
10491
10492 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
10493
10494 * gcov.c (DIR_SEPARATOR): Provide default.
10495 (output_data): Add test for MS-DOS format absolute filename.
10496 (fancy_abort): Correct program name.
10497 (open_files): Open all files in binary mode.
10498 * libgcc2.c (__bb_exit_func): Likewise.
10499
10500 * profile.c (init_branch_prob): Specify binary when opening files.
10501
10502 * flags.h (flag_unwind_tables): New decl.
10503 * toplev.c (flag_unwind_table): New definition.
10504 (f_options): Add -funwind-tables.
10505 (decode_g_option): Clarify warning when unknown -g option is given.
10506 (rest_of_compilation): If inside an inlined external function,
10507 pretend we are just being declared.
10508
10509 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
10510 (dwarf2out_frame_finish): Likewise.
10511
10512 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
10513
10514 * fold-const.c (merge_ranges): If not in0, but in1, handle
10515 upper bounds equal like subset case.
10516
10517 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
10518
10519 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
10520 passed in a register but moved to the stack.
10521
10522 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
10523
10524 * gcc.c (pass_exit_codes, greatest_status): New variables.
10525 (struct option_map): Add entry for "--pass-exit-codes".
10526 (execute): Update greatest_status if error.
10527 (display_help): Add documentation for -pass-exit-codes.
10528 (process_command): Handle -pass-exit-codes.
10529 (main): Look at pass_exit_codes and greatest_status on call to exit.
10530
10531 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10532
10533 * reload.c (find_reloads): Refine test for no input reload
10534 case to not includes reloads emitted after insn.
10535
10536 * function.c (find_temp_slots_from_address): Handle sum involving
10537 a register that points to a temp slot.
10538 (update_temp_slot_address): Make recursive call if both old and
10539 new are PLUS with a common operand.
10540 * calls.c (expand_call): Mark temp slot for result as having
10541 address taken.
10542
10543 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
10544
10545 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
10546 component as well as "BINUTILS".
10547
10548 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
10549 * integrate.c (copy_rtx_and_substitute): Likewise.
10550 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
10551 All callers changed.
10552 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
10553
10554 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
10555 gdb extensions, write size of type; also be more consistent
10556 in using references when this is a subtype.
10557
10558 * pa.md (extv, extzv, insv): Use define_expand to reject constant
10559 that is out of range.
10560
10561 * loop.c (unknown_constant_address_altered): New variable.
10562 (prescan_loop): Initialize it.
10563 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
10564 (invariant_p, case MEM): Remove handling for volatile and readonly;
10565 check new variable if readonly.
10566 (check_dbra_loop): Chdeck unknown_constant_address_altered.
10567
10568 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
10569 (addr_affects_sp_p): Removed from note_mem_written and only
10570 define #ifdef AUTO_INC_DEC.
10571
10572 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
10573
10574 * regclass.c (record_reg_classes): Properly handle register move
10575 directions.
10576
10577 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
10578 Don't think valid if both operands are invalid.
10579 (struct constant_descriptor): New field RTL.
10580 (mark_const_hash_entry): Mark it.
10581 (record_constant{,_rtx}): Initialize it.
10582 (output_constant_def): Allocate RTL in permanent obstack and
10583 save in table.
10584 ({record,compare}_constant_1): Modes must match for
10585 CONSTRUCTOR of ARRAY_TYPE.
10586
10587 * c-common.h (initializer_constant_valid_p): Delete decl from here.
10588 * output.h (initializer_constant_valid_p): Move decl to here.
10589 * c-common.c (initializer_constant_valid_p): Delete function from here.
10590 * varasm.c (initializer_constant_valid_p): Move function to here.
10591
10592 * tree.h (STRIP_SIGN_NOPS): New macro.
10593 * fold-const.c (optimize_minmax_comparison): New function.
10594 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
10595 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
10596 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
10597 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
10598 widening conversions.
10599 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
10600 to look at size of mode, not precision of type; also add missing cases.
10601 (optimize_bit_field_compare, decode_field_reference): Don't try to
10602 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
10603
10604 * dwarf2out.c (ctype.h): Include.
10605 (dwarf2out_set_demangle_name_func): New function.
10606 (size_of_line_info): Deleted.
10607 (output_line_info): Compute size of line info table from difference
10608 of labels.
10609 (base_type_die, add_name_attribute): Call demangle function, if any.
10610 (field_byte_offset): Use bits per word for variable length fields.
10611 (gen_array_type_die): Add array name.
10612 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
10613 (dwarf2out_add_library_unit_info): New function.
10614
10615 * explow.c (set_stack_check_libfunc): New function.
10616 (stack_check_libfunc): New static variable.
10617 (probe_stack_range): Allow front-end to set up a libfunc to call.
10618
10619 * combine.c (simplify_comparison): When making comparison in wider
10620 mode, check for having commuted an AND and a SUBREG.
10621 (contains_muldiv): New function.
10622 (try_combine): Call it when dividing a PARALLEL.
10623 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
10624 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
10625 a PLUS.
10626 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
10627 use one of the CLOBBERs instead.
10628 (if_then_else_cond): If comparing against zero, just return thing
10629 being compared.
10630
10631 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
10632 Don't generate shifts and subtract if have conditional arithmetic.
10633
10634 * rtl.h (delete_barrier): New declaration.
10635 * jump.c (jump_optimize): Set up to handle conditional call.
10636 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
10637 (delete_barrier): New function.
10638
10639 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
10640
10641 * recog.c (nonmemory_operand): Accept ADDRESSOF.
10642
10643 * tree.c (build_type_attribute_variant): Push to obstack of
10644 ttype around type_hash_canon call.
10645
10646 * expr.c (placeholder_list): Move decl to file scope.
10647 (expand_expr): Don't force access to volatile just because its
10648 address is taken.
10649 If ignoring reference operations, just expand the operands.
10650 (expand_expr, case COMPONENT_REF): Propagate
10651 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
10652 Refine test for using bitfield operations vs pointer punning.
10653 (expand_expr, case CONVERT_EXPR): If converting to
10654 BLKmode UNION_TYPE from BLKmode, just return inner object.
10655 Use proper mode in store_field call.
10656 Properly set sizes of object to store and total size in store_field
10657 call for convert to union.
10658 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
10659 memory (like for ADDR_EXPR). Also, don't put constant in register if
10660 we'll want it in memory.
10661 (readonly_fields_p): New function.
10662 (expand_expr, case INDIRECT_REF): Call it if LHS.
10663 (expand_assignment): Handle a RESULT_DECL where
10664 DECL_RTL is a PARALLEL.
10665 (do_jump, case WITH_RECORD_EXPR): New case.
10666 (get_inner_reference): Always go inside a CONVERT_EXPR
10667 and NOP_EXPR if both modes are the same.
10668 (store_field): Use bitfield operations if size of bitsize is not same
10669 as size of RHS's type.
10670 Check for bitpos not a multiple of alignment in BLKmode case.
10671 Do block move in largest possible alignment.
10672 (store_constructor): Set BITSIZE to -1 for variable size and properly
10673 in case of array of BLKmode.
10674 (expand_expr_unaligned): New function.
10675 (do_compare_and_jump): Call it.
10676
10677 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
10678 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
10679 does not include 'o'.
10680
10681 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
10682 both SET_DEST and SET_SRC reference a virtual register.
10683 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
10684
10685 * integrate.c (expand_inline_function): Handle case of setting
10686 virtual stack vars register (from built in setjmp); when parameter
10687 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
10688 (subst_constant): Add new parm, MEMONLY.
10689 (expand_inline_function, integrate_parm_decls): Pass new parm.
10690 (integrate_decl_tree): Likewise.
10691 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
10692 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
10693 (copy_rtx_and_substitute, case SET): Add explicit calls to
10694 copy_rtx_and_substitute for both sides.
10695
10696 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
10697 constraints.
10698 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
10699 within INDEX_TYPE, instead of before.
10700 (fixup_gotos): Use f->target_rtl, not the next insn,
10701 since latter may be from a later fixup.
10702 (expand_value_return): Correctly convert VAL when promoting function
10703 return; support RETURN_REG being a PARALLEL.
10704 (expand_return): When checking for result in regs and having
10705 cleanup, consider PARALLEL in DECL_RTL as being in regs.
10706
10707 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
10708
10709 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
10710 last_nominal_fname): Mark const.
10711 (struct include_hash: name, nshort, control_macro): Mark
10712 const.
10713 (struct macrodef: symnam): Mark const.
10714 (struct if_stack: fname): Mark const.
10715 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
10716 (IStable): New character-syntax array which encompasses all
10717 the old is_foo arrays.
10718 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
10719 is_space): New macros for interrogating IStable.
10720 (check_macro_name): Kill last argument. All callers changed.
10721
10722 * cppinit.c (initialize_char_syntax): Delete.
10723 (is_idchar, is_idstart, is_hor_space, is_space,
10724 trigraph_table): Delete.
10725 (IStable): New. Initialize with clever macros to avoid
10726 information duplication.
10727 (builtin_array): Table of builtins to get rid of explicit list
10728 in initialize_builtins.
10729 (initialize_builtins): Use builtins_array.
10730 (cpp_start_read): Call init_IStable, and set IStable['$'] if
10731 opts->dollars_in_ident.
10732
10733 * cppexp.c: Change all refs to is_xyz[] arrays to use new
10734 is_xyz() macros.
10735 (cpp_parse_expr): Avoid 'format string is not constant'
10736 warning. Use ISGRAPH to identify printable chars.
10737 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
10738 is_xyz() macros.
10739 (read_and_prescan): Map trigraphs to chars with open-coded
10740 if-else-if-... sequence, not a lookup table.
10741 * cpphash.c: Change all refs to is_xyz[] arrays to use new
10742 is_xyz() macros.
10743 * cpplib.c: Change all refs to is_xyz[] arrays to use new
10744 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
10745 (check_macro_name): Remove ability to report an invalid
10746 assertion name, which is never used.
10747 (do_line): Constify a couple of char *'s.
10748 * cppmain.c (main): Call cpp_cleanup before returning.
10749
10750 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
10751
10752 * ggc.h (struct ggc_statistics): New type.
10753 (ggc_get_size): New function.
10754 (ggc_print_statistics): Likewise.
10755 * ggc-common.c (ggc_stats): New variable.
10756 (ggc_mark_rtx_children): Keep statistics.
10757 (ggc_mark_tree_children): Likewise.
10758 (ggc_print_statistics): New function.
10759 * ggc-page.c (struct globals): Add bytes_mapped field.
10760 (alloc_anon): Update it.
10761 (release_pages): Likewise.
10762 (ggc_get_size): New function.
10763 (ggc_page_print_statistics): New function.
10764 * ggc-simple.c (ggc_get_size): New function.
10765
10766 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
10767
10768 * flow.c (propagate_block): When the last reference to a label
10769 before an ADDR_VEC is deleted because the reference is a dead
10770 store, delete the ADDR_VEC.
10771
10772 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
10773
10774 * resource.c (find_free_register): Don't use the frame pointer
10775 if frame_pointer_needed.
10776
10777 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
10778
10779 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
10780 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
10781
10782 * config/i960/i960.c (i960_va_start): New locals base, num.
10783 Use INDIRECT_REF instead of ARRAY_REF on valist.
10784 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
10785
10786 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
10787
10788 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
10789
10790 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
10791
10792 * tree.def (PLACEHOLDER_EXPR): Update comments.
10793
10794 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10795
10796 * c-common.c (check_format_info): Avoid non-literal format string
10797 warnings when `first_arg_num' is zero.
10798
10799 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10800
10801 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
10802
10803 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
10804
10805 * arm.md (casesi_insn): Add a clobber of the condition code
10806 register.
10807
10808 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
10809
10810 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
10811 used by both cc1 and cc1plus.
10812
10813 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
10814
10815 * config/arm/arm.c: Initialise arm_structure_size_boundary to
10816 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
10817 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
10818 to the value 32 if it has not already been defined.
10819 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
10820 Override definition in arm.h with a value of 8.
10821
10822 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
10823
10824 * c-pragma.c (push_alignment): Don't check the return value
10825 of xmalloc.
10826
10827 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
10828
10829 * sparc.h (ADJUST_COST): Fix thinko.
10830
10831 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
10832
10833 * cccp.c (rescan): Fixed obp pointer handling around call to
10834 check_expand subroutine.
10835
10836 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
10837
10838 * gcse.c (delete_null_pointer_checks): Only record non-null info
10839 for pseudos when examining stores.
10840
10841 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
10842 splitters for these patterns. Use "#" for output templates.
10843 (addsi3_carryin_shift): New pattern.
10844
10845 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
10846
10847 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
10848 of the function return register into a plain REG until
10849 after function inlining is done.
10850
10851 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
10852
10853 * jump.c (jump_optimize_1): If we did cross-jumping, and
10854 the data will matter, rebuild the CFG.
10855 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
10856 not optimizing. Don't run shorten_branches.
10857 * toplev.c (rest_of_compilation): Run shorten_branches after
10858 reg_to_stack.
10859
10860 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
10861
10862 * rtl.h (note_stores): Add additional paramter.
10863 * rtlanal.c (reg_set_p_1): Take additional paramter.
10864 (reg_set_last_1): Likewise.
10865 (reg_set_p): Adjust call to note_stores.
10866 (reg_set_last): Likewise.
10867 (note_stores): Pass data parameter to worker function.
10868 * alias.c (record_set): Take additional parameter.
10869 (init_alias_analysis): Pass it.
10870 * caller-save.c (mark_set_regs): Take additional parameter.
10871 (save_call_clobbered_regs): Pass NULL to note_stores.
10872 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
10873 parameter.
10874 (record_dead_and_set_regs_1): Likewise.
10875 (reg_dead_at_p_1): Likewise.
10876 (combine_instructions): Adjust calls to note_stores.
10877 (try_combine): Likewise.
10878 (record_dead_insn): Remove.
10879 (record_dead_and_set_regs): Adjust calls to note_stores.
10880 (reg_dead_at_p): Likewise.
10881 * cse.c (invalidate_skipped_set): Take additional parameter.
10882 (cse_check_loop_start): Likewise.
10883 (cse_check_loop_start_value): Remove.
10884 (cse_set_around_loop): Adjust calls to note_stores.
10885 * flow.c (notice_stack_pointer_modification): Take additional
10886 parameter. Remove duplicate declaration.
10887 (record_volatile_insns): Adjust calls to note_stores.
10888 * gcse.c (record_set_info): Take additional parameter.
10889 (record_last_set_info): Likewise.
10890 (invalidate_nonnull_info): Likewise.
10891 (record_set_insn): Remove.
10892 (compute_sets): Adjust calls to note_stores.
10893 (last_set_insn): Remove.
10894 (compute_hash_table): Adjust calls to note_stores.
10895 (insert_insn_end_bb): Likewise.
10896 (delete_null_pointer_checks): Likewise.
10897 * global.c (mark_reg_store): Take additional parameter.
10898 (mark_reg_clobber): Likewise.
10899 (reg_becomes_live): Likewise.
10900 (global_conflicts): Adjust calls to note_stores.
10901 (build_insn_chain): Likewise.
10902 * integrate.c (note_modified_parmregs): Take additional parameter.
10903 (mark_stores): Likewise. Make it static.
10904 (save_for_inline_nocopy): Adjust calls to note_stores.
10905 (try_constants): Likewise.
10906 * integrate.h (mark_stores): Remove declaration.
10907 * jump.c (mark_modified_reg): Take additional parameter.
10908 (thread_jumps): Adjust calls to note_stores.
10909 * local-alloc.c (validate_equiv_mem_from_store): Take additional
10910 parameter.
10911 (no_equiv): Likewise.
10912 (reg_is_set): Likewise.
10913 (validate_equiv_mem): Adjust calls to note_stores.
10914 (update_equiv_regs): Likewise.
10915 (block_alloc): Likewise.
10916 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
10917 (note_addr_stored): Take additional parameter.
10918 (note_set_pseudo_multiple_uses): Likewise.
10919 (record_initial): Likewise.
10920 (prescan_loop): Adjust calls to note_stores.
10921 (strength_reduce): Likewise.
10922 (check_dbra_loop): Likewise.
10923 * regmove.c (flags_set_1): Take additional paramter.
10924 (mark_flags_life_zones): Adjust calls to note_stores.
10925 * reload1.c (mark_not_eliminable): Take additional parameter.
10926 (forget_old_reloads_1): Likewise.
10927 (reload_cse_invalidate_rtx): Likewise.
10928 (reload_cse_check_clobber): Likewise.
10929 (reload_combine_note_store): Likewise.
10930 (move2add_note_store): Likewise.
10931 (reload): Adjust calls to note_stores.
10932 (reload_as_needed): Likewise.
10933 (emit_reload_insns): Likewise.
10934 (reload_cse_regs_1): Likewise.
10935 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
10936 (reload_combine): Adjust calls to note_stores.
10937 * resource.c (update_live_status): Take additional paramter.
10938 (mark_target_live_regs): Adjust calls to note_stores.
10939 * stupid.c (find_clobbered_regs): Take additional parameter.
10940 (stupid_life_analysis): Adjust calls to note_stores.
10941
10942 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
10943
10944 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
10945 definition.
10946
10947 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
10948 definition.
10949
10950 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
10951 of the variable arm_structure_size_boundary.
10952
10953 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
10954
10955 * alias.c (init_alias_analysis): Allocate reg_known_value and
10956 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
10957 and reg_seen.
10958 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
10959 * cse.c (cse_main): Call end_alias_analysis.
10960 * haifa-sched.c (schedule_insns): Likewise.
10961 * local-alloc. (update_equiv_regs): Likewise.
10962 * reload1.c (reload_cse_regs): Likewise.
10963
10964 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10965
10966 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
10967 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
10968 mapping from MASK_FPU.
10969
10970 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
10971
10972 * sparc.md (call): Don't bound structure return size to 0xfff.
10973
10974 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
10975
10976 * resource.c (mark_target_live_regs): Check that the target
10977 insn wasn't created after compute_bb_for_insn.
10978
10979 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
10980
10981 * ggc-page.c (poison_pages): Don't be overzealous.
10982
10983 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
10984
10985 * alias.c: Update comments for ADDRESS.
10986 (nonlocal_reference_p): Look inside the ADDRESS to determine if
10987 it is a local memory reference.
10988
10989 * c-typeck.c (build_function_call): Check that the built-in
10990 function is of class BUILT_IN_NORMAL before trying to recongize
10991 it as BUILT_IN_ABS.
10992 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
10993 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
10994
10995 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
10996
10997 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
10998 of alloca.
10999 (pre_gcse): Likewise.
11000 (hoist_expr_reaches_here_p): Likewise.
11001 (hoist_code): Likewise.
11002 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
11003 code to ...
11004 (pre_expr_reaches_here_p_work): ... here.
11005 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
11006 code to ...
11007 (expr_reaches_here_p_work): ... here.
11008
11009 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
11010
11011 * resource.c (find_basic_block): Delete.
11012 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
11013 (init_resource_info): Call compute_bb_for_insn.
11014
11015 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
11016
11017 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
11018 with already adjacent blocks, but no fallthru.
11019 (merge_blocks_move_successor_nojumps): Simplify.
11020 (debug_flow_info): New.
11021
11022 * toplev.c (rest_of_compilation): Open jump1 dump file before
11023 jump and close after, as opposed to just using dump_rtl.
11024
11025 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11026
11027 * reload.h (earlyclobber_operand_p): Declare.
11028 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
11029 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
11030 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
11031 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
11032
11033 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
11034 Richard Henderson <rth@cygnus.com>
11035
11036 * emit-rtl.c (emit_block_insn_before): New.
11037 (emit_block_insn_after): New.
11038 * basic-block.h: Declare them.
11039
11040 * bitmap.h: Protect from multiple inclusion.
11041
11042 * recog.c (scratch_operand): Handle VOIDmode correctly.
11043
11044 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
11045
11046 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
11047 * function.c (assign_parms): Likewise.
11048 * global.c (global_conflicts): Clarify STACK_REGS commentary.
11049
11050 * reg-stack.c (max_uid): Remove.
11051 (blocks, block_begin, block_end, block_drops_in): Remove.
11052 (block_stack_in, block_out_reg_set, block_number): Remove.
11053 (struct block_info_def, BLOCK_INFO): New.
11054 (enum emit_where): New.
11055 (current_block): New.
11056 (BLOCK_NUM): Remove.
11057 (mark_regs_pat, record_label_references): Remove.
11058 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
11059 (nan): New.
11060 (goto_block_pat, print_blocks, dump_stack_info): Remove.
11061 (reg_to_stack): Simplified test for existance of fp code. Use
11062 flow.c code. Call shorten_branches after cross-jump opt.
11063 (check_asm_stack_operands): Renamed from record_asm_reg_life.
11064 Return false if the asm doesn't use stack regs. Don't do life
11065 analysis on the asm.
11066 (emit_pop_insn): Replace function pointer arg `when' with
11067 enum `where'. Update all callers.
11068 (change_stack): Likewise. Update basic block end.
11069 (emit_swap_insn): Use current_block->head to limit reverse search
11070 for start of block. Use emit_block_insn_after.
11071 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
11072 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
11073 structure assignment instead of bcopy.
11074 (print_stack): New.
11075 (convert_regs_entry, convert_regs_exit): New.
11076 (convert_regs_1, convert_regs_2): Split out from convert_regs.
11077 Work on basic blocks and the CFG.
11078 (convert_regs): Use them.
11079
11080 * i386.c (output_fix_trunc): Remove code for DImode input operand
11081 not at top-of-stack.
11082 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
11083 appropriate mode.
11084 (fix_truncdi_1): Allow any mode scratch.
11085
11086 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
11087
11088 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
11089 * linux.h, netbsd.h, vms.h: Not here.
11090
11091 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
11092
11093 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
11094 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
11095 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
11096 CONDITIONAL_REGISTER_USEAGE): Use them.
11097 * config/mips/mips.c (mips_move_1word,mips_move_2words,
11098 gen_conditional_branch,override_options) : Use them.
11099 * config/mips/mips.md : Use them.
11100
11101 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
11102
11103 * i386.md (zero_extendqihi2): Use SImode register name with andl.
11104
11105 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
11106
11107 * integrate.c (function_cannot_inline_p): Don't allow inlining
11108 if setjmp is used.
11109
11110 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11111
11112 * c-parse.in (cast_expr): Constify.
11113
11114 * cccp.c (special_symbol): Likewise.
11115
11116 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
11117
11118 * dwarf2out.c (base_type_die): Likewise.
11119
11120 * global.c (allocno_compare): Likewise.
11121
11122 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
11123
11124 * regclass.c (fix_register): Likewise.
11125
11126 * rtl.h (fix_register): Likewise.
11127
11128 * stupid.c (stupid_reg_compare): Likewise.
11129
11130 * toplev.c (decode_f_option): Likewise.
11131
11132 * tree.c (build_complex_type): Likewise.
11133
11134 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
11135
11136 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
11137
11138 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11139
11140 * reload.c (find_reloads): Compute mode and nregs fields of all
11141 reloads.
11142 * reload1.c (calculate_needs_all_insns): Simplify a bit.
11143 (calculate_needs): Use precomputed mode/nregs values.
11144 (allocate_reload_reg): Likewise.
11145 Break out two...
11146 (failed_reload, set_reload_reg): ... new functions.
11147 (choose_reload_regs_init): New function, mostly broken out from...
11148 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
11149 Also lose one #if 0 block.
11150
11151 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
11152
11153 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
11154 substitution.
11155
11156 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
11157
11158 * tree.h (BLOCK_TYPE_TAGS): Remove.
11159 (BLOCK_END_NOTE): Likewise.
11160 (BLOCK_LIVE_RANGE_FLAG): Likewise.
11161 (BLOCK_LIVE_RANGE_START): Likewise.
11162 (BLOCK_LIVE_RANGE_END): Likewise.
11163 (tree_block): Remove live_range_flag, live_range_var_flag, and
11164 type_tags. Remove end_note, live_range_start, and live_range_end.
11165 (remember_end_note): Remove prototype.
11166 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
11167 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
11168 remember_end_note.
11169 * ggc-common.c (ggc_mark_tree_children): Don't mark
11170 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
11171 * integrate.c (adjust_copied_decl_tree): Remove.
11172 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
11173 * stmt.c (last_block_end_note): Remove.
11174 (init_stmt): Don't add a GC root for it.
11175 (expand_fixup): Don't set it.
11176 (remember_end_note): Remove.
11177 (expand_end_bindings): Don't set last_block_end_note.
11178
11179 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11180
11181 * reload1.c (reload_reg_free_for_value_p): Show
11182 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
11183 reloads.
11184
11185 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
11186
11187 * expmed.c (extract_bit_field): Allow for the case of non-integer
11188 objects that are smaller than a word (like SFmode on a 64-bit
11189 machine).
11190
11191 * loop.c (basic_induction_var): A non-integer variable which is
11192 being set by a paradoxical subreg is probably not a biv.
11193
11194 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11195
11196 * prefix.c (translate_name) Check for empty prefix string.
11197
11198 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
11199
11200 * Makefile.in (CPP_CROSS_NAME): New variable.
11201 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
11202 xcpp.
11203 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
11204 names of the files to be uninstalled.
11205
11206 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
11207
11208 * collect2.c (IS_DIR_SEPARATOR): Define.
11209 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
11210
11211 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
11212 functions too.
11213
11214 * haifa-sched.c (add_dependence): Update the true dependency
11215 cache the first time we add a true dependence to the LOG_LINKS chain.
11216
11217 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
11218
11219 * fold-const.c (fold): Fix comment.
11220
11221 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11222
11223 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
11224 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
11225 dbxout_start_new_source_file, dbxout_source_file,
11226 dbxout_source_line, dbxout_finish, dbxout_type_fields,
11227 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
11228 Constify a char*.
11229 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
11230 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
11231 (dbxout_block): Initialize variable `blocknum'.
11232
11233 * dbxout.h (dbxout_init, dbxout_finish,
11234 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
11235 dbxout_args, dbxout_source_line): Constify a char*.
11236
11237 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
11238 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
11239 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
11240 low_pc_attribute, high_pc_attribute, body_begin_attribute,
11241 body_end_attribute, comp_dir_attribute, sf_names_attribute,
11242 src_info_attribute, mac_info_attribute, producer_attribute,
11243 lookup_filename, generate_macinfo_entry, fundamental_type_code,
11244 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
11245 dwarfout_undef): Constify a char*.
11246 (add_incomplete_type, retry_incomplete_types): Add prototypes.
11247
11248 * dwarfout.h (dwarfout_define, dwarfout_undef,
11249 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
11250
11251 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
11252
11253 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
11254 (MULTILIB_ISA_DEFAULT): New.
11255 (MULTILIB_DEFAULTS): Use it.
11256 * config/mips/mips.c (): Remove the now unnecessary definition
11257 of MIPS_ISA_DEFAULT.
11258 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
11259 unnecessary definition.
11260
11261 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
11262
11263 * arm.md (pic_load_addr): Add constraints to operand 1.
11264
11265 1999-10-25 Bruce Korb <autogen@linuxbox.com>
11266
11267 * fixinc/genfixes: Provide a means for specifying -D options to
11268 AutoGen
11269
11270 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
11271
11272 * arm.c (arm_override_options): Correct initialization of
11273 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
11274 arm_is_strong, and arm_is_6_or_7.
11275
11276 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
11277 (note_set_pseudo_multiple_uses): New function.
11278 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
11279 if a pseudo set in the loop exit is used elsewhere.
11280
11281 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
11282
11283 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
11284
11285 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
11286
11287 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
11288 a single load-address pattern.
11289
11290 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
11291
11292 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
11293 depending on whether or not line-number notes are present.
11294
11295 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11296
11297 * cccp.c (progname, file_buf, default_include, include_file,
11298 macrodef, definition, hashval, wchar_type, user_label_prefix,
11299 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
11300 expand_to_temp_buffer, is_system_include, base_name,
11301 absolute_filename, read_name_map, open_include_file,
11302 record_control_macro, check_precompiled, check_preconditions,
11303 pcfinclude, pass_thru_directive, create_definition,
11304 check_macro_name, comp_def_part, collect_expansion,
11305 check_assertion, read_token_list, assertion_install,
11306 assertion_lookup, eval_if_expression, conditional_skip,
11307 validate_else, skip_quoted_string, quote_string, macarg1,
11308 error_from_errno, install, lookup, hashf, dump_defn_1,
11309 perror_with_name, pfatal_with_name, main, trigraph_pcp,
11310 check_white_space, rescan, handle_directive, monthnames,
11311 special_symbol, do_include, remap_include_file, write_output,
11312 arglist, do_assert, do_unassert, do_line, do_error, do_once,
11313 do_ident, do_sccs, do_xifdef, skip_if_group,
11314 output_line_directive, macroexpand, macarg, change_newlines,
11315 initialize_builtins, make_definition): Constify a char*.
11316
11317 * pcp.h (stringdef): Likewise.
11318
11319 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
11320
11321 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
11322 not of pattern.
11323
11324 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
11325 Richard Henderson <rth@cygnus.com>
11326
11327 * alias.c: Include ggc.h.
11328 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
11329 (record_set): Verify enough room in reg_base_value.
11330 (init_alias_analysis): Allocate reg_base_value with xcalloc.
11331 Register it as a GC root.
11332 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
11333 * Makefile.in (alias.o): Depend on ggc.h.
11334
11335 * unroll.c (unroll_loop): Verify the insn before a barrier
11336 is a JUMP_INSN before checking JUMP_LABEL.
11337
11338 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11339
11340 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
11341 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
11342 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
11343 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
11344 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
11345 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
11346
11347 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11348
11349 * output.h (ctors_section, dtors_section, bss_section): Prototype.
11350
11351 * alpha/alpha-interix.h (text_section): Delete prototype.
11352 * alpha/elf.h (text_section): Likewise.
11353 * arm/linux-elf.h (text_section): Likewise.
11354 * arm/linux-telf.h (text_section): Likewise.
11355 * c4x/c4x.h (text_section): Likewise.
11356 * dsp16xx/dsp16xx.h (bss_section): Likewise.
11357 * elfos.h (text_section): Likewise.
11358 * i386/aix386ng.h (text_section): Likewise.
11359 * i386/i386-interix.h (text_section): Likewise.
11360 * i386/sco5.h (text_section): Likewise.
11361 * i386/svr3gas.h (text_section): Likewise.
11362 * nextstep.h (text_section): Likewise.
11363 * psos.h (text_section): Likewise.
11364 * ptx4.h (text_section): Likewise.
11365 * svr3.h (text_section): Likewise.
11366 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
11367
11368 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11369
11370 * final.c (peephole): Delete prototype.
11371
11372 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
11373 (pre_insert_copies): Remove unused variable `bb'.
11374
11375 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
11376 prototypes.
11377
11378 * output.h (peephole): Add prototype.
11379
11380 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
11381
11382 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
11383 -O0.
11384
11385 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
11386
11387 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
11388 for inlined declarations.
11389
11390 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
11391
11392 * arm.c (logical_binary_operator): New fucntion.
11393 * arm.h (logical_binary_operator): Declare it.
11394 (PREDICATE_CODES): Handle logical_binary_operator.
11395 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
11396 output constraints. Add appropriate splitters.
11397 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
11398 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
11399 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
11400
11401 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11402
11403 * genoutput.c (struct operand_data): New elt eliminable.
11404 (output_operand_data): Write it.
11405 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
11406 (compare_operands): Take it into account.
11407 * recog.h (struct insn_operand_data): New elt eliminable.
11408 * reload1.c (check_eliminable_occurrences, elimination_effects): New
11409 functions.
11410 (old_asm_operands_vec, new_asm_operands_vec): Delete.
11411 (eliminate_regs): Move code that detects changes to elimination
11412 target regs into new function elimination_effects.
11413 Delete one #if 0 block.
11414 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
11415 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
11416 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
11417 Only call eliminate_regs for real operands of the insn, not for parts
11418 of its structure or parts matched by things like match_operator.
11419 Use elimination_effects and check_eliminable_occurrences. Use
11420 copy_insn to duplicate the pattern when not in the final pass.
11421
11422 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
11423
11424 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
11425 and fld.
11426
11427 1999-10-22 Bruce Korb <autogen@linuxbox.com>
11428
11429 * fixinc/README: document the "mach" machine matching test
11430 * fixinc/fixfixes.c: Implement the #else/#endif label fix
11431 * fixinc/fixtests.c: Implement the #else/#endif label test
11432 * fixinc/inclhack.def: utilize these tests and fixes
11433 * fixinc/inclhack.sh: regen
11434 * fixinc/fixincl.x: regen
11435 * fixinc/fixincl.sh: regen
11436
11437 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
11438
11439 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
11440 depend on ggc.h.
11441
11442 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
11443
11444 * gcc.1: Document exit codes.
11445
11446 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11447
11448 * calls.c: Include tm_p.h later, so everything we need is defined.
11449 * expr.c: Likewise.
11450 * function.c: Likewise.
11451
11452 * except.c: Include tm_p.h.
11453
11454 * sparc.c: Likewise.
11455 (dwarf2out_cfi_label): Don't prototype.
11456 (check_return_regs, epilogue_renumber,
11457 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
11458 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
11459 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
11460 ultra_schedule_insn): Add static prototype.
11461 (data_segment_operand, text_segment_operand): Call itself with the
11462 proper number of arguments.
11463 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
11464
11465 * sparc.h: Move all declarations to sparc-protos.h.
11466 (SELECT_RTX_SECTION): Pass a missing MODE argument to
11467 symbolic_operand.
11468
11469 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
11470
11471 * config/svr4.h (text_section, ctors_section, dtors_section): Add
11472 Prototypes.
11473 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
11474 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
11475 ASM_OUTPUT_ASCII): Constify a char*.
11476
11477 * sparc-protos.h: New file for sparc prototypes.
11478
11479 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11480
11481 * function.c (record_insns, contains): Always declare and define.
11482 (record_insns): Mark with ATTRIBUTE_UNUSED.
11483
11484 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
11485
11486 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
11487 to .section when outputting a .bss section to deal with multiple
11488 .bss input sections (as happens with -fdata-sections)
11489 Also output %progbits, not @progbits so the assembler doesn't treat as
11490 a comment.
11491 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
11492
11493 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
11494 thumb parts even when building with non-thumb CPUs, by forcing
11495 thumb mode.
11496
11497 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
11498
11499 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
11500 (movdf_const_intreg_sp64): Similarly.
11501
11502 * local-alloc.c (update_equiv_regs): Check the correct insn
11503 for pre-existing REG_EQUIV notes.
11504
11505 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
11506
11507 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
11508 block reached by a branch if we're not going to actually process
11509 this block.
11510
11511 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
11512
11513 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
11514 a local extern function declaration.
11515
11516 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
11517
11518 * i386.c (ix86_expand_prologue): Properly wrap USE around
11519 reg for CALL_INSN_FUNCTION_USAGE.
11520
11521 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
11522
11523 * config/mips/mips.md (movdf_internal1a): Allow floating-point
11524 move between GP_REGs.
11525
11526 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
11527
11528 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
11529 the mode size when finding out if an offset is legal.
11530
11531 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
11532
11533 * basic-block.h (PROP_*): Move constants from ...
11534 * flow.c: ... here.
11535 (compute_bb_for_insn): Free the array before reallocating.
11536 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
11537 (allocate_reg_life_data): Reset all reg variables collected by
11538 propagate_block.
11539 (get_block_head_tail): Don't convert from bb to block.
11540 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
11541 (find_insn_reg_weight): Take block not bb.
11542 (schedule_block): Don't set block num for moved insns.
11543 (schedule_region): Don't update_life_info or find_insn_reg_weight.
11544 (schedule_insns): Do it here instead.
11545 * combine.c (combine_instructions): Invoke compute_bb_for_insn
11546 before update_life_info.
11547 * recog.c (split_all_insns, peephole2_optimize): Update for
11548 new arg to update_life_info.
11549 * rtlanal.c (remove_note): Cope with NULL note.
11550 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
11551 if we did sched1.
11552
11553 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
11554
11555 * jump.c (jump_optimize_1): More accurately detect casesi insns.
11556
11557 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
11558 block records so that merge_blocks_nomove will clean up correctly.
11559 (split_edge): Handle casesi insns.
11560
11561 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
11562
11563 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
11564
11565 * pa.md (call, call_value): Do not emit a blockage after restoring
11566 the PIC register.
11567
11568 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
11569
11570 * c-typeck.c (c_expand_asm_operands): Fix typo.
11571
11572 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11573
11574 * arm.c (fpu_rhs_operand): Verify modes.
11575 (fpu_add_operand): Likewise.
11576 (di_operand): Likewise.
11577 (soft_df_operand): Likewise.
11578
11579 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
11580
11581 * arm.c (arm_return_in_memory): APCS rules state that the elements
11582 of a structure returned in a register must be 'integer-like'.
11583
11584 1999-10-19 Bruce Korb <autogen@linuxbox.com>
11585
11586 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
11587 in the source tree when the generated targets are out of date
11588 * fixinc/genfixes: Alter it to run individual fixes for make.
11589 * fixinc/README: rewrite
11590 * fixinc/inclhack.def: moved initial comments to README
11591
11592 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
11593
11594 * toplev.c (main): Do not generate an error message if an
11595 unrecognised command line switch is recognisable by another
11596 language. If extra_warnings are enabled, then generate a
11597 warning message instead.
11598
11599 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
11600
11601 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
11602 (insert_pack_attributes): Delete prototype.
11603
11604 * c-pragma.c (default_alignment): New static variable.
11605 (push_alignment): Initialize to current effective alignment.
11606 (pop_alignment): Use to set new alignment.
11607 (insert_pack_attributes): Delete function.
11608 (handle_pragma_token): Set default_alignment as well each time
11609 a #pragma pack(<n>) is encountered.
11610
11611 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
11612
11613 * reg-stack.c (stack_result): Aggregates are not returned in
11614 stack registers.
11615
11616 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
11617
11618 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
11619
11620 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
11621
11622 * basic-block.h (set_block_num): Declare.
11623 * flow.c (update_life_info): Don't call compute_bb_for_insn
11624 or free_basic_block_vars.
11625 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
11626 (insn_orig_block): Remove.
11627 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
11628 (schedule_block): Keep BLOCK_NUM up-to-date.
11629 (schedule_insns): Use compute_bb_for_insn.
11630 * recog.c (split_all_insns): Likewise.
11631 (peephole2_optimize): Likewise.
11632
11633 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
11634
11635 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
11636 if the pic register is used.
11637
11638 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11639
11640 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
11641 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
11642 if that tests TREE_PERMANENT.
11643
11644 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
11645
11646 * cse.c (invalidate_for_call): Do not remove memory references from
11647 the table here. It's handled elsewhere.
11648
11649 * haifa-sched.c (add_dependence): Protect references to the
11650 true dependency cache with #ifdef INSN_SCHEDULING.
11651 (remove_dependence): Similarly.
11652
11653 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
11654 to the cfg code that this is a return instruction.
11655 * mn10300.md (return_internal): Similarly.
11656
11657 * combine.c (get_last_value): If the last set of a register
11658 is after subst_low_cuid, then we can not use it to determine
11659 the register's last value.
11660
11661 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
11662
11663 * Makefile.in: Back out previous change.
11664
11665 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
11666
11667 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
11668
11669 * haifa-sched.c (add_dependence): Only check/update the cache
11670 if it exists.
11671 (remove_dependence): Likewise.
11672 (schedule_insns): Only create the true_dependency_cache if the
11673 average number of instructions in a basic block is very large.
11674
11675 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
11676
11677 * Makefile.in (ggc-common.o): Depend on genrtl.h.
11678 (ggc-simple.o): Likewise.
11679 (ggc-page.o): Likewise.
11680
11681 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
11682
11683 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
11684 Prototype for exported functions.
11685 (pre_lcm, pre_rev_lcm): Remove prototypes.
11686 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
11687 (compute_available): Move to lcm.c, and change parameter order.
11688 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
11689 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
11690 (gcse_main): No longer call compute_preds_succs. Rebuild the
11691 set table after reach pre pass.
11692 (pre_insert_map, pre_delete_map, edge_list): New.
11693 (alloc_pre_mem): Allocate edge vectors.
11694 (free_pre_mem): Delete edge vectors.
11695 (compute_pre_data): Call new edge based lcm routines.
11696 (process_insert_insn): New function.
11697 (insert_insn_end_bb): Use it.
11698 (pre_edge_insert): New function.
11699 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
11700 needed.
11701 (pre_insert_copies): Revamp using new edge based lcm outputs.
11702 (pre_delete): Likewise.
11703 (one_pre_gcse_pass): Insert & remove fake edges to the exit
11704 block.
11705 (compute_code_hoist_vbeinout): New new edge based routines.
11706 * lcm.c: Remove all the old LCM functions. Replace with new ones
11707 that work with the new cfg datastructures and work with edges
11708 instead of blocks.
11709
11710 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11711
11712 * reload.h (struct reload): Add new fields "mode" and "nregs".
11713 * reload1.c: Change all occurrences of reload_mode and reload_nregs
11714 to reference the "mode" and "nregs" field within struct reload.
11715
11716 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
11717
11718 * haifa-sched.c (true_dependency_cache): New.
11719 (add_dependence): Use the true dependency cache to avoid expensive
11720 walks down the LOG_LINKS dependency list. Add entries to the
11721 cache as necessary.
11722 (remove_dependence): Remove entries from the true dependency cache
11723 as needed.
11724 (schedule_insns): Allocate and initialize and free the true
11725 dependency cache.
11726
11727 * haifa-sched.c (schedule_insns): Do not remove inter-block
11728 dependencies anymore.
11729
11730 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
11731
11732 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
11733 * i386/t-winnt: Likewise.
11734
11735 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
11736
11737 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
11738
11739 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
11740
11741 * Makefile.in (LANGUAGES): Omit "proto".
11742 (clean): Remove stale comment about removing unprotoize.c.
11743
11744 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11745
11746 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
11747 using arithmetic on void pointers.
11748
11749 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
11750
11751 * haifa-sched.c (compute_block_forward_dependencies): Only check
11752 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
11753
11754 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
11755
11756 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
11757 (expr_equiv_p): Reject memories with different alias sets.
11758
11759 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
11760
11761 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
11762 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
11763 (f_options): Add "bounded-pointers" and "bounds-check" entries.
11764 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
11765 (lang_init): Set default for flag_bounds_check if still "unspecified".
11766
11767 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11768
11769 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
11770
11771 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11772
11773 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
11774 instructions.
11775
11776 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11777
11778 * config/c4x/c4x.md (*db_noclobber,
11779 *decrement_and_branch_until_zero_noclobber): New patterns and
11780 associated splitters.
11781
11782 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11783
11784 * config/c4x/c4x.md (parallel instruction patterns): Rework
11785 constraints to keep reload happy.
11786
11787 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11788
11789 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
11790 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
11791 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
11792 Add new patterns and associated post-reload splitters.
11793
11794 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11795
11796 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
11797
11798 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11799
11800 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
11801 if appropriate.
11802 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
11803
11804 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11805
11806 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
11807 memory mode.
11808
11809 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
11810
11811 * pa.c (move_operand): Rely on memory_address_p to determine the
11812 validity of non-indexed memory addresses.
11813 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
11814 operand in DFmode and SFmode when generating PA2.0 code.
11815
11816 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
11817
11818 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
11819
11820 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
11821
11822 * mips.c (function_prologue): Fix argument types.
11823 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
11824 (casesi_internal): Write to the scratch register.
11825
11826 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
11827
11828 * cppexp.c (cpp_parse_escape): Make static. Change second arg
11829 to U_CHAR **.
11830 (parse_charconst): Delete unnecessary cast when calling
11831 cpp_parse_escape.
11832 (cpplib.h): Kill prototype of cpp_parse_escape.
11833
11834 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
11835
11836 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
11837 * unroll.c (unroll_loop): Cast return value of alloca.
11838 * i370/i370.c: Include function.h and toplev.h.
11839 (i370_label_scan): Remove c++ commented abort.
11840 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
11841 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
11842 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
11843 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
11844
11845 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
11846
11847 * config/t-freebsd: Do not override USER_H.
11848 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
11849
11850 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
11851 Mumit Khan <khan@xraylith.wisc.edu>
11852
11853 * c-parse.in (component_decl): Support anonymous struct/union.
11854 (%expect): Update.
11855 * c-parse.y: Regenerate.
11856 * c-parse.c: Likewise.
11857 * objc/objc-parse.y: Likewise.
11858 * objc/objc-parse.c: Likewise.
11859 * c-decl.c (finish_struct): Don't sort the fields.
11860 (field_decl_cmp): Delete unused function.
11861
11862 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
11863
11864 * sparc.md (movsf_const_intreg): Revert last constraint change.
11865 (movdf_const_intreg_sp32): Likewise.
11866
11867 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
11868
11869 * cse.c: Include hashtab.h instead of splay-tree.h
11870 (struct cse_reg_info): No longer use variant union. Add new
11871 field "regno". All references changed to avoid union.
11872 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
11873 (free_cse_reg_info): Remove.
11874 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
11875 (get_cse_reg_info): Revamp to use expandable hash tables instead
11876 of splay trees. Initialize new fields in cse_reg_info structure.
11877 (new_basic_block): Similarly.
11878
11879 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
11880
11881 * genrecog.c (message_with_line): Prototype.
11882 (validate_pattern): Pass along the set for the dest, not a flag.
11883 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
11884 Check for PC/CC0 as sources.
11885 (nodes_identical): Check for children position match before
11886 allowing the combination.
11887
11888 * rtl.c (read_rtx): Track line number across \\\n.
11889
11890 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
11891
11892 * mips.h (SPECIAL_MODE_PREDICATES): New.
11893 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
11894 (movdi+1, movsi+1): Add output reload constraint.
11895 (casesi_internal): Likewise. Fix commentary.
11896 (return_internal): Use pmode_register_operand.
11897
11898 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
11899
11900 * 1750a.md (movstrqi): Add missing output reload constraint.
11901 (call_value): Likewise.
11902 * a29k.md (cpxxx patterns): Add missing match_operator mode.
11903 (jmpfdec): Add missing inout reload constraint.
11904 * elxsi.md (addsi patterns): Add missing output reload constraint.
11905 (move from sp): Use @ alternates.
11906 (call_value): No constraint on output.
11907 * fr30.md (movsi_pop): Add missing output reload constraint.
11908 (movsf_constant_store): Likewise.
11909 (splits): Remove constraints.
11910 (subsi3): Add missing mode.
11911 * i370.md (cmpstrsi+1): Add missing output reload constraint.
11912 (call_value): Likewise.
11913 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
11914 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
11915 * m32r.md (movsicc_internal): Add output reload constraint.
11916 (movstrsi_internal): Add inout reload constraints.
11917 * m88k.h (reg_names): Don't declare.
11918 (SPECIAL_MODE_PREDICATES): New.
11919 * m88k.md (*): Use register_operand not reg_or_0_operand
11920 on destinations.
11921 * mn10200.h (PREDICATE_CODES): New.
11922 * ns32k.md (ffs pattern): Add output reload constraint.
11923 * pdp11.md (sob pattern): Add inout reload constraint.
11924 * sh.md (splits): Remove constraints.
11925 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
11926 * v850.md (pattern_is_ok_for_epilogue): Likewise.
11927 * vax.md (jgequ pattern): Add inout reload constraint.
11928
11929 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
11930
11931 * configure.in (djgpp): Revert previous patch.
11932 * configure: Rebuit.
11933 * config/i386/djgpp.h: Revert previous patch.
11934
11935 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
11936
11937 * fixinc/inclhack.def: Restore patch lost during last merge of
11938 "no_bogosity" branch.
11939 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
11940
11941 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
11942
11943 * fixincludes: Add a HPUX 11 fix for inttypes.h.
11944 * fixinc/inclhack.def: Same.
11945 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
11946
11947 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
11948
11949 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
11950 as the base of a PLUS.
11951
11952 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11953
11954 * config/c4x/c4x.md: Define mode for remaining unspec operators.
11955 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
11956
11957 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
11958
11959 * pa.md (post_stw+1): Use pmode_register_operand.
11960 (dcacheflush, icacheflush): Likewise.
11961
11962 * i386.md (movstricthi_1): Allow r/r.
11963
11964 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
11965
11966 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
11967 to (not (and (arg0) (arg1))). Similary for and.
11968
11969 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
11970 fallthrough to associate code.
11971 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
11972 bits in common.
11973
11974 * combine.c (simplify_logical): Convert XOR to IOR if operands have
11975 no bits in common; remove XOR to ROTATE conversion.
11976
11977 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11978
11979 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
11980
11981 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11982
11983 * config/c4x/c4x.c (dst_operand): New.
11984 (PREDICATE_CODES): Update.
11985 * config/c4x/c4x.h (dst_operand): Declare it.
11986 * config/c4x/c4x.md: Define mode for each unspec usage.
11987 (move patterns): Use dst_operand predicate instead of src_operand.
11988 (movqi_update, movqf_update): Delete.
11989
11990 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
11991
11992 * recog.c (pmode_register_operand): New.
11993 * recog.h: Declare it.
11994 * genrecog.c (pred_codes): Likewise.
11995 (special_mode_pred_table): Likewise.
11996 (validate_pattern): Don't warn no mode for address_operand.
11997
11998 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
11999 if the operand is not insn-like.
12000
12001 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
12002 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
12003
12004 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
12005
12006 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
12007
12008 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
12009 instead of general_operand in a SET_DEST. Use const_double_operand
12010 instead of an explicit test against CONST_DOUBLE.
12011 (movsf_const_lo): Add missing register mode.
12012 (goto_handler_and_restore): Add auxiliary test for Pmode.
12013 (flush): Adjust to use address_operand.
12014 (return_sf_no_fpu): Add missing output constraint.
12015
12016 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
12017
12018 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
12019 for call return value.
12020 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
12021
12022 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
12023
12024 * toplev.c (main): Only warn about options for other languages.
12025 * collect2.c (main): Pass -w to sub-gcc.
12026
12027 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
12028
12029 * flow.c (propagate_block): Add call-clobbered registers to
12030 significant too.
12031
12032 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
12033 zapping mem_set_list.
12034 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
12035 (mark_set_1, mark_used_regs): Likewise.
12036
12037 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
12038
12039 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
12040
12041 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12042
12043 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
12044 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
12045 options. Also add a new item "C-only Warning Options" to the
12046 option summary.
12047
12048 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
12049
12050 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
12051 from multiple calls.
12052
12053 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
12054
12055 * i386.md (call value patterns): Move to the end of the file.
12056 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
12057
12058 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
12059
12060 * configure.in (djgpp configuration): Define extra_objects..
12061 * configure: Rebuilt.
12062 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
12063 (DTORS_SECTION_ASM_OP): Define.
12064 (INIT_SECTION_ASM_OP): Define.
12065 (FINI_SECTION_ASM_OP): Define.
12066 (DATA_SECTION_ASM_OP): Define.
12067 (TEXT_SECTION_ASM_OP): Define.
12068 (EH_FRAME_SECTION_ASM_OP): Define.
12069 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
12070 (STARTFILE_SPEC): Add crtbegin.o.
12071 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
12072 to here from LINK_COMMAND_SPEC.
12073 (DO_GLOBAL_CTORS_BODY): Define.
12074 (CRTSTUFF_USE_FINI_SECTION): Define
12075 (HAS_INIT_SECTION): Delete.
12076
12077 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
12078
12079 * Makefile.in (all.cross): Depend on xcpp$(exeext).
12080
12081 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
12082
12083 * pa.h (PREDICATE_CODES): New.
12084
12085 * genrecog.c (validate_pattern): Condense the destination
12086 non-lvalue message.
12087
12088 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
12089
12090 * alpha.md (call-1): Supply missing mode for operator.
12091 (*): Add missing output reload constraints. Remove constraints
12092 from define_splits.
12093
12094 * i386.h (SPECIAL_MODE_PREDICATES): New.
12095 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
12096 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
12097 (addsi_lea_3): Add missing mode for op 3.
12098 (prologue_set_got, prologue_get_pc): Add missing modes.
12099 (*) Add missing output reload constraints.
12100
12101 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
12102
12103 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
12104 check for member bit-size overflow and use var_size if it occurs.
12105 (layout_record): Use bitsize_int() to define the type size in bits.
12106 Likewise for computation and assignment to DECL_FIELD_BITPOS.
12107 (layout_decl): Likewise when assigning to DECL_SIZE.
12108
12109 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
12110
12111 * genrecog.c (validate_pattern): Typo last change. Verify
12112 that output operands have output reloads.
12113
12114 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
12115
12116 * genrecog.c (special_mode_pred_table): New.
12117 (NUM_SPECIAL_MODE_PREDS): New.
12118 (find_operand): New.
12119 (validate_pattern): New argument `insn'. Warn for assignment to
12120 any predicate accepting non-lvalues. Conditionaly warn for
12121 match_operand without a mode. Try much harder to match source
12122 and destination modes on a set.
12123 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
12124
12125 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
12126
12127 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
12128
12129 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
12130
12131 * combine.c (simplify_logical): Recognize xor pattern that encodes
12132 rotation.
12133
12134 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12135
12136 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
12137 alignment.
12138
12139 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
12140
12141 * ggc-page.c (MAP_FAILED): Provide default.
12142
12143 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
12144
12145 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
12146 * sparc.h (PREDICATE_CODES): Update.
12147
12148 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
12149
12150 * alpha.c (some_ni_operand): New.
12151 * alpha-protos.h: Declare it.
12152 * alpha.h (PREDICATE_CODES): Update.
12153 * alpha.md (sXaddq reload insns): Use some_ni_operand
12154 for SET_DEST instead of some_operand.
12155
12156 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
12157 Jim Wilson <wilson@cygnus.com>
12158
12159 * genrecog.c (maybe_both_true_2): Don't compare modes of
12160 two DT_pred tests.
12161 (process_tree): Elide peephole2_insns. Invoke simplify_tests
12162 after find_afterward.
12163 (debug_decision_1): Dump next and afterward codes.
12164
12165 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
12166
12167 * rtl.c (dump_and_abort): Remove.
12168 (fatal_with_file_and_line): New.
12169 (fatal_expected_char): New.
12170 (read_rtx_lineno, read_rtx_filename): New.
12171 (read_skip_spaces): Track line number.
12172 (read_name): Use fatal_with_file_and_line.
12173 (read_rtx): Use fatal_expected_char. Track line number.
12174 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
12175
12176 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
12177 if it isn't a CODE_LABEL.
12178
12179 * genattr.c (main): Set read_rtx_filename.
12180 * genattrtab.c (main): Likewise.
12181 * gencodes.c (main): Likewise.
12182 * genconfig.c (main): Likewise.
12183 * genemit.c (main): Likewise.
12184 * genextract.c (main): Likewise.
12185 * genflags.c (main): Likewise.
12186 * genopinit.c (main): Likewise.
12187 * genoutput.c (main): Likewise.
12188 * genpeep.c (main): Likewise.
12189
12190 * genrecog.c (decision_test.u.insn): Add `lineno'.
12191 (pattern_lineno, error_count): New variables.
12192 (message_with_line): New.
12193 (add_to_sequence): Break out checking code to ...
12194 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
12195 (merge_insn): Use message_with_line.
12196 (make_insn_sequence): Use validate_pattern. Record insn lineno.
12197 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
12198
12199 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12200
12201 * expr.c (store_constructor): Clear union if constructor is empty.
12202
12203 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
12204
12205 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
12206 Add !endian checks. Change %{...} to %(...).
12207
12208 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
12209
12210 * i386.md (*addsi3_cc): Renamed from addcsi3.
12211 (*addsi3_carry): Renamed from addxsi3.
12212 (*subsi3_cc): Renamed from subcsi3.
12213 (*subsi3_carry): Renamed from subxsi3.
12214 (*xorqi_cc_1): Renamed from xorcqi_1.
12215 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
12216 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
12217
12218 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
12219
12220 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
12221 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
12222
12223 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
12224
12225 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
12226 climb up the chain of insns.
12227
12228 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
12229
12230 * genrecog.c (write_subroutine): Careful for null trees.
12231 (process_tree): Don't elide empty functions.
12232
12233 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
12234
12235 * Makefile.in (genrtl.o): Depend on ggc.h.
12236 * configure.in (valloc): Probe for it.
12237 (with-gc): Use ggc-page if valloc present.
12238 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
12239 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
12240 (ggc_alloc_string): Moved from ggc-page.c.
12241 * ggc-none.c (ggc_alloc_obj): New.
12242 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
12243 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
12244 (struct globals): Likewise for dev_zero_fd.
12245 (init_ggc): Likewise for it's initialization.
12246 (ggc_allocated_p): Move careful dereference from ...
12247 (ggc_lookup_page_table): ... here. Delete.
12248 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
12249 (alloc_anon): Use valloc if no mmap.
12250 (release_pages): Use free if using valloc.
12251 (ggc_alloc_obj): Renamed from alloc_obj.
12252 (ggc_set_mark): Renamed from mark_obj.
12253 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
12254 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
12255 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
12256 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
12257 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
12258 (ggc_collect): Use fp printing instead of our own rounding.
12259 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
12260 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
12261 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
12262 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
12263 (struct ggc_string, struct ggc_any): Delete.
12264 (offsetof): Provide default definition.
12265 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
12266 (PTR_KEY): New.
12267 (struct ggc_mem): New, from corpse of ggc_any.
12268 (struct ggc_status): Delete.
12269 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
12270 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
12271 (n_strings_collected, n_anys_collected): Delete.
12272 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
12273 (ggc_alloc_string, ggc_alloc): Delete.
12274 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
12275 (ggc_free_string, ggc_free_any): Delete.
12276 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
12277 (ggc_compare_addresses, ggc_mark_string): Delete.
12278 (ggc_mark_string_if_gcable, ggc_mark): Delete.
12279 (search_data): Delete.
12280 (struct globals): New.
12281 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
12282 (tree_insert, tree_lookup): New.
12283 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
12284 (clear_marks, sweep_objs): New.
12285 (ggc_collect): Gut. Use clear_marks, sweep_objs.
12286 (init_ggc): Set allocated_last_gc.
12287 (ggc_push_context): Gut. Use G.context.
12288 (ggc_pop_context): Likewise.
12289 (ggc_pop_context_1): New.
12290 (debug_ggc_tree): New.
12291 (debug_ggc_balance, tally_leaves): New.
12292 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
12293 (ggc_mark_string_if_gcable): Remove decl.
12294 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
12295 (ggc_mark_rtvec_children): New.
12296 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
12297 (ggc_mark_if_gcable): New decl.
12298 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
12299 (ggc_alloc_tree, ggc_alloc): Likewise.
12300 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
12301 (ggc_alloc_obj): New decl.
12302 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
12303 (ggc_alloc_tree, ggc_alloc): Likewise.
12304 (ggc_set_mark): New decl.
12305 * rtl.h (struct rtx_def): Remove gc_mark.
12306 (struct rtvec_def): Likewise.
12307 * tree.h (struct tree_common): Likewise.
12308
12309 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
12310
12311 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
12312 float_format and thread_file definitions.
12313 * configure: Rebuilt.
12314
12315 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
12316
12317 * extend.texi (Function Names): Document types of function names.
12318
12319 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12320
12321 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
12322 an earlyclobbered output conflict with RELOAD_INPUT reloads.
12323
12324 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12325
12326 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
12327
12328 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12329
12330 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
12331
12332 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
12333
12334 * collect2.c (main): Do prelimnary link on AIX if rflag.
12335
12336 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
12337
12338 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
12339 __CTOR_LIST__ in opposite order, which is the correct order for sorted
12340 constructors.
12341 (__do_global_dtors): similarly for __DTOR_LIST__.
12342
12343 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12344 Diego Novillo <dnovillo@cygnus.com>
12345
12346 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
12347 FPUL_REGS.
12348
12349 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
12350
12351 * fixincl/*: Merged "no_bogosity" branch
12352 * fixincl/fixlib.h: protect against doubly defining t_bool
12353 * fixincl/server.h: protect against doubly defining t_bool
12354
12355 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
12356
12357 * genoutput.c: Include toplev.h.
12358
12359 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
12360
12361 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
12362 Undef.
12363 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
12364 * configure: Regenerate.
12365
12366 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
12367
12368 * gcse.c (delete_null_pointer_checks): Returns void.
12369
12370 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12371
12372 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
12373 * emit-rtl.c (copy_insn_1): Likewise.
12374
12375 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
12376
12377 * config/mips/mips.c (mips_build_va_list): Correct
12378 TREE_CHAIN setting when hard-float.
12379 (mips_va_start): Use corrected setting.
12380 (mips_va_arg): Likewise. Also pass a tree to build of
12381 POSTINCREMENT_EXPR rather than a naked 'int'.
12382
12383 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
12384
12385 * ggc.h (ggc_push_context): Fix comment.
12386 (ggc_pop_context): Likewise.
12387 (mark_string_if_gcable): Likewise.
12388 * ggc-common.c (ggc_mark_rtx_children): Use
12389 ggc_mark_string_if_gcable.
12390 * ggc-page.c (ggc_lookup_page_table): New function.
12391 (ggc_allocated_p): Likewise.
12392 (mark_obj): Fix formatting.
12393 (ggc_mark_string_if_gcable): New function.
12394 * ggc-simple.c (ggc_allocated_strings): New variable.
12395 (ggc_strings_used): Likewise.
12396 (ggc_compare_addresses): New function.
12397 (ggc_pop_context): Pop the `any' memory too.
12398 (ggc_mark_string_if_gcable): New function.
12399 (ggc_collect): Initialize and tear down ggc_allocated_strings.
12400
12401 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
12402
12403 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
12404 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
12405 * rs6000.c (expand_block_move): Match movstrsi_?reg register
12406 changes.
12407
12408 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
12409
12410 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
12411 (sched_reg_live_length, sched_reg_basic_block): Delete.
12412 (current_block_num, bb_live_regs, old_live_regs): Delete.
12413 (dead_notes, struct sometimes): Delete.
12414 (sched_note_set, birthing_insn_p): Delete.
12415 (adjust_priority): Gut useless reg lifetime code.
12416 (create_reg_dead_note, attach_deaths): Delete.
12417 (attach_deaths_insn, new_sometimes_live): Delete.
12418 (finish_sometimes_live): Delete.
12419 (find_pre_sched_live, find_post_sched_live): Delete.
12420 (update_reg_usage): Delete.
12421 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
12422 (schedule_insns): Delete reg lifetime code.
12423 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
12424 (unlink_other_notes): Adjust REG_NOTE commentary.
12425 (reemit_notes): Use REG_SAVE_NOTE.
12426 (schedule_block): Likewise.
12427 (schedule_region): Allocate bitmap of blocks in region. Use
12428 count_or_remove_death_notes. Use update_life_info.
12429
12430 * rtl.h (REG_SAVE_NOTE): New.
12431 * rtl.c (reg_note_name): Update.
12432
12433 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
12434
12435 * combine.c (refresh_blocks, need_refresh): New.
12436 (combine_instructions): Allocate refresh_blocks. Invoke
12437 update_life_info if needed.
12438 (distribute_notes): Mark refresh_blocks instead of installing
12439 USE insns.
12440 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
12441 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
12442
12443 * Makefile.in (recog.o): Depend on basic-block.h.
12444
12445 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
12446
12447 * genrecog.c (add_to_sequence): Thinko last change: delete
12448 shadowing allow_const_int variable.
12449
12450 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12451
12452 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
12453 __GNUC__ and __GNUC_MINOR__.
12454
12455 * gansidecl.h: Likewise.
12456
12457 * rtl.c: Likewise.
12458
12459 * rtl.h: Likewise.
12460
12461 * toplev.h: Likewise.
12462
12463 * tree.c: Likewise.
12464
12465 * tree.h: Likewise.
12466
12467 * varray.c: Likewise.
12468
12469 * varray.h: Likewise.
12470
12471 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12472
12473 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
12474 use one before a jump table.
12475
12476 * rtl.def (ADDRESS): Change documentation to match reality.
12477 * md.texi: Don't document it.
12478 * gmicro.md (load address pattern): Use 'p' constraint, delete use
12479 of ADDRESS rtx.
12480
12481 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
12482
12483 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
12484
12485 * genrecog.c (add_to_sequence): Move allow_const_int test outside
12486 known predicate block; default allow_const_int true.
12487 (debug_decision_list): New.
12488
12489 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
12490
12491 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
12492
12493 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
12494
12495 * gcse.c (gcse_main): Avoid global optimizations if we have a
12496 large number of basic blocks and the ratio of edges to blocks
12497 is high.
12498 (delete_null_pointer_checks): Likewise.
12499
12500 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
12501
12502 * c-common.c (check_format_info): Warn if format string isn't a
12503 string literal.
12504
12505 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
12506
12507 * configure.in (arm*-*-*): Don't let autoconf remove brackets
12508 * configure: regenerate
12509
12510 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
12511
12512 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
12513 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
12514 (peepholes): Re-enable.
12515
12516 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
12517
12518 * Makefile.in (flow.o): Depend on TREE_H.
12519 * basic-block.h (REG_SET_EQUAL_P): New.
12520 (XOR_REG_SET): New.
12521 (n_edges): Declare.
12522 (free_regset_vector): Remove declaration.
12523 (flow_delete_insn_chain): Declare.
12524 (enum update_life_extent): New.
12525 (update_life_info, count_or_remove_death_notes): Declare.
12526 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
12527 Verify register live at bb->global_live_at_start before adding USE.
12528 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
12529 (CLEAN_ALLOCA): New.
12530 (n_edges): New.
12531 (PROP_*): New flags.
12532 (find_basic_blocks_1): Use alloc_EXPR_LIST.
12533 (clear_edges): Zero n_edges.
12534 (make_edge): Increment n_edges.
12535 (split_edge): Don't allocate bb->local_set. Increment n_edges.
12536 (flow_delete_insn_chain): Export.
12537 (delete_block): Decrement n_edges.
12538 (merge_blocks_nomove): Likewise.
12539 (life_analysis): Give life_analysis_1 PROP flags.
12540 (verify_wide_reg_1, verify_wide_reg): New.
12541 (verify_local_live_at_start): New.
12542 (update_life_info): Rewrite to call into propogate_block.
12543 (mark_reg): New.
12544 (mark_regs_live_at_end): After reload, if epilogue as rtl,
12545 always mark stack pointer. Conditionally mark PIC register.
12546 After reload, mark call-saved registers, return regsiters.
12547 (life_analysis_1): Accept PROP flags not remove_dead_code.
12548 Call mark_regs_live_at_end before zeroing regs_ever_live.
12549 Use calculate_global_regs_live. Copy global_live_at_end before
12550 calling final propagate_block. Zero reg_next_use on exit.
12551 (calculate_global_regs_live): New.
12552 (allocate_bb_life_data): Don't allocate bb->local_set.
12553 (init_regset_vector, free_regset_vector): Remove.
12554 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
12555 Test flags before every operation. Warn if prologue/epilogue insn
12556 would have been deleted.
12557 (mark_set_regs, mark_set_1): Accept and use FLAGS.
12558 Use alloc_EXPR_LIST.
12559 (mark_used_regs): Accept and use FLAGS, not FINAL.
12560 Remove special handling for RETURN.
12561 (try_pre_increment): Use alloc_EXPR_LIST.
12562 (dump_flow_info): Dump n_edges.
12563 (unlink_insn_chain, split_hard_reg_notes): Remove.
12564 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
12565 (find_insn_with_note, new_insn_dead_notes): Remove.
12566 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
12567 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
12568 (replace_insns): Remove.
12569 (count_or_remove_death_notes): New.
12570 (verify_flow_info): Abort on error after all checks.
12571 (remove_edge): Decrement n_edges.
12572 (remove_fake_edges): Tweek format.
12573 * haifa-sched.c (schedule_insns): Use split_all_insns.
12574 * output.h (update_life_info): Remove declaration.
12575 * recog.c (split_all_insns): From the corpse of split_block_insns,
12576 do the whole function block by block. Use update_life_info.
12577 (recog_last_allowed_insn): New.
12578 (recog_next_insn): Mind it.
12579 (peephole2_optimize): Set it. Walk backwards through blocks.
12580 Use update_life_info.
12581 * rtl.h (update_flow_info, replace_insns): Remove declarations.
12582 (split_all_insns): Declare.
12583 * toplev.c (rest_of_compilation): Thread prologue before flow2.
12584 Use split_all_insns.
12585
12586 * i386.md (or -1 peep2s): Disable.
12587
12588 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
12589
12590 * config/mips/mips.md (movstrsi+[123]) : Combine these into
12591 a single pattern. Scrap the 'd' versions as unnecessary.
12592
12593 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
12594 tablejump_mips162,tablejump_internal4): The operands to a
12595 label_ref must be VOIDmode.
12596
12597 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12598
12599 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
12600
12601 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
12602
12603 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
12604
12605 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
12606
12607 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
12608 cache every function if ggc_p.
12609
12610 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12611
12612 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
12613 instead of copy_rtx. Accept sequences that contain asm statements.
12614 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
12615 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
12616 orig_asm_operands_vector, copy_asm_operands_vector,
12617 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
12618 variables.
12619 * rtl.h (copy_insn, copy_insn_1): Declare.
12620
12621 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12622
12623 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
12624
12625 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
12626 arguments to `current_file_function_operand'.
12627
12628 * genrecog.c: Include hard-reg-set.h and resource.h in the
12629 generated output file.
12630
12631 * real.c: Include tm_p.h.
12632
12633 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12634
12635 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
12636 output operand.
12637
12638 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
12639
12640 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
12641 before the fctiwz insn.
12642
12643 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12644 Mark Mitchell <mark@codesourcery.com>
12645
12646 * tree.c (make_lang_type_fn): New funtion pointer.
12647 (make_lang_type): Call it.
12648 * tree.h (make_lang_type): Declare.
12649 (make_lang_type_fn): Likewise.
12650 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
12651
12652 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
12653
12654 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
12655 make sure that HIGH instructions are copied into BASE_REGS.
12656
12657 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
12658
12659 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
12660
12661 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
12662
12663 * c-decl.c (finish_struct): Use simpler method of
12664 removing elements of a singly-linked list.
12665
12666 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
12667
12668 * alpha.md (peephole2's): Comment out peephole2's that generate
12669 buggy code.
12670
12671 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
12672
12673 * genrecog.c (add_to_sequence): Disable mode check for
12674 wildcard matches.
12675
12676 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12677
12678 * ggc-simple.c (init_ggc): Set empty_string.
12679
12680 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
12681
12682 * configure.in: Detect mmap. Add --with-gc=foo to select
12683 garbage collector; default to page if mmap available.
12684 * Makefile.in (GGC): Substitute.
12685
12686 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
12687
12688 * c-decl.c (ggc_p): Enable.
12689
12690 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12691
12692 * flow.c (verify_flow_info): Make it extern & unconditionally define.
12693
12694 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
12695
12696 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
12697 string for little-endian-data.
12698
12699 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
12700
12701 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
12702 case somebody tries to compile --enable-checking code with gcc
12703 1.34 or such.
12704
12705 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
12706
12707 * genrecog.c (add_to_sequence): Verify operand to label_ref is
12708 VOIDmode.
12709
12710 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
12711
12712 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
12713 * jump.c (jump_optimize_1): Document why.
12714
12715 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12716
12717 * collect2.c (scan_prog_file, scan_libraries): Prototype function
12718 pointers and casts for `int_handler' and `quit_handler'.
12719
12720 * flow.c (verify_flow_info, split_hard_reg_notes,
12721 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
12722 remove_edge, remove_fake_successors): Add static prototypes.
12723 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
12724 (mark_set_1): Initialize variable `regno'.
12725 (unlink_insn_chain): Likewise for variable `curr'.
12726 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
12727
12728 * loop.c (strength_reduce): Initialize variable
12729 `unrolled_insn_copies'.
12730 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
12731 prototypes. Change these functions to take const PTR parameters
12732 to avoid prototype conflict when used as the comparson argument
12733 for qsort.
12734 (check_dbra_loop): Initialize variable `comparison_val'.
12735
12736 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
12737 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
12738 (find_valid_class): Initialize variable `best_class'.
12739 (find_reloads): Call memcpy, not bcopy.
12740
12741 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
12742 (hard_reg_use_compare): Don't needlessly cast away const.
12743 (reload_reg_class_lower): Likewise.
12744 (choose_reload_regs): Initialize variable `regno'.
12745
12746 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
12747
12748 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
12749
12750 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
12751
12752 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
12753 ({,d}discard): Add forward declarations. Declare parameter as
12754 unused.
12755 (main_without_main): Explicitly declare return type to be int.
12756 (memcpy): Properly declare.
12757
12758 * libgcc2.c (toplevel): If inhibit_libc is defined and not
12759 building the trampoline support, declare malloc, free, and
12760 atexit.
12761 (__clear_cache): Mark arguments as potentially unused.
12762
12763 * frame.c (toplevel): If inhibit_libc is defined, declare
12764 malloc and free.
12765
12766 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
12767
12768 * flow.c (make_edge): Accept an optional 2D bitmap in which
12769 to cache edge existence. Update all callers.
12770 (make_label_edge, make_eh_edge): Pass through the edge cache.
12771 (make_edges): Provide the cache.
12772
12773 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12774
12775 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
12776 a char*.
12777 (local_mbtowc): Change the type of variable `i' from int to size_t.
12778
12779 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
12780 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
12781
12782 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
12783
12784 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
12785 after other includes that define the appropriate types. Include
12786 tm_p.h for getting user prototypes.
12787 * ggc-callbacks.c (toplevel): Ditto.
12788 * ggc-none.c (toplevel): Ditto.
12789 * gcc-page.c (toplevel): Ditto.
12790 * ggc-simple.c (toplevel): Ditto.
12791
12792 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
12793 Jonathan Larmour <jlarmour@cygnus.co.uk>
12794
12795 * config/mips/mips.c (mips_move_2words): Split doubles if
12796 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
12797
12798 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
12799
12800 * genrecog.c (struct decision_test): New.
12801 (struct decision): Remove test-related members, sort the rest by size.
12802 (IS_SPLIT): Simplify.
12803 (new_decision, new_decision_test): New.
12804 (add_to_sequence): Use them. No special handling for args of
12805 non-MATCH codes.
12806 (maybe_both_true): Renamed from not_both_true; return sense changed.
12807 (maybe_both_true_1, maybe_both_true_2): New. Broken out
12808 of maybe_both_true and adjusted for decision_test.
12809 (position_merit): Remove.
12810 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
12811 (merge_accept_insn): New, broken out of merge_trees.
12812 (merge_trees): Use them. No special case for c_test; no node
12813 splitting; use test type instead of position_merit.
12814 (factor_tests): New.
12815 (simplify_tests): New.
12816 (break_out_subroutines): Don't write code now.
12817 (find_afterward): New.
12818 (write_afterward, write_switch, write_cond): New.
12819 (write_action, is_unconditional): New.
12820 (write_node): New. Use them.
12821 (write_tree_1): Rewrite. Use the new functions above.
12822 (write_tree): Remove afterward processing.
12823 (write_subroutine): Simplify function variant emission.
12824 (write_subroutines): New.
12825 (same_codes, clear_codes): Remove.
12826 (same_modes, clear_modes): Remove.
12827 (write_header): New, broken out of main.
12828 (make_insn_sequence): Use new_decision and new_decision_test.
12829 (process_tree): New, broken out of main.
12830 (main): Adjust for merge_trees interface change.
12831 Don't #define operands in the output file.
12832 (record_insn_name): New, broken out of make_insn_sequence.
12833 (debug_decision_2, debug_decision_1, debug_decision_0): New.
12834 (debug_decision): New.
12835
12836 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
12837
12838 * resource.c (find_free_register): Mark class_str argument const.
12839 * resource.h: Update prototype to match.
12840
12841 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
12842 * i386.md: Give all anonymous insns names.
12843
12844 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
12845
12846 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
12847 blocks.
12848
12849 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
12850
12851 * toplev.c (dbr_sched_time): Unconditional.
12852 (peephole2_time): New.
12853 (compile_file): Add pass numbers to all of the dump file suffixes.
12854 Dump peephole2_time. Don't dump times for non-applicable passes.
12855 (rest_of_compilation): Add pass numbers to dump file suffixes.
12856 Conditionalize calls to the scheduler.
12857 * invoke.texi: Update.
12858
12859 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
12860
12861 * flow.c (make_edges): Fix insn iteration.
12862 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
12863 (find_basic_blocks_1): Fix spelling mistake.
12864
12865 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
12866
12867 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
12868 always have side-effects. Use memset not bzero.
12869 (make_node): Likewise.
12870
12871 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
12872
12873 * stmt.c (expand_anon_union_decl): When any of the elements of the
12874 union is addressable, so is the entire union.
12875
12876 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
12877
12878 * sbitmap.c (sbitmap_ones): Don't set too many bits.
12879
12880 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
12881 * bitmap.c (bitmap_operation): Return true iff TO changed.
12882 (bitmap_equal_p): New.
12883 (bitmap_bit_p): Tidy arithmetic.
12884 (debug_bitmap_file): Likewise.
12885
12886 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
12887
12888 * toplev.c (rest_of_compilation): Turn on cse_not_expected
12889 before cse2 instead of after.
12890
12891 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
12892
12893 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
12894 register offsets.
12895
12896 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12897
12898 * cppinit.c (is_idchar initializer): Loosen tests to accept
12899 gcc 2.>6 and >2.
12900
12901 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
12902
12903 * mips.md: Define conditional move patterns for floating point
12904 operands and DI mode conditions.
12905
12906 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
12907
12908 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
12909 always have side-effects.
12910
12911 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
12912
12913 * mn10200.c (asm_file_start): Fix typo.
12914
12915 * cppinit.c (is_idchar initializer): Tighten tests for when
12916 to put the table into initialized memory.
12917
12918 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
12919 not an array of rtunion.
12920 * gcc-page.c (ggc_alloc_rtvec): Similarly.
12921 * gcc-simple (ggc_free_rtvec): Similarly.
12922
12923 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
12924 of rtunions.
12925
12926 * mbchar.h: Add missing #endif.
12927
12928 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
12929 (FPBIT, DPBIT): Define.
12930
12931 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12932
12933 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
12934
12935 * profile.c (instrument_arcs, output_gcov_string,
12936 tablejump_entry_p): Add static prototypes.
12937 (output_gcov_string): Constify a char*.
12938
12939 * regmove.c (replacement_quality, fixup_match_2): Add static
12940 prototypes.
12941
12942 * resource.h (reg_dead_p): Add extern prototype.
12943
12944 * rtl.c (trim_filename): Add static prototype.
12945
12946 * scan-decls.c (skip_to_closing_brace): Likewise.
12947
12948 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
12949 (expand_end_case): Initialize variable `range'.
12950 (emit_case_nodes): Remove unused prototype `rtx_fn'.
12951
12952 * varasm.c (asm_emit_uninitialised): Add static prototype.
12953 (asm_emit_uninitialised, assemble_variable): Mark parameter with
12954 ATTRIBUTE_UNUSED.
12955
12956 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12957
12958 * cpplib.c (if_directive_nameo): Add static prototype.
12959
12960 * cse.c (cse_insn): Remove unused variable `p'.
12961
12962 * except.c (create_rethrow_ref, push_entry,
12963 receive_exception_label, new_eh_region_entry, find_func_region,
12964 clear_function_eh_region, process_nestinfo): Add static prototypes.
12965 (get_reg_for_handler): Hide definition.
12966 (process_nestinfo): Initialize variable `extra_handlers'.
12967
12968 * expr.h (expand_builtin_longjmp): Add extern prototype.
12969
12970 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
12971
12972 * function.c (prepare_function_start): Likewise.
12973 (pop_function_context_from): Mark parameter `context' with
12974 ATTRIBUTE_UNUSED.
12975 (push_temp_slots_for_block, flush_addressof): Hide definition.
12976
12977 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
12978 solve_program_flow_graph, calculate_branch_probs,
12979 function_summary, main, fancy_abort): Add prototypes.
12980
12981 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
12982 (add_hash): Constify a char*.
12983
12984 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
12985 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
12986 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
12987
12988 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
12989
12990 * lists.c (free_list, zap_lists): Likewise.
12991
12992 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12993
12994 * alias.c (nonlocal_reference_p): Add static prototype.
12995
12996 * bitmap.c (bitmap_element_allocate): Prototype args in function
12997 pointer cast.
12998
12999 * builtins.c (stabilize_va_list): Add static prototype.
13000 (expand_builtin_va_arg): Constify a char*.
13001
13002 * c-lex.c (getch, put_back, extend_token_buffer_to,
13003 read_line_number, token_getch, token_put_back): Add static
13004 prototypes.
13005
13006 * c-parse.gperf (hash, is_reserved_word): Likewise.
13007
13008 * cccp.c (is_dir_separator): Likewise.
13009
13010 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13011
13012 * graph.h: New file to prototype functions exported by graph.c.
13013
13014 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
13015
13016 * graph.c: Include graph.h.
13017
13018 * toplev.c: Likewise. Remove redundant prototypes.
13019
13020 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
13021
13022 * invoke.texi: Removed duplicated description for -Q.
13023
13024 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
13025
13026 * extend.texi: Grammar fix in __extension__ text.
13027
13028 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
13029
13030 * md.texi (define_peephole2): New section.
13031
13032 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
13033
13034 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
13035 (mov $-1 to or peepholer): Enable for pentium when optimizing for
13036 speed.
13037
13038 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
13039
13040 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
13041
13042 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
13043
13044 * i386.md (ffs expander): Emit Pentium friendly code for
13045 TARGET_PENTIUM.
13046
13047 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
13048
13049 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
13050 for non-trees.
13051 (build1): Likewise.
13052
13053 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13054
13055 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
13056
13057 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
13058
13059 * config/m68k/m68k.c (use_return_insn): Return false if the pic
13060 register is in use.
13061
13062 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13063
13064 * md.texi (No Constraints): Delete section.
13065 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
13066 * final.c (final_scan_insn): We always have register constraints.
13067 * genattrtab.c: Don't include "insn-config.h".
13068 (write_attr_case): We always have register constraints.
13069 * genconfig.c (register_constraint_flag): Delete.
13070 (walk_insn_part): Don't check whether we have register constraints.
13071 (main): Don't write out "#define REGISTER_CONSTRAINTS".
13072 * genoutput.c (have_constraints): Delete.
13073 (main): Don't set it.
13074 (output_operand_data): We always have constraints.
13075 (scan_operands): Likewise.
13076 (compare_operands): Likewise.
13077 * local-alloc.c (block_alloc): We always have constraints.
13078 (requires_inout): Always compile this function.
13079 * recog.c (extract_insn): We always have constraints.
13080 (constrain_operands, reg_fits_class_p): Always compile these
13081 functions.
13082 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
13083 fields.
13084 (struct insn_operand_data): Likewise.
13085 * regclass.c (regclass): We always have constraints.
13086 (record_reg_classes, copy_cost, record_address_regs,
13087 auto_inc_dec_reg_p): Always compile these functions.
13088 * regmove.c (regmove_optimize): We always have constraints.
13089 * reload.c (find_reloads): Likewise.
13090 * reload1.c (reload): Likewise.
13091 (reload_cse_simplify_operands): Likewise.
13092 * i860.c (output_delay_insn): Likewise.
13093
13094 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
13095
13096 * iris6.h (BUILD_VA_LIST_TYPE): Define.
13097
13098 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13099
13100 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
13101 for the va_list record.
13102
13103 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
13104
13105 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
13106 prologues.
13107
13108 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
13109
13110 * alias.c: Include insn-flags.h.
13111 * Makefile.in (alias.o): Update.
13112
13113 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
13114
13115 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
13116 to LTU and GEU. Handle more cases using sbb.
13117
13118 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
13119
13120 * i386.md (truncatexfdf splitters): Do not use subreg.
13121 (fop XFmode patterns): Fix mode in operand testing.
13122
13123 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
13124
13125 * jump.c (jump_optimize_1): Amend last change to test only the
13126 form of the operand, not the insn.
13127
13128 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
13129 not register_operand to determine when B may need preloading.
13130
13131 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
13132
13133 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
13134 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
13135 (call-value patterns): Move to end of file.
13136 (*): Remove mode from label_ref in (pc) context.
13137 (movstrqi): Use memory not general_operand for BLKmode operands.
13138 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
13139 to register_operand operands.
13140 (peep2 patterns): Convert from commented-out peephole patterns.
13141
13142 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13143
13144 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
13145 to BUILT_IN_INIT_DWARF_REG_SIZES.
13146 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
13147 Renamed from BUILT_IN_DWARF_REG_SIZE; call
13148 expand_builtin_init_dwarf_reg_sizes.
13149 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
13150 with __builtin_init_dwarf_reg_size_table.
13151 * dwarf2out.c (struct reg_size_range): Delete.
13152 (expand_builtin_init_dwarf_reg_sizes): New function.
13153 (expand_builtin_dwarf_reg_size): Delete.
13154 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
13155 (expand_builtin_dwarf_reg_size): Don't declare.
13156 * libgcc2.c (dwarf_reg_size_table_initialized): New.
13157 (dwarf_reg_size_table): New.
13158 (init_reg_size_table): New function.
13159 (copy_reg): Use dwarf_reg_size_table.
13160 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
13161 before use.
13162
13163 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
13164
13165 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
13166 Correctly build argument list to constructor and destructor functions.
13167
13168 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
13169
13170 * c-tree.h (warn_float_equal): Declare.
13171 * c-decl.c (warn_float_equal): Define.
13172 (c_decode_option): Recognize -W[no-]float-equal.
13173 * c-typeck.c (build_binary_op): Conditionally warn
13174 about equality tests of floating point types.
13175 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
13176 * invoke.texi: Add docs for -Wfloat-equal warning.
13177
13178 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
13179
13180 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
13181 generating RTL directly.
13182 * mips.h (INIT_TARGET_OPTABS): Likewise.
13183 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
13184
13185 * expr.h (init_mov_optab): Delete declaration
13186
13187 * h8300.c (WORD_REG_USED): Update to avoid useless register
13188 saves in interrupt functions and functions which never return.
13189
13190 * cse.c (struct set): Delete inner_dest_loc field.
13191 (cse_insn): Remove assignments to inner_dest_loc field.
13192
13193 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
13194
13195 * ggc-page.c: Don't include <unistd.h> etc taken care of
13196 by "system.h". Include <sys/mman.h> afterward.
13197
13198 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
13199
13200 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
13201 ggc_alloc_string.
13202
13203 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
13204
13205 * xcoffout.c (xcoffout_declare_function): Add documentation.
13206 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
13207 TARGET_64BIT. Compare constant to -1, not bit pattern.
13208 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
13209 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
13210 gen_movsi typos.
13211
13212 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
13213
13214 * dwarf2out.c (add_abstract_origin_attribute): Abort if
13215 origin_die is NULL.
13216 (gen_inlined_enumeration_type_die): Do not abort if the type has
13217 not been writeen out.
13218 (gen_inlined_structure_type_die): Do not abort if the type has
13219 not been writeen out.
13220 (gen_inlined_union_type_die): Do not abort if the type has
13221 not been writeen out.
13222 (gen_tagged_type_instantiation_die): Do not abort if the type
13223 has not been written out.
13224
13225 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13226
13227 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
13228 call it.
13229 * reg-stack.c (straighten_stack): Copy hard reg set with
13230 COPY_HARD_REG_SET.
13231
13232 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
13233
13234 * builtins.c (stabilize_va_list): Stabilize array type va_list
13235 to a pointer type, not the base record type.
13236 (expand_builtin_va_copy): Dereference the pointers explicitly;
13237 use the correct size for the copy.
13238
13239 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
13240 (rs6000_va_arg): Likewise.
13241
13242 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
13243
13244 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
13245
13246 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
13247
13248 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
13249 field.
13250 (DECL_BUILT_IN_CLASS): Adjust accordingly.
13251
13252 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
13253
13254 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
13255 (init_ggc): Use it instead of a constant.
13256 (ggc_collect): Bound allocated_last_gc by it.
13257
13258 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
13259
13260 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
13261 with va_list.
13262
13263 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
13264
13265 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
13266 (mips*-*-openbsd*): Let big endian configuration be a fragment.
13267 * configure: Regen.
13268 * config/mips/openbsd.h: New, OpenBSD little endian target.
13269 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
13270 * config/mips/xm-openbsd.h: New, OpenBSD host.
13271
13272 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
13273
13274 * config/m68k/m68k.c (output_function_prologue,
13275 output_function_epilogue): Use
13276 current_function_uses_pic_offset_table instead of regs_ever_live
13277 to decide whether to save/restore pic register.
13278 (legitimize_pic_address): Don't modify regs_ever_live any more.
13279
13280 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
13281
13282 * function.h (struct function): Add x_dont_save_pending_sizes_p.
13283 * stor-layout.c (variable_size): Don't add sizes to the pending
13284 sizes list if x_dont_save_pending_sizes_p is set.
13285
13286 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
13287
13288 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
13289 for symbolic_operand().
13290 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
13291
13292 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13293
13294 * combine.c (gen_rtx_combine): Add missing call to va_end().
13295
13296 * final.c (asm_fprintf): Likewise.
13297
13298 * genattrtab.c (attr_rtx): Likewise.
13299
13300 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
13301
13302 * cse.c: Update comments.
13303 (cse_insn): When converting a conditional/computed jump into
13304 an unconditional jump, always make sure a BARRIER immediately
13305 follows the converted jump. Do not delete unreachable code.
13306 (cse_basic_block): Do not delete unreachable code.
13307 * toplev.c (rest_of_compilation): Move call to
13308 delete_trivially_dead_insns after the conditional call to
13309 jump_optimize.
13310
13311 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13312
13313 * collect2.c (make_temp_file): Don't prototype.
13314
13315 * gcc.c (make_temp_file): Likewise.
13316
13317 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
13318
13319 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
13320
13321 * varasm.c (asm_emit_uninitialised): New function: Generate
13322 the assembler statements necessary to declare an uninitialised
13323 variable.
13324 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
13325 variable.
13326 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
13327 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
13328 section.
13329 (assemble_variable): Use asm_emit_uninitialised to emit an
13330 uninitialised variable.
13331
13332 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
13333
13334 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
13335 constant on a 64 bit host. Patch supplied by Geoffrey Keating
13336 <geoffk@cygnus.com>.
13337
13338 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13339
13340 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
13341 * c-common.h (builtin_function): Don't declare.
13342
13343 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
13344 DECL_BUILT_IN.
13345 (pushdecl): Likewise.
13346 (finish_decl): Likewise.
13347 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
13348 int. All callers changed.
13349 Set the builtin's DECL_BUILT_IN_CLASS.
13350 * tree.h (enum built_in_class): New.
13351 (enum built_in_function): Delete NOT_BUILT_IN.
13352 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
13353 in a union.
13354 (DECL_SET_FUNCTION_CODE): Likewise.
13355 (DECL_BUILT_IN_CLASS): New macro.
13356 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
13357 (struct tree_decl): Split builtin function code field into a
13358 struct.
13359 (builtin_function): Declare.
13360
13361 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
13362
13363 * optabs.c (init_traps): Fix typo in last change.
13364
13365 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
13366
13367 * toplev.c (rest_of_decl_compilation): Update comment.
13368
13369 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
13370
13371 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
13372 in .sbss if appropriate.
13373 (EXTRA_SECTION_FUNCTIONS): Add sbss.
13374 (SBSS_SECTION_ASM_OP): New macro.
13375 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
13376 (EXTRA_SECTIONS): Add in_sbss.
13377 * config/mips/mips.h: Prototype sbss_section.
13378
13379 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
13380
13381 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
13382 to disappear.
13383
13384 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
13385
13386 * optabs.c (init_traps): Register trap_rtx as a GC root.
13387
13388 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13389
13390 * config/mips/mips.c (function_arg_pass_by_reference): Define
13391 unconditionally, since it's called unconditionally.
13392
13393 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
13394
13395 * toplev.c (documented_lang_options): Add -fshort-wchar.
13396 * c-decl.c (c_decode_option): Likewise.
13397 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
13398 for wchar_t.
13399 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
13400 * gcc.c (default_compilers): If -fshort-wchar,
13401 override __WCHAR_TYPE__.
13402 * tm.texi (C Dialect Options): Add -fshort-wchar.
13403
13404 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
13405 symbol for a variable.
13406
13407 * cpplib.h (CPP_PREPROCESSED): New macro.
13408 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
13409 we're seeing this input for a second time.
13410
13411 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
13412
13413 * emit-rtl.c (init_emit_once): Initialize modes first.
13414
13415 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
13416
13417 * config/i386/i386.c (pic_label_name): Change to char pointer.
13418 (global_offset_table): New variable.
13419 (load_pic_register): Fill global_offset_table if it hasn't
13420 already been done. Allocate pic_label_name dynamically.
13421 * ggc.h (empty_string): New variable.
13422 * ggc-simple.c (empty_string): Likewise.
13423 (init_ggc): Allocate empty_string and add as root.
13424 * stmt.c (digit_strings): New variable.
13425 (init_stmt): Add last_block_end_note as root. Allocate and
13426 initialize digit_strings.
13427 (expand_asm_operands): Use empty_string instead of string
13428 constant. Use digit_strings instead of string constants.
13429 * profile.c (init_arc_profiler): Allocate string with
13430 ggc_alloc_string instead of xmalloc.
13431 (output_func_start_profiler): Likewise.
13432 * c-typeck.c (digest_init): Check if init is error_mark_node.
13433
13434 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
13435 Richard Henderson <rth@cygnus.com>
13436
13437 * ggc-page.c: New file.
13438 * Makefile.in (ggc-page.o): New.
13439
13440 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
13441
13442 * invoke.texi: Document -fdelete-null-pointer-checks
13443 * toplev.c (flag_delete_null_pointer_checks): New.
13444 (f_options): Add entry for -fdelete-null-pointer-checks.
13445 (rest_of_compilation): Conditionalize null pointer check
13446 elimination on flag_delete_null_pointer_checks.
13447 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
13448
13449 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
13450
13451 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
13452 copyright notice and special exception to GPL.
13453
13454 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13455
13456 * abi64.h (mips_function_value): Add prototype arguments.
13457
13458 * mips-protos.h: New file with mips prototypes.
13459
13460 * mips.c: Include "tm_p.h".
13461 (mktemp, lookup_name): Add prototype arguments.
13462 (extern_list, string_constant, mips_fill_delay_slot,
13463 mips_output_external, mips_output_external_libcall,
13464 mips_output_filename, mips_declare_object, function_prologue,
13465 mips_expand_prologue, function_epilogue, mips16_constant,
13466 build_mips16_function_stub, mips_output_conditional_branch):
13467 Constify a char*.
13468 (mips_va_start): Remove unused variable `u'.
13469 (mips_va_arg): Cast value to unsigned when comparing against one.
13470 (trace): Delete.
13471 (save_restore_insns, mips_expand_prologue): Add missing arg in
13472 call to `large_int'.
13473
13474 * mips.h: Move prototypes to mips-protos.h.
13475 (data_section, memory_address_p, rdata_section,
13476 readonly_data_section, simple_epilogue_p, text_section): Delete
13477 prototypes delcared elsewhere.
13478 (mips_epilogue_delay_slots, print_options): Delete unused decls.
13479 (trace): Delete.
13480 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
13481
13482 * mips.md: Delete extra args in call to `mips_move_2words'.
13483
13484 * xm-iris6.h (alloca): Add prototype argument.
13485
13486 * genpeep.c: Include "tm_p.h" in generated output file.
13487
13488 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13489
13490 * basic-block.h (find_edge_index): Change parameters.
13491 * flow.c (verify_edge_list): Pass basic_block parameters to
13492 find_edge_index instead of integers.
13493
13494 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
13495
13496 * combine.c (simplify_comparison): Use an unsigned shift to adjust
13497 the constant.
13498
13499 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
13500
13501 * gcc.1: Fix a formatting error.
13502
13503 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13504
13505 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
13506 i786, mn10200, mn10300, pdp11, v850.
13507
13508 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
13509
13510 * libgcc2.c (num_digits): Add prototype with
13511 __attribute__((const)).
13512 (__terminate): Add prototype.
13513
13514 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
13515
13516 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
13517
13518 * alpha/alpha.c (print_operand): Fix type of `code'.
13519 (alpha_output_filename): Constify.
13520 * alpha/alpha.h: Move all function declarations ...
13521 * alpha/alpha-protos.h: ... here. New file.
13522 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
13523 (SECTION_FUNCTION_TEMPLATE): Likewise.
13524
13525 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13526
13527 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
13528 * expr.c (expand_expr): Likewise.
13529 (do_jump): Likewise.
13530 (do_store_flag): Pass ccp_store_flag to can_compare_p.
13531 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
13532 accessor macros.
13533 (enum can_compare_purpose): New.
13534 (can_compare_p): Adjust prototype.
13535 (prepare_cmp_insn, prepare_operand): Declare.
13536 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
13537 * optabs.c (cmp_available_p): Deleted.
13538 (expand_abs): Pass ccp_jump to can_compare_p.
13539 (can_compare_p): New arg PURPOSE. Check for combined optabs.
13540 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
13541 Call can_compare_p rather than cmp_available_p.
13542 (prepare_operand): No longer static.
13543 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
13544 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
13545 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
13546 sequence to use emit_cmp_and_jump_insns.
13547 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
13548
13549 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
13550
13551 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
13552 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
13553 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
13554 (plus (reg) (const_int 0))
13555 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
13556
13557 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
13558
13559 * rs6000.c (expand_block_move): DImode loads and stores require
13560 word-aligned displacements. Increment address registers with
13561 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
13562
13563 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
13564
13565 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
13566 is no name for the base type, rather than segfault. If we are
13567 writing out a complex integer type, use DW_ATE_lo_user.
13568
13569 * expr.c (emit_move_insn_1): If we are copying a complex that fits
13570 in one word or less (complex char, complex short, or on 64 bit
13571 systems complex float) to/from a hard register, copy it through
13572 memory instead of dying in gen_{real,imag}part. If we have a
13573 short complex type, prevent inlining since it allocates stack
13574 memory.
13575
13576 * tree.c (build_complex_type): If we are writing dwarf2 output,
13577 generate a name for complex integer types.
13578
13579 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13580
13581 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
13582 * flow.c (remove_edge): Remove extra whitespace.
13583 (remove_fake_edges): Fix comment.
13584 (add_noreturn_fake_exit_edges): Use the correct name.
13585
13586 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
13587
13588 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
13589 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
13590 (clean): Depend on INTL_CLEAN.
13591 (maintainer-clean): Adjust.
13592
13593 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13594
13595 * configure.in (AC_PREREQ): Bump to 2.13.
13596 (AC_C_STRINGIZE): Call this instead of using a custom macro.
13597
13598 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
13599
13600 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
13601
13602 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
13603
13604 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
13605 (HAVE_STRINGIZE): Define.
13606
13607 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
13608
13609 * c-parse.in: save and restore warn_pointer_arith on __extension__
13610 along with pedantic.
13611 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
13612 Set the type of extension to itype rather than $<itype>1 kludge.
13613 * extend.texi (Alternate Keywords): Adjust documentation.
13614 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
13615
13616 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
13617
13618 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
13619 most assembler templates.
13620
13621 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
13622 FP loads and stores.
13623 (following_call): Always return zero for the PA8000.
13624 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
13625 FP loads and stores.
13626 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
13627
13628 * pa.h (BRANCH_COST): Define.
13629
13630 * pa.md (return, return_internal): Use bve for PA2.0.
13631
13632 * pa.md (fused multiply): Add variants which reduce height for the
13633 fused multiply, but which still generate 2 insns.
13634 (fnegabs): Similarly.
13635
13636 * pa.md (subsi3): Turn into an expander. Create two anonymous
13637 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
13638 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
13639
13640 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
13641 for TARGET_PA_20.
13642 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
13643 code generation.
13644 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
13645 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
13646
13647 * regclass.c (init_regs): Add "top_of_stack" as a garbage
13648 collection root.
13649
13650 * flow.c (record_active_eh_regions): Terminate loop after finding
13651 the last insn in the last basic block.
13652
13653 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13654
13655 * config/c4x/c4x.md: Delete parallel instruction peepholes.
13656
13657 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13658
13659 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
13660
13661 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13662
13663 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
13664 splitting to not use output template.
13665
13666 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13667
13668 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
13669 * config/c4x/c4x.c (c4x_va_start): New function.
13670
13671 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
13672
13673 * genrecog.c (not_both_true): Handle correctly cases when called for
13674 tests with different positions in the insn.
13675
13676 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13677
13678 * machmode.h (HOST_PTR_PRINTF): Move from here ...
13679
13680 * system.h (HOST_PTR_PRINTF): ... to here.
13681
13682 * mips-tfile.c: Don't include machmode.h.
13683
13684 * Makefile.in (MACHMODE_H): New variable. Update to use it.
13685 (mips-tfile.o): Don't depend on machmode.h.
13686
13687 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13688
13689 * haifa-sched.c (sched_analyze): Rename local variable `region' to
13690 avoid conflicts with typedef struct `region' at the top level scope.
13691
13692 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
13693
13694 * basic-block.h (basic_block): Add eh_beg, eh_end.
13695 * flow.c (entry_exit_blocks): Update.
13696 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
13697 Call new functions.
13698 (find_basic_blocks_1): Don't record eh_list at each bb. Use
13699 lists.c functions to allocate insn lists.
13700 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
13701 edge creation ...
13702 (make_eh_edge): ... here. New.
13703 (move_stray_eh_region_notes): New.
13704 (record_active_eh_regions): New.
13705 (delete_unreachable_blocks): Split out block merging ...
13706 (try_merge_blocks): ... here. New.
13707 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
13708 Dump debugging data.
13709 (merge_blocks_move_successor_nojumps): Likewise.
13710 (merge_blocks): Use eh_beg+eh_end to validate block movement.
13711
13712 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13713
13714 * extend.texi (Bound member functions): Document unbound pmf
13715 conversion.
13716
13717 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13718
13719 * flow.c (split_edge): Handle insertion on a fallthrough edge which
13720 has the EXIT_BLOCK as a dest.
13721
13722 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13723
13724 * flow.c (remove_edge): New function to remove an edge from the
13725 flow graph.
13726 (remove_fake_successors): New function to remove fake successor edges.
13727 (remove_fake_edges): New function to remove all fake edges from the
13728 flow graph.
13729 (add_fake_exit_edges): New function to add fake edges from all blocks
13730 with no successors to the exit block.
13731 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
13732 prototypes for new functions.
13733
13734 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13735
13736 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
13737 Use Pmode to determine whether to output .dword or .word.
13738
13739 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
13740
13741 * tree.c (built_in_filename): New variable.
13742 (BUILT_IN_FILENAME): New macro.
13743 (init_tree_codes): Allocate built_in_filename.
13744 (make_node): Use built_in_filename instead of string constant.
13745
13746 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
13747
13748 * configure.in: Add fr30 target.
13749 * configure: Regenerate.
13750 * config/fr30: New directory.
13751 * config/fr30/crti.asm: New file.
13752 * config/fr30/fr30.c: New file.
13753 * config/fr30/crtn.asm: New file.
13754 * config/fr30/fr30.h: New file.
13755 * config/fr30/fr30.md: New file.
13756 * config/fr30/lib1funcs.asm: New file.
13757 * config/fr30/t-fr30: New file.
13758 * config/fr30/xm-fr30.h: New file.
13759
13760 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
13761
13762 * flow.c (merge_blocks_move_successor_nojumps): Delete the
13763 BARRIER at the end of the successor, not the BARRIER before
13764 the successor.
13765
13766 * pa.c (pa_add_gc_roots): Fix thinko in last change.
13767
13768 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
13769
13770 * stmt.c (any_pending_cleanups): Don't crash when
13771 current_function->stmt is unset.
13772
13773 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13774
13775 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
13776 other initializations that may use it for relative offsets.
13777
13778 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13779
13780 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
13781 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
13782 * config/i386/sol2dbg.h: Removed.
13783 * config/i386/sol2gas.h: New file, to enable gas work-around.
13784 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
13785 Don't use sol2dbg.h.
13786 * configure: Rebuilt.
13787
13788 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
13789
13790 * invoke.texi (-fthis-is-variable): Remove documentation.
13791
13792 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
13793
13794 * basic-block.h (compute_bb_for_insn): Declare.
13795 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
13796 to use; set size of basic_block_for_insn directly.
13797 (find_basic_blocks): Update.
13798
13799 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13800
13801 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
13802
13803 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13804
13805 * crtstuff.c (ON_EXIT): Delete empty macro definition.
13806 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
13807
13808 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
13809
13810 * c-decl.c (c_decode_option): Extend comment.
13811
13812 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
13813
13814 * toplev.c (progname): Make 'const char *'
13815 (flag_print_mem): Move out of main.
13816 (version_flag): Move out of main.
13817 (filename): Move out of main.
13818 (debug_args): Remove g prefix from options.
13819 (documented_lang_options): Remove cpplib specific options.
13820 (display_help): Add g prefix to debug options.
13821 (check_lang_option): Delete this function.
13822 (decode_d_option): New function: Decode -d... option.
13823 (decode_f_option): New function: Decode -f... option.
13824 (decode_W_option): New function: Decode -W... option.
13825 (decode_g_option): New function: Decode -g... option.
13826 (independent_decode_option): New function: Decode a language
13827 independent command line option.
13828 (main): Invoke lang_decode_option and then
13829 independent_decode_option on each command line option in
13830 turn.
13831
13832 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
13833
13834 Revert this change. Gavin's patch to operand_equal_p is a better fix.
13835 * fold-const.c (fold_range_test): Do not try to fold the range
13836 test if the rhs or lhs has side effects.
13837
13838 * basic-block.h (compute_flow_dominators): Declare.
13839
13840 * gcse.c (alloc_code_hoist_mem): New function.
13841 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
13842 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
13843 (hoist_code, one_code_hoisting_pass): Likewise.
13844 (gcse_main): If optimizing for size, then hoist expressions
13845 computed in multiple dominated basic blocks.
13846
13847 * gcse.c (invalid_nonnull_info): New function.
13848 (delete_null_pointer_checks): Likewise.
13849 * rtl.h (delete_null_pointer_checks): Declare.
13850 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
13851
13852 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
13853 (merge-blocks_move_successor_nojumps): Likewise.
13854 (merge_blocks): Allow merging of some blocks, even if it requires
13855 physical movement of the blocks, but not if it requires new jumps.
13856
13857 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
13858 Callers and prototype changed.
13859 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
13860
13861 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13862
13863 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
13864 -YP when both -p and -pg are present. From i386/sol2.h.
13865
13866 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13867
13868 * Makefile.in (distclean): Delete tm_p.h.
13869 * configure.in: Create a new file, "tm_p.h", from a list in
13870 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
13871 "i386/i386-protos.h".
13872
13873 * alias.c: Include "tm_p.h".
13874 * c-typeck.c: Likewise.
13875 * calls.c: Likewise.
13876 * cse.c: Likewise.
13877 * emit-rtl.c: Likewise.
13878 * explow.c: Likewise.
13879 * expmed.c: Likewise.
13880 * expr.c: Likewise.
13881 * final.c: Likewise.
13882 * flow.c: Likewise.
13883 * fold-const.c: Likewise.
13884 * function.c: Likewise.
13885 * gcse.c: Likewise.
13886 * global.c: Likewise.
13887 * haifa-sched.c: Likewise.
13888 * integrate.c: Likewise.
13889 * jump.c: Likewise.
13890 * local-alloc.c: Likewise.
13891 * loop.c: Likewise.
13892 * optabs.c: Likewise.
13893 * recog.c: Likewise.
13894 * reg-stack.c: Likewise.
13895 * regclass.c: Likewise.
13896 * regmove.c: Likewise.
13897 * reload.c: Likewise.
13898 * reload1.c: Likewise.
13899 * reorg.c: Likewise.
13900 * resource.c: Likewise.
13901 * stmt.c: Likewise.
13902 * stor-layout.c: Likewise.
13903 * toplev.c: Likewise.
13904 * tree.c: Likewise.
13905 * unroll.c: Likewise.
13906 * genattrtab.c (main): Make generated file include "tm_p.h".
13907 * genemit.c (main): Likewise.
13908 * genoutput.c (main): Likewise.
13909 * genrecog.c (main): Likewise.
13910
13911 * i386.h: Delete all prototypes.
13912 * i386.c: Include "tm_p.h".
13913 (ix86_attr_length_default): Call constant_call_address_operand
13914 with correct number of arguments.
13915 * i386-protos.h: New file.
13916 * i386.md (unnamed patterns): Call constant_call_address_operand
13917 with correct number of arguments.
13918 (exception_receiver): Call load_pic_register with correct number
13919 of arguments.
13920
13921 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
13922
13923 * c-pragma.c (mark_align_stack): Dereference the void* properly.
13924
13925 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
13926
13927 * rtl.h (insns_safe_to_move_p): New function.
13928 * loop.c (find_and_verify_loops): Use it.
13929 * rtlanal.c (insns_safe_to_move_p): Define it.
13930
13931 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
13932
13933 * c-pragma.c: Include ggc.h.
13934 * Makefile.in (c-pragma.o): Update.
13935
13936 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13937
13938 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
13939 (LIB_SPEC): Likewise.
13940 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
13941 Reindent -YP/-p/-pg.
13942 Copied from config/sparc/sol2.h.
13943
13944 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
13945
13946 * c-pragma.c (mark_align_stack): New.
13947 (init_pragma): New.
13948 * c-pragma.h (init_pragma): Declare it.
13949 * c-lex.c (init_parse): Call it.
13950
13951 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13952
13953 * configure.in: Pick up thread library on Solaris/x86 just
13954 like on Solaris/sparc.
13955 * configure: Rebuilt.
13956
13957 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
13958
13959 * rtl.h (global_rtx_index): New enum.
13960 (global_rtl): Change to array of rtx.
13961 (pc_rtx, cc0_rtx): Redefine accordingly.
13962 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
13963 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
13964 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
13965 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
13966 (const_int_rtx): Change to array of rtx.
13967 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
13968 accordingly.
13969 * emit-rtl.c (global_rtl): Change to array of rtx.
13970 (const_int_rtx): Change to aray of rtx.
13971 (gen_rtx_CONST_INT): Redefine accordingly.
13972 (init_emit_once): Allocate and initialize global_rtl. Likewise
13973 for const_int_rtx. Add both as GC roots.
13974 * genattrtab.c (global_rtl): Update declaration.
13975
13976 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
13977
13978 * Makefile (USER_H): Add iso646.h back.
13979
13980 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
13981
13982 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
13983 zapping the LOG_LINKS of sched_before_next_call.
13984
13985 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
13986 * pa.c (insn_refs_are_delayed): Renamed from
13987 insn_sets_and_refs_are_delayed.
13988
13989 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
13990
13991 * functiion.h (struct function): Add x_whole_function_mode_p.
13992 (retrofit_block): Declare.
13993 * function.c (retrofit_block): New function.
13994 (identify_blocks): Add assertions. Allow an incomplete set of
13995 block notes if we're still generating code for the function.
13996 * integrate.c: Include loop.h.
13997 (expand_inline_function): Call find_loop_tree_blocks to map block
13998 notes to blocks when in whole-function mode. Use retrofit_block
13999 to insert new BLOCKs for the inlined function, rather than
14000 insert_block.
14001 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
14002 * Makefile.in (integrate.o): Depend on loop.h.
14003
14004 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
14005
14006 * tree.h (warn_about_unused_variables): Declare.
14007 * stmt.c (warn_about_unused_variables): New function, split out
14008 from ...
14009 (expand_end_bindings): Here.
14010
14011 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
14012
14013 * stmt.c (preserve_subexpressions_p): Don't crash when
14014 current_function->stmt is unset.
14015
14016 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
14017
14018 * stmt.c (expand_start_bindings): Allow callers to pass a flag
14019 indicating that no NOTE_INSN_BLOCK_BEG note is required.
14020 (expand_start_target_temps): Use it.
14021 * except.c (expand_eh_region_start_for_decl): Likewise.
14022 * expr.c (expand_expr): Likewise.
14023
14024 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
14025
14026 * fold-const.c (operand_equal_p): Pay attention to side effects.
14027
14028 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
14029
14030 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
14031 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
14032
14033 * tlink.c (scan_linker_output): Look for keywords before accepting
14034 a mangled name in quotes.
14035
14036 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
14037
14038 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
14039 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
14040
14041 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
14042
14043 * alpha.md: Revert Thu Nov 26 change that came in through the
14044 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
14045 Avoid earlyclobber when possible.
14046
14047 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14048
14049 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
14050
14051 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
14052 Define HAVE_ON_EXIT.
14053
14054 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14055
14056 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
14057 CTYPE_CONV in all ctype macros.
14058
14059 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
14060 from system.h.
14061
14062 * cexp.y (initialize_random_junk): Likewise.
14063
14064 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
14065
14066 * i370.c (handle_pragma): Likewise.
14067
14068 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
14069
14070 * v850.c (override_options): Likewise.
14071
14072 * doprint.c (_doprnt): Likewise.
14073
14074 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
14075 Likewise.
14076
14077 * fixinc/server.c (load_data): Likewise.
14078
14079 * fold-const.c (real_hex_to_f): Likewise.
14080
14081 * genattr.c (write_upcase, gen_attr): Likewise.
14082
14083 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
14084 write_upcase): Likewise.
14085
14086 * genemit.c (print_code): Likewise.
14087
14088 * genopinit.c (gen_insn): Likewise.
14089
14090 * genpeep.c (print_code): Likewise.
14091
14092 * genrecog.c (print_code): Likewise.
14093
14094 * optabs.c (init_libfuncs): Likewise.
14095
14096 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
14097
14098 * haifa-sched.c (sched_analyze): Keep the list of notes organized
14099 in pairs.
14100 (reemit_notes): Likewise.
14101
14102 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
14103
14104 * ggc.h (ggc_root): Move to ggc-common.c.
14105 (roots): Remove.
14106 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
14107 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
14108 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
14109 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
14110 * ggc-common.c (ggc_root): Move from ggc.h.
14111 (roots): Declare, static.
14112 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
14113 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
14114 null or check/set mark bit.
14115 (ggc_mark_roots): New.
14116 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
14117
14118 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
14119
14120 * m32r.c: Include toplev.h.
14121 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
14122 (gen_compare): Rename swap_p to must_swap to match uses.
14123 Add default abort case.
14124 (m32r_output_function_epilogue): Remove unused variables.
14125 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
14126 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
14127 define to empty parameter list. Update all uses.
14128 (predicate decls): Use enum machine_mode not int.
14129 * m32r.md (movsi): Call abort, not fatal_insn.
14130 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
14131
14132 1999-09-14 Andrew Haley <aph@cygnus.com>
14133
14134 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
14135 use $0 instead of 0.
14136
14137 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14138
14139 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
14140 computation out of loop over hard regs.
14141
14142 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
14143
14144 * function.c (identify_blocks): Don't shadow a variable in an
14145 outer scope.
14146 * integrate.c (integrate_decl_tree): Don't use pushlevel,
14147 pushdecl, or poplevel to build up the new BLOCK tree.
14148 (expand_inline_function): Likewise.
14149 (integrate_parm_decls): Likewise.
14150
14151 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
14152
14153 * c-typeck.c (qualify_type): Merge qualifiers from both types.
14154
14155 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
14156
14157 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
14158 * invoke.texi: Document this change.
14159
14160 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
14161
14162 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
14163 Free the struct.
14164 (mark_emit_status): Renamed from mark_emit_state.
14165 * except.c (mark_eh_status): Renamed from mark_eh_state.
14166 Check not null before marking.
14167 (free_eh_status): New.
14168 * expr.c (mark_expr_status, free_expr_status): New.
14169 * function.c (free_machine_status): New.
14170 (free_after_parsing): New.
14171 (free_after_compilation): Move bits to free_after_parsing; call
14172 free_eh_status, free_expr_status; zero the marked members of the
14173 function state.
14174 (prepare_function_start): No can_garbage_collect.
14175 Call init_eh_for_function.
14176 (expand_dummy_function_end): Free up current_function state.
14177 (mark_function_status): Renamed from mark_function_state.
14178 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
14179 * function.h (struct function): No can_garbage_collect.
14180 (free_machine_status, free_after_parsing): Declare.
14181 (free_eh_status, free_expr_status): Declare.
14182 * ggc.h (mark_expr_status): Declare.
14183 * stmt.c (free_stmt_status): Free the struct.
14184 (mark_stmt_status): Renamed from mark_stmt_state.
14185 (init_stmt): Don't call init_eh.
14186 (init_stmt_for_function): Don't call init_eh_for_function.
14187 * toplev.c (compile_file): Call init_eh.
14188 (rest_of_compilation): Free basic block info before ggc_collect.
14189 Call free_after_parsing; conditionally call free_after_compilation.
14190 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
14191 Check not null before marking.
14192 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
14193
14194 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
14195
14196 * c-lex.c (yylex): Initialize warn.
14197
14198 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
14199
14200 * pa.c (emit_move_sequence): Properly set the mode of the scratch
14201 register when performing secondary reloads for the SAR register.
14202
14203 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
14204
14205 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
14206 (NOTE_BLOCK): New macro.
14207 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
14208 * function.h (identify_blocks): Change prototype.
14209 * function.c (identify_blocks): Simplify.
14210 (reorder_blocks): Likewise.
14211 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
14212 NOTE_INSN_BLOCK_{BEG,END}.
14213 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
14214 the list of saved notes if the note isn't a
14215 NOTE_INSN_BLOCK_{BEG,END}.
14216 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
14217 NOTE_BLOCK_NUMBER.
14218 (reemit_notes): Adjust recreation of notes to reflect new saved
14219 note structure.
14220 * print-rtl.c (print_rtx): Print the address of the BLOCK when
14221 printing a block note.
14222 * stmt.c (block_vector): Remove.
14223 (find_loop_tree_blocks): Simplify.
14224 (unroll_block_trees): Likewise.
14225 * tree.h (reorder_block): Change prototype.
14226
14227 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
14228
14229 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
14230 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
14231 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
14232 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
14233 (atexit, exit): Simplify.
14234 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
14235 * config/lots: Remove defns of HAVE_ATEXIT.
14236
14237 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
14238
14239 * calls.c (precompute_arguments): Fix typo in comment.
14240 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
14241 TARGET_EXPR.
14242
14243 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
14244
14245 * dsp16xx.c (override_options): Fix typos in GC root registration.
14246
14247 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
14248
14249 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
14250 from config/svr4.h.
14251 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
14252 (FUNCTION_PROFILER): Redefine appropriately for Linux.
14253 (CC1_SPEC): Likewise.
14254
14255 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14256
14257 * genattr.c (main): Add extern prototype. Call return, not exit.
14258 * genattrtab.c (main): Likewise.
14259 * gencheck.c (main): Likewise.
14260 * gencodes.c (main): Likewise.
14261 * genconfig.c (main): Likewise.
14262 * genemit.c (main): Likewise.
14263 * genextract.c (main): Likewise.
14264 * genflags.c (main): Likewise.
14265 * gengenrtl.c (main): Likewise.
14266 * genopinit.c (main): Likewise.
14267 * genoutput.c (main): Likewise.
14268 * genpeep.c (main): Likewise.
14269 * genrecog.c (main): Likewise.
14270
14271 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
14272 * genattrtab.c (get_insn_name): Likewise.
14273 * gencodes.c (get_insn_name): Likewise.
14274 * genconfig.c (get_insn_name): Likewise.
14275 * genemit.c (get_insn_name): Likewise.
14276 * genextract.c (get_insn_name): Likewise.
14277 * genflags.c (get_insn_name): Likewise.
14278 * genopinit.c (get_insn_name): Likewise.
14279 * genpeep.c (get_insn_name): Likewise.
14280
14281 * gencheck.c (usage): Add static prototype.
14282 * genextract.c (print_path): Constify a char*.
14283 * genopinit.c (optabs): Likewise.
14284 * genoutput.c (operand_data, data, output_predicate_decls,
14285 compare_operands): Likewise.
14286 * genrecog.c (write_tree): Add default case in switch.
14287
14288 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14289
14290 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
14291
14292 * print-rtl.c (get_insn_name): Remove prototype.
14293
14294 * toplev.h (progname): Declare const.
14295
14296 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
14297 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
14298 dump_sched_info, dump_local_alloc, regset_release_memory,
14299 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
14300 error_with_file_and_line, error_with_decl, error_for_asm, error,
14301 fatal, warning_with_file_and_line, warning_with_decl, warning,
14302 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
14303 Remove redundant prototypes.
14304
14305 (notice, check_lang_option, report_file_and_line, vnotice,
14306 mark_file_stack): Add static prototype.
14307 (set_fatal_function): Add prototype.
14308 (vnotice, report_file_and_line, set_fatal_function,
14309 check_lang_option): Constify a char*.
14310 (main): Prototype. Call return, not exit.
14311
14312 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14313
14314 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
14315
14316 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
14317
14318 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
14319
14320 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
14321
14322 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14323
14324 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
14325 behave as if it's zero in all cases.
14326 (expand_function_start): Adjust call to assign_parms.
14327 * tree.h (assign_parms): Adjust prototype.
14328 * objc/objc-act.c (hack_method_prototype): Adjust call to
14329 assign_parms.
14330
14331 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
14332
14333 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
14334 arg_pointer_rtx fixed if the argument pointer register is
14335 not fixed.
14336 (NONZERO_BASE_PLUS_P): Likewise.
14337
14338 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
14339
14340 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
14341 match_insn2 to match_insn.
14342 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
14343
14344 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
14345
14346 * Makefile.in (USER_H): Remove va-foo.h.
14347
14348 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
14349 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
14350 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
14351 va-spur.h,va-v850.h}: Remove.
14352
14353 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
14354
14355 * sparc/sparc.md (eligible_for_return_delay): New attribute.
14356 (in_return_delay): Use it instead of match_insn.
14357
14358 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14359
14360 * config/alpha/va_list.h (va-alpha.h): Do not include.
14361 (__gnuc_va_list): Typedef as in varargs.h.
14362
14363 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
14364
14365 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
14366 DECL_LIVE_RANGE_RTL.
14367
14368 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
14369
14370 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
14371 not NOTE_BLOCK_NUMBER.
14372 (expand_eh_region_end): Likewise.
14373 (find_exception_handler_labels): Likewise.
14374 (scan_region): Likewise.
14375 (exception_optimize): Likewise.
14376 (update_rethrow_references): Likewise.
14377 (set_insn_eh_region): Likewise.
14378 * final.c (final_scan_insn): Likewise.
14379 * flow.c (make_edges): Likewise.
14380 * integrate.c (expand_inline_function): Likewise.
14381 * print-rtl.c (print_rtx): Likewise.
14382
14383 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
14384
14385 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
14386 terms of builtin functions and types.
14387
14388 * mips.c (mips_build_va_list): New.
14389 (mips_va_start, mips_va_arg): New.
14390 * mips.h (BUILD_VA_LIST_TYPE): New.
14391 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
14392
14393 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
14394 (sh_build_va_list, sh_va_start, sh_va_arg): New.
14395 * sh.h (BUILD_VA_LIST_TYPE): New.
14396 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
14397
14398 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
14399
14400 * recog.h (struct recog_data): Make dup_num, operand_address_p,
14401 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
14402 (struct insn_data): Likewise with n_operands, n_dups,
14403 n_alternatives, output_format.
14404 * regclass.c (scan_one_insn): Cast n_operands to int before
14405 arithmetic inside comparison.
14406
14407 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
14408
14409 * toplev.c (compile_function): Unconditionally emit nop.
14410
14411 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14412
14413 * haifa-sched.c (actual_hazard): Move declaration of variable
14414 `this_cost' into the scope where it is used.
14415
14416 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14417
14418 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
14419 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
14420 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
14421
14422 * genrecog.c (make_insn_sequence): Call memset, not bzero.
14423
14424 * jump.c (find_insert_position): Don't declare or define unless
14425 !HAVE_conditional_arithmetic.
14426 (returnjump_p_1, delete_prior_computation): Add static prototypes.
14427
14428 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
14429
14430 * recog.c (offsettable_address_p): Prototype function pointer.
14431 (preprocess_constraints): Call memset, not bzero.
14432
14433 * tree.c (tree_node_kind_names): Constify a char*. Make static.
14434 (gcc_obstack_init): Don't declare.
14435 (fix_sizetype): Add static prototype.
14436 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
14437 (tree_cons): Call memset, not bzero.
14438
14439 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
14440 definition in macro ASM_WEAKEN_LABEL.
14441 (mark_const_hash_entry): Add static prototype.
14442
14443 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14444
14445 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
14446
14447 * unroll.c (find_common_reg_term, subtract_reg_term,
14448 loop_find_equiv_value): Add static prototypes.
14449 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
14450 (copy_loop_body): Remove unreachable break statement.
14451
14452 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
14453
14454 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
14455
14456 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14457
14458 Undo some changes from the gcc2 merge:
14459 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
14460 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
14461 pointers.
14462
14463 Undo this change:
14464 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
14465 * emit-rtl.c (gen_lowpart_common): Disable optimization of
14466 initialized float-int union if the value is a NaN.
14467
14468 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
14469
14470 * gthr-win32.h: New file.
14471
14472 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
14473 shared as a valid attribute.
14474 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
14475 * extend.texi: Document `shared' variable attribute.
14476
14477 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
14478
14479 * configure.in: Handle --enable-threads on FreeBSD.
14480 * configure: Rebuit.
14481
14482 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
14483
14484 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
14485 thread support.
14486 * configure: Rebuilt.
14487
14488 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
14489 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
14490 Rosimildo DaSilva <rdasilva@connecttel.com>
14491
14492 * configure.in (m68k-*-rtemscoff*): Added.
14493 * configure.in (mips64orion-*-rtems*): Converted to ELF.
14494 * configure.in (sparc-*-rtemsaout*): Added as alias for old
14495 sparc-rtems configuration.
14496 * configure.in (sparc-*-rtemself*): Added.
14497 * configure.in (sparc-*-rtems*): Now ELF not a.out.
14498 * config/i386/rtems.h: Added comment.
14499 * config/sparc/rtemself.h: New file.
14500
14501 * configure.in (m68k-rtemself): Added.
14502 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
14503 and DWARF_DEBUGGING_INFO.
14504 * config/m68k/crti.s: New file.
14505 * config/m68k/crtn.s: New file.
14506 * config/m68k/t-crtstuff: New file.
14507 * config/m68k/rtemself.h: New file.
14508
14509 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
14510 global ctor/dtor and C++ exception handling.
14511 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
14512 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
14513 ENDFILE_SPEC.
14514 * config/i386/t-rtems-i386: New File.
14515
14516 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
14517
14518 * stmt.c (expand_end_case): Return right away if the case stack is
14519 empty.
14520
14521 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
14522
14523 * Makefile.in (version.c): Remove rule incorrectly brought in from
14524 the gcc2 merge.
14525
14526 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
14527
14528 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
14529 * msdos/top.sed: Take into account a prepended $(SHELL) to
14530 move-if-change.
14531 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
14532
14533 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
14534
14535 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14536
14537 * regmove.c (fixup_match_1): Don't change an unchanging register.
14538 (stable_but_for_p): Renamed to:
14539 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
14540 Changed all callers.
14541
14542 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
14543
14544 * loop.c (strength_reduce): Don't call reg_used_between_p if the
14545 insn from BL2 is after the insn from BL.
14546
14547 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
14548
14549 * recog.h (INSN_OUTPUT_FORMAT_*): New.
14550 (struct insn_data): Merge `template' and `outfun' into `output'.
14551 Add `output_format'.
14552 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
14553 (struct data): Remove `outfun'; add `output_format'.
14554 (name_for_index): Remove declaration.
14555 (output_insn_data): Handle output formats.
14556 (process_template): Emit the bare array for @.
14557 (gen_expand, gen_split): Set output_format to NONE.
14558 * output.h (get_insn_template): Declare.
14559 * final.c (get_insn_template): New.
14560 (final_scan_insn): Use it.
14561 * toplev.c (compile_file): Likewise.
14562
14563 * c4x/c4x.c (c4x_process_after_reload): Likewise.
14564 * i860/i860.c (output_delayed_branch): Likewise.
14565 (output_delay_insn): Likewise.
14566
14567 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14568
14569 * rtl.c (obstack_alloc_rtx): Removed.
14570
14571 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
14572
14573 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
14574
14575 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
14576
14577 * i386.c (call_insn_operand): Reject const_int.
14578 (expander_call_insn_operand): Use call_insn_operand.
14579
14580 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14581
14582 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
14583
14584 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
14585
14586 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
14587 Use DImode operation.
14588
14589 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
14590
14591 * gcc.c: Include sys/resource.h.
14592 (report_times): New flag.
14593 (execute): If report_times is set, calculate and report the
14594 CPU time consumed by each subprocess.
14595
14596 (rus, prus): New globals.
14597 (option_map): Add --time.
14598 (display_help): Document -time.
14599 (process_command): Set report_times if -time is given.
14600 Turn off -pipe if -time is given.
14601
14602 * invoke.texi: Document new option -time.
14603
14604 * configure.in: Check for getrusage. Check if we have to
14605 prototype getrusage.
14606 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
14607 * configure: Regenerate.
14608 * config.in: Regenerate.
14609
14610 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
14611
14612 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
14613 fields.
14614
14615 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
14616
14617 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
14618 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
14619 (nan): Return _thenan_sf or _thenan_df as appropriate.
14620 (L_thenan_sf): Define _thenan_sf.
14621 (L_thenan_df): Define _thenan_df.
14622
14623 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
14624 (DPBIT_FUNCS): Add _thenan_df.
14625
14626 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
14627
14628 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
14629 TYPE_SIZE_UNIT.
14630
14631 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14632
14633 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
14634
14635 * gcc.h: New file.
14636 (lang_specific_driver): Don't take a function pointer parameter.
14637 All callers changed.
14638
14639 * gcc.c: Include gcc.h.
14640 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
14641 lang_specific_extra_outfiles, fatal): Don't declare.
14642 (multilib_defaults_raw): Constify.
14643 (read_specs): Call memset, rather than bzero.
14644 (main): Call return, not exit.
14645 (lookup_compiler): Call memcpy, not bcopy.
14646 (fatal): Make extern.
14647
14648 * cppspec.c: Include gcc.h.
14649 (lang_specific_driver): Initialize variable `quote'. Constify a
14650 char*. All calls to the function pointer parameter now
14651 explicitly call `fatal'.
14652
14653 * gccspec.c (lang_specific_driver): Include gcc.h.
14654
14655 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
14656
14657 * arm.c (note_invalid_constants): Use recog_data.operand_type
14658 for recog_op_type.
14659
14660 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14661
14662 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
14663 Declare.
14664
14665 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
14666 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
14667 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
14668 reload_secondary_in_reload, reload_secondary_out_reload,
14669 reload_secondary_in_icode, reload_secondary_out_icode,
14670 reload_reg_rtx, reload_when_needed): Delete declarations.
14671 (struct reload): New structure.
14672 (rld): Declare new array.
14673 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
14674 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
14675 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
14676 reload_secondary_in_reload, reload_secondary_out_reload,
14677 reload_secondary_in_icode, reload_secondary_out_icode,
14678 reload_reg_rtx, reload_when_needed): Delete definitions.
14679 (rld): New array.
14680 (whole file): Replace uses of the deleted arrays with uses of rld.
14681 * reload1.c (whole file): Replace uses of the deleted arrays with
14682 uses of rld.
14683 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
14684 explicit loops, not with bcopy.
14685
14686 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
14687
14688 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
14689 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
14690 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
14691 insn_name): Delete and consolidate into new structures.
14692 (insn_operand_predicate_fn): New.
14693 (insn_output_fn): New.
14694 (insn_gen_fn): New.
14695 (struct insn_operand_data): New.
14696 (struct insn_data): New.
14697 (insn_data): New.
14698 (OUT_FCN): Update for insn_data change.
14699 * builtins.c (expand_builtin_strlen): Likewise.
14700 (expand_builtin_memcmp): Likewise.
14701 * combine.c (make_extraction, simplify_comparison): Likewise.
14702 * cse.c (canon_reg, cse_insn): Likewise.
14703 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
14704 * expmed.c (store_bit_field, extract_bit_field): Likewise.
14705 (emit_store_flag): Likewise.
14706 * expr.c (convert_move, emit_block_move): Likewise.
14707 (clear_storage, emit_push_insn, expand_increment): Likewise.
14708 (do_store_flag): Likewise.
14709 * expr.h (GEN_FCN): Likewise.
14710 (insn_gen_function): Die.
14711 * final.c (final_scan_insn): Update for insn_data change.
14712 (output_asm_name): Likewise.
14713 * function.c (fixup_var_refs_1): Likewise.
14714 * loop.c (check_dbra_loop): Likewise.
14715 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
14716 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
14717 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
14718 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
14719 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
14720 * regmove.c (gen_add3_insn): Likewise.
14721 * reload.c (push_secondary_reload, combine_reloads): Likewise.
14722 (find_reloads, find_reloads_address_1): Likewise.
14723 (debug_reload_to_stream): Likewise.
14724 * reload1.c (emit_reload_insns, gen_reload): Likewise.
14725 * stmt.c (expand_end_case): Likewise.
14726 * toplev.c (compile_file): Likewise.
14727
14728 * c4x/c4x.c (c4x_process_after_reload): Likewise.
14729 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
14730
14731 * print-rtl.c (insn_name_ptr): Remove declaration.
14732 (get_insn_name): Declare.
14733 (print_rtx): Use it.
14734 * genoutput.c (insn_name_ptr): Remove.
14735 (next_operand_number): New.
14736 (struct operand_data): New.
14737 (null_operand, odata, odata_end): New.
14738 (struct data): Use struct operand_data.
14739 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
14740 (get_insn_name): Renamed from name_for_index.
14741 (output_prologue): Define NO_MD_PROTOTYPES.
14742 (output_predicate_decls): Break out from output_epilogue.
14743 Iterate over the operands list.
14744 (output_operand_data): Break out from output_epilogue. Emit
14745 just the operands list.
14746 (output_insn_data): Break out from output_epilogue. Emit just
14747 the insn data.
14748 (output_epilogue): Remove.
14749 (output_get_insn_name): New.
14750 (constraints, op_n_alternatives, predicates, address_p): Die.
14751 (modes, strict_low, seen): Die.
14752 (scan_operands): Take new param `d' instead of writing to
14753 seven global variables.
14754 (compare_operands): New.
14755 (place_operands): New.
14756 (validate_insn_alternatives): Update for struct data change.
14757 (gen_insn): Don't zero or copy 7 global arrays. Update for
14758 scan_operands; call place_operands.
14759 (gen_peephole, gen_expand, gen_split): Likewise.
14760 (main): Update for new output routines.
14761
14762 * genattr.c (insn_name_ptr): Remove.
14763 (get_insn_name): New function.
14764 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
14765 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
14766 * genrecog.c: Likewise.
14767
14768 * alpha.md (adddi3): Make `pattern' array static.
14769
14770 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14771
14772 * config/c4x/c4x.h (c4x_rpts_cycles_string,
14773 c4x_cpu_version_string): Constify char *.
14774 * config/c4x/c4x.c (c4x_rpts_cycles_string,
14775 c4x_cpu_version_string): Likewise.
14776
14777 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
14778
14779 * tree.c (save_tree_status): Revert 10 Sep change.
14780 (restore_tree_status): Likewise. Call obstack_free with NULL
14781 before freeing the obstack proper.
14782
14783 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
14784
14785 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
14786
14787 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
14788 surrounding context.
14789
14790 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
14791
14792 * tree.c (type_hash_canon): Put all types in the hash-table, when
14793 GC'ing.
14794
14795 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
14796
14797 * recog.h (struct recog_data, recog_data): New.
14798 (recog_foo variables): Kill.
14799 * recog.c (recog_operand, recog_operand_loc): Kill.
14800 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
14801 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
14802 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
14803 (recog_data): Define.
14804 (extract_insn): Update all recog_foo references to use recog_data.
14805 (preprocess_constraints, constrain_operands): Likewise.
14806 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
14807 * genattrtab.c (main): Likewise.
14808 * genextract.c (main): Likewise.
14809 * genoutput.c: Likewise.
14810 * genrecog.c (write_subroutine, main): Likewise.
14811 * local-alloc.c (block_alloc): Likewise.
14812 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
14813 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
14814 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
14815 * reload.c (find_reloads, find_reloads_toplev): Likewise.
14816 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
14817 (reload_cse_simplify_operands): Likewise.
14818
14819 * arc/arc.c (arc_final_prescan_insn): Likewise.
14820 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
14821 * h8300/h8300.c (notice_update_cc): Likewise.
14822 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
14823 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
14824 * mn10200/mn10200.c (notice_update_cc): Likewise.
14825 * mn10300/mn10300.c (notice_update_cc): Likewise.
14826 * romp/romp.c (update_cc): Likewise.
14827 * sparc/sparc.c (check_pic): Likewise.
14828 * v850/v850.c (notice_update_cc): Likewise.
14829
14830 * genemit.c (main): Don't declare recog_operand.
14831
14832 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
14833
14834 * ggc.h (rtvec_def): Forward declare.
14835 (tree_node): Likewise.
14836 (ggc_root): Define.
14837 (roots): Declare.
14838 (ggc_set_mark_rtx): Add prototype.
14839 (ggc_set_mark_rtvec): Likewise.
14840 (ggc_set_mark_tree): Likewise.
14841 * ggc-simple.c (ggc_root): Don't define.
14842 (roots): Don't declare.
14843 (ggc_mark_rtx): Remove.
14844 (ggc_mark_rtvec): Likewise.
14845 (ggc_mark_tree): Likewise.
14846 (ggc_mark_varray): Likewise.
14847 (ggc_mark_tree_hash_table_entry): Likewise.
14848 (ggc_mark_tree_hash_table): Likewise.
14849 (ggc_set_mart_rtx): New function.
14850 (ggc_set_mark_rtvec): Likewise.
14851 (ggc_set_mark_tree): Likewise.
14852 (ggc_add_root): Remove.
14853 (ggc_add_rtx_root): Likewise.
14854 (ggc_remove_tree_root): Likewise.
14855 (ggc_add_string_root): Likewise.
14856 (ggc_add_tree_varray_root): Likewise.
14857 (ggc_add_tree_hash_table_root): Likewise.
14858 (ggc_del_root): Likewise.
14859 (ggc_mark_rtx_ptr): Likewise.
14860 (ggc_mark_tree_ptr): Likewise.
14861 (ggc_mark_string_ptr): Likewise.
14862 (ggc_mark_tree_varray_ptr): Likewise.
14863 (ggc_mark_tree_hash_table_ptr): Likewise.
14864 * ggc-common.c: New file.
14865 * Makefile.in (OBJS): Add ggc-common.o.
14866 (ggc-common.o): List dependencies.
14867
14868 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
14869
14870 * cppalloc.c (xstrdup): Use memcpy.
14871 * cpperror.c (cpp_print_containing_files): Don't use
14872 cpp_notice.
14873 * cpplib.c (conditional_skip): Set temp->lineno.
14874 (do_endif): Make error message less obscure.
14875 (if_directive_name): New function.
14876 (cpp_get_token [case EOF]): Unwind the if stack and generate
14877 error messages for each unterminated conditional in this file.
14878 (parse_string): Do not behave differently if -traditional.
14879
14880 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
14881
14882 * builtins.c (expand_builtin_va_arg): Cope with an array-type
14883 va_list decomposing to pointer-type.
14884 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
14885 (rs6000_va_arg): Likewise.
14886
14887 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
14888
14889 * except.c (start_dynamic_handler): Compute size using
14890 STACK_SAVEAREA_MODE.
14891
14892 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14893
14894 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
14895 include directory headers. Don't define strrchr. Don't provide
14896 my_* replacement functions. Prefer PTR over `pointer_type'.
14897 Don't prototype system functions. Don't redefine getopt.
14898
14899 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
14900 safe_read, safe_write, save_pointers, restore_pointers,
14901 is_id_char, in_system_include_dir, directory_specified_p,
14902 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
14903 find_corresponding_lparen, referenced_file_is_newer,
14904 save_def_or_dec, munge_compile_params, gen_aux_info_file,
14905 process_aux_info_file, identify_lineno, check_source,
14906 seek_to_line, forward_to_next_token_char, output_bytes,
14907 output_string, output_up_to, other_variable_style_function,
14908 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
14909 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
14910 find_static_definition, connect_defs_and_decs, add_local_decl,
14911 add_global_decls, needs_to_be_converted, visit_each_hash_node,
14912 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
14913 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
14914 scan_for_missed_items, edit_file, string_list_cons): Add static
14915 prototypes.
14916 (standard_exec_prefix, target_machine, target_version,
14917 default_syscalls_dir, string_list, string_list_cons, find_file,
14918 do_cleaning): Constify a char*.
14919 (safe_read, safe_write): Use PTR, not a char*.
14920 (is_id_char): Take an int, not a char.
14921 (main): Add prototype. Call return, not exit.
14922
14923 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
14924
14925 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
14926 when comparing types.
14927
14928 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
14929
14930 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
14931 (strength_reduce): Release the varrays from the no-bivs early exit.
14932
14933 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
14934 the loop over the registers.
14935
14936 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
14937 for a new obstack.
14938 (restore_tree_status): Check that instead when freeing the obstack.
14939
14940 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
14941
14942 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
14943 as pointers.
14944
14945 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14946
14947 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
14948 operand size modifiers.
14949
14950 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14951
14952 * c-common.c (c_common_nodes_and_builtins): Don't build
14953 va_list_type_node.
14954 * c-common.h (enum c_tree_index and related accesor macros): Remove
14955 everything now declared in tree.h.
14956 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
14957 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
14958 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
14959 (error_mark_node, void_type_node, char_type_node, integer_type_node,
14960 unsigned_type_node, ptr_type_node, va_list_type_node,
14961 integer_zero_node, null_pointer_node, integer_one_node): Delete.
14962 (init_decl_processing): Call build_common_tree_nodes and
14963 build_common_tree_nodes_2 instead of building their nodes here.
14964 Don't add roots for these nodes.
14965 * stor-layout.c (size_zero_node, size_one_node): Delete.
14966 (set_sizetype): Make a new node for bitsizetype each time.
14967 * tree.c (global_trees): New variable.
14968 (init_obstacks): Add a gc root for it.
14969 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
14970 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
14971 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
14972 (build_common_tree_nodes): New function.
14973 (fix_sizetype): New function.
14974 (build_common_tree_nodes_2): New function.
14975 * tree.h (enum tree_index): New.
14976 (global_trees): Declare.
14977 Add accessor macros for all nodes now moved to global_trees.
14978 Delete their declarations.
14979
14980 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
14981
14982 * c-decl.c (finish_function): When processing a nested function,
14983 push and pop GC context around rest_of_compilation.
14984
14985 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
14986
14987 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
14988 Default ix86_arch to PROCESSOR_I386.
14989 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
14990 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
14991 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
14992 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
14993 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
14994 (EXTRA_SPECS): Remove deleted specs.
14995
14996 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
14997
14998 * function.c (assign_stack_local_1): Allocate from
14999 function->x_frame_offset, not frame_offset.
15000
15001 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
15002
15003 * ggc.h (lang_cleanup_tree): Remove.
15004 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
15005 * ggc-callbacks.c (lang_cleanup_tree): Remove.
15006
15007 * c-decl.c (finish_struct): Use ggc_alloc to allocate
15008 TYPE_LANG_SPECIFIC when garbage collecting.
15009 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
15010 (lang_cleanup_tree): Remove.
15011
15012 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
15013
15014 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
15015 * crtstuff.c: Not here.
15016 * dwarf2out.c: Or here.
15017 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
15018 info.
15019
15020 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
15021
15022 * function.h (free_after_compilation): Remove decl parameter.
15023 (free_varasm_status0: Likewise.
15024 (free_emit_status): Likewise.
15025 (free_stmt_status): Likewise.
15026 (free_after_compilation): Likewise.
15027 (init_lang_status): New variable.
15028 (free_lang_status): Likewise.
15029 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
15030 * function.c (init_lang_status): New variable.
15031 (free_lang_status): Likewise.
15032 (push_function_context_to): Don't set function::decl here.
15033 (free_after_copmilation): Make decl parameter implicit. Call
15034 free_lang_status if defined.
15035 (prepare_function_start): Call init_lang_status if defined.
15036 (init_function_start): Set function::decl here.
15037 * profile.c (output_func_start_profiler): Don't call pushdecl
15038 until we've actually started the function.
15039 * stmt.c (free_stmt_status): Make decl parameter implicit.
15040 * toplev.c (rest_of_compilation): Don't pass decl to
15041 free_after_compilation.
15042 * varasm.c (free_varasm_status): Likewise.
15043
15044 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15045
15046 * except.c (call_get_eh_context): Add root when allocating static
15047 tree variable.
15048
15049 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
15050
15051 * arm.c: Include "ggc.h".
15052 (arm_add_gc_roots): New function.
15053 (arm_override_options): Call it.
15054 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
15055
15056 * arm.md (define_asm_attributes): Add a pool_range attribute.
15057
15058 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
15059
15060 * extend.texi (Volatiles): New node.
15061
15062 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
15063
15064 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
15065 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
15066 (struct ggc_any): Replace `mark' with `magic_mark'.
15067 (ggc_alloc_string): Use memcpy, not bcopy.
15068 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
15069 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
15070 (ggc_free_any): New.
15071 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
15072 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
15073 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
15074 Use IS_MARKED. Use ggc_free_any.
15075
15076 1999-09-09 Scott Bambrough <scottb@netwinder.org>
15077
15078 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
15079
15080 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
15081
15082 * toplev.c (main): Always init_ggc.
15083
15084 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
15085
15086 * except.c (find_all_handler_type_matches): Free the list if
15087 we found no matches.
15088
15089 * combine.c (SUBST): Break out to a real function do_SUBST.
15090 (SUBST_INT): Likewise.
15091 * gcse.c (free_pre_mem): Free `temp_bitmap'.
15092 (pre_insert): Free `inserted'.
15093 * loop.c (basic_induction_var): Always set `location'.
15094
15095 * function.c (expand_function_end): Add initial_trampoline as a root.
15096 * rtl.h (init_varasm_once): Declare.
15097 * toplev.c (compile_file): Call it.
15098 * ggc-simple.c (ggc_mark_string_ptr): New.
15099 (ggc_add_string_root): New.
15100 (ggc_collect): Disable collection avoidance temporarily.
15101 * ggc.h (ggc_add_string_root): Declare.
15102 * except.c (create_rethrow_ref): Use ggc_alloc_string.
15103 * optabs.c (init_libfuncs): Likewise.
15104 * varasm.c (named_section): Use ggc_alloc_string.
15105 (make_function_rtl): Likewise.
15106 (make_decl_rtl): Likewise.
15107 (assemble_static_space): Likewise.
15108 (assemble_trampoline_template): Likewise.
15109 (output_constant_def): Likewise.
15110 (force_const_mem): Likewise.
15111 (mark_const_hash_entry): New.
15112 (mark_pool_sym_hash_table): New.
15113 (mark_varasm_state): Use it.
15114 (init_varasm_once): New.
15115
15116 * expr.h (init_one_libfunc): Declare.
15117 * optabs.c (init_one_libfunc): New.
15118 (init_optabs): Use it.
15119 * config/gofast.h: Likewise.
15120 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
15121 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
15122
15123 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
15124
15125 * Makefile.in (cppexp.o): Depend on cpphash.h.
15126 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
15127 Include cpphash.h.
15128 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
15129 * cpplib.c (do_define): Generalise to handle poisoned definitions,
15130 redefining poisoned identifiers, etc.
15131 (do_undef): Don't allow poisoned identifiers to be undefined.
15132 (do_pragma): Add #pragma poison.
15133 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
15134
15135 * cccp.c: Add T_POISON node type.
15136 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
15137 poisoned xxx.
15138 (do_define): Generalise to handle poisoned definitions,
15139 redefining poisoned identifiers, etc.
15140 (do_undef): Don't allow poisoned identifiers to be undefined.
15141 (do_pragma): Add #pragma poison.
15142 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
15143
15144 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
15145 * c-pragma.h: Add ps_poison state. We now always have generic
15146 pragmas.
15147
15148 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
15149
15150 * ggc.h (ggc_alloc): New function.
15151 (ggc_mark): Likewise.
15152 * ggc-simple.c (ggc_any): New structure.
15153 (ggc_status): Add anys.
15154 (n_anys_collected): New variable.
15155 (ggc_alloc): Define.
15156 (ggc_mark): Likewise.
15157 (ggc_collect): Collect the anys.
15158
15159 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15160
15161 * c-decl.c (mark_binding_level): Make static to match prototype.
15162
15163 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
15164
15165 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
15166
15167 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
15168
15169 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
15170 will use into account. Expand the max width to 5.
15171 * rtl.c: Likewise.
15172
15173 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
15174
15175 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
15176 for the rtx length.
15177
15178 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
15179
15180 * alpha.md (call value patterns): Remove the result predicates.
15181
15182 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
15183
15184 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
15185 last change.
15186
15187 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15188
15189 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
15190 changed from extern char *, to extern PTR. Also fix typo in
15191 NEED_DECLARATION_REALLOC test.
15192
15193 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
15194
15195 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15196
15197 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
15198 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
15199 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
15200 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
15201
15202 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
15203
15204 * cccp.c (pcfinclude): Likewise.
15205
15206 * global.c (allocno_compare): Likewise.
15207
15208 * haifa-sched.c (rank_for_schedule): Likewise.
15209
15210 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
15211
15212 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
15213
15214 * stupid.c (stupid_reg_compare): Likewise.
15215
15216 * tree.c (_obstack_allocated_p): Likewise.
15217
15218 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
15219
15220 1999-09-08 Bruce Korb autogen@linuxbox.com
15221
15222 * Makefile.in: Give the hapless gperf user a hint about
15223 why "gperf -F" fails.
15224
15225 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
15226
15227 * lists.c: Include ggc.h.
15228 (zap_lists): New.
15229 (init_EXPR_INSN_LIST_cache): Install it.
15230
15231 * ggc-simple.c (init_ggc): Absorb the old init.
15232 (ggc_push_context): Use xcalloc.
15233 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
15234 (ggc_collect): Add [rvts] tags to the collection stats.
15235
15236 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
15237
15238 * cccp.c (main): Fix handling of -include and -imacros options.
15239
15240 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
15241
15242 * cpplib.c (cpp_push_buffer): Fix order of arguments.
15243
15244 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
15245
15246 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
15247 genrtl.c.
15248
15249 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
15250
15251 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
15252 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
15253 and SET_DEST. Update comment.
15254
15255 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15256
15257 * config/c4x/c4x.c: Include ggc.h.
15258 (c4x_add_gc_roots): New function.
15259 (c4x_override_options): Call c4x_add_gc_roots.
15260
15261 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
15262
15263 * defaults.h (TARGET_ESC): Move ...
15264 * system.h: ... here, where Linas had it in the first place. Silly me.
15265
15266 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
15267
15268 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
15269 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
15270 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
15271 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
15272 * defaults.h (TARGET_ESC): Add default.
15273
15274 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
15275
15276 * configure.in: add i370-*-openedition, i370-*-mvs and
15277 i370-*-linux targets
15278
15279 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
15280
15281 * dsp16xxx.c: Include ggc.h
15282 (override_options): Mark GC roots.
15283 * mn10200.c: Include ggc.h.
15284 (asm_file_start): Mark GC roots.
15285 * tahoe.c: Include ggc.h.
15286 (extensible_operand): Mark GC roots.
15287
15288 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
15289
15290 * README: Add section discussing status of ELF ABI.
15291 * i370.c: Fix misc spelling mistakes.
15292 (i370_label_scan): Updated notes, exception handling.
15293 (i370_function_prolog): Simplify ELF stack handling.
15294 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
15295 (STACK_GROWS_DOWNWARD): ELF stack grows down.
15296 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
15297 * i370.md: (movdi): Add notes.
15298 (floatsidf2): Use stack not rtca for scratch float area.
15299 (iorsi3): Correct operand constraints.
15300 * x-oe: Restore TAROUTOPTS which are used by pax.
15301
15302 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
15303
15304 * rs6000.c: Include ggc.h.
15305 (rs6000_add_gc_roots): New function.
15306 (override_options): Call it.
15307
15308 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
15309
15310 * alpha.h (alpha_compare): New.
15311 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
15312 * alpha.c: Likewise for the definitions.
15313 (alpha_emit_conditional_branch): Update for alpha_compare.
15314 (alpha_emit_conditional_move): Likewise.
15315 * alpha.md (cmpdf, cmpdi): Likewise.
15316 (setcc patterns): Likewise. Zero alpha_compare after use.
15317 (sne): Optimize (x != 0) into (0U < x).
15318
15319 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
15320
15321 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
15322 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
15323 (INIT_EXPANDERS): Remove.
15324 * alpha.c: Include ggc.h.
15325 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
15326 (alpha_init_machine_status, alpha_mark_machine_status): New.
15327 (override_options): Install them.
15328 (struct machine_function): Moved to alpha.h.
15329 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
15330 (alpha_init_expanders): Remove.
15331 (alpha_return_addr): Adjust to use current_function->machine.
15332 (alpha_ra_ever_killed): Likewise.
15333 (alpha_expand_epilogue): Likewise.
15334 * alpha.md (eh_epilogue): Likewise.
15335
15336 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
15337 Melissa O'Neill <oneill@cs.sfu.ca>
15338 Geoffrey Keating <geoffk@cygnus.com>
15339
15340 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
15341 call-used registers (call-saved registers must still be contiguous
15342 and end with r31, of course).
15343
15344 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
15345
15346 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
15347 (self_promoting_type_p): Delete.
15348 (self_promoting_args_p): Move ...
15349 * c-common.c: ... here.
15350 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
15351 (simple_type_promotes_to): New.
15352 * builtins.c (lang_type_promotes_to): New.
15353 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
15354 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
15355 * c-common.h: ... here.
15356 (self_promoting_args_p, simple_type_promotes_to): Declare.
15357 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
15358 (grokdeclarator): Likewise.
15359 * tree.h (lang_type_promotes_to): Declare.
15360
15361 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
15362
15363 Add some machine-dependent GC roots.
15364 * sparc.c: Include ggc.h.
15365 (sparc_add_gc_roots): New function.
15366 (mark_ultrasparc_pipeline_state): Likewise.
15367 (override_options): Call sparc_add_gc_roots.
15368 * pa.c: Include ggc.h.
15369 (pa_add_gc_roots): New function.
15370 (mark_deferred_plabels): Likewise.
15371 (override_options): Call pa_add_gc_roots.
15372 * mips.c: Include ggc.h.
15373 (mips_add_gc_roots): New function.
15374 (override_options): Use it.
15375
15376 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15377
15378 * cpperror.c (cpp_file_line_for_message): Constify a char*.
15379
15380 * cppexp.c (parse_number, parse_charconst, cpp_lex,
15381 cpp_parse_expr): Add static prototypes.
15382 (parse_charconst): Don't cast away const-ness.
15383 (token): Constify a char*.
15384
15385 * cppfiles.c (file_name_list, include_hash, find_include_file,
15386 finclude, initialize_input_buffer): Constify a char*.
15387 (file_cleanup, find_position): Add static prototypes.
15388
15389 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
15390 collect_expansion): Add static prototypes.
15391 (cpp_install, create_definition, monthnames): Constify a char*.
15392
15393 * cpphash.h (cpp_install): Likewise.
15394
15395 * cppinit.c (known_suffixes, default_include,
15396 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
15397 (base_name, dump_special_to_buffer, initialize_dependency_output):
15398 Add static prototypes.
15399
15400 * cpplib.c (my_strerror): Constify a char*.
15401 (null_underflow, null_cleanup, skip_comment, copy_comment,
15402 copy_rest_of_line, handle_directive, pass_thru_directive,
15403 get_directive_token, read_line_number, cpp_print_file_and_line,
15404 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
15405 v_cpp_warning_with_line, detect_if_not_defined,
15406 consider_directive_while_skipping): Add static prototypes.
15407 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
15408 cpp_pedwarn_with_file_and_line): Constify a char*.
15409
15410 * cpplib.h (cpp_options, include_hash, progname, definition,
15411 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
15412 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
15413 find_include_file, deps_output, include_hash): Constify a char*.
15414
15415 * cppmain.c (progname): Constify.
15416 (main): Add prototype. Use return, not exit.
15417
15418 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
15419 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
15420 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
15421 check_protection): Add static prototype.
15422 (xfree): Remove.
15423 (progname, recognized_macrom, recognized_extern): Constify a char*.
15424 (main): Add prototype.
15425
15426 * gen-protos.c (progname): Constify a char*.
15427
15428 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
15429
15430 * emit-rtl.c (free_emit_status): Take decl as a parameter.
15431 (init_emit_once): Add more GC roots.
15432 * except.c (mark_func_eh_entry): New function.
15433 (mark_eh_node): Mark false_label and rethrow_label.
15434 (init_eh): Add more GC roots.
15435 * function.c (free_after_compilation): Take decl as a paramter.
15436 Call free_stmt_status.
15437 (mark_function_state): Don't assume x_parm_reg_stack_loc is
15438 non-NULL.
15439 * function.h (free_after_compilation): Change prototype.
15440 (free_varasm_status): Likewise.
15441 (free_emit_status): Likewise.
15442 (free_stmt_status): New function.
15443 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
15444 Remove, replacing with ...
15445 (ggc_status): New structure.
15446 (ggc_chain): New variable.
15447 (init_gcc): Define.
15448 (ggc_push_context): New function.
15449 (ggc_pop_context): Likewise.
15450 (ggc_alloc_rtx): Adjust for use of ggc_chain.
15451 (ggc_alloc_rtvec): Likewise.
15452 (ggc_alloc_tree): Likewise.
15453 (ggc_alloc_string): Likewise.
15454 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
15455 (ggc_mark_tree): Give language-dependent code a chance to mark
15456 `x' nodes.
15457 (ggc_mark_tree_varray): Handle empty arrays.
15458 (ggc_collect): Adjust for use of ggc_chain. Clear
15459 bytes_alloced_since_last_gc.
15460 * ggc.h (ggc_pop_context): New function.
15461 (ggc_push_context): Likewise.
15462 * print-tree.c (print_node): Don't print obstacks when GC'ing.
15463 * stmt.c (free_stmt_status): New function.
15464 (init_stmt_for_function): Clear last_expr_value.
15465 * toplev.c (rest_of_compilation): Always call free_after_compilation.
15466 Conditionalize call to ggc_collect.
15467 (main): Call init_ggc.
15468 * tree.c (push_obstacks): Do the push, even when GC'ing.
15469 (push_obstacks_nochange): Likewise.
15470 (pop_obstacks): Liekwise.
15471 * varasm.c (free_varasm_status): Take decl as a parameter.
15472
15473 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
15474
15475 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
15476 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
15477 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
15478 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
15479
15480 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
15481
15482 * pa/x-pa-mpeix: New file for the MPE port.
15483
15484 * pa/quadlib.asm: New file for long double support.
15485
15486 * configure.in: Add hppa1.0-*-mpeix for MPE port.
15487 * configure: Rebuilt.
15488
15489 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
15490
15491 * final.c (shorten_branches): Fix last change.
15492
15493 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
15494
15495 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
15496
15497 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
15498
15499 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
15500 details.
15501
15502 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15503
15504 * c-aux-info.c (concat): Don't define.
15505
15506 * cccp.c (my_strerror): Likewise. All callers changed to use
15507 xstrerror instead.
15508 (do_include): Call xstrdup, not xmalloc/strcpy.
15509 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
15510 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
15511
15512 * collect2.c (my_strsignal): Likewise. All callers changed to use
15513 strsignal instead.
15514 (locatelib): Call xstrdup, not xmalloc/strcpy.
15515
15516 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
15517
15518 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
15519
15520 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
15521
15522 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
15523
15524 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
15525
15526 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
15527
15528 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
15529 malloc/realloc.
15530 (find_all_handler_type_matches): Likewise. Don't check return
15531 value.
15532 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
15533 xmalloc, not malloc.
15534 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
15535
15536 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
15537 (init_spec): Call xcalloc, not xmalloc/bzero.
15538 (set_spec): Call xstrdup, not save_string.
15539 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
15540 (find_a_file): Call xstrdup, not xmalloc/strcpy.
15541 (process_command): Call xstrdup, not save_string.
15542 (main): Call xcalloc, not xmalloc/bzero.
15543
15544 * gcov.c (xmalloc): Don't define.
15545 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
15546 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
15547 (output_data): Call xcalloc, not xmalloc/bzero.
15548
15549 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
15550
15551 * mips-tdump.c (xmalloc): Don't define.
15552 (print_symbol): Call xmalloc, not malloc.
15553 (read_tfile): Call xcalloc, not calloc.
15554
15555 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
15556 Don't define. All callers of xfree/my_strsignal changed to use
15557 free/strsignal instead.
15558 (allocate_cluster): Call xcalloc, not calloc.
15559
15560 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
15561 Fix memory leak, free allocated memory.
15562
15563 * prefix.c (translate_name): Call xstrdup, not save_string.
15564 (update_path): Likewise.
15565
15566 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
15567
15568 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
15569 Don't define. Callers of xfree/savestring2 changed to use
15570 free/concat instead.
15571
15572 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
15573 (init_elim_table): Likewise.
15574
15575 * resource.c (init_resource_info): Likewise.
15576
15577 * stupid.c (stupid_life_analysis): Likewise.
15578
15579 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
15580 (open_dump_file): Call concat, not xmalloc/strcpy/...
15581 (clean_dump_file): Likewise.
15582 (compile_file): Call xstrdup, not xmalloc/strcpy.
15583
15584 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
15585
15586 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
15587 * v850.c (v850_va_arg): New.
15588
15589 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15590
15591 * haifa-sched.c: Tidy comments.
15592
15593 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15594
15595 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
15596 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
15597 $(out_object_file)): Depend on ggc.h.
15598 * c-common.c: Include "ggc.h".
15599 (combine_strings): If doing GC, use ggc_alloc_string.
15600 * c-decl.c: Include "ggc.h".
15601 (ggc_p): Define with value 0.
15602 (mark_binding_level): New function.
15603 (init_decl_processing): Add GC roots.
15604 (mark_c_function_context): New function.
15605 (lang_mark_false_label_stack): New function.
15606 (lang_mark_tree): New function.
15607 (lang_cleanup_tree): New function.
15608 * c-lang.c: Include "ggc.h".
15609 (lang_init): Call c_parse_init.
15610 * c-lex.c: Include "ggc.h".
15611 (check_linenum): If doing GC, don't copy filenames to permanent
15612 obstack.
15613 * c-parse.in: Include "ggc.h".
15614 (c_parse_init): New function.
15615 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
15616 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
15617
15618 * except.c (mark_eh_state): Mark more state.
15619 * function.c (mark_function_state): Likewise.
15620 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
15621 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
15622 * toplev.c (mark_file_stack): New function.
15623 (compile_file): If doing GC, use ggc_alloc_string on input filename.
15624 (main): Add root for input_file_stack.
15625
15626 * i386.c: Include "ggc.h".
15627 (ix86_mark_machine_status): New function.
15628 (override_options): Set mark_machine_status.
15629
15630 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15631
15632 * tree.c (copy_node): Copy node contents also if doing GC.
15633
15634 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
15635
15636 * collect2.c (scan_libraries): Fix double-thinko :-).
15637
15638 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
15639
15640 * collect2.c (scan_libraries): Fix thinko.
15641
15642 * cse.c (delete_trivially_dead_insns): Do not skip the last
15643 insn if it is a real insn.
15644
15645 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
15646
15647 * Makefile.in (ggc-simple.o): Depend on hash.h.
15648 * ggc.h (ggc_add_tree_hash_table_root): Declare.
15649 (ggc_mark_tree_varray): Likewise.
15650 (ggc_mark_tree_hash_table): Likewise.
15651 * ggc-simple.c: Include hash.h.
15652 (ggc_mark_tree_hash_table_ptr): New function.
15653 (ggc_mark_tree_hash_table_entry): Likewise.
15654 (ggc_mark_tree_hash_table): Likewise.
15655 (ggc_add_tree_hash_table_root): Likewise.
15656 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
15657 rtx, when defining fields.
15658
15659 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
15660
15661 * profile.c (output_func_start_profiler): Remove apparently
15662 nonsensical call to start_sequence.
15663
15664 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
15665
15666 * clipper/clipper.c (clipper_va_start): Fix typos.
15667
15668 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
15669 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
15670 (spur_va_arg): New stub.
15671
15672 * configure.in: Comment out pyramid.
15673
15674 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
15675
15676 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
15677 don't conflict with the bits that win32, cygwin, and dgux
15678 defines.
15679
15680 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
15681 Bernd Schmidt <bernds@cygnus.co.uk>
15682
15683 * integrate.c (function_cannot_inline_p): Do not inline
15684 functions with forced labels.
15685
15686 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
15687 Bernd Schmidt <bernds@cygnus.co.uk>
15688 Mark Mitchell <mark@codesourcery.com>
15689
15690 * Makefile.in (ggc-simple.o): Depend on varray.h.
15691 (rtl.o): Depend on ggc.h.
15692 (genattrtab.o): Depend on ggc.h.
15693 (print-tree.o): Likewise.
15694 (fold-const.o): Likewise.
15695 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
15696 (make_insn_raw): Don't cache insns when GC'ing.
15697 (emit_insn_before): Likewise.
15698 (emit_insn_after): Likewise.
15699 (emit_insn): Likewise.
15700 (start_sequence): Use xmalloc to allocate the sequence_stack.
15701 (end_sequence): Add free to free it.
15702 (gen_sequence): Don't cache insns when GC'ing.
15703 (clear_emit_caches): Don't use sequence_element_free_list.
15704 (init_emit): Use xcalloc, not xmalloc+bzero.
15705 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
15706 * function.c (pop_function_context_from): Use free to free the
15707 fixup_var_refs_queue.
15708 (put_reg_into_stack): Allocate it with xmalloc.
15709 * genattrtab.c: Include ggc.h.
15710 (operate_exp): Don't use obstack_free when GC'ing.
15711 (simplify_cond): Likewise.
15712 (simplify_text_exp): Likewise.
15713 (optimize_attrs): Likewise.
15714 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
15715 GC'ing.
15716 (gencode): Generate a #include for ggc.h.
15717 * ggc-callbacks.c (ggc_p): Define it to zero.
15718 * ggc-none.c (ggc_p): Likewise.
15719 * ggc-simple.c: Include varray.h.
15720 (ggc_mark_tree_varray): New function.
15721 (ggc_add_tree_varray_root): Likewise.
15722 (ggc_mark_tree_varray_ptr): Likewise.
15723 * ggc.h (ggc_p): Declare.
15724 (varray_head_tag): Likewise.
15725 (ggc_add_tree_varray_root): Declare.
15726 * print-tree.c (print_node): Don't check for TREE_PERMANENT
15727 inconsistencies when GC'ing.
15728 * rtl.c: Include ggc.h.
15729 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
15730 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
15731 (rtx_free): Don't call obstack_free when GC'ing.
15732 * toplev.c (rest_of_compilation): Call ggc_collect after every
15733 pass, if GC'ing.
15734 * tree.c (push_obstacks): Do nothing, if GC'ing.
15735 (pop_obstacks_nochange): Likewise.
15736 (pop_obstacks): Likewise.
15737 (make_node): Use ggc_alloc_tree when GC'ing.
15738 (copy_node): Likewise.
15739 (get_identifier): Use ggc_alloc_string when GC'ing.
15740 (build_string): Likewise.
15741 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
15742 (tree_cons): Likewise.
15743 (build1): Likewise.
15744 (type_hash_canon): Don't call obstack_free when GC'ing.
15745
15746 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
15747
15748 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
15749 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
15750
15751 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
15752 Bernd Schmidt <bernds@cygnus.co.uk>
15753 Mark Mitchell <mark@codesourcery.com>
15754
15755 * Makefile.in (stor-layout.o): Depend on ggc.h.
15756 (expr.o): Depend on ggc.h.
15757 (profile.o): Depend on ggc.h.
15758 (stor-layout.o): Depend on ggc.h.
15759 * emit-rtl.c (init_emit_once): Add gc roots.
15760 * expr.c: Include ggc.h.
15761 (emit_block_move): Add gc roots.
15762 (clear_storage): Likewise.
15763 * expr.h (init_stor_layout_once): New function.
15764 * profile.c: Include ggc.h.
15765 (init_arc_profiler): profiler_label is a root.
15766 * scan.c (make_sstring_space): Trust xrealloc to function
15767 correctly with first parameter NULL.
15768 * stor-layout.c: Include ggc.h.
15769 (set_sizetype): Add gc root.
15770 (init_stor_layout_once): New function.
15771 * toplev.c (compile_file): Call it.
15772
15773 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
15774 Bernd Schmidt <bernds@cygnus.co.uk>
15775 Mark Mitchell <mark@codesourcery.com>
15776
15777 * Makefile.in (tree.o): Depend on ggc.h.
15778 (varasm.o): Likewise.
15779 (function.o): Likewise.
15780 (stmt.o): Likewise.
15781 (except.o): Likewise.
15782 (optabs.o): Likewise.
15783 (emit-rtl.o): Likewise.
15784 * emit-rtl.c: Include ggc.h.
15785 (sequence_element_free_list): Remove, and all references.
15786 (mark_sequence): New functions.
15787 (mark_emit_state): New function.
15788 * except.c: Include ggc.h.
15789 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
15790 (mark_tree_label_node): New functions.
15791 (mark_eh_state): New function.
15792 * function.c: Include ggc.h.
15793 (mark_temp_slot, mark_function_chain): New functions.
15794 (mark_function_state): New function.
15795 (init_function_once): New function.
15796 * function.h (init_function_once): New function.
15797 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
15798 * ggc.h (label_node): Declare.
15799 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
15800 (lang_mark_false_label_stack): New function.
15801 (mark_temp_slot): Remove declaration.
15802 (mark_function_chain): Likewise.
15803 (mark_eh_state): Adjust prototype.
15804 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
15805 Likewise.
15806 * optabs.c: Include ggc.h.
15807 (mark_optab): New function.
15808 (init_optabs): Add gc roots.
15809 * stmt.c: Include ggc.h.
15810 (mark_cond_nesting, mark_loop_nesting): New functions.
15811 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
15812 (mark_stmt_state): New function.
15813 * toplev.c (compile_file): Call init_function_once.
15814 * tree.c: Include ggc.h.
15815 (type_hash): Move declaration earlier in file.
15816 (TYPE_HASH_SIZE, type_hash_table): Likewise.
15817 (init_obstacks): Add gc roots.
15818 (mark_type_hash): New function.
15819 * varasm.c: Include ggc.h.
15820 (mark_pool_constant): New function.
15821 (mark_varasm_state): New function.
15822
15823 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15824
15825 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
15826
15827 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15828
15829 * c-decl.c (struct language_function): Renamed from struct c_function.
15830 Delete elt NEXT.
15831 (c_function_chain): Delete.
15832 (push_c_function_context): New arg F. Don't warn about nested
15833 functions here. Fill LANGUAGE elt of F. Delete code to update
15834 c_function_chain. Don't call push_function_context.
15835 (pop_c_function_context): New arg F. Restore from there instead of
15836 from c_function_chain. Don't call pop_function_context. Clear out
15837 LANGUAGE field of F when done.
15838 * c-lang.c: Include "function.h"
15839 (lang_init): Initialize save_lang_status and restore_lang_status.
15840 * c-parse.in (nested_function, nested_function_notype): Warn about
15841 nested functions. Call push_function_context/pop_function_context
15842 instead of the _c_ variants.
15843 * c-tree.h (push_c_function_context, pop_c_function_context): Update
15844 prototype.
15845 * Makefile.in (c-lang.o): Update dependencies.
15846
15847 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
15848 regno_pointer_flag, regno_pointer_align.
15849 (gen_reg_rtx): Use xrealloc to enlarge them.
15850 (free_emit_status): New function.
15851 * function.c (mark_machine_status, mark_lang_status): New variables.
15852 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
15853 in some bits from assign_stack_local. All callers changed to use new
15854 name.
15855 (assign_stack_local): Just call assign_stack_local_1.
15856 (free_after_compilation): New function.
15857 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
15858 (trampoline_address): Likewise.
15859 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
15860 (prepare_function_start): Explicitly clear some more variables.
15861 * function.h (struct function): New elt can_garbage_collect.
15862 (mark_machine_status, mark_lang_status): Declare variables.
15863 (free_after_compilation, free_emit_status, free_varasm_status,
15864 init_varasm_status): Declare functions.
15865 * toplev.c (rest_of_compilation): Call free_after_compilation when
15866 done with the current function.
15867 * varasm.c (free_varasm_status): New function.
15868
15869 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
15870
15871 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
15872 (EXPAND_BUILTIN_VA_ARG): Define.
15873 * sparc.c (sparc_va_start): New.
15874 (sparc_va_arg): New.
15875
15876 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15877
15878 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
15879
15880 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15881
15882 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
15883
15884 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
15885
15886 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
15887 (OBJS): Add $(GGC).
15888 (ggc-callbacks.o): New target.
15889 * ggc-callbacks.c: New file.
15890
15891 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15892
15893 * expr.h: Collapse individual optab and libfunc vars to arrays.
15894 (optab_index, libfunc_index): New enumerations.
15895 (optab_table, libfunc_table): New arrays.
15896 Add accessor macros for both.
15897
15898 * optabs.c (optab_table, libfunc_table): New.
15899 Delete declarations for individual optab and libfunc vars.
15900
15901 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
15902
15903 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
15904
15905 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
15906
15907 * Makefile.in (GGC, GGC_LIB): New.
15908 (HOST_RTL): Include ggc-none.o.
15909 (ggc-simple.o): New target.
15910 (ggc-none.o): Likewise.
15911 * tree.h (tree_common): Add gc_mark.
15912 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
15913 (struct rtvec_def): Add gc_mark.
15914 * emit-rtl.c (global_rtl): Update static initializers to contain
15915 enough initializers.
15916 * ggc.h, ggc-none.c, ggc-simple.c: New files.
15917 * toplev.c (gc_time): New variable.
15918 (all_time): New variable.
15919 (compile_file): Print gc time.
15920 (print_time): Calculate percentage of the whole.
15921
15922 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15923
15924 Change obstack memory management and varasm constant pool handling so
15925 that nested functions are treated like any other functions.
15926 * function.c (init_machine_status): New variable.
15927 (push_function_context_to): Set contains_functions for the outer
15928 function. Don't call save_varasm_status.
15929 (pop_function_context_from): Don't call restore_varasm_status. Don't
15930 set current_function_contains_functions.
15931 (prepare_function_start): Call init_varasm_status rather than
15932 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
15933 is non-null.
15934 * function.h (struct function) Add field varasm. Delete fields
15935 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
15936 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
15937 (init_machine_status): Declare.
15938 (save_varasm_status, restore_varasm_status): Delete declarations.
15939 (save_tree_status, restore_tree_status): Delete last argument.
15940 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
15941 code. All callers changed.
15942 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
15943 save_constants_in_decl_trees, restore_constants, save_constants,
15944 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
15945 functions.
15946 (inlining): New variable.
15947 (reg_map, label_map, insn_map, orig_asm_operands_vector,
15948 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
15949 variables.
15950 (save_for_inline_nocopy): Don't save constants.
15951 Don't set inl_emit field in current_function.
15952 (expand_inline_function): Use emit field, not inl_emit, of the inlined
15953 function. Set new variable inlining before
15954 calling copy_rtx_and_substitute.
15955 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
15956 constant pool references if inlining is nonzero.
15957 Delete ADDRESS and (most of the) CONST cases.
15958 (output_inline_function): Save and restore current_function/
15959 current_function_decl. Delete restore_constants code. Don't call
15960 init_const_rtx_hash_table.
15961 * output.h (init_const_rtx_hash_table): Don't declare.
15962 * rtl.h (struct function): Declare.
15963 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
15964 * toplev.c (rest_of_compilation): Don't treat nested functions or
15965 functions containing them specially. Delete all code to deal with
15966 save_for_inline_copying.
15967 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
15968 inline_obstacks): Delete variables.
15969 (save_tree_status): Lose arg CONTEXT. All callers changed.
15970 Simply allocate a new function_maybepermanent_obstack for the new
15971 function, delete all the special cases.
15972 Don't save inline_obstacks.
15973 (restore_tree_status): Lose arg CONTEXT. All callers changed.
15974 Delete special handling for function_maybepermanent_obstack; simply
15975 free it if empty.
15976 Don't restore inline_obstacks.
15977 (permanent_allocation): Delete code that frees inline_obstacks.
15978 (print_inline_obstack_statistics): Delete function.
15979 (dump_tree_statistics): Don't call it.
15980 * varasm.c (struct varasm_status): New.
15981 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
15982 last_pool, pool_offset, const_double_chain): Delete global
15983 variables, replace with accessor macros.
15984 (immed_double_const): Don't walk const_double_chain outside a
15985 function, but don't treat nested functions specially anymore.
15986 (immed_real_const_1): Likewise.
15987 (clear_const_double_mem): Don't treat nested functions specially.
15988 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
15989 (save_varasm_status, restore_varasm_status): Delete functions.
15990 (init_varasm_status): New function.
15991 (force_const_mem): Don't treat nested functions specially.
15992 (find_pool_constant): Accept new arg F, search for constants in
15993 that function's pool rather than the current one. All callers
15994 changed.
15995 (get_pool_constant_for_function, get_pool_mode_for_function): New
15996 functions.
15997
15998 * i386.c (init_386_machine_status): New function, mostly from
15999 clear_386_stack_locals.
16000 (struct machine_functions): Rename element names to avoid name
16001 clashes.
16002 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
16003 macros, replacing global variables.
16004 (clear_386_stack_locals, save_386_machine_status,
16005 restore_386_machine_status): Delete functions.
16006 (override_options): Initialize init_machine_status.
16007 * i386.h (INIT_EXPANDERS): Delete macro.
16008 (save_386_machine_status, restore_386_machine_status,
16009 clear_386_stack_locals): Delete declarations.
16010
16011 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16012
16013 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
16014 (doloop_begin): Simplify pattern and use emit_jump_insn.
16015 (doloop_end): Simplify pattern, switch operand order,
16016 and use emit_jump_insn.
16017
16018 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
16019
16020 * function.h (struct function): Add new element LANGUAGE.
16021 (save_lang_status): Declare new variable.
16022 (restore_lang_status): Likewise.
16023 * function.c (save_lang_status): Define.
16024 (restore_lang_status): Likewise.
16025 (push_function_context_to): Call language-specific save function.
16026 (pop_function_context_from): Call language-specific restore function.
16027
16028 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
16029
16030 * i386.md (movsf_1): Check REG_P before use of REGNO.
16031 (movdf_1): Likewise.
16032 (movxf_1): Likewise.
16033 (extendsfdf2): Likewise.
16034 (extendsfxf2): Likewise.
16035 (extenddfxf2): Likewise.
16036
16037 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16038
16039 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
16040 constants into memory.
16041 (c4x_shiftable_constant): New function.
16042 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
16043 (c4x_shiftable_constant): Declare.
16044 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
16045 ashlqi3_noclobber): Add new patterns and associated splitters.
16046
16047 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
16048
16049 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
16050 * dwarf2out.c (dwarf2out_frame_init): Likewise.
16051 * final.c (shorten_branches): Likewise.
16052 * global.c (global_alloc): Likewise.
16053 * haifa-sched.c (build_control_flow): Likewise.
16054 * stmt.c (check_for_full_enumeration_handling): Likewise.
16055 (estimate_case_costs): Likewise.
16056
16057 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
16058
16059 * rtl.h (RTL_CHECKC2): Fix typo in last change.
16060
16061 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
16062
16063 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
16064 (recompute_reg_usage): Likewise.
16065 * rtlanal.c (find_regno_fusage): Likewise.
16066
16067 * rtl.c (rtl_check_failed_code1): New function.
16068 (rtl_check_failed_code2): New.
16069 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
16070 (RTL_CHECKC1, RTL_CHECKC2): New.
16071 (XC*): New accessor macros.
16072 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
16073 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
16074 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
16075 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
16076 (TRAP_*, RANGE_INFO_*): Likewise.
16077
16078 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16079
16080 * Makefile.in (tlink.o): Don't depend on toplev.h.
16081
16082 * collect2.c (c_file, o_file, export_file, import_file, ldout,
16083 output_file, nm_file_name, ldd_file_name, strip_file_name,
16084 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
16085 add_prefix, prefix_from_env, prefix_from_string, do_wait,
16086 fork_execute, maybe_unlink, add_to_list,
16087 extract_init_priority, write_list, dump_list,
16088 dump_prefix_list, write_list_with_asm, write_c_file,
16089 write_c_file_stat, write_c_file_glob, scan_prog_file,
16090 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
16091 ignore_library, extract_string, notice, dump_file, target_machine,
16092 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
16093 read_file, print_load_command): Constify a char*.
16094 (fdopen, error, fatal, fatal_perror): Don't prototype.
16095 (my_strerror): Remove. All callers use xstrerror instead.
16096 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
16097 (main): Add prototype. Constify lots of char* ptrs. Change calls
16098 to xcalloc/strcpy/strcat/... to one call to concat.
16099 (main, scan_prog_file, scan_libraries): Use an intermediate
16100 `const char **' to build an argv array.
16101 (mapfile, libselect, libcompare, locatelib): Add prototypes.
16102
16103 * collect2.h (collect_execute, collect_wait, dump_file,
16104 file_exists): Constify a char*.
16105 (ldout, c_file_name, temporary_obstack, permanent_obstack,
16106 temporary_firstobj, vflag, debug): Add extern declarations.
16107 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
16108
16109 * tlink.c: Don't include toplev.h.
16110 (vflag, debug, ldout, c_file_name, temporary_obstack,
16111 permanent_obstack, temporary_firstobj): Don't declare.
16112 (tlink_execute, frob_extension, symbol_hash_lookup,
16113 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
16114 recompile_files, read_repo_files, demangle_new_symbols,
16115 scan_linker_output): Constify a char*.
16116 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
16117 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
16118
16119 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
16120
16121 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
16122 (relative) rather than jsr (absolute) subroutine call insns.
16123 * config/m68k/m68k-coff.h: Ditto.
16124
16125 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
16126
16127 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
16128 now rework these too.
16129 (arm_reorg): If an insn can't reach the end of the current pool,
16130 ensure that we emit that pool before the insn.
16131
16132 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
16133
16134 * tlink.c (scan_linker_output): Skip the initial underscore in
16135 a mangled name if appropriate.
16136
16137 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16138
16139 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
16140 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
16141 error_with_ivar, gen_declarator, create_builtin_decl,
16142 my_build_string, generate_descriptor_table, generate_ivars_list,
16143 generate_dispatch_table, check_protocols, TAG_GETCLASS,
16144 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
16145 dump_base_name, lang_decode_option, build_encode_expr,
16146 start_class, finish_class, encode_pointer, really_start_method,
16147 gen_declaration, dump_interface, handle_class_ref, handle_impent):
16148 Constify.
16149 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
16150 Add static prototypes.
16151 (build_objc_string_decl, build_selector_reference_decl,
16152 encode_bitfield, build_class_reference_decl): Remove unused
16153 parameter, all callers changed.
16154 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
16155 (objc_printable_name): Likewise. Change second parameter to type int.
16156 (init_objc): Use memcpy, not bcopy, to avoid casts.
16157
16158 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
16159
16160 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
16161 reg notes on a deleted insn.
16162 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
16163
16164 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
16165
16166 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
16167
16168 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16169
16170 * stmt.c (expand_asm_operands): Fix index into inout_mode when
16171 reading it.
16172
16173 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
16174
16175 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
16176 * tm.texi (MD_ASM_CLOBBERS): Document it.
16177
16178 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
16179
16180 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
16181 * except.c (expand_rethrow): Remove unused variable.
16182 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
16183 * flow.c (replace_insns): Likewise.
16184 (create_edge_list, verify_edge_list): Likewise.
16185 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
16186
16187 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
16188 is special code to run.
16189 (main): Don't define operands to emit_operand.
16190 * genrecog.c (main): Don't emit an empty peephole2_insn function.
16191
16192 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
16193
16194 * alpha/alpha.h (normal_memory_operand): Declare.
16195 (reg_no_subreg_operand): Declare.
16196 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
16197
16198 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
16199
16200 * c-parse.in (compstmt_primary_start): New, broken out of first
16201 part of compstmt handling in primary.
16202 (primary): Use it. Add an error clause.
16203 (compstmt_nostart): Renamed from compstmt; remove all
16204 initial invocations of compstmt_start.
16205 (compstmt): New.
16206
16207 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
16208
16209 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
16210 needed.
16211
16212 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
16213
16214 * combine.c (simplify_shift_const): Remove extra semicolon.
16215 * dwarf2out.c (remove_AT): Likewise.
16216 * expmed.c (expand_mult): Likewise.
16217 * gcov.c (create_program_flow_graph): Likewise.
16218 * reorg.c (mostly_true_jump): Likewise.
16219
16220 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
16221
16222 * fold-const.c (fold_range_test): Do not try to fold the range
16223 test if the rhs or lhs has side effects.
16224
16225 * combine.c (simplify_rtx): Recognize another case of a synthesized
16226 sign extension.
16227
16228 * varasm.c (mark_constant_pool): When marking indirect references,
16229 only look at SYMBOL_REFs.
16230
16231 * except.c (expand_fixup_region_end): Do not peek at
16232 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
16233
16234 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
16235
16236 * flags.h: New variables align_loops, align_loops_log,
16237 align_jumps, align_jumps_log, align_labels, align_labels_log,
16238 align_functions, align_functions_log.
16239 * toplev.c: Define them.
16240 (f_options): Handle -falign-* when they have no argument.
16241 (main): Add logic to set variables for -falign-functions,
16242 -falign-jumps, -falign-labels, -falign-loops.
16243 Make it -fsched-verbose=<n> and -finline-limit=<n>.
16244 (display_help): Change help to match options.
16245 * final.c (LABEL_ALIGN): Default to align_labels_log.
16246 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
16247 (LOOP_ALIGN): Default to align_loops_log.
16248 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
16249 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
16250 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
16251 * varasm.c (assemble_start_function): Handle align_functions.
16252
16253 * config/sparc/sparc.h: Don't declare sparc_align_*.
16254 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
16255 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
16256 sparc.c.
16257 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
16258 it's a promise.
16259 * config/sparc/sparc.c: Delete sparc_align_loops,
16260 sparc_align_jumps, sparc_align_funcs and the corresponding string
16261 variables.
16262 (sparc_override_options): Default align_functions on ultrasparc.
16263 Delete -malign-* handling.
16264
16265 * config/mips/mips.c (override_options): On 64-bit targets,
16266 try to align code to 64-bit boundaries.
16267 (print_operand): New substitution, %~,
16268 which aligns labels to align_labels_log.
16269 * config/mips/mips.md (div_trap_normal): Use %~.
16270 (div_trap_mips16): Likewise.
16271 (abssi): Likewise.
16272 (absdi2): Likewise.
16273 (ffssi2): Likewise.
16274 (ffsdi2): Likewise.
16275 (ashldi3_internal): Likewise.
16276 (ashrdi3_internal): Likewise.
16277 (lshrdi3_internal): Likewise.
16278 (casesi_internal): Likewise.
16279
16280 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
16281
16282 Merge new ia32 backend from the branch!
16283
16284 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
16285 See ChangeLog.P2 on new_ia32_branch for details.
16286
16287 * rtl.h (stack_regs_mentioned_p): Delete prototype.
16288 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
16289 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
16290 * i386/gas.h (ASM_FILE_START): Define.
16291 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
16292 for name change of ix86_valid_decl_attribute_p.
16293 (i386_pe_valid_type_attribute_p): Similarly.
16294
16295 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
16296
16297 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
16298 to step through CC modes.
16299
16300 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16301
16302 * regmove.c (fixup_match_1): Don't move INSN in front of P if
16303 it would end up in the shadow of a live flags regsiter.
16304
16305 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16306
16307 * reload1.c: Fix many indentation problems.
16308 * reload.c: Likewise.
16309
16310 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
16311
16312 * alias.c (non_local_reference_p): Constify fmt.
16313
16314 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
16315
16316 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
16317
16318 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
16319
16320 * cse.c (delete_trivially_dead_insns): Do not delete stores to
16321 the internal_arg_pointer.
16322
16323 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
16324
16325 Merge peephole2 from new_ia32_branch:
16326 * Makefile.in (STAGESTUFF): Add *.peephole2.
16327 (mostlyclean): Likewise.
16328 (recog.o): Depend on resource.h.
16329
16330 * final.c (peephole): Conditionalize decl on HAVE_peephole.
16331 (final_scan_insn): Likewise for the invocation of peephole.
16332 * genconfig.c (main): Look for peephole and peephole2 patterns.
16333 Emit HAVE_peephole* accordingly.
16334 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
16335 * flags.h (flag_peephole2): Declare.
16336 * toplev.c: New pass peephole2. New flag -fpeephole2.
16337
16338 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
16339 * gencodes.c (main): Likewise.
16340 * genextract.c (main): Likewise.
16341 * genoutput.c (main): Likewise.
16342 * genemit.c (max_operand_1): Look for the max scratch operand.
16343 (gen_rtx_scratch): New.
16344 (gen_exp): Use it, and pass on new arg subroutine_type.
16345 (gen_expand): Take max scratch into account.
16346 (gen_split): Emit peephole2 functions.
16347 (output_peephole2_scratch): New.
16348 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
16349 * genrecog.c (routine_type): Add PEEPHOLE2.
16350 (IS_SPLIT): New.
16351 (make_insn_sequence): Match outer parallel for peep2. Discard
16352 top level scratches and dups.
16353 (add_to_sequence): New args insn_type and top. Update all callers.
16354 Handle toplevel peep2 matching insns.
16355 (write_subroutine): Handle peep2.
16356 (write_tree_1): Likewise.
16357 (write_tree): Likewise.
16358 (main): Likewise.
16359 (change_state): New arg afterward. Update all callers.
16360 Handle matching separate insns.
16361 * recog.c (recog_next_insn): New.
16362 (peephole2_optimize): New.
16363 * rtl.def (DEFINE_PEEPHOLE2): New.
16364 * resource.c (find_free_register): New argument last_insn. Use it
16365 to find a register available through the entire span.
16366 * resource.h (find_free_register): Update prototype.
16367
16368 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
16369
16370 * i386.c (output_strlen_unroll): Don't write xops[7]
16371 label if it wasn't set.
16372
16373 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
16374
16375 * cpplib.c (struct directive): Const-ify name pointer and
16376 function pointer prototype.
16377 (validate_else, do_define, do_line, do_include, do_undef,
16378 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
16379 do_elif, do_endif, do_sccs, do_assert, do_unassert,
16380 do_warning): Const-ify second arg.
16381 (directive_table): Mark const. Reorder entries by frequency
16382 of usage, record statistics.
16383
16384 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
16385
16386 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
16387 bounds- check RTL accesses if --enable-checking.
16388 (RTVEC_ELT): Bounds check if --enable-checking.
16389 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
16390 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
16391 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
16392 GET_NUM_ELEM.
16393 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
16394 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
16395
16396 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
16397 (NOTE_SOURCE_FILE): Use X0STR.
16398 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
16399 MEM_ALIAS_SET): Use X0INT.
16400 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
16401 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
16402 Use X0EXP.
16403 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
16404 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
16405 (rtl_check_failed_bounds, rtl_check_failed_type1,
16406 rtl_check_failed_type2, rtvec_check_failed_bounds): New
16407 functions.
16408 (fancy_abort): Fix comment.
16409
16410 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
16411 (cse_insn): Decrement LABEL_NUSES for jump target before
16412 deleting jump insn.
16413 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
16414 * final.c (alter_subreg): Compute regno before changing x to
16415 REG; set REGNO(x) after changing it.
16416 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
16417 notes containing CONST_INTs.
16418 (delete_eh_regions): Use NOTE_EH_HANDLER.
16419 * function.c (put_reg_into_stack): Make reg a MEM before
16420 initializing it.
16421 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
16422 delete insn.
16423 (gen_mem_addressof): Make reg a MEM before initializing it.
16424 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
16425 X0WINT.
16426 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
16427 deleting an insn, not after.
16428 (block_alloc): Only look at PATTERN(insn) if we have to, and
16429 only if it's format class 'i'.
16430 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
16431 CONST_INT before using its INTVAL.
16432 * print-rtl.c (print_rtx): Use X0STR.
16433 * regmove.c (fixup_match_1): Don't look at PATTERN of
16434 non-class-'i' insn chain elements.
16435 * reload.c (loc_mentioned_in_p): Take address of
16436 in->fld[1].rtx directly.
16437 * reload1.c (reload): Change reg to a MEM before initializing
16438 it.
16439 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
16440 have no names.
16441 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
16442
16443 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
16444
16445 * config/mips/mips.c (machine_dependent_reorg): Force a
16446 barrier to output the local constant pool if a barrier hasn't
16447 been found at a natural point in the instruction stream.
16448
16449 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16450
16451 * c-parse.in (language_string): Constify.
16452
16453 * dwarf2out.c (language_string): Remove declaration.
16454
16455 * dwarfout.c (language_string): Likewise.
16456
16457 * toplev.c (language_string, init_parse, finish_parse): Likewise.
16458
16459 * tree.h (language_string, init_parse, finish_parse): Declare.
16460
16461 * i386/sun386.h (language_string): Remove declaration.
16462
16463 * mips.h (language_string): Likewise.
16464
16465 * nextstep.h (language_string): Likewise.
16466
16467 * nextstep21.h (language_string): Likewise.
16468
16469 * rs6000.c (language_string): Likewise.
16470
16471 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16472
16473 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
16474 (getpwd.o): Remove target.
16475
16476 * getpwd.c: Delete file. Its in libiberty now.
16477
16478 * dbxout.c (getpwd): Don't prototype.
16479 * dwarf2out.c (getpwd): Likewise
16480 * dwarfout.c (getpwd): Likewise
16481 * final.c (getpwd): Likewise.
16482 * protoize.c (getpwd): Likewise.
16483
16484 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16485
16486 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
16487
16488 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
16489
16490 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
16491 mark_set_resources.
16492
16493 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
16494
16495 * fixinc/Makefile.in (subdir): New.
16496 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
16497 (Makefile): New.
16498
16499 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
16500
16501 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
16502 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
16503 be shared.
16504
16505 * invoke.texi: Fix typo.
16506
16507 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
16508 changed. Handle autoincrement addressing modes.
16509
16510 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
16511 just like we would the virtual incoming args register when
16512 integrating.
16513
16514 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
16515
16516 * rs6000.h (ASM_FILE_START): Specify complete filename, including
16517 path, in .file directive.
16518
16519 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
16520
16521 * gcc.texi (External Bugs): Remove obsolete note about Perl on
16522 SunOS.
16523
16524 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
16525
16526 * stdbool.h: Make the typedef name _Bool, with bool a #defined
16527 alias.
16528
16529 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16530
16531 * tree.c (tree_code_name): Constify a char*.
16532
16533 * tree.h (tree_code_name, decl_printable_name): Likewise.
16534
16535 * function.h (struct function): Likewise.
16536
16537 * toplev.c (decl_name, decl_printable_name): Likewise.
16538
16539 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
16540
16541 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
16542 (init_objc): Remove function pointer cast.
16543
16544 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
16545
16546 * pa.md (interspace_jump): New pattern.
16547 (builtin_longjmp): New expander.
16548
16549 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
16550
16551 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
16552 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
16553 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
16554
16555 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
16556
16557 * jump.c (delete_prior_computation): Also check calls
16558 to constant functions. Don't bother checking for a
16559 REG_UNUSED note before adding it.
16560 (delete_computation): Handle multi-word hard registers
16561 when synthesizing missing REG_DEAD notes for a register
16562 which is both set and used by an insn.
16563
16564 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16565
16566 * loop.c (this_loop_info): New variable.
16567 (loop_has_call, loop_has_volatile, loop_has_tablejump,
16568 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
16569 All uses updated.
16570 (prescan_loop, strength_reduce): New argument loop_info. All callers
16571 updated.
16572 (scan_loop): New variable loop_info, initialise to address of
16573 this_loop_info.
16574 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
16575 Delete variable loop_has_multiple_exit targets and replace with
16576 field in this_loop_info.
16577 (find_and_verify_loops): Rename this_loop to this_loop_num.
16578 (strength_reduce): Delete loop_iteration_info. Replace variable
16579 loop_info with function argument of same name.
16580 (insert_bct): Rework test for loop being completely unrolled.
16581
16582 * loop.h (struct loop_info): New fields num, loops_enclosed,
16583 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
16584 has_indirect_jump, and cont. Redefine use of unroll_number.
16585 (loop_unroll_number): Delete.
16586
16587 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
16588 field of loop_info.
16589 (loop_iterations): Delete variable vtop and instead use
16590 loop_info->vtop computed in prescan_loop.
16591
16592 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
16593
16594 * fix-header.c (main): Do not pass a null pointer to strcmp.
16595
16596 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
16597
16598 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
16599 filenames.
16600 * configure: Rebuilt.
16601
16602 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
16603
16604 * jump.c (jump_optimize_1): Do not delete assignments to
16605 internal_arg_pointer.
16606 * cse.c (delete_trivially_dead_insns): Always consider a set of
16607 the internal_arg_pointer live.
16608
16609 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
16610
16611 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
16612 (update_life_info) [REG_WAS_0]: Search the original insns rather
16613 than the new insns for the note. Fix typos finding note_dest.
16614 If no dest found, discard the note rather than abort.
16615 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
16616 (replace_insns): Remove the old insn list after update_life_info
16617 not before.
16618
16619 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
16620
16621 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
16622 sched_analyze_insn.
16623 (sched_analyze_1): Let add_dependence care for not adding dups.
16624 (sched_analyze_2): Likewise.
16625 (add_branch_dependences): Likewise.
16626
16627 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
16628
16629 * i386/winnt.c (export_list): New type.
16630 (exports_head): Rename to
16631 (export_head): this.
16632 (i386_pe_record_exported_symbol): Add is_data flag.
16633 (i386_pe_asm_file_end): Emit directive for exported variables.
16634 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
16635 prototype.
16636 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
16637 (ASM_DECLARE_OBJECT_NAME): Likewise.
16638 (ASM_DECLARE_FUNCTION_NAME): Likewise.
16639 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
16640
16641 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
16642
16643 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
16644
16645 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
16646 operand.
16647
16648 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
16649
16650 * config/openbsd.h: Define SET_ASM_OP.
16651 * tm.texi: cross-reference SET_ASM_OP in the index.
16652
16653 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
16654
16655 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
16656 for a CONST_DOUBLE, at compile time. Initialize rtx_length
16657 and class_narrowest_mode at compile time. Kill init_rtl.
16658 Mark rtx_length, mode_class, mode_size, mode_unit_size,
16659 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
16660 rtx_format as const. Kill all references to EXTRA_CC_MODES or
16661 EXTRA_CC_NAMES.
16662 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
16663 format.
16664 * rtl.h: Declare rtx_length and rtx_format as const.
16665 * machmode.def: Define CC(). Use CC() to define CCmode. If
16666 EXTRA_CC_MODES is defined, expand it here.
16667 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
16668 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
16669 const. Kill all references to EXTRA_CC_MODES.
16670
16671 * toplev.c: Don't prototype or call init_rtl.
16672 * optabs.c: Don't call init_mov_optab.
16673 * genemit.c: Don't generate init_mov_optab. Don't call
16674 init_rtl.
16675 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
16676 here.
16677 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
16678 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
16679 genrecog.c: Don't call init_rtl.
16680
16681 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
16682 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
16683 definition of EXTRA_CC_MODES.
16684
16685 * md.texi: Kill ref to EXTRA_CC_NAMES.
16686 * tm.texi: Document new way to define EXTRA_CC_MODES.
16687
16688 * genrecog.c: Do not look up the name of a define_split.
16689 (Unrelated bugfix.)
16690
16691 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
16692
16693 * config/v850/v850.md: Fix typo introduced by previous delta.
16694
16695 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16696
16697 * gcc.c (fatal): Make definition static to match prototype.
16698
16699 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16700
16701 * combine.c (get_last_value): Don't look for earlier sets if the last
16702 known set is somewhere in between the insns being combined.
16703
16704 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
16705
16706 * configure.in: Don't use shell ! to negate exit codes
16707 * configure: Regenerate
16708
16709 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
16710
16711 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
16712 the fact that ALIGN is measured in bits, not bytes.
16713
16714 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
16715
16716 * errors.c: New file; defines functions error, warning, and
16717 fatal, variables have_error and progname.
16718 * errors.h: New file; prototypes and decls for stuff in errors.c.
16719
16720 * Makefile: Add rules to build errors.o and
16721 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
16722 genopinit, genrecog, genextract, genpeep, genattr, and
16723 genoutput with errors.o. Add errors.h to deps of genconfig.o,
16724 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
16725 genpeep.o, genattr.o, and genoutput.o.
16726
16727 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
16728 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
16729 define or prototype fatal. Set progname at beginning of main.
16730 * genoutput.c: Likewise, and don't define or prototype error
16731 either.
16732
16733 * c-typeck.c (c_expand_start_case): Return immediately if exp
16734 is an ERROR_MARK.
16735 * fold-const.c (operand_equal_p): Return immediately if arg1
16736 or arg0 are ERROR_MARKs.
16737 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
16738 fields of type ERROR_MARK when calculating if the record can
16739 go in a register.
16740
16741 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
16742 with much help from Jeffrey A Law and Richard Henderson
16743
16744 * i386.md: In the 6 insns which call output_fix_trunc,
16745 earlyclobber operands[0].
16746
16747 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
16748
16749 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
16750 creating new registers.
16751
16752 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
16753
16754 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
16755 i386_reg_alloc_order, i386_regparm_string,
16756 i386_align_loops_string, i386_align_jumps_string,
16757 i386_align_funcs_string, i386_preferred_stack_boundary_string,
16758 and i386_branch_cost_string as type "const char *".
16759 * i386.c: Define all above strings as type "const char *".
16760
16761 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
16762
16763 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
16764 when emitting alignment padding. Emit padding byte of 0 instead of 4.
16765
16766 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
16767
16768 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
16769 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
16770
16771 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
16772
16773 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
16774 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
16775 (dwarf2out_line, dwarf2out_finish): Likewise.
16776 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
16777
16778 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
16779
16780 * tree.c (lang_unsave_expr_now) : Correct return type.
16781 * tree.h (lang_unsave_expr_now) : Same.
16782
16783 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
16784
16785 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
16786 instead of duplicating code.
16787
16788 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16789
16790 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
16791
16792 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
16793
16794 * tree.h: fancy_abort always takes three args.
16795 * resource.c: Move include of system.h before toplev.h.
16796
16797 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
16798
16799 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
16800 as SYMBOL_REFs.
16801
16802 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
16803
16804 * system.h: Don't redefine abort or trim_filename.
16805 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
16806 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
16807 whether or not __FUNCTION__ is available.
16808 * tree.h: Duplicate rtl.h's definition of abort, for files
16809 that don't include rtl.h. Delete all code to perform type
16810 checking with a compiler other than GCC.
16811 * varray.h: Delete all code to perform type checking with a
16812 compiler other than GCC. Make VARRAY_CHECK() always evaluate
16813 its arguments exactly once, using a statement expression.
16814 Adjust the VARRAY_<type> accessor macros to match.
16815 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
16816 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
16817 caller's location. Define fatal_insn and fatal_insn_not_found
16818 as macros that use _fatal_insn and _fatal_insn_not_found.
16819 (fancy_abort, trim_filename): Kill prototypes.
16820
16821 * rtl.c (trim_filename): Move here from toplev.c.
16822 (fancy_abort): New function.
16823 (DIR_SEPARATOR): Provide default definition.
16824 * tree.c (tree_check_failed, tree_class_check_failed): Go
16825 through fancy_abort.
16826 (tree_check, tree_class_check, cst_or_constructor_check,
16827 expr_check): Delete.
16828 * varray.c (varray_check_failed): New function.
16829 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
16830 _fatal_insn and _fatal_insn_not_found. Go through
16831 fancy_abort.
16832 (trim_filename, fancy_abort): Delete.
16833
16834 * builtins.c (expand_builtin_args_info): Report ICE with abort.
16835 * except.c (start_catch_handler): Report ICE with error/abort
16836 combo.
16837 * final.c (output_operand_lossage): Likewise.
16838 * flow.c (verify_flow_info): Likewise.
16839
16840 * gcc.c: Prototype fatal.
16841 * gengenrtl.c: Undef abort after including rtl.h not system.h.
16842 * genattr.c, genattrtab.c, genemit.c, genextract.c,
16843 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
16844 Don't define fancy_abort.
16845
16846 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
16847
16848 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
16849 canonization.
16850
16851 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
16852
16853 * m88k.h (VERSION_INFO2): Kill.
16854 (VERSION_STRING): Kill.
16855 (TM_RCS_ID): Kill.
16856 (VERSION_INFO1): Tidy.
16857 (TARGET_VERSION): Update.
16858 * m88k/dgux.h (VERSION_INFO2): Kill.
16859 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
16860 * m88k/luna.h (VERSION_INFO1): Tidy.
16861 * m88k/sysv4.h (VERSION_INFO1): Likewise.
16862 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
16863 (output_file_start): Adjust for death of VERSION_STRING.
16864
16865 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
16866
16867 * cpplib.c (detect_if_not_defined): New function.
16868 (do_if): Use it to detect potential once-only headers.
16869
16870 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
16871
16872 * c-common.c (combine_strings): Always set TREE_CONSTANT.
16873
16874 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
16875
16876 * combine.c (nonzero_bits) : Allow single-ly set registers to be
16877 anywere in the function only if they are pseudos and set before
16878 being used (not live at the start of the function).
16879 (num_sign_bit_copies) : Same.
16880 (get_last_value_validate) : Same.
16881 (get_last_value) : Same.
16882
16883 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
16884
16885 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
16886 where N and M are constant and N is an integer multiple of M.
16887
16888 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16889
16890 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
16891 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
16892 sbitmap_union_of_preds): Add prototypes.
16893 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
16894 the intersection of successors with the new flow graph structures.
16895 (sbitmap_intersection_of_preds): New function to compute the
16896 intersection of predecessors with the new flow graph structures.
16897 (sbitmap_union_of_succs): New function to compute the union of
16898 successors with the new flow graph structures.
16899 (sbitmap_union_of_preds): New function to compute the union of
16900 predecessors with the new flow graph structures.
16901 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
16902 (expr_reaches_here_p): Use edge and basic_block structures instead
16903 of s_preds and s_succs.
16904 (compute_cprop_avinout): Use new sbitmap routines.
16905 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
16906 of s_preds and s_succs.
16907 * flow.c (compute_flow_dominators): Compute dominators using
16908 edges and basic blocks instead of s_preds and s_succs.
16909
16910 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16911
16912 * lists.c (unused_insn_list, unused_expr_list): New file for
16913 maintaining various types of lists. New statics for maintaining a
16914 cache of available INSN_LIST and EXPR_LIST nodes.
16915 (free_list): Static function for freeing a list of INSN/EXPR nodes.
16916 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
16917 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
16918 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
16919 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
16920 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
16921 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
16922 (free_INSN_LIST_node): Free an individual INSN_LIST node.
16923 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
16924 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
16925 (remove_dependence, free_pending_lists): Use new global routines.
16926 (flush_pending_lists, sched_analyze_insn): Use new global routines.
16927 (sched_analyze, compute_block_backward_dependences): Use new routines.
16928 (sched_analyze_1, sched_analyze_2): Use new routines.
16929 (schedule_insns): Use new global routines.
16930 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
16931 prototypes.
16932 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
16933 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
16934 prototypes.
16935 * toplev.c (rest_of_compilation): Initialize node cache.
16936 * Makefile.in (OBJS): Add lists.o to list of object files.
16937 (lists.o): Add dependancies.
16938
16939 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
16940
16941 * config/v850/v850.md: Fix compile time warning messages.
16942 * config/v850/v850.c: Fix compile time warning messages.
16943 * config/v850/v850.h: Fix compile time warning messages.
16944
16945 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16946
16947 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
16948 Remove unused prototype for `init_lengths'.
16949
16950 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16951
16952 * calls.c (emit_call_1): Mark parameter `stack_size' with
16953 ATTRIBUTE_UNUSED.
16954 (expand_call): Initialize variable `insn'.
16955 (emit_library_call): Likewise for variable `high_to_save'.
16956 (emit_library_call_value): Likewise.
16957 (store_one_arg): Likewise for variables `lower_bound' and
16958 `upper_bound'.
16959
16960 * combine.c (try_combine): Likewise for variables `i2_code_number'
16961 and `other_code_number'.
16962 (find_split_point): Likewise for variables `pos', `unsignedp' and
16963 `inner'.
16964 (simplify_if_then_else): Likewise for variables `op' and `c1'.
16965 (simplify_and_const_int): Remove unused variable `width'.
16966 (merge_outer_ops): Likewise.
16967
16968 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
16969 HOST_WIDE_INT' when comparing against one.
16970 (simplify_relational_operation): Likewise.
16971 (cse_insn): Initialize variables `src_eqv_volatile',
16972 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
16973
16974 * final.c (init_final): Constify parameter `filename'.
16975 (final_start_function): Mark parameter `optimize' with
16976 ATTRIBUTE_UNUSED.
16977 (profile_function): Likewise for parameters `first' and `optimize'.
16978 (output_source_line): Likewise for parameter `file'.
16979
16980 * integrate.c (subst_constants): Cast a value to `size_t' when
16981 comparing against one.
16982 (mark_stores): Initialize variable `mode'. Cast a value to
16983 `size_t' when comparing against one.
16984
16985 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
16986
16987 * loop.c (move_movables): Initialize variable `first'.
16988 (strength_reduce): Likewise for variable `increment'.
16989 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
16990 value to `size_t' when comparing against one.
16991 (load_mems): Initialize variable `end_label'.
16992
16993 * output.h (init_final): Constify parameter.
16994
16995 * reload.c (decompose): Initialize variable `base'.
16996
16997 * reload1.c (reload): Likewise for variable `is_scalar'.
16998 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
16999 (choose_reload_regs): Initialize variable `mode'.
17000 (emit_reload_insns): Likewise for variable `store_insn'.
17001 (reload_cse_noop_set_p): Mark parameter `insn' with
17002 ATTRIBUTE_UNUSED.
17003 (reload_combine): Initialize variable `set'.
17004
17005 * unroll.c (unroll_loop): Likewise for variable `local_label'.
17006 (copy_loop_body): Cast a value to `size_t' when comparing against
17007 one.
17008
17009 * varasm.c (assemble_variable): Initialize variable `size_tree'.
17010 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
17011 (remove_from_pending_weak_list): Mark parameter `name' with
17012 ATTRIBUTE_UNUSED.
17013
17014 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17015
17016 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
17017 gcse dump file.
17018
17019 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
17020
17021 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
17022 (ASM_DECLARE_FUNCTION_NAME): Define.
17023 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
17024 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
17025 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
17026 not already defined.
17027
17028 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
17029
17030 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
17031 of n_popped when call/call_value are not defined.
17032
17033 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
17034
17035 * tm.texi: GNU CC -> GCC conversion.
17036 (CC1_SPEC): Indicate it is used for all language front ends.
17037
17038 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
17039
17040 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
17041 NOTE_INSN_EH_REGION_END correctly.
17042
17043 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
17044 Jeff Law <law@cygnus.com>
17045
17046 * loop.c (strength_reduce): Automatically unroll loops if the
17047 unrolled loop size is smaller than the rolled loop size.
17048
17049 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
17050 and delete comment that code should be rewritten.
17051
17052 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
17053
17054 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
17055 as reachable.
17056
17057 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
17058
17059 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
17060
17061 * fixinc/mkfixinc.sh: Don't fix uwin headers.
17062 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
17063 (LINK_SPEC): Add -u _main when building executables.
17064 (ASM_DECLARE_FUNCTION): Update from Cygwin.
17065 (ASM_FILE_END): Use the default for ix86-pe.
17066 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
17067
17068 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
17069
17070 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
17071 and ASM_CLOSE_PAREN are empty strings.
17072
17073 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
17074 Geoffrey Keating <geoffk@cygnus.com>
17075
17076 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
17077 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
17078 (unprotoize.o): Ditto.
17079 (test-protoize-simple): Don't define STD_PROTO_DIR.
17080 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
17081 changes to make 'test-protoize-simple' pass.
17082 (STD_PROTO_DIR): Remove define.
17083 (STANDARD_EXEC_PREFIX): Supply default define.
17084 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
17085 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
17086 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
17087 (GET_ENV_PATH_LIST): New macro.
17088 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
17089 (do_processing): Initialize default_syscalls_dir using new
17090 macros. Use it to initialize syscalls_absolute_filename.
17091
17092 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
17093
17094 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
17095 B into a register before emit_conditional_move.
17096
17097 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
17098
17099 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
17100 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
17101 multiplicand out of (+ (* a b) (* c d)).
17102
17103 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
17104 Richard Henderson <rth@cygnus.com>
17105
17106 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
17107 (new_insn_dead_notes): Likewise.
17108 (update_n_sets): Likewise.
17109 (update_flow_info): Move to flow.c, renamed to update_life_info;
17110 extend to handle multiple source insns.
17111 * flow.c: Include resource.h
17112 (unlink_insn_chain): New.
17113 (split_hard_reg_notes): New.
17114 (maybe_add_dead_note): New.
17115 (maybe_add_dead_note_use): New.
17116 (find_insn_with_note): New.
17117 (new_insn_dead_notes): New.
17118 (update_n_sets): New.
17119 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
17120 (maybe_remove_dead_notes): New.
17121 (update_life_info): New.
17122 (prepend_reg_notes): New.
17123 (replace_insns): New.
17124 * output.h (update_life_info): Declare.
17125 * recog.c (split_block_insns): Use update_life_info.
17126 * resource.c (find_free_register): Use reg_alloc_order, don't use
17127 fixed regs, make sure the mode is supported, don't use new regs.
17128 (reg_dead_p): New.
17129 * rtl.h (replace_insns): Declare.
17130
17131 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
17132
17133 * expr.c (expand_expr): Cope with COND_EXPRs with one
17134 non-returning branch.
17135
17136 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
17137
17138 * expr.c (store_expr): Always pass down the target, even when not
17139 doing CSE.
17140
17141 1999-08-24 Nick Clifton <nickc@cygnus.com>
17142
17143 * configure.in: Define target_cpu_default for v850 targets.
17144 * configure: Regenerate
17145
17146 * config/v850/v850.h (TARGET_CPU_generic): Define.
17147 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
17148 addresses are 4 byte aligned.
17149
17150 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
17151 addresses.
17152
17153 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17154
17155 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
17156 (main): Add prototypes.
17157
17158 * genattrtab.c (substitute_address, write_const_num_delay_slots,
17159 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
17160 (write_attr_get): Emit prototypes along with function definition.
17161 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
17162 (write_complex_function): Emit static prototype along with
17163 function definition.
17164
17165 * genemit.c (gen_split): Emit prototypes along with function
17166 definition.
17167
17168 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
17169 Likewise for predicates and `insn_operand_predicate'.
17170 (process_template): Emit static prototype along with function
17171 definition.
17172
17173 * genrecog.c (make_insn_sequence): Constify a char*. Add
17174 prototypes for get_split_*().
17175 (write_subroutine): Emit prototypes along with function
17176 definition.
17177
17178 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17179
17180 * gcse.c (find_avail_set): Follow chains of register-register copies.
17181 Use oprs_not_set_p to guarantee that the returned value can be
17182 substituted.
17183 (cprop_insn): Don't verify the return value of find_avail_set with
17184 oprs_not_set_p.
17185
17186 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
17187 (cprop_cc0_jump): New function.
17188 (cprop_insn): Break out new function cprop_jump and use it.
17189 Also use cprop_cc0_jump for machines with CC0.
17190 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
17191
17192 * tree.h (current_function_calls_setjmp,
17193 current_function_calls_longjmp): Delete declarations.
17194 * dsp16xx.c: Include "function.h".
17195 * elxsi.c: Likewise.
17196 * gmicro.c: Likewise.
17197 * h8300.c: Likewise.
17198 * i370.c: Likewise.
17199 * m32r.c: Likewise.
17200 * mn10200.c: Likewise.
17201 * mn10300.c: Likewise.
17202 * ns32k.c: Likewise.
17203 * spur.c: Likewise.
17204 * v850.c: Likewise.
17205
17206 * rtl.h (rtx_equal_function_value_matters): Declare.
17207 * toplev.c (rtx_equal_function_value_matters): Don't declare.
17208 * cse.c: Likewise.
17209 * function.c: Likewise.
17210 * emit-rtl.c: Likewise.
17211
17212 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
17213
17214 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
17215 call.
17216
17217 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17218
17219 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
17220 exactly.
17221
17222 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
17223
17224 * cpp.texi: Add a node documenting macro varargs (copied
17225 from extend.texi).
17226
17227 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
17228
17229 * cppspec.c: Put a null pointer at the end of the new argv.
17230
17231 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
17232
17233 * configure.in: Remove code to select/de-select the haifa
17234 scheduler. Every scheduled port gets haifa now.
17235 * configure: Rebuilt.
17236 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
17237 * sched.c Deleted.
17238 * Makefile.in: Corresponding changes.
17239
17240 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17241
17242 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
17243 All callers changed.
17244 (prepare_float_lib_cmp): Likewise.
17245 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
17246 * expr.h (emit_float_lib_cmp): Delete declaration.
17247 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
17248 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
17249 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
17250 specially.
17251 (cmptf): Now conditional on TARGET_HARD_QUAD.
17252
17253 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
17254
17255 * resource.c (mark_target_live_regs): Use
17256 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
17257
17258 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17259
17260 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
17261
17262 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
17263
17264 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
17265
17266 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17267
17268 * rtl.h (rtx_format): Constify a char*.
17269
17270 * rtl.c (rtx_format): Likewise.
17271 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
17272 (init_rtl): Use accessor macro, not `rtx_format'.
17273
17274 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
17275 char*.
17276
17277 * caller-save.c (mark_referenced_regs): Likewise.
17278
17279 * combine.c (subst, make_compound_operation, known_cond,
17280 gen_rtx_combine, update_table_tick, get_last_value_validate,
17281 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
17282
17283 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
17284 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
17285 count_reg_usage): Likewise.
17286
17287 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
17288 Likewise.
17289
17290 * final.c (leaf_renumber_regs_insn): Likewise.
17291
17292 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
17293 dump_edge_info, count_reg_references): Likewise.
17294
17295 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
17296 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
17297 Likewise.
17298
17299 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
17300 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
17301 add_label_notes): Likewise.
17302
17303 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
17304 clear_struct_flag, count_sub_rtxs, count_alternatives,
17305 compares_alternatives_p, contained_in_p, walk_attr_value,
17306 write_expr_attr_cache): Likewise.
17307
17308 * genconfig.c (walk_insn_part): Likewise.
17309
17310 * genemit.c (max_operand_1, gen_exp): Likewise.
17311
17312 * genextract.c (walk_rtx): Likewise.
17313
17314 * genflags.c (num_operands): Likewise.
17315
17316 * genoutput.c (scan_operands): Likewise.
17317
17318 * genpeep.c (match_rtx): Likewise.
17319
17320 * genrecog.c (add_to_sequence): Likewise.
17321
17322 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
17323 Likewise.
17324
17325 * integrate.c (save_constants, copy_for_inline,
17326 copy_rtx_and_substitute, subst_constants, restore_constants):
17327 Likewise.
17328
17329 * jump.c (mark_jump_label, invert_exp, redirect_exp,
17330 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
17331
17332 * local-alloc.c (contains_replace_regs, memref_referenced_p):
17333 Likewise.
17334
17335 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
17336 add_label_notes, replace_call_address, count_nonfixed_reads,
17337 invariant_p, find_single_use_in_loop, find_mem_givs,
17338 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
17339 Likewise.
17340
17341 * print-rtl.c (reg_names, print_rtx): Likewise.
17342
17343 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
17344
17345 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
17346 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
17347 print_blocks): Likewise.
17348
17349 * regclass.c (fix_register, record_address_regs,
17350 reg_scan_mark_refs): Likewise.
17351
17352 * regmove.c (stable_but_for_p): Likewise.
17353
17354 * reload.c (loc_mentioned_in_p, operands_match_p,
17355 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
17356 copy_replacements, refers_to_regno_for_reload_p,
17357 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
17358 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
17359 Likewise.
17360
17361 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
17362 delete_address_reloads_1, count_occurrences,
17363 reload_cse_mem_conflict_p, reload_combine_note_use,
17364 add_auto_inc_notes): Likewise.
17365
17366 * resource.c (mark_referenced_resources, mark_set_resources):
17367 Likewise.
17368
17369 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
17370 reg_mentioned_p, regs_set_between_p, modified_between_p,
17371 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
17372 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
17373 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
17374 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
17375
17376 * sched.c (sched_analyze_2, attach_deaths): Likewise.
17377
17378 * stupid.c (stupid_mark_refs): Likewise.
17379
17380 * unroll.c (remap_split_bivs): Likewise.
17381
17382 * varasm.c (mark_constants): Likewise.
17383
17384 * a29k/a29k.c (uses_local_reg_p): Likewise.
17385
17386 * alpha/alpha.c (summarize_insn): Likewise.
17387
17388 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
17389 eliminate_lr2ip): Likewise.
17390
17391 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
17392
17393 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
17394 reg_mentioned_in_mem): Likewise.
17395
17396 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
17397 symbolic_reference_mentioned_p): Likewise.
17398
17399 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
17400
17401 * sh/sh.c (regs_used, mark_use): Likewise.
17402
17403 * vax/vax.c (vax_rtx_cost): Likewise.
17404
17405 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17406
17407 * machmode.h (mode_name): Constify a char*.
17408
17409 * rtl.c (mode_name): Likewise.
17410
17411 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
17412
17413 * optabs.c (init_libfuncs): Constify a char*.
17414
17415 * print-tree.c (mode_name): Remove redundant declaration.
17416 (print_node): Use accessor macro, not `mode_name'.
17417
17418 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
17419 not `mode_name'.
17420 (new_spill_reg): Constify a char*.
17421
17422 * tree.c (mode_name): Remove redundant declaration.
17423
17424 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17425
17426 * rtl.c (rtx_name): Constify a char*.
17427
17428 * rtl.h (rtx_name, fix_sched_param): Likewise.
17429
17430 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
17431 (mypr): Use accessor macro, not `rtx_name'.
17432
17433 * genemit.c (print_code): Constify a char*.
17434
17435 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
17436
17437 * genpeep.c (print_code): Constify a char*.
17438
17439 * genrecog.c (print_code): Likewise.
17440
17441 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
17442 end_bb): Add static prototype.
17443 (draw_edge): Constify a char*.
17444 (end_bb): Remove unused parameter.
17445
17446 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
17447 print_block_visualization): Constify a char*.
17448
17449 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
17450
17451 * c-common.c (c_get_alias_set): Update comment.
17452
17453 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
17454
17455 * linux.h (LIB_SPEC): Added.
17456
17457 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17458
17459 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
17460
17461 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
17462
17463 * tree.c (expr_check): Fix typo in last change.
17464
17465 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
17466
17467 * rtl.def (NOTE): Change format to "iuu0n".
17468 (ADDR_DIFF_VEC): Change format to "eEee0".
17469 (ADDRESSOF): Change format to "eit".
17470
17471 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
17472 (RTVEC_ELT): Change to match.
17473 (XVECEXP): Use XVEC and RTVEC_ELT.
17474 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
17475 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
17476 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
17477 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
17478 TRAP_CONDITION, TRAP_CODE): Use XEXP.
17479 (INTVAL): Use XWINT.
17480 (ADDRESSOF_DECL): Use XTREE.
17481 (SET_ADDRESSOF_DECL): Delete.
17482 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
17483 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
17484 ifdefed out since 2.6 at least.
17485 (gen_rtvec_vv): Delete prototype.
17486
17487 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
17488 not rtunion.
17489 (copy_most_rtx): Handle 't' format letter.
17490 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
17491 (gen_rtvec_vv): Delete function. All callers changed to use
17492 gen_rtvec_v instead.
17493 * print-rtl.c (print_rtx): Move special casing of NOTEs to
17494 the '0' format letter.
17495
17496 * function.c (gen_mem_addressof): Don't use
17497 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
17498 instead.
17499 * integrate.c (copy_rtx_and_substitute): Likewise.
17500 Copy 't' slots with XTREE.
17501 (subst_constants): Treat 't' slots like '[swi]' slots.
17502 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
17503 * jump.c (rtx_equal_for_thread_p): Likewise.
17504 * rtlanal.c (rtx_equal_p): Likewise.
17505 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
17506 only four arguments.
17507 * gengenrtl.c (type_from_format): Provide correct types for
17508 'b' and 't' slots.
17509
17510
17511 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
17512 If a recent gcc is in use (always in stage2 and beyond), use
17513 statement expressions, so we don't make a function call unless
17514 the check fails. Evaluate arguments exactly once.
17515 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
17516 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
17517 Delete.
17518 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
17519 they evaluate their arguments exactly once, irrespective of
17520 the compiler in use.
17521
17522 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
17523 is used by the currently-enabled check macros. This is:
17524 (tree_check_failed, tree_class_check_failed): For gcc.
17525 (tree_check, tree_class_check, cst_or_constructor_check,
17526 expr_check): For other compilers.
17527
17528 * gencheck.c: Do not define any *_CHECK1 macros.
17529
17530 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
17531 Mark Mitchell <mark@codesourcery.com>
17532
17533 * c-common.c (c_get_alias_set): Fix support for poitners and
17534 references.
17535
17536 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
17537
17538 * alias.c: Include tree.h.
17539 (nonlocal_reference_p, mark_constant_function): New functions.
17540 * flow.c (life_analysis): Call mark_constant_function.
17541 * rtl.h (mark_constant_function): Declare it.
17542
17543 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
17544
17545 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
17546 unrecognisable switches.
17547
17548 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17549
17550 * loop.c (recombine_givs): Set ix field after sorting.
17551 (recombine_givs): Remove bogus index / giv lockstep looping.
17552
17553 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17554
17555 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
17556 on CODE.
17557 (emit_store_flag_force): Use do_compare_rtx_and_jump.
17558 (do_cmp_and_jump): Formatting fixes.
17559 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
17560 do_compare_rtx_and_jump instead of compare_from_rtx.
17561 (do_compare_rtx_and_jump): New function; mostly copied from
17562 compare_from_rtx.
17563 (do_jump_for_compare): Delete.
17564 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
17565 MIN_EXPR.
17566 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
17567 of compare/do_jump_for_compare pairs.
17568 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
17569 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
17570 compare_from_rtx/do_jump_for_compare pairs.
17571 (do_jump_by_parts_equality): Likewise.
17572 (do_jump_by_parts_equality_rtx): Likewise.
17573 * expr.h (do_compare_rtx_and_jump): Declare.
17574 * optabs.c (prepare_cmp_insn): New function, contains most of the code
17575 that used to be in emit_cmp_insn.
17576 (cmp_available_p): New function.
17577 (prepare_operand): New function.
17578 (emit_cmp_and_jump_insn_1): New function, contains some code that used
17579 to be in emit_cmp_insn.
17580 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
17581 parameters to be pointers; don't emit final compare but modify some of
17582 the values pointed to by the args so the caller can perform the
17583 correct comparison.
17584 (expand_binop): Call emit_store_flag_force with signed forms of
17585 comparison code.
17586 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
17587 emit_jump_insn pair.
17588 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
17589 emit_cmp_and_jump_insn_1. Call emit_queue.
17590 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
17591 arg.
17592 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
17593 jump sets cc0 before deleting it.
17594 * integrate.c (expand_inline_function): Likewise.
17595 * unroll.c (unroll_loop): Similar changes in several places.
17596 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
17597 before deleting it.
17598
17599 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17600
17601 * Makefile.in (insn-recog.o): Update dependencies.
17602 * genrecog.c (main): Make generated file include "function.h".
17603
17604 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
17605
17606 * cse.c (cse_insn): Call never_reached_warning when a jump is
17607 changed to be unconditional.
17608 * flags.h: Declare warn_notreached.
17609 * flow.c (delete_block): Call never_reached_warning when
17610 a block is deleted.
17611 * jump.c (delete_barrier_successors): Call never_reached_warning
17612 when we delete everything after a BARRIER.
17613 (never_reached_warning): New function.
17614 * rtl.h: Declare never_reached_warning.
17615 * toplev.c (warn_notreached): New variable.
17616 (lang_independent_options): Set warn_notreached
17617 when -Wunreachable-code.
17618 (compile_file): We need line numbers for -Wunreachable-code.
17619
17620 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
17621
17622 * haifa-sched.c (insn_unit): Fix typo on out of range test.
17623 * sched.c (insn_unit): Likewise.
17624
17625 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
17626
17627 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
17628
17629 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17630
17631 * flow.c (create_edge_list): Use xmalloc, not malloc.
17632
17633 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
17634
17635 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
17636 C-style comments. Do not lose the character before double slash.
17637
17638 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17639
17640 * basic-block.h (struct edge_list): Stucture to maintain a vector
17641 of edges.
17642 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
17643 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
17644 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
17645 New function prototypes.
17646 * flow.c (create_edge_list): Function to create an edge list.
17647 (free_edge_list): Discards memory used by an edge list.
17648 (print_edge_list): Debug output showing an edge list.
17649 (verify_edge_list): Internal consistency check for an edge list.
17650 (find_edge_index): Function to find an edge index for a pred and succ.
17651
17652 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
17653
17654 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
17655 hashtable.
17656
17657 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
17658
17659 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
17660
17661 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
17662
17663 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
17664
17665 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
17666
17667 * toplev.c (rest_of_compilation): Allow machine dependent
17668 reorganisation pass to place information into the RTL dump
17669 file if it so wishes.
17670
17671 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
17672
17673 * explow.c (hard_function_value): Use VOIDmode instead of
17674 MAX_MACHINE_MODE.
17675 * stmt.c (expand_return): Likewise.
17676 * stor-layout.c (get_best_mode): Likewise.
17677
17678 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
17679 emit call instead of emit_insn call.
17680
17681 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
17682
17683 * configure.in: Handle --disable/enable-win32-registry.
17684 * install.texi: Document --disable/enable-win32-registry.
17685 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
17686 (WIN32_REGISTRY_KEY): New macro.
17687 * prefix.c: Use to enable/disable win32-specific code.
17688 (lookup_key): Use versioned key.
17689 * configure: Regenerate.
17690 * config.in: Likewise.
17691
17692 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
17693
17694 * cpplib.c (read_line_number): New fn, split out of...
17695 (do_line): Here.
17696
17697 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
17698
17699 tree.c (lang_unsave_expr_now) : New.
17700 (unsave_expr_now): Call lang_unsave_expr_now.
17701 tree.h (lang_unsave_expr_now) : New.
17702
17703 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
17704
17705 * toplev.c (flag_new_exceptions): On by default.
17706
17707 1999-08-13 Michael Meissner <meissner@cygnus.com>
17708
17709 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
17710
17711 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
17712
17713 * dwarfout.c (fundamental_type_code): Return FT_boolean for
17714 INTEGER_TYPE with precision==1, it's __java_boolean.
17715
17716 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17717
17718 * global.c (prune_preferences): Move some invariants out of the
17719 inner loop.
17720
17721 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
17722
17723 * configure.in (alpha*-dec-osf*): Add osf5.
17724
17725 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
17726
17727 * configure.in: Rework handling of ARM GNU/Linux slightly.
17728 (arm*-*-linux-gnuoldld): New target.
17729 * configure: Regenerate.
17730 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
17731 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
17732 * config/arm/linux-oldld.h: New file.
17733 * config/arm/linux-elf26.h: Don't include linux-elf.h.
17734 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
17735 Don't define.
17736 * config/arm/linux-elf.h (ASM_SPEC): Define.
17737 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
17738 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
17739 for 26-bit APCS and old linker.
17740 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
17741 `arm_elf'.
17742 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
17743 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
17744 don't define `arm' or `arm_elf'.
17745 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
17746 MULTILIB_DIRNAMES): Define. Fix typo in comment.
17747
17748 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
17749
17750 * rtl.texi: Fix typo.
17751
17752 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
17753
17754 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
17755
17756 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
17757
17758 * extend.texi (C++ Signatures): Remove node.
17759 * invoke.texi: Remove discussion of -fhandle-signatures,
17760 signature, sigof, __signature__, and __sigof__.
17761
17762 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
17763
17764 * Makefile.in (JAVAGC): Removed.
17765
17766 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
17767
17768 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
17769
17770 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
17771
17772 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
17773
17774 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
17775
17776 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
17777 a register that is already known to be a pointer.
17778
17779 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
17780
17781 * fixinc/inclhack.tpl: Only install assert.h conditionally.
17782 * fixinc/inclhack.sh: Regenerated.
17783 * fixinc/fixincl.sh: Regenerated.
17784
17785 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
17786
17787 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
17788 Fix documentation of -ansi flag to describe its C++ behavior.
17789 Remove bogus reference to GCC 2.9.
17790
17791 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
17792
17793 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
17794 note if it is non-NULL.
17795
17796 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17797
17798 * except.h (eh_nesting_info): Add new structure defintion.
17799 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
17800 (reachable_handlers, update_rethrow_references): Add function
17801 prototypes.
17802 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
17803 a rethrow symbol instead of an integer exception region number.
17804 * flow.c (Make_edges): Use new exception nesting routines to determine
17805 which handlers are reachable from a CALL or asynchronous insn.
17806 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
17807 goto receivers.
17808 (delete_eh_regions): Update rethrow labels, and don't delete
17809 regions which are the target of a rethrow.
17810 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
17811 avoid overloading the SYMBOL_REF_USED flag.
17812 (rethrow_symbol_map): Use new rethrow_ref field.
17813 (rethrow_used): Use new rethrow_ref field.
17814 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
17815 of an integer. Fix formatting.
17816 (output_exception_table_entry): Use new rethrow_ref field.
17817 (can_throw): Check for EH_REGION_NOTE before deciding
17818 whether a CALL can throw or not.
17819 (scan_region): Call rethrow_used() instead of accessing data structure.
17820 (update_rethrow_references): New function to make sure only regions
17821 which are still targets of a rethrow are flagged as such.
17822 (process_nestinfo): New static function to initialize a handler
17823 list for a specific region.
17824 (init_eh_nesting_info): New function to allocate and initialize
17825 the list of all EH handlers reachable from all regions.
17826 (reachable_handlers): New function to retrieve the list of handlers
17827 reachable from a specific region and insn.
17828 (free_eh_nesting_info): New function to dispose of a list of
17829 reachable handlers.
17830
17831 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17832
17833 * flow.c (split_edge): Set JUMP_LABEL field.
17834 (commit_one_edge_insertion): Set head correctly for insert_before.
17835 When inserting insns, update insn block numbers if allocated.
17836
17837 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17838
17839 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
17840 retry_incomplete_types): Add static prototype.
17841 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
17842 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
17843 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
17844 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
17845 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
17846 Constify a char*.
17847
17848 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
17849 dwarf2out_start_source_file, dwarf2out_line): Likewise.
17850
17851 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17852
17853 * output.h (assemble_name): Constify a char*.
17854
17855 * varasm.c (UNIQUE_SECTION, assemble_start_function,
17856 assemble_variable, assemble_name): Likewise.
17857
17858 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
17859
17860 * arm/pe.c (arm_pe_unique_section): Likewise.
17861
17862 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
17863
17864 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
17865
17866 * i386/interix.c (i386_pe_unique_section): Likewise.
17867
17868 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
17869
17870 * i386/winnt.c (i386_pe_unique_section): Likewise.
17871
17872 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
17873
17874 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
17875
17876 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
17877
17878 * pa/pa.c (output_call): Likewise.
17879
17880 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
17881
17882 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
17883
17884 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
17885 Likewise.
17886
17887 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
17888 Likewise.
17889
17890 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
17891
17892 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
17893 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
17894
17895 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
17896
17897 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17898
17899 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
17900
17901 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17902
17903 * tree.h (lang_identify): Constify a char*.
17904 (print_error_function): Add extern prototype. Constify a char*.
17905
17906 * c-lang.c (lang_identify): Constify a char*.
17907
17908 * objc/objc-act.c (lang_identify): Constify a char*.
17909
17910 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17911
17912 * genpeep.c (main): Make generated file include "function.h".
17913 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
17914
17915 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17916
17917 * Makefile.in: Update dependencies.
17918 * alias.c: Include "function.h"
17919 * c-decl.c: Likewise.
17920 * caller-save.c: Likewise.
17921 * calls.c: Likewise.
17922 * combine.c: Likewise.
17923 * cse.c: Likewise.
17924 * explow.c: Likewise.
17925 * final.c: Likewise.
17926 * global.c: Likewise.
17927 * graph.c: Likewise.
17928 * local-alloc.c: Likewise.
17929 * loop.c: Likewise.
17930 * optabs.c: Likewise.
17931 * profile.c: Likewise.
17932 * recog.c: Likewise.
17933 * regclass.c: Likewise.
17934 * regmove.c: Likewise.
17935 * reload.c: Likewise.
17936 * reorg.c: Likewise.
17937 * resource.c: Likewise.
17938 * sched.c: Likewise.
17939 * stupid.c: Likewise.
17940 * config/1750a/1750a.c: Likewise.
17941 * config/a29k/a29k.c: Likewise.
17942 * config/arc/arc.c: Likewise.
17943 * config/arm/arm.c: Likewise.
17944 * config/arm/thumb.c: Likewise.
17945 * config/c4x/c4x.c: Likewise.
17946 * config/clipper/clipper.c: Likewise.
17947 * config/convex/convex.c: Likewise.
17948 * config/fx80/fx80.c: Likewise.
17949 * config/i860/i860.c: Likewise.
17950 * config/m68k/m68k.c: Likewise.
17951 * config/m88k/m88k.c: Likewise.
17952 * config/mips/mips.c: Likewise.
17953 * config/pdp11/pdp11.c: Likewise.
17954 * config/pyr/pyr.c: Likewise.
17955 * config/romp/romp.c: Likewise.
17956 * config/sh/sh.c: Likewise.
17957 * config/tahoe/tahoe.c: Likewise.
17958 * config/vax/vax.c: Likewise.
17959 * config/we32k/we32k.c: Likewise.
17960 * config/sparc/sparc.c: Include "function.h".
17961 (mem_min_alignment): Test current_function rather than
17962 regno_pointer_align.
17963 * config/pa/pa.c: Likewise.
17964 (compute_frame_size): Delete declaration of
17965 current_function_outgoing_args_size.
17966 * config/arc/arc.h (current_function_varargs): Delete declaration.
17967 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
17968 declaration.
17969 * config/i370/i370.h (current_function_outgoing_args_size): Delete
17970 declaration.
17971 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
17972 current_function_uses_pic_offset_table.
17973 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
17974 of current_function_returns_pointer.
17975 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17976 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17977 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17978 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17979 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17980 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17981 * config/m88k/m88k.c: Include "function.h"
17982 (call_used_regs, current_function_pretend_args_size,
17983 current_function_outgoing_args_size, frame_pointer_needed): Delete
17984 declarations.
17985 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
17986 declaration.
17987 * config/mips/mips.h (current_function_calls_alloca): Delete
17988 declaration.
17989 * config/mn10200/mn10200.h (current_function_needs_context,
17990 rtx_equal_function_value_matters): Delete declarations.
17991 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
17992 flag_pic): Delete declarations.
17993 * config/pa/pa.h (current_function_pretend_args_size,
17994 current_function_decl): Delete declarations.
17995 * config/pa/som.h (current_function_varargs): Delete declaration.
17996 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
17997 declaration.
17998 * config/pyr/pyr.h (current_function_pretend_args_size,
17999 current_function_args_size, current_function_calls_alloca): Delete
18000 declarations.
18001 * config/sh/sh.h (current_function_varargs): Delete declaration.
18002 * config/sparc/sparc.h (current_function_outgoing_args_size,
18003 current_function_calls_alloca, current_function_decl): Delete
18004 declarations.
18005 * config/spur/spur.h (current_function_pretend_args_size,
18006 current_function_calls_alloca): Delete declarations.
18007 * config/v850/v850.c (current_function_outgoing_args_size): Delete
18008 declaration.
18009 * config/vax/vms.h (current_function_name): Delete declaration.
18010 * gcse.c: Include "function.h".
18011 (current_function_name, current_function_calls_setjmp): Delete
18012 declarations.
18013 * haifa-sched.c: Include "function.h".
18014 (forced_labels): Delete declaration.
18015 * jump.c: Likewise.
18016 * reg-stack.c: Likewise.
18017 * reload1.c: Likewise.
18018 * genemit.c (main): Make generated file include function.h.
18019 * genoutput.c (output_prologue): Likewise.
18020
18021 * builtins.c (saveregs_value, apply_args_value): Delete variables.
18022 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
18023 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
18024 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
18025 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
18026 macros for some of them.
18027 (emit_filename, emit_lineno): Delete declarations.
18028 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
18029 regno_pointer_* variables through current_function.
18030 (gen_inline_header_rtx): Delete function.
18031 (save_emit_status): Delete function.
18032 (set_new_last_label_num): New function.
18033 (clear_emit_caches): New function.
18034 (restore_emit_status): Just clear last_labelnum and call
18035 clear_emit_caches.
18036 (get_last_insn_anywhere): Variable sequence_stack is now accessed
18037 through macro seq_stack.
18038 (add_insn_after): Likewise.
18039 (add_insn_before): Likewise.
18040 (remove_insn): Likewise.
18041 (pop_topmost_sequence): Likewise.
18042 (in_sequence_p): Likewise.
18043 (start_sequence_for_rtl_expr): Likewise.
18044 (start_sequence): Likewise, and likewise for
18045 sequence_rtl_expr/seq_rtl_expr.
18046 (push_topmost_sequence): Likewise.
18047 (end_sequence): Likewise.
18048 (init_virtual_regs): Now takes a "struct emit_status *" argument.
18049 All callers changed. Store into that pointer instead of globals.
18050 (init_emit): Allocate emit elt of current_function.
18051 Changes for sequence_rtl_expr/sequence_stack renaming.
18052 Call clear_emit_caches instead of doing it in-line.
18053 Access regno_pointer_* variables through current_function.
18054 (init_emit_once) Don't clear sequence_stack.
18055
18056 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
18057 Delete variables.
18058 (arg_pointer_save_area): Delete declaration.
18059 (finish_expr_for_function): Renamed from init_queue; no longer static.
18060 (init_expr): Don't call init_queue.
18061 (save_expr_status, restore_expr_status): Delete functions.
18062 (expand_expr): Changes to reflect new layout of struct function.
18063 Don't access current_function_check_memory_usage when current_function
18064 is 0.
18065 * expr.h (forced_labels, save_expr_regs, saveregs_value,
18066 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
18067 current_function_outgoing_args_size, current_function_arg_offset_rtx,
18068 current_function_uses_const_pool, function_call_count,
18069 current_function_uses_pic_offset_table, nonlocal_labels,
18070 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
18071 current_function_check_memory_usage, nonlocal_goto_handler_slots,
18072 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
18073 declarations.
18074 (finish_expr_for_function): Declare.
18075 * flags.h (current_function_has_nonlocal_label,
18076 current_function_has_nonlocal_goto, current_function_is_thunk,
18077 current_function_has_computed_jump): Delete declarations.
18078 * flow.c (forced_labels): Delete declaration.
18079 * function.c (current_function_pops_args,
18080 current_function_returns_struct, current_function_returns_pcc_struct,
18081 current_function_needs_context, current_function_calls_setjmp,
18082 current_function_calls_longjmp, current_function_has_nonlocal_label,
18083 current_function_has_nonlocal_goto, current_function_is_thunk,
18084 current_function_has_computed_jump, current_function_calls_alloca,
18085 current_function_contains_functions, current_function_returns_pointer,
18086 current_function_epilogue_delay_list, current_function_args_size,
18087 current_function_pretend_args_size, current_function_arg_offset_rtx,
18088 current_function_outgoing_args_size, current_function_varargs,
18089 current_function_stdarg, current_function_args_info, cleanup_label,
18090 current_function_name, current_function_uses_const_pool,
18091 current_function_instrument_entry_exit, current_function_return_rtx,
18092 current_function_uses_pic_offset_table, nonlocal_labels,
18093 current_function_internal_arg_pointer, current_function_cannot_inline,
18094 current_function_check_memory_usage, function_call_count,
18095 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
18096 nonlocal_goto_stack_level, return_label, save_expr_regs,
18097 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
18098 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
18099 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
18100 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
18101 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
18102 Delete variables.
18103 (push_function_context_to): Don't save them. Don't call
18104 save_storage_status, save_emit_status or save_expr_status.
18105 (pop_function_context_from): Don't restore them. Don't call
18106 restore_storage_status or restore_expr_status.
18107 (get_func_frame_size): New function.
18108 (get_frame_size): Use it.
18109 (assign_outer_stack_local): Reflect some member name changes in struct
18110 function.
18111 (put_reg_into_stack): Likewise.
18112 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
18113 seq_rtl_expr.
18114 (fixup_var_refs): Likewise.
18115 (fix_lexical_addr): Likewise.
18116 (trampoline_address): Likewise.
18117 (prepare_function_start): Clear field inlinable of current_function.
18118 (init_function_for_compilation): New function.
18119 (expand_dummy_function_end): New function.
18120 (expand_function_end): Call finish_expr_for_function.
18121 * function.h (struct emit_status): New; fields moved here from struct
18122 function and from global variables. Add accessor macros for some of
18123 the fields.
18124 (struct expr_status): Likewise.
18125 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
18126 (struct function): Add fields expr and emit, inlinable, inl_emit,
18127 original_arg_vector, original_decl_initial, inl_last_parm_insn,
18128 inl_max_label_num. Add many comments.
18129 Add accessor macros for all elts of struct function that no longer
18130 have a global variable.
18131 (cleanup_label, return_label, frame_offset, tail_recursion_label,
18132 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
18133 stack_slot_list): Delete declarations.
18134 (get_func_frame_size): Declare.
18135 (save_expr_status, restore_expr_status, save_emit_status,
18136 save_storage_status, restore_storage_status): Delete declarations.
18137 (init_virtual_regs): Declare.
18138 * output.h (current_function_pops_args,
18139 current_function_returns_struct, current_function_returns_pcc_struct,
18140 current_function_needs_context, current_function_calls_setjmp,
18141 current_function_calls_longjmp, current_function_calls_alloca,
18142 current_function_has_nonlocal_label, current_function_varargs,
18143 current_function_has_computed_jump, current_function_returns_pointer,
18144 current_function_contains_functions, current_function_args_size,
18145 current_function_pretend_args_size, current_function_stdarg,
18146 current_function_outgoing_args_size, current_function_args_info,
18147 current_function_name, current_function_return_rtx,
18148 current_function_epilogue_delay_list,
18149 current_function_uses_const_pool, current_function_cannot_inline):
18150 Delete declarations.
18151 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
18152 regno_reg_rtx): Delete declaration.
18153 (REGNO_POINTER_FLAG): Delete macro.
18154 * stmt.c (expand_goto): Changes to reflect that some fields in struct
18155 function were renamed.
18156 * stor-layout.c (save_storage_status, restore_storage_status): Delete
18157 functions.
18158 * toplev.c: Include "function.h".
18159 (current_function_decl): Delete declaration.
18160 (compile_file): Call init_dummy_function_start and
18161 expand_dummy_function_end around some initializations that need to
18162 emit rtl.
18163 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
18164 Call init_function_for_compilation.
18165 * unroll.c: Include "function.h"
18166 (unroll_loop): Access regno_pointer_* variables through
18167 current_function.
18168
18169 * tree.h (struct tree_decl): Add elt f to saved_insns member.
18170 (DECL_SAVED_INSNS): use it.
18171 (expand_dummy_function_end): Declare.
18172 (init_function_for_compilation): Declare.
18173 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
18174 that it's no longer an INLINE_HEADER.
18175 (expand_call): Likewise.
18176 * integrate.c (finish_inline): Delete function.
18177 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
18178 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
18179 args. Don't generate an INLINE_HEADER rtx, just return the arg
18180 vector. All callers changed.
18181 (save_for_inline_copying): Create a duplicate struct emit_status to
18182 hold the emit state for compiling the current function. Use this and
18183 the other new fields in struct function that are for integration
18184 instead of an INLINE_HEADER.
18185 Use memcpy instead of bcopy.
18186 Store the current struct function in DECL_SAVED_INSNS of fndecl.
18187 (save_for_inline_nocopy): Similar changes, except no new emit_status
18188 is needed here.
18189 (expand_inline_function): Get information from function structure,
18190 not from an inline header rtx.
18191 (output_inline_function): Lose code to extract the necessary
18192 information from an inline header; simply put back the function
18193 structure into current_function. Clear its inlinable elt.
18194 * rtl.def (INLINE_HEADER): Delete.
18195 * rtl.h: Delete all accessors for an INLINE_HEADER.
18196 (gen_inline_header_rtx): Delete declaration.
18197 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
18198 Delete declarations.
18199 (REGNO_POINTER_ALIGN): Delete.
18200 (clear_emit_caches): Declare.
18201 (set_new_last_label_num): Declare.
18202
18203 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
18204
18205 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
18206
18207 * except.c (expand_eh_region_start_for_decl): Always start a new block.
18208 * stmt.c (is_eh_region): Make sure current_function is present, too.
18209
18210 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
18211
18212 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
18213 for 64bit PA targets.
18214
18215 * pa.h (SELECT_SECTION): Define.
18216 * som.h (SELECT_SECTION): Delete.
18217
18218 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18219
18220 * alias.c (init_alias_analysis): Wrap call to
18221 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
18222
18223 1999-08-07 Bruce Korb <autogen@linuxbox.com>
18224
18225 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
18226 <sys/asm.h> contains an asm comment with an apostrophe
18227 * fixinc/inclhack.sh: regen
18228 * fixinc/fixincl.x: regen
18229
18230 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
18231
18232 * function.c (init_function_start): Clear prologue & epilogue.
18233 (prologue_epilogue_contains): New function.
18234 * alias.c (init_alias_analysis): Use it.
18235 * rtl.h (prologue_epilogue_contains): Declare it.
18236
18237 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
18238
18239 * jump.c (onlyjump_p): New function.
18240 * rtl.h: Declare it.
18241 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
18242 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
18243
18244 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
18245
18246 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
18247 to invert loops. Simplify block scanning.
18248
18249 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18250
18251 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
18252 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
18253
18254 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
18255
18256 * config/sparc/liteelf.h: New file to support sparclite-elf target
18257 * config/sparc/t-sp86x: New file to support sparc86x targets
18258 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
18259 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
18260 * configure.in: Support above target triplets
18261 * configure: Regenerated
18262
18263 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
18264
18265 * fixinc/server.c (server_setup): Do not prefix function used as
18266 parameter with `&'.
18267
18268 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
18269
18270 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
18271 Remove fp reg alternatives.
18272
18273 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
18274
18275 * Makefiin (TAROUTOPTS): Kill.
18276 (install-headers-tar): Use "xpf" for tar headerfile extraction
18277 * i370/x-oe (TAROUTOPTS): Delete.
18278 * m68k/x-apollo68 (TAROUTOPTS): Delete.
18279 * m68k/x-hp320 (TAROUTOPTS): Delete.
18280 * m68k/x-hp320g (TAROUTOPTS): Delete.
18281 * gcc.texi: Update bug reporting text.
18282
18283 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18284
18285 * reg-stack.c (change_stack) Fixed problem with negative array index.
18286
18287 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
18288
18289 * extend.texi, install.texi: Fix spelling mistakes.
18290
18291 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
18292 (s-attrtab); No longer try to use pre-made insn-attrtab file.
18293 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
18294 PREMADE_ATTRTAB_MD.
18295 * mips/t-ecoff: Likewise.
18296 * mips/t-elf: Likewise.
18297 * mips/t-mips: Likewise.
18298 * mips/t-osfrose: Likewise.
18299 * mips/t-r3900: Likewise.
18300 * mips/t-svr3: Likewise.
18301 * mips/t-svr4: Likewise.
18302 * mips/t-ultrix: Likewise.
18303
18304 * gcc.texi: Document recommend means to provide software floating
18305 point libraries in libgcc.a
18306
18307 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
18308
18309 * c-lex.c (yylex): We can have a number with no digits.
18310
18311 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
18312
18313 * jump.c (delete_prior_computation): New function, broken
18314 out of delete_computation. Check for side effects with
18315 side_effects_p instead of FIND_REG_INC_NOTE. Handle
18316 multi-word hard registers.
18317 (delete_computation): Use it. Check for side effects with
18318 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
18319 missing REG_DEAD note for a register which is both set and
18320 used by an insn.
18321
18322 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
18323
18324 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
18325 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
18326 (ASM_FILE_START): Import _mcount with the right type.
18327 (ASM_DECLARE_FUNCTION_NAME): Define.
18328 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
18329 * pa.c (output_function_prologue): Always emit the function's label
18330 here.
18331 * pa.h (TEXT_SPACE_P): Define.
18332 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
18333 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
18334 * som.h (TEXT_SPACE_P): Delete.
18335 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
18336 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
18337
18338 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
18339
18340 * expr.c (emit_group_load): Allow src to be a CONCAT.
18341
18342 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18343
18344 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
18345 (___mulsi3): Use '!' comment character.
18346
18347 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18348
18349 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
18350
18351 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
18352
18353 * gcc.c: Update URLs and mail addresses.
18354 * gcc.texi: Likewise.
18355
18356 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
18357
18358 * rs6000.c (current_file_function_operand): Return zero for
18359 weak functions.
18360 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
18361 weak symbols.
18362 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
18363 for weak symbols.
18364
18365 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
18366
18367 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
18368 allocate space in the stack frame for the PIC register.
18369
18370 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
18371
18372 * m68k.md (xordi3, anddi3): These patterns are not available on
18373 the coldfire.
18374
18375 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
18376
18377 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
18378 (PUT_REAL): Likewise.
18379
18380 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18381
18382 * final.c (shorten_branches): Don't add an alignment for loops
18383 that have no label inside.
18384
18385 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18386
18387 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
18388 prototypes in macro HAVE_cmpstrsi.
18389
18390 * cpplib.c (cpp_get_token): Remove unused label `op3'.
18391
18392 * emit-rtl.c (operand_subword): Remove unused variable
18393 `bits_per_word'.
18394
18395 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
18396
18397 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
18398
18399 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
18400
18401 * cpphash.c (macroexpand): Delete leading whitespace when arg
18402 is concatenated before.
18403 (unsafe_chars): Correct test for whether + and - can extend a
18404 token.
18405
18406 * cppinit.c (cpp_start_read): Do dependencies for
18407 -include/-imacros files also.
18408
18409 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
18410 tokenizing non-directive lines.
18411 (cpp_expand_to_buffer): Temporarily disable no-output mode.
18412 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
18413 the input file.
18414
18415 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
18416
18417 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
18418
18419 * c-lex.c: Sync with C++ frontend.
18420 (linemode): New variable.
18421 (parse_float): imag, conversion_errno, and type are output only.
18422 (yylex): Adjust. Move initial '.' case into main switch.
18423 Use linemode.
18424 (handle_generic_pragma): Just deal with tokens.
18425 (readescape): Use ISXDIGIT and ISGRAPH.
18426 * c-parse.in: Add END_OF_LINE token.
18427
18428 * c-lex.c (lang_init): Generalize.
18429 (nextchar): Remove. Replace uses with UNGETC.
18430 (skip_white_space): Handle linemode here. Optimize for cpplib.
18431 (skip_white_space_on_line): Remove.
18432 (extend_token_buffer_to): New fn.
18433 (extend_token_buffer): Use it.
18434 (read_line_number, check_newline): Just deal with tokens.
18435 (token_getch, token_put_back): New fns.
18436 (yylex): Use them. More cpplib optimizations. Simplify.
18437
18438 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
18439 Jason Merrill <jason@yorick.cygnus.com>
18440
18441 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
18442 (consume_string): Make this smart about USE_CPPLIB.
18443 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
18444 (yylex): Rewrite to be intelligent about USE_CPPLIB.
18445 Also, clean up cases where we redundantly set token_buffer[0].
18446 (read_line_number): New fn.
18447 (ignore_escape_flag): New variable.
18448
18449 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
18450
18451 * a29k/t-a29kbare: Fix some comments.
18452 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
18453 (FPBIT, DPBIT): Define.
18454 * a29k/t-vx29k: Likewise.
18455 * arc/t-arc: Likewise.
18456 * arm/t-arm-elf: Likewise.
18457 * arm/t-bare: Likewise.
18458 * arm/t-pe: Likewise.
18459 * arm/t-pe-thumb: Likewise.
18460 * arm/t-semi: Likewise.
18461 * arm/t-thumb: Likewise.
18462 * arm/t-thumb-elf: Likewise.
18463 * arm/t-thumb-linux: Likewise.
18464 * h8300/t-h8300: Likewise.
18465 * i960/t-i960: Likewise.
18466 * i960/t-vxworks960: Likewise.
18467 * m32r/t-m32r: Likewise.
18468 * mips/t-ecoff: Likewise.
18469 * mips/t-elf: Likewise.
18470 * mips/t-r3900: Likewise.
18471 * pa/t-pro: Likewise.
18472 * rs6000/t-aix43: Likewise.
18473 * rs6000/t-beos: Likewise.
18474 * rs6000/t-newas: Likewise.
18475 * rs6000/t-ppccomm: Likewise.
18476 * rs6000/t-rs6000: Likewise.
18477 * rs6000/t-winnt: Likewise.
18478 * rs6000/t-xnewas: Likewise.
18479 * rs6000/t-xrs6000: Likewise.
18480 * sh/t-sh: Likewise.
18481 * sparc/t-elf: Likewise.
18482 * sparc/t-sparcbare: Likewise.
18483 * sparc/t-sparclite: Likewise.
18484 * sparc/t-splet: Likewise.
18485 * v850/t-v850: Likewise.
18486 * mn10200/t-mn10200: Fix comments.
18487 * mn10300/t-mn10300: Likewise.
18488
18489 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
18490 dummy operand. Allocate a new pseudo for the dummy operand.
18491 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
18492
18493 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
18494
18495 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
18496
18497 * configure: Rebuilt.
18498 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
18499
18500 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
18501
18502 * recog.c (preproces_constraints): Zero recog_op_alt before
18503 processing the constraints.
18504
18505 * arm.c (typedef minipool_node): Renamed from pool_node.
18506 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
18507 (add_minipool_constant): New function.
18508 (dump_minipool): New function.
18509 (find_barrier): Remove special case for getting the insn size of
18510 an insn that references the constant pool.
18511 (minipool_fixup): New structure.
18512 (push_minipool_barrier): New function.
18513 (push_minipool_fix): New function.
18514 (note_invalid_constants): New function.
18515 (add_pool_constant, dump_table, fixit, broken_move): Delete.
18516 (arm_reorg): Rewrite code to fix up the constant pool into a
18517 series of mini-pools embedded in the insn stream.
18518 (arm_output_epilogue): New function, made mainly from the body
18519 of output_func_epilogue.
18520 (output_func_epilogue): Move insn generation part of epilogue code
18521 to arm_output_epilogue.
18522 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
18523 * arm.md (pool_range): New attribute.
18524 (zero_extendqidi2): Add attribute pool_range.
18525 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
18526 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
18527 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
18528 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
18529 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
18530 (epilogue): New expand.
18531 (epilogue_insn): New insn. Call arm_output_epilogue.
18532
18533 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
18534 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
18535
18536 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
18537
18538 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
18539
18540 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
18541
18542 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
18543
18544 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
18545
18546 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
18547
18548 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
18549
18550 * global.c: Fix comment.
18551
18552 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
18553
18554 * gcc.c (access_check): New static function.
18555 (find_a_file): Use it when searching a directory list.
18556 * collect2.c (find_a_file): Don't accept directories found when
18557 searching a directory list.
18558
18559 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
18560
18561 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
18562 function parameters with `&'.
18563 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
18564
18565 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
18566
18567 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
18568 or tidy_fallthru_edge if the last insn in the block is not
18569 an unconditional jump or a simple conditional jump.
18570
18571 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18572
18573 * Makefile.in (c-decl.o): Depends on defaults.h.
18574
18575 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
18576
18577 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
18578 PA1.1 and above.
18579 (CLASS_MAX_NREGS): Likewise.
18580
18581 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
18582
18583 * cse.c (cse_insn): Fix dumb thinko in last change.
18584
18585 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18586
18587 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
18588 "const char *".
18589
18590 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
18591
18592 * dwarf2out.c (add_location_or_const_value_attribute): Correct
18593 test for sizes of passed and declared parameter types.
18594
18595 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18596
18597 * fixincludes: Fix the return type of bsearch, char* -> void*.
18598
18599 * fixinc/inclhack.def: Likewise.
18600
18601 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
18602
18603 * invoke.texi (-fdump-translation-unit): New option.
18604
18605 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
18606
18607 * expr.h (PROMOTE_PROTOTYPES): Move ...
18608 * defaults.h: ... to here.
18609 * c-decl.c: Include defaults.h instead of expr.h.
18610 * c-typeck.c: Include defaults.h.
18611
18612 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
18613
18614 * toplev.h (errorcount): Declare.
18615 (warningcount): Likewise.
18616 (sorrycount): Likewise.
18617 * c-lex.c (errorcount): Don't declare.
18618 * dwarf2out.c (errorcount): Don't declare.
18619
18620 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
18621
18622 * config/libgloss.h: Add a note discouraging use with ELF.
18623 * configure.in: Don't use libgloss.h for ELF targets.
18624 Always use_collect2 on a.out targets.
18625
18626 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
18627
18628 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
18629 (force_to_mode, case ASHIFTRT): Add shiftrt label.
18630
18631 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18632
18633 * loop.c (strength_reduce): When doing biv->giv conversion, update
18634 reg note of NEXT->insn.
18635
18636 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
18637
18638 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
18639
18640 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
18641
18642 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
18643 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
18644 Ensure expr.h is included.
18645 * c-typecheck.c (convert_arguments): Ditto.
18646
18647 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
18648
18649 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
18650 * config/convex/convex.h: Ditto.
18651 * config/dsp16xx/dsp16xx.h: Ditto.
18652 * config/fx80/fx80.h: Ditto.
18653 * config/gmicro/gmicro.h: Ditto.
18654 * config/i370/i370.h: Ditto.
18655 * config/i386/i386.h: Ditto.
18656 * config/m32r/m32r.h: Ditto.
18657 * config/m68k/m68k.h: Ditto.
18658 * config/m88k/m88k.h: Ditto.
18659 * config/mips/mips.h: Ditto.
18660 * config/pa/pa.h: Ditto.
18661 * config/pyr/pyr.h: Ditto.
18662 * config/tahoe/tahoe.h: Ditto.
18663 * config/we32k/we32k.h: Ditto.
18664
18665 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
18666 based on arch size.
18667
18668 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
18669
18670 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
18671 from comment.
18672
18673 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
18674
18675 1999-08-02 Richard Henderson <rth@cygnus.com>
18676
18677 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
18678 for the register spill block.
18679 (m32r_va_arg): New.
18680 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
18681 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
18682
18683 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
18684 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
18685 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
18686
18687 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
18688
18689 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
18690 MAX_WCHAR_TYPE defined in sparc.h.
18691 * config/sparc/linuxaout.h: Likewise.
18692 * config/sparc/linux64.h: Likewise.
18693 Also default to -mvis if CPU is UltraSPARC.
18694
18695 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
18696
18697 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
18698 (RTX_OK_FOR_OLO10): Likewise.
18699 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
18700 %lo(), allow it in addresses...
18701 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
18702 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
18703 does not make sense.
18704 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
18705 (sparc_output_scratch_registers): New function.
18706 (output_function_prologue, sparc_flat_output_function_prologue): Use
18707 it.
18708 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
18709 defined.
18710 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
18711 * configure.in: Add check for .register pseudo-op support in as and
18712 check for offsetable %lo().
18713 * acconfig.h: Add templates for the above checks.
18714 * configure: Regenerate.
18715
18716 1999-08-02 Richard Henderson <rth@cygnus.com>
18717
18718 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
18719 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
18720 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
18721
18722 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18723
18724 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
18725 reg_biv_class.
18726
18727 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
18728
18729 * config/float-sparc.h: New file.
18730 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
18731 sparc-*-linux-gnu and sparc64-*-linux*.
18732
18733 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18734
18735 * rs6000.c (rs6000_va_list): Type is an array.
18736 (rs6000_va_start): Don't doubly adjust for varargs.
18737 (rs6000_va_arg): Evaluate long long GPR adjustment.
18738
18739 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
18740
18741 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
18742 -maix64 and -maix32.
18743 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
18744 LINK_SPEC): Change appropriately.
18745 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
18746 (u_short_cint_operand): Likewise.
18747 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
18748 for 64-bit hosts.
18749 * rs6000/t-aix43 (MULTILIB): Change to -m64.
18750
18751 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
18752
18753 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
18754
18755 * rs6000/rs6000.c (num_insns_constant_wide): Correct
18756 for type promotion.
18757 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
18758 (non_add_cint_operand): Likewise.
18759 (logical_operand): Likewise.
18760 (non_logical_cint_operand): Likewise.
18761 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
18762 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
18763 (rs6000_select_rtx_section): Suppress warning.
18764 (small_data_operand): Suppress warning.
18765 (rs6000_got_register): Suppress warning.
18766 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
18767 type, so `J' is generally the wrong constraint for a SImode value;
18768 use `L' instead.
18769 (andsi3_internal2): Likewise.
18770 (andsi3_internal3): Likewise.
18771 (iorsi3_internal1): Likewise.
18772 (xorsi3_internal1): Likewise.
18773 (movsi): Likewise.
18774 (movsf_softfloat): Likewise.
18775 (scc insns): Likewise.
18776 (movsi+2): Preserve sign bits of SImode constant.
18777 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
18778 (movdf+1): Sign-extend properly.
18779 (movdi_32+1): Sign-extend properly.
18780 (scc insns): Sign-extend properly.
18781
18782 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
18783 K, L, and T.
18784
18785 1999-08-02 Richard Henderson <rth@cygnus.com>
18786
18787 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
18788 -mcpu parsing code.
18789 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
18790 * alpha.md (all fp insns): Likewise.
18791
18792 1999-08-02 Nick Clifton <nickc@cygnus.com>
18793
18794 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
18795 already defined.
18796
18797 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
18798
18799 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
18800 pic_load_label generator directly.
18801 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
18802 No longer a named pattern.
18803
18804 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
18805
18806 * explow.c (force_reg): Call force_operand if X does not
18807 satisfy general_operand.
18808
18809 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
18810
18811 * fix-header.c (main): When testing for CONTINUED, use string
18812 equality, not pointer equality.
18813
18814 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
18815
18816 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
18817
18818 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
18819
18820 * cse.c (cse_insn): Fix loop which deletes insns after a jump
18821 that has become an unconditional jump.
18822
18823 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
18824 (output_function_epilogue): Similarly.
18825
18826 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18827
18828 * tree.h (init_dummy_function_start): Declare.
18829
18830 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18831
18832 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
18833 last_expr_type, last_expr_value, block_start_count, block_stack,
18834 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
18835 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
18836 dynamically in stmt elt of struct function for each function.
18837 (struct nesting): Rename function_call_count elt to n_function_calls,
18838 target_temp_slot_level to block_target_temp_slot_level. All users
18839 changed.
18840 (struct stmt_status): New structure definition.
18841 Add many accessor macros for stmt_status elements which previously
18842 were global variables.
18843 (init_stmt_for_function): Allocate stmt elt for current_function.
18844 Reflect that block_start_count was renamed to
18845 current_block_start_count.
18846 (save_stmt_status, restore_stmt_status): Delete functions.
18847 (preserve_subexpressions_p): Don't access loop_stack when outside
18848 a function.
18849 (expand_start_bindings): Reflect that block_start_count was renamed to
18850 current_block_start_count.
18851 (expand_fixup): Likewise.
18852 (expand_decl): Don't access block_stack when outside a function.
18853 (expand_decl_cleanup): Likewise.
18854 (expand_dcc_cleanup): Likewise.
18855 (expand_dhc_cleanup): Likewise.
18856 (expand_anon_union_decl): Likewise.
18857 (set_file_and_line_for_stmt): New function.
18858 (in_control_zone_p): New function.
18859
18860 * function.h (struct function): Add new elt stmt.
18861 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
18862 case_stack, nesting_stack, nesting_depth, block_start_count,
18863 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
18864 emit_lineno, goto_fixup_chain.
18865 (save_eh_status, restore_eh_status, save_stmt_status,
18866 restore_stmt_status): Delete declarations.
18867 * function.c (push_function_context_to): Don't call save_stmt_status.
18868 (pop_function_context_to): Don't call restore_stmt_status.
18869 * tree.h (in_control_zone_p): Declare.
18870 * rtl.h (set_file_and_line_for_stmt): Declare.
18871
18872 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
18873 call set_file_and_line_for_stmt.
18874
18875 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
18876
18877 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
18878 Also update copyright.
18879
18880 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18881
18882 * c-pragma.c: Don't include "except.h".
18883 * emit-rtl.c: Likewise.
18884 * stor-layout.c: Likewise.
18885 * tree.c: Likewise.
18886 * varasm.c: Likewise.
18887
18888 * flow.c: Include "function.h".
18889 * tree.h (init_dummy_function_start): Declare new function.
18890
18891 * except.h (struct eh_status): New structure.
18892 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
18893 been included.
18894 (eh_return_stub_label, ehstack, catchstack, ehqueue,
18895 catch_clauses, false_label_stack, caught_return_label_stack,
18896 protect_list, current_function_ehc): Add accessor macros for the
18897 corresponding fields in current_function->eh; delete declarations
18898 for all items that used to be declared here.
18899 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
18900 catch_clauses, false_label_stack, caught_return_label_stack,
18901 protect_list, current_function_ehc): Delete variables.
18902 (init_eh_for_function): Allocate current_function->eh.
18903 (save_eh_status, restore_eh_status): Delete functions.
18904
18905 * function.h (struct function): Add fields next_global and eh.
18906 Delete all exception handling related fields.
18907 * function.c (current_function): New variable.
18908 (all_functions): New variable.
18909 (push_function_context_to): Don't allocate a struct function,
18910 use current_function instead. Call init_dummy_function_start when
18911 outside a function. Clear current_function before returning.
18912 (pop_function_context_from): Restore current_function.
18913 Don't free the restored struct function.
18914 (prepare_function_start): New function.
18915 (init_dummy_function_start): New function.
18916 (init_function_start): Break out some code into prepare_function_start
18917 and call it here.
18918
18919 * stmt.c (save_stmt_status): Don't call save_eh_status.
18920 (restore_stmt_status): Don't call restore_eh_status.
18921
18922 * Makefile.in: Update dependencies.
18923
18924 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
18925
18926 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
18927 of depending on a magic constant value. Update comments.
18928 (hppa_expand_prologue): Similarly.
18929
18930 * pa.md (reload_indi, reload_outdi): Allow any register for the
18931 original reload register.
18932
18933 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
18934
18935 * cccp.c (print_help): Change marcos to macros.
18936
18937 1999-07-30 Richard Henderson <rth@cygnus.com>
18938
18939 * c-typeck.c (initializer_constant_valid_p): Move ...
18940 * c-common.c (initializer_constant_valid_p): ... here. Use
18941 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
18942 of label addresses.
18943 * c-common.h (initializer_constant_valid_p): Declare.
18944 * c-tree.h (initializer_constant_valid_p): Remove.
18945
18946 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
18947
18948 * config/i386/sol2-c1.asm: Align the stack.
18949 * config/i386/sol2-gc1.asm: Likewise.
18950
18951 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
18952
18953 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
18954 -Asparclite for sparc86x.
18955 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
18956 sparc86x.
18957 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
18958
18959 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
18960
18961 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
18962 the user if using the non-default arch size in BI_ARCH configuration.
18963 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
18964
18965 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
18966 Fix patterns so that they actually match.
18967 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
18968 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
18969 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
18970 TARGET_HARD_MUL32.
18971 (mulsidi3): Reflect this in the expand.
18972 (smulsi3_highpart): Only on TARGET_ARCH32.
18973 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
18974 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
18975 (umulsidi3): Reflect this in the expand.
18976 (umulsi3_highpart): Only on TARGET_ARCH32.
18977 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
18978 don't require g0 to be zero.
18979 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
18980 ({,u}divsi3): New expands.
18981 ({,u}divsi3_sp64): New patterns.
18982 (after lshrdi3_v8plus): Four new patterns to help combiner
18983 optimizing nested mixed mode shifts.
18984
18985 * config/sparc/sparc.c (sparc_override_options): Use deprecated
18986 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
18987 speed things up. Don't use them by default on plain v9 in 64bit
18988 mode, according to what SPAMv9 sais.
18989
18990 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
18991 top 32 bits of %[og][0-7] in signal handlers.
18992 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
18993
18994 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
18995
18996 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
18997 (ashlsi3): Corresponding changes.
18998
18999 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
19000
19001 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
19002
19003 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
19004
19005 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19006
19007 * arm.h (Hint): Delete macro.
19008 Substitute HOST_WIDE_INT for Hint in some prototypes.
19009 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
19010
19011 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
19012
19013 * builtins.c (expand_builtin_setjmp): Use force_operand to
19014 make sure that the buffer address is in a suitable form to be
19015 passed to force_reg.
19016
19017 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
19018
19019 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
19020 them here.
19021
19022 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
19023
19024 * pa.md (indirect_jump): Remove mode from match_operand. Verify
19025 proper mode in the condition string.
19026 (icacheflush, dcacheflush): Remove modes from match_operands.
19027
19028 * pa.c (emit_move_sequence): Always convert scratch_reg to the
19029 proper mode before using it.
19030
19031 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
19032 pair.
19033
19034 * pa.c (store_reg): Do not call add_high_const generator directly.
19035 (load_reg, set_reg_plus_d): Likewise.
19036 * pa.md (add_high_const): No longer a named pattern.
19037
19038 * pa.c (legitimize_address): Consistently use Pmode rather than
19039 SImode. Do not call gen_pic2_highpart directly anymore.
19040 * pa.md (pic2_highpart): No longer a named pattern.
19041 (pic2_lo_sum): Similarly. Reformat to make more readable.
19042
19043 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
19044 needed.
19045
19046 * README: Update.
19047
19048 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19049
19050 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
19051
19052 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
19053
19054 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
19055 and tag the spill mems.
19056 (hppa_va_start): New.
19057 (hppa_va_arg): New.
19058 * pa.h (EXPAND_BUILTIN_VA_START): New.
19059 (EXPAND_BUILTIN_VA_ARG): New.
19060
19061 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
19062
19063 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
19064 and tag the spill mems.
19065 (mn10300_va_start): New.
19066 (mn10300_va_arg): New.
19067 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
19068 (EXPAND_BUILTIN_VA_ARG): New.
19069
19070 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
19071
19072 * mn10200.c (mn10200_va_arg): New.
19073 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
19074
19075 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
19076
19077 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
19078 rather than play with TREE_INT_CST_LOW.
19079
19080 1999-07-27 Philip Blundell <pb@nexus.co.uk>
19081
19082 * config/arm/telf.h: Include dbxelf.h.
19083 (CPP_PREDEFINES): Only define if not already defined.
19084 (ASM_IDENTIFY_GCC): Likewise.
19085 (SUBTARGET_EXTRA_SECTIONS): Likewise.
19086 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
19087 * config/arm/thumb.h (LINK_SPEC): Only define if not already
19088 defined.
19089 (DBX_DEBUGGING_INFO): Don't define.
19090 * config/arm/linux-telf.h: New file.
19091 * config/arm/linux-tgas.h: New file.
19092 * config/arm/t-thumb-linux: New file.
19093 * config/arm/uclinux-elf.h: New file.
19094 * config/arm/uclinux-telf.h: New file.
19095 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
19096 thumb-*-uclinux): New targets.
19097 * configure: Regenerate.
19098
19099 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
19100
19101 * pa.md (post_store, pre_load): New expanders.
19102 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
19103 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
19104 need to directly generate RTL for them.
19105 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
19106 changes.
19107
19108 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
19109
19110 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
19111 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
19112 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
19113 (secndary_reload_class): Make TARGET_ELF conditional compile.
19114 (print_operand_address): Similar.
19115 (output_toc): Print all values as hex.
19116 (get_issue_rate): Rearrange and add RS64A and PPC630.
19117 * rs6000.h (processor_type): Add RS64A and PPC630.
19118 (PROCESSOR_POWERPC64): New.
19119 (PROMOTE_MODE): Use word_mode.
19120 (RTX_COSTS): Add RS64A and PPC630.
19121 * rs6000.md (scheduling information): Add lmul and ldiv
19122 representing 64-bit integer multiply and divide. Add rs64a and
19123 PPC630 information.
19124 (ashldi3): Add support for "rldic" instruction.
19125 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
19126
19127 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
19128
19129 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
19130 instead of V8 for sparclite86x in cpu_table.
19131
19132 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19133
19134 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
19135 output_file_directive.
19136
19137 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
19138
19139 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
19140 tree for op1, not the rtl.
19141
19142 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
19143
19144 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
19145 to m88k_va_start, leaving only the register spill.
19146 (m88k_build_va_list): New.
19147 (m88k_va_start): New.
19148 (m88k_va_arg): New.
19149 * m88k.h (BUILD_VA_LIST_TYPE): New.
19150 (EXPAND_BUILTIN_VA_START): New.
19151 (EXPAND_BUILTIN_VA_ARG): New.
19152
19153 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
19154
19155 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
19156 Rename from expand_builtin_saveregs.
19157 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
19158
19159 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
19160
19161 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
19162 for the register spill block.
19163 (i960_build_va_list): New.
19164 (i960_va_start): New.
19165 (i960_va_arg): New.
19166 * i960.h (BUILD_VA_LIST_TYPE): New.
19167 (EXPAND_BUILTIN_VA_START): New.
19168 (EXPAND_BUILTIN_VA_ARG): New.
19169 * i960.md (store_multiple): Use change_address on individul mems.
19170
19171 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
19172
19173 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
19174 an ARRAY_TYPE.
19175 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
19176 (expand_builtin_va_end): Evaluate arg for side effects.
19177 * c-common.c (c_common_nodes_and_builtins): Construct a
19178 va_list_arg_type_node to handle array decomposition to pointer.
19179
19180 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
19181
19182 * except.c (st_dynamic_cleanup): Use force_operand on the
19183 buffer's address.
19184
19185 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
19186
19187 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
19188 * c4x.c (c4x_va_arg): New.
19189
19190 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
19191
19192 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
19193 has manual_pop set.
19194
19195 1999-07-26 Nathan Sidwell <nathan@acm.org>
19196
19197 * eh-common.h (__eh_matcher): Prototype correctly.
19198
19199 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
19200
19201 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
19202 (TARGET_SINGLE_PIC_BASE): Likewise.
19203 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
19204 definitions.
19205 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
19206 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
19207 (TARGET_OPTIONS): Add -mpic-register=N.
19208 (OUTPUT_INT_ADDR_CONST): New macro.
19209 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
19210 LEGITIMATE_PIC_OPERAND_P): Likewise.
19211 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
19212 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
19213 output_addr_const directly.
19214 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
19215 ARM port.
19216 (thumb_pic_register, thumb_pic_register_string): Declare.
19217
19218 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
19219 from arm.c.
19220 (label_mentioned_p): New function: Imported from arm.c.
19221 (legitimize_pic_address): New function: Imported from arm.c.
19222 (is_pic):New function: Imported from arm.c.
19223 (thumb_finalize_pic):New function: Imported from arm.c.
19224 (add_constant): Cope with PIC constants.
19225 (fixit): Cope with PIC constants.
19226 (output_return): Do not treat the PIC register as live if
19227 TARGET_SINGLE_PIC_BASE is true.
19228 (thumb_function_prologue): Do not treat the PIC register as live if
19229 TARGET_SINGLE_PIC_BASE is true.
19230 (thumb_expand_prologue): Do not treat the PIC register as live if
19231 TARGET_SINGLE_PIC_BASE is true.
19232 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
19233 TARGET_SINGLE_PIC_BASE is true.
19234 (thumb_print_operand): Accept '|'.
19235 (thumb_override_options): Process PIC options.
19236
19237 * config/arm/thumb.md (movsi): Support PIC.
19238 (call_insn): Change "i" constraint to "X".
19239 (call_value_insn): Likewise.
19240 (consttable_4, consttable_8, consttable_end): Set and clear
19241 "making_const_table" as appropriate.
19242 (pic_load_addr, pic_add_dot_plus_four): New insns.
19243
19244 * invoke.texi (Thumb Options): Fix spelling. Document new
19245 options -msingle-pic-base and -mpic-register=.
19246
19247 1999-07-26 Andrew Haley <aph@cygnus.com>
19248
19249 * config/m32r/initfini.c (__init): Use a full word immediate for
19250 __fini: this allows it to be placed in any memory region.
19251
19252 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
19253 -mmodel=medium. This is OK for all memory models.
19254
19255 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
19256
19257 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
19258 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
19259
19260 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
19261
19262 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
19263 defined.
19264
19265 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
19266
19267 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
19268
19269 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
19270 (BUILD_VA_LIST_TYPE): New.
19271 (EXPAND_BUILTIN_VA_START): New.
19272 (EXPAND_BUILTIN_VA_ARG): New.
19273 * i860.c (output_delayed_branch): Disable.
19274 (output_delay_insn): Likewise.
19275 (i860_saveregs): New.
19276 (i860_build_va_list): New.
19277 (i860_va_start): New.
19278 (i860_va_arg): New.
19279 * i860.md: Disable all peepholes using output_delayed_branch.
19280 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
19281
19282 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
19283
19284 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
19285 (BUILD_VA_LIST_TYPE): New.
19286 (EXPAND_BUILTIN_VA_START): New.
19287 (EXPAND_BUILTIN_VA_ARG): New.
19288 * clipper.c (clipper_builtin_saveregs): Only dump registers.
19289 Return the address of the save area.
19290 (clipper_build_va_list): New.
19291 (clipper_va_start): New.
19292 (clipper_va_arg): New.
19293
19294 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
19295
19296 * arc.h (EXPAND_BUILTIN_VA_START): New.
19297 (EXPAND_BUILTIN_VA_ARG): New.
19298 * arc.c (arc_setup_incoming_varargs): Set alias set of
19299 varargs save area.
19300 (arc_va_start): New.
19301 (arc_va_arg): New.
19302
19303 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
19304
19305 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
19306 (BUILD_VA_LIST_TYPE): New.
19307 (EXPAND_BUILTIN_VA_START): New.
19308 (EXPAND_BUILTIN_VA_ARG): New.
19309 * alpha.c (alpha_builtin_saveregs): Delete.
19310 (alpha_build_va_list): New.
19311 (alpha_va_start): New.
19312 (alpha_va_arg): New.
19313
19314 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
19315
19316 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
19317 column zero.
19318 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
19319 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
19320
19321 * gcc.texi: More changes related to list conversion.
19322 * invoke.texi: Likewise.
19323
19324 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
19325
19326 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
19327 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
19328 (expand_builtin_next_arg): Accept ARGLIST not EXP.
19329 (stabilize_va_list): New function.
19330 (std_expand_builtin_va_start): New function.
19331 (expand_builtin_va_start): New function.
19332 (get_varargs_alias_set): New function.
19333 (std_expand_builtin_va_arg): New function.
19334 (expand_builtin_va_arg): New function.
19335 (expand_builtin_va_end): New function.
19336 (expand_builtin_va_copy): New function.
19337 (expand_builtin): Call them.
19338 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
19339 __builtin_{varargs_start,stdarg_start,end,copy}.
19340 (build_va_arg): New function.
19341 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
19342 (build_va_arg): Declare.
19343 * c-decl.c (ptr_type_node, va_list_type_node): New.
19344 * c-parse.gperf (__builtin_va_arg): New.
19345 * c-parse.in (VA_ARG): New token.
19346 (unary_expr): Recognize it.
19347 * expr.c (expand_expr): Expand VA_ARG_EXPR.
19348 * expr.h (std_expand_builtin_va_start): Declare.
19349 (std_expand_builtin_va_arg): Declare.
19350 (expand_builtin_va_arg): Declare.
19351 (get_varargs_alias_set): Declare.
19352 * tree.def (VA_ARG_EXPR): New.
19353 * tree.h (BUILT_IN_VARARGS_START): New.
19354 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
19355 (ptr_type_node, va_list_type_node): Declare.
19356 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
19357 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
19358 * m88k.h, m88k.c: Likewise.
19359 * mn10300.h, mn10300.c: Likewise.
19360 * pa.h, pa.c: Likewise.
19361 * rs6000.h, rs6000.c: Likewise.
19362 * sh.h, sh.c: Likewise.
19363 * sparc.h, sparc.c: Likewise.
19364
19365 * emit-rtl.c (operand_subword): Copy alias set.
19366 (change_address): Likewise.
19367
19368 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
19369
19370 * pa.c (compute_frame_size): Scan all the used callee saved registers,
19371 not just the first one.
19372
19373 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
19374
19375 * config/arm/arm.h (TARGET_SWITCHES): Add
19376 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
19377 (TARGET_OPTIONS): Add -mpic-register=.
19378 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
19379 (arm_pic_register_string): Declare.
19380 (NEED_PLT_GOT): Delete, replace with ...
19381 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
19382 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
19383 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
19384 * config/arm/arm.c (arm_override_options): Add new option
19385 -mpic-register=N.
19386 (arm_pic_register_string): New variable.
19387 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
19388 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
19389 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
19390 (output_return_instruction): Likewise.
19391 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
19392 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
19393 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
19394
19395 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
19396 mention of -msched-prolog. Document new options -msingle-pic-base
19397 and -mpic-register=.
19398
19399 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
19400
19401 * haifa-sched.c (reemit_notes): Tidy.
19402 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
19403 haifa's routine.
19404
19405 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
19406
19407 * explow.c (trunc_int_for_mode): New function.
19408 (plus_constant_wide): Use it.
19409 * combine.c (simplify_and_const_int): Likewise.
19410 (merge_outer_ops): Likewise.
19411 (simplify_shift_const): Likewise.
19412 * cse.c (simplify_unary_operation): Likewise.
19413 (simplify_binary_operation): Likewise.
19414 * emit-rtl.c (operand_subword): Likewise.
19415 * rtl.h: Declare it.
19416
19417 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19418
19419 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
19420 (use NUM_REGS instead of NUM_INTS).
19421
19422 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19423
19424 * builtins.c: New file.
19425 * expr.c (saveregs_value, apply_args_value): Delete definition,
19426 moved into builtins.c.
19427 (string_constant): No longer static.
19428 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
19429 apply_args_size, apply_result_size, result_vector,
19430 expand_builtin_apply_args, expand_builtin_apply,
19431 expand_builtin_return): Delete functions, moved into builtins.c.
19432 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
19433 * expr.h (saveregs_value, apply_args_value): Declare variables.
19434 (expand_builtin, string_constant): Declare functions.
19435 * Makefile.in: Update to build builtin.o.
19436
19437 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
19438
19439 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
19440 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
19441 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
19442 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
19443 false.
19444 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
19445 Define to zero.
19446
19447 1999-07-21 Michael Meissner <meissner@cygnus.com>
19448
19449 * print-rtl.c (print_rtx): Print the names of the virtual
19450 registers.
19451
19452 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
19453
19454 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
19455 introduced in previous delta.
19456
19457 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19458
19459 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
19460 to avoid name clash.
19461
19462 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
19463
19464 * c-lex.c (yylex) : Correct the test for overflow when lexing
19465 integer literals.
19466
19467 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
19468
19469 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
19470 (adjust_priority): Always call ADJUST_PRIORITY.
19471 (schedule_insn): Only put insns into the ready at cost 0.
19472 (schedule_block): Remove redundant initial sort. Give clock_var
19473 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
19474 is not 0.
19475 * tm.texi (MD_SCHED_REORDER): Update docs.
19476
19477 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
19478 * sparc.c (ultra_reorder_called_this_block): Delete.
19479 (ultrasparc_sched_init): Don't set it.
19480 (ultrasparc_sched_reorder): Don't check it.
19481
19482 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
19483
19484 * rs6000.h (struct rs6000_args): Add sysv_gregno.
19485 * rs6000.c (init_cumulative_args): Init sysv_gregno.
19486 (function_arg_boundary): Align DFmode.
19487 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
19488 to get fp reg and stack overflow correct.
19489 (function_arg): Likewise.
19490 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
19491 (setup_incoming_varargs): Restructure for ABI_V4; use
19492 function_arg_advance to skip final named argument.
19493 (expand_builtin_saveregs): Properly unskip the last integer arg
19494 when doing varargs. Adjust overflow location calculation.
19495
19496 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
19497 explicitly unsigned.
19498 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
19499 (__VA_GP_REGSAVE): Similarly.
19500 (__va_longlong_p): Delete.
19501 (__va_arg_type_violation): New declaration.
19502 (va_arg): Restructure. Flag promotion errors. Align double.
19503 TFmode passed by reference.
19504
19505 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
19506 in the HOST_BITS_PER_WIDE_INT > 32 case.
19507
19508 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
19509
19510 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
19511
19512 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
19513
19514 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
19515 * toplev.c (documented_lang_options): Add -fpreprocessed.
19516 * cpplib.h (struct cpp_buffer): Add preprocessed.
19517 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
19518 (cpp_start_read): Don't expand macros or emit an initial #line
19519 directive if -fpreprocessed.
19520
19521 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
19522
19523 * cpplib.h (struct cpp_buffer): Added manual_pop for
19524 better C++ tokenization.
19525 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
19526 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
19527 * c-common.c (cpp_token): Make non-static.
19528
19529 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19530
19531 * c-common.h: New file.
19532 * c-common.c (permanent_obstack): Delete unused declaration.
19533 (c_global_trees): New array.
19534 (c_common_nodes_and_builtins): New function; split off common code
19535 from init_decl_processing in both c-decl.c and cp/decl.c.
19536 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
19537 c_global_trees and accessor macros defined in c-common.h.
19538 Include c-common.h.
19539 * c-decl.c: Delete definitions for tree nodes that were replaced by
19540 c_global_trees.
19541 (init_decl_processing): Build void_list_node.
19542 Call c_common_nodes_and_builtins; delete code to generate the common
19543 builtins here.
19544 * objc/objc-act.c (build_module_descriptor): Rename variable
19545 void_list_node to avoid clash with c-common.h.
19546
19547 * Makefile.in: Update dependencies.
19548 * objc/Make-lang.in: Likewise.
19549
19550 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
19551
19552 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
19553 (UNIQUE_SECTION_P): Likewise.
19554 (UNIQUE_SECTION): Likewise.
19555
19556 1999-07-19 Linas Vepstas <linas@linas.org>
19557
19558 * config/i370/README: New file.
19559 * config/i370/linux.h: New file.
19560 * config/i370/mvs.h: New file.
19561 * config/i370/oe.h: New file.
19562 * config/i370/t-linux: New file.
19563 * config/i370/t-mvs: New file.
19564 * config/i370/t-oe: New file.
19565 * config/i370/x-oe: New file.
19566 * config/i370/xm-linux.h: New file.
19567 * config/i370/xm-mvs.h: New file.
19568 * config/i370/xm-oe.h: New file.
19569
19570 * i370.c (label_node_t): Add first_ref_page, label_addr,
19571 label_first_ref, label_last_ref members.
19572 (mvs_need_base_reload): Renamed from mvs_label_emitted.
19573 (MAX_MVS_LABEL_SIZE): Define.
19574 (MAX_LONG_LABEL_SIZE): Define.
19575 (alias_node_t, alias_anchor, alias_number): New.
19576 (mvs_function_table): Reorder for EBCDIC.
19577 (ascebc, ebcasc): Unconditionally define.
19578 (i370_branch_dest, i370_branch_length): New functions.
19579 (i370_short_branch, i370_label_scan): New functions.
19580 (mvs_get_label): Renamed from mvs_add_label. Search for
19581 an existing label before creating a new one.
19582 (mvs_add_label): New function.
19583 (mvs_get_label_page): New function.
19584 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
19585 over the entire list.
19586 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
19587 (mvs_check_page) [TARGET_ELF_ABI]: New function.
19588 (mvs_add_alias, mvs_need_alias): New functions.
19589 (mvs_get_alias, mvs_check_alias): New functions.
19590 (handle_pragma): New function.
19591 (mvs_function_check): New function.
19592 (unsigned_jump_follows_p): Search harder.
19593 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
19594 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
19595 * i370.h (TARGET_VERSION): Delete.
19596 (CPP_SPEC, CPP_PREDEFINES): Delete.
19597 (mvs_label_emitted): Delete.
19598 (TARGET_EBCDIC): Delete.
19599 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
19600 (HANDLE_PRAGMA): Define.
19601 (HARD_REGNO_NREGS): Handle complex modes.
19602 (HARD_REGNO_MODE_OK): Likewise.
19603 (CLASS_MAX_NREGS): Likewise.
19604 (RET_REG): Likewise.
19605 (EXTRA_CONSTRAINT): Define.
19606 (RETURN_IN_MEMORY): True for DImode.
19607 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
19608 (FUNCTION_PROFILER): Delete.
19609 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
19610 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
19611 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
19612 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
19613 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
19614 (ASM_FILE_START): Add "RMODE ANY".
19615 (ASM_OUTPUT_EXTERNAL): Check for aliases.
19616 (ASM_GLOBALIZE_LABEL): Likewise.
19617 (ASM_OUTPUT_LABELREF): Likewise.
19618 (ASM_OUTPUT_COMMON): Likewise.
19619 (PRINT_OPERAND): Handle 'K', 'W', default.
19620 (PRINT_OPERAND_ADDRESS): New.
19621 (Lots of defines): Add support for TARGET_ELF_ABI.
19622 * i370.md (attr length): New. Define for all patterns.
19623 (*): Lots of tweeks to assembly output and constraints.
19624
19625 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
19626
19627 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
19628 Disable patterns performing SImode comparisons with SImode values
19629 if TARGET_POWERPC64 and instruction does not sign-extend or does
19630 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
19631 differ for signed quantities.
19632 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
19633 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
19634 (decrement_and_branch_on_count): Add 64-bit variant.
19635
19636 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19637
19638 * final.c (output_asm_insn): When searching for the matching string
19639 for a given dialect, don't run past the end of the list of
19640 alternatives if there are fewer alternatives in the template than
19641 dialects.
19642
19643 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
19644
19645 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
19646 Removed paragraph about compression of files and size limitation,
19647 duplicated in the FAQ. Use gcc-patches for posting patches.
19648 * gcc.c (main): Updated URL with bug reporting instructions to
19649 gcc.gnu.org. Removed e-mail address.
19650 * system.h (abort): Likewise.
19651
19652 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19653
19654 * Makefile.in (stmp-multilib-sub): Make the files extracted
19655 from $(LIBGCC1) writable.
19656
19657 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
19658
19659 * config/arm/aout.h: Reformat for improved readability.
19660
19661 * config/arm/arm.h: Reformat for improved readability.
19662 Replace uses of fprintf with asm_fprintf where appropriate.
19663 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
19664 function declaration assembler actions.
19665 (NUM_INTS): New macro: Convert from bytes to words.
19666 (NUM_REGS): New macro: Compute number of registers required to
19667 hold a quanitity of tyep MODE.
19668 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
19669 types.
19670 (NUM_ARG_REGS): New macro: The number of argument registers
19671 available.
19672 (ARG_REGISTER): New macro: Compute the register number of the Nth
19673 argument register.
19674 (LAST_ARG_REGNUM): New macro: The number of the last argument
19675 register.
19676 (SP_REGNUM): New macro: Register number of the stack pointer.
19677 (FP_REGNUM): New macro: Register number of the frame pointer.
19678 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
19679 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
19680 CUMULATIVE_ARGS so that it counts registers not bytes.
19681
19682 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
19683 TARGET_INTERWORK.
19684 Replace uses of fprintf with asm_fprintf where appropriate.
19685 (output_ascii_pseudo_op): Replace with version from thumb.c
19686
19687 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
19688
19689 * config/arm/elf.h (CPP_PREDEFINES): Replace with
19690 SUBTARGET_CPP_SPEC.
19691 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
19692 (ASM_FILE_START): Emit ASM_APP_OFF.
19693
19694 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
19695
19696 * pa.c (compute_frame_size): Round frame according to
19697 STACK_BOUNDARY rather than a hardwired value.
19698
19699 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
19700
19701 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
19702 of "1".
19703 * configure: Rebuilt.
19704
19705 * configure.in (hppa*-*-linux*): New configuration.
19706 * configure: Rebuilt.
19707 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
19708 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
19709 * pa/pa-linux.h: New file.
19710 * pa/t-linux: New file.
19711 * pa/xm-linux.h: New file.
19712
19713 * pa.c (hppa_legitimize_address): Change references from SImode to
19714 either Pmode or word_mode as appropriate.
19715 (emit_move_sequence, store_reg, load_reg): Likewise.
19716 (set_reg_plus_d, hppa_expand_prologue): Likewise.
19717 (output_mul_insn): Likewise.
19718 * pa.h (PROMOTE_MODE): Likewise.
19719 (INITIALZE_TRAMPOLINE): Likewise.
19720 (Pmode): Define to word_mode.
19721
19722 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
19723 value of 4. Allocate 8 bytes for each FP register save.
19724 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
19725 value of 4.
19726 (hppa_expand_prologue): Likewise.
19727 * pa.h (PROMOTE_MODE): Likewise.
19728 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
19729 (FUNCTION_ARG_BOUNDARY): Likewise.
19730
19731 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
19732
19733 * pa.c (out_of_line_prologue_epilogue): Delete.
19734 (override_options): Remove -mspace related code.
19735 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
19736 (compute_frame_size): Only allocate space for register that
19737 actually need to be saved.
19738 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
19739 (TARGET_SWITCHES): Remove -mspace, -mno-space
19740 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
19741 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
19742 * pa/ee.asm, pa/ee_fp.asm: Delete.
19743
19744 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
19745
19746 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
19747 directive in column zero.
19748
19749 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
19750
19751 * m68k.c (output_function_prologue): Fix computation of save mask
19752 when generating PIC code.
19753
19754 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
19755
19756 * tree.c (build_type_attribute_variant): Move current_obstack restore
19757 after build_qualified_type call.
19758
19759 1999-07-15 Mark Mitchell <mark@codesourcery.com>
19760
19761 * configure.in: Use t-iris6, even with GNU LD.
19762 * config/mips/iris6gld.h: Fix typo in linker spec.
19763 * config/mips/t-iris6gld: Remove.
19764
19765 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
19766
19767 * rs6000.md (insv, extzv): Remove SImode dependence in named
19768 patterns. Explicitly generate DImode RTL if PowerPC64 and
19769 operand is DImode.
19770 (insvdi): Reverse start and size in instruction template.
19771
19772 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
19773
19774 * invoke.texi: Typo fixes.
19775
19776 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
19777
19778 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
19779 handle at this time instead of silently generating incorrect code.
19780 (gen_imagpart): Likewise.
19781
19782 * reload.c (find_reloads): Emit a USE for a pseudo register without
19783 a hard register if we could not create an optional reload for the
19784 pseudo.
19785
19786 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19787
19788 * c-typeck.c (output_init_element, process_init_element):
19789 When advancing constructor_unfilled_fields for a RECORD_TYPE,
19790 check for nameless bit fields.
19791
19792 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
19793
19794 * regclass.c (scan_one_insn): Notice subregs that change the
19795 size of their operand.
19796 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
19797
19798 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
19799
19800 * configure.in (alpha*-*-*): Include alpha/t-ieee.
19801 * configure: Rebuilt.
19802 * alpha/t-ieee: New file.
19803
19804 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
19805
19806 * rs6000.c (find_addr_reg): Do not select r0 as an address
19807 register.
19808
19809 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
19810
19811 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
19812
19813 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
19814
19815 * rs6000.md (movsf): Do not force easy FP constants into memory.
19816
19817 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
19818 immed_double_const to ensure they are properly truncated then
19819 sign extended.
19820
19821 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
19822
19823 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
19824 always unless NO_DEBUG is used. Compile this code
19825 unconditionally.
19826 (replace_symbols_in_block): Compile it unconditionally.
19827
19828 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
19829
19830 * configure.in (i?86-*-elf*): New target.
19831 * configure: Rebuilt.
19832 * i386/i386elf.h, i386/t-i386elf: New files.
19833
19834 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
19835
19836 * toplev.c (main): Don't complain about saying -gdwarf.
19837 (rest_of_compilation): Remove redundant code.
19838
19839 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
19840
19841 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
19842
19843 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
19844
19845 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
19846 "Li960R:", to avoid name clash.
19847
19848 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19849
19850 * loop.c (check_dbra_loop): When reversing a loop, delete all
19851 REG_EQUAL notes referencing the reversed biv except those which are
19852 for a giv based on it.
19853
19854 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
19855
19856 * version.c: Drop "gcc-" prefix from version #.
19857
19858 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
19859
19860 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
19861 the label if we're being verbose.
19862
19863 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
19864
19865 * m68k.c (output_function_prologue): Add pic register to mask
19866 if live and flag_pic.
19867 (output_function_epilogue): Likewise.
19868
19869 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
19870
19871 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
19872 directives in column zero.
19873
19874 * pa/elf.h (ASM_FILE_START): Define.
19875 * pa/som.h (ASM_FILE_START): Include .level directives.
19876 * pa/hpux10.h (ASM_FILE_START): Delete.
19877 * pa/hpux11.h (ASM_FILE_START): Delete.
19878
19879 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
19880
19881 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19882
19883 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
19884 when reload_out equals reload_in.
19885
19886 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
19887
19888 * invoke.texi (Spec Files): New node: Describe the contents of
19889 spec files.
19890
19891 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
19892
19893 * invoke.texi (DEC Alpha Options): Put @end table at
19894 beginning of line, to avoid confusing texi2html.
19895
19896 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
19897
19898 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
19899 introduced in previous delta.
19900
19901 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19902
19903 * reload1.c (gen_reload): When synthesizing a 3 operand add
19904 sequence, improve test for when to reload OP1 into the reload
19905 register instead of OP0.
19906
19907 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
19908
19909 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
19910
19911 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
19912
19913 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
19914 string literal.
19915
19916 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
19917
19918 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
19919 (va_dcl): Use __builtin_va_alist_t.
19920
19921 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
19922
19923 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
19924 on the permanent_obstack.
19925 * dwarfout.c (output_type): Likewise.
19926
19927 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
19928
19929 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
19930 Merged from c-typeck.c and cp/typeck.c.
19931 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
19932 Merged into c-common.
19933
19934 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
19935
19936 * c-lex.c (errorcount): Declare it.
19937 (finish_parse): Update errorcount when using CPPLIB.
19938
19939 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
19940
19941 * fixinc/inclhack.def(end_else_label): Double the backslash so
19942 sed gets a chance to see it.
19943 * fixinc/inclhack.sh: regen
19944 * fixinc/fixincl.x: regen
19945
19946 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
19947
19948 Add framework to support armv5 architecture when it becomes
19949 available:
19950
19951 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
19952 (arm_arch5): New variable.
19953 (all_architectures): Add armv5 line.
19954 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
19955 -march=armv5 is specified on the command line.
19956 (arm_arch5): Export this variable.
19957 * invoke.texi: Document new string accepted by -march= switch for
19958 ARM ports.
19959
19960 * config/arm/arm.h: Replace use of constant 12 as a register
19961 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
19962 * config/arm/arm.c: Replace use of constant 12 as a register
19963 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
19964
19965 * config/arm/elf.h: Tidy up.
19966 * config/arm/coff.h: Tidy up.
19967
19968 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
19969
19970 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
19971 * gcc/config/mips/t-iris6gld: New file.
19972 * gcc/config/mips/iris6gld.h: Likewise.
19973
19974 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
19975
19976 * c-decl.c (widest_integer_literal_type_node,
19977 widest_unsigned_literal_type) : New.
19978 (init_decl_processing): Handle/use the two new types.
19979 * c-common.c (type_for_size,type_for_mode) : Same.
19980 * c-lex.c (yylex) : Same.
19981 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
19982 Same.
19983 * c-tree.h (widest_integer_literal_type_node,
19984 widest_unsigned_literal_type) : New.
19985
19986 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
19987
19988 * dwarfout.c (field_byte_offset): Correctly compute the object's
19989 byte offset for the first bit of a field which crosses an alignment
19990 boundary on a !BYTES_BIG_ENDIAN target.
19991
19992 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
19993
19994 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
19995 ntohs.
19996
19997 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
19998 Jeff Law <law@cygnus.com>
19999
20000 * ginclude/varargs.h (va_dcl): Use word_mode for type of
20001 __builtin_va_list.
20002
20003 * except.c: Include intl.h.
20004 (expand_eh_return): Set current_function_cannot_inline.
20005 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
20006 * function.h (struct function): Add eh_return_stub_label.
20007 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
20008 * Makefile.in (except.o): Depend on intl.h.
20009
20010 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
20011
20012 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
20013 same as offsettable in cases 1 and 2.
20014
20015 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
20016
20017 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
20018 (extlh, extwh): Likewise.
20019
20020 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
20021
20022 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
20023
20024 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
20025
20026 * configure.in: Add arm-pe and thumb-pe targets.
20027 * configure: Regenerate.
20028
20029 * thumb.c (arm_naked_function_p): New function: Determines if
20030 a function is naked (has no gcc generated prologue/epilogue).
20031 (is_called_in_ARM_mode): Return true if the func has the
20032 interfacearm attribute.
20033 (output_return): Do not generate a return for naked functions.
20034 (thumb_function_prologue): Do not generate a prologue for
20035 naked functions.
20036 (thumb_expand_prologue): Do not generate a prologue for naked
20037 functions.
20038 (thumb_expand_epilogue): Do not generate an epilogue for naked
20039 functions.
20040 (arm_valid_machine_decl_attribute): New function, copied from
20041 arm.c: Permit naked and interfacearm attributes.
20042
20043 * config/arm/pe.c: New file: Support code for arm-pe target.
20044 * config/arm/pe.h: New file: Header file for arm-pe target.
20045 * config/arm/tpe.h: New file: Header file for thumb-pe target.
20046 * config/arm/t-thumb-pe: New file: Makefile fragment for
20047 thumb-pe target.
20048
20049 1999-07-01 Mark Kettenis <kettenis@gnu.org>
20050
20051 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
20052 -fPIC or -fpic is specified.
20053
20054 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
20055
20056 * expr.c (emit_block_move): Use copy_to_mode_reg for
20057 !TARGET_MEM_FUNCTIONS case too.
20058
20059 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
20060 appropriate.
20061 * configure: Rebuilt.
20062 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
20063 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
20064 definitions made redundant by dbxelf.h inclusion. Delete
20065 lots of definitions related to assembly output that are
20066 specific to the SOM object format.
20067 * pa.c (output_function_prologue): Do not emit the function's
20068 name for OBJ_ELF.
20069 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
20070 * pa-pro.h: Deleted.
20071 * som.h: New file with SOM specific definitions.
20072 * elf.h: New file with ELF specific definitions.
20073
20074 * elfos.h (const_section): Output a tab before assembler directives.
20075 (ctors_section, dtors_section): Likewise.
20076 (ASM_OUTPUT_SECTION_NAME): Likewise.
20077
20078 * pa/pa1.h: Delete unused file.
20079
20080 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
20081
20082 * configure.in (hppa*-hp-hpux11*): New configuration.
20083 * configure: Rebuilt.
20084 * pa/pa-hpux11.h: New file.
20085 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
20086 command line.
20087
20088 * mips.md (leasi, leadi): New patterns.
20089
20090 * expr.c (emit_block_move): Properly handle case where one of the
20091 block move arguments has a queued increment or decrement.
20092 (clear_storage): Similarly. Fix formatting goof.
20093
20094 1999-06-28 "David O'Brien" <obrien@NUXI.com>
20095
20096 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
20097 semicolon from the BSD VA_LIST replacement expression.
20098
20099 * fixinc/inclhack.sh: regen
20100 * fixinc/fixincl.x: regen
20101
20102 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
20103 now use the fixincl program.
20104
20105 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
20106
20107 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
20108 case. Also make the PIC register call_used.
20109
20110 * m68k.h (FINALIZE_PIC): Delete.
20111 * m68k.c (finalize_pic): Delete.
20112
20113 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
20114
20115 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
20116 to memory.
20117
20118 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
20119
20120 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
20121
20122 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
20123
20124 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
20125
20126 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
20127
20128 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
20129
20130 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
20131
20132 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
20133
20134 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
20135
20136 * rs6000.c (output_toc): Always use hex values for floating-point
20137 constants. Store single-precision values in upper-half of TOC
20138 entry in 64-bit mode.
20139 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
20140 to final constraints.
20141 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
20142 (fctiwz): Improve accuracy of RTL for pattern.
20143
20144 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
20145
20146 * expr.c (expand_expr): Allow RTL_EXPR's through the
20147 MAX_INTEGER_COMPUTATION_MODE checks.
20148
20149 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
20150
20151 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
20152 such that MASK_SUPPORT_ARCH is not negative.
20153
20154 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
20155
20156 * loop.c (verify_dominator): Properly handle ADDR_VEC and
20157 ADDR_DIFF_VEC insns that appear inside loops.
20158
20159 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
20160 Jeff Law <law@cygnus.com>
20161
20162 * rs6000.md (movdf_hardfloat32): Revert previous patch.
20163 Handle LO_SUM the same as offsettable in cases 1 and 2.
20164 * rs6000.c (find_addr_reg): Revert previous patch.
20165
20166 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
20167
20168 * system.h (strstr): New external function declaration.
20169 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
20170 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
20171 * config.in, configure: Rebuilt.
20172
20173 1999-06-24 Tom Tromey <tromey@cygnus.com>
20174
20175 * gcc.c (main): Read user-specified specs files after computing
20176 additional startfile_prefixes.
20177
20178 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
20179
20180 Revert these two patches:
20181
20182 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20183 * loop.c (strength_reduce): When doing biv->giv conversion, update
20184 reg note of NEXT->insn.
20185
20186 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20187 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
20188 reg_biv_class.
20189 (recombine_givs): Set ix field after sorting.
20190
20191 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20192
20193 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
20194 for the parts of an UNSPEC / UNSPEC_VOLATILE.
20195
20196 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
20197
20198 *fixinc/inclhack.def: Add fix development commentary
20199 (read_ret_type): reactivate and add selection clause
20200 (zzz_*): tweak output file name to match what is used in hackshell.tpl
20201 *fixinc/{fixincl.x|inclhack.sh}: regen
20202
20203 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
20204
20205 * expr.c (expand_expr): STRIP_NOPS before checking against
20206 MAX_INTEGER_COMPUTATION_MODE
20207 (check_max_integer_computation_mode): Likewise.
20208
20209 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
20210
20211 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
20212
20213 1999-06-22 Jim Wilson <wilson@cygnus.com>
20214
20215 * expr.c (store_expr): When target is a promoted subreg, return a
20216 promoted subreg as a result.
20217
20218 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
20219
20220 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
20221 coding standards.
20222 (dwarf2out_define): Mark unused parameters appropriately.
20223 (gen_unspecified_parameters_die): Ditto.
20224 (gen_subprogram_die): Fix signed/unsigned warnings.
20225 (gen_variable_die): Ditto.
20226
20227 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
20228
20229 * fixinc/inclhack.def(end_else_label): combined else_label
20230 and endif_label and fixed the sed expression.
20231 *fixinc/{fixincl.x|inclhack.sh}: regen
20232
20233 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
20234
20235 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
20236 'x' when handling non-offsettable addresses
20237
20238 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
20239
20240 * final.c (shorten_branches): Don't try to split an insn that has
20241 been deleted.
20242
20243 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
20244
20245 * config/mips/mips.c (symbolic_expression_p): New function.
20246 (mips_select_rtx_section): Put symbolic expressions in the
20247 data section, not the read-only data section.
20248
20249 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
20250
20251 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
20252
20253 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
20254
20255 * collect2.c (main): Log frame table count.
20256 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
20257 (scan_prog_file) [COFF]: Handle frame tables.
20258
20259 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
20260 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
20261 * alpha/elf.h: Undef them again.
20262 * alpha/vms.h: Remove their definitions.
20263
20264 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20265
20266 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
20267 remove the clobber of r0 and change the REG_UNUSED note to
20268 REG_INC.
20269
20270 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
20271
20272 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
20273 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
20274 fits in HOST_WIDE_INT and one uses union to access a long constant
20275 as double.
20276
20277 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
20278
20279 * sparc.c (sparc_override_options): Don't allow profiling for
20280 code models other than medlow.
20281 (sparc_function_profiler): New function from old FUNCTION_PROFILER
20282 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
20283 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
20284 (sparc_block_profiler): Likewise.
20285 (sparc_function_block_profiler_exit): Likewise.
20286 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
20287 (FUNCTION_BLOCK_PROFILER): Likewise.
20288 (BLOCK_PROFILER): Likewise.
20289 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
20290 (MCOUNT_FUNCTION): New.
20291 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
20292 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
20293 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
20294 (MCOUNT_FUNCTION): New.
20295 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
20296 (BLOCK_PROFILER): Delete.
20297 (MCOUNT_FUNCTION): New.
20298
20299 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
20300
20301 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
20302
20303 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
20304
20305 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20306 Add the macros.
20307
20308 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20309 Ditto.
20310
20311 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20312 Ditto.
20313
20314 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20315 Ditto.
20316
20317 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
20318
20319 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
20320 types.
20321
20322 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
20323
20324 * i386/djgpp.h (LIB_SPEC): New.
20325 (STARTFILE_SPEC): New.
20326
20327 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
20328
20329 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
20330
20331 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
20332 compiler flags.
20333
20334 * system.h (WSTOPSIG): New macro.
20335
20336 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
20337
20338 * c-pragma.c (push_alignment): Don't ignore alignments greater than
20339 4 bytes.
20340 (insert_pack_attributes): Take into account member natural
20341 alignment.
20342
20343 * i386/winnt.c (exports_head): New static variable.
20344 (i386_pe_record_exported_symbol): New function.
20345 (i386_pe_asm_file_end): Use.
20346 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
20347 symbols to be emitted at end of assembly.
20348 (ASM_DECLARE_OBJECT_NAME): Likewise.
20349 (ASM_DECLARE_FUNCTION_NAME): Likewise.
20350
20351 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
20352 -iwithprefix.
20353
20354 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
20355
20356 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
20357 in last change.
20358
20359 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
20360
20361 * haifa-sched.c (sched_analyze_1): Use free_list instead of
20362 zapping reg_last_uses directly.
20363 (sched_analyze_2, sched_analyze_insn): Likewise.
20364 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
20365
20366 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
20367
20368 * rs6000.md (movdf_hardfloat32): Use worst case insn length
20369 attributes for cases 1 and 2.
20370
20371 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
20372
20373 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
20374 instead of set.
20375
20376 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
20377
20378 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
20379
20380 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
20381
20382 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
20383 PIC_OFFSET_TABLE_REGNUM for general alloaction.
20384 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
20385 must be stacked if it is used for PIC accesses.
20386 * arm.c (use_return_insn): Handle PIC register specially.
20387 (output_return_instruction): Likewise.
20388 (output_func_{prologue,epilogue}): Likewise.
20389 (output_expand_prologue): Likewise.
20390
20391 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
20392 (*strsi_predec): Renamed from *strqi_predec.
20393 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
20394 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
20395
20396 * arm.c (arm_override_options): Remove warning about PIC code
20397 not being supported.
20398
20399 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
20400
20401 * rs6000.c (find_addr_reg): New function.
20402 * rs6000.h (find_addr_reg): Declare.
20403 (offsettable_addr_operand): Delete.
20404 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
20405 from and stores to GPRs.
20406
20407 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
20408
20409 * alpha.c (alpha_expand_block_move): Use get_insns rather than
20410 gen_sequence as argument to emit_no_conflict_block.
20411
20412 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20413
20414 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
20415 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
20416 *fixinc/fixincl.x: regen
20417 *fixinc/inclhack.sh: regen
20418
20419 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
20420
20421 * added support for -mpcrel (PC relative addressing for m68k)
20422 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
20423 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
20424 * m68k.c (print_operand_address): Handle 32-bit PIC case.
20425 (comments for general_src_operand): Add some explanation
20426 about EXTRA_CONSTRAINTS.
20427 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
20428 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
20429 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
20430 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
20431 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
20432 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
20433 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
20434 if not already set.
20435 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
20436 * m68k.h (TARGET_PCREL): New target flag.
20437 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
20438 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
20439 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
20440 contains a SYMBOL_REF. Relax this constraint during reload, since
20441 we want to use the predicates, not reload's built-in concept of a
20442 valid memory address, to control what insns need reloading.
20443 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
20444 operands (essentially 'g', 'm', and 's' under normal circumstances).
20445 * m68k.c (print_operand): Cause printing of pc-relative addresses
20446 to include pc register.
20447 (print_operand_address): Ditto.
20448 (general_src_operand): Accept operands that are not only
20449 general_operands, but are also valid when used as a pc-relative
20450 source.
20451 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
20452 (memory_src_operand): Similar, for memory_operands.
20453 (pcrel_address): New predicate to accept the special case of a
20454 pc-relative address.
20455 * m68k.md (many patterns): Rewrite common SImode, HImode, and
20456 QImode insns to accept *_src_operand instead of *_operand where
20457 pc-relative operands can fit. For example, a pc-relative operand
20458 can be used as a memory source operand for addsi3, but not as a
20459 memory destination.
20460 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
20461
20462 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
20463
20464 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
20465 .thumb_set pseudo op to mark aliases of thumb functions.
20466
20467 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
20468
20469 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
20470 preference to ASM_OUTPUT_DEF, if it is defined.
20471
20472 * tm.texi: Document new, optional target macro
20473 ASM_OUTPUT_DEF_FROM_DECLS.
20474
20475 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20476
20477 * fixincludes: ISCNTL patch
20478 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
20479 (dgux_int_varargs): new for DG/UX
20480 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
20481
20482 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
20483
20484 * invoke.texi (ia32 options): Fix typo.
20485
20486 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20487
20488 * loop.c (strength_reduce): When doing biv->giv conversion, update
20489 reg note of NEXT->insn.
20490
20491 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
20492
20493 * loop.c (move_movables): Note issues with replacing REGs with
20494 SUBREGs.
20495 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
20496
20497 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
20498
20499 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
20500
20501 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
20502 the reference to `mcount' was not correct for the ELF on FreeBSD.
20503
20504 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20505
20506 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
20507 reg_biv_class.
20508
20509 (recombine_givs): Set ix field after sorting.
20510
20511 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
20512
20513 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
20514 to safe to extract a subword out of a REG.
20515
20516 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20517
20518 * sh.md (mulsi3): Don't add a no-op move at the end.
20519
20520 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20521
20522 * cse.c (cse_insn): Don't put hard register source into tables for
20523 the last insn of a libcall.
20524
20525 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20526
20527 * loop.c (strength_reduce): Insert sets of derived givs at every
20528 biv increment, even if it's the only one.
20529
20530 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
20531
20532 * dwarfout.c (add_incomplete_type): New fn.
20533 (output_type): Call it.
20534 (retry_incomplete_types): New fn.
20535 (dwarfout_finish): Call it.
20536
20537 From Eric Raskin <ehr@listworks.com>:
20538 (output_type): Output types for bases.
20539
20540 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
20541
20542 * mips.c (mips_output_conditional_branch): Add `break'
20543 between `default' label and `close braces'.
20544
20545 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
20546
20547 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
20548 specifications and make it realistic.
20549 (LIB_SPEC): Likewise.
20550
20551 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
20552
20553 * config/mips/mips.c (mips_secondary_reload_class): Check for
20554 (PLUS (SP) (REG)) and return appropriate register class.
20555 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
20556 Handle (PLUS (SP) (REG)).
20557 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
20558 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
20559 of emit_insn for tablejump.
20560
20561 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
20562
20563 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
20564 asm_fprintf format string by itself.
20565 (output_function_profiler): Likewise.
20566
20567 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
20568
20569 * combine.c (simplify_logical, case AND): Only call
20570 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
20571 or the constant is positive.
20572
20573 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
20574
20575 * configure.in: Fix typo in rs6000-ibm-aix4 case.
20576 * configure: Regenerate.
20577
20578 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
20579
20580 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
20581 require a sub-version #.
20582 * configure: Rebuilt.
20583
20584 1999-06-14 Robert Lipe (robertlipe@usa.net)
20585
20586 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
20587
20588 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
20589
20590 * c-typeck.c (process_init_element): Detect excess elements in
20591 char array initializer.
20592
20593 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
20594
20595 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
20596
20597 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
20598
20599 * invoke.texi (Option Summary): Add -fpermissive flag.
20600
20601 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
20602
20603 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
20604 that require PIC code sequences.
20605
20606 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
20607
20608 * configure.in: Add new target: thumb-elf.
20609 * configure: Regenerate.
20610 * config/arm/t-thumb-elf: New file: Makefile fragment for
20611 thumb-elf build.
20612 * config/arm/telf.h: New file: Header file for thumb-elf
20613 build.
20614
20615 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
20616
20617 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
20618 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
20619 initializers is some circumstances.
20620
20621 * fixinc/inclhack.def (endif_label): Add additional selector for
20622 more bogus stuff after #endif statements.
20623 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
20624
20625 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
20626
20627 * i386/cygwin.h (SET_ASM_OP): Define.
20628
20629 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
20630
20631 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
20632
20633 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20634
20635 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
20636 latter.
20637
20638 * sh.md (ic_invalidate_line_i): Remove second alternative.
20639
20640 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20641
20642 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
20643 test for the presence of valid prototypes. Delete bypass expr.
20644 (ioctl_fix_ctrl): Correct the selection expression.
20645 (no_double_slash): Correct quoting rules
20646 *fixinc/fixincl.x: regen
20647 *fixinc/inclhack.sh: regen
20648
20649 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
20650
20651 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
20652
20653 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20654
20655 * rs6000.md (movsi_got_internal_mem): Delete.
20656 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
20657 (GOT_TOC_REGNUM): Delete.
20658 (PIC_OFFSET_TABLE_REGNUM): Define.
20659 (FINALIZE_PIC): Disable.
20660 * rs6000.c (rs6000_got_register): New code for fixed pic register.
20661 (rs6000_replace_regno): Delete.
20662 (rs6000_finalize_pic): Likewise.
20663 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
20664
20665 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20666
20667 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
20668 is a note; use <= for the compare; advance P while it is
20669 a NOTE.
20670
20671 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
20672
20673 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
20674 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
20675
20676 * varasm.c (remove_from_pending_weak_list): Verify t->name
20677 is non-NULL before passing it to strcmp.
20678
20679 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20680
20681 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
20682 the typed arguments are not part of a comment
20683 (ioctl_fix_ctrl): Added a purpose comment
20684 *fixinc/fixincl.x: regenerate
20685 *fixinc/inclhack.sh: regenerate
20686
20687 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20688
20689 * invoke.texi: Add C4x invocation docs.
20690
20691 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20692
20693 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
20694 Define new macros.
20695 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
20696 TARGET_EXPOSE_LDP.
20697 (c4x_legitimize_reload_address): New function.
20698 * config/c4x/c4x.md: Update docs.
20699
20700 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
20701
20702 * fixincludes: Avoid removing '.'.
20703 * fixinc/fixinc.svr4: Likewise.
20704 * fixinc/fixinc.winnt: Likewise.
20705 * fixinc/inclhack.tpl: Likewise.
20706 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
20707
20708 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20709
20710 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
20711 pattern.
20712 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
20713
20714 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
20715
20716 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
20717 correctly.
20718
20719 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
20720
20721 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
20722 * configure: Regenerate.
20723
20724 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
20725
20726 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
20727 values.
20728
20729 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
20730
20731 * fixinc/inclhack.def (avoid_bool): Also catch
20732 "typedef [unsigned] int bool".
20733 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
20734
20735 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
20736 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
20737 * configure: Rebuilt.
20738
20739 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
20740
20741 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
20742 such that we can override its definitions if necessary.
20743 (CPP_SPEC): New define. Support processor specific predefines via
20744 %(cpp_cpu).
20745 (CC1_SPEC): New define. Support processor specific compiler
20746 options via %(cc1_cpu).
20747 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
20748 -static.
20749
20750 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20751
20752 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
20753 between sed's -e flag, and the open-quote following it.
20754 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
20755
20756 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
20757 Jeffrey A Law (law@cygnus.com)
20758
20759 * varasm.c (assemble_start_function): Remove the function
20760 from the pending weak decls list when we define a function.
20761 (assemble_variable): Similarly for variables.
20762 (weak_finish): Ignore items on the list with a NULL name.
20763 (remove_from_ending_weak_list); New function to "remove" an item
20764 from the pending weak declarations list.
20765
20766 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
20767
20768 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
20769
20770 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
20771
20772 * c-lex.c (GETC): Redefine to call getch.
20773 (UNGETC): Redefine to call put_back.
20774 (putback_buffer): New structure type.
20775 (putback): New static structure.
20776 (getch): New function.
20777 (put_back): New function.
20778 (yylex): Replace unused bytes from bad multibyte character.
20779
20780 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
20781
20782 * cpplib.c (do_define): Cast `alloca' return value.
20783 (do_include, do_undef, do_pragma): Likewise.
20784 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
20785 values.
20786 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
20787 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
20788
20789 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
20790
20791 * sparc.md (abstf2): This should be an expand.
20792 (split after abstf2_notv9): Fix mode.
20793 (abstf2_hq_v9): New pattern.
20794 (abstf2_v9): Only use when no hard quad.
20795 (absdf2_v9): Fix if target is not the same as source.
20796 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
20797 Add correct output constraints.
20798
20799 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
20800
20801 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
20802 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
20803
20804 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
20805
20806 * mips.h (mips_output_conditional_branch): New function.
20807 (mips_adjust_insn_length): Likewise.
20808 (ASSEMBLER_SCRATCH_REGNUM): New macro.
20809 (ADJUST_INSN_LENGTH): Likewise.
20810 * mips.c (print_operand): Add `F' and `W' for floating-point
20811 comparison opcodes.
20812 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
20813 are now in bytes.
20814 (mips_adjust_insn_length): New function.
20815 (mips_output_conditional_branch): New function.
20816 * mips.md (length): Adjust attribute definition to handle
20817 conditional branches. Change lengths to bytes, rather than
20818 instructions throughout. Remove length attribute from
20819 instructions whose length is four bytes, and rely on the default
20820 instead.
20821 (dslot): Fix typo in comment.
20822 Reword conditional branch patterns to use
20823 mips_output_conditional_branch.
20824
20825 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
20826
20827 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
20828 (LIB_SPEC): Likewise.
20829 Link with -lprof1_r for -g/-pg.
20830
20831 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
20832
20833 * loop.c (check_dbra_loop): Fix change of Jan 19.
20834
20835 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
20836
20837 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
20838 (STARTFILE_SPEC): Define, override the svr4.h version.
20839 (ENDFILE_SPEC): Likewise.
20840
20841 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
20842
20843 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
20844 * fixinc/fixincl.x: Regenerated.
20845 * fixinc/inclhack.sh: Regenerated.
20846
20847 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20848
20849 * sh.c (barrier_align): Don't return early for normal branch/barrier
20850 when optimizing for SH2.
20851
20852 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
20853
20854 * i386/udk.h (LINK_SPEC): Correct linker search path for
20855 system libraries.
20856
20857 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20858
20859 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
20860 (braf_label_ref_operand): Delete.
20861 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
20862 * sh.md (casesi_jump_2): Operand1 is now the inside of a
20863 label_ref, and has no predicate.
20864 The patten has a predicate to guard against invalid substitutions.
20865 (dummy_jump): Delete.
20866 (casesi): Update use of casesi_jump_2.
20867
20868 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20869
20870 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
20871 *fixinc/fixincl.x: regenerate
20872 *fixinc/inclhack.sh: regenerate
20873
20874 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
20875
20876 * dwarf2out.c (add_incomplete_type): New fn.
20877 (gen_struct_or_union_type_die): Call it.
20878 (retry_incomplete_types): New fn.
20879 (dwarf2out_finish): Call it.
20880
20881 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
20882
20883 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
20884 current block starts with a CODE_LABEL and ends with a CALL and
20885 we can not find all the argument setup instructions for the CALL.
20886
20887 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
20888
20889 Revert this change:
20890 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
20891 something is a candidate for optimize_bit_field_compare.
20892
20893 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20894
20895 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
20896
20897 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
20898
20899 * alpha.c (override_options): Thinko in last patch.
20900
20901 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
20902 (LIB_SPEC): Recognize -pthread.
20903
20904 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
20905
20906 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
20907 definition in config/arm/coff.h
20908 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
20909
20910 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20911
20912 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
20913 fixes that need "file=xxx\n" prepended before invocation
20914 (start_fixer - new): starting the fixer process is complex enough
20915 to warrent its own routine. It prepends the "file=xxx\n" stuff.
20916 (process): uses the new routine; omit usage of putenv()
20917 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
20918 * fixinc/fixincl.x: regenerate
20919
20920 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
20921
20922 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
20923 and version #s (1.1 -> 2.96) as needed.
20924 * README.g77: Kill way out of date file in the toplevel directory.
20925
20926 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
20927
20928 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
20929 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
20930 * configure: Rebuilt.
20931 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
20932 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
20933 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
20934 (SWITCH_TAKES_ARG): Likewise.
20935 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
20936 * config/t-freebsd: Moved from config/i386/ so it can used for all
20937 FreeBSD targets.
20938
20939 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
20940
20941 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
20942
20943 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
20944
20945 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
20946 * configure: Rebuilt.
20947
20948 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
20949
20950 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
20951 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
20952 * rs6000/rs6000.c (rs6000_file_start): Use putc.
20953 (rs6000_output_load_toc_table): Same.
20954 (output_prolog, output_mi_thunk): Same.
20955 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
20956 (ASM_GLOBALIZE_LABEL): Use putc.
20957
20958 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
20959
20960 * alpha.md (reload_*_help): New patterns and splitters.
20961 (reload_*): Use them.
20962 (mov[qh]i): Likewise.
20963
20964 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
20965
20966 * cccp.c (handle_directive): Handle backslash-newlines in quoted
20967 strings correctly.
20968
20969 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
20970
20971 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
20972
20973 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
20974
20975 * flow.c (mark_regs_live_at_end, insn_dead_p,
20976 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
20977 and HARD_FRAME_POINTER_REGNUM special treatment if reload
20978 hasn't run or the frame pointer is needed.
20979 * haifa-sched.c (attach_deaths): Likewise.
20980 * sched.c (attach_deaths): Likewise.
20981
20982 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
20983
20984 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
20985 calculate_can_reach_end returns nonzero.
20986
20987 * configure.in (native gas tests): Search for an assembler in the
20988 same manner that the installed compiler will.
20989 * configure: Rebuilt.
20990 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
20991
20992 * alias.c (find_base_term): Improve handling of addresses
20993 constructed from binary operations.
20994
20995 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
20996
20997 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
20998
20999 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
21000
21001 * function.h (cleanup_label, frame_offset): Declare.
21002 (tail_recursion_label, tail_recursion_reentry): Likewise.
21003 (arg_pointer_save_area, rtl_expr_chain): Likewise.
21004 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
21005 (tail_recursion_label, tail_recursion_reentry): Likewise.
21006 (arg_pointer_save_area, rtl_expr_chain): Likewise.
21007
21008 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
21009
21010 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
21011 defined.
21012 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
21013 (MAX_OFILE_ALIGNMENT): Define.
21014
21015 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
21016
21017 * fixincl.c: Replace local include scheme with #includes of
21018 gansidecl.h and system.h.
21019 * procopen.c: Likewise.
21020 * server.c: Likewise.
21021
21022 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
21023
21024 * i386/t-dgux (EXTRA_PARTS): Add crti.o
21025 (crti.o): Add build rule and dependencies.
21026 * fixinc/fixinc.dgux: Use modified _int_varargs.h
21027
21028 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
21029
21030 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
21031 (LIB_LINUX_SPEC): Likewise.
21032 (LIB_LINUX_SPEC): Add support for -pthread
21033 (CPP_OS_LINUX_SPEC): Likewise.
21034 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
21035 specified.
21036
21037 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
21038
21039 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
21040 conditional move.
21041 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
21042 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
21043 for IEEE math and CC_FCOMI.
21044 (put_jump_code): No IEEE if CC_FCOMI is set.
21045
21046 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
21047
21048 * fold-const.c (fold_truthop): Make the field reference unsigned
21049 when converting a single bit compare.
21050
21051 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21052
21053 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
21054
21055 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
21056
21057 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
21058 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
21059 version did.
21060
21061 * reload.c (push_reload): Do not call remove_address_replacements
21062 when presented with identical optional reloads.
21063
21064 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
21065
21066 * alpha.h (MASK_FIX, TARGET_FIX): New.
21067 (MASK_*): Reorganize constants.
21068 (CPP_AM_FIX_SPEC): New.
21069 (TARGET_SWITCHES): Add FIX.
21070 (EXTRA_SPECS): Likewise.
21071 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
21072 (SECONDARY_MEMORY_NEEDED): Likewise.
21073 (REGISTER_MOVE_COST): Likewise.
21074 * alpha.c (override_options): Add FIX support. Always use
21075 ALPHA_TP_PROG for ev6.
21076 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
21077 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
21078 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
21079
21080 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
21081
21082 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
21083 something is a candidate for optimize_bit_field_compare.
21084
21085 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
21086
21087 * gcc.texi (Passes): Document branch-shortening.
21088 * invoke.texi (Debugging Options): Document the fact that `-dp'
21089 outputs length information for instructions.
21090
21091 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
21092
21093 * flow.c: Revert previous delta.
21094
21095 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
21096
21097 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
21098 FRAME_POINTER_REGNUM.
21099 (mark_set_1): Ditto.
21100 (mark_used_regs): Ditto.
21101
21102 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
21103
21104 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
21105 (GOT_PCREL): New macro. Define to 1 if not already defined.
21106 * arm/elf.h (GOT_PCREL): Define to 0.
21107 * arm.c (arm_finalize_pic): Take into account the setting of
21108 GOT_PCREL.
21109
21110 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
21111
21112 * output.h (STRIP_NAME_ENCODING): Provide default definition.
21113 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
21114
21115 * flow.c (mark_set_1): Do not record BLKmode stores as dead
21116 store elimination candidates.
21117
21118 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
21119
21120 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
21121 TARGET_GAS.
21122
21123 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
21124
21125 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
21126 Add use of x-aix41-gld.
21127
21128 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
21129
21130 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
21131 (ASM_OUTPUT_DESTRUCTOR): Define.
21132
21133 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
21134
21135 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
21136 last CODE_LABEL in a loop if we have previously passed a jump
21137 to the top of the loop.
21138
21139 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
21140
21141 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
21142 applying Philip's patch.
21143
21144 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
21145
21146 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
21147 are not VAR_DECLs.
21148
21149 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
21150
21151 * loop.c (strength_reduce): Grow reg_single_usage as needed.
21152
21153 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
21154
21155 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
21156 Also remove a useless comment.
21157
21158 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
21159
21160 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
21161
21162 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
21163
21164 * collect2.c (main): Only generate import or export file and add
21165 to link arguments if non-empty. Use xmalloc not alloca.
21166 (write_{export,import}_file): Delete.
21167 (write_aix_file): New function.
21168 (locatelib): Use xmalloc not malloc.
21169 (GCC_OK_SYMBOL): Do not check type if aix64.
21170
21171 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
21172
21173 Based on patch by Scott Bambrough and Pat Beirne:
21174 * config/arm/arm.c (making_const_table): New variable.
21175 * config/arm/arm.h (making_const_table): Declare.
21176 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
21177 appropriate.
21178 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
21179 Keep track of when we are building the constant table.
21180
21181 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
21182
21183 * config/arm/arm.c (arm_override_options): Fix erroneous warning
21184 message.
21185
21186 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
21187
21188 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
21189 defined.
21190
21191 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
21192
21193 * tm.texi (FUNCTION_ARG): Correct description of a stack element
21194 in a PARALLEL.
21195
21196 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
21197
21198 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
21199
21200 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
21201
21202 * rs6000.c (output_mi_thunk): Enable full support again.
21203
21204 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21205
21206 * sh.h (BRANCH_COST): Define.
21207
21208 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
21209
21210 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
21211
21212 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
21213
21214 * function.c (assign_stack_local): Align stack slot propertly.
21215 (assign_outer_stack_local): Likewise.
21216
21217 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
21218
21219 * expr.h (lang_expand_constant): Declare.
21220 * toplev.c (lang_expand_constant): Define it.
21221 * varasm.c (output_constant): Use it.
21222
21223 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21224
21225 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
21226 Change function definitions to K&R style.
21227
21228 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
21229
21230 * fixinc/fixincl.c: We must not ignore SIGCLD now.
21231
21232 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
21233
21234 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
21235 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
21236 (several places): omit static initialization
21237 (process): use single fd, since only the read fd is used
21238 * fixinc/gnu-regex.c: define 'const' away, if not supported
21239 * fixinc/procopen.c(several places): omit static initialization
21240 * fixinc/server.c: define 'volitile' away, if not supported
21241
21242 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
21243
21244 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
21245 asm_fprintf and %L to generate the label name.
21246 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
21247 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
21248
21249 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
21250
21251 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
21252 insn for a conditional jump can not be found.
21253
21254 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
21255
21256 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
21257 on variables in specific sections other than .sbss and .sdata.
21258
21259 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
21260
21261 * stmt.c (expand_return): Call start_cleanup_deferral and
21262 end_cleanup_deferral around conditional code.
21263
21264 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
21265
21266 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
21267 filename lists. Utilizes new "krstr" AutoGen function.
21268 * fixinc/fixincl.x: Rebuilt.
21269
21270 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
21271
21272 * i386.c (output_float_compare): Avoid GNU-C extensions.
21273
21274 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
21275
21276 * version.c: Bump to distinguish mainline tree from the
21277 gcc-2.95 branch.
21278
21279 See ChangeLog.1 for earlier changes.
This page took 1.012926 seconds and 6 git commands to generate.