1 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3 * builtins.c (expand_builtin): Handle bcmp.
5 * builtins.def: Add BUILT_IN_BCMP.
7 * c-common.c (c_common_nodes_and_builtins): Provide builtin
8 prototype & function for bcmp.
10 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
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.
16 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
18 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
19 alternative when using -fp64 -gp32.
21 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
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.
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.
31 2000-03-22 Richard Henderson <rth@cygnus.com>
33 * stmt.c (expand_asm_operands): Don't promote the temporary.
35 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
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):
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.
52 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
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.
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
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
69 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
71 (instantiate_virtual_regs): 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.
77 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
78 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
80 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
82 * builtins.def: New file.
84 * Makefile.in (TREE_H): Depend on builtins.def.
86 * builtins.c (built_in_names): Use builtins.def.
88 * tree.h (built_in_function): Likewise.
90 2000-03-22 Mark Mitchell <mark@codesourcery.com>
92 * tree.c (size_in_bytes): Return size_zero_node, not
95 2000-03-22 Geoff Keating <geoffk@cygnus.com>
97 * config/fp-bit.c (pack_d): Correct the case when a denormal
98 is rounded up and stops being denormal.
100 2000-03-21 Richard Henderson <rth@cygnus.com>
102 * config/alpha/alpha.c (function_arg): Check for void_type_node
103 before using MUST_PASS_IN_STACK.
105 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
107 * regmove.c (combine_stack_adjustments_for_block): Check that
108 the stack pointer is a valid memory address.
110 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
112 * calls.c: re-install Mar 16 emit_library_call merge.
114 2000-03-21 Jakub Jelinek <jakub@redhat.com>
116 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
117 we cannot be sure that if reload_completed base register will
120 2000-03-21 Richard Henderson <rth@cygnus.com>
122 * flow.c (delete_block): Fix typo last change.
124 2000-03-21 Mark Mitchell <mark@codesourcery.com>
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.
129 2000-03-21 Michael Meissner <meissner@redhat.com>
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.
137 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
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.
166 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
168 * config/c4x/rtems.h: Include config/rtems.h.
170 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
172 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
173 decl is a FUNCTION_DECL
175 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
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,
185 2000-03-20 Geoff Keating <geoffk@cygnus.com>
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.
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.
201 2000-03-20 Andreas Jaeger <aj@suse.de>
203 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
206 * tree.h (safe_for_unsave): Prototype.
208 2000-03-20 Richard Henderson <rth@cygnus.com>
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
216 2000-03-20 Richard Henderson <rth@cygnus.com>
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.
223 2000-03-20 Geoff Keating <geoffk@cygnus.com>
225 * configure.in: Set $IFS to a value if it doesn't already have one
226 in the --enable-checking handling.
227 * configure: Regenerate.
229 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
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:
235 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
237 * jump.c (delete_noop_moves): Remove code attempting to
238 combine stack adjustments.
240 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
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.
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.
264 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
266 * rs6000/t-aix41: New file.
268 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
270 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
272 * tm.texi (Driver): Fix typos and tweak entry for
274 Move misplaced STRUCT_FORCE_BLK entry ...
275 (Storage Layout): ... to here.
276 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
278 2000-03-19 Richard Henderson <rth@cygnus.com>
280 * flow.c (delete_block): Delete the addr_vec along with the block.
281 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
284 * fold-const.c (extract_muldiv): Apply type check for defined
285 overflow to multiply as well as divide.
287 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
289 2000-03-18 Mark Mitchell <mark@codesourcery.com>
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.
309 * expr.c: Include intl.h.
310 * Makefile.in (expr.o): Depend on intl.h.
312 2000-03-18 Richard Henderson <rth@cygnus.com>
314 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
316 2000-03-18 Mark Mitchell <mark@codesourcery.com>
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.
335 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
337 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
338 NEXT_INSN. Update last insn in chain.
340 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
342 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
343 with TYPE_DECL_SUPPRESS_DEBUG set.
345 2000-03-18 Richard Henderson <rth@cygnus.com>
347 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
349 2000-03-18 Richard Henderson <rth@cygnus.com>
351 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
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.
362 2000-03-17 Richard Henderson <rth@cygnus.com>
364 * rtlanal.c (single_set): Reject if the parallel has anything
365 except SET or USE or CLOBBER.
367 2000-03-17 Jeff Law <law@cygnus.com>
368 Richard Henderson <rth@cygnus.com>
370 * Makefile.in (OBJS): Add sibcall.o.
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
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.
402 (save_for_inline_nocopy): ... here.
403 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
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.
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.
425 2000-03-17 Mark Mitchell <mark@codesourcery.com>
427 * objc/objc-act.c (encode_method_prototype): Pass types, not
428 PARM_DECLs, to int_size_in_bytes.
430 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
432 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
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.
437 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
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:
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):
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.
492 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
494 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
496 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
498 * call.c (special_function_p): It is only malloc if it returns
501 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
508 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
515 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
517 * fold-const.c (fold): Fix a few cases when the returned result
518 is not of the same type as the input.
520 2000-03-16 Nick Clifton <nickc@cygnus.com>
522 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
525 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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".
531 2000-03-16 Richard Henderson <rth@cygnus.com>
533 * calls.c: Revert last two changes.
535 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
537 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
538 has exponent 0 is a zero.
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.
546 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
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.
558 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
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.
565 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
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
573 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
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
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.
584 2000-03-16 Neil Booth <NeilB@earthling.net>
586 * cppinit.c (handle_option): Implement #unassert directive
587 as -A- command line option.
588 (print_help): Update.
591 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
593 * md.texi (Standard Names): Document `jump'.
595 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
597 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
600 2000-03-15 Geoff Keating <geoffk@cygnus.com>
602 See the ChangeLog on the branch for more details.
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.
609 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
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.
617 2000-03-15 Nick Clifton <nickc@cygnus.com>
619 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
622 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
624 * cppfiles.c (open_include_file): New function.
625 (find_include_file, cpp_read_file): Use it.
627 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
629 * cpphash.c (dump_hash_helper): Take the slot, not the element.
631 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
633 * flow.c (verify_flow_info): Check for unconditional return.
635 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
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.
642 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
644 * cpphash.c (collect_formal_parameters): Do not complain about
645 parameter names that just start with `__VA_ARGS__'.
647 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
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.
654 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
656 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
657 STACK_BOUNDARY for empty frames now.
659 2000-03-14 Mark Mitchell <mark@codesourcery.com>
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.
669 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
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.
675 2000-03-14 Jason Eckhardt <jle@cygnus.com>
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.
681 2000-03-14 Greg McGary <gkm@gnu.org>
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.
692 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
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
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
756 2000-03-14 Nick Clifton <nickc@cygnus.com>
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.
763 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
765 * function.c (prepare_function_start): Correctly initialize
766 cfun->stack_alignment_needed.
768 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
770 * cppfiles.c (find_include_file): Don't assume nshort is a
773 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
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
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
787 2000-03-14 Richard Henderson <rth@cygnus.com>
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.
797 * i386.md: Revert 2000-01-16 change.
799 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
801 * gccbug.in: Add web category, gcc specific classes.
803 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
805 * stor-layout.c (finalize_record_size): Fix typo.
807 2000-03-14 Stan Shebs <shebs@apple.com>
809 * c-typeck.c (c_alignof): Error on incomplete types.
810 * extend.texi (Alignment): Document this.
812 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
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
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
832 (do_sccs): Define always, but alter behavior based on
834 (_cpp_handle_directive, consider_directive_while_skipping):
835 Restructure for new directive table layout.
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.
850 * cpphash.h: Update prototypes.
851 (enum node_type): Remove entries for directives.
852 * Makefile.in: Update dependencies.
854 * cpphash.c (dump_hash_helper): Only dump nodes of type
855 T_MACRO. Emit a newline after each definition.
857 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
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.
865 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
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.
874 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
876 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
877 (cpplex.o): New target.
878 * po/POTFILES.in: Add cpplex.c.
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.
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
905 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
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.
919 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
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.
924 2000-03-13 Jakub Jelinek <jakub@redhat.com>
926 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
927 (movsi_zero_liveg0): Remove.
928 (movsf_insn_novis_liveg0): 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
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):
949 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
951 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
954 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
956 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
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>
962 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
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.
968 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
970 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
971 STRUCTURE_SIZE_BOUNDARY.
973 2000-03-13 Mark Mitchell <mark@codesourcery.com>
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.
989 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
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.
998 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
1000 Convert cpplib to use libiberty/hashtab.c.
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.
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.
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).
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.
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
1048 (do_pragma_implementation): Use alloca to create copy.
1050 * Makefile.in: Update dependencies.
1052 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1054 * cppinit.c (cl_directive_handler): More K&R fixing.
1056 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
1058 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
1060 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
1062 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1064 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
1065 Change from char[] to macros.
1067 2000-03-12 Neil Booth <NeilB@earthling.net>
1069 * cppinit.c (cpp_start_read): Update indirect function
1072 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
1074 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
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.
1080 2000-03-11 Neil Booth <NeilB@earthling.net>
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.
1090 2000-03-11 Neil Booth <NeilB@earthling.net>
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.
1111 2000-03-10 Richard Henderson <rth@cygnus.com>
1113 * builtins.c (expand_builtin_strlen): Revert last change.
1114 Use emit_insn_before if we're at the beginning of a sequence.
1116 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
1118 * builtins.c (expand_builtin_strlen): Make sure that we have something
1119 at the beginning of the sequence.
1121 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
1124 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
1126 2000-03-10 Richard Henderson <rth@cygnus.com>
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.
1132 2000-03-10 Andreas Jaeger <aj@suse.de>
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.
1138 2000-03-09 Richard Henderson <rth@cygnus.com>
1139 Alex Samuel <samuel@codesourcery.com> and others
1141 * Makefile.in (ssa.o): New rule.
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.
1160 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
1162 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
1165 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
1167 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
1169 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
1171 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
1172 (MD_STARTFILE_PREFIX_1): New macro.
1174 2000-03-09 Robert Lipe <robertl@sco.com>
1176 * config/ia64/ia64.c: Include system.h.
1178 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
1180 * except.c (nothrow_function_p): If -fno-exceptions, just return.
1181 (init_eh_nesting_info): Likewise.
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.
1195 * varasm.c (make_decl_rtl): Skip initial '*' when setting
1196 DECL_ASSEMBLER_NAME.
1198 2000-03-09 Andreas Jaeger <aj@suse.de>
1200 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
1201 (TARGET_MEM_FUNCTIONS): Define.
1203 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
1205 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
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.
1216 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
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.
1222 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
1224 * recog.c (preprocess_constraints): Matching constraints affect
1225 same alternative/different operand, not same operand/different
1228 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
1229 register and a constant specially.
1231 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1233 * libgcc2.h: New file.
1234 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
1236 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
1238 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
1239 * configure: Regenerate.
1242 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1244 * Makefile.in (LIBCPP_DEPS): New macro.
1245 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
1247 * cpperror.c: Include cpphash.h.
1248 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
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.
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
1274 Change all uses of U_CHAR to be unsigned char instead.
1275 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
1277 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
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.
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.
1288 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
1290 * flow.c (make_edges): Always call make_eh_edge for calls.
1292 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
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
1299 (struct if_stack): Remove fname field.
1300 (IF_STACK_FRAME): Rename to IF_STACK.
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.
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.
1331 2000-03-08 Richard Henderson <rth@cygnus.com>
1333 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
1334 to fail. Don't pre-expand the source operand.
1336 * i386.md (strlensi): Initialize eoschar and align before use.
1338 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
1340 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
1341 CONSTRUCTOR element.
1343 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
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.
1349 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
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.
1355 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
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.
1364 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
1366 * cccp.c (handle_directive): Initialize backslash_newlines_p.
1368 2000-03-07 Philipp Thomas <pthomas@suse.de>
1370 * po/POTFILES.in: Remove cppalloc.c from file list.
1372 2000-03-07 Steve Chamberlain <sac@pobox.com>
1374 * pj.c (pj_expand_prologue): current_function->args_info is
1375 now current_function_args_info.
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.
1381 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1383 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
1384 output as hexadecimal rather than the default octal.
1386 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
1388 * cpphash.c (special_symbol): Fix thinko in previous commit.
1390 2000-03-07 Neil Booth <NeilB@earthling.net>
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):
1397 * cpplib.h: Update for above.
1398 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
1399 returned from allocations.
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.
1408 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
1410 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
1411 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
1413 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
1415 * cppinit.c (cpp_cleanup): Free imp->nshort also.
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
1436 * cpplib.c: Remove extern prototype of cpp_parse_expr.
1438 * cpphash.h: Update prototypes.
1439 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
1441 2000-03-07 Andrew Haley <aph@cygnus.com>
1443 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
1444 PTRDIFF_TYPE should be based solely on Pmode.
1447 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
1453 * cse.c (canon_hash): Likewise.
1455 * dbxout.c (dbxout_block): Likewise.
1457 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
1458 v_warning_for_asm): Likewise.
1460 * dwarfout.c (function_start_label): Likewise.
1462 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
1463 emit_line_note_force): Likewise.
1465 * final.c (last_filename, asm_insn_count, final_scan_insn,
1466 output_source_line): Likewise.
1468 * function.h (struct emit_status): Likewise.
1470 * gcse.c (hash_expr_1): Likewise.
1472 * genattr.c (gen_attr, main): Likewise.
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.
1481 * genflags.c (gen_insn): Likewise.
1483 * gengenrtl.c (type_from_format): Likewise.
1485 * genopinit.c (gen_insn): Likewise.
1487 * genoutput.c (n_occurrences, process_template, process_template):
1490 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
1493 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
1496 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
1497 ggc_set_mark, ggc_get_size): Likewise.
1499 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
1501 * optabs.c (init_one_libfunc): Likewise.
1503 * output.h (assemble_start_function): Likewise.
1505 * recog.c (decode_asm_operands): Likewise.
1507 * toplev.c (rest_of_compilation): Likewise.
1509 * tree.h (emit_line_note_after, emit_line_note,
1510 emit_line_note_force): Likewise.
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.
1517 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
1519 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
1521 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
1523 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
1525 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
1526 arm_dllimport_name_p): Likewise.
1528 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
1531 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
1533 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
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.
1539 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
1540 ASM_FINISH_DECLARE_OBJECT): Likewise.
1542 * arm/thumb.c (thumb_function_prologue): Likewise.
1544 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
1546 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1548 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
1550 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
1552 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
1554 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1556 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
1557 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
1559 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
1561 * i386/i386.c (asm_output_function_prefix): Likewise.
1563 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
1565 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1567 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
1569 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
1570 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
1571 ASM_OUTPUT_SECTION_NAME): Likewise.
1573 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
1575 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
1577 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
1579 * m32r/m32r.c (m32r_encode_section_info): Likewise.
1581 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1583 * mcore/mcore.c (mcore_encode_section_info): Likewise.
1585 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1587 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1589 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1591 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
1593 * mips/mips.md (movdi, movsi): Likewise.
1595 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1597 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1599 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1601 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
1602 ASM_OUTPUT_ASCII): Likewise.
1604 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
1605 output_mi_thunk, output_toc): Likewise.
1607 * rs6000/rs6000.md (movsi): Likewise.
1609 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
1611 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
1613 * v850/v850.c (print_operand, print_operand_address,
1614 v850_encode_data_area): Likewise.
1616 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
1618 * config/mips/mips.md (zero_extendsidi2): Always force operand
1619 one to memory for mips16.
1621 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
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):
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.
1686 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
1688 * cpphash.c (collect_expansion): Also catch ## at start of macro.
1690 * varasm.c (make_decl_rtl): Don't add a number to members of
1692 (make_function_rtl): Likewise.
1694 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1696 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
1697 patch from 2000-01-28.
1699 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
1701 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
1702 filled with an insn from the jump target.
1704 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
1710 1999-12-16 Ben Collins <bcollins@debian.org>
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.
1722 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1724 * builtins.c (built_in_class_names, built_in_names): Constify a
1727 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
1729 (_mcleanup): Ensure value matches format specifier in sprintf.
1731 * cpphash.c (special_symbol): Don't needlessly cast away
1734 * cppinit.c (base_name): Delete unused prototype.
1736 * mkdeps.c (deps_init): Make definition K&R safe.
1738 * tree.h (built_in_class_names, built_in_names): Constify a
1741 2000-03-06 Jakub Jelinek <jakub@redhat.com>
1743 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
1744 floating point instructions for epilogue delay.
1746 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
1747 to gas if it supports .register pseudo.
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.
1754 * gengenrtl.c: Likewise.
1755 * print-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.
1781 2000-03-06 Mark Mitchell <mark@codesourcery.com>
1783 * function.c (free_temps_for_rtl_expr): Don't free slots
1784 that have been pushed into a higher level.
1787 2000-03-05 Mark Mitchell <mark@codesourcery.com>
1789 2000-03-05 Mark Mitchell <mark@codesourcery.com>
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.
1799 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
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.
1807 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
1809 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
1811 2000-03-05 Mark Mitchell <mark@codesourcery.com>
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.
1821 2000-03-04 Mark Mitchell <mark@codesourcery.com>
1823 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
1825 * regmove.c (copy_src_to_dest) Do not create src->dest move
1826 for unchanging destination.
1828 2000-03-04 Mark Mitchell <mark@codesourcery.com>
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.
1856 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
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.
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
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
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
1880 * cppinit.c: Fix thinko in previous patch.
1882 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
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.
1890 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
1892 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
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
1901 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
1903 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
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.
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
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.
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.
1927 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
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.
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.
1939 * toplev.c (rest_of_compilation): Tweak formatting.
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.
1951 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
1953 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
1954 * cpplib.h: Delete SET_CPP_PEDANTIC.
1956 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1958 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
1959 result is a RECORD_TYPE.
1961 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
1963 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
1965 2000-03-03 Richard Henderson <rth@cygnus.com>
1967 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
1968 addition over compliments over shifts.
1970 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1972 * reload1.c (reload_combine_note_use): Handle return register USEs.
1973 REG case: Handle multi-hard-register hard regs.
1975 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1977 * md.texi: Document use of '*' in insn pattern name.
1979 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
1981 * calls.c (special_function_p): operator new may not be malloc-like.
1983 * gcse.c (dump_hash_table): Really fix error in last change.
1985 2000-03-02 Denis Chertykov <denisc@overta.ru>
1987 * avr.c (print_operand): Use print_operand_address instead of
1989 * avr/libgcc.S: Cleanup code.
1991 2000-03-02 Richard Henderson <rth@cygnus.com>
1993 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
1995 2000-03-02 Mark Mitchell <mark@codesourcery.com>
1997 * tree.h (TYPE_ALIGN_UNIT): New macro.
1999 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
2001 * i386.c: (constant_call_address_operand): Reject CONST_INT.
2003 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
2005 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
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.
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.
2019 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2021 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
2024 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
2026 * cppfiles.c (cpp_read_file): New function.
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
2033 (dump_definition): If pfile->lineno == 0, output a line
2034 command ahead of the dump, and add a trailing newline.
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.
2048 * cpplib.c (do_define): Don't pay any attention to the second
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.
2055 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
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
2066 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
2068 * calls.c (expand_call) Do not attempt to combine stack adjustments
2069 with inhibit_defer_pop set.
2071 2000-03-01 Mark Mitchell <mark@codesourcery.com>
2073 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
2074 the DECL_SIZE for a FIELD_DECL.
2076 2000-03-01 Bruce Korb <bkorb@gnu.org>
2078 * fixinc/inclhack.tpl: remove unused symlinks
2079 * fixinc/README: GCC Maintainer info
2080 * fixinc/inclhack.sh: regen
2081 * fixinc/fixincl.sh: regen
2083 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
2085 * cpphash.c (collect_expansion): Trim trailing white space
2086 from macro definitions, but don't go past the last insertion
2089 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
2091 * i386.md (mulqi3): New pattern.
2093 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
2095 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
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.
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.
2108 * cpphash.c (SKIP_WHITE_SPACE): Delete.
2109 (PEEKC): Copy defn from cpplib.c.
2110 (rest_extension, REST_EXTENSION_LENGTH): Delete.
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.
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
2141 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
2142 tokens under appropriate conditions.
2143 (cpp_unassert): Call do_unassert not do_assert. Oops.
2145 * cppexp.c (parse_defined): New function, break out of
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.
2151 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
2152 * gcc.dg/strpaste-2.c: New.
2154 2000-02-29 Mark Mitchell <mark@codesourcery.com>
2156 * fold-const.c (size_binop): Don't asert inputs are the same and
2157 have TYPE_IS_SIZETYPE set.
2158 (size_diffop): Likewise.
2160 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
2162 * dwarfout.c (output_block): Output abstract blocks even if they
2163 don't have TREE_ASM_WRITTEN set.
2165 * calls.c (emit_library_call): Check for null REG.
2167 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
2169 * c-decl.c (current_function_decl): Move to toplev.c.
2170 (init_decl_processing): Don't add current_function_decl as a ggc
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.
2185 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2187 * gcse.c: Cleanups throughout: mostly white-space, but also
2188 some minor rearrangement of code.
2190 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
2192 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
2193 returns a PARALLEL. Use emit_group_load and use_group_regs
2195 (emit_library_call_value): Similarly.
2197 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
2198 * pa/quadlib.asm: Remove.
2199 * pa/quadlib.c: New file.
2201 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
2202 * configure: Rebuilt.
2204 2000-02-29 Philip Blundell <pb@futuretv.com>
2206 * config/arm/conix-elf.h: New file.
2207 * configure.in (arm*-*-conix*): New configuration.
2208 * configure: Regenerate.
2210 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
2212 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
2213 don't have TREE_ASM_WRITTEN set.
2215 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
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.
2237 2000-02-28 Dmitri Makarov <dim@windriver.com>
2239 * extend.texi: Document ARM's support for long/short calls.
2241 * invoke.texi: Document ARM's -mlong-calls command line switch.
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.
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.
2269 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
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.
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.
2288 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
2289 ARM_DECLARE_FUNCTION_SIZE.
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.
2300 * config/arm/pe.c (arm_dllexport_name_p): Check for
2302 (arm_dllimport_name_p): Ditto.
2303 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
2304 (arm_mark_dllimport): Ditto.
2306 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2308 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
2310 2000-02-28 Mark Mitchell <mark@codesourcery.com>
2312 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
2314 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
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.
2323 2000-02-28 Nick Clifton <nickc@cygnus.com>
2325 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
2327 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
2329 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
2330 (ASM_WEAKEN_LABEL): Define.
2332 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
2334 * expr.c (store_constructor): Do not emit USE.
2335 * rtl.h (stupid_life_analysis): Remove.
2337 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2339 * function.c (number_blocks): Reset next_block_index based on
2340 what debugging format is used, not what is defined.
2342 * lcm.c: Minor reformatting throughout.
2343 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
2345 * toplev.c (rest_of_compilation): Account for time in
2346 optimize_mode_switching.
2348 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
2349 if only marking labels.
2351 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
2353 * calls.c (expand_call): Attempt to combine stack adjustments with
2354 pending stack adjustments.
2356 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2358 * loop.c (reg_in_basic_block_p): Don't abort when falling through
2359 to the end of the function.
2361 2000-02-27 Mark Mitchell <mark@codesourcery.com>
2363 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
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
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
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
2408 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
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
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.
2476 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
2478 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
2480 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2482 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
2483 Mark as possibly unused.
2485 * cse.c (cse_insn): Delete dead code involving tablejump.
2486 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
2488 * Makefile.in (libcpp.a): Start by deleting it.
2490 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2492 * cpplib.h (enum file_change_code): Added rename_file.
2493 * cpplib.c (do_line): If a filename is given, set file_change to
2495 (output_line_command): If file_change is rename_file, always
2496 output a # directive with the file name.
2498 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
2500 2000-02-26 Mark Mitchell <mark@codesourcery.com>
2502 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
2503 when copying a PARM_DECL or RESULT_DECL.
2505 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2507 * fix-header.c (recognized_function): Also fix prototypes for
2508 functions taking "void".
2510 2000-02-26 Geoff Keating <geoffk@cygnus.com>
2512 * reload1.c (do_output_reload): Check reg_reloaded_valid before
2513 looking at reg_reloaded_contents.
2515 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
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
2529 * configure.in: Remove refs to strerror.
2530 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
2531 * system.h: Take out strerror stanza.
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.
2539 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
2540 xstrerror throughout.
2542 2000-02-26 Bruce Korb <bkorb@gnu.org>
2544 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
2545 match for DOS headers, too.
2546 * fixinc/inclhack.sh,fixincl.x: Regenerate.
2548 2000-02-26 Geoff Keating <geoffk@cygnus.com>
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
2557 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
2560 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2562 * toplev.c (documented_lang_options): Correct spelling error.
2563 (decode_d_option, decode_f_option, main): Likewise.
2565 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
2567 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
2568 to tell assembler it is permitted to expand large constants.
2570 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
2572 * protoize.c: (AUX_INFO_SUFFIX): New macro.
2573 (aux_info_suffix): Use.
2574 (SAVE_SUFFIX): New macro.
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.
2580 * invoke.texi (Running Protoize): Update documentation.
2582 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
2584 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
2586 2000-02-25 John Wehle (john@feith.com)
2588 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
2590 2000-02-25 Anthony Green <green@cygnus.com>
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
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.
2600 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
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
2606 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
2608 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
2609 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
2611 * i386.md (define_expand "clrstrsi"): Fix typo.
2613 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
2615 * rtl.texi: Fix typo.
2617 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
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.
2624 2000-02-25 Geoff Keating <geoffk@cygnus.com>
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.
2630 2000-02-24 Mark Mitchell <mark@codesourcery.com>
2632 * input.h (push_srcloc): New function.
2633 (pop_srcloc): Likewise.
2634 * toplev.c (push_srcloc): Define it.
2635 (pop_srcloc): Likewise.
2637 2000-02-24 Richard Henderson <rth@cygnus.com>
2639 * flow.c (life_analysis): When collecting reg info, clear
2642 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
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.
2650 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
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 ().
2660 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
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.
2667 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
2669 * i386.h: Remove useless definition of "I386" and misleading
2672 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
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.
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'.
2688 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2690 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
2692 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
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.
2698 2000-02-23 Nick Clifton <nickc@cygnus.com>
2700 * config/arm/arm.c (arm_comp_type_attributes): Simply and
2701 comment tests on type attributes.
2703 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
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.
2712 2000-02-22 Andrew Haley <aph@cygnus.com>
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.
2718 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2720 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
2722 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
2724 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
2725 BIGGEST_FIELD_ALIGNMENT a constant.
2727 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
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.
2735 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
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.
2746 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2748 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
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.
2754 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
2756 * integrate.c (compare_blocks, find_block): Likewise.
2758 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
2760 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
2762 * stmt.c (stmt_status, set_file_and_line_for_stmt,
2763 expand_asm_operands): Likewise.
2765 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
2767 * predict.c (estimate_probability): Added the pointer heuristic to
2768 the collection of static branch predictors.
2770 2000-02-21 Catherine Moore <clm@cygnus.com>
2772 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
2773 * invoke.texi (-mfix7000): Document.
2775 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
2777 * diagnostic.c (init_output_buffer): Make it possible to output at
2778 least 32 characters if we're given a too long prefix.
2780 2000-02-20 Mark Mitchell <mark@codesourcery.com>
2782 * varasm.c (initializer_constant_valid_p): Call
2783 lang_expand_constant to simplify the constant.
2785 2000-02-20 Bruce Korb <bkorb@gnu.org>
2787 * fixinc/inclhack.def(stdio_va_list):
2788 typedef needs to be disabled.
2789 * fixinc/inclhack.sh: regen
2790 * fixinc/fixincl.x: regen
2792 2000-02-20 Geoff Keating <geoffk@cygnus.com>
2794 * print-rtl.c (print_rtx): Don't print addresses when
2795 flag_dump_unnumbered.
2797 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2799 * sparc.c (sparc_output_scratch_registers): Mark parameter with
2801 (sparc_va_arg, sparc_flat_output_function_prologue,
2802 sparc_flat_output_function_epilogue): Cast value to unsigned in
2804 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
2806 * sparc.md: Add default case in switch.
2808 2000-02-19 Richard Henderson <rth@cygnus.com>
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.
2814 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2816 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
2818 (start_catch_handler) : Same.
2820 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
2822 * Makefile.in: Have flow.o depend on $(EXPR_H)
2824 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
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.
2857 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
2859 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
2861 2000-02-18 Geoff Keating <geoffk@cygnus.com>
2863 * invoke.texi (Warning Options): Add an explanation of why
2864 you might want the -Wfloat-equal flag.
2866 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
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
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
2893 2000-02-18 Nick Clifton <nickc@cygnus.com>
2895 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
2896 anything for an alignment of zero.
2898 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
2899 anything for an alignment of zero.
2901 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
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.
2909 2000-02-18 Richard Henderson <rth@cygnus.com>
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.
2928 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
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.
2935 * tree.h (tree_int_cst_msb): Declare.
2936 * tree.c (tree_int_cst_msb): New function.
2938 2000-02-17 Mark Mitchell <mark@codesourcery.com>
2940 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
2943 * invoke.texi (-fmessage-length=n): Document.
2945 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
2947 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
2949 2000-02-17 Mark Mitchell <mark@codesourcery.com>
2951 * function.c (thread_prologue_and_epilogue_insns): Put a line note
2954 2000-02-17 Nick Clifton <nickc@cygnus.com>
2956 * config/arm/thumb.c: Replace includes of system headers with
2957 #include "system.h".
2959 2000-02-16 Richard Henderson <rth@cygnus.com>
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.
2967 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
2968 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
2970 (__dso_handle): New variable.
2971 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
2972 bias to __CTOR_END__.
2974 2000-02-16 Richard Henderson <rth@cygnus.com>
2976 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
2978 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
2980 * longlong.h (__clz_tab): Declare as static to match definition.
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.
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.
2991 (CTORS_SECTION_ASM_OP): Define.
2992 (CTOR_SECTION_FUNCTION): Use it.
2993 (DTORS_SECTION_ASM_OP): Define.
2994 (DTOR_SECTION_FUNCTION): Use it.
2996 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
2998 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
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.
3006 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
3008 * configure.in: Add support for avr target.
3009 * configure: Rebuilt.
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.
3016 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
3018 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
3020 2000-02-16 Nick Clifton <nickc@cygnus.com>
3022 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
3023 (make_insn_raw): Move RTL check here.
3025 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3027 * version.c: Include gansidecl.h and version.h.
3029 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
3031 * configure.in (gcc_version): When setting, narrow search to
3032 lines containing `version_string'.
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.
3041 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
3042 Michael Meissner <meissner@cygnus.com>
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.
3050 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3052 * cpplib.c (do_line): Pedwarn for #line > 32767.
3054 * c-lex.c (readescape): Warn about '\x', but do not reject it.
3056 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
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__.
3064 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
3067 2000-02-15 Denis Chertykov <denisc@overta.ru>
3069 * configure.in: Add support for avr target.
3071 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
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.
3077 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3079 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
3081 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
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.
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.
3095 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
3097 * config/sh/sh.md: Guard insn splits against illegal registers.
3098 * config/sh/sh.h: Correct comment about macros.
3100 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3101 Andrew MacLeod <amacleod@cygnus.com>
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.
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.
3135 2000-02-15 Loren Rittle <ljrittle@acm.org>
3137 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
3139 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
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.
3169 * mips-tfile.c: Likewise.
3170 * protoize.c: Likewise.
3171 * toplev.c: Likewise.
3174 * version.c (version_string): Constify a char*.
3176 * version.h: New file.
3178 2000-02-14 Nick Clifton <nickc@cygnus.com>
3180 * configure.in: Add mcore-elf and mcore-pe targets.
3181 * configure: Regenerate.
3183 * NEWS: Add note that MCore port has been contributed.
3185 * invoke.texi: Document command line switches for MCore port.
3186 * install.texi: Add MCore to list of supported targets.
3188 2000-02-14 Geoff Keating <geoffk@cygnus.com>
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.
3195 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
3196 Jason Eckhardt <jle@cygnus.com>
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
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.
3208 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
3210 * gcc.texi (Passes): Fix typo.
3211 * md.texi (Standard Names): Ditto.
3212 * tm.texi (Storage Layout): Ditto.
3214 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
3216 * cpplib.c (do_define): Only free the old definition if it
3219 2000-02-13 Neil Booth <NeilB@earthling.net>
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.
3226 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
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.
3233 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3235 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
3237 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
3239 * combine.c (simplify_comparison): Fix typo.
3241 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
3243 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
3246 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3248 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
3249 previously inserted node instead of root node. Caller changed.
3251 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3253 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
3255 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3257 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
3258 __dereg_frame_dtor): Add prototype argument.
3260 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
3262 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
3264 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
3266 * gthr-vxworks.h (__gthread_once): Likewise.
3268 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
3270 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
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.
3277 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
3279 * config/arm/arm.c (arm_init_cumulative_args); New function:
3280 Initlaise the CUMULATIE_ARGS strcuture for a function
3282 (arm_function_arg): New function: Determine where to place a
3283 function's argument. Also handles deciding the function's
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.
3294 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
3296 (FUNCTION_ARG): Redefine to call arm_function_arg.
3297 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
3299 (INIT_CUMULATIVE_ARGS): Redefine to call
3300 arm_init_cumulative_args.
3301 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
3303 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
3305 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
3307 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
3308 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
3309 (COMP_TYPE_ATTRIBUTES): Define.
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
3315 (call_symbol): Call arm_is_long_call_p to decide if a long call
3318 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
3320 2000-02-11 Denis Chertykov <denisc@overta.ru>
3322 * README.AVR: New file with information about the avr ports.
3323 * config/avr: New directory with avr port files.
3325 2000-02-11 Andreas Jaeger <aj@suse.de>
3327 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
3329 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
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.
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
3342 (do_error, do_warning): Don't use copy_rest_of_line or
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.
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.
3357 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
3359 * jump.c (jump_optimize_1): The first operand in a relational
3361 * optabs.c (emit_conditional_move): Handle relationals which
3362 have a known true/false result.
3364 2000-02-11 Geoff Keating <geoffk@cygnus.com>
3366 * function.c (thread_prologue_and_epilogue_insns): Don't insert
3367 a RETURN insn into a block which already ends with a jump.
3369 2000-02-11 Geoff Keating <geoffk@cygnus.com>
3371 * haifa-sched.c (BUF_LEN): Increase a lot.
3373 2000-02-11 Nick Clifton <nickc@cygnus.com>
3375 * configure.in: Add tm_p_file specification for thumb targets.
3376 * configure: Regenerate.
3378 * config/arm/thumb-protos.h: New file: Prototypes for exported
3379 functions defined in thumb.c.
3381 2000-02-11 Robert Lipe <robertl@sco.com>
3383 * Makefile.in (bootstrap-lean): Remove additional files.
3384 (bootstrap2-lean): Likewise.
3385 (VOL_FILES): List of files for above.
3387 2000-02-11 Nathan Sidwell <nathan@acm.org>
3389 * cpphash.c (special_symbol): Remove spurious argument to
3392 2000-02-11 Joel Sherrill (joel@OARcorp.com>
3394 * configure.in: (i*86-*-rtems*): Swapped elf and coff
3396 * configure: Rebuilt.
3398 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
3400 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
3402 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
3404 * pa.c, pa.h: Remove trigraph sequences within comments.
3406 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
3408 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
3410 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
3412 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
3414 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3416 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
3418 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
3427 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
3428 (c4x_external_ref, c4x_end_file): Likewise.
3430 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
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
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.
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
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.
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
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.
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.
3466 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3468 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
3470 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
3472 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
3473 rather than die->die_tag.
3475 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
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):
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.
3520 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
3522 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
3523 then store directly into op0.
3525 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
3526 the CALL_INSN, and emit the note immediately after it.
3528 2000-02-10 Nick Clifton <nickc@cygnus.com>
3530 * config/arm/thumb.md (epilogue): Include a (return) in the
3531 generated insn, and emit it using emit_jump_insn not
3534 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
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
3543 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3545 * flow.c (mark_regs_live_at_end): Delete unused variables.
3547 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
3549 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
3550 in macro FRAME_GROWS_DOWNWARD.
3552 * stmt.c (expand_end_bindings): Delete unused variable.
3554 * unroll.c (iteration_info): Mark parameter `loop' with
3557 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3559 * fixinc/server.c (load_data): Return NULL if the marker line is
3561 (run_shell): If load_data returns NULL, retry the command once, in
3564 * configure: Rebuilt.
3566 2000-02-09 Bruce Korb <bkorb@gnu.org>
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.
3576 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
3577 * function.c (thread_prologue_and_epilogue_insns): Uncomment
3580 2000-02-09 Richard Henderson <rth@cygnus.com>
3582 * jump.c (delete_insn): Don't delete user labels at -O0.
3584 2000-02-09 Robert Lipe <robertl@sco.com>
3586 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
3587 Don't link with HOST_LIBS.
3589 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
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
3597 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
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.
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.
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
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.
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.
3627 * cpphash.c (macarg): Hoist all the flag diddling out of the
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.
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
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.
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
3654 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
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
3660 2000-02-09 Scott Bambrough <scottb@netwinder.org>
3662 * config/arm/arm.md (movsi): In PIC mode, make sure that a
3663 constant source address is legitimate.
3665 2000-02-09 Philip Blundell <pb@futuretv.com>
3667 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
3670 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
3672 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
3674 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
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
3680 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
3682 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
3683 not to BIGGEST_ALIGNMENT.
3685 2000-02-08 Geoff Keating <geoffk@cygnus.com>
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.
3694 2000-02-08 Richard Henderson <rth@cygnus.com>
3696 * flow.c (tidy_fallthru_edges): Split out from ...
3697 (delete_unreachable_blocks): ... here.
3698 (find_basic_blocks): Use it.
3700 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3702 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
3704 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
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.
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.
3717 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3719 * i386.h (TARGET_SWITCHES): Fix typo in option name.
3721 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
3723 * function.c (thread_prologue_and_epilogue_insns): Don't replace
3724 jumps with returns unless they are jumps to the fallthru block.
3726 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
3728 * i386.md (addqi3_cc): Fix contraints.
3730 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
3732 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
3734 2000-02-07 Mark Mitchell <mark@codesourcery.com>
3736 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
3737 carriage return after a macro name.
3739 2000-02-07 Fred Fish <fnf@be.com>
3741 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
3742 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
3744 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
3746 * cppfiles.c (deps_output): Count spacers in deps_column.
3748 2000-02-07 Neil Booth <NeilB@earthling.net>
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.
3754 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
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.
3772 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
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.
3782 * cpperror.c (cpp_print_containing_files): Take starting
3784 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
3785 (v_cpp_message): Now called directly by all entry points.
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.
3795 * cpplib.h: Update prototypes of exported functions.
3796 (struct cpp_options): Add inhibit_errors.
3798 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
3799 non-error messages. Include intl.h.
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.
3805 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
3806 report internal errors.
3808 * cpplib.c (do_define): Switch bcopy to memcpy.
3809 Give cpp_pedwarn_with_file_and_line a dummy column argument.
3811 * cpplib.c (copy_rest_of_line): Revert previous change: don't
3812 bail out early if we hit a line comment.
3814 2000-02-06 Richard Henderson <rth@cygnus.com>
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.
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.
3831 2000-02-06 Richard Henderson <rth@cygnus.com>
3833 * simplify-rtx.c (simplify_relational_operation): Canonicalize
3834 constant to op1 for testing.
3836 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3838 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
3839 (fixuns_truncqfqi2): Use it.
3841 2000-02-06 Richard Henderson <rth@cygnus.com>
3843 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
3846 * i386.md (widening and peepholes): Mask the constant instead of
3849 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
3851 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
3852 input pointer before possibly branching off to the backslash
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.
3864 (cpp_get_token): goto randomchar if handle_directive returns 0.
3866 * cppalloc.c: Update copyright.
3867 * cpplib.c: Merge all the static function prototypes into one
3869 * cpplib.h: Remove #if 0 block.
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.
3881 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
3883 * i386/osf1elf.h: Add missing backslash to multiline string.
3885 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3887 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
3889 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3891 * Makefile.in (c-common.o): Depend on $(EXPR_H).
3893 * c-common.c: Include expr.h.
3895 * c-pragma.c (mark_align_stack): Add prototype.
3897 * caller-save.c (add_stored_regs): Likewise.
3899 * combine.c (record_promoted_value): Likewise.
3901 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
3904 * cppinit.c (new_pending_define): Likewise.
3906 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
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.
3913 * dwarf2out.h (dwarf2out_set_demangle_name_func,
3914 dwarf2out_add_library_unit_info): Likewise.
3916 * ggc.h (ggc_page_print_statistics): Likewise.
3918 * haifa-sched.c (propagate_deps): Likewise.
3920 * reg-stack.c (next_flags_user, record_label_references): Likewise.
3922 * rtl.h (set_stack_check_libfunc): Likewise.
3924 * toplev.h (set_fatal_function): Likewise.
3926 * toplev.c (set_fatal_function): Delete prototype.
3928 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
3930 2000-02-05 Geoff Keating <geoffk@cygnus.com>
3932 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
3933 (FUNC_END): Likewise.
3935 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3937 * caller-save.c: Include tm_p.h.
3939 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3941 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
3943 2000-02-04 Neil Booth <NeilB@earthling.net>
3945 * cccp.c (main): Check 'dir' for a NULL pointer before passing
3948 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
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.
3959 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3961 * fixinc/Makefile.in (HDR): Add machname.h.
3964 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
3971 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
3973 * dwarf2out.c (add_abstract_origin_attribute): Don't call
3974 gen_abstract_function on our context if we're a nested function.
3976 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3978 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
3979 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
3981 2000-02-04 Bruce Korb <bkorb@gnu.org>
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.
3988 * fixinc/Makefile.in(machname.h):
3989 Change the generation rule to use genfixes.
3991 * fixinc/fixfixes.c(machine_name):
3992 machine_name_fix's functionality now dependent upon whether
3993 MN_NAME_PAT is defined.
3995 * fixinc/fixtests.c(machine_name):
3998 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
4001 * fixinc/fixlib.h(mn_get_regexps):
4004 * fixinc/gen-machine.h: DELETED
4006 2000-02-04 Jan Hubicka <jh@suse.cz>
4007 Richard Henderson <rth@cygnus.com>
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
4019 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
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.
4026 2000-02-04 Richard Henderson <rth@cygnus.com>
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.
4039 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
4041 * tm.texi (Values in Registers): Fix typo: "fo" "for".
4042 (Misc): Say the scheduler, not the Haifa scheduler.
4044 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
4046 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
4047 when in_mem is set. Update all callers.
4049 2000-02-04 Richard Henderson <rth@cygnus.com>
4051 * i386/openbsd.h (INT_ASM_OP): Define.
4053 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
4055 * tm.texi: Fix various typos.
4057 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
4059 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
4060 (MD_STARTFILE_PREFIX_1): New macro.
4062 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
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.
4073 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
4075 * i386/netbsd.h (INT_ASM_OP): Define.
4077 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
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.
4084 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
4086 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
4087 FP constants. Add ! TARGET_FPU check for FP constants.
4089 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
4091 * flow.c (find_basic_blocks): Don't kill label_value_list
4093 (cleanup_cfg): Kill it here.
4095 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4097 * expr.c (store_field): Ensure ALIGN is no stricter than the
4100 2000-02-02 Richard Henderson <rth@cygnus.com>
4102 * jump.c (delete_insn): Partially revert 19 Jan change;
4103 don't convert unused code labels to notes at -O0.
4105 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4107 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
4108 split_all_insns to recreate REG_LABEL notes for flow2 pass.
4110 2000-02-01 Richard Henderson <rth@cygnus.com>
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.
4120 2000-02-01 Richard Henderson <rth@cygnus.com>
4122 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
4123 replace BLKmode with DECL_RTL's mode.
4125 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
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.
4135 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
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
4143 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
4144 use string concatenation. Don't save and restore esi.
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
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
4158 * fixinc/fixincl.c: Define NO_BOGOSITY.
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.
4166 2000-02-01 Richard Henderson <rth@cygnus.com>
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
4174 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
4176 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
4179 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4181 * Makefile.in (specs.ready): New target.
4182 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
4184 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
4192 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4194 * tsystem.h: New file.
4196 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
4197 s-crtS): Depend on tsystem.h.
4199 * crtstuff.c: Include tsystem.h.
4200 * frame.c: Likewise.
4201 * libgcc2.c: Likewise.
4203 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
4205 * builtins.c (expand_builtin_memset): Expand for variable sized
4208 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
4210 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
4213 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
4215 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
4217 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
4219 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
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'.
4227 2000-01-31 Dave Brolley <brolley@redhat.com>
4229 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
4231 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
4233 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
4236 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4238 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
4240 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
4243 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
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.
4256 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
4257 Add %(cpp_cpu) to CPP_SPEC.
4259 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
4260 Add %(cc1_cpu) to CC1_SPEC.
4262 2000-01-28 Ulrich Drepper <drepper@redhat.com>
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.
4269 2000-01-30 Richard Henderson <rth@cygnus.com>
4271 * alpha.md (return_internal): Allow after reload only.
4273 2000-01-30 Richard Henderson <rth@cygnus.com>
4275 * i386.c (ix86_compute_frame_size): Omit padding1 if the
4276 local frame size is zero.
4278 2000-01-30 Richard Henderson <rth@cygnus.com>
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.
4286 2000-01-30 Richard Henderson <rth@cygnus.com>
4288 * alpha.md (negtf2, abstf2): Fix word order thinko.
4290 (trunctfsf2): Avoid intermediate rounding errors.
4292 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
4294 * cppfiles.c (find_position): Drop 'colp' argument, return the
4296 (read_and_prescan): Adjust to match. Don't ever manipulate
4297 line or line_base except via find_position.
4299 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
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:
4305 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
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
4313 (cpp_pedwarn_with_file_and_line): Always call
4314 cpp_file_line_for_message.
4316 2000-01-29 Mark Mitchell <mark@codesourcery.com>
4318 * flow.c (mark_regs_live_at_end): Fix typo.
4320 2000-01-28 Ulrich Drepper <drepper@redhat.com>
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.
4327 * cpplib.h: Likewise.
4328 * c-decl.c: Likewise. Recognize options with names "*99" as well.
4329 * cppinit.c: Likewise.
4331 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
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.
4342 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4344 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
4346 (c4x_function_prologue): Use regnames intead of float_reg_names when
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.
4353 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
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.
4361 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
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.
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
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.
4374 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
4381 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
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.
4388 2000-01-28 Richard Henderson <rth@cygnus.com>
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.
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.
4408 2000-01-28 Richard Henderson <rth@cygnus.com>
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.
4414 * haifa-sched.c (schedule_insns): Don't recompute reg info
4417 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
4419 * configure.in: Make --enable-cpplib the default.
4420 * configure: Regenerate.
4421 * gcc.dg/990119-1.c: No longer expected to fail.
4423 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
4425 * jump.c (jump_optimize_1): Delete an optimization that is also done
4426 by merge_blocks in flow.
4428 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4430 * diagnostic.c (build_message_string, output_printf,
4431 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
4432 (build_location_prefix): Fix non-literal format string.
4434 2000-01-27 Richard Henderson <rth@cygnus.com>
4436 * alpha.md (trunctfsf2): New.
4438 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
4440 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
4442 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
4444 * cppinit.c (cpp_handle_option): Recognize C++ comments under
4446 * cpplib.c (skip_block_comment, skip_line_comment): Split code
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
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.
4461 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
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.
4468 * function.c (purge_addressof_1): Use unshare_all_rtl_again
4469 rather than resetting the 'used' flags ourself.
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.
4476 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
4478 * genoutput.c (output_prologue): Include ggc.h in generated
4480 * Makefile.in (insn-output.o): Depends on ggc.h.
4482 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
4483 Hans-Peter Nilsson <hp@bitrange.com>
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.
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.
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
4529 2000-01-27 Fred Fish <fnf@be.com>
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.
4538 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
4540 * cppinit.c: Add " (cpplib)" to end of string printed by
4543 2000-01-27 Richard Henderson <rth@cygnus.com>
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.
4552 2000-01-27 Jakub Jelinek <jakub@redhat.com>
4554 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
4555 no -g option specifying debugging format, default to -gstabs+.
4557 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
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
4565 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
4566 * tree.h (special_function_p): Update prototype.
4568 2000-01-26 Richard Henderson <rth@cygnus.com>
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.
4576 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4578 * i386/cygwin.h: PROTO -> PARAMS.
4580 2000-01-26 Jakub Jelinek <jakub@redhat.com>
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.
4596 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
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.
4602 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
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.
4611 2000-01-25 Richard Henderson <rth@cygnus.com>
4613 * sparc.c (output_cbranch): Fix accidental squashing of the
4614 fp branch pre-delay nop.
4616 2000-01-25 Richard Henderson <rth@cygnus.com>
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.
4622 * rtl.def (UNNE): Remove.
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.
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.
4635 2000-01-25 Nick Clifton <nickc@redhat.com>
4637 * emit-rtl.c (emit_insn): Only check machine class insns for
4638 improper emission of a RETURN.
4640 2000-01-25 Richard Henderson <rth@cygnus.com>
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.
4646 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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
4660 (basic_induction_var): Add loop argument, delete loop_level argument,
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;
4669 (precondition_loop_p): Delete loop_start and loop_info arguments;
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;
4675 (final_biv_value): Delete loop_start and loop_end arguments;
4677 (final_giv_value, back_branch_in_range_p): Likewise.
4679 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
4681 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
4683 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
4685 * Makefile.in (c-gperf.h) : Change the "See" pointer to
4686 point to the new "generated_files" doc.
4688 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
4690 * config/fp-bit.c (_unord_f2): Fix typo.
4692 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
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
4704 * c-tree.h: Update prototype for start_function.
4706 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
4708 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
4710 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
4713 2000-01-25 Richard Henderson <rth@cygnus.com>
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.
4724 2000-01-25 Richard Henderson <rth@cygnus.com>
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.
4733 2000-01-25 Richard Henderson <rth@cygnus.com>
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.
4739 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
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
4753 (ultrix_ifdef): Tighten up select expression.
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
4764 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
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.
4775 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
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.
4781 2000-01-24 Richard Henderson <rth@cygnus.com>
4783 * i386.c (i386_dwarf_output_addr_const): New.
4784 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
4786 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
4788 * dwarfout.c (output_mem_loc_descriptor): Likewise.
4789 * i386.c (i386_simplify_dwarf_addr): New.
4790 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
4792 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
4794 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
4795 TYPE_STUB_DECL is NULL.
4797 2000-01-24 Richard Henderson <rth@cygnus.com>
4799 * builtins.c (expand_tree_builtin): Move ...
4800 * c-common.c (expand_tree_builtin): ... here.
4802 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
4810 2000-01-24 Christopher Faylor <cgf@cygnus.com>
4812 * config/i386/t-cygwin: Accomodate new winsup directory layout
4813 when searching for include files.
4815 2000-01-24 Richard Henderson <rth@cygnus.com>
4817 * rtl.def: Add unordered fp comparisions.
4818 * tree.def: Likewise.
4819 * tree.h: Add ISO C 9x unordered fp comparision builtins.
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.
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
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
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.
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.
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.
4860 2000-01-24 Richard Henderson <rth@cygnus.com>
4862 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
4863 * alpha.md (movtf): New expander, insn, and splitter.
4865 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
4867 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
4870 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
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
4904 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
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.
4912 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
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.
4918 2000-01-23 Richard Henderson <rth@cygnus.com>
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.
4924 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
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.
4950 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4952 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
4953 * config/sparc/sol2.h: ... here.
4955 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
4963 2000-01-23 Richard Henderson <rth@cygnus.com>
4965 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
4966 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
4968 2000-01-23 Richard Henderson <rth@cygnus.com>
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.
4977 2000-01-23 Mark Mitchell <mark@codesourcery.com>
4979 * ggc-page.c (struct page_entry): Make `context_depth' an
4981 (struct globals): Likewise.
4983 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
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.
4989 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4991 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
4993 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
4995 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
4996 'pz_scan' into scope of entire function. Only affects
4997 compiles with -DDEBUG.
4999 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
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.
5009 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
5011 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
5014 2000-01-21 Jim Wilson <wilson@cygnus.com>
5016 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
5017 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
5019 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
5021 * cpphash.c (change_newlines): Delete function.
5022 (struct argdata): Delete 'newlines' and 'use_count' fields.
5023 (macroexpand): Remove code referencing those fields.
5025 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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,
5031 (find_and_verify_loops): Do not allocate loops->array.
5033 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
5035 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
5037 2000-01-21 Jakub Jelinek <jakub@redhat.com>
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.
5043 2000-01-20 Richard Henderson <rth@cygnus.com>
5045 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
5047 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
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.
5060 * gcc.c (do_spec_1) [case P]: Take care not to create
5061 identifiers with three leading or trailing underscores.
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.
5071 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
5073 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
5075 2000-01-19 Richard Henderson <rth@cygnus.com>
5077 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
5078 arguments with BB. Update all callers. Tidy line wrapping.
5080 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
5082 * emit-rtl.c (try_split): Return last_insn if we split the
5085 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
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
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.
5100 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5102 * recog.h (OUT_FCN): Delete.
5104 * vax.md: Call `get_insn_template' instead of OUT_FCN.
5106 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5108 * cppalloc.c: PROTO -> PARAMS.
5109 * cpperror.c: Likewise.
5110 * cppfiles.c: Likewise.
5111 * cpplib.c: Likewise.
5112 * cpplib.h: Likewise.
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.
5125 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5127 * i370-protos.h: New file.
5129 * i370.c: Include tm_p.h. Fix compile time warnings.
5131 * i370.h: Move prototypes to i370-protos.h. Fix compile time
5134 * i370.md: Likewise.
5136 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5138 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
5139 (target_isinf, target_isnan, eisnan): Mark parameter with
5141 (eiisinf): Wrap in INFINITY.
5142 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
5143 (ibmtoe): Remove unused variable `rndsav'.
5145 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5147 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
5148 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
5150 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
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.
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
5162 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
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.
5169 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
5172 2000-01-19 Geoff Keating <geoffk@cygnus.com>
5174 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
5177 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5179 * loop.c (loop_optimize): Allocate loop_info structure for each loop
5180 prior to calling scan_loop.
5182 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5184 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
5185 (split_branches, calc_live_regs): Likewise.
5187 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5189 * sh.md (fpu_single, fp_mode): New attributes.
5191 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
5199 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
5202 2000-01-19 Richard Henderson <rth@cygnus.com>
5204 * stupid.c: Die die die.
5205 * Makefile.in (OBJS): Remove stupid.o.
5206 (stupid.o): Likewise.
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
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.
5239 * config/nextstep.c (handle_pragma): Likewise.
5241 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
5243 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
5245 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5247 * alpha-protos.h: PROTO -> PARAMS.
5248 * alpha.c: Likewise.
5250 * h8300.c: Likewise.
5251 * i386-protos.h: Likewise.
5253 * m32r-protos.h: Likewise.
5256 * mips.md: Likewise.
5257 * gmon-sol2.c: Likewise.
5258 * sparc.c: Likewise.
5260 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5262 * ns32k-protos.h: New file.
5264 * ns32k.c: Fix compile time warnings.
5266 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
5269 * ns32k.md: Likewise.
5271 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5273 * vax-protos.h: New file.
5275 * vax.c: Fix compile time warnings.
5277 * vax.h: Move prototypes to vax-protos.h. Fix compile time
5282 * vaxv.md: Likewise.
5284 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5286 * romp-protos.h: New file.
5288 * romp.c: Fix compile time warnings.
5290 * romp.h: Move prototypes to romp-protos.h. Fix compile time
5293 * romp.md: Likewise.
5295 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5297 * we32k-protos.h: New file.
5299 * we32k.c: Fix compile time warnings.
5301 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
5304 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5306 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
5308 * except.c (eh_regs): Likewise.
5310 * final.c (output_operand): Likewise.
5312 * fold-const.c (target_isinf, target_isnan): Likewise.
5314 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
5316 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
5317 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
5319 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
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.
5337 2000-01-17 Richard Henderson <rth@cygnus.com>
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.
5344 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
5346 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
5348 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
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.
5357 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
5359 * fixinc/fixlib.c: Add copyright notice.
5360 (compile_re): New function.
5361 * fixinc/fixlib.h: Prototype compile_re.
5363 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
5364 Use compile_re to compile regular expressions.
5366 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
5367 where the pattern matched.
5369 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
5371 (ultrix_ansi_compat): Likewise.
5372 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell 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:
5379 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5381 * print-rtl.c: PROTO -> PARAMS.
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.
5392 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5394 * toplev.c: PROTO -> PARAMS.
5395 * toplev.h: Likewise.
5398 * unroll.c: Likewise.
5399 * varasm.c: Likewise.
5400 * varray.c: Likewise.
5401 * varray.h: Likewise.
5403 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5405 * reload.c: PROTO -> PARAMS.
5406 * reload.h: Likewise.
5407 * reload1.c: Likewise.
5408 * reorg.c: Likewise.
5409 * resource.h: Likewise.
5412 * rtlanal.c: Likewise.
5413 * sbitmap.h: Likewise.
5414 * sdbout.c: Likewise.
5415 * stack.h: Likewise.
5417 * system.h: Likewise.
5419 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
5431 * recog.c: Likewise.
5432 * recog.h: Likewise.
5433 * regclass.c: Likewise.
5434 * regmove.c: Likewise.
5437 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5439 * ggc-common.c: PROTO -> PARAMS.
5440 * ggc-page.c: Likewise.
5441 * ggc-simple.c: 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.
5452 * local-alloc.c: Likewise.
5456 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
5472 2000-01-16 Mark Mitchell <mark@codesourcery.com>
5474 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
5476 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
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.
5483 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
5485 * config/i386/i386.md: Add peephole to merge successive stack
5488 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
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.
5495 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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
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,
5534 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
5536 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5538 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
5540 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
5542 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
5544 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5546 * pdp11-protos.h: New file.
5548 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
5551 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
5554 * pdp11.md: Likewise.
5558 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5560 * mn10300-protos.h: New file.
5562 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
5565 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
5568 * mn10300.md: Likewise.
5570 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5572 * mn10200-protos.h: New file.
5574 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
5577 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
5580 * mn10200.md: Likewise.
5582 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5584 * h8300-protos.h: New file.
5586 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
5589 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
5592 * h8300.md: Likewise.
5594 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5596 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
5597 (asm_emit_uninitialised): Likewise.
5599 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
5601 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
5602 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
5604 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
5606 * config/mips/mips.c (override_options): Don't turn on extra
5607 alignment for mips16.
5609 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
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
5615 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
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.
5622 2000-01-14 Nick Clifton <nickc@cygnus.com>
5624 * emit-rtl.c (emit_insn): If checking is enabled, make sure
5625 that this function has not been used to emit a jump
5628 * jump.c (return_jump_1): Cope with being passed a null rtx.
5630 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
5642 * final.c: Likewise.
5643 * fix-header.c: Likewise.
5645 * fold-const.c: Likewise.
5646 * function.c: Likewise.
5647 * function.h: Likewise.
5649 * gcov-io.h: Likewise.
5653 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5655 * sh-protos.h: New file.
5657 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
5658 Add static prototypes. Fix compile time warnings.
5660 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
5664 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5666 * arc-protos.h: New file.
5668 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
5671 * arc.h: Move prototypes to arc-protos.h. Fix compile time
5676 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5678 * dsp16xx-protos.h: New file.
5680 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
5683 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
5686 * dsp16xx.md: Likewise.
5688 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5690 * convex-protos.h: New file.
5692 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
5695 * convex.h: Move prototypes to convex-protos.h. Fix compile time
5698 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5700 * elxsi-protos.h: New file.
5702 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
5705 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
5708 * elxsi.md: Likewise.
5710 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
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.
5716 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
5718 * flow.c (split_edge): Do not call set_block_for_insn if we
5719 do not have a basic_block_for_insn structure.
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.
5726 * cse.c (cse_insn): When changing (set (pc) (reg)) to
5727 (set (pc) (label_ref)), verify the change creates a valid insn.
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.
5734 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
5736 * fr30.c (fr30_expand_epilogue): Revert last change.
5737 Use emit_jump_insn for the return insn.
5739 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
5740 Stan Cox <scox@cygnus.com>
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.
5747 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
5749 * fixincludes (va_list): Use __not_va_list__ for the dummy.
5750 * fixinc/*: Likewise.
5752 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5754 * cccp.c: PROTO -> PARAMS.
5756 * collect2.c: Likewise.
5757 * combine.c: Likewise.
5758 * convert.h: 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.
5770 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5772 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
5773 macro conditionals guarding use.
5775 * dwarf2out.c: Include "tm_p.h".
5777 * function.c (locate_and_pad_parm): Mark parameter with
5779 (expand_function_end): Likewise for variable `context'.
5781 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
5783 2000-01-13 Nick Clifton <nickc@cygnus.com>
5785 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
5786 register to prevent compile time warnings.
5788 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
5790 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
5791 to avoid -Wtraditional warning.
5793 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5795 * 1750a-protos.h: New file.
5797 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
5800 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
5803 * 1750a.md: Likewise.
5805 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5807 * a29k-protos.h: New file.
5809 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
5812 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
5815 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5817 * clipper-protos.h: New file.
5819 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
5822 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
5825 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5827 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
5829 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
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.
5836 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
5842 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
5844 * config/ns32k/ns32k.md: Revert Jan 9 change.
5846 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
5847 to a mode-test, if the predicate is address_operand.
5849 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
5851 * combine.c (if_then_else_cond): Be careful about what kinds
5852 of RTL expressions are passed to operand_subword.
5854 * flow.c (split_edge): If we have to insert a new jump, make
5855 sure to associate it with a basic block.
5857 * flow.c (commit_one_edge_insertion): A block with one successor
5858 can end in a JUMP_INSN that is not a simplejump.
5860 2000-01-12 Robert Lipe <robertl@sco.com>
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
5867 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
5869 * cccp.c (do_pragma): Add cast to (char *).
5871 2000-01-12 Richard Henderson <rth@cygnus.com>
5872 Fred Fish <fnf@be.com>
5873 Jason Merrill <jason@cygnus.com>
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.
5879 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
5880 * cross-make (SYSTEM_HEADER_DIR): Define using
5881 CROSS_SYSTEM_HEADER_DIR.
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.
5889 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
5890 * toplev.c: Use NEED_DECLARATION_ENVIRON.
5892 * tm.texi (Frame Layout): Document SMALL_STACK.
5893 * c-common.c (c_common_nodes_and_builtins): Check it.
5895 * system.h: Undef alloca after including glibc's <stdlib.h>,
5896 if USE_C_ALLOCA is defined.
5898 * gcc.c (set_input): New fn.
5899 (main): After all input files are compiled, reset the input file
5902 * aclocal.m4 (rindex, index): If already defined, don't attempt
5905 * ginclude/varargs.h: (__va_list__): Define ifndef.
5906 * ginclude/stdarg.h: Likewise.
5908 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
5909 instead of unsigned char.
5911 * hash.h (true, false, boolean): Undef before enum.
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 *".
5917 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5919 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
5921 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
5923 * regclass.c (choose_hard_reg_mode): Likewise.
5925 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
5927 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
5929 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
5946 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5948 * m88k-protos.h: New file.
5950 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
5953 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
5955 * m88k.md: Likewise.
5957 * tekXD88.h: Likewise.
5959 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5961 * m68k-protos.h: New file.
5963 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
5966 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
5968 * mot3300.h: Likewise.
5970 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
5972 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
5974 (extract_bitlist): Declare bitlen.
5976 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
5978 * cccp.c: Accept and ignore -lang-fortran.
5980 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
5981 qualifiers don't match at any level of pointerness.
5983 2000-01-12 Robert Lipe <robertl@sco.com>
5985 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
5987 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
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
5993 (choose_reload_regs_init): Compute it.
5995 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
5997 * reorg.c (fill_slots_from_thread): Check modified_in_p
6000 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
6002 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
6003 these nodes even if INTERNALS is not set.
6005 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
6007 * gcse.c (delete_null_pointer_checks_1): Cope when
6008 get_condition cannot determine the condition.
6010 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
6012 * toplev.h (set_message_length): Declare.
6014 * diagnostic.c (obstack_chunk_alloc): Define macro.
6015 (obstack_chunk_free): Likewise.
6016 (struct output_buffer): New data structure.
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.
6032 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
6034 * cpplib.h (struct cpp_options): Change lang_asm to char.
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
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
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.
6053 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6054 Richard Henderson <rth@cygnus.com>
6056 * resource.c (mark_referenced_resources): Mark a set strict_low_part
6058 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
6059 strict_low_part when possible.
6061 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
6072 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6074 * Makefile.in (toplev.o): Depend on regs.h.
6076 * output.h (tdesc_section): Prototype.
6078 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
6080 * sdbout.c: Include "tm_p.h".
6082 * toplev.c: Include "regs.h".
6084 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
6086 * unroll.c (unroll_loop): Add EH support.
6088 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6090 * pa-protos.h: New file.
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'
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.
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'.
6117 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6119 * i860-protos.h: New file.
6121 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
6124 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
6126 * i860.md: Likewise.
6128 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
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.
6138 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
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
6146 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
6147 for CONSTANT_ADDRESS_P above while loop for subreg.
6149 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
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
6156 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
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
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.
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
6185 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
6187 * gcc.texi (G++ and GCC): Add Java and Chill.
6188 (Bug Critera): Don't list languages.
6190 * gcc.texi (Incompatibilities): No longer claim most C compilers
6193 * gcc.texi (G++ and GCC): Update other front-ends list.
6195 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
6197 * i386.c (ix86_expand_setcc): Fix typo.
6198 (ix86_expand_movcc): Similarly.
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
6204 (edgeset_bitsize): New variable.
6205 (schedule_region): Initialize edgeset_bitsize.
6207 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6209 * Makefile.in (optabs.o): Depend on real.h
6210 (resource.o): Depend on insn-attr.h
6212 * builtins.c (result_vector): Wrap prototype in macro conditions
6213 governing definition and use.
6215 * c-common.c: Include tm_p.h.
6217 * c-lex.c: Likewise.
6219 * elfos.h: Constify a char*.
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.
6225 * fold-const.c (exact_real_inverse): Wrap variable `i' in
6228 * haifa-sched.c (schedule_insns): Mark parameter with
6231 * optabs.c: Include real.h.
6233 * real.h (ereal_atof): Add prototype arguments.
6235 * resource.c: Include insn-attr.h.
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
6243 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
6245 * stupid.c: Include tm_p.h.
6247 * tree.c (real_value_from_int_cst): Mark parameter with
6250 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6252 * i960-protos.h: New file.
6254 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
6257 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
6259 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6261 * combine.c (expand_field_assignment): Do not discard SUBREGs
6262 while computing nonzero_bits.
6264 2000-01-09 Nick Clifton <nickc@cygnus.com>
6266 * config/arm/arm.c: Fix compile time warnings about signed vs
6268 * config/arm/arm.h: Fix compile time warnings about signed vs
6271 2000-01-09 Philip Blundell <philb@gnu.org>
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
6278 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
6281 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
6283 * config/ns32k/ns32k.md (load or push effective address): Operand 1
6286 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6288 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
6289 assignment used as truth value.
6291 * function.c (assign_temp): Mark parameter `dont_promote' with
6292 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
6293 PROMOTE_FOR_CALL_ONLY.
6295 * genrecog.c (write_subroutine): Mark variable `operands' with
6298 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
6301 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
6302 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
6304 * toplev.c (note_deferral_of_defined_inline_function): Likewise
6307 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6309 * config/c4x.h: Tidy up comments.
6310 * config/c4x.c: Likewise.
6312 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
6314 * fold-const.c (lshift_double, rshift_double): Handle
6315 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
6317 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6319 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
6320 in prepare_function_start().
6322 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
6324 * config/v850/v850.c (expand_epilogue): Interrupt functions no
6325 longer allocate extra stack for function calls.
6327 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6329 * config/c4x/c4x.md (*subqf3_set): Fix typo.
6331 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6333 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
6335 2000-01-07 David Edelsohn <edelsohn@gnu.org>
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.
6343 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
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.
6352 2000-01-07 Nick Clifton <nickc@cygnus.com>
6354 * config/elfos.h: Tidy up formatting of marcos. Make sure
6355 that .section directives are always prefixed by a tab.
6357 * config/svr4.h: Add #include "elfos.h" and remove duplicate
6360 2000-01-07 Matt Austern <austern@sgi.com>
6362 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
6365 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
6367 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
6369 (crtbegin.o, s-crtS): Likewise.
6371 2000-01-06 Richard Henderson <rth@cygnus.com>
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.
6377 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
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.
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.
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.
6410 * prefix.c: Likewise.
6412 * toplev.c: Likewise.
6413 * system.h: And move to here.
6415 * prefix.c (update_path): Fix typo in variable name.
6417 2000-01-06 Richard Henderson <rth@cygnus.com>
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.
6427 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
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
6436 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
6438 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
6441 * i386.c (movsf splitter): Fix typo in my last checkin.
6443 2000-01-05 Nick Clifton <nickc@cygnus.com>
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.
6450 * tm.texi (UNIQUE_SECTION): Document that it can be called for
6451 unitialised data decls.
6453 * config/i386/winnt.c (i386_pe_unique_section): Cope with
6454 being called for uninitialised data.
6456 * config/i386/interix.c (i386_pe_unique_section): Cope with
6457 being called for uninitialised data.
6459 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
6460 for uninitialised data.
6462 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
6463 for uninitialised data.
6465 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
6466 for uninitialised data.
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
6473 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
6474 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
6477 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6479 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
6482 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
6490 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
6492 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
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.
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
6506 (build_conditional_expr): Warn here if one alternative is signed
6507 and the other is unsigned.
6509 2000-01-05 Nick Clifton <nickc@cygnus.com>
6511 * config/fr30/fr30.h: Remove extraneous comments.
6513 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
6515 * reload1.c (choose_reload_regs): When disabling a reload, also
6516 set reload_spill_index to -1.
6518 2000-01-04 Joel Sherrill (joel@OARcorp.com>
6520 * configure.in (m68*-*-rtemscoff*): New target, formal name for
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
6540 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
6542 * final.c (shorten_branches): Correctly compute length of
6543 asms without operands.
6545 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
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
6558 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
6560 * toplev.c (rest_of_compilation): Run shorten-branches before
6563 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
6570 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6572 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
6573 modified inadvertently.
6575 2000-01-04 Joel Sherrill <joel@OARcorp.com>
6577 * configure.in (v850*-*-rtems*): New target.
6578 * configure: Regenerate.
6579 * config/v850/rtems.h: New file.
6581 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
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.
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.
6595 2000-01-04 David Edelsohn <edelsohn@gnu.org>
6597 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
6598 (HANDLE_PRAGMA_PACK): Undefine.
6599 (SLOW_UNALIGNED_ACCESS): Define.
6601 2000-01-04 David Edelsohn <edelsohn@gnu.org>
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
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.
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
6627 (TEXT_SECTION_ASM_OP): Likewise.
6628 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
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.
6637 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
6639 * regclass.c: Revert my Jan 4 change to loop cost computation.
6641 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
6643 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
6646 2000-01-04 Stan Cox <scox@cygnus.com>
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.
6652 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6654 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
6656 * calls.c (expand_call): Likewise for
6657 `old_stack_arg_under_construction'.
6659 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
6661 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
6664 * gcc.c (execute): Likewise for `ut' and `st'.
6666 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
6668 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
6670 * jump.c (jump_optimize_1): Likewise for `temp2'.
6672 * local-alloc.c (block_alloc): Likewise for `r1'.
6674 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
6676 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
6677 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
6679 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
6682 * reload.c (find_reloads): Likewise for `goal_alternative_number'
6683 and `goal_earlyclobber'.
6685 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
6687 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
6689 * stupid.c (stupid_life_analysis): Likewise for `chain'.
6691 * unroll.c (copy_loop_body): Likewise for `copy'.
6693 * varasm.c (output_constructor): Likewise for `byte'.
6695 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
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
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
6709 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
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.
6717 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
6719 * ginclude/stdbool.h: Support compilation as C++.
6721 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6723 * fold-const.c (make_range): Don't try to reverse an unbounded range.
6725 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
6727 * regclass.c (regclass): Properly compute loop_cost. Adjust
6730 * regclass.c: Fix minor whitespace problems.
6732 2000-01-03 Anthony Green <green@cygnus.com>
6734 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
6735 Restore the pic register if required.
6737 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
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.
6744 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
6746 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
6748 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
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.
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.
6762 2000-01-03 Jakub Jelinek <jakub@redhat.com>
6764 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
6766 2000-01-03 Jakub Jelinek <jakub@redhat.com>
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.
6774 2000-01-02 Mark Mitchell <mark@codesourcery.com>
6776 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
6779 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
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
6787 * config/i386/i386.c (override_options): Fix option-name typo.
6789 2000-01-02 Mark Mitchell <mark@codesourcery.com>
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.
6797 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6799 * expr.c (store_constructor_field): Fix typo introduced with last
6802 2000-01-01 Mark Mitchell <mark@codesourcery.com>
6804 * tree.h (BINFO_N_BASETYPES): New macro.
6806 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
6808 * expmed.c (emit_store_flag): Prevent losing a pending stack
6809 adjust the same way we prevent losing queued increments.
6811 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6813 * function.c (update_temp_slot_address): Handle case where sum of
6814 temporary address plus offset in register is a valid address.
6816 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6818 * genrecog.c (change_state) Corrected typo.
6820 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
6826 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
6828 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
6829 case, expand GT comparisons correctly. Fix a comment before this
6832 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6834 * dwarfout.c: Include "frame.h"
6835 * dwarf2out.c: Likewise.
6836 * Makefile.in (dwarfout.o): Depend on frame.h
6837 (dwarf2out.o): Likewise.
6839 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
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.
6850 1999-12-29 Bruce Korb <autogen@linuxbox.com>
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.
6870 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
6877 * frame.c: Update comments referring to other files.
6879 * libgcc2.c: Likewise.
6881 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6883 * cse.c (free_element, get_element): Remove unused prototypes.
6885 * fold-const.c (extract_muldiv): Initialize variables `op0' and
6888 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
6891 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
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.
6897 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
6899 * pa.md (conditional zero): If op1 is a register, force it into
6900 the same register as op0.
6902 1999-12-28 Mark Mitchell <mark@codesourcery.com>
6904 * tree.h (BINFO_BASETYPES): Improve documentation.
6906 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6908 * configure.in (--enable-checking): Use a more portable `for'
6911 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6913 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
6914 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
6916 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
6919 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
6920 Delete descriptions.
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.
6928 1999-12-27 Jakub Jelinek <jakub@redhat.com>
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.
6934 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
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.
6941 1999-12-27 Ian Lance Taylor <ian@zembu.com>
6943 * configure.in: Avoid [[ by using test and changequote. Add
6944 changequote required by 1999-12-14 change.
6945 * configure: Rebuild.
6947 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
6949 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
6951 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
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.
6965 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6967 * diagnostic.c (v_message_with_decl): Use .* format specifier
6968 instead of building the format specifier width manually.
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.
6974 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6976 * fold-const.c (operand_equal_p): Use memcmp to compare string
6978 Suggested by D. J. Bernstein
6980 1999-12-17 Jakub Jelinek <jakub@redhat.com>
6982 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
6983 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
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.
6992 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
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
7005 * tree.h, tree.c: Change ENABLE_CHECKING to
7006 ENABLE_TREE_CHECKING throughout.
7008 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7010 * fold-const.c (fold_truthop): Properly check for FP RHS.
7012 1999-12-24 Mark Mitchell <mark@codesourcery.com>
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.
7019 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7021 * expr.c (store_constructor): Don't call clear_storage if size is
7024 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7026 * Makefile.in (toplev.o): Depend on loop.h.
7028 * dwarfout.c: Include tm_p.h.
7030 * emit-rtl.c (restore_emit_status): Mark parameter with
7033 * final.c (final_scan_insn): Likewise.
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.
7043 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
7044 Mark with ATTRIBUTE_NORETURN.
7046 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
7048 * local-alloc.c (no_conflict_p): Likewise.
7050 * loop.c (insert_bct): Hide definitions of variables with hidden
7052 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
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.
7059 * reload.c (find_reloads): Remove unused variables `changed'.
7061 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
7063 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
7064 Remove unused variable `insn'.
7066 * toplev.c: Include loop.h.
7067 (report_file_and_line): Remove unnecessary prototype.
7069 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
7071 * unroll.c (biv_total_increment): Likewise.
7073 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7075 * reload1.c (emit_input_reload_insns): Restore old behaviour
7076 wrt. 'special' reloads.
7078 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
7080 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
7081 hash.h. (cse.c): Don't depend on hashtab.h.
7083 * cse.c: Don't include hashtab.h.
7084 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
7086 * ggc-simple.c: Don't include hash.h.
7088 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
7090 * dwarf2out.c (add_abstract_origin_attribute): Call
7091 gen_abstract_function on our function context.
7093 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
7095 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
7097 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7099 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
7102 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7104 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
7105 constraints to "a!r".
7107 1999-12-21 Mark Mitchell <mark@codesourcery.com>
7109 * Makefile.in (calls.o): Depend on function.h.
7110 (alias.o): Likewise.
7112 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
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.
7124 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7126 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
7128 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7130 * md.texi: Add c4x constraints documentation.
7132 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
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.
7141 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
7143 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
7145 (libgcc2.a): Similarly.
7147 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
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.
7153 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
7155 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
7156 Remove redundant initialization of "frexpon" and "expon".
7158 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7160 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
7162 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
7163 (store_constructor_field, expand_expr): Pass new arg.
7165 1999-12-20 Mark Mitchell <mark@codesourcery.com>
7167 * Makefile.in (explow.o): Depend on function.h.
7169 * stor-layout.c (set_sizetype): Fix typo.
7171 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
7173 * function.c (cfun): Renamed from current_function. All users
7175 * function.h (cfun): Rename declaration as well.
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
7180 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
7182 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7184 * config/c4x/rtems.h: New file.
7186 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
7188 * reload1.c (spill_failure): Take class of failed reload as argument
7189 and print it. Caller changed.
7191 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7193 * rs6000.h (SUBTARGET_DEFAULT): New macro.
7194 (TARGET_SWITCHES): Allow subtargets to default switches.
7195 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
7197 1999-12-18 Mark Mitchell <mark@codesourcery.com>
7199 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
7202 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
7204 * cccp.c (main): Define __STDC_VERSION__ as necessary.
7205 * cppinit.c (cpp_handle_option): Likewise.
7207 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
7208 determine when to define.
7210 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
7212 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
7213 cmove with mismatched test and data modes.
7215 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
7217 * c-typeck.c (c_expand_start_case): Don't warn for long switch
7220 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7222 * alias.c: Minor reformatting.
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,
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.
7237 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7239 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
7241 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
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
7247 1999-12-18 David S. Miller <davem@redhat.com>
7249 * toplev.c (rest_of_compilation): Restore BLOCK tree
7250 reconstruction and branch shortening changes lost in
7251 December 18th change.
7253 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
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.
7259 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
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
7276 (compile_file): Use fnotice instead of notice. Adjust call.
7278 * diagnostic.c: New file.
7280 * Makefile.in (OBJS): Include diagnostic.o
7281 (diagnostic.o): Define dependence.
7283 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7285 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
7288 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7290 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
7292 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
7294 * fixtests.c (is_cxx_header): New fn, split out of
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
7301 * genfixes: Correct double thinko in commandline parsing.
7302 * hackshell.tpl: Generate correct sh syntax for bypass
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.
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.
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.
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.
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.
7333 1999-12-16 Jakub Jelinek <jakub@redhat.com>
7335 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
7336 compiling libgcc2 the macro depends always on arch cpp defines.
7338 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
7340 * loop.c (insert_loop_mem): Don't record MEMs from inside
7343 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
7345 * regclass.c (regclass): Do not use flowgraph when not optimizing.
7347 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
7348 notes too, create one when replacement failed, attempt to simplify
7350 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
7353 1999-12-16 Mark Mitchell <mark@codesourcery.com>
7355 * crtstuff.c (__dso_handle): Declare.
7356 (__cxa_finalize): Likewise.
7357 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
7360 * invoke.texi: Document -fuse-cxa-atexit.
7362 * tree.h (ptr_type_node): Document.
7363 (const_ptr_type_node): Likewise.
7365 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
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.
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.
7384 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
7386 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
7388 1999-12-16 Mark Mitchell <mark@codesourcery.com>
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.
7414 1999-12-16 Jakub Jelinek <jakub@redhat.com>
7416 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
7417 to match the format.
7419 1999-12-16 David S. Miller <davem@redhat.com>
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
7426 * config/sparc/sparc.c (epilogue_renumber): Add default case
7429 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7431 * toplev.c (rest_of_compilation): Run branch shortening after
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
7438 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
7440 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
7442 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
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.
7448 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
7450 * loop.c (insert_loop_mem): Ignore memory clobbers.
7452 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
7455 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
7457 * profile.c: Remove redundant #include "output.h".
7459 * h8300.md (HImode preinc peephole): Fix typo.
7461 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
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.
7468 1999-12-15 Mark Mitchell <mark@codesourcery.com>
7470 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
7471 argument more than once.
7473 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
7475 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
7477 1999-12-15 Jakub Jelinek <jakub@redhat.com>
7479 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
7481 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
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.
7489 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7491 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
7492 Handle live_throughout / dead_or_set instead of live_before /
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
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.
7518 1999-12-15 David S. Miller <davem@redhat.com>
7520 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
7522 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
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.
7530 * flow.c (dump_flow_info): Dump loop_depth.
7531 (flow_loops_nodes_find): Increase loop_depth for basic block in the
7533 (flow_loops_find): Initialize the loop_depth for each basic block.
7535 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
7537 * tree.c (decl_function_context): Handle virtual functions.
7539 * tlink.c (scan_linker_output): Don't look in demangled name when
7540 looking for linker output keywords.
7542 * dwarfout.c (output_type): We can defer namespace-scope classes.
7544 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
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.
7550 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
7552 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
7554 1999-12-14 Geoff Keating <geoffk@cygnus.com>
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.
7561 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
7563 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
7564 the abstract origin wasn't emitted.
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.
7573 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
7575 * loop.c (check_dbra_loop): Can't reverse a biv that has
7578 1999-12-14 Nick Clifton <nickc@cygnus.com>
7580 * config/arm/arm.c: Add support for -mcpu=arm720 command line
7583 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7585 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
7586 for givs made from biv increments.
7588 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
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.
7596 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
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=*.
7605 * ginclude/stdarg.h (__va_copy): New.
7606 (va_copy): Don't define for C89.
7608 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
7610 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
7611 for long long multiply-accumulate.
7613 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7615 * regclass.c (scan_one_insn): Set loop_cost to 1 when
7616 optimizing for size.
7618 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
7620 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
7621 if something changed. Back out that part of yesterday's changes.
7623 * loop.c (loop_max_reg): New static variable.
7624 (loop_optimize): Initialize it. Eliminate one unnecessary call to
7626 (scan_loop): Call reg_scan_update whenever we may have added new
7627 registers, and update loop_max_reg.
7629 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7631 * regclass.c (record_reg_classes): Do not do the copying preferrencing
7632 when source does not die.
7634 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
7636 1999-12-14 Jakub Jelinek <jakub@redhat.com>
7638 * config/sparc/linux64.h (TARGET_LIVE_G0,
7639 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
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.
7646 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
7647 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
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
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.
7659 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
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.
7667 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
7668 (ASM_IDENTIFY_GCC): Remove.
7670 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
7672 * combine.c (combine_simplify_rtx): Don't make shared rtl.
7673 (simplify_logical): Likewise.
7675 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
7677 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
7678 * cppfiles.c (INO_T_EQ): Likewise.
7680 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
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.
7688 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
7689 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
7691 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
7693 * combine.c (combine_simplify_rtx): Fix order of checks for
7694 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
7696 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
7698 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
7699 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
7701 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
7703 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
7705 * regclass.c (inv_reg_alloc_order): New array.
7706 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
7708 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
7709 counted_for_groups, counted_for_nongroups. Add fields rld and
7711 * reload.c (push_secondary_reload): Don't set nongroup field of
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
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
7722 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
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;
7741 (choose_reload_regs): Add fallback code that uses the existing
7742 register allocation from find_reload_regs.
7744 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
7746 * flow.c (create_edge_list): Cast xmalloc return value.
7748 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
7750 * doprnt.c: Remove incorrect comment closure.
7752 * cse.c: Fix a few minor whitespace goofs.
7754 1999-12-13 Don Bowman <don@pixstream.com>
7756 * mips/vxworks.h: Fix problem with comment termination.
7757 (EXTRA_SECTIONS): Add in_sbss.
7758 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
7760 1999-12-12 David S. Miller <davem@redhat.com>
7762 * cse.c (struct cse_reg_info): Add hash_next member,
7763 reorder rest of struct for better packing on 64-bit
7765 (cse_reg_info_tree): Kill.
7766 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
7767 REGHASH_FN): New custom pow2 hash mechanism.
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
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,
7783 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
7785 * cse.c (cse_basic_block): Free qty_table consistently.
7787 1999-12-12 David S. Miller <davem@redhat.com>
7788 Jakub Jelinek <jakub@redhat.com>
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
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
7801 (movtf_cc_reg_sp64, following split): New pattern and splitter.
7803 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
7805 * loop.c (load_mems): Don't hoist written floating point mem
7808 1999-12-12 Mark Mitchell <mark@codesourcery.com>
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
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
7824 (mark_eh_queue): Mark all level of the queue.
7825 (mark_eh_status): Adjust now that ehqueue is a
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.
7832 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7834 * gthr-single.h (__gthread_active_p): Add prototype arguments.
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
7855 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
7856 (throw_helper): Initialize variables `handler_p' and `pc_p'.
7858 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7860 * combine.c (record_promoted_value): Remove unused variable
7863 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
7865 * global.c (record_conflicts): Likewise for `j'.
7867 * genoutput.c (output_insn_data): Don't unnecessarily cast away
7870 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7872 * i386-protos.h (output_387_binary_op, output_fix_trunc,
7873 output_fp_compare): Constify a char*.
7875 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
7877 (override_options, ix86_comp_type_attributes, print_operand,
7878 output_387_binary_op, output_fix_trunc, output_fp_compare):
7880 (ix86_sched_reorder): Mark parameter `clock_var' with
7883 * i386.h (DEBUG_PRINT_REG): Constify a char*.
7885 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
7887 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
7888 operand, for use in the Java front-end.
7890 1999-12-10 Ben Collins <bcollins@debian.org>
7892 * configure.in: Fix typo for "-64" in 64bit as check.
7893 * configure: Rebuilt.
7895 1999-12-10 Jakub Jelinek <jakub@redhat.com>
7897 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
7900 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7902 * c-parse.in (string): With -Wtraditional, warn if ANSI string
7903 concatenation is utilized.
7905 * invoke.texi (-Wtraditional): Document it.
7907 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7909 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
7910 Cast a ptrdiff_t to long and pass it to printf with %ld.
7912 1999-12-10 Geoff Keating <geoffk@cygnus.com>
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.
7919 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
7921 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
7922 for long long multiply-accumulate.
7924 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
7926 * loop.c (insert_loop_mem): Undo last change.
7928 1999-12-10 David S. Miller <davem@redhat.com>
7930 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
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.
7945 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
7947 * c-common.c (c_common_nodes_and_builtins):
7948 Create __builtin_ptrdiff_t and __builtin_size_t.
7950 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
7952 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
7954 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7956 * regclass.c (globalize_reg): Re-instate test that allows
7957 fixed registers to be declared as a variable even after functions
7960 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
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.
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__"
7977 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
7979 1999-12-09 Andreas Jaeger <aj@suse.de>
7981 * loop.c (record_biv): Declare parameter as int.
7983 * config/i386/i386-protos.h: Declare long_memory_operand.
7985 1999-12-09 Mark Mitchell <mark@codesourcery.com>
7987 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
7988 EXPR_WITH_FILE_LOCATION.
7990 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7992 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
7995 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
7997 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
8000 1999-12-09 Jakub Jelinek <jakub@redhat.com>
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
8009 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
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
8017 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
8019 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
8021 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
8023 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
8025 1999-12-08 Jakub Jelinek <jakub@redhat.com>
8027 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
8028 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
8030 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
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.
8041 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
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
8047 * configure: Rebuilt.
8049 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
8051 * alpha.c (secondary_reload_class): For !BWX, sub-simode
8052 outputs require a register.
8054 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
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
8063 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
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.
8076 1999-12-07 Jakub Jelinek <jakub@redhat.com>
8078 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
8079 suitable for holding OFmode values so that gcc works with complex
8081 (hard_64bit_mode_classes): Likewise.
8083 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
8084 so that it is actually matched.
8085 (sethi_di_medlow): Likewise.
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.
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
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.
8114 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
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.
8123 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8125 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
8128 1999-12-06 David S. Miller <davem@redhat.com>
8130 * combine.c (check_promoted_subreg): Do not conditionalize this upon
8131 PROMOTE_FUNCTION_RETURN.
8133 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
8135 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
8136 and handle REG_UNUSED note on insn.
8138 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
8139 inner_mask instead of mask.
8141 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
8143 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
8144 zero if there was an error.
8146 1999-12-06 Jakub Jelinek <jakub@redhat.com>
8148 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
8151 * longlong.h: Fix clobbers in SPARC asm statements.
8153 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
8154 valid sethi operations when TARGET_ARCH64.
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.
8160 * combine.c (check_promoted_subreg, record_promoted_value): New
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.
8166 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
8167 .register declaration. Don't use variables with __ prefixes.
8169 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8171 * fold-const.c (optimize_bit_field_compare): Only use one mode
8172 for both RHS and LHS in non-constant case.
8174 1999-12-06 Nathan Sidwell <nathan@acm.org>
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
8183 (frame_init): Permit multiple initializations. Cope with
8185 (find_fde): Fallback on linear search, if failed to sort array.
8186 (__deregister_frame_info): Only free sorted array, if we
8189 1999-12-06 Jakub Jelinek <jakub@redhat.com>
8191 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
8193 1999-12-05 Jakub Jelinek <jakub@redhat.com>
8195 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
8197 1999-12-05 Mark Mitchell <mark@codesourcery.com>
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.
8204 1999-12-04 Mark Mitchell <mark@codesourcery.com>
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
8211 * print-tree.c (print_note): Print TREE_PRIVATE and
8214 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
8215 the original die cannot be found.
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
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.
8229 * function.h (insert_block_after_note): Declare.
8230 * function.c (insert_block_after_note): Split out from ...
8231 (retrofit_block): ... here.
8233 * stmt.c (expand_fixup): Fix typo in comment.
8235 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
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.
8242 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8244 * flow.c (flow_loops_dump): Add missing argument when calling
8247 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
8248 Greg McGary <gkm@gnu.org>
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
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.
8272 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
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.
8278 * config/m68k/m68k.c (output_function_prologue): Handle
8280 * config/m68k/m68k.md (trap): New insn.
8281 (conditional_trap): New insn.
8282 * md.texi (Standard Names): Document `trap' and
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
8288 * config/i960/i960.md (trap): New insn.
8289 (conditional_trap): New expander.
8290 (conditional_trap+1, conditional_trap+2): New insns for signed
8292 * config/i960/i960.c (i960_function_prologue): Use
8293 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
8295 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
8296 Geoffrey Keating <geoffk@cygnus.com>
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.
8310 1999-12-03 Nathan Sidwell <nathan@acm.org>
8312 * frame.c (fde_split): Reimplement to avoid variable sized array.
8314 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
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.
8319 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
8321 * invoke.texi: Document the mips option -mno-crt0
8323 1999-12-02 Mike Karr <mkarr@mathworks.com>
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.
8334 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
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.
8342 1999-12-02 Nick Clifton <nickc@cygnus.com>
8344 * config/fp-bit.c: Initialise all fields of the NAN
8347 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
8350 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
8352 * i386.md (extend?f?f2): Force the input into a register, not
8355 1999-12-01 Jakub Jelinek <jakub@redhat.com>
8357 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
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.
8366 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
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)
8372 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
8373 (asm_file_start): Emit .am33 into assembly file when compiling for
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.
8409 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
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.
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.
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.
8427 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
8428 * i386.c (*_cost): Set value for movxbl_load field.
8430 * (addsi): New add to lea splitter.
8432 (lea to add/shift peep2): New.
8434 1999-12-01 Mark Salter <msalter@cygnus.com>
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.
8440 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8442 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
8443 * i386.md (movsi_xor): 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.
8455 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
8458 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
8459 (abs?f2_if): Likewise.
8461 1999-11-30 Alex Samuel <samuel@codesourcery.com>
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.
8469 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
8471 * dwarf2out.c (scope_die_for): Only handle types. Only search for
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.
8487 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8489 * calls.c (special_function_p): Remove `realloc' and add `strdup'
8490 to the list of functions which have attribute malloc by default.
8492 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
8498 * invoke.texi (-Wtraditional): Document it.
8500 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8502 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
8503 * rs6000.md: Only access a CONST_INT with INTVAL
8505 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
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.
8512 1999-11-30 Jakub Jelinek <jakub@redhat.com>
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
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
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
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.
8533 1999-11-30 Jakub Jelinek <jakub@redhat.com>
8535 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
8536 aggregate passing for sizes <= 16 bytes.
8538 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
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.
8552 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
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.
8563 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
8565 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
8566 psimode_truncation_operand.
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.
8572 * config/mn10200/mn10200.md (truncsipsi2): Use
8573 psimode_truncation_operand.
8575 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
8593 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
8595 * cppinit.c (CAT): The argument list of this macro may not contain
8598 1999-11-29 David S. Miller <davem@redhat.com>
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.
8615 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
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.
8624 * expr.c (store_constructor_field): If bit position is not multiple
8625 of alignment of TARGET's mode, use BLKmode.
8627 * expr.c (expand_expr_unaligned): Add more code from full case
8628 that is needed when OP0 is in a register.
8630 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8632 * dwarfout.c (field_byte_offset): Size can be zero if there was
8635 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
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.
8641 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
8642 (target_isinf, target_isnan, target_negative): Add return types to
8643 function definitions.
8645 1999-11-29 Bruce Korb <autogen@linuxbox.com>
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
8652 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
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.
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
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.
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.
8678 (propagate_deps): New function, broken out of
8679 compute_block_backward_dependences.
8680 (compute_block_backward_dependences): Use it.
8682 * alpha.md: Delete useless patterns that tried to work around
8683 register elimination problems.
8685 * unroll.c (loop_iterations): Don't abort if iteration variable
8688 From Joern Rennecke:
8689 * reload1.c (reloads_conflict): Reverse test comparing operand
8690 numbers when testing for conflict between output/outaddr reloads.
8692 1999-11-29 David S. Miller <davem@redhat.com>
8694 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
8696 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
8698 1999-11-28 Robert Lipe <robertl@cygnus.com>
8700 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
8701 table from .fini into .dtor.
8703 1999-11-28 Anthony Green <green@cygnus.com>
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.
8713 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
8715 * pa.md (reload shift-add patterns): Remove.
8717 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8719 * reorg.c (dbr_schedule) Print more statistics. Corrected
8720 problem when printing info when 3 delay slots are filled.
8722 1999-11-28 Jakub Jelinek <jakub@redhat.com>
8724 * combine.c (setup_incoming_promotions): Pass an outgoing
8725 regno to FUNCTION_ARG_REGNO_P which it expects.
8727 1999-11-28 Andreas Jaeger <aj@suse.de>
8729 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
8731 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
8733 * cccp.c (do_include): Avoid initialization of automatic variable.
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'.
8740 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8742 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
8743 known to be multiple of divisor.
8745 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
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
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.
8758 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
8760 * loop.c (try_copy_prop): Avoid GNU C extension.
8762 1999-11-25 Mark Mitchell <mark@codesourcery.com>
8764 * except.c (init_eh_for_function): Still zero eh_return_context,
8765 eh_return_stack_adjust, and eh_return_handler.
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.
8778 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8780 * c-common.c (check_format_info): Don't call a variadic function
8781 with a non-literal format string.
8783 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
8785 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
8786 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
8789 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
8792 * collect2.c (collect_wait): Likewise.
8794 * dbxout.c (dbxout_type): Likewise.
8796 * gcc.c (do_spec_1): Likewise.
8798 * genemit.c (gen_insn, gen_expand): Likewise.
8800 * genrecog.c (write_switch, write_subroutine): Likewise.
8802 * mips-tfile.c (catch_signal, botch): Likewise.
8804 * print-rtl.c (print_rtx): Likewise.
8806 * toplev.c (default_print_error_function, report_error_function,
8807 _fatal_insn): Likewise.
8809 1999-11-25 Mark Mitchell <mark@codesourcery.com>
8811 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
8813 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
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.
8820 1999-11-25 Andreas Jaeger <aj@suse.de>
8822 * config/mips/mips.md (casesi_internal): Add missing brace.
8824 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
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.
8833 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
8835 * config/mips/mips.md (call_value_multiple_interanal1): New.
8837 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
8839 * dwarf2out.c (free_AT, free_die): New fns.
8840 (remove_children): Call them.
8841 (output_line_info): Disable removal of duplicate notes.
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.
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.
8866 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
8868 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
8869 where we need to reload fpul from a system register.
8871 1999-11-24 Andreas Jaeger <aj@suse.de>
8873 * config/mips/linux.h (CPP_PREDEFINES): Added.
8874 (LINK_SPEC): Remove -Y since this is only needed on sparc.
8876 1999-11-24 Andreas Jaeger <aj@suse.de>
8878 * config/mips/linux.h (TARGET_VERSION): Added.
8879 (HANDLE_SYSV_PRAGMA): Added.
8880 (DEFAULT_VTABLE_THUNKS): Added.
8882 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
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.
8900 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
8902 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
8903 when -membedded-pic is passed.
8905 * config/mips/mips.md (casesi): Handle 64-bit case too.
8906 (casesi_internal_di): New insn.
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.
8913 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
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.
8920 1999-11-23 Mark Mitchell <mark@codesourcery.com>
8922 * loop.c (loop_optimize): Always find_loop_tree_blocks and
8923 unroll_block_trees when generating debuggable code.
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.
8936 * Makefile.in (gencheck): Don't depend on lang_tree_files.
8937 (gencheck.o): Do depend on lang_tree_files.
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.
8945 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
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
8953 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
8954 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
8957 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
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.
8963 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
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.
8971 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
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.
8982 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
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.
8989 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
8991 * config/freebsd.h: New, FreeBSD architecture independent file.
8992 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
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.
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.
9007 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
9009 * invoke.texi (ARM Options): Add in -mno-alignment-traps
9011 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
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
9020 (gen_subprogram_die): An artificial function doesn't need to match
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.
9033 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9035 * combine.c (combine_simplify_rtx): When handling a SUBREG,
9036 take SUBREG_WORD into account.
9037 (if_then_else_cond): Likewise.
9039 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
9041 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
9042 clause from BSD license, pursuant with
9044 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
9046 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
9048 * loop.c (load_mems): Reformat slightly.
9049 * basic-block.h (regset_head): New typedef.
9050 (INIT_REG_SET): New macro.
9052 1999-11-22 Bruce Korb <autogen@linuxbox.com
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*"
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'.
9065 * fixinc/fixinc.x86-linux-gnu: deleted
9066 * fixinc/inclhack.sh: regen
9067 * fixinc/fixincl.x: regen
9068 * fixinc/fixincl.sh: regen
9070 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
9072 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
9073 its code is INSN and it has no notes.
9075 1999-11-22 Andrew Haley <aph@cygnus.com>
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.
9084 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
9086 * regclass.c (reg_pref): New structure and static variable
9087 (prefclass): Delete.
9089 (all uses of prefclass and altclass): Use reg_pref instead.
9091 1999-11-21 Nick Clifton <nickc@cygnus.com>
9093 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
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.
9099 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
9101 * varasm.c (output_constructor): Solve problem with long long
9102 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
9104 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
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.
9119 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
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.
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.
9131 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
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
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.
9144 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
9145 to support integer registers and memory.
9146 (abss?2_integer): Likewise.
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
9152 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
9153 (movsf): Likewise; unify 4th and 5th alternative.
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.
9163 * i386.md (extend?f?f): Split to expander and pattern, refuse two
9164 memory operands in patterns.
9165 (fop*): Refuse two memory operands.
9167 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
9168 on !TARGET_USE_CLTD CPUs.
9170 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
9172 * extend.texi: Document C++ restricted pointers and references.
9174 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
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.
9180 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
9182 * rtl.texi (mem): Add documentation for alias-set argument
9185 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
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
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.
9198 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
9199 Geoffrey Keating <geoffk@cygnus.com>
9201 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
9203 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
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.
9212 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
9213 Richard Henderson <rth@cygnus.com>
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.
9225 1999-11-17 Mark Mitchell <mark@codesourcery.com>
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.
9241 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
9243 * integrate.c (expand_inline_function): Add necessary check for NULL.
9245 1999-11-18 Nick Clifton <nickc@cygnus.com>
9247 * toplev.c (main): Correctly detect an unrecognised option.
9249 * cppinit.c (cpp_handle_option): Do not claim to have consumed
9250 a -f option if it has not been recognised.
9252 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
9254 * basic-block.h (update_life_extent): Remove trailing comma on
9255 enumeration type list.
9257 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
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).
9263 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
9265 * flow.c (split_edge): Take looping structure into account when
9266 determining where to put the new block note.
9268 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
9270 * Makefile.in (ggc-none.o): Provide host specific version if
9273 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
9275 * cse.c (delete_trivially_dead_insns): Identify no-op insns
9276 containing subregs too.
9278 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
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
9290 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
9292 * jump.c (jump_optimize_1): Revert last change.
9294 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
9296 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
9297 test if optimizing for size.
9299 1999-11-17 Mark Mitchell <mark@codesourcery.com>
9301 * Makefile.in (toplev.o): Depend on except.h.
9302 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
9304 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
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.
9313 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
9315 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
9316 for the common case.
9318 1999-11-16 Jakub Jelinek <jakub@redhat.com>
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.
9327 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
9329 * alpha.c (alpha_build_va_list): Use make_lang_type and
9330 initialize TYPE_NAME for the va_list record.
9332 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
9334 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
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.
9341 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
9343 * config/rs6000/rs6000.c (first_reg_to_save): Save
9344 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
9346 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
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
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.
9358 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
9360 * rs6000.h (ASM_OUTPUT_DEF): New.
9361 Based on proposed addition from David Edelsohn.
9363 1999-11-15 Robert Lipe <RobertLipe@usa.net>
9364 Bruce Korb <autogen@linuxbox.com>
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
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
9374 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
9376 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
9377 * configure: Rebuilt.
9378 * config/t-freebsd-thread: New file.
9380 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
9382 * i386.c (ix86_decompose_address): Verify the base is a REG
9383 before trying to examine its register number.
9385 * basic-block.h: Remove all #defines and prototypes related to
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.
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.
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
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.
9417 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9419 * cse.c (set_nonvarying_address_components): Delete unused function.
9420 (refers_to_p): Likewise.
9422 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
9424 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
9427 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9429 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
9430 definition in do while (0).
9432 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
9434 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
9436 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
9438 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
9440 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
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.
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.
9451 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
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.
9458 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9460 * output.h (const_section, init_section, fini_section): Add
9463 * alpha/elf.h (const_section): Delete declaration.
9465 * svr4.h (const_section): Likewise.
9467 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
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
9473 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
9474 variable-sized array bounds.
9476 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
9478 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
9481 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9483 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
9484 addresses the same way GO_IF_LEGITIMATE_INDEX does.
9486 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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.
9499 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
9501 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
9503 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
9506 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
9508 * function.c (diddle_return_value): Put back check that the DECL_RTL
9509 for the function is a register.
9511 * function.c (diddle_return_value): Use hard_function_value to
9512 get an rtx suitable for use in the USE/CLOBBER insn.
9514 * global.c (global_conflicts): Update comments.
9515 (record_conflicts): No need to record conflicts between pseudos here.
9517 1999-11-11 Bruce Korb <autogen@linuxbox.com>
9519 * fixinc/fixincl.c: Added verbose levels for status messages
9521 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9523 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
9524 operand as argument to expand_and or expand_binop.
9526 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
9528 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
9529 gcc_add_string_root.
9531 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
9533 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
9535 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
9537 * flow.c (compute_flow_dominators): Initially put all blocks on
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.
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.
9551 * dwarf2out.c (add_AT_location_description): Allow
9552 (mem (plus (pseudo) (...)) too.
9554 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
9556 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
9558 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
9559 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9561 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
9563 * gansidecl.h: Likewise.
9569 * toplev.h: Likewise.
9575 * varray.c: Likewise.
9577 * varray.h: Likewise.
9579 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
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
9586 (output_data): Emit counts if output_branch_counts is true.
9587 * gcov.texi (Invoking Gcov): Document -c switch..
9589 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
9591 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
9592 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
9594 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
9596 * invoke.texi (C Dialect Options): Add missing builtins from
9598 * extend.texi (Other Builtins): Copy to this list.
9600 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9602 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
9603 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
9606 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
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.
9612 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
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).
9620 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
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.
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.
9636 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
9638 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
9640 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
9642 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
9645 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
9647 * invoke.texi (Environment Variables): Document relative path
9649 * gcc.c (DIR_UP): If not defined, define as "..".
9650 (standard_bindir_prefix): New static, holds target location to
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.
9664 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9666 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
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.
9673 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
9675 * reload1.c (reload_reg_free_for_value_p): Don't use a register
9676 that is in reload_reg_used.
9678 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
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.
9687 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
9689 * config/m32r/m32r-protos.h: New file: Prototypes for functions
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.
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.
9709 * config/m32r/m32r.md: Fix compile time warnings.
9710 Add support for pre decrement and post increment memory
9715 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9717 * global.c (EXECUTE_IF_CONFLICT): Don't define.
9718 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
9719 (find_reg): Likewise.
9721 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
9723 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
9724 to avoid assembler errors.
9726 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
9728 * config/v850/v850-protos.h: New file: Prototypes for functions
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.
9734 * config/fr30/fr30-protos.h: New file: Prototypes for functions
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.
9740 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
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.
9747 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9749 * Makefile.in (rtl.o): Depend on toplev.h.
9751 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
9753 * cse.c (delete_trivially_dead_insns): Replace alloca with
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
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.
9772 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
9774 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
9775 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
9777 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
9779 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
9781 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
9783 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
9784 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
9787 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
9789 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
9791 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
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.
9804 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
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.
9814 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
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.
9823 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
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.
9835 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
9837 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
9839 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
9841 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
9843 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
9845 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
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.
9854 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
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.
9860 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
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.
9867 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
9869 * function.c (purge_addressof_1): Add missing return values.
9871 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
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.
9881 1999-11-05 Andreas Jaeger <aj@suse.de>
9883 * genoutput.c (null_operand =): Initialize all fields.
9885 * errors.h: Add extern to prototypes.
9887 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
9889 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
9890 * configure: Rebuilt.
9892 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
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.
9901 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
9903 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
9904 instead of an explicit loop.
9906 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
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.
9911 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
9913 * function.c (pad_to_arg_alignment): Only update argument_pad
9914 if the argument's alignment is greater than STACK_BOUNDARY.
9916 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
9918 * bitmap.h (BITMAP_XFREE): New.
9919 * flow.c (life_analysis): Use it.
9920 (life_analysis_1): Free blocks.
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
9927 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
9929 * stmt.c (cost_table_): New.
9930 (estimate_case_costs): Use it instead of xmalloc.
9932 * toplev.c (compile_file): Reuse dumpname memory instead
9935 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
9937 * reg-stack.c (convert_regs_1): Initialize target_stack->top
9938 after verifying an EH edge.
9940 * haifa-sched.c (init_rgn_data_dependences): Correctly
9941 size bb_pending_lists_length when zeroing.
9943 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
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.
9950 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
9952 * reload1.c (reload): Don't remove return value clobbers.
9954 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
9956 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
9958 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
9960 * cse.c (cse_main): Use xmalloc, not alloca.
9961 (cse_basic_block): Likewise.
9962 * local-alloc.c (local_alloc): Likewise.
9964 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
9965 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9967 * rtl.c: Include toplev.h.
9968 (fatal): Remove declaration.
9970 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
9972 * haifa-sched.c (schedule_block): Fix thinko.
9974 1999-11-03 James McKelvey <mckelvey@fafnir.com>
9976 * fixinc/fixincl.c(create_file): Allow for systems that do not have
9977 S_IR* defined values
9979 1999-11-03 Philippe De Muyter <phdm@macqel.be>
9981 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
9982 call `malloc' instead.
9984 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
9986 * flags.h (flag_renumber_insns): Declare.
9987 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
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.
9993 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
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.
10000 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
10002 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
10004 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
10005 insn into ready list, do not use just a raw swap.
10007 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
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.
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.
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.
10032 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
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.
10046 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10048 * fix-header.c (recognized_extern, recognized_function): Constify
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'.
10058 * scan.h (recognized_function, recognized_extern): Constify a
10061 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
10063 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10065 * varasm.c (decode_rtx_const): Use XSTR to access the string
10068 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
10070 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
10072 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10074 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
10076 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
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.
10083 * pa.md (negdi2): Turn into expander + anonymous pattern.
10085 * reload.c (find_reloads): Fix typos in recent change.
10087 * dwarf2out.c: Do not include ctype.h.
10089 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10091 * regclass.c (record_reg_classes): Always use may_move_cost when
10092 seeing how operand fits with various register classes.
10094 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
10096 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
10097 * toplev.c: Revert Nov 1 13:22 change.
10099 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
10101 * config/pa/pa.md (height reduction patterns): Add checks for
10102 overlapping operands to avoid semantic-destroying splits for
10103 height reduction patterns.
10105 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10107 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
10108 have been an hyphen, fixed.
10109 * configure: Rebuilt.
10111 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
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.
10123 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
10125 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
10128 * unroll.c (unroll_loop): Remove LOOP notes when loop is
10129 completely unrolled.
10131 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10133 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
10135 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
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
10141 (rtx_equal_p): Likewise.
10142 * rtlanal.c (rtx_equal_function_value_matters): Delete.
10143 (rtx_equal_p): Likewise.
10145 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
10147 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
10148 ! HAS_INIT_SECTION.
10150 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
10152 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
10154 * pa.h (ADDR_VEC_ALIGN): Define.
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.
10160 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
10161 Remove explicit zero initializations of entries within MAP.
10163 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
10165 * reg-stack.c (convert_regs_1): Handle EH edges specially.
10167 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
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.
10191 * combine.c (combine_instructions): Use xmalloc instead of alloca.
10193 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
10195 * toplev.c (rest_of_compilation): Don't optimize the CFG
10196 when rebuilding, just before dbr.
10198 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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*.
10204 * varasm.c (assemble_destructor, assemble_constructor,
10205 assemble_gc_entry, assemble_end_function, assemble_global,
10206 assemble_label, output_constant_pool): Likewise.
10208 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
10210 * config/arm/thumb.c (thumb_expand_prologue): Add comments
10211 explaining what is goin on in this function.
10213 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10215 * regclass.c (record_reg_classes): In matching case, recompute
10216 costs since the direction of movement is different.
10218 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
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.
10224 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
10226 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
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.
10233 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
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
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.
10247 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
10249 * toplev.c (rest_of_compilation): Fix thinko in this change:
10251 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
10253 (rest_of_compilation): If inside an inlined external function,
10254 pretend we are just being declared.
10256 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
10258 * flow.c (calculate_global_regs_live): Fix thinko.
10260 * integrate.c (expand_inline_function): Fix bugs in previous
10261 change from Oct 28, 1999.
10263 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
10265 * stmt.c (expand_value_return): Fix typo in this change:
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.
10271 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
10273 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
10275 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10277 * hard-reg-set.h (reg_names): Constify a char*.
10279 * regclass.c (reg_names): Likewise.
10281 * regs.h (reg_names): Likewise
10283 * a29k/a29k.c (reg_names): Delete declaration.
10285 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
10287 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
10288 arc_output_function_epilogue): Likewise.
10290 * elxsi/elxsi.c (reg_names): Likewise.
10292 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
10294 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
10297 * m88k/m88k.c (output_function_profiler): Likewise.
10299 * sparc/sparc.c (sparc_flat_output_function_prologue,
10300 sparc_flat_output_function_epilogue): Likewise.
10302 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
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.
10309 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
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
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.
10328 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
10329 references/callers changed.
10331 * mn10200.c (mn10200_va_arg): Force the return value into a
10334 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
10336 * cccp.c (macroexpand): Avoid out of range accesses for omitted
10339 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
10341 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
10343 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
10345 * fold-const.c (fold): Fix thinko when optimizing comparisons
10348 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
10350 * gcc.texi (Passes): Update front-end files to their current
10353 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
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.
10367 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
10369 * genrecog.c (write_switch): Check for duplicate CODE cases.
10371 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
10373 * ggc-common.c: Update pre-function commentary.
10374 * ggc-page.c: Likewise.
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.
10382 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
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.
10388 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
10390 * config/i386/i386.c (ix86_cpu): Revert last patch.
10391 * config/i386/i386.h (ix86_cpu): Ditto.
10393 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
10395 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
10396 TYPE_SIZE, convert type of result to sizetype.
10398 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
10400 * flow.c (count_or_remove_death_notes): Equate NULL with the
10403 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
10404 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
10407 * i386.c (pic_label_no): Delete.
10408 (ix86_attr_length_default): Don't use single_set to peek
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
10415 (cmp mem peep): Similarly.
10417 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
10419 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
10420 * function.c (pad_to_arg_alignment): Add missing braces.
10422 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10424 * alpha/alpha-protos.h (literal_section): Add prototype.
10425 (alpha_need_linkage, alpha_start_function,alpha_end_function):
10428 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
10430 (alpha_start_function, alpha_end_function, float_strings,
10431 alpha_need_linkage): Constify a char*
10433 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
10435 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
10437 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
10439 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
10441 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10443 * flow.c (debug_flow_info): Add prototype.
10445 * gcc.c (main): Likewise.
10447 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
10450 * reload1.c (failed_reload, set_reload_reg): Likewise.
10452 * mips-tfile.c (main): Likewise.
10453 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
10454 with ATTRIBUTE_NORETURN.
10456 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
10458 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
10459 DECL is not a memory ref.
10461 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
10463 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
10464 * config/i386/i386.c (ix86_cpu): Add extern attribute.
10466 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
10468 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
10469 * config/mips/elf64.h: ditto.
10471 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
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
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.
10484 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
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.
10492 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
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.
10500 * profile.c (init_branch_prob): Specify binary when opening files.
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.
10509 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
10510 (dwarf2out_frame_finish): Likewise.
10512 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
10514 * fold-const.c (merge_ranges): If not in0, but in1, handle
10515 upper bounds equal like subset case.
10517 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
10519 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
10520 passed in a register but moved to the stack.
10522 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
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.
10531 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10533 * reload.c (find_reloads): Refine test for no input reload
10534 case to not includes reloads emitted after insn.
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
10543 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
10545 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
10546 component as well as "BINUTILS".
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.
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.
10558 * pa.md (extv, extzv, insv): Use define_expand to reject constant
10559 that is out of range.
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.
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.
10572 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
10574 * regclass.c (record_reg_classes): Properly handle register move
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
10584 ({record,compare}_constant_1): Modes must match for
10585 CONSTRUCTOR of ARRAY_TYPE.
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.
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.
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
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.
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.
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
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
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.
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.
10639 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
10641 * recog.c (nonmemory_operand): Accept ADDRESSOF.
10643 * tree.c (build_type_attribute_variant): Push to obstack of
10644 ttype around type_hash_canon call.
10646 * expr.c (placeholder_list): Move decl to file scope.
10647 (expand_expr): Don't force access to volatile just because its
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.
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'.
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.
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.
10696 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
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.
10707 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
10709 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
10710 last_nominal_fname): Mark const.
10711 (struct include_hash: name, nshort, control_macro): Mark
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.
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.
10733 * cppexp.c: Change all refs to is_xyz[] arrays to use new
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
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
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.
10750 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
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.
10766 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
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.
10772 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
10774 * resource.c (find_free_register): Don't use the frame pointer
10775 if frame_pointer_needed.
10777 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
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.
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.
10786 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
10788 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
10790 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
10792 * tree.def (PLACEHOLDER_EXPR): Update comments.
10794 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10796 * c-common.c (check_format_info): Avoid non-literal format string
10797 warnings when `first_arg_num' is zero.
10799 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10801 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
10803 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
10805 * arm.md (casesi_insn): Add a clobber of the condition code
10808 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
10810 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
10811 used by both cc1 and cc1plus.
10813 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
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.
10822 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
10824 * c-pragma.c (push_alignment): Don't check the return value
10827 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
10829 * sparc.h (ADJUST_COST): Fix thinko.
10831 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
10833 * cccp.c (rescan): Fixed obp pointer handling around call to
10834 check_expand subroutine.
10836 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
10838 * gcse.c (delete_null_pointer_checks): Only record non-null info
10839 for pseudos when examining stores.
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.
10845 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
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.
10851 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
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
10860 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
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
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
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.
10942 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
10944 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
10947 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
10950 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
10951 of the variable arm_structure_size_boundary.
10953 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
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
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.
10964 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
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.
10970 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
10972 * sparc.md (call): Don't bound structure return size to 0xfff.
10974 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
10976 * resource.c (mark_target_live_regs): Check that the target
10977 insn wasn't created after compute_bb_for_insn.
10979 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
10981 * ggc-page.c (poison_pages): Don't be overzealous.
10983 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
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.
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.
10995 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
10997 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
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
11004 (pre_expr_reaches_here_p_work): ... here.
11005 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
11007 (expr_reaches_here_p_work): ... here.
11009 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
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.
11015 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
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.
11022 * toplev.c (rest_of_compilation): Open jump1 dump file before
11023 jump and close after, as opposed to just using dump_rtl.
11025 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
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.
11033 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
11034 Richard Henderson <rth@cygnus.com>
11036 * emit-rtl.c (emit_block_insn_before): New.
11037 (emit_block_insn_after): New.
11038 * basic-block.h: Declare them.
11040 * bitmap.h: Protect from multiple inclusion.
11042 * recog.c (scratch_operand): Handle VOIDmode correctly.
11044 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
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.
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.
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.
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
11084 (fix_truncdi_1): Allow any mode scratch.
11086 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
11088 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
11089 * linux.h, netbsd.h, vms.h: Not here.
11091 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
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.
11101 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
11103 * i386.md (zero_extendqihi2): Use SImode register name with andl.
11105 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
11107 * integrate.c (function_cannot_inline_p): Don't allow inlining
11110 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11112 * c-parse.in (cast_expr): Constify.
11114 * cccp.c (special_symbol): Likewise.
11116 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
11118 * dwarf2out.c (base_type_die): Likewise.
11120 * global.c (allocno_compare): Likewise.
11122 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
11124 * regclass.c (fix_register): Likewise.
11126 * rtl.h (fix_register): Likewise.
11128 * stupid.c (stupid_reg_compare): Likewise.
11130 * toplev.c (decode_f_option): Likewise.
11132 * tree.c (build_complex_type): Likewise.
11134 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
11136 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
11138 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11140 * reload.c (find_reloads): Compute mode and nregs fields of all
11142 * reload1.c (calculate_needs_all_insns): Simplify a bit.
11143 (calculate_needs): Use precomputed mode/nregs values.
11144 (allocate_reload_reg): Likewise.
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.
11151 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
11153 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
11156 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
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
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.
11179 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11181 * reload1.c (reload_reg_free_for_value_p): Show
11182 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
11185 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
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
11191 * loop.c (basic_induction_var): A non-integer variable which is
11192 being set by a paradoxical subreg is probably not a biv.
11194 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11196 * prefix.c (translate_name) Check for empty prefix string.
11198 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
11200 * Makefile.in (CPP_CROSS_NAME): New variable.
11201 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
11203 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
11204 names of the files to be uninstalled.
11206 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
11208 * collect2.c (IS_DIR_SEPARATOR): Define.
11209 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
11211 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
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.
11217 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
11219 * fold-const.c (fold): Fix comment.
11221 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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):
11229 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
11230 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
11231 (dbxout_block): Initialize variable `blocknum'.
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*.
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.
11248 * dwarfout.h (dwarfout_define, dwarfout_undef,
11249 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
11251 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
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.
11261 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
11263 * arm.md (pic_load_addr): Add constraints to operand 1.
11265 1999-10-25 Bruce Korb <autogen@linuxbox.com>
11267 * fixinc/genfixes: Provide a means for specifying -D options to
11270 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
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.
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.
11281 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
11283 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
11285 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
11287 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
11288 a single load-address pattern.
11290 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
11292 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
11293 depending on whether or not line-number notes are present.
11295 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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*.
11317 * pcp.h (stringdef): Likewise.
11319 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
11321 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
11324 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
11325 Richard Henderson <rth@cygnus.com>
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.
11335 * unroll.c (unroll_loop): Verify the insn before a barrier
11336 is a JUMP_INSN before checking JUMP_LABEL.
11338 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
11347 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11349 * output.h (ctors_section, dtors_section, bss_section): Prototype.
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.
11368 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11370 * final.c (peephole): Delete prototype.
11372 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
11373 (pre_insert_copies): Remove unused variable `bb'.
11375 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
11378 * output.h (peephole): Add prototype.
11380 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
11382 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
11385 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
11387 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
11388 for inlined declarations.
11390 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
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.
11401 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
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.
11422 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
11424 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
11427 1999-10-22 Bruce Korb <autogen@linuxbox.com>
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
11437 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
11439 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
11442 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
11444 * gcc.1: Document exit codes.
11446 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11448 * calls.c: Include tm_p.h later, so everything we need is defined.
11449 * expr.c: Likewise.
11450 * function.c: Likewise.
11452 * except.c: Include tm_p.h.
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*.
11465 * sparc.h: Move all declarations to sparc-protos.h.
11466 (SELECT_RTX_SECTION): Pass a missing MODE argument to
11469 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
11471 * config/svr4.h (text_section, ctors_section, dtors_section): Add
11473 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
11474 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
11475 ASM_OUTPUT_ASCII): Constify a char*.
11477 * sparc-protos.h: New file for sparc prototypes.
11479 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11481 * function.c (record_insns, contains): Always declare and define.
11482 (record_insns): Mark with ATTRIBUTE_UNUSED.
11484 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
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
11491 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
11493 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
11494 thumb parts even when building with non-thumb CPUs, by forcing
11497 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
11499 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
11500 (movdf_const_intreg_sp64): Similarly.
11502 * local-alloc.c (update_equiv_regs): Check the correct insn
11503 for pre-existing REG_EQUIV notes.
11505 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
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
11511 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
11513 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
11514 a local extern function declaration.
11516 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
11518 * i386.c (ix86_expand_prologue): Properly wrap USE around
11519 reg for CALL_INSN_FUNCTION_USAGE.
11521 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
11523 * config/mips/mips.md (movdf_internal1a): Allow floating-point
11524 move between GP_REGs.
11526 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
11528 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
11529 the mode size when finding out if an offset is legal.
11531 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
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
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
11553 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
11555 * jump.c (jump_optimize_1): More accurately detect casesi insns.
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.
11561 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
11563 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
11565 * pa.md (call, call_value): Do not emit a blockage after restoring
11568 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
11570 * c-typeck.c (c_expand_asm_operands): Fix typo.
11572 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11574 * arm.c (fpu_rhs_operand): Verify modes.
11575 (fpu_add_operand): Likewise.
11576 (di_operand): Likewise.
11577 (soft_df_operand): Likewise.
11579 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
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'.
11584 1999-10-19 Bruce Korb <autogen@linuxbox.com>
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
11592 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
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.
11599 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
11601 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
11602 (insert_pack_attributes): Delete prototype.
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.
11611 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
11613 * reg-stack.c (stack_result): Aggregates are not returned in
11616 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
11618 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
11620 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
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.
11633 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
11635 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
11636 if the pic register is used.
11638 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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.
11644 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
11646 * cse.c (invalidate_for_call): Do not remove memory references from
11647 the table here. It's handled elsewhere.
11649 * haifa-sched.c (add_dependence): Protect references to the
11650 true dependency cache with #ifdef INSN_SCHEDULING.
11651 (remove_dependence): Similarly.
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.
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.
11661 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
11663 * Makefile.in: Back out previous change.
11665 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
11667 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
11669 * haifa-sched.c (add_dependence): Only check/update the cache
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.
11675 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
11677 * Makefile.in (ggc-common.o): Depend on genrtl.h.
11678 (ggc-simple.o): Likewise.
11679 (ggc-page.o): Likewise.
11681 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
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
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
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
11710 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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.
11716 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
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
11724 (schedule_insns): Allocate and initialize and free the true
11727 * haifa-sched.c (schedule_insns): Do not remove inter-block
11728 dependencies anymore.
11730 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
11732 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
11733 * i386/t-winnt: Likewise.
11735 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
11737 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
11739 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
11741 * Makefile.in (LANGUAGES): Omit "proto".
11742 (clean): Remove stale comment about removing unprotoize.c.
11744 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11746 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
11747 using arithmetic on void pointers.
11749 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
11751 * haifa-sched.c (compute_block_forward_dependencies): Only check
11752 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
11754 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
11756 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
11757 (expr_equiv_p): Reject memories with different alias sets.
11759 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
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".
11767 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11769 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
11771 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11773 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
11776 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11778 * config/c4x/c4x.md (*db_noclobber,
11779 *decrement_and_branch_until_zero_noclobber): New patterns and
11780 associated splitters.
11782 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11784 * config/c4x/c4x.md (parallel instruction patterns): Rework
11785 constraints to keep reload happy.
11787 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
11794 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11796 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
11798 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11800 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
11802 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
11804 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11806 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
11809 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
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.
11816 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
11818 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
11820 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
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.
11826 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
11828 * cppexp.c (cpp_parse_escape): Make static. Change second arg
11830 (parse_charconst): Delete unnecessary cast when calling
11832 (cpplib.h): Kill prototype of cpp_parse_escape.
11834 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
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.
11845 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
11847 * config/t-freebsd: Do not override USER_H.
11848 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
11850 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
11851 Mumit Khan <khan@xraylith.wisc.edu>
11853 * c-parse.in (component_decl): Support anonymous struct/union.
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.
11862 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
11864 * sparc.md (movsf_const_intreg): Revert last constraint change.
11865 (movdf_const_intreg_sp32): Likewise.
11867 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
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.
11879 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
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.
11888 * rtl.c (read_rtx): Track line number across \\\n.
11890 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
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.
11898 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
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
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.
11929 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
11931 * configure.in (djgpp): Revert previous patch.
11932 * configure: Rebuit.
11933 * config/i386/djgpp.h: Revert previous patch.
11935 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
11937 * fixinc/inclhack.def: Restore patch lost during last merge of
11938 "no_bogosity" branch.
11939 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
11941 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
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.
11947 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
11949 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
11950 as the base of a PLUS.
11952 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11954 * config/c4x/c4x.md: Define mode for remaining unspec operators.
11955 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
11957 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
11959 * pa.md (post_stw+1): Use pmode_register_operand.
11960 (dcacheflush, icacheflush): Likewise.
11962 * i386.md (movstricthi_1): Allow r/r.
11964 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
11966 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
11967 to (not (and (arg0) (arg1))). Similary for and.
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
11974 * combine.c (simplify_logical): Convert XOR to IOR if operands have
11975 no bits in common; remove XOR to ROTATE conversion.
11977 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11979 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
11981 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
11990 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
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.
11998 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
11999 if the operand is not insn-like.
12001 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
12002 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
12004 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
12006 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
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.
12016 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
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.
12022 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
12024 * toplev.c (main): Only warn about options for other languages.
12025 * collect2.c (main): Pass -w to sub-gcc.
12027 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
12029 * flow.c (propagate_block): Add call-clobbered registers to
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.
12037 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
12039 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
12041 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
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
12048 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
12050 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
12051 from multiple calls.
12053 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
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.
12058 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
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.
12077 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
12079 * Makefile.in (all.cross): Depend on xcpp$(exeext).
12081 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
12083 * pa.h (PREDICATE_CODES): New.
12085 * genrecog.c (validate_pattern): Condense the destination
12086 non-lvalue message.
12088 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
12090 * alpha.md (call-1): Supply missing mode for operator.
12091 (*): Add missing output reload constraints. Remove constraints
12092 from define_splits.
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.
12101 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
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.
12109 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
12111 * genrecog.c (validate_pattern): Typo last change. Verify
12112 that output operands have output reloads.
12114 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
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.
12125 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
12127 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
12129 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
12131 * combine.c (simplify_logical): Recognize xor pattern that encodes
12134 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12136 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
12139 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
12141 * ggc-page.c (MAP_FAILED): Provide default.
12143 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
12145 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
12146 * sparc.h (PREDICATE_CODES): Update.
12148 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
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.
12156 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
12157 Jim Wilson <wilson@cygnus.com>
12159 * genrecog.c (maybe_both_true_2): Don't compare modes of
12161 (process_tree): Elide peephole2_insns. Invoke simplify_tests
12162 after find_afterward.
12163 (debug_decision_1): Dump next and afterward codes.
12165 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
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.
12176 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
12177 if it isn't a CODE_LABEL.
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.
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.
12199 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12201 * expr.c (store_constructor): Clear union if constructor is empty.
12203 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
12205 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
12206 Add !endian checks. Change %{...} to %(...).
12208 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
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.
12218 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
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.
12223 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
12225 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
12226 climb up the chain of insns.
12228 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
12230 * genrecog.c (write_subroutine): Careful for null trees.
12231 (process_tree): Don't elide empty functions.
12233 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
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.
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.
12309 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
12311 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
12312 float_format and thread_file definitions.
12313 * configure: Rebuilt.
12315 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
12317 * extend.texi (Function Names): Document types of function names.
12319 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12321 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
12322 an earlyclobbered output conflict with RELOAD_INPUT reloads.
12324 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12326 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
12328 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12330 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
12332 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
12334 * collect2.c (main): Do prelimnary link on AIX if rflag.
12336 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
12338 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
12339 __CTOR_LIST__ in opposite order, which is the correct order for sorted
12341 (__do_global_dtors): similarly for __DTOR_LIST__.
12343 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12344 Diego Novillo <dnovillo@cygnus.com>
12346 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
12349 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
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
12355 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
12357 * genoutput.c: Include toplev.h.
12359 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
12361 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
12363 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
12364 * configure: Regenerate.
12366 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
12368 * gcse.c (delete_null_pointer_checks): Returns void.
12370 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12372 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
12373 * emit-rtl.c (copy_insn_1): Likewise.
12375 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
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'.
12383 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
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.
12401 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
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
12408 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
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.
12430 * rtl.h (REG_SAVE_NOTE): New.
12431 * rtl.c (reg_note_name): Update.
12433 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
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
12440 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
12441 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
12443 * Makefile.in (recog.o): Depend on basic-block.h.
12445 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
12447 * genrecog.c (add_to_sequence): Thinko last change: delete
12448 shadowing allow_const_int variable.
12450 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12452 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
12453 __GNUC__ and __GNUC_MINOR__.
12455 * gansidecl.h: Likewise.
12461 * toplev.h: Likewise.
12463 * tree.c: Likewise.
12465 * tree.h: Likewise.
12467 * varray.c: Likewise.
12469 * varray.h: Likewise.
12471 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12473 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
12474 use one before a jump table.
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
12481 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
12483 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
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.
12489 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
12491 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
12493 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
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
12498 (delete_null_pointer_checks): Likewise.
12500 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
12502 * c-common.c (check_format_info): Warn if format string isn't a
12505 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
12507 * configure.in (arm*-*-*): Don't let autoconf remove brackets
12508 * configure: regenerate
12510 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
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.
12516 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
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.
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.
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.
12586 * i386.md (or -1 peep2s): Disable.
12588 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
12590 * config/mips/mips.md (movstrsi+[123]) : Combine these into
12591 a single pattern. Scrap the 'd' versions as unnecessary.
12593 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
12594 tablejump_mips162,tablejump_internal4): The operands to a
12595 label_ref must be VOIDmode.
12597 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12599 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
12601 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
12603 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
12605 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
12607 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
12608 cache every function if ggc_p.
12610 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
12619 * rtl.h (copy_insn, copy_insn_1): Declare.
12621 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12623 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
12625 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
12626 arguments to `current_file_function_operand'.
12628 * genrecog.c: Include hard-reg-set.h and resource.h in the
12629 generated output file.
12631 * real.c: Include tm_p.h.
12633 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12635 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
12638 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
12640 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
12641 before the fctiwz insn.
12643 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12644 Mark Mitchell <mark@codesourcery.com>
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.
12652 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
12654 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
12655 make sure that HIGH instructions are copied into BASE_REGS.
12657 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
12659 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
12661 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
12663 * c-decl.c (finish_struct): Use simpler method of
12664 removing elements of a singly-linked list.
12666 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
12668 * alpha.md (peephole2's): Comment out peephole2's that generate
12671 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
12673 * genrecog.c (add_to_sequence): Disable mode check for
12676 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12678 * ggc-simple.c (init_ggc): Set empty_string.
12680 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
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.
12686 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
12688 * c-decl.c (ggc_p): Enable.
12690 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12692 * flow.c (verify_flow_info): Make it extern & unconditionally define.
12694 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
12696 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
12697 string for little-endian-data.
12699 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
12701 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
12702 case somebody tries to compile --enable-checking code with gcc
12705 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
12707 * genrecog.c (add_to_sequence): Verify operand to label_ref is
12710 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
12712 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
12713 * jump.c (jump_optimize_1): Document why.
12715 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12717 * collect2.c (scan_prog_file, scan_libraries): Prototype function
12718 pointers and casts for `int_handler' and `quit_handler'.
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'.
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
12734 (check_dbra_loop): Initialize variable `comparison_val'.
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.
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'.
12746 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
12748 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
12750 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
12752 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
12753 ({,d}discard): Add forward declarations. Declare parameter as
12755 (main_without_main): Explicitly declare return type to be int.
12756 (memcpy): Properly declare.
12758 * libgcc2.c (toplevel): If inhibit_libc is defined and not
12759 building the trampoline support, declare malloc, free, and
12761 (__clear_cache): Mark arguments as potentially unused.
12763 * frame.c (toplevel): If inhibit_libc is defined, declare
12766 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
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.
12773 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12775 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
12777 (local_mbtowc): Change the type of variable `i' from int to size_t.
12779 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
12780 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
12782 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
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.
12792 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
12793 Jonathan Larmour <jlarmour@cygnus.co.uk>
12795 * config/mips/mips.c (mips_move_2words): Split doubles if
12796 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
12798 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
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
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.
12836 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
12838 * resource.c (find_free_register): Mark class_str argument const.
12839 * resource.h: Update prototype to match.
12841 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
12842 * i386.md: Give all anonymous insns names.
12844 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
12846 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
12849 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
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.
12859 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
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.
12865 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
12867 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
12868 always have side-effects. Use memset not bzero.
12869 (make_node): Likewise.
12871 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
12873 * stmt.c (expand_anon_union_decl): When any of the elements of the
12874 union is addressable, so is the entire union.
12876 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
12878 * sbitmap.c (sbitmap_ones): Don't set too many bits.
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.
12886 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
12888 * toplev.c (rest_of_compilation): Turn on cse_not_expected
12889 before cse2 instead of after.
12891 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
12893 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
12896 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12898 * cppinit.c (is_idchar initializer): Loosen tests to accept
12901 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
12903 * mips.md: Define conditional move patterns for floating point
12904 operands and DI mode conditions.
12906 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
12908 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
12909 always have side-effects.
12911 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
12913 * mn10200.c (asm_file_start): Fix typo.
12915 * cppinit.c (is_idchar initializer): Tighten tests for when
12916 to put the table into initialized memory.
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.
12923 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
12926 * mbchar.h: Add missing #endif.
12928 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
12929 (FPBIT, DPBIT): Define.
12931 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12933 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
12935 * profile.c (instrument_arcs, output_gcov_string,
12936 tablejump_entry_p): Add static prototypes.
12937 (output_gcov_string): Constify a char*.
12939 * regmove.c (replacement_quality, fixup_match_2): Add static
12942 * resource.h (reg_dead_p): Add extern prototype.
12944 * rtl.c (trim_filename): Add static prototype.
12946 * scan-decls.c (skip_to_closing_brace): Likewise.
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'.
12952 * varasm.c (asm_emit_uninitialised): Add static prototype.
12953 (asm_emit_uninitialised, assemble_variable): Mark parameter with
12956 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12958 * cpplib.c (if_directive_nameo): Add static prototype.
12960 * cse.c (cse_insn): Remove unused variable `p'.
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'.
12968 * expr.h (expand_builtin_longjmp): Add extern prototype.
12970 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
12972 * function.c (prepare_function_start): Likewise.
12973 (pop_function_context_from): Mark parameter `context' with
12975 (push_temp_slots_for_block, flush_addressof): Hide definition.
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.
12981 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
12982 (add_hash): Constify a char*.
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.
12988 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
12990 * lists.c (free_list, zap_lists): Likewise.
12992 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12994 * alias.c (nonlocal_reference_p): Add static prototype.
12996 * bitmap.c (bitmap_element_allocate): Prototype args in function
12999 * builtins.c (stabilize_va_list): Add static prototype.
13000 (expand_builtin_va_arg): Constify a char*.
13002 * c-lex.c (getch, put_back, extend_token_buffer_to,
13003 read_line_number, token_getch, token_put_back): Add static
13006 * c-parse.gperf (hash, is_reserved_word): Likewise.
13008 * cccp.c (is_dir_separator): Likewise.
13010 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13012 * graph.h: New file to prototype functions exported by graph.c.
13014 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
13016 * graph.c: Include graph.h.
13018 * toplev.c: Likewise. Remove redundant prototypes.
13020 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
13022 * invoke.texi: Removed duplicated description for -Q.
13024 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
13026 * extend.texi: Grammar fix in __extension__ text.
13028 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
13030 * md.texi (define_peephole2): New section.
13032 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
13034 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
13035 (mov $-1 to or peepholer): Enable for pentium when optimizing for
13038 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
13040 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
13042 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
13044 * i386.md (ffs expander): Emit Pentium friendly code for
13047 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
13049 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
13051 (build1): Likewise.
13053 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13055 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
13057 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
13059 * config/m68k/m68k.c (use_return_insn): Return false if the pic
13060 register is in use.
13062 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
13082 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
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.
13094 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
13096 * iris6.h (BUILD_VA_LIST_TYPE): Define.
13098 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13100 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
13101 for the va_list record.
13103 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
13105 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
13108 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
13110 * alias.c: Include insn-flags.h.
13111 * Makefile.in (alias.o): Update.
13113 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
13115 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
13116 to LTU and GEU. Handle more cases using sbb.
13118 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
13120 * i386.md (truncatexfdf splitters): Do not use subreg.
13121 (fop XFmode patterns): Fix mode in operand testing.
13123 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
13125 * jump.c (jump_optimize_1): Amend last change to test only the
13126 form of the operand, not the insn.
13128 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
13129 not register_operand to determine when B may need preloading.
13131 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
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.
13142 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
13163 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
13165 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
13166 Correctly build argument list to constructor and destructor functions.
13168 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
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.
13178 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
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.
13185 * expr.h (init_mov_optab): Delete declaration
13187 * h8300.c (WORD_REG_USED): Update to avoid useless register
13188 saves in interrupt functions and functions which never return.
13190 * cse.c (struct set): Delete inner_dest_loc field.
13191 (cse_insn): Remove assignments to inner_dest_loc field.
13193 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
13195 * ggc-page.c: Don't include <unistd.h> etc taken care of
13196 by "system.h". Include <sys/mman.h> afterward.
13198 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
13200 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
13203 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
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
13212 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
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.
13225 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13227 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
13229 * reg-stack.c (straighten_stack): Copy hard reg set with
13232 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
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.
13239 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
13240 (rs6000_va_arg): Likewise.
13242 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
13244 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
13246 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
13248 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
13250 (DECL_BUILT_IN_CLASS): Adjust accordingly.
13252 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
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.
13258 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
13260 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
13263 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
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.
13272 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
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.
13280 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
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.
13286 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
13288 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
13289 for symbolic_operand().
13290 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
13292 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13294 * combine.c (gen_rtx_combine): Add missing call to va_end().
13296 * final.c (asm_fprintf): Likewise.
13298 * genattrtab.c (attr_rtx): Likewise.
13300 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
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
13311 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13313 * collect2.c (make_temp_file): Don't prototype.
13315 * gcc.c (make_temp_file): Likewise.
13317 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
13319 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
13321 * varasm.c (asm_emit_uninitialised): New function: Generate
13322 the assembler statements necessary to declare an uninitialised
13324 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
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
13329 (assemble_variable): Use asm_emit_uninitialised to emit an
13330 uninitialised variable.
13332 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
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>.
13338 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13340 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
13341 * c-common.h (builtin_function): Don't declare.
13343 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
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
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
13359 (builtin_function): Declare.
13361 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
13363 * optabs.c (init_traps): Fix typo in last change.
13365 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
13367 * toplev.c (rest_of_decl_compilation): Update comment.
13369 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
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.
13379 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
13381 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
13384 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
13386 * optabs.c (init_traps): Register trap_rtx as a GC root.
13388 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13390 * config/mips/mips.c (function_arg_pass_by_reference): Define
13391 unconditionally, since it's called unconditionally.
13393 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
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'
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.
13404 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
13405 symbol for a variable.
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.
13411 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
13413 * emit-rtl.c (init_emit_once): Initialize modes first.
13415 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
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.
13434 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
13435 Richard Henderson <rth@cygnus.com>
13437 * ggc-page.c: New file.
13438 * Makefile.in (ggc-page.o): New.
13440 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
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
13449 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
13451 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
13452 copyright notice and special exception to GPL.
13454 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13456 * abi64.h (mips_function_value): Add prototype arguments.
13458 * mips-protos.h: New file with mips prototypes.
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):
13468 (mips_va_start): Remove unused variable `u'.
13469 (mips_va_arg): Cast value to unsigned when comparing against one.
13471 (save_restore_insns, mips_expand_prologue): Add missing arg in
13472 call to `large_int'.
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.
13480 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
13482 * mips.md: Delete extra args in call to `mips_move_2words'.
13484 * xm-iris6.h (alloca): Add prototype argument.
13486 * genpeep.c: Include "tm_p.h" in generated output file.
13488 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
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.
13494 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
13496 * combine.c (simplify_comparison): Use an unsigned shift to adjust
13499 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
13501 * gcc.1: Fix a formatting error.
13503 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13505 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
13506 i786, mn10200, mn10300, pdp11, v850.
13508 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
13510 * libgcc2.c (num_digits): Add prototype with
13511 __attribute__((const)).
13512 (__terminate): Add prototype.
13514 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
13516 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
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.
13525 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
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.
13549 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
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.
13557 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
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.
13563 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
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.
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
13576 * tree.c (build_complex_type): If we are writing dwarf2 output,
13577 generate a name for complex integer types.
13579 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
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.
13586 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
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.
13593 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13595 * configure.in (AC_PREREQ): Bump to 2.13.
13596 (AC_C_STRINGIZE): Call this instead of using a custom macro.
13598 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
13600 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
13602 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
13604 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
13605 (HAVE_STRINGIZE): Define.
13607 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
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.
13616 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
13618 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
13619 most assembler templates.
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.
13628 * pa.h (BRANCH_COST): Define.
13630 * pa.md (return, return_internal): Use bve for PA2.0.
13632 * pa.md (fused multiply): Add variants which reduce height for the
13633 fused multiply, but which still generate 2 insns.
13634 (fnegabs): Similarly.
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'.
13640 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
13642 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
13644 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
13645 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
13647 * regclass.c (init_regs): Add "top_of_stack" as a garbage
13650 * flow.c (record_active_eh_regions): Terminate loop after finding
13651 the last insn in the last basic block.
13653 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13655 * config/c4x/c4x.md: Delete parallel instruction peepholes.
13657 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13659 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
13661 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13663 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
13664 splitting to not use output template.
13666 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13668 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
13669 * config/c4x/c4x.c (c4x_va_start): New function.
13671 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
13673 * genrecog.c (not_both_true): Handle correctly cases when called for
13674 tests with different positions in the insn.
13676 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13678 * machmode.h (HOST_PTR_PRINTF): Move from here ...
13680 * system.h (HOST_PTR_PRINTF): ... to here.
13682 * mips-tfile.c: Don't include machmode.h.
13684 * Makefile.in (MACHMODE_H): New variable. Update to use it.
13685 (mips-tfile.o): Don't depend on machmode.h.
13687 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13689 * haifa-sched.c (sched_analyze): Rename local variable `region' to
13690 avoid conflicts with typedef struct `region' at the top level scope.
13692 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
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
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.
13712 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13714 * extend.texi (Bound member functions): Document unbound pmf
13717 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13719 * flow.c (split_edge): Handle insertion on a fallthrough edge which
13720 has the EXIT_BLOCK as a dest.
13722 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13724 * flow.c (remove_edge): New function to remove an edge from the
13726 (remove_fake_successors): New function to remove fake successor edges.
13727 (remove_fake_edges): New function to remove all fake edges from the
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.
13734 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13736 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
13737 Use Pmode to determine whether to output .dword or .word.
13739 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
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.
13746 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
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.
13760 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
13762 * flow.c (merge_blocks_move_successor_nojumps): Delete the
13763 BARRIER at the end of the successor, not the BARRIER before
13766 * pa.c (pa_add_gc_roots): Fix thinko in last change.
13768 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
13770 * stmt.c (any_pending_cleanups): Don't crash when
13771 current_function->stmt is unset.
13773 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13775 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
13776 other initializations that may use it for relative offsets.
13778 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
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.
13788 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
13790 * invoke.texi (-fthis-is-variable): Remove documentation.
13792 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
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.
13799 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13801 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
13803 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13805 * crtstuff.c (ON_EXIT): Delete empty macro definition.
13806 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
13808 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
13810 * c-decl.c (c_decode_option): Extend comment.
13812 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
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
13832 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
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.
13838 * basic-block.h (compute_flow_dominators): Declare.
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.
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.
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.
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.
13861 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13863 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
13864 -YP when both -p and -pg are present. From i386/sol2.h.
13866 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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".
13873 * alias.c: Include "tm_p.h".
13874 * c-typeck.c: Likewise.
13875 * calls.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.
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
13921 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
13923 * c-pragma.c (mark_align_stack): Dereference the void* properly.
13925 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
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.
13931 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
13933 * c-pragma.c: Include ggc.h.
13934 * Makefile.in (c-pragma.o): Update.
13936 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
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.
13944 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
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.
13951 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13953 * configure.in: Pick up thread library on Solaris/x86 just
13954 like on Solaris/sparc.
13955 * configure: Rebuilt.
13957 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
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
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.
13976 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
13978 * Makefile (USER_H): Add iso646.h back.
13980 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
13982 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
13983 zapping the LOG_LINKS of sched_before_next_call.
13985 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
13986 * pa.c (insn_refs_are_delayed): Renamed from
13987 insn_sets_and_refs_are_delayed.
13989 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
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
14001 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
14002 * Makefile.in (integrate.o): Depend on loop.h.
14004 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
14006 * tree.h (warn_about_unused_variables): Declare.
14007 * stmt.c (warn_about_unused_variables): New function, split out
14009 (expand_end_bindings): Here.
14011 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
14013 * stmt.c (preserve_subexpressions_p): Don't crash when
14014 current_function->stmt is unset.
14016 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
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.
14024 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
14026 * fold-const.c (operand_equal_p): Pay attention to side effects.
14028 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
14030 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
14031 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
14033 * tlink.c (scan_linker_output): Look for keywords before accepting
14034 a mangled name in quotes.
14036 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
14038 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
14039 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
14041 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
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.
14047 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14049 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
14051 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
14052 Define HAVE_ON_EXIT.
14054 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14056 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
14057 CTYPE_CONV in all ctype macros.
14059 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
14062 * cexp.y (initialize_random_junk): Likewise.
14064 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
14066 * i370.c (handle_pragma): Likewise.
14068 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
14070 * v850.c (override_options): Likewise.
14072 * doprint.c (_doprnt): Likewise.
14074 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
14077 * fixinc/server.c (load_data): Likewise.
14079 * fold-const.c (real_hex_to_f): Likewise.
14081 * genattr.c (write_upcase, gen_attr): Likewise.
14083 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
14084 write_upcase): Likewise.
14086 * genemit.c (print_code): Likewise.
14088 * genopinit.c (gen_insn): Likewise.
14090 * genpeep.c (print_code): Likewise.
14092 * genrecog.c (print_code): Likewise.
14094 * optabs.c (init_libfuncs): Likewise.
14096 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
14098 * haifa-sched.c (sched_analyze): Keep the list of notes organized
14100 (reemit_notes): Likewise.
14102 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
14104 * ggc.h (ggc_root): Move to ggc-common.c.
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.
14118 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
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.
14132 1999-09-14 Andrew Haley <aph@cygnus.com>
14134 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
14135 use $0 instead of 0.
14137 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14139 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
14140 computation out of loop over hard regs.
14142 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
14144 * function.c (identify_blocks): Don't shadow a variable in an
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.
14151 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
14153 * c-typeck.c (qualify_type): Merge qualifiers from both types.
14155 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
14157 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
14158 * invoke.texi: Document this change.
14160 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
14162 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
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
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.
14194 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
14196 * c-lex.c (yylex): Initialize warn.
14198 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
14200 * pa.c (emit_move_sequence): Properly set the mode of the scratch
14201 register when performing secondary reloads for the SAR register.
14203 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
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
14218 (reemit_notes): Adjust recreation of notes to reflect new saved
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.
14227 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
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.
14237 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
14239 * calls.c (precompute_arguments): Fix typo in comment.
14240 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
14243 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
14245 * dsp16xx.c (override_options): Fix typos in GC root registration.
14247 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
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.
14255 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
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.
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.
14288 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14290 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
14292 * print-rtl.c (get_insn_name): Remove prototype.
14294 * toplev.h (progname): Declare const.
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.
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.
14312 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14314 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
14316 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
14318 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
14320 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
14322 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
14331 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
14333 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
14334 arg_pointer_rtx fixed if the argument pointer register is
14336 (NONZERO_BASE_PLUS_P): Likewise.
14338 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
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.
14344 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
14346 * Makefile.in (USER_H): Remove va-foo.h.
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.
14353 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
14355 * sparc/sparc.md (eligible_for_return_delay): New attribute.
14356 (in_return_delay): Use it instead of match_insn.
14358 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14360 * config/alpha/va_list.h (va-alpha.h): Do not include.
14361 (__gnuc_va_list): Typedef as in varargs.h.
14363 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
14365 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
14366 DECL_LIVE_RANGE_RTL.
14368 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
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.
14383 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
14385 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
14386 terms of builtin functions and types.
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.
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.
14398 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
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.
14407 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
14409 * toplev.c (compile_function): Unconditionally emit nop.
14411 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14413 * haifa-sched.c (actual_hazard): Move declaration of variable
14414 `this_cost' into the scope where it is used.
14416 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
14422 * genrecog.c (make_insn_sequence): Call memset, not bzero.
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.
14428 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
14430 * recog.c (offsettable_address_p): Prototype function pointer.
14431 (preprocess_constraints): Call memset, not bzero.
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.
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.
14443 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14445 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
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.
14452 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
14454 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
14456 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
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.
14468 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
14470 * gthr-win32.h: New file.
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.
14477 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
14479 * configure.in: Handle --enable-threads on FreeBSD.
14480 * configure: Rebuit.
14482 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
14484 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
14486 * configure: Rebuilt.
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>
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.
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.
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
14514 * config/i386/t-rtems-i386: New File.
14516 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
14518 * stmt.c (expand_end_case): Return right away if the case stack is
14521 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
14523 * Makefile.in (version.c): Remove rule incorrectly brought in from
14526 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
14528 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
14529 * msdos/top.sed: Take into account a prepended $(SHELL) to
14531 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
14533 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
14535 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
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.
14542 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
14544 * loop.c (strength_reduce): Don't call reg_used_between_p if the
14545 insn from BL2 is after the insn from BL.
14547 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
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.
14563 * c4x/c4x.c (c4x_process_after_reload): Likewise.
14564 * i860/i860.c (output_delayed_branch): Likewise.
14565 (output_delay_insn): Likewise.
14567 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14569 * rtl.c (obstack_alloc_rtx): Removed.
14571 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
14573 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
14575 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
14577 * i386.c (call_insn_operand): Reject const_int.
14578 (expander_call_insn_operand): Use call_insn_operand.
14580 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14582 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
14584 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
14586 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
14587 Use DImode operation.
14589 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
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.
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.
14602 * invoke.texi: Document new option -time.
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.
14610 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
14612 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
14615 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
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.
14623 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
14624 (DPBIT_FUNCS): Add _thenan_df.
14626 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
14628 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
14631 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14633 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
14636 (lang_specific_driver): Don't take a function pointer parameter.
14637 All callers changed.
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.
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'.
14653 * gccspec.c (lang_specific_driver): Include gcc.h.
14655 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
14657 * arm.c (note_invalid_constants): Use recog_data.operand_type
14660 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14662 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
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.
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
14683 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
14684 explicit loops, not with bcopy.
14686 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
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.
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.
14728 * c4x/c4x.c (c4x_process_after_reload): Likewise.
14729 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
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
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.
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.
14768 * alpha.md (adddi3): Make `pattern' array static.
14770 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
14777 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
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.
14783 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
14785 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
14787 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
14788 surrounding context.
14790 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
14792 * tree.c (type_hash_canon): Put all types in the hash-table, when
14795 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
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.
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.
14830 * genemit.c (main): Don't declare recog_operand.
14832 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
14834 * ggc.h (rtvec_def): Forward declare.
14835 (tree_node): Likewise.
14836 (ggc_root): Define.
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.
14868 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
14870 * cppalloc.c (xstrdup): Use memcpy.
14871 * cpperror.c (cpp_print_containing_files): Don't use
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.
14880 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
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.
14887 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
14889 * except.c (start_dynamic_handler): Compute size using
14890 STACK_SAVEAREA_MODE.
14892 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
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
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.
14923 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
14925 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
14926 when comparing types.
14928 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
14930 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
14931 (strength_reduce): Release the varrays from the no-bivs early exit.
14933 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
14934 the loop over the registers.
14936 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
14938 (restore_tree_status): Check that instead when freeing the obstack.
14940 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
14942 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
14945 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14947 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
14948 operand size modifiers.
14950 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14952 * c-common.c (c_common_nodes_and_builtins): Don't build
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.
14980 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
14982 * c-decl.c (finish_function): When processing a nested function,
14983 push and pop GC context around rest_of_compilation.
14985 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
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.
14996 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
14998 * function.c (assign_stack_local_1): Allocate from
14999 function->x_frame_offset, not frame_offset.
15001 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
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.
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.
15012 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
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
15020 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
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.
15044 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15046 * except.c (call_get_eh_context): Add root when allocating static
15049 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
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.
15056 * arm.md (define_asm_attributes): Add a pool_range attribute.
15058 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
15060 * extend.texi (Volatiles): New node.
15062 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
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.
15076 1999-09-09 Scott Bambrough <scottb@netwinder.org>
15078 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
15080 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
15082 * toplev.c (main): Always init_ggc.
15084 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
15086 * except.c (find_all_handler_type_matches): Free the list if
15087 we found no matches.
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'.
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.
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.
15123 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
15125 * Makefile.in (cppexp.o): Depend on cpphash.h.
15126 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
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.
15135 * cccp.c: Add T_POISON node type.
15136 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
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.
15144 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
15145 * c-pragma.h: Add ps_poison state. We now always have generic
15148 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
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.
15159 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15161 * c-decl.c (mark_binding_level): Make static to match prototype.
15163 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
15165 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
15167 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
15169 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
15170 will use into account. Expand the max width to 5.
15173 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
15175 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
15176 for the rtx length.
15178 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
15180 * alpha.md (call value patterns): Remove the result predicates.
15182 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
15184 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
15187 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
15193 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
15195 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
15202 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
15204 * cccp.c (pcfinclude): Likewise.
15206 * global.c (allocno_compare): Likewise.
15208 * haifa-sched.c (rank_for_schedule): Likewise.
15210 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
15212 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
15214 * stupid.c (stupid_reg_compare): Likewise.
15216 * tree.c (_obstack_allocated_p): Likewise.
15218 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
15220 1999-09-08 Bruce Korb autogen@linuxbox.com
15222 * Makefile.in: Give the hapless gperf user a hint about
15223 why "gperf -F" fails.
15225 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
15227 * lists.c: Include ggc.h.
15229 (init_EXPR_INSN_LIST_cache): Install it.
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.
15236 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
15238 * cccp.c (main): Fix handling of -include and -imacros options.
15240 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
15242 * cpplib.c (cpp_push_buffer): Fix order of arguments.
15244 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
15246 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
15249 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
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.
15255 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15257 * config/c4x/c4x.c: Include ggc.h.
15258 (c4x_add_gc_roots): New function.
15259 (c4x_override_options): Call c4x_add_gc_roots.
15261 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
15263 * defaults.h (TARGET_ESC): Move ...
15264 * system.h: ... here, where Linas had it in the first place. Silly me.
15266 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
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.
15274 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
15276 * configure.in: add i370-*-openedition, i370-*-mvs and
15277 i370-*-linux targets
15279 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
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.
15288 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
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.
15302 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
15304 * rs6000.c: Include ggc.h.
15305 (rs6000_add_gc_roots): New function.
15306 (override_options): Call it.
15308 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
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).
15319 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
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.
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>
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).
15344 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
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.
15361 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
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.
15376 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15378 * cpperror.c (cpp_file_line_for_message): Constify a char*.
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*.
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.
15389 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
15390 collect_expansion): Add static prototypes.
15391 (cpp_install, create_definition, monthnames): Constify a char*.
15393 * cpphash.h (cpp_install): Likewise.
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.
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*.
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*.
15415 * cppmain.c (progname): Constify.
15416 (main): Add prototype. Use return, not exit.
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.
15423 (progname, recognized_macrom, recognized_extern): Constify a char*.
15424 (main): Add prototype.
15426 * gen-protos.c (progname): Constify a char*.
15428 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
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
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
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.
15473 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
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.
15480 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
15482 * pa/x-pa-mpeix: New file for the MPE port.
15484 * pa/quadlib.asm: New file for long double support.
15486 * configure.in: Add hppa1.0-*-mpeix for MPE port.
15487 * configure: Rebuilt.
15489 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
15491 * final.c (shorten_branches): Fix last change.
15493 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
15495 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
15497 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
15499 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
15502 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15504 * c-aux-info.c (concat): Don't define.
15506 * cccp.c (my_strerror): Likewise. All callers changed to use
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.
15512 * collect2.c (my_strsignal): Likewise. All callers changed to use
15514 (locatelib): Call xstrdup, not xmalloc/strcpy.
15516 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
15518 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
15520 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
15522 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
15524 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
15526 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
15528 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
15530 (find_all_handler_type_matches): Likewise. Don't check return
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.
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.
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.
15549 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
15551 * mips-tdump.c (xmalloc): Don't define.
15552 (print_symbol): Call xmalloc, not malloc.
15553 (read_tfile): Call xcalloc, not calloc.
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.
15560 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
15561 Fix memory leak, free allocated memory.
15563 * prefix.c (translate_name): Call xstrdup, not save_string.
15564 (update_path): Likewise.
15566 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
15568 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
15569 Don't define. Callers of xfree/savestring2 changed to use
15570 free/concat instead.
15572 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
15573 (init_elim_table): Likewise.
15575 * resource.c (init_resource_info): Likewise.
15577 * stupid.c (stupid_life_analysis): Likewise.
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.
15584 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
15586 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
15587 * v850.c (v850_va_arg): New.
15589 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15591 * haifa-sched.c: Tidy comments.
15593 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
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.
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.
15626 * i386.c: Include "ggc.h".
15627 (ix86_mark_machine_status): New function.
15628 (override_options): Set mark_machine_status.
15630 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15632 * tree.c (copy_node): Copy node contents also if doing GC.
15634 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
15636 * collect2.c (scan_libraries): Fix double-thinko :-).
15638 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
15640 * collect2.c (scan_libraries): Fix thinko.
15642 * cse.c (delete_trivially_dead_insns): Do not skip the last
15643 insn if it is a real insn.
15645 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
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.
15659 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
15661 * profile.c (output_func_start_profiler): Remove apparently
15662 nonsensical call to start_sequence.
15664 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
15666 * clipper/clipper.c (clipper_va_start): Fix typos.
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.
15672 * configure.in: Comment out pyramid.
15674 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
15676 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
15677 don't conflict with the bits that win32, cygwin, and dgux
15680 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
15681 Bernd Schmidt <bernds@cygnus.co.uk>
15683 * integrate.c (function_cannot_inline_p): Do not inline
15684 functions with forced labels.
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>
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
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
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.
15746 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
15748 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
15749 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
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>
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.
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>
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):
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.
15823 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15825 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
15827 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15829 * c-decl.c (struct language_function): Renamed from struct c_function.
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
15845 * Makefile.in (c-lang.o): Update dependencies.
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
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.
15869 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
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.
15876 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15878 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
15880 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15882 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
15884 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
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.
15891 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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.
15898 * optabs.c (optab_table, libfunc_table): New.
15899 Delete declarations for individual optab and libfunc vars.
15901 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
15903 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
15905 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
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.
15922 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
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
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
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
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
15995 (get_pool_constant_for_function, get_pool_mode_for_function): New
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
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.
16011 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
16018 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
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.
16028 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
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.
16037 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
16047 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
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.
16057 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
16059 * rtl.h (RTL_CHECKC2): Fix typo in last change.
16061 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
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.
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.
16078 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16080 * Makefile.in (tlink.o): Don't depend on toplev.h.
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.
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.
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.
16119 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
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.
16125 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
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.
16132 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
16134 * tlink.c (scan_linker_output): Skip the initial underscore in
16135 a mangled name if appropriate.
16137 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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):
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.
16158 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
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.
16164 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
16166 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
16168 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16170 * stmt.c (expand_asm_operands): Fix index into inout_mode when
16173 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
16175 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
16176 * tm.texi (MD_ASM_CLOBBERS): Document it.
16178 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
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.
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.
16192 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
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.
16198 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
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.
16207 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
16209 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
16212 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
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.
16220 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
16222 * fold-const.c (fold_range_test): Do not try to fold the range
16223 test if the rhs or lhs has side effects.
16225 * combine.c (simplify_rtx): Recognize another case of a synthesized
16228 * varasm.c (mark_constant_pool): When marking indirect references,
16229 only look at SYMBOL_REFs.
16231 * except.c (expand_fixup_region_end): Do not peek at
16232 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
16234 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
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.
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
16257 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
16259 * config/sparc/sparc.c: Delete sparc_align_loops,
16260 sparc_align_jumps, sparc_align_funcs and the corresponding string
16262 (sparc_override_options): Default align_functions on ultrasparc.
16263 Delete -malign-* handling.
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.
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.
16280 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
16282 Merge new ia32 backend from the branch!
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.
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.
16295 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
16297 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
16298 to step through CC modes.
16300 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
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.
16305 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16307 * reload1.c: Fix many indentation problems.
16308 * reload.c: Likewise.
16310 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
16312 * alias.c (non_local_reference_p): Constify fmt.
16314 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
16316 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
16318 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
16320 * cse.c (delete_trivially_dead_insns): Do not delete stores to
16321 the internal_arg_pointer.
16323 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
16325 Merge peephole2 from new_ia32_branch:
16326 * Makefile.in (STAGESTUFF): Add *.peephole2.
16327 (mostlyclean): Likewise.
16328 (recog.o): Depend on resource.h.
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.
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.
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.
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.
16368 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
16370 * i386.c (output_strlen_unroll): Don't write xops[7]
16371 label if it wasn't set.
16373 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
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.
16384 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
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
16393 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
16394 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
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):
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
16408 (fancy_abort): Fix comment.
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
16421 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
16423 (gen_mem_addressof): Make reg a MEM before initializing it.
16424 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
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
16439 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
16441 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
16443 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
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.
16449 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16451 * c-parse.in (language_string): Constify.
16453 * dwarf2out.c (language_string): Remove declaration.
16455 * dwarfout.c (language_string): Likewise.
16457 * toplev.c (language_string, init_parse, finish_parse): Likewise.
16459 * tree.h (language_string, init_parse, finish_parse): Declare.
16461 * i386/sun386.h (language_string): Remove declaration.
16463 * mips.h (language_string): Likewise.
16465 * nextstep.h (language_string): Likewise.
16467 * nextstep21.h (language_string): Likewise.
16469 * rs6000.c (language_string): Likewise.
16471 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16473 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
16474 (getpwd.o): Remove target.
16476 * getpwd.c: Delete file. Its in libiberty now.
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.
16484 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16486 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
16488 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
16490 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
16491 mark_set_resources.
16493 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
16495 * fixinc/Makefile.in (subdir): New.
16496 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
16499 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
16501 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
16502 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
16505 * invoke.texi: Fix typo.
16507 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
16508 changed. Handle autoincrement addressing modes.
16510 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
16511 just like we would the virtual incoming args register when
16514 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
16516 * rs6000.h (ASM_FILE_START): Specify complete filename, including
16517 path, in .file directive.
16519 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
16521 * gcc.texi (External Bugs): Remove obsolete note about Perl on
16524 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
16526 * stdbool.h: Make the typedef name _Bool, with bool a #defined
16529 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16531 * tree.c (tree_code_name): Constify a char*.
16533 * tree.h (tree_code_name, decl_printable_name): Likewise.
16535 * function.h (struct function): Likewise.
16537 * toplev.c (decl_name, decl_printable_name): Likewise.
16539 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
16541 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
16542 (init_objc): Remove function pointer cast.
16544 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
16546 * pa.md (interspace_jump): New pattern.
16547 (builtin_longjmp): New expander.
16549 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
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.
16555 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
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.
16564 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
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.
16570 (prescan_loop, strength_reduce): New argument loop_info. All callers
16572 (scan_loop): New variable loop_info, initialise to address of
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.
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.
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.
16592 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
16594 * fix-header.c (main): Do not pass a null pointer to strcmp.
16596 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
16598 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
16600 * configure: Rebuilt.
16602 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
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.
16609 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
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
16619 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
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.
16627 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
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
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.
16641 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
16643 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
16645 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
16648 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
16650 * config/openbsd.h: Define SET_ASM_OP.
16651 * tm.texi: cross-reference SET_ASM_OP in the index.
16653 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
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
16662 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
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.
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
16675 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
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.
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.
16685 * md.texi: Kill ref to EXTRA_CC_NAMES.
16686 * tm.texi: Document new way to define EXTRA_CC_MODES.
16688 * genrecog.c: Do not look up the name of a define_split.
16689 (Unrelated bugfix.)
16691 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
16693 * config/v850/v850.md: Fix typo introduced by previous delta.
16695 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16697 * gcc.c (fatal): Make definition static to match prototype.
16699 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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.
16704 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
16706 * configure.in: Don't use shell ! to negate exit codes
16707 * configure: Regenerate
16709 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
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.
16714 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
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.
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.
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
16733 * c-typeck.c (c_expand_start_case): Return immediately if exp
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
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
16744 * i386.md: In the 6 insns which call output_fix_trunc,
16745 earlyclobber operands[0].
16747 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
16749 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
16750 creating new registers.
16752 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
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 *".
16761 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
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.
16766 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
16768 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
16769 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
16771 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
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.
16778 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
16780 * tree.c (lang_unsave_expr_now) : Correct return type.
16781 * tree.h (lang_unsave_expr_now) : Same.
16783 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
16785 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
16786 instead of duplicating code.
16788 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16790 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
16792 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
16794 * tree.h: fancy_abort always takes three args.
16795 * resource.c: Move include of system.h before toplev.h.
16797 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
16799 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
16802 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
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.
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
16832 (trim_filename, fancy_abort): Delete.
16834 * builtins.c (expand_builtin_args_info): Report ICE with abort.
16835 * except.c (start_catch_handler): Report ICE with error/abort
16837 * final.c (output_operand_lossage): Likewise.
16838 * flow.c (verify_flow_info): Likewise.
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.
16846 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
16848 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
16851 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
16853 * m88k.h (VERSION_INFO2): Kill.
16854 (VERSION_STRING): 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.
16865 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
16867 * cpplib.c (detect_if_not_defined): New function.
16868 (do_if): Use it to detect potential once-only headers.
16870 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
16872 * c-common.c (combine_strings): Always set TREE_CONSTANT.
16874 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
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.
16883 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
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.
16888 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
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.
16910 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
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
16932 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
16933 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
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.
16939 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
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.
16945 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16947 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
16948 Remove unused prototype for `init_lengths'.
16950 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16952 * calls.c (emit_call_1): Mark parameter `stack_size' with
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
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
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.
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'.
16974 * final.c (init_final): Constify parameter `filename'.
16975 (final_start_function): Mark parameter `optimize' with
16977 (profile_function): Likewise for parameters `first' and `optimize'.
16978 (output_source_line): Likewise for parameter `file'.
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.
16985 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
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'.
16993 * output.h (init_final): Constify parameter.
16995 * reload.c (decompose): Initialize variable `base'.
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
17003 (reload_combine): Initialize variable `set'.
17005 * unroll.c (unroll_loop): Likewise for variable `local_label'.
17006 (copy_loop_body): Cast a value to `size_t' when comparing against
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
17014 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17016 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
17019 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
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.
17028 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
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.
17033 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
17035 * tm.texi: GNU CC -> GCC conversion.
17036 (CC1_SPEC): Indicate it is used for all language front ends.
17038 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
17040 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
17041 NOTE_INSN_EH_REGION_END correctly.
17043 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
17044 Jeff Law <law@cygnus.com>
17046 * loop.c (strength_reduce): Automatically unroll loops if the
17047 unrolled loop size is smaller than the rolled loop size.
17049 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
17050 and delete comment that code should be rewritten.
17052 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
17054 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
17057 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
17059 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
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.
17068 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
17070 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
17071 and ASM_CLOSE_PAREN are empty strings.
17073 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
17074 Geoffrey Keating <geoffk@cygnus.com>
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.
17092 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
17094 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
17095 B into a register before emit_conditional_move.
17097 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
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)).
17103 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
17104 Richard Henderson <rth@cygnus.com>
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.
17129 * rtl.h (replace_insns): Declare.
17131 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
17133 * expr.c (expand_expr): Cope with COND_EXPRs with one
17134 non-returning branch.
17136 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
17138 * expr.c (store_expr): Always pass down the target, even when not
17141 1999-08-24 Nick Clifton <nickc@cygnus.com>
17143 * configure.in: Define target_cpu_default for v850 targets.
17144 * configure: Regenerate
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.
17150 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
17153 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17155 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
17156 (main): Add prototypes.
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.
17165 * genemit.c (gen_split): Emit prototypes along with function
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
17173 * genrecog.c (make_insn_sequence): Constify a char*. Add
17174 prototypes for get_split_*().
17175 (write_subroutine): Emit prototypes along with function
17178 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
17183 (cprop_insn): Don't verify the return value of find_avail_set with
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.
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.
17206 * rtl.h (rtx_equal_function_value_matters): Declare.
17207 * toplev.c (rtx_equal_function_value_matters): Don't declare.
17209 * function.c: Likewise.
17210 * emit-rtl.c: Likewise.
17212 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
17214 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
17217 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17219 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
17222 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
17224 * cpp.texi: Add a node documenting macro varargs (copied
17227 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
17229 * cppspec.c: Put a null pointer at the end of the new argv.
17231 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
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.
17238 * Makefile.in: Corresponding changes.
17240 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
17251 (cmptf): Now conditional on TARGET_HARD_QUAD.
17253 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
17255 * resource.c (mark_target_live_regs): Use
17256 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
17258 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17260 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
17262 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
17264 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
17266 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17268 * rtl.h (rtx_format): Constify a char*.
17270 * rtl.c (rtx_format): Likewise.
17271 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
17272 (init_rtl): Use accessor macro, not `rtx_format'.
17274 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
17277 * caller-save.c (mark_referenced_regs): Likewise.
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.
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.
17287 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
17290 * final.c (leaf_renumber_regs_insn): Likewise.
17292 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
17293 dump_edge_info, count_reg_references): Likewise.
17295 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
17296 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
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.
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.
17308 * genconfig.c (walk_insn_part): Likewise.
17310 * genemit.c (max_operand_1, gen_exp): Likewise.
17312 * genextract.c (walk_rtx): Likewise.
17314 * genflags.c (num_operands): Likewise.
17316 * genoutput.c (scan_operands): Likewise.
17318 * genpeep.c (match_rtx): Likewise.
17320 * genrecog.c (add_to_sequence): Likewise.
17322 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
17325 * integrate.c (save_constants, copy_for_inline,
17326 copy_rtx_and_substitute, subst_constants, restore_constants):
17329 * jump.c (mark_jump_label, invert_exp, redirect_exp,
17330 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
17332 * local-alloc.c (contains_replace_regs, memref_referenced_p):
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):
17341 * print-rtl.c (reg_names, print_rtx): Likewise.
17343 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
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.
17349 * regclass.c (fix_register, record_address_regs,
17350 reg_scan_mark_refs): Likewise.
17352 * regmove.c (stable_but_for_p): Likewise.
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):
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.
17366 * resource.c (mark_referenced_resources, mark_set_resources):
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.
17376 * sched.c (sched_analyze_2, attach_deaths): Likewise.
17378 * stupid.c (stupid_mark_refs): Likewise.
17380 * unroll.c (remap_split_bivs): Likewise.
17382 * varasm.c (mark_constants): Likewise.
17384 * a29k/a29k.c (uses_local_reg_p): Likewise.
17386 * alpha/alpha.c (summarize_insn): Likewise.
17388 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
17389 eliminate_lr2ip): Likewise.
17391 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
17393 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
17394 reg_mentioned_in_mem): Likewise.
17396 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
17397 symbolic_reference_mentioned_p): Likewise.
17399 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
17401 * sh/sh.c (regs_used, mark_use): Likewise.
17403 * vax/vax.c (vax_rtx_cost): Likewise.
17405 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17407 * machmode.h (mode_name): Constify a char*.
17409 * rtl.c (mode_name): Likewise.
17411 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
17413 * optabs.c (init_libfuncs): Constify a char*.
17415 * print-tree.c (mode_name): Remove redundant declaration.
17416 (print_node): Use accessor macro, not `mode_name'.
17418 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
17420 (new_spill_reg): Constify a char*.
17422 * tree.c (mode_name): Remove redundant declaration.
17424 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17426 * rtl.c (rtx_name): Constify a char*.
17428 * rtl.h (rtx_name, fix_sched_param): Likewise.
17430 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
17431 (mypr): Use accessor macro, not `rtx_name'.
17433 * genemit.c (print_code): Constify a char*.
17435 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
17437 * genpeep.c (print_code): Constify a char*.
17439 * genrecog.c (print_code): Likewise.
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.
17446 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
17447 print_block_visualization): Constify a char*.
17449 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
17451 * c-common.c (c_get_alias_set): Update comment.
17453 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
17455 * linux.h (LIB_SPEC): Added.
17457 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17459 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
17461 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
17463 * tree.c (expr_check): Fix typo in last change.
17465 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
17467 * rtl.def (NOTE): Change format to "iuu0n".
17468 (ADDR_DIFF_VEC): Change format to "eEee0".
17469 (ADDRESSOF): Change format to "eit".
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.
17487 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
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.
17496 * function.c (gen_mem_addressof): Don't use
17497 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
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
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):
17518 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
17519 they evaluate their arguments exactly once, irrespective of
17520 the compiler in use.
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.
17528 * gencheck.c: Do not define any *_CHECK1 macros.
17530 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
17531 Mark Mitchell <mark@codesourcery.com>
17533 * c-common.c (c_get_alias_set): Fix support for poitners and
17536 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
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.
17543 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
17545 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
17546 unrecognisable switches.
17548 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17550 * loop.c (recombine_givs): Set ix field after sorting.
17551 (recombine_givs): Remove bogus index / giv lockstep looping.
17553 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17555 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
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
17563 (do_jump_for_compare): Delete.
17564 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
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
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
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.
17599 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17601 * Makefile.in (insn-recog.o): Update dependencies.
17602 * genrecog.c (main): Make generated file include "function.h".
17604 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
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.
17620 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
17622 * haifa-sched.c (insn_unit): Fix typo on out of range test.
17623 * sched.c (insn_unit): Likewise.
17625 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
17627 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
17629 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17631 * flow.c (create_edge_list): Use xmalloc, not malloc.
17633 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
17635 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
17636 C-style comments. Do not lose the character before double slash.
17638 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17640 * basic-block.h (struct edge_list): Stucture to maintain a vector
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.
17652 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
17654 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
17657 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
17659 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
17661 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
17663 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
17665 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
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.
17671 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
17673 * explow.c (hard_function_value): Use VOIDmode instead of
17675 * stmt.c (expand_return): Likewise.
17676 * stor-layout.c (get_best_mode): Likewise.
17678 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
17679 emit call instead of emit_insn call.
17681 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
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.
17692 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
17694 * cpplib.c (read_line_number): New fn, split out of...
17697 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
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.
17703 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
17705 * toplev.c (flag_new_exceptions): On by default.
17707 1999-08-13 Michael Meissner <meissner@cygnus.com>
17709 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
17711 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
17713 * dwarfout.c (fundamental_type_code): Return FT_boolean for
17714 INTEGER_TYPE with precision==1, it's __java_boolean.
17716 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17718 * global.c (prune_preferences): Move some invariants out of the
17721 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
17723 * configure.in (alpha*-dec-osf*): Add osf5.
17725 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
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):
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
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.
17748 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
17750 * rtl.texi: Fix typo.
17752 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
17754 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
17756 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
17758 * extend.texi (C++ Signatures): Remove node.
17759 * invoke.texi: Remove discussion of -fhandle-signatures,
17760 signature, sigof, __signature__, and __sigof__.
17762 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
17764 * Makefile.in (JAVAGC): Removed.
17766 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
17768 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
17770 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
17772 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
17774 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
17776 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
17777 a register that is already known to be a pointer.
17779 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
17781 * fixinc/inclhack.tpl: Only install assert.h conditionally.
17782 * fixinc/inclhack.sh: Regenerated.
17783 * fixinc/fixincl.sh: Regenerated.
17785 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
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.
17791 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
17793 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
17794 note if it is non-NULL.
17796 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
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
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
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.
17831 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
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.
17837 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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):
17848 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
17849 dwarf2out_start_source_file, dwarf2out_line): Likewise.
17851 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17853 * output.h (assemble_name): Constify a char*.
17855 * varasm.c (UNIQUE_SECTION, assemble_start_function,
17856 assemble_variable, assemble_name): Likewise.
17858 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
17860 * arm/pe.c (arm_pe_unique_section): Likewise.
17862 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
17864 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
17866 * i386/interix.c (i386_pe_unique_section): Likewise.
17868 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
17870 * i386/winnt.c (i386_pe_unique_section): Likewise.
17872 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
17874 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
17876 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
17878 * pa/pa.c (output_call): Likewise.
17880 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
17882 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
17884 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
17887 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
17890 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
17892 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
17893 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
17895 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
17897 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17899 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
17901 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17903 * tree.h (lang_identify): Constify a char*.
17904 (print_error_function): Add extern prototype. Constify a char*.
17906 * c-lang.c (lang_identify): Constify a char*.
17908 * objc/objc-act.c (lang_identify): Constify a char*.
17910 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17912 * genpeep.c (main): Make generated file include "function.h".
17913 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
17915 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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.
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
17969 * config/i370/i370.h (current_function_outgoing_args_size): Delete
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
17985 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
17987 * config/mips/mips.h (current_function_calls_alloca): Delete
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
17998 * config/pyr/pyr.h (current_function_pretend_args_size,
17999 current_function_args_size, current_function_calls_alloca): Delete
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
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
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
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.
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
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.
18056 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
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
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
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):
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
18111 (put_reg_into_stack): Likewise.
18112 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
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
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
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
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
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
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.
18203 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
18205 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
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.
18210 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
18212 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
18213 for 64bit PA targets.
18215 * pa.h (SELECT_SECTION): Define.
18216 * som.h (SELECT_SECTION): Delete.
18218 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18220 * alias.c (init_alias_analysis): Wrap call to
18221 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
18223 1999-08-07 Bruce Korb <autogen@linuxbox.com>
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
18230 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
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.
18237 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
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.
18244 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
18246 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
18247 to invert loops. Simplify block scanning.
18249 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18251 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
18252 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
18254 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
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
18263 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
18265 * fixinc/server.c (server_setup): Do not prefix function used as
18266 parameter with `&'.
18268 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
18270 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
18271 Remove fp reg alternatives.
18273 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
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.
18283 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18285 * reg-stack.c (change_stack) Fixed problem with negative array index.
18287 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
18289 * extend.texi, install.texi: Fix spelling mistakes.
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.
18304 * gcc.texi: Document recommend means to provide software floating
18305 point libraries in libgcc.a
18307 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
18309 * c-lex.c (yylex): We can have a number with no digits.
18311 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
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
18322 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
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
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.
18338 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
18340 * expr.c (emit_group_load): Allow src to be a CONCAT.
18342 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18344 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
18345 (___mulsi3): Use '!' comment character.
18347 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18349 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
18351 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
18353 * gcc.c: Update URLs and mail addresses.
18354 * gcc.texi: Likewise.
18356 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
18358 * rs6000.c (current_file_function_operand): Return zero for
18360 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
18362 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
18365 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
18367 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
18368 allocate space in the stack frame for the PIC register.
18370 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
18372 * m68k.md (xordi3, anddi3): These patterns are not available on
18375 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
18377 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
18378 (PUT_REAL): Likewise.
18380 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18382 * final.c (shorten_branches): Don't add an alignment for loops
18383 that have no label inside.
18385 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18387 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
18388 prototypes in macro HAVE_cmpstrsi.
18390 * cpplib.c (cpp_get_token): Remove unused label `op3'.
18392 * emit-rtl.c (operand_subword): Remove unused variable
18395 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
18397 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
18399 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
18401 * cpphash.c (macroexpand): Delete leading whitespace when arg
18402 is concatenated before.
18403 (unsafe_chars): Correct test for whether + and - can extend a
18406 * cppinit.c (cpp_start_read): Do dependencies for
18407 -include/-imacros files also.
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
18415 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
18417 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
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.
18424 (handle_generic_pragma): Just deal with tokens.
18425 (readescape): Use ISXDIGIT and ISGRAPH.
18426 * c-parse.in: Add END_OF_LINE token.
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.
18438 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
18439 Jason Merrill <jason@yorick.cygnus.com>
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.
18449 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
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.
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.
18493 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
18495 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
18497 * configure: Rebuilt.
18498 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
18500 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
18502 * recog.c (preproces_constraints): Zero recog_op_alt before
18503 processing the constraints.
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.
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.
18536 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
18538 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
18540 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
18542 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
18544 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
18546 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
18548 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
18550 * global.c: Fix comment.
18552 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
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.
18559 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
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.
18565 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
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.
18571 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18573 * Makefile.in (c-decl.o): Depends on defaults.h.
18575 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
18577 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
18579 (CLASS_MAX_NREGS): Likewise.
18581 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
18583 * cse.c (cse_insn): Fix dumb thinko in last change.
18585 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18587 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
18590 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
18592 * dwarf2out.c (add_location_or_const_value_attribute): Correct
18593 test for sizes of passed and declared parameter types.
18595 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18597 * fixincludes: Fix the return type of bsearch, char* -> void*.
18599 * fixinc/inclhack.def: Likewise.
18601 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
18603 * invoke.texi (-fdump-translation-unit): New option.
18605 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
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.
18612 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
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.
18620 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
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.
18626 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
18628 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
18629 (force_to_mode, case ASHIFTRT): Add shiftrt label.
18631 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18633 * loop.c (strength_reduce): When doing biv->giv conversion, update
18634 reg note of NEXT->insn.
18636 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
18638 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
18640 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
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.
18647 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
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.
18665 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
18666 based on arch size.
18668 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
18670 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
18673 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
18675 1999-08-02 Richard Henderson <rth@cygnus.com>
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.
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.
18687 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
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.
18695 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
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
18708 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
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.
18716 1999-08-02 Richard Henderson <rth@cygnus.com>
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.
18722 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18724 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
18727 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
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*.
18733 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
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.
18739 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
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
18749 * rs6000/t-aix43 (MULTILIB): Change to -m64.
18751 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
18753 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
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;
18769 (andsi3_internal2): Likewise.
18770 (andsi3_internal3): Likewise.
18771 (iorsi3_internal1): Likewise.
18772 (xorsi3_internal1): 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.
18782 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
18785 1999-08-02 Richard Henderson <rth@cygnus.com>
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.
18792 1999-08-02 Nick Clifton <nickc@cygnus.com>
18794 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
18797 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
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.
18804 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
18806 * explow.c (force_reg): Call force_operand if X does not
18807 satisfy general_operand.
18809 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
18811 * fix-header.c (main): When testing for CONTINUED, use string
18812 equality, not pointer equality.
18814 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
18816 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
18818 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
18820 * cse.c (cse_insn): Fix loop which deletes insns after a jump
18821 that has become an unconditional jump.
18823 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
18824 (output_function_epilogue): Similarly.
18826 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18828 * tree.h (init_dummy_function_start): Declare.
18830 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
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
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.
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.
18872 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
18873 call set_file_and_line_for_stmt.
18875 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
18877 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
18878 Also update copyright.
18880 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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.
18888 * flow.c: Include "function.h".
18889 * tree.h (init_dummy_function_start): Declare new function.
18891 * except.h (struct eh_status): New structure.
18892 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
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.
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
18919 * stmt.c (save_stmt_status): Don't call save_eh_status.
18920 (restore_stmt_status): Don't call restore_eh_status.
18922 * Makefile.in: Update dependencies.
18924 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
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.
18930 * pa.md (reload_indi, reload_outdi): Allow any register for the
18931 original reload register.
18933 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
18935 * cccp.c (print_help): Change marcos to macros.
18937 1999-07-30 Richard Henderson <rth@cygnus.com>
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.
18946 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
18948 * config/i386/sol2-c1.asm: Align the stack.
18949 * config/i386/sol2-gc1.asm: Likewise.
18951 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
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
18957 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
18959 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
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.
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
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.
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.
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.
18994 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
18996 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
18997 (ashlsi3): Corresponding changes.
18999 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
19001 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
19003 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
19005 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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.
19011 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
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.
19017 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
19019 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
19022 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
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.
19028 * pa.c (emit_move_sequence): Always convert scratch_reg to the
19029 proper mode before using it.
19031 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
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.
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.
19043 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
19048 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19050 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
19052 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
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.
19061 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
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.
19070 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
19072 * mn10200.c (mn10200_va_arg): New.
19073 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
19075 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
19077 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
19078 rather than play with TREE_INT_CST_LOW.
19080 1999-07-27 Philip Blundell <pb@nexus.co.uk>
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
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.
19099 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
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
19108 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
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.
19127 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
19129 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
19130 instead of V8 for sparclite86x in cpu_table.
19132 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19134 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
19135 output_file_directive.
19137 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
19139 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
19140 tree for op1, not the rtl.
19142 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
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.
19153 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
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.
19159 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
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.
19171 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
19173 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
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.
19180 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
19182 * except.c (st_dynamic_cleanup): Use force_operand on the
19185 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
19187 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
19188 * c4x.c (c4x_va_arg): New.
19190 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
19192 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
19193 has manual_pop set.
19195 1999-07-26 Nathan Sidwell <nathan@acm.org>
19197 * eh-common.h (__eh_matcher): Prototype correctly.
19199 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
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
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
19216 (thumb_pic_register, thumb_pic_register_string): Declare.
19218 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
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.
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.
19244 * invoke.texi (Thumb Options): Fix spelling. Document new
19245 options -msingle-pic-base and -mpic-register=.
19247 1999-07-26 Andrew Haley <aph@cygnus.com>
19249 * config/m32r/initfini.c (__init): Use a full word immediate for
19250 __fini: this allows it to be placed in any memory region.
19252 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
19253 -mmodel=medium. This is OK for all memory models.
19255 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
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.
19260 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
19262 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
19265 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
19267 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
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.
19282 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
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.
19294 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
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
19300 (arc_va_start): New.
19303 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
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.
19314 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
19316 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
19318 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
19319 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
19321 * gcc.texi: More changes related to list conversion.
19322 * invoke.texi: Likewise.
19324 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
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.
19365 * emit-rtl.c (operand_subword): Copy alias set.
19366 (change_address): Likewise.
19368 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
19370 * pa.c (compute_frame_size): Scan all the used callee saved registers,
19371 not just the first one.
19373 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
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
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.
19395 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
19396 mention of -msched-prolog. Document new options -msingle-pic-base
19397 and -mpic-register=.
19399 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
19401 * haifa-sched.c (reemit_notes): Tidy.
19402 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
19405 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
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.
19417 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19419 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
19420 (use NUM_REGS instead of NUM_INTS).
19422 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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.
19437 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
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
19444 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
19447 1999-07-21 Michael Meissner <meissner@cygnus.com>
19449 * print-rtl.c (print_rtx): Print the names of the virtual
19452 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
19454 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
19455 introduced in previous delta.
19457 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19459 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
19460 to avoid name clash.
19462 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
19464 * c-lex.c (yylex) : Correct the test for overflow when lexing
19467 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
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
19475 * tm.texi (MD_SCHED_REORDER): Update docs.
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.
19482 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
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.
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.
19505 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
19506 in the HOST_BITS_PER_WIDE_INT > 32 case.
19508 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
19510 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
19512 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
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.
19521 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
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.
19529 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
19541 (init_decl_processing): Build void_list_node.
19542 Call c_common_nodes_and_builtins; delete code to generate the common
19544 * objc/objc-act.c (build_module_descriptor): Rename variable
19545 void_list_node to avoid clash with c-common.h.
19547 * Makefile.in: Update dependencies.
19548 * objc/Make-lang.in: Likewise.
19550 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
19552 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
19553 (UNIQUE_SECTION_P): Likewise.
19554 (UNIQUE_SECTION): Likewise.
19556 1999-07-19 Linas Vepstas <linas@linas.org>
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.
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.
19625 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
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.
19636 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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
19643 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
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.
19652 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19654 * Makefile.in (stmp-multilib-sub): Make the files extracted
19655 from $(LIBGCC1) writable.
19657 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
19659 * config/arm/aout.h: Reformat for improved readability.
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
19670 (NUM_ARG_REGS): New macro: The number of argument registers
19672 (ARG_REGISTER): New macro: Compute the register number of the Nth
19674 (LAST_ARG_REGNUM): New macro: The number of the last argument
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.
19682 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
19684 Replace uses of fprintf with asm_fprintf where appropriate.
19685 (output_ascii_pseudo_op): Replace with version from thumb.c
19687 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
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.
19694 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
19696 * pa.c (compute_frame_size): Round frame according to
19697 STACK_BOUNDARY rather than a hardwired value.
19699 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
19701 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
19703 * configure: Rebuilt.
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.
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.
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
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.
19731 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
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.
19744 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
19746 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
19747 directive in column zero.
19749 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
19751 * m68k.c (output_function_prologue): Fix computation of save mask
19752 when generating PIC code.
19754 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
19756 * tree.c (build_type_attribute_variant): Move current_obstack restore
19757 after build_qualified_type call.
19759 1999-07-15 Mark Mitchell <mark@codesourcery.com>
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.
19765 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
19767 * rs6000.md (insv, extzv): Remove SImode dependence in named
19768 patterns. Explicitly generate DImode RTL if PowerPC64 and
19770 (insvdi): Reverse start and size in instruction template.
19772 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
19774 * invoke.texi: Typo fixes.
19776 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
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.
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
19786 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
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.
19792 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
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.
19798 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
19800 * configure.in (alpha*-*-*): Include alpha/t-ieee.
19801 * configure: Rebuilt.
19802 * alpha/t-ieee: New file.
19804 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
19806 * rs6000.c (find_addr_reg): Do not select r0 as an address
19809 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
19811 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
19813 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
19815 * rs6000.md (movsf): Do not force easy FP constants into memory.
19817 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
19818 immed_double_const to ensure they are properly truncated then
19821 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
19823 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
19824 always unless NO_DEBUG is used. Compile this code
19826 (replace_symbols_in_block): Compile it unconditionally.
19828 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
19830 * configure.in (i?86-*-elf*): New target.
19831 * configure: Rebuilt.
19832 * i386/i386elf.h, i386/t-i386elf: New files.
19834 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
19836 * toplev.c (main): Don't complain about saying -gdwarf.
19837 (rest_of_compilation): Remove redundant code.
19839 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
19841 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
19843 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
19845 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
19846 "Li960R:", to avoid name clash.
19848 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
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.
19854 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
19856 * version.c: Drop "gcc-" prefix from version #.
19858 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
19860 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
19861 the label if we're being verbose.
19863 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
19865 * m68k.c (output_function_prologue): Add pic register to mask
19866 if live and flag_pic.
19867 (output_function_epilogue): Likewise.
19869 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
19871 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
19872 directives in column zero.
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.
19879 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
19881 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19883 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
19884 when reload_out equals reload_in.
19886 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
19888 * invoke.texi (Spec Files): New node: Describe the contents of
19891 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
19893 * invoke.texi (DEC Alpha Options): Put @end table at
19894 beginning of line, to avoid confusing texi2html.
19896 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
19898 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
19899 introduced in previous delta.
19901 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
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.
19907 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
19909 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
19911 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
19913 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
19916 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
19918 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
19919 (va_dcl): Use __builtin_va_alist_t.
19921 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
19923 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
19924 on the permanent_obstack.
19925 * dwarfout.c (output_type): Likewise.
19927 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
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.
19934 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
19936 * c-lex.c (errorcount): Declare it.
19937 (finish_parse): Update errorcount when using CPPLIB.
19939 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
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
19946 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
19948 Add framework to support armv5 architecture when it becomes
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
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.
19965 * config/arm/elf.h: Tidy up.
19966 * config/arm/coff.h: Tidy up.
19968 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
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.
19974 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
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) :
19983 * c-tree.h (widest_integer_literal_type_node,
19984 widest_unsigned_literal_type) : New.
19986 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
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.
19992 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
19994 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
19997 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
19998 Jeff Law <law@cygnus.com>
20000 * ginclude/varargs.h (va_dcl): Use word_mode for type of
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.
20010 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
20012 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
20013 same as offsettable in cases 1 and 2.
20015 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
20017 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
20018 (extlh, extwh): Likewise.
20020 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
20022 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
20024 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
20026 * configure.in: Add arm-pe and thumb-pe targets.
20027 * configure: Regenerate.
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
20036 (thumb_expand_prologue): Do not generate a prologue for naked
20038 (thumb_expand_epilogue): Do not generate an epilogue for naked
20040 (arm_valid_machine_decl_attribute): New function, copied from
20041 arm.c: Permit naked and interfacearm attributes.
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
20049 1999-07-01 Mark Kettenis <kettenis@gnu.org>
20051 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
20052 -fPIC or -fpic is specified.
20054 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
20056 * expr.c (emit_block_move): Use copy_to_mode_reg for
20057 !TARGET_MEM_FUNCTIONS case too.
20059 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
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
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.
20074 * elfos.h (const_section): Output a tab before assembler directives.
20075 (ctors_section, dtors_section): Likewise.
20076 (ASM_OUTPUT_SECTION_NAME): Likewise.
20078 * pa/pa1.h: Delete unused file.
20080 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
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
20088 * mips.md (leasi, leadi): New patterns.
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.
20094 1999-06-28 "David O'Brien" <obrien@NUXI.com>
20096 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
20097 semicolon from the BSD VA_LIST replacement expression.
20099 * fixinc/inclhack.sh: regen
20100 * fixinc/fixincl.x: regen
20102 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
20103 now use the fixincl program.
20105 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
20107 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
20108 case. Also make the PIC register call_used.
20110 * m68k.h (FINALIZE_PIC): Delete.
20111 * m68k.c (finalize_pic): Delete.
20113 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
20115 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
20118 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
20120 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
20122 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
20124 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
20126 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
20128 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
20130 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
20132 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
20134 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
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.
20144 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
20146 * expr.c (expand_expr): Allow RTL_EXPR's through the
20147 MAX_INTEGER_COMPUTATION_MODE checks.
20149 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
20151 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
20152 such that MASK_SUPPORT_ARCH is not negative.
20154 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
20156 * loop.c (verify_dominator): Properly handle ADDR_VEC and
20157 ADDR_DIFF_VEC insns that appear inside loops.
20159 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
20160 Jeff Law <law@cygnus.com>
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.
20166 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
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.
20173 1999-06-24 Tom Tromey <tromey@cygnus.com>
20175 * gcc.c (main): Read user-specified specs files after computing
20176 additional startfile_prefixes.
20178 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
20180 Revert these two patches:
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.
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
20189 (recombine_givs): Set ix field after sorting.
20191 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20193 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
20194 for the parts of an UNSPEC / UNSPEC_VOLATILE.
20196 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
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
20203 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
20205 * expr.c (expand_expr): STRIP_NOPS before checking against
20206 MAX_INTEGER_COMPUTATION_MODE
20207 (check_max_integer_computation_mode): Likewise.
20209 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
20211 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
20213 1999-06-22 Jim Wilson <wilson@cygnus.com>
20215 * expr.c (store_expr): When target is a promoted subreg, return a
20216 promoted subreg as a result.
20218 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
20220 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
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.
20227 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
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
20233 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
20235 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
20236 'x' when handling non-offsettable addresses
20238 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
20240 * final.c (shorten_branches): Don't try to split an insn that has
20243 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
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.
20249 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
20251 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
20253 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
20255 * collect2.c (main): Log frame table count.
20256 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
20257 (scan_prog_file) [COFF]: Handle frame tables.
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.
20264 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20266 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
20267 remove the clobber of r0 and change the REG_UNUSED note to
20270 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
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
20277 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
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.
20299 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
20301 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
20303 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
20305 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20308 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20311 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20314 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20317 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
20319 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
20322 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
20324 * i386/djgpp.h (LIB_SPEC): New.
20325 (STARTFILE_SPEC): New.
20327 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
20329 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
20331 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
20334 * system.h (WSTOPSIG): New macro.
20336 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
20338 * c-pragma.c (push_alignment): Don't ignore alignments greater than
20340 (insert_pack_attributes): Take into account member natural
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.
20351 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
20354 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
20356 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
20359 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
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.
20366 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
20368 * rs6000.md (movdf_hardfloat32): Use worst case insn length
20369 attributes for cases 1 and 2.
20371 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
20373 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
20376 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
20378 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
20380 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
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.
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.
20396 * arm.c (arm_override_options): Remove warning about PIC code
20397 not being supported.
20399 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
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.
20407 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
20409 * alpha.c (alpha_expand_block_move): Use get_insns rather than
20410 gen_sequence as argument to emit_no_conflict_block.
20412 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
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
20419 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
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
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.
20462 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
20464 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
20465 .thumb_set pseudo op to mark aliases of thumb functions.
20467 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
20469 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
20470 preference to ASM_OUTPUT_DEF, if it is defined.
20472 * tm.texi: Document new, optional target macro
20473 ASM_OUTPUT_DEF_FROM_DECLS.
20475 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
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.
20482 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
20484 * invoke.texi (ia32 options): Fix typo.
20486 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20488 * loop.c (strength_reduce): When doing biv->giv conversion, update
20489 reg note of NEXT->insn.
20491 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
20493 * loop.c (move_movables): Note issues with replacing REGs with
20495 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
20497 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
20499 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
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.
20504 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20506 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
20509 (recombine_givs): Set ix field after sorting.
20511 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
20513 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
20514 to safe to extract a subword out of a REG.
20516 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20518 * sh.md (mulsi3): Don't add a no-op move at the end.
20520 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20522 * cse.c (cse_insn): Don't put hard register source into tables for
20523 the last insn of a libcall.
20525 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20527 * loop.c (strength_reduce): Insert sets of derived givs at every
20528 biv increment, even if it's the only one.
20530 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
20532 * dwarfout.c (add_incomplete_type): New fn.
20533 (output_type): Call it.
20534 (retry_incomplete_types): New fn.
20535 (dwarfout_finish): Call it.
20537 From Eric Raskin <ehr@listworks.com>:
20538 (output_type): Output types for bases.
20540 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
20542 * mips.c (mips_output_conditional_branch): Add `break'
20543 between `default' label and `close braces'.
20545 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
20547 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
20548 specifications and make it realistic.
20549 (LIB_SPEC): Likewise.
20551 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
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.
20561 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
20563 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
20564 asm_fprintf format string by itself.
20565 (output_function_profiler): Likewise.
20567 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
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.
20573 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
20575 * configure.in: Fix typo in rs6000-ibm-aix4 case.
20576 * configure: Regenerate.
20578 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
20580 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
20581 require a sub-version #.
20582 * configure: Rebuilt.
20584 1999-06-14 Robert Lipe (robertlipe@usa.net)
20586 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
20588 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
20590 * c-typeck.c (process_init_element): Detect excess elements in
20591 char array initializer.
20593 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
20595 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
20597 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
20599 * invoke.texi (Option Summary): Add -fpermissive flag.
20601 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
20603 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
20604 that require PIC code sequences.
20606 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
20608 * configure.in: Add new target: thumb-elf.
20609 * configure: Regenerate.
20610 * config/arm/t-thumb-elf: New file: Makefile fragment for
20612 * config/arm/telf.h: New file: Header file for thumb-elf
20615 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
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.
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.
20625 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
20627 * i386/cygwin.h (SET_ASM_OP): Define.
20629 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
20631 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
20633 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20635 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
20638 * sh.md (ic_invalidate_line_i): Remove second alternative.
20640 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
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
20649 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
20651 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
20653 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
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.
20665 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
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
20671 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
20673 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
20674 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
20676 * varasm.c (remove_from_pending_weak_list): Verify t->name
20677 is non-NULL before passing it to strcmp.
20679 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
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
20687 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20689 * invoke.texi: Add C4x invocation docs.
20691 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20693 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
20695 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
20697 (c4x_legitimize_reload_address): New function.
20698 * config/c4x/c4x.md: Update docs.
20700 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
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.
20708 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20710 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
20712 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
20714 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
20716 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
20719 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
20721 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
20722 * configure: Regenerate.
20724 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
20726 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
20729 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
20731 * fixinc/inclhack.def (avoid_bool): Also catch
20732 "typedef [unsigned] int bool".
20733 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
20735 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
20736 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
20737 * configure: Rebuilt.
20739 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
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
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
20750 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
20756 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
20757 Jeffrey A Law (law@cygnus.com)
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.
20766 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
20768 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
20770 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
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.
20780 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
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
20786 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
20787 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
20789 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
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.
20799 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
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.
20804 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
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
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
20821 (dslot): Fix typo in comment.
20822 Reword conditional branch patterns to use
20823 mips_output_conditional_branch.
20825 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
20827 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
20828 (LIB_SPEC): Likewise.
20829 Link with -lprof1_r for -g/-pg.
20831 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
20833 * loop.c (check_dbra_loop): Fix change of Jan 19.
20835 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
20837 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
20838 (STARTFILE_SPEC): Define, override the svr4.h version.
20839 (ENDFILE_SPEC): Likewise.
20841 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
20843 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
20844 * fixinc/fixincl.x: Regenerated.
20845 * fixinc/inclhack.sh: Regenerated.
20847 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20849 * sh.c (barrier_align): Don't return early for normal branch/barrier
20850 when optimizing for SH2.
20852 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
20854 * i386/udk.h (LINK_SPEC): Correct linker search path for
20857 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
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.
20868 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20870 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
20871 *fixinc/fixincl.x: regenerate
20872 *fixinc/inclhack.sh: regenerate
20874 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
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.
20881 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
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.
20887 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
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.
20893 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20895 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
20897 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
20899 * alpha.c (override_options): Thinko in last patch.
20901 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
20902 (LIB_SPEC): Recognize -pthread.
20904 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
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.
20910 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
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
20920 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
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.
20926 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
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
20939 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
20941 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
20943 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
20945 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
20946 * configure: Rebuilt.
20948 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
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.
20958 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
20960 * alpha.md (reload_*_help): New patterns and splitters.
20961 (reload_*): Use them.
20962 (mov[qh]i): Likewise.
20964 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
20966 * cccp.c (handle_directive): Handle backslash-newlines in quoted
20969 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
20971 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
20973 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
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.
20982 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
20984 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
20985 calculate_can_reach_end returns nonzero.
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.
20992 * alias.c (find_base_term): Improve handling of addresses
20993 constructed from binary operations.
20995 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
20997 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
20999 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
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.
21008 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
21010 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
21012 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
21013 (MAX_OFILE_ALIGNMENT): Define.
21015 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
21017 * fixincl.c: Replace local include scheme with #includes of
21018 gansidecl.h and system.h.
21019 * procopen.c: Likewise.
21020 * server.c: Likewise.
21022 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
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
21028 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
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
21037 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
21039 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
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.
21046 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
21048 * fold-const.c (fold_truthop): Make the field reference unsigned
21049 when converting a single bit compare.
21051 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21053 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
21055 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
21057 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
21058 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
21061 * reload.c (push_reload): Do not call remove_address_replacements
21062 when presented with identical optional reloads.
21064 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
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.
21080 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
21082 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
21083 something is a candidate for optimize_bit_field_compare.
21085 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
21087 * gcc.texi (Passes): Document branch-shortening.
21088 * invoke.texi (Debugging Options): Document the fact that `-dp'
21089 outputs length information for instructions.
21091 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
21093 * flow.c: Revert previous delta.
21095 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
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.
21102 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
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
21110 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
21112 * output.h (STRIP_NAME_ENCODING): Provide default definition.
21113 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
21115 * flow.c (mark_set_1): Do not record BLKmode stores as dead
21116 store elimination candidates.
21118 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
21120 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
21123 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
21125 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
21126 Add use of x-aix41-gld.
21128 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
21130 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
21131 (ASM_OUTPUT_DESTRUCTOR): Define.
21133 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
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.
21139 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
21141 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
21142 applying Philip's patch.
21144 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
21146 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
21149 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
21151 * loop.c (strength_reduce): Grow reg_single_usage as needed.
21153 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
21155 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
21156 Also remove a useless comment.
21158 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
21160 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
21162 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
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.
21171 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
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
21178 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
21179 Keep track of when we are building the constant table.
21181 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
21183 * config/arm/arm.c (arm_override_options): Fix erroneous warning
21186 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
21188 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
21191 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
21193 * tm.texi (FUNCTION_ARG): Correct description of a stack element
21196 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
21198 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
21200 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
21202 * rs6000.c (output_mi_thunk): Enable full support again.
21204 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21206 * sh.h (BRANCH_COST): Define.
21208 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
21210 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
21212 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
21214 * function.c (assign_stack_local): Align stack slot propertly.
21215 (assign_outer_stack_local): Likewise.
21217 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
21219 * expr.h (lang_expand_constant): Declare.
21220 * toplev.c (lang_expand_constant): Define it.
21221 * varasm.c (output_constant): Use it.
21223 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21225 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
21226 Change function definitions to K&R style.
21228 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
21230 * fixinc/fixincl.c: We must not ignore SIGCLD now.
21232 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
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
21242 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
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.
21249 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
21251 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
21252 insn for a conditional jump can not be found.
21254 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
21256 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
21257 on variables in specific sections other than .sbss and .sdata.
21259 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
21261 * stmt.c (expand_return): Call start_cleanup_deferral and
21262 end_cleanup_deferral around conditional code.
21264 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
21266 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
21267 filename lists. Utilizes new "krstr" AutoGen function.
21268 * fixinc/fixincl.x: Rebuilt.
21270 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
21272 * i386.c (output_float_compare): Avoid GNU-C extensions.
21274 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
21276 * version.c: Bump to distinguish mainline tree from the
21279 See ChangeLog.1 for earlier changes.