]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
tm.texi (Driver): Fix typos and tweak entry for INCLUDE_DEFAULTS.
[gcc.git] / gcc / ChangeLog
1 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
2
3 * tm.texi (Driver): Fix typos and tweak entry for
4 INCLUDE_DEFAULTS.
5 Move misplaced STRUCT_FORCE_BLK entry ...
6 (Storage Layout): ... to here.
7 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
8
9 2000-03-19 Richard Henderson <rth@cygnus.com>
10
11 * flow.c (delete_block): Delete the addr_vec along with the block.
12 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
13 reference labels.
14
15 * fold-const.c (extract_muldiv): Apply type check for defined
16 overflow to multiply as well as divide.
17
18 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
19
20 2000-03-18 Mark Mitchell <mark@codesourcery.com>
21
22 * emit-rtl.c (remove_unncessary_notes): Check that all
23 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
24 associated NOTE_BLOCK.
25 * function.h (identify_blocks): Update comments.
26 (reorder_blocks): Declare.
27 * function.c (identify_blocks): Don't take paramters.
28 (reorder_blocks): Don't take parameters.
29 * loop.h (find_loop_tree_blocks): Remove.
30 (unroll_block_trees): Likewise.
31 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
32 reorder_blocks instead of unroll_block_trees.h
33 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
34 * stmt.c (find_loop_tree_blocks): Remove.
35 (unroll_block_trees): Likewise.
36 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
37 in whole-function mode.
38 * tree.h (reorder_blocks): Remove declaration.
39
40 * expr.c: Include intl.h.
41 * Makefile.in (expr.o): Depend on intl.h.
42
43 2000-03-18 Richard Henderson <rth@cygnus.com>
44
45 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
46
47 2000-03-18 Mark Mitchell <mark@codesourcery.com>
48
49 * tree.h (tree_index): Remove enumerals for integer types.
50 (integer_type_kind): New type.
51 (integer_types): New variable.
52 (char_type_node): Adjust.
53 (signed_char_type_node): Likewise.
54 (unsigned_char_type_node): Likewise.
55 (short_integer_type_node): Likewise.
56 (short_unsigned_type_node): Likewise.
57 (integer_type_node): Likewise.
58 (unsigned_type_node): Likewise.
59 (long_integer_type_node): Likewise.
60 (long_unsigned_type_node): Likewise.
61 (long_long_integer_type_node): Likewise.
62 (long_long_unsigned_type_node): Likewise.
63 * tree.c (integer_types): New variable.
64 (init_obstacks): Register it as a root.
65
66 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
67
68 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
69 NEXT_INSN. Update last insn in chain.
70
71 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
72
73 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
74 with TYPE_DECL_SUPPRESS_DEBUG set.
75
76 2000-03-18 Richard Henderson <rth@cygnus.com>
77
78 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
79
80 2000-03-18 Richard Henderson <rth@cygnus.com>
81
82 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
83 care for HALF_PIC_P.
84 (expander_call_insn_operand): Remove.
85 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
86 * i386.h (PREDICATE_CODES): Update.
87 * i386.md (all call expanders): Remove predicates, remove special
88 handling for half-pic.
89 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
90 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
91 (sibcall_epilogue): New.
92
93 2000-03-17 Richard Henderson <rth@cygnus.com>
94
95 * rtlanal.c (single_set): Reject if the parallel has anything
96 except SET or USE or CLOBBER.
97
98 2000-03-17 Jeff Law <law@cygnus.com>
99 Richard Henderson <rth@cygnus.com>
100
101 * Makefile.in (OBJS): Add sibcall.o.
102 (sibcall.o): New.
103 * sibcall.c: New file.
104 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
105 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
106 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
107 Emit sibcall patterns when requested. Update all callers.
108 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
109 elimination seems feasable.
110 * final.c (leaf_function_p): Sibling calls don't discount being
111 a leaf function.
112 * flow.c (HAVE_sibcall_epilogue): Provide default.
113 (find_basic_blocks_1): Sibling calls don't throw.
114 (make_edges): Make edge from sibling call to EXIT.
115 (propagate_block): Don't remove sibcall_epilogue insns.
116 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
117 (sibcall_epilogue): New.
118 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
119 (identify_blocks_1): Likewise. Break out from ...
120 (identify_blocks): ... here.
121 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
122 (reorder_blocks): ... here.
123 (init_function_for_compilation): Zap prologue/epilogue as varrays.
124 (record_insns): Extend a varray instead of mallocing new memory.
125 (contains): Read a varray not array of ints.
126 (sibcall_epilogue_contains): New.
127 (thread_prologue_and_epilogue_insns): Emit and record
128 sibcall_epilogue patterns.
129 (init_function_once): Allocate prologue/epilogue varrays.
130 * genflags.c (gen_insn): Treat sibcall patterns as calls.
131 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
132 Broken out from ...
133 (save_for_inline_nocopy): ... here.
134 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
135 Broken out from ...
136 (expand_inline_function): ... here.
137 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
138 (subst_constants): Handle 'n' formats.
139 * jump.c (jump_optimize_minimal): New.
140 (jump_optimize_1): New arg `minimal'; update callers. Elide most
141 optimizations if it's set.
142 * rtl.c (copy_rtx): Do copy jump & call for insns.
143 * rtl.h (struct rtx_def): Document use of jump and call for insns.
144 (SIBLING_CALL_P): New.
145 (sibcall_use_t): New.
146 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
147 Invoke optimize_sibling_and_tail_recursive_calls.
148 * tree.c (lang_safe_for_unsave): New.
149 (safe_for_unsave): New.
150 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
151
152 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
153 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
154 (*sibcall_osf_1, *sibcall_value_osf_1): New.
155
156 2000-03-17 Mark Mitchell <mark@codesourcery.com>
157
158 * objc/objc-act.c (encode_method_prototype): Pass types, not
159 PARM_DECLs, to int_size_in_bytes.
160
161 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
162
163 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
164
165 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
166 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
167
168 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
169
170 * Clean up usages of TREE_INT_CST_LOW.
171 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
172 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
173 Regenerated.
174 * c-tree.h (min_precision): Move declaration to here.
175 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
176 (build_unary_op, add_pending_init): Use bit_position.
177 (pending_init_member, process_init_element): Likewise.
178 (really_start_incremental_init, push_init_level, pop_init_level):
179 Don't make copies of nodes or modify them in place, use consistent
180 types when tracking positions, and use tree routines computations.
181 (set_init_index, output_init_element): Likewise.
182 (output_pending_init_elements, process_init_element): Likewise.
183 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
184 tree_low_cst and int_bit_position; also minor cleanup.
185 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
186 (print_cst_octal): Precision is unsigned.
187 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
188 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
189 (simple_type_align_in_bits): Result is unsigned int.
190 Use tree_int_low_cst and host_integerp.
191 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
192 (field_byte_offset): Result is HOST_WIDE_INT.
193 Change types of internal variables so alignments are unsigned int,
194 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
195 Use host_integerp, tree_low_cst, and int_bit_position.
196 (add_bit_offset_attribute): Likewise.
197 (add_data_member_location_attribute): Use tree_cst_low.
198 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
199 (add_bit_size_attribute): Use tree_low_cst.
200 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
201 * dwarfout.c: Similar changes to dwarf2out.c.
202 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
203 * genoutput.c (n_occurences): Return -1 for null string.
204 (strip_whitespace): Accept null string and make into function.
205 (scan_operands): Reflect above changes.
206 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
207 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
208 * ssa.c (rename_registers): Add missing cast of arg to bzero.
209 * tree.c (int_size_in_bytes): Check for too big to represent.
210 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
211 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
212 New declarations.
213 (min_precision): Delete from here.
214 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
215 and int_bit_position.
216 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
217 (encode_method_def): Likewise.
218 (build_ivar_list_initializer): Use int_bit_position.
219 (generate_shared_structures): Convert size.
220 (encode_type, encode_complete_bitfield): Use integer_zerop.
221 (encode_bitfield): Use tree_low_cst and int_bit_position.
222
223 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
224
225 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
226
227 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
228
229 * call.c (special_function_p): It is only malloc if it returns
230 Pmode.
231
232 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
233
234 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
235 (C33_FLAG, TARGET_C3X): Add macros.
236 (TARGET_SWITCHES): Add -m33 option.
237 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
238
239 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
240
241 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
242 (PARALLEL_PACK_FLAG): Delete.
243 (TARGET_SWITCHES): Update.
244 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
245
246 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
247
248 * fold-const.c (fold): Fix a few cases when the returned result
249 is not of the same type as the input.
250
251 2000-03-16 Nick Clifton <nickc@cygnus.com>
252
253 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
254 warning.
255
256 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
257
258 * libgcc2.h: Move prototypes above macros with the same name.
259 Wrap some function prototypes in the conditional which indicates
260 whether they are supported, i.e. "BITS_PER_UNIT == 8".
261
262 2000-03-16 Richard Henderson <rth@cygnus.com>
263
264 * calls.c: Revert last two changes.
265
266 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
267
268 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
269 has exponent 0 is a zero.
270
271 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
272 HASH may already be nonzero. Add code/mode into hash value
273 immediately after repeat label.
274 (cselib_lookup): Don't leave the hash table in an inconsistent
275 state before a hash lookup operation.
276
277 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
278
279 * i386.md (all HI and QI mode non-move patterns): Conditionize
280 by TARGET_[HQ]IMODE_MATH.
281 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
282 x86_promote_qi_regs): Declare.
283 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
284 TARGET_PROMOTE_QI_REGS): New macros.
285 (PROMOTE_MODE): New macro.
286 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
287 x86_promote_qi_regs): New global variables.
288
289 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
290
291 * calls.c (emit_library_call_value_1): Break out from ...; handle
292 VOIDmode function calls too.
293 (emit_library_call_value): ... here.
294 (emit_library_call): Implement by calling emit_library_call_value_1.
295
296 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
297
298 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
299 Update arg_space_so_far on stack adjustments.
300 (emit_library_call, emit_library_call_value): Likewise; take into
301 account arg_space_so_far and pending_stack_adjust when calculcating
302 the boundary.
303
304 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
305
306 * flow.c: Move all basic block reordering code into its own file.
307 (create_basic_block): Externalize.
308 * bb-reorder.c: New file. Copy all basic block reordering code from
309 flow.c to this file.
310 (reorder_basic_blocks): Fix fencepost error in for-loop.
311 (reorder_basic_blocks): Remove braces from single statement for-loops.
312 * basic-block.h: Add declaration for create_basic_block.
313 * Makefile.in: Add rules for bb-reorder.o.
314
315 2000-03-16 Neil Booth <NeilB@earthling.net>
316
317 * cppinit.c (handle_option): Implement #unassert directive
318 as -A- command line option.
319 (print_help): Update.
320 * cpptexi.c: Update.
321
322 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
323
324 * md.texi (Standard Names): Document `jump'.
325
326 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
327
328 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
329 gotos.
330
331 2000-03-15 Geoff Keating <geoffk@cygnus.com>
332
333 See the ChangeLog on the branch for more details.
334
335 * configure.in: Merge in changes from newppc-branch.
336 * configure: Regenerate.
337 * config/rs6000/*: Merge in changes from newppc-branch.
338 Also correct copyright notices.
339
340 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
341
342 * acconfig.h (HAVE_GAS_WEAK): New define.
343 * configure.in (assembler weak support): Check for .weak support.
344 * config.in, configure: Rebuilt.
345 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
346 HAVE_GAS_WEAK is defined.
347
348 2000-03-15 Nick Clifton <nickc@cygnus.com>
349
350 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
351 asm_fprintf().
352
353 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
354
355 * cppfiles.c (open_include_file): New function.
356 (find_include_file, cpp_read_file): Use it.
357
358 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
359
360 * cpphash.c (dump_hash_helper): Take the slot, not the element.
361
362 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
363
364 * flow.c (verify_flow_info): Check for unconditional return.
365
366 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
367
368 * config/ia64/ia64.md (restore_stack_nonlocal): New.
369 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
370 (__ia64_restore_stack_nonlocal): New.
371 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
372
373 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
374
375 * cpphash.c (collect_formal_parameters): Do not complain about
376 parameter names that just start with `__VA_ARGS__'.
377
378 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
379
380 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
381 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
382 * i386.c (pentiumpro_cost): Set mul cost to 4.
383 (x86_use_movx): Set for PPro.
384
385 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
386
387 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
388 STACK_BOUNDARY for empty frames now.
389
390 2000-03-14 Mark Mitchell <mark@codesourcery.com>
391
392 * stor-layout.c (layout_union): Remove.
393 (layout_union_field): New function, split out from layout_union.
394 (finish_union_layout): Likewise.
395 (layout_field): Handle unions by calling layout_union_field.
396 (finish_record_layout): Handle unions.
397 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
398 QUAL_UNION_TYPE handling.
399
400 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
401
402 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
403 end of basic block is jump_insn, not barrier; use create_basic_block
404 instead of creating basic block by hand.
405
406 2000-03-14 Jason Eckhardt <jle@cygnus.com>
407
408 * flow.c (reorder_basic_blocks): Account for barriers when writing
409 over NEXT_INSN (last_bb->end).
410 (verify_flow_info): Add check for missing barriers.
411
412 2000-03-14 Greg McGary <gkm@gnu.org>
413
414 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
415 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
416 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
417 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
418 __unbounded, __unbounded__): New keywords.
419 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
420 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
421 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
422
423 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
424
425 * cselib.h: New file.
426 * alias.c: Include "cselib.h".
427 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
428 MEMs as two new arguments.
429 (get_addr): New static function.
430 (find_base_term): Handle VALUEs.
431 (memrefs_conflict_p): Likewise.
432 (true_dependence): Call get_addr on the addresses.
433 Call fixed_scalar_and_varying_struct_p with addresses that have been
434 passed through get_addr and canon_rtx.
435 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
436 with true_dependence.
437 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
438 * loop.c: Include "cselib.h".
439 (load_mems): Process extended basic block that enters the loop with
440 cselib. Use that information to change initialization of the shadow
441 register so that a constant equivalence is seen by later passes.
442 * reload1.c: Include "cselib.h".
443 (reload_cse_invalidate_regno): Delete function.
444 (reload_cse_mem_conflict_p): Likewise.
445 (reload_cse_invalidate_mem): Likewise.
446 (reload_cse_invalidate_rtx): Likewise.
447 (reload_cse_regno_equal_p): Likewise.
448 (reload_cse_check_clobber): Likewise.
449 (reload_cse_record_set): Likewise.
450 (reg_values): Delete static variable.
451 (invalidate_regno_rtx): Likewise.
452 (reload_cse_delete_noop_set): New static function.
453 (reload_cse_simplify): New static function, broken out of
454 reload_cse_regs_1.
455 (reload_cse_noop_set_p): Delete unused argument INSN.
456 Just call rtx_equal_for_cselib_p on set source and destination.
457 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
458 reload_cse_delete_noop_set. Delete code to keep track of values; use
459 cselib functions instead. Delete code to push/pop obstacks.
460 (reload_cse_simplify_set): Use cselib to find equivalent values.
461 Delete code to push/pop obstacks.
462 (reload_cse_simplify_operands): Likewise.
463 * rtl.def (VALUE): New rtx code.
464 * rtl.h (union rtunion_def): New elt rt_cselib.
465 (X0CSELIB, CSELIB_VAL_PTR): New macros.
466 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
467 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
468 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
469 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
470 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
471 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
472 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
473 cselib_record_set, cselib_record_sets): New static functions.
474 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
475 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
476 references_value_p): New functions.
477 (MAX_USELESS_VALUES, REG_VALUES): New macros.
478 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
479 n_useless_values, reg_values, callmem, cselib_obstack,
480 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
481 New static variables.
482 * varray.h (union varray_data_tag): New elt te.
483 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
484 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
485 dependencies.
486
487 2000-03-14 Nick Clifton <nickc@cygnus.com>
488
489 * gcc.c (do_spec_1): Catch the case where %* is used in a
490 substitution pattern, but it has not been initialised.
491 Issue a meaningful error message if an unrecognised operator
492 is encountered in a spec string.
493
494 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
495
496 * function.c (prepare_function_start): Correctly initialize
497 cfun->stack_alignment_needed.
498
499 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
500
501 * cppfiles.c (find_include_file): Don't assume nshort is a
502 substring of name.
503
504 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
505
506 * configure.in (hppa configurations): Add pa32-regs.h to the
507 list of tm files as appropriate.
508 * configure: Rebuilt.
509 * pa.c (compute_frame_size): Remove explicit knowledge about FP
510 register numbering.
511 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
512 (fmpyaddoperands, fmpysuboperands): Likewise.
513 * pa.h: Remove various definitions which depend on knowing
514 how registers are numbered.
515 * pa32-regs.h: New file with PA32 register numbering specific
516 definitions.
517
518 2000-03-14 Richard Henderson <rth@cygnus.com>
519
520 * regmove.c (combine_stack_adjustments): New.
521 (stack_memref_p, single_set_for_csa): New.
522 (free_csa_memlist, record_one_stack_memref): New.
523 (try_apply_stack_adjustment): New.
524 (combine_stack_adjustments_for_block): New.
525 * rtl.h (combine_stack_adjustments): Declare.
526 * toplev.c (rest_of_compilation): Call it.
527
528 * i386.md: Revert 2000-01-16 change.
529
530 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
531
532 * gccbug.in: Add web category, gcc specific classes.
533
534 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
535
536 * stor-layout.c (finalize_record_size): Fix typo.
537
538 2000-03-14 Stan Shebs <shebs@apple.com>
539
540 * c-typeck.c (c_alignof): Error on incomplete types.
541 * extend.texi (Alignment): Document this.
542
543 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
544
545 * cppfiles.c: Include mkdeps.h.
546 (find_include_file, read_include_file): Remove _cpp_ prefix
547 from name, make static.
548 (_cpp_execute_include): New function, broken out of
549 do_include.
550
551 * cpplib.c: Don't include mkdeps.h.
552 (struct directive): Remove type field. Reorder entries. The
553 function takes only one argument.
554 (struct if_stack): Make type field an int.
555 (directive_table): Rename to dtable. Generate it, the
556 prototypes of the directive handlers, and the enum for the
557 directive numbers, from a template macro.
558 (do_ifndef, do_include_next, do_import): New functions.
559 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
560 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
561 do_ident, do_assert, do_unassert, do_sccs): Take only one
562 argument.
563 (do_sccs): Define always, but alter behavior based on
564 SCCS_DIRECTIVE.
565 (_cpp_handle_directive, consider_directive_while_skipping):
566 Restructure for new directive table layout.
567
568 (pass_thru_directive): Take a directive number, not a pointer
569 to a struct directive.
570 (parse_include): New function, broken out of do_include.
571 (do_include, do_import, do_include_next): Use parse_include
572 and _cpp_execute_include.
573 (do_elif, do_else): Test for T_ELSE specifically when checking
574 for #elif/#else after #else.
575 (parse_ifdef): New function, broken out of do_ifdef.
576 (validate_else): Expect a name arg without a leading #.
577 (if_directive_name): Delete.
578 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
579 directive handlers with only one argument.
580
581 * cpphash.h: Update prototypes.
582 (enum node_type): Remove entries for directives.
583 * Makefile.in: Update dependencies.
584
585 * cpphash.c (dump_hash_helper): Only dump nodes of type
586 T_MACRO. Emit a newline after each definition.
587
588 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
589
590 * gccbug.in: New file.
591 * configure.in (all_outputs): Add gccbug.
592 * Makefile.in (install-common): Install gccbug.
593 (GCCBUG_INSTALL_NAME): New variable.
594 * configure: Rebuilt.
595
596 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
597
598 * function.c (put_var_into_stack): Use type_for_mode to calculate
599 part_type. Use MEM_SET_IN_STRUCT_P.
600 * expr.c (store_field): Handle CONCAT.
601 (store_constructor): Use fields_length.
602 * tree.c (fields_length): New fn.
603 * tree.h: Declare it.
604
605 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
606
607 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
608 (cpplex.o): New target.
609 * po/POTFILES.in: Add cpplex.c.
610
611 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
612 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
613 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
614 skip_block_comment, skip_line_comment, skip_comment,
615 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
616 _cpp_parse_name, skip_string, parse_string,
617 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
618 _cpp_get_directive_token, find_position,
619 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
620 (maybe_macroexpand, _cpp_lex_token): New functions.
621
622 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
623 parse_goto_mark): Delete.
624 (_cpp_handle_eof): New function.
625 (_cpp_handle_directive): Rename from handle_directive.
626 (_cpp_output_line_command): Rename from output_line_command.
627 (do_if, do_elif): Call _cpp_parse_expr directly.
628 * cppfiles.c (_cpp_read_include_file): Don't call
629 init_input_buffer here.
630 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
631 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
632 here; pop the token_buffer and skip the rest of the line here.
633 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
634 here.
635
636 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
637 Define here.
638 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
639 CPP_GOTO_MARK): New macros.
640 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
641 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
642 _cpp_read_and_prescan, _cpp_init_input_buffer,
643 _cpp_grow_token_buffer, _cpp_get_directive_token,
644 _cpp_handle_directive, _cpp_handle_eof,
645 _cpp_output_line_command): Prototype them here.
646 * cpplib.h (enum cpp_token): Add CPP_MACRO.
647 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
648 quote_string, output_line_command): Remove.
649
650 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
651
652 * stmt.c (expand_end_case): RANGE may be signed, and when checking
653 whether it is too large we must also verify that it isn't negative.
654
655 2000-03-13 Jakub Jelinek <jakub@redhat.com>
656
657 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
658 (movsi_zero_liveg0): Remove.
659 (movsf_insn_novis_liveg0): Remove.
660 (negsi2): Remove.
661 (negsi2_not_liveg0): Rename to negsi2.
662 (one_cmplsi2): Remove.
663 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
664 (one_cmplsi2_liveg0): Remove.
665 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
666 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
667 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
668 (PREDICATE_CODES): Remove zero_operand.
669 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
670 TARGET_BROKEN_SAVERESTORE.
671 (zero_operand): Remove.
672 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
673 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
674 options.
675 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
676 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
677 TARGET_BROKEN_SAVERESTORE): Remove.
678 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
679 Remove.
680 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
681 Remove.
682 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
683 Remove.
684
685 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
686
687 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
688
689 * cpplib.c (do_pragma_implementation): Fix off-by-one error
690 truncating a string. Don't assume tokens are nul terminated.
691 Problem noted by Andreas Jaeger <aj@suse.de>
692
693 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
694
695 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
696 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
697 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
698
699 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
700
701 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
702 STRUCTURE_SIZE_BOUNDARY.
703
704 2000-03-13 Mark Mitchell <mark@codesourcery.com>
705
706 * tree.h (record_layout_info_s): New structure.
707 (record_layout_info): New type.
708 (new_record_layout_info): New function.
709 (layout_field): Likewise.
710 (finish_record_layout): Likewise.
711 * stor-layout.c (layout_record): Remove.
712 (new_record_layout_info): New function.
713 (layout_field): New function, broken out from layout_record.
714 (finalize_record_size): Likewise.
715 (compute_record_mode): Likewise.
716 (finalize_type_size): New function, broken out from layout_type.
717 (finish_record_layout): Likewise.
718 (layout_type): Use them.
719
720 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
721
722 * cpphash.c: Don't include version.h.
723 (special_symbol) [case T_VERSION]: Look for the string in
724 hp->value.cpval; don't use version_string.
725 * cppinit.c (initialize_builtins): Set hp->value.cpval for
726 __VERSION__ to version_string.
727 * Makefile.in (cpphash.o): Update deps.
728
729 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
730
731 Convert cpplib to use libiberty/hashtab.c.
732
733 * cpplib.h (struct cpp_reader): Make hashtab and
734 all_include_files of type 'struct htab *'. Delete HASHSIZE
735 and ALL_INCLUDE_HASHSIZE macros.
736
737 * cpphash.h: Update prototypes.
738 (struct hashnode): Remove next, prev, and bucket_hdr members.
739 Make length a size_t. Add hash member.
740 (struct ihash): Remove next member. Add hash member. Make
741 name a flexible array member.
742
743 * cppfiles.c: Include hashtab.h.
744 (include_hash): Delete.
745 (IHASHSIZE): New macro.
746 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
747 (cpp_included): Do the hash lookup here.
748 (_cpp_find_include_file): Rewrite.
749 (cpp_read_file): Put the "fake" hash entry into the hash
750 table. Honor the control_macro, if it turns out we've seen
751 the file before. Don't push the buffer here.
752 (_cpp_read_include_file): Push the buffer here.
753 (OMODES): New macro. Use it whenever we call open(2).
754
755 * cpphash.c: Include hashtab.h.
756 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
757 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
758 _cpp_lookup_slot): New functions.
759 (HASHSIZE): new macro.
760 (hashf, _cpp_install, _cpp_delete_macro): Delete.
761 (_cpp_lookup): Use hashtab.h routines.
762
763 * cppinit.c: Include hashtab.h.
764 (cpp_reader_init): Call _cpp_init_macro_hash and
765 _cpp_init_include_hash. Don't allocate hashtab directly.
766 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
767 pfile->all_include_files.
768 (initialize_builtins): Use _cpp_make_hashnode and
769 htab_find_slot to add hash entries.
770 (cpp_finish): Just call _cpp_dump_macro_hash.
771 * cpplib.c: Include hashtab.h.
772 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
773 create hash entries.
774 (do_pragma_poison, do_assert): Likewise.
775 (do_include): Don't push the buffer here. Don't increment
776 system_include_depth unless _cpp_read_include_file succeeds.
777 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
778 or htab_remove_elt.
779 (do_pragma_implementation): Use alloca to create copy.
780
781 * Makefile.in: Update dependencies.
782
783 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
784
785 * cppinit.c (cl_directive_handler): More K&R fixing.
786
787 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
788
789 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
790 STACK_BOUNDARY.
791 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
792
793 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
794
795 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
796 Change from char[] to macros.
797
798 2000-03-12 Neil Booth <NeilB@earthling.net>
799
800 * cppinit.c (cpp_start_read): Update indirect function
801 call to K&R C.
802
803 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
804
805 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
806 entry.
807
808 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
809 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
810
811 2000-03-11 Neil Booth <NeilB@earthling.net>
812
813 * cppinit.c (struct pending option): Replace undef with a
814 pointer to a directive handling routine.
815 (struct cpp_pending): Replace separate assert_ and define_
816 lists with one directive_ list.
817 (new_pending_define): Rename new_pending_directive. Extra
818 argument is the directive's handling routine.
819 (handle_option): Update to use new_pending_directive.
820
821 2000-03-11 Neil Booth <NeilB@earthling.net>
822
823 * cppfiles.c (file_cleanup, _cpp_find_include_file,
824 remap_filename, _cpp_read_include_file, actual_directory,
825 hack_vms_include_specification): Replace bcopy(), index() etc
826 calls. Add casts to some allocations. Make some variables
827 pointers to const [unsigned] char.
828 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
829 collect_formal_parameters): Similarly.
830 * cppinit.c (struct pending_option, append_include_chain,
831 cpp_options_init, cpp_reader_init, initialize_standard_includes,
832 cpp_start_read, new_pending_define, handle_option): Similarly.
833 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
834 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
835 do_pragma_implementation, detect_if_not_defined,
836 do_ifdef, skip_if_group, cpp_get_token, parse_string,
837 do_assert, do_unassert): Similarly.
838 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
839 function prototypes.
840 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
841
842 2000-03-10 Richard Henderson <rth@cygnus.com>
843
844 * builtins.c (expand_builtin_strlen): Revert last change.
845 Use emit_insn_before if we're at the beginning of a sequence.
846
847 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
848
849 * builtins.c (expand_builtin_strlen): Make sure that we have something
850 at the beginning of the sequence.
851
852 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
853 deferred inlines.
854
855 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
856
857 2000-03-10 Richard Henderson <rth@cygnus.com>
858
859 * except.c (can_throw): Use INTVAL on a CONST_INT.
860 (reachable_handlers): Likewise.
861 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
862
863 2000-03-10 Andreas Jaeger <aj@suse.de>
864
865 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
866 MD_STARTFILE_PREFIX since those are not needed on linux.
867 (ASM_FILE_START): New, from mips/gnu.h.
868
869 2000-03-09 Richard Henderson <rth@cygnus.com>
870 Alex Samuel <samuel@codesourcery.com> and others
871
872 * Makefile.in (ssa.o): New rule.
873 (OBJS): Add ssa.o.
874 (STAGESTUFF): Add *.ssa and *.ussa.
875 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
876 * rtl.def (PHI): New RTL expression.
877 * rtl.h (clear_log_links): New declaration.
878 (convert_to_ssa): Likewise.
879 (convert_from_ssa): Likewise.
880 * flow.c (split_edge): If the entry node falls through to the
881 split edge's source block, split the entry edge.
882 (clear_log_links): New function.
883 * toplev.c (ssa_dump): New variable.
884 (flag_ssa): Likewise.
885 (f_options): Add "ssa".
886 (compile_file): Create SSA dump files.
887 (rest_of_compilation): Go to and from SSA if enabled.
888 (decide_d_option): Handle -de for SSA dump files.
889 * ssa.c: New file.
890
891 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
892
893 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
894 same as VAR_DECL.
895
896 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
897
898 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
899
900 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
901
902 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
903 (MD_STARTFILE_PREFIX_1): New macro.
904
905 2000-03-09 Robert Lipe <robertl@sco.com>
906
907 * config/ia64/ia64.c: Include system.h.
908
909 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
910
911 * except.c (nothrow_function_p): If -fno-exceptions, just return.
912 (init_eh_nesting_info): Likewise.
913
914 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
915 (TREE_NOTHROW): Rename from TREE_RAISES.
916 * toplev.c (rest_of_compilation): Set it.
917 * print-tree.c (print_node): Adjust.
918 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
919 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
920 * calls.c (emit_call_1): Add 'nothrow' parm. Add
921 REG_EH_REGION note as appropriate.
922 (libfunc_nothrow): New fn.
923 (emit_library_call, emit_library_call_value): Use it.
924 (expand_call): Check TREE_NOTHROW.
925
926 * varasm.c (make_decl_rtl): Skip initial '*' when setting
927 DECL_ASSEMBLER_NAME.
928
929 2000-03-09 Andreas Jaeger <aj@suse.de>
930
931 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
932 (TARGET_MEM_FUNCTIONS): Define.
933
934 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
935
936 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
937
938 * except.c (can_throw): See through a SEQUENCE.
939 (nothrow_function_p): New fn.
940 * except.h: Declare it.
941 * function.c (current_function_nothrow): New var.
942 (prepare_function_start): Initialize it.
943 * output.h: Declare it.
944 * toplev.c (rest_of_compilation): Set it.
945 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
946
947 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
948
949 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
950 match. (cpp_compare_defs): Count the nul separator when
951 advancing over argument names.
952
953 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
954
955 * recog.c (preprocess_constraints): Matching constraints affect
956 same alternative/different operand, not same operand/different
957 alternative.
958
959 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
960 register and a constant specially.
961
962 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
963
964 * libgcc2.h: New file.
965 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
966
967 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
968
969 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
970 * configure: Regenerate.
971 * config/ia64: New.
972
973 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
974
975 * Makefile.in (LIBCPP_DEPS): New macro.
976 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
977 it to declare deps.
978 * cpperror.c: Include cpphash.h.
979 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
980 dingleberry.
981 (lex): Don't use CPP_WARN_UNDEF.
982 (_cpp_parse_expr): Return an int, the truth value.
983 * cppfiles.c: Include cpphash.h.
984 (_cpp_merge_include_chains): Move to cppinit.c and make static.
985 * cppinit.c (include_defaults_array): Disentangle.
986 (cpp_cleanup): Don't free the if stack here.
987 (cpp_finish): Pop off all buffers, not just one.
988 * cpplib.c (eval_if_expr): Return int.
989 (do_xifdef): Rename do_ifdef.
990 (handle_directive): Don't use CPP_PREPROCESSED.
991 (cpp_get_token): Don't use CPP_C89.
992 * fix-header.c: Don't use CPP_OPTIONS.
993
994 * cpplib.h: Move U_CHAR, enum node_type, struct
995 file_name_list, struct ihash, is_idchar, is_idstart,
996 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
997 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
998 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
999 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
1000 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
1001 of _cpp_simplify_pathname, _cpp_find_include_file,
1002 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
1003 Move struct if_stack to cpplib.c. Move struct cpp_pending to
1004 cppinit.c.
1005 Change all uses of U_CHAR to be unsigned char instead.
1006 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
1007
1008 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
1009
1010 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
1011 (dwarf2out_begin_prologue): Set it.
1012 (output_call_frame_info): Don't emit EH unwind info for leaves.
1013
1014 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
1015 can occur outside of an EH region.
1016 * except.c: Correct comments about rethrow behavior.
1017 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
1018
1019 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
1020
1021 * flow.c (make_edges): Always call make_eh_edge for calls.
1022
1023 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1024
1025 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
1026 (struct cpp_buffer): Remove fname and underflow fields.
1027 (struct cpp_reader): Remove get_token field.
1028 (struct include_hash): Rename to struct ihash. Add typedef to
1029 IHASH.
1030 (struct if_stack): Remove fname field.
1031 (IF_STACK_FRAME): Rename to IF_STACK.
1032
1033 * cpperror.c (print_containing_files): Trust that there are no
1034 macro buffers below the top file buffer.
1035 * cppfiles.c: Replace all references to 'struct include_hash'
1036 with 'IHASH'. Rename initialize_input_buffer to
1037 init_input_buffer. Don't set or reference cpp_buffer->fname,
1038 use buffer->ihash->name instead.
1039 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
1040 not CPP_NULL_BUFFER.
1041 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
1042 IF_STACK_FRAME, IHASH not struct include_hash.
1043 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
1044 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
1045 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
1046 references to cpp_buffer->fname (delete entirely, or use
1047 ->ihash->name instead) and IF_STACK->fname.
1048 (cpp_push_buffer): Don't set new->underflow.
1049 (do_include): Use cpp_file_buffer.
1050
1051 * cpphash.c (collect_formal_parameters): Remove duplicate
1052 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
1053 used as a macro argument name. Don't append "..." to namebuf
1054 for varargs macros. After we're done scanning, go through
1055 namebuf and make it NUL separated, not comma separated.
1056 (_cpp_compare_defs): Remove register tag from variables.
1057 Expect defn->argnames to be NUL separated.
1058 (_cpp_dump_definition): Expect defn->argnames to be NUL
1059 separated and in forward order.
1060 * cpphash.h: Update documentation of argnames field.
1061
1062 2000-03-08 Richard Henderson <rth@cygnus.com>
1063
1064 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
1065 to fail. Don't pre-expand the source operand.
1066
1067 * i386.md (strlensi): Initialize eoschar and align before use.
1068
1069 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
1070
1071 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
1072 CONSTRUCTOR element.
1073
1074 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
1075
1076 * mips.c (mips_expand_prologue): If the last
1077 named argument is the vararg marker "va_list", treat it as
1078 an unnamed argument.
1079
1080 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
1081
1082 * dbxout.c (dbxout_parms): When correcting for promoted
1083 big-endian parameters, use the mode of the DECL_RTL rather
1084 than UNITS_PER_WORD.
1085
1086 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
1087
1088 * c-common.h (make_fname_decl): Declare.
1089 * c-common.c (make_fname_decl): Define.
1090 (declare_hidden_char_array): Remove.
1091 (declare_function_name): Use make_fname_decl.
1092 * c-decl.c (c_make_fname_decl): New function.
1093 (init_decl_processing): Set make_fname_decl.
1094
1095 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
1096
1097 * cccp.c (handle_directive): Initialize backslash_newlines_p.
1098
1099 2000-03-07 Philipp Thomas <pthomas@suse.de>
1100
1101 * po/POTFILES.in: Remove cppalloc.c from file list.
1102
1103 2000-03-07 Steve Chamberlain <sac@pobox.com>
1104
1105 * pj.c (pj_expand_prologue): current_function->args_info is
1106 now current_function_args_info.
1107
1108 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
1109 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
1110 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
1111
1112 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1113
1114 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
1115 output as hexadecimal rather than the default octal.
1116
1117 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
1118
1119 * cpphash.c (special_symbol): Fix thinko in previous commit.
1120
1121 2000-03-07 Neil Booth <NeilB@earthling.net>
1122
1123 * cppexp.c (struct operation, left_shift, right_shift,
1124 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
1125 "int"s to "unsigned int"s.
1126 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
1127 Similarly.
1128 * cpplib.h: Update for above.
1129 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
1130 returned from allocations.
1131
1132 * cppinit.c (opt_comp, parse_options): New functions.
1133 (handle_option): Use parse_option to parse a single command
1134 line option, that possibly takes an argument.
1135 (cpp_handle_options): Sort the array of command line options on
1136 first invocation (non-ASCII hosts only).
1137 (print_help): Update.
1138
1139 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
1140
1141 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
1142 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
1143
1144 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
1145 initialized.
1146 * cppinit.c (cpp_cleanup): Free imp->nshort also.
1147
1148 * cpperror.c (cpp_print_containing_files,
1149 cpp_print_file_and_line, v_cpp_message): Rename to
1150 print_containing_files, print_file_and_line, and v_message.
1151 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
1152 to _cpp_parse_expr, parse_escape, and lex.
1153 (parse_charconst): Remove broken multibyte support.
1154 * cppfiles.c (include_hash): Make static.
1155 (cpp_included): New function.
1156 (merge_include_chains, find_include_file, finclude,
1157 simplify_pathname): Rename to _cpp_merge_include_chains,
1158 _cpp_find_include_file, _cpp_read_include_file, and
1159 _cpp_simplify_pathname.
1160 * cpphash.c (cpp_lookup, free_definition, delete_macro,
1161 cpp_install, create_definition, macroexpand, compare_defs,
1162 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
1163 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
1164 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
1165 * cppinit.c (cpp_handle_option): Rename to handle_option, make
1166 static.
1167 * cpplib.c: Remove extern prototype of cpp_parse_expr.
1168
1169 * cpphash.h: Update prototypes.
1170 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
1171
1172 2000-03-07 Andrew Haley <aph@cygnus.com>
1173
1174 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
1175 PTRDIFF_TYPE should be based solely on Pmode.
1176 (SIZE_TYPE): ditto.
1177
1178 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1179
1180 * rtl.h (rtunion_def): Constify member `rtstr'.
1181 (emit_line_note_after, emit_line_note, emit_line_note_force,
1182 emit_note, decode_asm_operands): Constify.
1183
1184 * cse.c (canon_hash): Likewise.
1185
1186 * dbxout.c (dbxout_block): Likewise.
1187
1188 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
1189 v_warning_for_asm): Likewise.
1190
1191 * dwarfout.c (function_start_label): Likewise.
1192
1193 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
1194 emit_line_note_force): Likewise.
1195
1196 * final.c (last_filename, asm_insn_count, final_scan_insn,
1197 output_source_line): Likewise.
1198
1199 * function.h (struct emit_status): Likewise.
1200
1201 * gcse.c (hash_expr_1): Likewise.
1202
1203 * genattr.c (gen_attr, main): Likewise.
1204
1205 * genattrtab.c (struct function_unit, current_alternative_string,
1206 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
1207 attr_numeral, check_attr_test, check_attr_value,
1208 convert_set_attr_alternative, convert_set_attr,
1209 compute_alternative_mask, simplify_by_exploding, gen_attr,
1210 gen_unit): Likewise.
1211
1212 * genflags.c (gen_insn): Likewise.
1213
1214 * gengenrtl.c (type_from_format): Likewise.
1215
1216 * genopinit.c (gen_insn): Likewise.
1217
1218 * genoutput.c (n_occurrences, process_template, process_template):
1219 Likewise.
1220
1221 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
1222 Likewise.
1223
1224 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
1225 Likewise.
1226
1227 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
1228 ggc_set_mark, ggc_get_size): Likewise.
1229
1230 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
1231
1232 * optabs.c (init_one_libfunc): Likewise.
1233
1234 * output.h (assemble_start_function): Likewise.
1235
1236 * recog.c (decode_asm_operands): Likewise.
1237
1238 * toplev.c (rest_of_compilation): Likewise.
1239
1240 * tree.h (emit_line_note_after, emit_line_note,
1241 emit_line_note_force): Likewise.
1242
1243 * varasm.c (asm_output_bss, asm_output_aligned_bss,
1244 asm_emit_uninitialised, assemble_start_function,
1245 assemble_variable, const_hash, compare_constant_1,
1246 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
1247
1248 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
1249
1250 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
1251
1252 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
1253
1254 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
1255
1256 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
1257 arm_dllimport_name_p): Likewise.
1258
1259 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
1260 Likewise.
1261
1262 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
1263
1264 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1265
1266 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
1267 arm_mark_dllexport, arm_mark_dllimport,
1268 arm_pe_encode_section_info): Likewise.
1269
1270 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
1271 ASM_FINISH_DECLARE_OBJECT): Likewise.
1272
1273 * arm/thumb.c (thumb_function_prologue): Likewise.
1274
1275 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
1276
1277 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1278
1279 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
1280
1281 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
1282
1283 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
1284
1285 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1286
1287 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
1288 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
1289
1290 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
1291
1292 * i386/i386.c (asm_output_function_prefix): Likewise.
1293
1294 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
1295
1296 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1297
1298 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
1299
1300 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
1301 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
1302 ASM_OUTPUT_SECTION_NAME): Likewise.
1303
1304 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
1305
1306 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
1307
1308 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
1309
1310 * m32r/m32r.c (m32r_encode_section_info): Likewise.
1311
1312 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1313
1314 * mcore/mcore.c (mcore_encode_section_info): Likewise.
1315
1316 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1317
1318 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1319
1320 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1321
1322 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
1323
1324 * mips/mips.md (movdi, movsi): Likewise.
1325
1326 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1327
1328 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1329
1330 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1331
1332 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
1333 ASM_OUTPUT_ASCII): Likewise.
1334
1335 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
1336 output_mi_thunk, output_toc): Likewise.
1337
1338 * rs6000/rs6000.md (movsi): Likewise.
1339
1340 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
1341
1342 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
1343
1344 * v850/v850.c (print_operand, print_operand_address,
1345 v850_encode_data_area): Likewise.
1346
1347 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
1348
1349 * config/mips/mips.md (zero_extendsidi2): Always force operand
1350 one to memory for mips16.
1351
1352 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1353
1354 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
1355 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
1356 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
1357 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
1358 (min_precision): Result is unsigned.
1359 (add_double, neg_double, mul_double): Low word is unsigned.
1360 (lshift_double, rshift_double, lrotate_double): Likewise.
1361 (rrotate_double, div_and_round_double): Likewise.
1362 (tree_floor_log2, compare_tree_int): New functions.
1363 (preserve_rtl_expr_temps): New declaration.
1364 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
1365 (decl_attributes): Use tree_log2 to find alignment.
1366 Check for TREE_INT_CST_HIGH for format args.
1367 (min_precision): Now unsigned.
1368 Use tree_floor_log2.
1369 (truthvalue_conversion): Delete long-disabled code.
1370 * c-decl.c (finish_struct): Clean up tests on field width.
1371 (finish_function): Use compare_tree_int.
1372 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
1373 * c-typeck.c (comptypes): Use tree_int_cst_equal.
1374 (default_conversion, digest_init): Use compare_tree_int.
1375 (build_binary_op): Use integer_all_onesp and compare_tree_int.
1376 Fix type errors in forming masks.
1377 * calls.c (initialize_argument_information): Use compare_tree_int.
1378 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
1379 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
1380 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
1381 (store_field): Use compare_tree_int.
1382 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
1383 (expand_expr, case ARRAY_REF): Use compare_tree_int.
1384 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
1385 (do_store_flag): Use compare_tree_int.
1386 * fold-const.c (encode, decode): Low part is always unsigned.
1387 (force_fit_type, add_double, neg_double, mul_double): Likewise.
1388 (lshift_double, rshift_double, lrotate_double): Likewise.
1389 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
1390 (fold_convert): Use compare_tree_int.
1391 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
1392 (invert_truthvalue, case INTEGER_CST): Likewise.
1393 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
1394 * mkdeps.c (deps_dummy_targets): Make I unsigned.
1395 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
1396 (lshift_double, rshift_double, lrotate_double, rrotate_double):
1397 Likewise.
1398 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
1399 (expand_end_case): Use compare_tree_int.
1400 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
1401 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
1402 (layout_decl): Likewise.
1403 (layout_record, layout_union): Make sizes unsigned.
1404 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
1405 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
1406 * tree.c (struct type_hash): hashcode is unsigned.
1407 (build_type_attribute_variant, type_hash_list): Likewise.
1408 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
1409 (attribute_hash_list, build_array_type, build_method_type): Likewise.
1410 (build_complex_type): Likewise.
1411 (real_value_from_int_cst): Remove unneeded casts.
1412 (integer_all_onesp): Add casts.
1413 (tree_floor_log2, compare_tree_int): New functions.
1414 (build_index_type): Use tree_int_cst_sgn.
1415 * varasm.c (assemble_variable): Use compare_tree_int.
1416
1417 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
1418
1419 * cpphash.c (collect_expansion): Also catch ## at start of macro.
1420
1421 * varasm.c (make_decl_rtl): Don't add a number to members of
1422 local classes.
1423 (make_function_rtl): Likewise.
1424
1425 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1426
1427 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
1428 patch from 2000-01-28.
1429
1430 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
1431
1432 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
1433 filled with an insn from the jump target.
1434
1435 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1436
1437 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
1438 (c4x_external_ref): Likewise.
1439 * config/c4x/c4x.c (struct name_list): Likewise.
1440
1441 1999-12-16 Ben Collins <bcollins@debian.org>
1442
1443 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
1444 argument to genmultilib.
1445 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
1446 the contents into the multilib.h header.
1447 * gcc.c: Declare multilib_exclusions for the specs file.
1448 (set_multilib_dir): Use it.
1449 (print_multilib_info): Likewise.
1450 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
1451 to pass to genmultilib.
1452
1453 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1454
1455 * builtins.c (built_in_class_names, built_in_names): Constify a
1456 char*.
1457
1458 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
1459 int.
1460 (_mcleanup): Ensure value matches format specifier in sprintf.
1461
1462 * cpphash.c (special_symbol): Don't needlessly cast away
1463 const-ness.
1464
1465 * cppinit.c (base_name): Delete unused prototype.
1466
1467 * mkdeps.c (deps_init): Make definition K&R safe.
1468
1469 * tree.h (built_in_class_names, built_in_names): Constify a
1470 char*.
1471
1472 2000-03-06 Jakub Jelinek <jakub@redhat.com>
1473
1474 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
1475 floating point instructions for epilogue delay.
1476
1477 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
1478 to gas if it supports .register pseudo.
1479
1480 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
1481 LONG_DOUBLE_TYPE_SIZE if not defined.
1482 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
1483 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
1484 * real.c: Likewise.
1485 * gengenrtl.c: Likewise.
1486 * print-rtl.c: Likewise.
1487 * rtl.c: Likewise.
1488 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
1489 MASK_LONG_DOUBLE_128.
1490 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
1491 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
1492 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
1493 (SUBTARGET_SWITCHES): Define.
1494 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
1495 with -mlong-double-128.
1496 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
1497 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
1498 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
1499 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
1500 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
1501 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
1502 with -mlong-double-128.
1503 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
1504 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
1505 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
1506 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
1507 TARGET_LONG_DOUBLE_128): Define.
1508 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
1509 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
1510 long double on TARGET_ARCH64.
1511
1512 2000-03-06 Mark Mitchell <mark@codesourcery.com>
1513
1514 * function.c (free_temps_for_rtl_expr): Don't free slots
1515 that have been pushed into a higher level.
1516
1517 Revert this patch:
1518 2000-03-05 Mark Mitchell <mark@codesourcery.com>
1519
1520 2000-03-05 Mark Mitchell <mark@codesourcery.com>
1521
1522 * basic-block.h (ALLOCA_REG_SET): Remove.
1523 (INITIALIZE_REG_SET): New macro.
1524 * flow.c (update_life_info): Use it.
1525 (calculate_global_regs_live): Likewise.
1526 (propagate_block): Likewise.
1527 * global.c (build_insn_chain): Likewise.
1528 * haifa-sched.c (schedule_region): Likewise.
1529
1530 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
1531
1532 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
1533 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
1534 (DWARF_ARANGES_PAD_SIZE): New define.
1535 (output_aranges): Use it to pad the address range header.
1536 (DWARF_ROUND): Fix for non power of 2 rounding.
1537
1538 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
1539
1540 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
1541
1542 2000-03-05 Mark Mitchell <mark@codesourcery.com>
1543
1544 * tree.def (RTL_EXPR): Update documentation.
1545 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
1546 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
1547 * function.c (preserve_rtl_expr_temp): New function.
1548 (preserve_rtl_expr_temps): Likewise.
1549 (preserve_rtl_expr_result): Use it.
1550
1551 Revert this patch:
1552 2000-03-04 Mark Mitchell <mark@codesourcery.com>
1553
1554 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
1555
1556 * regmove.c (copy_src_to_dest) Do not create src->dest move
1557 for unchanging destination.
1558
1559 2000-03-04 Mark Mitchell <mark@codesourcery.com>
1560
1561 * function.h (struct sequence_stack): Remove rtl_expr.
1562 (struct emit_staus): Likewise.
1563 (seq_rtl_expr): Remove.
1564 * tree.h (free_temps_for_rtl_expr): Don't declare.
1565 (start_sequence_for_rtl_expr): Likewise.
1566 * rtl.h (preserve_rtl_expr_result): Likewise.
1567 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
1568 (start_sequence_for_rtl_expr): Remove.
1569 (push_topmost_sequence): Don't save sequence_rtl_expr.
1570 (pop_topmost_sequence): Remove comment about not restoring it.
1571 (end_sequence): Don't set seq_rtl_expr.
1572 (init_emit): Don't initialize it.
1573 (mark_sequence_stack): Don't mark it.
1574 (mark_emit_status): Likewise.
1575 * except.c (protect_with_terminate): Use
1576 start_sequence_for_rtl_expr, not start_sequence.
1577 * expr.c (expand_expr, case RTL_EXPR): Don't call
1578 preserve_rtl_expr_result or free_temps_for_rtl_expr.
1579 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
1580 (preserve_rtl_expr_result): Remove.
1581 (free_temps_for_rtl_expr): Likewise.
1582 (pop_temp_slots): Likewise.
1583 (mark_temp_slot): Don't mark the rtl_expr.
1584 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
1585 start_sequence_for_rtl_expr.
1586
1587 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
1588
1589 * mkdeps.c, mkdeps.h: New files.
1590 * po/POTFILES.in: Add them.
1591 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
1592 (cpplib.o, cppinit.o): Depend on mkdeps.h.
1593 (mkdeps.o): New target.
1594
1595 * cppfiles.c: Delete deps_output.
1596 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
1597 OBJECT_SUFFIX, and base_name.
1598 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
1599 the include hash.
1600 (initialize_dependency_output): Use deps_init,
1601 deps_add_target, deps_calc_target, and deps_add_dep. Remove
1602 all the unnecessary string bashing.
1603 (cpp_finish): Use deps_write. Remove an unnecessary nesting
1604 level.
1605 * cpplib.c (do_include): Use deps_add_dep.
1606 * cpplib.h (struct cpp_reader): Replace deps_buffer,
1607 deps_allocated_size, deps_size, deps_column members with
1608 single pointer to a struct deps. Delete prototype of
1609 deps_output.
1610
1611 * cppinit.c: Fix thinko in previous patch.
1612
1613 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1614
1615 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
1616 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
1617 (mode_for_size_tree): New function.
1618 (layout_decl, layout_type): Call it and clean up BLKmode checks.
1619 * tree.h (mode_for_size_tree): New declaration.
1620
1621 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
1622
1623 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
1624
1625 * stmt.c (is_body_block): Move...
1626 * dwarfout.c, dwarf2out.c: ...from here.
1627 * tree.h: Declare it.
1628 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
1629 * final.c (final_start_function): Do call remove_unnecessary_notes
1630 when scheduling.
1631
1632 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
1633
1634 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
1635
1636 * cpplib.h (_dollar_ok): New macro.
1637 (is_idchar, is_idstart): Use it.
1638 (IStable): Rename to _cpp_IStable. Declare it const if
1639 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
1640 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
1641 is_space): Update for renamed IStable.
1642
1643 * cppinit.c: Delete all references to FAKE_CONST and CAT
1644 macros. Define init_IStable as empty macro if gcc >=2.7 or
1645 C99. Change TABLE() to ISTABLE and hardcode name of table.
1646 (cpp_start_read): Don't change the IStable based on
1647 dollars_in_ident.
1648
1649 * cpphash.c (unsafe_chars): Add pfile argument. All callers
1650 changed. Handle '$' for char1 correctly.
1651 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
1652
1653 * cppexp.c (tokentab2): Make const.
1654 (cpp_lex): Make toktab const.
1655 * cppinit.c (include_defaults_array): Make const.
1656 (initialize_standard_includes): Make default_include const.
1657
1658 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
1659
1660 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
1661 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
1662 (gen_decl_die): Likewise.
1663 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
1664 (output_decl): Likewise.
1665
1666 * varasm.c (make_function_rtl): If we change the name used in the
1667 rtl, update DECL_ASSEMBLER_NAME accordingly.
1668 (make_decl_rtl): Likewise.
1669
1670 * toplev.c (rest_of_compilation): Tweak formatting.
1671
1672 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
1673 remove_unnecessary_notes.
1674 (debug_ignore_block): New fn.
1675 * toplev.h: Declare it.
1676 * emit-rtl.c (remove_unncessary_notes): Call it.
1677 * dwarf2out.c (dwarf2out_ignore_block): New fn.
1678 * dwarf2out.h: Declare it.
1679 * final.c (final_start_function): Don't call remove_unnecessary_notes
1680 if we did insn scheduling.
1681
1682 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
1683
1684 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
1685 * cpplib.h: Delete SET_CPP_PEDANTIC.
1686
1687 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1688
1689 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
1690 result is a RECORD_TYPE.
1691
1692 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
1693
1694 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
1695
1696 2000-03-03 Richard Henderson <rth@cygnus.com>
1697
1698 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
1699 addition over compliments over shifts.
1700
1701 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1702
1703 * reload1.c (reload_combine_note_use): Handle return register USEs.
1704 REG case: Handle multi-hard-register hard regs.
1705
1706 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1707
1708 * md.texi: Document use of '*' in insn pattern name.
1709
1710 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
1711
1712 * calls.c (special_function_p): operator new may not be malloc-like.
1713
1714 * gcse.c (dump_hash_table): Really fix error in last change.
1715
1716 2000-03-02 Denis Chertykov <denisc@overta.ru>
1717
1718 * avr.c (print_operand): Use print_operand_address instead of
1719 output_addr_const.
1720 * avr/libgcc.S: Cleanup code.
1721
1722 2000-03-02 Richard Henderson <rth@cygnus.com>
1723
1724 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
1725
1726 2000-03-02 Mark Mitchell <mark@codesourcery.com>
1727
1728 * tree.h (TYPE_ALIGN_UNIT): New macro.
1729
1730 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
1731
1732 * i386.c: (constant_call_address_operand): Reject CONST_INT.
1733
1734 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
1735
1736 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
1737 for the buffer.
1738 (SET_CPP_PEDANTIC): New macro.
1739 * cpplib.c (do_include): Don't bother checking system_header_p.
1740 (do_warning, do_ident, do_assert, do_unassert): Likewise.
1741 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
1742
1743 * function.h (struct expr_status): Add x_arg_space_so_far.
1744 (arg_space_so_far): New macro.
1745 * expr.c (init_expr): Initialize it.
1746 * calls.c (emit_call_1): Reset it.
1747 (compute_argument_block_size, expand_call): Use it.
1748 (expand_call, store_one_arg): Increment it.
1749
1750 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1751
1752 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
1753 a UNION_TYPE.
1754
1755 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
1756
1757 * cppfiles.c (cpp_read_file): New function.
1758
1759 * cpphash.c (collect_expansion): Make sure to reset last_token
1760 to NORM when we hit a string. Handle trailing whitespace
1761 properly when the expansion is empty.
1762 (create_definition): Disable line commands while parsing the
1763 directive line.
1764 (dump_definition): If pfile->lineno == 0, output a line
1765 command ahead of the dump, and add a trailing newline.
1766
1767 * cppinit.c (append_include_chain): Add fifth argument, which
1768 indicates whether or not system headers are C++ aware.
1769 (initialize_standard_includes): New function,
1770 broken out of read_and_prescan. Pass 'cxx_aware' value from
1771 the include_defaults_array on to append_include_chain.
1772 (dump_special_to_buffer): Const-ify char array.
1773 (builtin_array): Don't dump __BASE_FILE__.
1774 (cpp_start_read): Use cpp_read_file. Reorder code for
1775 clarity. Don't output line commands here for -D/-A/-U
1776 switches. Don't call deps_output for files included with
1777 -include or -imacros.
1778
1779 * cpplib.c (do_define): Don't pay any attention to the second
1780 argument.
1781 (cpp_expand_to_buffer): Disable line commands while scanning.
1782 (output_line_command): Work in the file buffer.
1783 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
1784 Fix formatting of comments. Prototype cpp_read_file.
1785
1786 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1787
1788 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
1789 reference the language-equivalent of sizetype.
1790 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
1791 * fold-const.c (size_binop, size_diffop): Put back checks.
1792 * gcse.c (dump_hash_table): Fix minor error in last change.
1793 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
1794 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
1795 all sizetypes.
1796
1797 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
1798
1799 * calls.c (expand_call) Do not attempt to combine stack adjustments
1800 with inhibit_defer_pop set.
1801
1802 2000-03-01 Mark Mitchell <mark@codesourcery.com>
1803
1804 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
1805 the DECL_SIZE for a FIELD_DECL.
1806
1807 2000-03-01 Bruce Korb <bkorb@gnu.org>
1808
1809 * fixinc/inclhack.tpl: remove unused symlinks
1810 * fixinc/README: GCC Maintainer info
1811 * fixinc/inclhack.sh: regen
1812 * fixinc/fixincl.sh: regen
1813
1814 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
1815
1816 * cpphash.c (collect_expansion): Trim trailing white space
1817 from macro definitions, but don't go past the last insertion
1818 point.
1819
1820 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
1821
1822 * i386.md (mulqi3): New pattern.
1823
1824 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
1825
1826 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
1827 token types.
1828 (struct cpp_reader): Add parsing_if_directive and
1829 parsing_define_directive flags.
1830 (struct cpp_options): Remove output_conditionals flag.
1831 (check_macro_name): Delete prototype.
1832
1833 * cpphash.h (struct macrodef): Delete.
1834 (struct reflist): Separate from struct definition.
1835 (struct definition): Remove unused fields. Add column number.
1836 (create_definition): Returns a DEFINITION *. Takes a
1837 cpp_reader * and an int.
1838
1839 * cpphash.c (SKIP_WHITE_SPACE): Delete.
1840 (PEEKC): Copy defn from cpplib.c.
1841 (rest_extension, REST_EXTENSION_LENGTH): Delete.
1842 (struct arg): New.
1843 (struct arglist): Simplify.
1844 (collect_expansion): Rewrite. Get tokens by calling
1845 cpp_get_token. Add more error checking.
1846 (collect_formal_parameters): New function, broken out of
1847 create_definition and reworked to use get_directive_token.
1848 (create_definition): All real work is now in collect_expansion
1849 and collect_formal_parameters. do_define handles finding the
1850 macro name. Return a DEFINITION, not a MACRODEF.
1851 (macroexpand): Replace bcopy with memcpy throughout. Replace
1852 character-at-a-time copy loop with memcpy and pointer increments.
1853 (compare-defs): d1->argnames / d2->argnames might be null.
1854
1855 * cpplib.c (copy_rest_of_line): Delete function.
1856 (skip_rest_of_line): Do all the work ourselves.
1857 (skip_string): New function.
1858 (parse_string): Use skip_string.
1859 (get_macro_name): New function.
1860 (check_macro_name): Delete.
1861 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
1862 (cpp_skip_hspace): Use CPP_BUMP_LINE.
1863 (handle_directive): ICE if we're called on a macro buffer.
1864 (do_define): Determine macro name and type (funlike/objlike)
1865 here. Expunge all uses of MACRODEF.
1866 (cpp_push_buffer): Set line_base to NULL.
1867 (do_undef, read_line_number): Don't worry about getting a POP token.
1868 (eval_if_expression): Set/reset parsing_if_directive around
1869 cpp_parse_expr. Don't clear only_seen_white.
1870 (skip_if_group): Remove output_conditionals logic. Use
1871 skip_rest_of_line.
1872 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
1873 tokens under appropriate conditions.
1874 (cpp_unassert): Call do_unassert not do_assert. Oops.
1875
1876 * cppexp.c (parse_defined): New function, break out of
1877 cpp_lex.
1878 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
1879 ourselves, with cpp_defined.
1880 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
1881
1882 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
1883 * gcc.dg/strpaste-2.c: New.
1884
1885 2000-02-29 Mark Mitchell <mark@codesourcery.com>
1886
1887 * fold-const.c (size_binop): Don't asert inputs are the same and
1888 have TYPE_IS_SIZETYPE set.
1889 (size_diffop): Likewise.
1890
1891 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
1892
1893 * dwarfout.c (output_block): Output abstract blocks even if they
1894 don't have TREE_ASM_WRITTEN set.
1895
1896 * calls.c (emit_library_call): Check for null REG.
1897
1898 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
1899
1900 * c-decl.c (current_function_decl): Move to toplev.c.
1901 (init_decl_processing): Don't add current_function_decl as a ggc
1902 root here.
1903 * dbxout.c (dbxout_symbol): Change return type to int.
1904 (dbxout_symbol_location, dbxout_syms): Likewise.
1905 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
1906 any locals. Use current_function_func_begin_label if set.
1907 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
1908 * dwarf2out.c (dwarf2out_begin_prologue): Set
1909 current_function_func_begin_label.
1910 * final.c (final_start_function): Reset it.
1911 * toplev.c (current_function_decl): Define it here.
1912 (current_function_func_begin_label): New variable.
1913 (main): Add both as ggc roots.
1914 * tree.h (current_function_func_begin_label): Declare.
1915
1916 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1917
1918 * gcse.c: Cleanups throughout: mostly white-space, but also
1919 some minor rearrangement of code.
1920
1921 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
1922
1923 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
1924 returns a PARALLEL. Use emit_group_load and use_group_regs
1925 as needed.
1926 (emit_library_call_value): Similarly.
1927
1928 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
1929 * pa/quadlib.asm: Remove.
1930 * pa/quadlib.c: New file.
1931
1932 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
1933 * configure: Rebuilt.
1934
1935 2000-02-29 Philip Blundell <pb@futuretv.com>
1936
1937 * config/arm/conix-elf.h: New file.
1938 * configure.in (arm*-*-conix*): New configuration.
1939 * configure: Regenerate.
1940
1941 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
1942
1943 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
1944 don't have TREE_ASM_WRITTEN set.
1945
1946 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1947
1948 * Eliminate DECL_FIELD_SIZE.
1949 * builtins.c (built_in_class_names, built_in_names): New variables.
1950 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
1951 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
1952 DECL_SIZE, not DECL_FIELD_SIZE.
1953 * print-tree.c (print_node): Remove code that prints extra blank
1954 lines in some cases.
1955 Properly handle inline and builtin function cases.
1956 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
1957 * tree.h (built_in_class_named, built_in_names): New declarations.
1958 (union tree_decl): Rename internal unions to u1 and u2 and change
1959 some of their components.
1960 Add new field built_in_class.
1961 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
1962 Reflect above changes.
1963 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
1964 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
1965 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
1966 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
1967
1968 2000-02-28 Dmitri Makarov <dim@windriver.com>
1969
1970 * extend.texi: Document ARM's support for long/short calls.
1971
1972 * invoke.texi: Document ARM's -mlong-calls command line switch.
1973
1974 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
1975 (arm_encode_call_attribute): Add prototype.
1976 (arm_set_default_type_attribute): Add prototype.
1977 (arm_strip_name_encoding): Add prototype.
1978
1979 * config/arm/arm.c (arm_init_cumulative_args): replace
1980 initialisation og 'long_calls' field with initialisation of
1981 'call_cookie' field.
1982 (enum arm_pragma_enum): New enum.
1983 (arm_pragma_long_calls): New static variable.
1984 (arm_process_pragma): Also process "#pragma long_calls_off".
1985 (arm_valid_type_attribute_p): Accept short_call attribute.
1986 (arm_comp_type_attributes): Check long/short call attributes.
1987 (arm_encode_call_attribute): New function: Encode long_call
1988 or short_call attribute in function name.
1989 (arm_set_default_type_attributes): New function: Assign
1990 default attributes to newly defined type.
1991 (current_file_function_operand): New function: Return true if
1992 the symbol is a function which has already been compiled.
1993 (arm_is_longcall_p): New function: Return true if the
1994 indicated function should be called via a long call.
1995 (arm_get_strip_length): New function. Returns number of
1996 prefix characters to be stripped from a function's name.
1997 (arm_strip_name_encoding): New function. Strip prefix characters
1998 from a function's name.
1999
2000 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
2001 with 'call_cookie'.
2002 (SHORT_CALL_FAG_CHAR): Define.
2003 (LONG_CALL_FAG_CHAR): Define.
2004 (ENCODED_SHORT_CALL_ATTR_P): Define.
2005 (ENCODED_LONG_CALL_ATTR_P): Define.
2006 (ARM_NAME_ENCODING_LENGTHS): Define.
2007 (STRIP_NAME_ENCODING): Define.
2008 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
2009 (ARM_ENCODE_CALL_TYPE): Define.
2010 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
2011 (ARM_DECLARE_FUNCTION_SIZE): Define.
2012 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
2013
2014 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
2015 if a long call is needed.
2016 (call_value): Ditto.
2017 (call_symbol): Ditto.
2018
2019 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
2020 ARM_DECLARE_FUNCTION_SIZE.
2021
2022 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
2023 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
2024 (ARM_STRIP_NAME_ENCODING): Undefine.
2025 (STRIP_NAME_ENCODING): Undefine.
2026 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
2027 (ASM_DECLARE_FUNCTION_NAME): Ditto.
2028 (ASM_OUTPUT_COMMON): Ditto.
2029 (ASM_DECLARE_OBJECT_NAME): Ditto.
2030
2031 * config/arm/pe.c (arm_dllexport_name_p): Check for
2032 ARM_PE_FLAG_CHAR.
2033 (arm_dllimport_name_p): Ditto.
2034 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
2035 (arm_mark_dllimport): Ditto.
2036
2037 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2038
2039 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
2040
2041 2000-02-28 Mark Mitchell <mark@codesourcery.com>
2042
2043 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
2044
2045 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
2046
2047 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
2048 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
2049 NO_BUILTIN_WCHAR_TYPE is not defined.
2050 (CPP_WCHAR_TYPE): Delete.
2051 * cccp.c (main): Don't change wchar_type if cplusplus.
2052 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
2053
2054 2000-02-28 Nick Clifton <nickc@cygnus.com>
2055
2056 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
2057
2058 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
2059
2060 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
2061 (ASM_WEAKEN_LABEL): Define.
2062
2063 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
2064
2065 * expr.c (store_constructor): Do not emit USE.
2066 * rtl.h (stupid_life_analysis): Remove.
2067
2068 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2069
2070 * function.c (number_blocks): Reset next_block_index based on
2071 what debugging format is used, not what is defined.
2072
2073 * lcm.c: Minor reformatting throughout.
2074 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
2075
2076 * toplev.c (rest_of_compilation): Account for time in
2077 optimize_mode_switching.
2078
2079 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
2080 if only marking labels.
2081
2082 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
2083
2084 * calls.c (expand_call): Attempt to combine stack adjustments with
2085 pending stack adjustments.
2086
2087 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2088
2089 * loop.c (reg_in_basic_block_p): Don't abort when falling through
2090 to the end of the function.
2091
2092 2000-02-27 Mark Mitchell <mark@codesourcery.com>
2093
2094 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
2095 blocks.
2096 * final.c (next_block_index): Remove.
2097 (max_block_depth): Likewise.
2098 (pending_blocks): Likewise.
2099 (init_final): Don't initialize them.
2100 (final_start_function): Don't set next_block_index. Set up
2101 BLOCK_NUMBER.
2102 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
2103 * function.h (number_blocks): New function.
2104 * function.c (get_block_vector): New function.
2105 (identify_blocks): Use it.
2106 (reorder_blocks): Set NOTE_BLOCK.
2107 (number_blocks): New function.
2108 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
2109 * tree.h (BLOCK_NUMBER): New macro.
2110 (tree_block): Add block_num field.
2111 * dbxout.c (next_block_number): Remove.
2112 (dbxout_init): Don't set it.
2113 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
2114 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
2115 block numbers.
2116 * toplev.c (rest_of_compilation): Always call
2117 find_loop_tree_blocks. Fix indentation.
2118 * dwarf2out.c (next_block_number): Remove.
2119 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
2120 to determine block numbers.
2121 (gen_inlined_subroutine_die): Likewise.
2122 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
2123 (decls_for_scope): Don't increment next_block_number.
2124 * dwarfout.c (next_block_number): Remove.
2125 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
2126 to determine block numbers.
2127 (output_inlined_subroutine_die): Likewise.
2128 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
2129 (output_decls_for_scope): Don't increment next_block_number.
2130 * sdbout.c (next_block_number): Remove.
2131 (sdbout_block): Use BLOCK_NUMBER.
2132 (sdbout_begin_block): Simplify.
2133 * xcoffout.c (next_block_number): Remove.
2134 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
2135 (xcoffout_begin_block): Don't set next_block_number.
2136 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
2137 next_block_number.
2138
2139 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2140
2141 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
2142 (expand_builtin_strcpy): Pass correct type to size_binop.
2143 (expand_builtin_strcmp): Likewise.
2144 Clean up conditional structure.
2145 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
2146 (complete_array_type): Don't use size_binop for MAXINDEX.
2147 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
2148 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
2149 (c_alignof): Use size_one_node.
2150 (build_unary_op): Pass arg of proper type to size_binop.
2151 (really_start_incremental_init, push_init_level): Use sizetype for
2152 constructor{,_bit,_unfilled}_index.
2153 (pop_init_label, output_init_element): Likewise.
2154 (output_pending_init_elements, process_init_element): Likewise.
2155 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
2156 * expr.c (store_expr): Use size_int.
2157 (store_constructor): Use proper types for size_binop args.
2158 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
2159 (expand_expr_unaligned): Likewise.
2160 (string_contant): Return object of sizetype.
2161 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
2162 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
2163 (ARGS_SIZE_TREE): Pass proper types to size_binop.
2164 * fold-const.c (int_const_binop): Refine when size_int is called.
2165 (fold_convert): Likewise.
2166 (size_int_wide): Rework to take KIND as arg, only take low order
2167 bits, handle new sizetype_tab datatype, and chain entries in
2168 size_table.
2169 (size_int_type_wide): New function.
2170 (size_binop): Validate types of arguments.
2171 (ssize_binop): Deleted.
2172 (size_diffop): New function.
2173 (extract_muldiv): Only fold division into multiplication for sizetypes.
2174 * function.c (assign_parms): Use size_diffop and make sure
2175 VAR field is of ssizetype; also pass proper type to size_binop.
2176 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
2177 (round_down): Deleted from here.
2178 * store-layout.c (sizetype_tab): Now an array.
2179 (sizetype_set, early_root_list): New variables.
2180 (variable_size): Use size_one_node.
2181 (round_up): Pass proper type to size_binop.
2182 (round_down): Moved to here and corrected as above.
2183 (layout_record): Pass proper arg types to size_binop.
2184 (layout_type): Likewise.
2185 If sizetype_set is zero, record the type just laid out.
2186 (make_unsigned_type): Don't call set_sizetype;
2187 (make_signed_type): Likewise; also, call fixup_signed_type.
2188 (initialize_sizetypes): New function.
2189 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
2190 set name of bitsizetype to "bit_size_type".
2191 Fix up type of sizes of all types made before call.
2192 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
2193 * tree.c (fix_sizetype): Deleted.
2194 (build_common_tree_nodes): Call initialize_sizetypes.
2195 (build_common_tree_nodes_2): Don't call fix_sizetype.
2196 * tree.h (TYPE_IS_SIZETYPE): New macro.
2197 (initialize_sizetype): New declaration.
2198 (enum size_type_kind): New type.
2199 (struct sizetype_tab): Deleted.
2200 (sizetype_tab): Now array; adjust sizetype macros.
2201 (size_diffop, size_int_type_wide): New functions.
2202 (size_int_wide): Change number of args and type; access macros changed.
2203 (ssize_int, sbitsize_int): New macros.
2204 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
2205 (ROUND_TYPE_SIZE_UNIT): New macro.
2206
2207 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
2208
2209 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
2210
2211 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2212
2213 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
2214 Mark as possibly unused.
2215
2216 * cse.c (cse_insn): Delete dead code involving tablejump.
2217 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
2218
2219 * Makefile.in (libcpp.a): Start by deleting it.
2220
2221 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2222
2223 * cpplib.h (enum file_change_code): Added rename_file.
2224 * cpplib.c (do_line): If a filename is given, set file_change to
2225 rename_file.
2226 (output_line_command): If file_change is rename_file, always
2227 output a # directive with the file name.
2228
2229 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
2230
2231 2000-02-26 Mark Mitchell <mark@codesourcery.com>
2232
2233 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
2234 when copying a PARM_DECL or RESULT_DECL.
2235
2236 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2237
2238 * fix-header.c (recognized_function): Also fix prototypes for
2239 functions taking "void".
2240
2241 2000-02-26 Geoff Keating <geoffk@cygnus.com>
2242
2243 * reload1.c (do_output_reload): Check reg_reloaded_valid before
2244 looking at reg_reloaded_contents.
2245
2246 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
2247
2248 * Makefile.in (STMP_FIXINC): New toggle.
2249 (LIBGCC2_DEPS): Delete all references.
2250 (stmp-headers): Delete target. All references either deleted
2251 or changed to stmp-int-headers.
2252 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
2253 (LIBCPP_OBJS): Take out cppalloc.o.
2254 (cppalloc.o): Delete target.
2255 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
2256 (gen-protos, fix-header): Link with libiberty.a.
2257 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
2258 to empty.
2259
2260 * configure.in: Remove refs to strerror.
2261 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
2262 * system.h: Take out strerror stanza.
2263
2264 * cpperror.c (my_strerror): Delete function.
2265 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
2266 * cppmain.c (main): Call xmalloc_set_program_name first thing.
2267 * cppalloc.c: Delete file.
2268 * gen-protos.c: Don't provide xrealloc.
2269
2270 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
2271 xstrerror throughout.
2272
2273 2000-02-26 Bruce Korb <bkorb@gnu.org>
2274
2275 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
2276 match for DOS headers, too.
2277 * fixinc/inclhack.sh,fixincl.x: Regenerate.
2278
2279 2000-02-26 Geoff Keating <geoffk@cygnus.com>
2280
2281 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
2282 is right for most ELF targets.
2283 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
2284 Let the default file use %U properly.
2285 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
2286 default.
2287
2288 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
2289 numbers.
2290
2291 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2292
2293 * toplev.c (documented_lang_options): Correct spelling error.
2294 (decode_d_option, decode_f_option, main): Likewise.
2295
2296 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
2297
2298 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
2299 to tell assembler it is permitted to expand large constants.
2300
2301 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
2302
2303 * protoize.c: (AUX_INFO_SUFFIX): New macro.
2304 (aux_info_suffix): Use.
2305 (SAVE_SUFFIX): New macro.
2306 (save_suffix): Use.
2307 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
2308 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
2309 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
2310
2311 * invoke.texi (Running Protoize): Update documentation.
2312
2313 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
2314
2315 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
2316
2317 2000-02-25 John Wehle (john@feith.com)
2318
2319 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
2320
2321 2000-02-25 Anthony Green <green@cygnus.com>
2322
2323 * toplev.c (rest_of_compilation): Rebuild jump labels if
2324 combine_instructions has created a new direct jump.
2325 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
2326 when appropriate.
2327 (combine_instructions): Call try_combine with new argument.
2328 Return non-null value when new direct jump instruction is created.
2329 * rtl.h: combine_instructions returns an int.
2330
2331 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
2332
2333 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
2334 jump when changing a computed jump into a jump to a known
2335 target.
2336
2337 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
2338
2339 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
2340 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
2341
2342 * i386.md (define_expand "clrstrsi"): Fix typo.
2343
2344 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
2345
2346 * rtl.texi: Fix typo.
2347
2348 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2349
2350 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
2351 UNITS_PER_WORD. Change caller initial_elimination_offset.
2352 (rounded_frame_size): Take into account that argument pushed has
2353 changed. Fix TARGET_ALIGN_DOUBLE problem.
2354
2355 2000-02-25 Geoff Keating <geoffk@cygnus.com>
2356
2357 * haifa-sched.c (schedule_block): Explain the real reason
2358 we delete REG_SAVE_NOTEs on the first insn of a block.
2359 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
2360
2361 2000-02-24 Mark Mitchell <mark@codesourcery.com>
2362
2363 * input.h (push_srcloc): New function.
2364 (pop_srcloc): Likewise.
2365 * toplev.c (push_srcloc): Define it.
2366 (pop_srcloc): Likewise.
2367
2368 2000-02-24 Richard Henderson <rth@cygnus.com>
2369
2370 * flow.c (life_analysis): When collecting reg info, clear
2371 regs_ever_live.
2372
2373 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2374
2375 Fix bug exposed by reload.c no longer rounding the frame
2376 size to BIGGEST_ALIGNMENT:
2377 * sh.c (rounded_frame_size): New function.
2378 (sh_expand_prologue, sh_expand_epilogue): Use it.
2379 (initial_elimination_offset): Likewise.
2380
2381 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2382
2383 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
2384 * sh-protos.h (sh_need_epilogue): Declare.
2385 * sh.c (sh_need_epilogue_known): New static variable.
2386 (sh_need_epilogue): New function.
2387 (function_epilogue): Clear need_epilogue_known.
2388 * sh.md (return): Split into expander / insn pattern.
2389 Make the expander conditional on ! sh_need_epilogue ().
2390
2391 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
2392
2393 * machmode.h (get_mode_alignment): Declare.
2394 (GET_MODE_ALIGNMENT): Call it.
2395 * stor-layout.c (get_mode_alignment): New function. Make
2396 sure alignment is always power of 2.
2397
2398 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
2399
2400 * i386.h: Remove useless definition of "I386" and misleading
2401 comment above it.
2402
2403 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
2404
2405 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
2406 under which TREE_PERMANENT will be set.
2407 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
2408 build1): Use TREE_SET_PERMANENT.
2409 * print-tree.c (print_node): Don't report value of
2410 TREE_PERMANENT if ggc_p is true.
2411
2412 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
2413 decide whether to give a type a new alias set.
2414 * objc/objc-act.c (build_objc_string_object): Never copy the string.
2415 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
2416 of value of 'obstack'.
2417
2418
2419 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2420
2421 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
2422
2423 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2424
2425 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
2426 * cpplib.c (cpp_get_token): Produce them.
2427 * cppexp.c (cpp_lex): Handle them.
2428
2429 2000-02-23 Nick Clifton <nickc@cygnus.com>
2430
2431 * config/arm/arm.c (arm_comp_type_attributes): Simply and
2432 comment tests on type attributes.
2433
2434 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2435
2436 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
2437 conform to documentation.
2438 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
2439 to check for special cases.
2440 * sh-protos.h (sh_loop_align): Declare.
2441 * sh.c (sh_loop_align): Define.
2442
2443 2000-02-22 Andrew Haley <aph@cygnus.com>
2444
2445 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
2446 (SIZE_TYPE): Is 32 bits when using -mgp32.
2447 (PTRDIFF_TYPE): Ditto.
2448
2449 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2450
2451 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
2452
2453 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
2454
2455 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
2456 BIGGEST_FIELD_ALIGNMENT a constant.
2457
2458 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
2459
2460 * dwarf2out.c (output_line_info): Put the marker for the end of
2461 the line number info at the actual end.
2462 (gen_struct_or_union_type_die): Use decl_function_context
2463 to check for local classes.
2464 * dwarfout.c (output_type): Likewise.
2465
2466 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
2467
2468 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
2469 for arguments with a mode, but no type.
2470 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
2471 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
2472 * pa/long_double.h: New file.
2473 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
2474 both have 128bit wide long doubles.
2475 * configure: Rebuilt.
2476
2477 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2478
2479 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
2480
2481 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
2482 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
2483 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
2484
2485 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
2486
2487 * integrate.c (compare_blocks, find_block): Likewise.
2488
2489 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
2490
2491 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
2492
2493 * stmt.c (stmt_status, set_file_and_line_for_stmt,
2494 expand_asm_operands): Likewise.
2495
2496 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
2497
2498 * predict.c (estimate_probability): Added the pointer heuristic to
2499 the collection of static branch predictors.
2500
2501 2000-02-21 Catherine Moore <clm@cygnus.com>
2502
2503 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
2504 * invoke.texi (-mfix7000): Document.
2505
2506 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
2507
2508 * diagnostic.c (init_output_buffer): Make it possible to output at
2509 least 32 characters if we're given a too long prefix.
2510
2511 2000-02-20 Mark Mitchell <mark@codesourcery.com>
2512
2513 * varasm.c (initializer_constant_valid_p): Call
2514 lang_expand_constant to simplify the constant.
2515
2516 2000-02-20 Bruce Korb <bkorb@gnu.org>
2517
2518 * fixinc/inclhack.def(stdio_va_list):
2519 typedef needs to be disabled.
2520 * fixinc/inclhack.sh: regen
2521 * fixinc/fixincl.x: regen
2522
2523 2000-02-20 Geoff Keating <geoffk@cygnus.com>
2524
2525 * print-rtl.c (print_rtx): Don't print addresses when
2526 flag_dump_unnumbered.
2527
2528 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2529
2530 * sparc.c (sparc_output_scratch_registers): Mark parameter with
2531 ATTRIBUTE_UNUSED.
2532 (sparc_va_arg, sparc_flat_output_function_prologue,
2533 sparc_flat_output_function_epilogue): Cast value to unsigned in
2534 comparison.
2535 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
2536
2537 * sparc.md: Add default case in switch.
2538
2539 2000-02-19 Richard Henderson <rth@cygnus.com>
2540
2541 * c-typeck.c (add_pending_init): Don't abort for multiple
2542 fields at the same offset.
2543 (pending_init_member): Test the correct member.
2544
2545 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2546
2547 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
2548 instead of SImode.
2549 (start_catch_handler) : Same.
2550
2551 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
2552
2553 * Makefile.in: Have flow.o depend on $(EXPR_H)
2554
2555 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2556
2557 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
2558 * c-decl.c (duplicate_decls, finish_enum): Likewise.
2559 (finish_decl): Remove -Wlarger-than code from here.
2560 * flags.h (id_clash_len): Now int.
2561 (larger_than_size): Now HOST_WIDE_INT.
2562 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
2563 Clean up checking to see if in table.
2564 (make_bit_field_ref): Remove extra parm to bitsize_int.
2565 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
2566 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
2567 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
2568 and for computing size of decl.
2569 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
2570 Move -Wlarger-than code to here.
2571 (layout_record): Remove extra arg to bitsize_int.
2572 Set TYPE_BINFO_SIZE_UNIT.
2573 (layout_union): Remove extra arg to bitsize_int.
2574 Use proper type for size of QUAL_UNION.
2575 (layout_type): Remove extra arg to bitsize_int.
2576 * toplev.c (id_clash_len): Now int.
2577 (larger_than_size): Now HOST_WIDE_INT.
2578 (decode_W_option): Clean up id-clash and larger-than- cases.
2579 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
2580 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
2581 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
2582 (struct tree_decl): New field size_unit.
2583 (size_int_wide): No HIGH operand; NUMBER is now signed.
2584 (size_int_2): Deleted.
2585 (size_int, bitsize_int): Don't use it and rework args.
2586 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
2587
2588 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
2589
2590 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
2591
2592 2000-02-18 Geoff Keating <geoffk@cygnus.com>
2593
2594 * invoke.texi (Warning Options): Add an explanation of why
2595 you might want the -Wfloat-equal flag.
2596
2597 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2598
2599 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
2600 * cppinit.c (new_pending_define): Add cast to avoid warning.
2601 * expmed.c (extract_bit_field): Likewise.
2602 * flow.c (enum reorder_skip_type): New type.
2603 (skip_insns_between_blcok): New it.
2604 Rework to avoid warning about possibly undefined variable.
2605 * function.c (assign_parms): Make thisparm_boundary unsigned.
2606 * genrecog.c (write_switch): Cast XWINT result to int.
2607 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
2608 * mips-tfile.c (init_file): Make two versions of FDR intializer:
2609 one for MIPS and one for Alpha.
2610 (get_tag, copy_object): Add casts to avoid warnings.
2611 * optabs.c (init_one_libfunc): Cast NAME to (char *).
2612 * reload.c (find_reloads): Make TYPE enum reload_type.
2613 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
2614 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
2615 * varasm.c (compare_constant_1): Add cast to avoid warning.
2616 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
2617 to (char *).
2618 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
2619 Cast switch operand of size to int.
2620 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
2621 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
2622 in unhandled case.
2623
2624 2000-02-18 Nick Clifton <nickc@cygnus.com>
2625
2626 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
2627 anything for an alignment of zero.
2628
2629 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
2630 anything for an alignment of zero.
2631
2632 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
2633
2634 * gcc.texi (Bug Reporting): Refer to bugs.html.
2635 (Bug Lists): Likewise.
2636 * system.h (GCCBUGURL): New preprocessor define.
2637 * rtl.c (fancy_abort): Use it.
2638 * gcc.c (main): Likewise.
2639
2640 2000-02-18 Richard Henderson <rth@cygnus.com>
2641
2642 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
2643 (life_analysis_1): Subsume into ...
2644 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
2645 Use update_life_info for the relaxation.
2646 (update_life_info): Update REG_BASIC_BLOCK for registers live on
2647 entry and regs_live_at_setjmp.
2648 (set_noop_p): Simplify.
2649 (notice_stack_pointer_modification_1): Renamed from s/_1//.
2650 (record_volatile_insns): Split into ...
2651 (delete_noop_moves): ... here,
2652 (notice_stack_pointer_modification): ... here,
2653 (insn_dead_p): ... and here.
2654 (propagate_block): Don't query INSN_VOLATILE.
2655 (mark_used_regs): Mind !PROP_REG_INFO.
2656 * toplev.c (rest_of_compilation): Call mark_constant_function here,
2657 not in life_analysis.
2658
2659 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
2660
2661 * loop.c (canonicalize_condition): New function,
2662 broken out of get_condition.
2663 (get_condition): Use it.
2664 * expr.h (canonicalize_condition): Prototype it.
2665
2666 * tree.h (tree_int_cst_msb): Declare.
2667 * tree.c (tree_int_cst_msb): New function.
2668
2669 2000-02-17 Mark Mitchell <mark@codesourcery.com>
2670
2671 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
2672 isn't set.
2673
2674 * invoke.texi (-fmessage-length=n): Document.
2675
2676 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
2677
2678 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
2679
2680 2000-02-17 Mark Mitchell <mark@codesourcery.com>
2681
2682 * function.c (thread_prologue_and_epilogue_insns): Put a line note
2683 after the prologue.
2684
2685 2000-02-17 Nick Clifton <nickc@cygnus.com>
2686
2687 * config/arm/thumb.c: Replace includes of system headers with
2688 #include "system.h".
2689
2690 2000-02-16 Richard Henderson <rth@cygnus.com>
2691
2692 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
2693 Add crtbeginS.o and crtendS.o.
2694 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
2695 (ENDFILE_SPEC): Use crtendS.o.
2696 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
2697
2698 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
2699 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
2700 shared and present.
2701 (__dso_handle): New variable.
2702 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
2703 bias to __CTOR_END__.
2704
2705 2000-02-16 Richard Henderson <rth@cygnus.com>
2706
2707 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
2708
2709 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
2710
2711 * longlong.h (__clz_tab): Declare as static to match definition.
2712
2713 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
2714 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
2715 (XREF_FILE_NAME): Define.
2716
2717 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
2718 (EH_FRAME_SECTION_ASM_OP): Define.
2719 (IDENT_ASM_OP): Define.
2720 (TEXT_SECTION_ASM_OP): Define.
2721 (CPP_SPEC): Define.
2722 (CTORS_SECTION_ASM_OP): Define.
2723 (CTOR_SECTION_FUNCTION): Use it.
2724 (DTORS_SECTION_ASM_OP): Define.
2725 (DTOR_SECTION_FUNCTION): Use it.
2726
2727 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
2728
2729 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
2730 NOTE_BASIC_BLOCK.
2731
2732 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
2733 debug_bb_n): New functions.
2734 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
2735 * basic-block.h: Prototype new functions.
2736
2737 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
2738
2739 * configure.in: Add support for avr target.
2740 * configure: Rebuilt.
2741
2742 * invoke.texi: Add AVR invocation docs.
2743 * install.texi: Add information about AVR.
2744 * md.texi: Add AVR constraint letters description.
2745 * extend.texi: Add description for AVR specific attributes.
2746
2747 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
2748
2749 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
2750
2751 2000-02-16 Nick Clifton <nickc@cygnus.com>
2752
2753 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
2754 (make_insn_raw): Move RTL check here.
2755
2756 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2757
2758 * version.c: Include gansidecl.h and version.h.
2759
2760 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
2761
2762 * configure.in (gcc_version): When setting, narrow search to
2763 lines containing `version_string'.
2764
2765 * Makefile.in (mainversion): Likewise.
2766 (GCC_H): New variable.
2767 (gcc.h): Delete target.
2768 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
2769 (version.o): Depend on version.h.
2770 (dbxout.o): Don't depend on gcc.h.
2771
2772 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
2773 Michael Meissner <meissner@cygnus.com>
2774
2775 * md.texi (Simple Constraints): Add item about whitespace.
2776 * genoutput.c (strip_whitespace): New.
2777 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
2778 strip_whitespace for constraints.
2779 Test pointer using NULL, not 0.
2780
2781 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2782
2783 * cpplib.c (do_line): Pedwarn for #line > 32767.
2784
2785 * c-lex.c (readescape): Warn about '\x', but do not reject it.
2786
2787 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
2788
2789 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
2790 to default cpp spec.
2791 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
2792 * cpp.texi: Document __GNUC_PATCHLEVEL__.
2793 * cpp.1: Likewise.
2794
2795 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
2796 default spec.
2797
2798 2000-02-15 Denis Chertykov <denisc@overta.ru>
2799
2800 * configure.in: Add support for avr target.
2801
2802 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2803
2804 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
2805 (sh_addr_diff_vec_mode): Don't declare.
2806 * sh.c (sh_addr_diff_vec_mode): Delete.
2807
2808 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2809
2810 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
2811
2812 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2813
2814 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
2815 (smulsi3_highpart_i): Name.
2816 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
2817 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
2818 (smulsi3_highpart, umulsi3_highpart): Likewise.
2819
2820 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
2821 correctly independent of endianness.
2822 (mulsidi3, umulsidi3): Now define_insn. Hide details that
2823 confuse the optimizers.
2824 (mulsidi3+1, umulsidi3+1): New define_split.
2825
2826 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
2827
2828 * config/sh/sh.md: Guard insn splits against illegal registers.
2829 * config/sh/sh.h: Correct comment about macros.
2830
2831 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2832 Andrew MacLeod <amacleod@cygnus.com>
2833
2834 * Makefile.in (lcm.o): Depend on insn-attr.h.
2835 * basic-block.h (optimize_mode_switching): Declare.
2836 * lcm.c (tm_p.h, insn-attr.h): #include.
2837 (seginfo, bb_info): New structs.
2838 (antic, transp, comp, delete, insert) : New file-scope static variables.
2839 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
2840 (reg_becomes_live, optimize_mode_switching): Likewise.
2841 * tm.texi: Add description of mode switching macros.
2842 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
2843
2844 * sh-protos.h (remove_dead_before_cse): Remove prototype.
2845 (fldi_ok, fpscr_set_from_mem): New prototypes.
2846 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
2847 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
2848 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
2849 (sh_flag_remove_dead_before_cse): Remove declaration.
2850 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
2851 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
2852 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
2853 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
2854 (barrier_align): Allow for JUMP_INSNS containing a parallel.
2855 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
2856 (fldi_ok): New function.
2857 (get_fpscr_rtx): Add fpscr_rtx as GC root.
2858 (emit_sf_insn): Only generate fpu switches when optimize < 1.
2859 (emit_df_insn): Likewise.
2860 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
2861 (sh_flag_remove_dead_before_cse): Delete.
2862 (get_free_reg, fpscr_set_from_mem): New functions.
2863 * sh.md (movdf, movsf): Remove no_new_pseudos code.
2864 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
2865
2866 2000-02-15 Loren Rittle <ljrittle@acm.org>
2867
2868 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
2869
2870 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2871
2872 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
2873 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
2874
2875 * cccp.c: Include version.h and/or don't declare `version_string'.
2876 * collect2.c: Likewise.
2877 * alpha.c: Likewise.
2878 * arm/aof.h: Likewise.
2879 * arm/coff.h: Likewise.
2880 * arm/elf.h: Likewise.
2881 * arm/pe.h: Likewise.
2882 * arm/tcoff.h: Likewise.
2883 * arm/telf.h: Likewise.
2884 * arm/tpe.h: Likewise.
2885 * arm/vxarm.h: Likewise.
2886 * convex/convex.c: Likewise.
2887 * i386/dgux.c: Likewise.
2888 * i386/sun386.h: Likewise.
2889 * m88k/m88k.c: Likewise.
2890 * mcore/mcore-pe.h: Likewise.
2891 * mips/mips.h: Likewise.
2892 * romp/romp.h: Likewise.
2893 * sh/sh.c: Likewise.
2894 * cpphash.c: Likewise.
2895 * cppinit.c: Likewise.
2896 * dwarf2out.c: Likewise.
2897 * dwarfout.c: Likewise.
2898 * gcc.c: Likewise.
2899 * gcc.h: Likewise.
2900 * mips-tfile.c: Likewise.
2901 * protoize.c: Likewise.
2902 * toplev.c: Likewise.
2903 * tree.h: Likewise.
2904
2905 * version.c (version_string): Constify a char*.
2906
2907 * version.h: New file.
2908
2909 2000-02-14 Nick Clifton <nickc@cygnus.com>
2910
2911 * configure.in: Add mcore-elf and mcore-pe targets.
2912 * configure: Regenerate.
2913
2914 * NEWS: Add note that MCore port has been contributed.
2915
2916 * invoke.texi: Document command line switches for MCore port.
2917 * install.texi: Add MCore to list of supported targets.
2918
2919 2000-02-14 Geoff Keating <geoffk@cygnus.com>
2920
2921 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
2922 then we will need to import the frame handling functions.
2923 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
2924 to import the frames themselves.
2925
2926 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
2927 Jason Eckhardt <jle@cygnus.com>
2928
2929 * basic_block.h: Added prototype for reorder_basic_blocks.
2930 * toplev.c: Changes to add -freorder-blocks and graph dump after
2931 block reordering is done.
2932 * flow.c (reorder_block_def): New structure for use during block
2933 reordering.
2934 (REORDER_BLOCK_*): New macros to access members of above structure.
2935 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
2936 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
2937 functions for block reordering.
2938
2939 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
2940
2941 * gcc.texi (Passes): Fix typo.
2942 * md.texi (Standard Names): Ditto.
2943 * tm.texi (Storage Layout): Ditto.
2944
2945 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
2946
2947 * cpplib.c (do_define): Only free the old definition if it
2948 actually had one.
2949
2950 2000-02-13 Neil Booth <NeilB@earthling.net>
2951
2952 * cppfiles.c (read_and_prescan): When emitting deferred
2953 newlines, test speccase[] again instead of checking each
2954 possible whitespace character in turn. When we encounter \r,
2955 look behind for \n first, then ahead.
2956
2957 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
2958
2959 * cse.c (cse_altered): New internal flag.
2960 (cse_insn): Set it if we changed an insn.
2961 (cse_main): Clear cse_altered before each basic block.
2962 Only garbage collect if cse_altered is true afterward.
2963
2964 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2965
2966 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
2967
2968 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
2969
2970 * combine.c (simplify_comparison): Fix typo.
2971
2972 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
2973
2974 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
2975 consistently.
2976
2977 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2978
2979 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
2980 previously inserted node instead of root node. Caller changed.
2981
2982 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2983
2984 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
2985
2986 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2987
2988 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
2989 __dereg_frame_dtor): Add prototype argument.
2990
2991 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
2992
2993 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
2994
2995 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
2996
2997 * gthr-vxworks.h (__gthread_once): Likewise.
2998
2999 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
3000
3001 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
3002
3003 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
3004 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
3005 stack pointer in functions w/o saved registers, output LEAVE more often
3006 on TARGET_USE_LEAVE machines.
3007
3008 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
3009
3010 * config/arm/arm.c (arm_init_cumulative_args); New function:
3011 Initlaise the CUMULATIE_ARGS strcuture for a function
3012 defintion.
3013 (arm_function_arg): New function: Determine where to place a
3014 function's argument. Also handles deciding the function's
3015 call cookie.
3016 (current_file_function_operand): New function: Return true if
3017 the symbol is a function which has already been compiled.
3018 (arm_is_long_call_p): New function: Return true if the
3019 indicated function should be called via a long call.
3020 (arm_valid_type_attribute_p): New function: Return true if the
3021 attribute is a valid, arm specific, attribute.
3022 (arm_comp_type_attribute): New function: Return true if the
3023 two types have compatable, arm specific, attributes.
3024
3025 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
3026 structure.
3027 (FUNCTION_ARG): Redefine to call arm_function_arg.
3028 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
3029 structure field.
3030 (INIT_CUMULATIVE_ARGS): Redefine to call
3031 arm_init_cumulative_args.
3032 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
3033 field.
3034 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
3035 field.
3036 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
3037 functions.
3038 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
3039 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
3040 (COMP_TYPE_ATTRIBUTES): Define.
3041
3042 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
3043 if a long call is needed.
3044 (call_value): Call arm_is_long_call_p to decide if a long call
3045 is needed.
3046 (call_symbol): Call arm_is_long_call_p to decide if a long call
3047 is needed.
3048
3049 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
3050
3051 2000-02-11 Denis Chertykov <denisc@overta.ru>
3052
3053 * README.AVR: New file with information about the avr ports.
3054 * config/avr: New directory with avr port files.
3055
3056 2000-02-11 Andreas Jaeger <aj@suse.de>
3057
3058 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
3059
3060 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
3061
3062 * cpphash.c: Fix formatting, update commentary.
3063 (dump_definition): Take three separate arguments instead of a
3064 MACRODEF structure argument.
3065 * cpphash.h: Update prototype of dump_definition.
3066 * cppinit.c (cpp_finish): Update call of dump_definition.
3067
3068 * cpplib.c (do_define): Always create new hash entry with
3069 T_MACRO type. Remove redundant check for redefinition of
3070 poisoned identifier. Update call of dump_definition.
3071 (do_undef): Don't call check_macro_name. Rename sym_length to
3072 len.
3073 (do_error, do_warning): Don't use copy_rest_of_line or
3074 SKIP_WHITE_SPACE.
3075 (do_warning): Don't use pedwarn for the actual warning,
3076 only the notice about its not being in the standard. (Fixes
3077 bug with #warning in system headers.)
3078 (do_ident): Stricter argument checking - accept only a single
3079 string after #ident. Also, macro-expand the line.
3080 (do_xifdef): Use cpp_defined. De-obfuscate.
3081
3082 (do_pragma): Split out specific pragma handling to separate
3083 functions. Use get_directive_token. Update commentary. Do
3084 not pass on #pragma once or #pragma poison to the front end.
3085 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
3086 do_pragma_default): New.
3087
3088 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
3089
3090 * jump.c (jump_optimize_1): The first operand in a relational
3091 can be a CONST_INT.
3092 * optabs.c (emit_conditional_move): Handle relationals which
3093 have a known true/false result.
3094
3095 2000-02-11 Geoff Keating <geoffk@cygnus.com>
3096
3097 * function.c (thread_prologue_and_epilogue_insns): Don't insert
3098 a RETURN insn into a block which already ends with a jump.
3099
3100 2000-02-11 Geoff Keating <geoffk@cygnus.com>
3101
3102 * haifa-sched.c (BUF_LEN): Increase a lot.
3103
3104 2000-02-11 Nick Clifton <nickc@cygnus.com>
3105
3106 * configure.in: Add tm_p_file specification for thumb targets.
3107 * configure: Regenerate.
3108
3109 * config/arm/thumb-protos.h: New file: Prototypes for exported
3110 functions defined in thumb.c.
3111
3112 2000-02-11 Robert Lipe <robertl@sco.com>
3113
3114 * Makefile.in (bootstrap-lean): Remove additional files.
3115 (bootstrap2-lean): Likewise.
3116 (VOL_FILES): List of files for above.
3117
3118 2000-02-11 Nathan Sidwell <nathan@acm.org>
3119
3120 * cpphash.c (special_symbol): Remove spurious argument to
3121 cpp_lookup.
3122
3123 2000-02-11 Joel Sherrill (joel@OARcorp.com>
3124
3125 * configure.in: (i*86-*-rtems*): Swapped elf and coff
3126 stanzas.
3127 * configure: Rebuilt.
3128
3129 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
3130
3131 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
3132
3133 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
3134
3135 * pa.c, pa.h: Remove trigraph sequences within comments.
3136
3137 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
3138
3139 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
3140
3141 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
3142
3143 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
3144
3145 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3146
3147 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
3148
3149 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3150
3151 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
3152 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
3153 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
3154 (ASM_FILE_END): Use c4x_file_end.
3155 * config/c4x/c4x.c (c4x_global_label): New function.
3156 (c4x_external_ref, c4x_file_end): Likewise.
3157
3158 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
3159 (c4x_external_ref, c4x_end_file): Likewise.
3160
3161 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
3162
3163 * cppexp.c: Don't include cpphash.h.
3164 (parse_charconst, cpp_lex): Use cpp_defined.
3165 (cpp_lex): Use get_directive_token throughout. Remove
3166 unnecessary cases from switch. Move assertion-handling code
3167 down to OTHER case.
3168 (cpp_parse_expr): If we see '+' or '-', check the context to
3169 determine if they are unary or binary operators. Streamline
3170 the jumps a bit. Do not call skip_rest_of_line.
3171
3172 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
3173 static. Export get_directive_token. Update commentary.
3174 (cpp_defined): New function.
3175 (do_define): Remove reference to T_PCSTRING. Call
3176 free_definition to release memory for old definition, when
3177 redefining a macro.
3178 (eval_if_expression): Set only_seen_white to 0 before calling
3179 cpp_parse_expr. Call skip_rest_of_line after it returns.
3180 (cpp_read_check_assertion): Don't preserve a pointer into the
3181 token buffer across a call to cpp_get_token.
3182
3183 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
3184 * cppfiles.c (redundant_include_p): Use cpp_defined.
3185 * cpphash.c (free_definition): New function.
3186 (delete_macro): Use it. Update commentary.
3187 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
3188 free_definition.
3189 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
3190 from enum node_type. Prototype cpp_defined and get_directive_token.
3191 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
3192
3193 * fix-header.c (check_macro_names): Use cpp_defined.
3194 (read_scan_file): Set inhibit_warnings and inhibit_errors in
3195 the options structure.
3196
3197 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3198
3199 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
3200
3201 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
3202
3203 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
3204 rather than die->die_tag.
3205
3206 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3207
3208 * combine.c (make_extraction, force_to_mode): Avoid warning on
3209 mixed-signedness conditionals.
3210 (make_field_assignment, nonzero_bits): Likewise.
3211 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
3212 (store_split_bit_field, extract_split_bit_field): Likewise.
3213 (extract_fixed_bit_field, store_bit_field,
3214 * expr.c: Change alignment to be unsigned everywhere.
3215 (move_by_pieces, store_constructor_field, store_constructor):
3216 Alignment parm is unsigned.
3217 (emit_block_move, emit_group_load, emit_group_store): Likewise.
3218 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
3219 (do_compare_rtx_and_jump): Likewise.
3220 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
3221 Compare align with GET_MODE_ALIGNMENT.
3222 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
3223 (get_inner_reference): Likewise.
3224 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
3225 (expand_assignment): Local vars for alignment now unsigned.
3226 (store_constructor, store_field, expand_expr, do_jump): Likewise.
3227 (do_compare_and_jump): Likewise.
3228 (store_field): Call new function expr_align.
3229 * expr.h (emit_block_move, emit_group_load, emit_group_store):
3230 Alignment arg now unsigned.
3231 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
3232 (do_compare_rtx_and_jump, store_bit_field): Likewise.
3233 (extract_bit_field): Likewise.
3234 * fold-const.c (add_double): Add cast to eliminate signedness warning.
3235 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
3236 (get_best_mode): Alignment arg is unsigned.
3237 * rtl.h (move_by_pieces): Likewise.
3238 * store-layout.c (maximum_field_alignment, set_alignment):
3239 Now unsigned.
3240 (layout_decl): Alignment arg is now unsigned.
3241 Remove unneeded casts.
3242 (layout_record, layout_union, layout_type): Remove unneeded casts.
3243 Local alignment variables now unsigned.
3244 (get_best_mode): Alignment arg now unsigned.
3245 * tree.c (expr_align): New function.
3246 * tree.h (expr_align): Likewise.
3247 (maximum_field_alignment, set_alignment): Now unsigned.
3248 (get_inner_reference): Alignment argument is now pointer to unsigned.
3249 * varasm.c (assemble_variable): Add cast to eliminate warning.
3250
3251 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
3252
3253 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
3254 then store directly into op0.
3255
3256 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
3257 the CALL_INSN, and emit the note immediately after it.
3258
3259 2000-02-10 Nick Clifton <nickc@cygnus.com>
3260
3261 * config/arm/thumb.md (epilogue): Include a (return) in the
3262 generated insn, and emit it using emit_jump_insn not
3263 emit_insn.
3264
3265 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
3266
3267 * function.c (assign_temp): Change zero-sized arrays to size 1.
3268 * integrate.c (expand_inline_function): Do not update
3269 stack_alignment_needed
3270 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
3271 add some sanity checking, remove optimization for function with
3272 zero frame size.
3273
3274 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3275
3276 * flow.c (mark_regs_live_at_end): Delete unused variables.
3277
3278 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
3279
3280 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
3281 in macro FRAME_GROWS_DOWNWARD.
3282
3283 * stmt.c (expand_end_bindings): Delete unused variable.
3284
3285 * unroll.c (iteration_info): Mark parameter `loop' with
3286 ATTRIBUTE_UNUSED.
3287
3288 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3289
3290 * fixinc/server.c (load_data): Return NULL if the marker line is
3291 not found.
3292 (run_shell): If load_data returns NULL, retry the command once, in
3293 a new shell.
3294
3295 * configure: Rebuilt.
3296
3297 2000-02-09 Bruce Korb <bkorb@gnu.org>
3298
3299 * gcc/fixincludes: ** DELETED **
3300 * gcc/fixcpp: ** DELETED **
3301 * gcc/fixinc-nt.sed: ** DELETED **
3302 * gcc/just-fixinc: ** DELETED **
3303 * gcc/Makefile.in: Removed out-dated commentary
3304 * gcc/configure.in: Removed fast-fixincludes disablement.
3305 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
3306
3307 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
3308 * function.c (thread_prologue_and_epilogue_insns): Uncomment
3309 last change.
3310
3311 2000-02-09 Richard Henderson <rth@cygnus.com>
3312
3313 * jump.c (delete_insn): Don't delete user labels at -O0.
3314
3315 2000-02-09 Robert Lipe <robertl@sco.com>
3316
3317 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
3318 Don't link with HOST_LIBS.
3319
3320 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
3321
3322 * configure.in: Correct --help text for --with-dwarf2.
3323 Put tm-dwarf2.h after other tm files, if it's requested.
3324 * configure: Regenerate.
3325 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
3326 defining it.
3327
3328 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
3329
3330 * cpplib.h: Provide HASHNODE typedef and forward decl of
3331 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
3332 DEFINITION, struct hashnode, struct macrodef, struct
3333 definition, scan_decls prototype, default defn of
3334 INCLUDE_LEN_FUDGE moved elsewhere.
3335
3336 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
3337 definition, and struct hashnode moved here. Remove the unused
3338 'predefined' field from struct definition. Replace the 'args'
3339 union with its sole member. All users updated (cpphash.c).
3340 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
3341 multiple include guard.
3342
3343 * cpphash.c (hashf): Make static; use better algorithm; drop
3344 HASHSIZE parameter; return an unsigned int.
3345 (cpp_lookup): Drop HASH parameter. PFILE parameter is
3346 used. Calculate HASHSIZE modulus here.
3347 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
3348 here.
3349 (create_definition): Drop PREDEFINITION parameter.
3350 * cpplib.c (do_define): Don't calculate a hash value here.
3351 Don't pass (keyword == NULL) to create_definition.
3352
3353 * scan.h: Prototype scan_decls here.
3354 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
3355 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
3356 callers of cpp_lookup and cpp_install updated.
3357
3358 * cpphash.c (macarg): Hoist all the flag diddling out of the
3359 function...
3360 (macroexpand): ... and out of the loop that calls macarg.
3361 Skip over the initial paren before macro arguments with
3362 cpp_get_non_space_token; point may be some distance before
3363 that paren. Abort if it's not there.
3364
3365 * cpplib.c (parse_clear_mark): Delete function.
3366 (parse_set_mark, parse_goto_mark): Make static.
3367 (ACTIVE_MARK_P): New macro.
3368 (skip_block_comment, skip_line_comment): Do not bump the line
3369 if ACTIVE_MARK_P is true.
3370 (cpp_pop_buffer): The buffer to be popped may not have an
3371 active mark.
3372 (cpp_get_token): When looking for the initial paren before
3373 macro arguments, only set a mark in a file buffer, Always
3374 return to that mark before proceeding to call macroexpand or
3375 return a NAME token.
3376
3377 * cpplib.h: Remove prototypes of parse_set_mark,
3378 parse_clear_mark, parse_goto_mark.
3379 (struct cpp_options): Rename 'put_out_comments' to
3380 'discard_comments' and invert its sense.
3381 * cppinit.c, cpphash.c, cpplib.c: All users of
3382 put_out_comments changed to use discard_comments, with
3383 opposite sense.
3384
3385 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
3386
3387 * function.c (thread_prologue_and_epilogue_insns): Don't delete
3388 the edge from a block that both jumps and falls through to the
3389 fallthru block.
3390
3391 2000-02-09 Scott Bambrough <scottb@netwinder.org>
3392
3393 * config/arm/arm.md (movsi): In PIC mode, make sure that a
3394 constant source address is legitimate.
3395
3396 2000-02-09 Philip Blundell <pb@futuretv.com>
3397
3398 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
3399 correctly.
3400
3401 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
3402 generating PIC.
3403 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
3404
3405 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
3406
3407 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
3408 ends with a newline and a NUL. Don't be so clever manipulating
3409 strings.
3410
3411 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
3412
3413 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
3414 not to BIGGEST_ALIGNMENT.
3415
3416 2000-02-08 Geoff Keating <geoffk@cygnus.com>
3417
3418 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
3419 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
3420 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
3421 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
3422 * frame.c (execute_cfa_insn): Handle
3423 DW_CFA_GNU_negative_offset_extended.
3424
3425 2000-02-08 Richard Henderson <rth@cygnus.com>
3426
3427 * flow.c (tidy_fallthru_edges): Split out from ...
3428 (delete_unreachable_blocks): ... here.
3429 (find_basic_blocks): Use it.
3430
3431 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3432
3433 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
3434
3435 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
3436
3437 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
3438 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
3439 (fix-header.o): Don't depend on cpphash.h.
3440
3441 * scan.c (hashstr): New function.
3442 * scan.h: Prototype it.
3443 * fix-header.c: Don't include cpphash.h. Use hashstr.
3444 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
3445 hashstr. Report hash table statistics. Add private
3446 definition of xrealloc.
3447
3448 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3449
3450 * i386.h (TARGET_SWITCHES): Fix typo in option name.
3451
3452 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
3453
3454 * function.c (thread_prologue_and_epilogue_insns): Don't replace
3455 jumps with returns unless they are jumps to the fallthru block.
3456
3457 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
3458
3459 * i386.md (addqi3_cc): Fix contraints.
3460
3461 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
3462
3463 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
3464
3465 2000-02-07 Mark Mitchell <mark@codesourcery.com>
3466
3467 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
3468 carriage return after a macro name.
3469
3470 2000-02-07 Fred Fish <fnf@be.com>
3471
3472 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
3473 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
3474
3475 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
3476
3477 * cppfiles.c (deps_output): Count spacers in deps_column.
3478
3479 2000-02-07 Neil Booth <NeilB@earthling.net>
3480
3481 * cppinit.c (initialize_dependency_output): If there is no
3482 suffix, don't try to look for known suffixes. Use strrchr.
3483 (cpp_start_read): Remove duplicate initialization.
3484
3485 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
3486
3487 * calls.c (compute_argument_block_size): New argument
3488 preferred_stack_boundary.
3489 (expand_call): update cfun->preferred_stack_boundary, update call of
3490 compute_argument_block_size
3491 (emit_library_call): Increate cfun->preferred_stack_boundary
3492 to PREFERRED_STACK_BOUNDARY
3493 (emit_library_call_value): Likewise.
3494 * explow.c (allocate_dynamic_stack_spave): Likewise.
3495 * function.c (prepare_function_start): Set
3496 cfun->preferred_stack_boundary
3497 * function.h (struct function): Add preferred_stack_boundary field.
3498 * integrate.c (expand_inline_function): Update
3499 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
3500 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
3501 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
3502
3503 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
3504
3505 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
3506 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
3507 cpp_pedwarn, cpp_pedwarn_with_line,
3508 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
3509 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
3510 v_cpp_error_with_line, v_cpp_warning_with_line,
3511 cpp_message_from_errno, cpp_perror_with_name): Delete.
3512
3513 * cpperror.c (cpp_print_containing_files): Take starting
3514 buffer as argument.
3515 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
3516 (v_cpp_message): Now called directly by all entry points.
3517 Remove -1 case.
3518 (cpp_pfatal_with_name, cpp_message): Delete.
3519 (cpp_notice_from_errno, cpp_ice): New functions.
3520 (cpp_notice): Is now for reporting error conditions, just
3521 without an associated file.
3522 (cpp_error, cpp_error_with_line): Don't do anything if
3523 opts->inhibit_errors is on.
3524 (cpp_pedwarn_with_file_and_line): Take column argument also.
3525
3526 * cpplib.h: Update prototypes of exported functions.
3527 (struct cpp_options): Add inhibit_errors.
3528
3529 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
3530 non-error messages. Include intl.h.
3531
3532 * cppinit.c, cppmain.c: Likewise. Also, use
3533 cpp_notice_from_errno instead of cpp_perror_with_name or
3534 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
3535
3536 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
3537 report internal errors.
3538
3539 * cpplib.c (do_define): Switch bcopy to memcpy.
3540 Give cpp_pedwarn_with_file_and_line a dummy column argument.
3541
3542 * cpplib.c (copy_rest_of_line): Revert previous change: don't
3543 bail out early if we hit a line comment.
3544
3545 2000-02-06 Richard Henderson <rth@cygnus.com>
3546
3547 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
3548 * basic-block.h: Declare them.
3549 * emit-rtl.h (active_insn_p): New.
3550 (next_active_insn, prev_active_insn): Use it.
3551 * rtl.h: Declare it.
3552 * function.c (emit_return_into_block): New.
3553 (thread_prologue_and_epilogue_insns): Insert return insns instead
3554 of epilogues when possible.
3555 * jump.c (jump_optimize_1): Remove code to insert a return insn
3556 on the fallthru to the exit block.
3557
3558 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
3559 and for non-empty stack frames.
3560 * i386.md (return): Expand to return-pop as needed.
3561
3562 2000-02-06 Richard Henderson <rth@cygnus.com>
3563
3564 * simplify-rtx.c (simplify_relational_operation): Canonicalize
3565 constant to op1 for testing.
3566
3567 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3568
3569 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
3570 (fixuns_truncqfqi2): Use it.
3571
3572 2000-02-06 Richard Henderson <rth@cygnus.com>
3573
3574 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
3575 as a TYPE_LEA insn.
3576
3577 * i386.md (widening and peepholes): Mask the constant instead of
3578 using gen_lowpart.
3579
3580 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
3581
3582 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
3583 input pointer before possibly branching off to the backslash
3584 code.
3585 * cpphash.c (macroexpand): Correctly delete \r escapes when
3586 stringifying parameters.
3587 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
3588 if we can; bail out early if we hit a line comment.
3589 (handle_directive): Treat '# 123' in an .S file just like
3590 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
3591 Return 1 for '# not_a_directive'.
3592 (get_directive_token): Pop macro buffers here, so that
3593 cpp_get_token can't sneakily move past a newline.
3594 Add sanity checks.
3595 (cpp_get_token): goto randomchar if handle_directive returns 0.
3596
3597 * cppalloc.c: Update copyright.
3598 * cpplib.c: Merge all the static function prototypes into one
3599 block.
3600 * cpplib.h: Remove #if 0 block.
3601
3602 * cpperror.c: Remove #ifdef EMACS block.
3603 * cppmain.c: Likewise.
3604 * cpphash.c: Remove #if 0 blocks.
3605 * cppinit.c: Remove #if 0 blocks, and the -lint option.
3606 * cpplib.c: Remove #if 0 blocks and code referencing
3607 pcp_inside_if or for_lint. Remove duplicate error message.
3608 Fix error messages for #else after #else or #elif. Reformat.
3609 Remove archaic TODO list.
3610 * cpplib.h: Remove pcp_inside_if and for_lint flags.
3611
3612 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
3613
3614 * i386/osf1elf.h: Add missing backslash to multiline string.
3615
3616 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3617
3618 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
3619
3620 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3621
3622 * Makefile.in (c-common.o): Depend on $(EXPR_H).
3623
3624 * c-common.c: Include expr.h.
3625
3626 * c-pragma.c (mark_align_stack): Add prototype.
3627
3628 * caller-save.c (add_stored_regs): Likewise.
3629
3630 * combine.c (record_promoted_value): Likewise.
3631
3632 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
3633 Likewise.
3634
3635 * cppinit.c (new_pending_define): Likewise.
3636
3637 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
3638
3639 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
3640 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
3641 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
3642 class_scope_p): Likewise.
3643
3644 * dwarf2out.h (dwarf2out_set_demangle_name_func,
3645 dwarf2out_add_library_unit_info): Likewise.
3646
3647 * ggc.h (ggc_page_print_statistics): Likewise.
3648
3649 * haifa-sched.c (propagate_deps): Likewise.
3650
3651 * reg-stack.c (next_flags_user, record_label_references): Likewise.
3652
3653 * rtl.h (set_stack_check_libfunc): Likewise.
3654
3655 * toplev.h (set_fatal_function): Likewise.
3656
3657 * toplev.c (set_fatal_function): Delete prototype.
3658
3659 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
3660
3661 2000-02-05 Geoff Keating <geoffk@cygnus.com>
3662
3663 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
3664 (FUNC_END): Likewise.
3665
3666 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3667
3668 * caller-save.c: Include tm_p.h.
3669
3670 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3671
3672 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
3673
3674 2000-02-04 Neil Booth <NeilB@earthling.net>
3675
3676 * cccp.c (main): Check 'dir' for a NULL pointer before passing
3677 it to strcmp.
3678
3679 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
3680
3681 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
3682 * genflags.c: Use the max_operand_1 logic from genemit.c to
3683 calculate how many arguments gen_insn prototypes have. Remove
3684 NO_MD_PROTOTYPES ifdefs from the generated file.
3685 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
3686 file. Cast gen_insn initializers to insn_gen_fn.
3687 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
3688 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
3689
3690 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3691
3692 * fixinc/Makefile.in (HDR): Add machname.h.
3693 (clean): Likewise.
3694
3695 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3696
3697 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
3698 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
3699 (c4x_cpu_version): Ditto.
3700 * config/c4x/c4x-protos.h: ... here.
3701
3702 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
3703
3704 * dwarf2out.c (add_abstract_origin_attribute): Don't call
3705 gen_abstract_function on our context if we're a nested function.
3706
3707 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3708
3709 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
3710 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
3711
3712 2000-02-04 Bruce Korb <bkorb@gnu.org>
3713
3714 * fixinc/genfixes(machname.h):
3715 Move the functionality from gen-machine.h into this file.
3716 UNdef MN_NAME_PAT if there are no names to change.
3717 Also, be a little kinder when AutoGen is not present.
3718
3719 * fixinc/Makefile.in(machname.h):
3720 Change the generation rule to use genfixes.
3721
3722 * fixinc/fixfixes.c(machine_name):
3723 machine_name_fix's functionality now dependent upon whether
3724 MN_NAME_PAT is defined.
3725
3726 * fixinc/fixtests.c(machine_name):
3727 ditto.
3728
3729 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
3730 of MN_NAME_PAT.
3731
3732 * fixinc/fixlib.h(mn_get_regexps):
3733 ditto
3734
3735 * fixinc/gen-machine.h: DELETED
3736
3737 2000-02-04 Jan Hubicka <jh@suse.cz>
3738 Richard Henderson <rth@cygnus.com>
3739
3740 * i386.c (SAVE_REGS_FIRST): Remove.
3741 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
3742 (ix86_compute_frame_size): Likewise.
3743 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
3744 (ix86_emit_restore_regs): Remove.
3745 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
3746 when a frame pointer is in use.
3747 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
3748 instead of pop to restore a register when profitable; emit leave
3749 when profitable.
3750 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
3751 as a TYPE_LEA insn.
3752 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
3753 * i386.md (prologue_allocate_stack): Remove.
3754 (epilogue_deallocate_stack): Remove.
3755 (pro_epilogue_adjust_stack): New.
3756
3757 2000-02-04 Richard Henderson <rth@cygnus.com>
3758
3759 * function.c (diddle_return_value): Rework to use a callback function.
3760 Use current_function_return_rtx if it's been set up.
3761 (do_clobber_return_reg, clobber_return_register): New.
3762 (do_use_return_reg, use_return_register): New.
3763 (expand_function_end): Use them.
3764 * stmt.c (expand_null_return): Likewise.
3765 * function.h: Declare them.
3766 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
3767 (mark_reg): Change arguments as appropriate for callback.
3768 * integrate.c (expand_inline_function): Revert 19 Jan change.
3769
3770 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
3771
3772 * tm.texi (Values in Registers): Fix typo: "fo" "for".
3773 (Misc): Say the scheduler, not the Haifa scheduler.
3774
3775 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
3776
3777 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
3778 when in_mem is set. Update all callers.
3779
3780 2000-02-04 Richard Henderson <rth@cygnus.com>
3781
3782 * i386/openbsd.h (INT_ASM_OP): Define.
3783
3784 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
3785
3786 * tm.texi: Fix various typos.
3787
3788 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
3789
3790 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
3791 (MD_STARTFILE_PREFIX_1): New macro.
3792
3793 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
3794
3795 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
3796 destination when needed.
3797 (strmovsi, strsetsi): New expander.
3798 (strmovsi_1, strsetsi_1): New pattern.
3799 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
3800 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
3801 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
3802 * invoke.texi (align-stringops, inline-all-stringops): Document.
3803
3804 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
3805
3806 * i386/netbsd.h (INT_ASM_OP): Define.
3807
3808 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
3809
3810 * cpplib.h (cpp_reader): Add new flag, no_directives.
3811 * cpphash.c (macarg): Set it.
3812 * cpplib.c (handle_directive): If no_directives is on and we
3813 find a directive, issue an error and discard the line.
3814
3815 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
3816
3817 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
3818 FP constants. Add ! TARGET_FPU check for FP constants.
3819
3820 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
3821
3822 * flow.c (find_basic_blocks): Don't kill label_value_list
3823 here.
3824 (cleanup_cfg): Kill it here.
3825
3826 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3827
3828 * expr.c (store_field): Ensure ALIGN is no stricter than the
3829 alignment of EXP.
3830
3831 2000-02-02 Richard Henderson <rth@cygnus.com>
3832
3833 * jump.c (delete_insn): Partially revert 19 Jan change;
3834 don't convert unused code labels to notes at -O0.
3835
3836 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3837
3838 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
3839 split_all_insns to recreate REG_LABEL notes for flow2 pass.
3840
3841 2000-02-01 Richard Henderson <rth@cygnus.com>
3842
3843 * i386.c (general_no_elim_operand): New.
3844 (nonmemory_no_elim_operand): New.
3845 (ix86_expand_move): Copy eliminable operands before a push.
3846 * i386-protos.h: Declare new functions.
3847 * i386.h (CAN_ELIMINATE): Simplify.
3848 (PREDICATE_CODES): Update.
3849 * i386.md (push insns): Don't allow eliminable register operands.
3850
3851 2000-02-01 Richard Henderson <rth@cygnus.com>
3852
3853 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
3854 replace BLKmode with DECL_RTL's mode.
3855
3856 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
3857
3858 * frame.c (find_fde): Convert for loop to do-while so compiler
3859 sees it's always executed at least once.
3860 * libgcc2.c (BBINBUFSIZE): Kill.
3861 (__bb_init_prg): Use fgets.
3862 (__bb_exit_trace_func): Don't paste strings.
3863 * unroll.c (unroll_loop): Initialize unroll_type, not
3864 unroll_number, and tweak logic to match.
3865
3866 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
3867 all failure paths.
3868 (ix86_flags_dependant): Likewise. Disentangle control flow.
3869 (ix86_sched_reorder): Break guts out to
3870 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
3871 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
3872 any possible use.
3873
3874 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
3875 use string concatenation. Don't save and restore esi.
3876
3877 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
3878 (machname.h): Remove script to separate file. Use two-step
3879 sequence so target is not created if script fails.
3880 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
3881 identifiers are defined.
3882 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
3883 an empty string, machine_name doesn't need to do anything at
3884 all.
3885 (is_cxx_header): Add more cases to regexp.
3886 * fixinc/fixlib.h: Update prototype.
3887 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
3888 mn_get_regexps.
3889 * fixinc/fixincl.c: Define NO_BOGOSITY.
3890
3891 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
3892 (hp_sysfile): Add missing comma.
3893 (math_exception): Put the wrapper ifdefs at the beginning and
3894 the end of the file.
3895 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
3896
3897 2000-02-01 Richard Henderson <rth@cygnus.com>
3898
3899 * sparc.c (fp_zero_operand): Turn into a normal predicate.
3900 Use CONST0_RTX. Update all callers.
3901 * sparc.h, sparc-protos.h: Update accordingly.
3902 * sparc.md (fp mov insns): Use fp_zero_operand directly
3903 where applicable.
3904
3905 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
3906
3907 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
3908 example.
3909
3910 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3911
3912 * Makefile.in (specs.ready): New target.
3913 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
3914
3915 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3916
3917 * fixinc.irix: Use unique filenames for writing into /tmp,
3918 * fixinc.ptx: Likewise.
3919 * fixinc.sco: Likewise.
3920 * fixinc.svr4: Likewise.
3921 * fixinc.winnt: Likewise.
3922
3923 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3924
3925 * tsystem.h: New file.
3926
3927 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
3928 s-crtS): Depend on tsystem.h.
3929
3930 * crtstuff.c: Include tsystem.h.
3931 * frame.c: Likewise.
3932 * libgcc2.c: Likewise.
3933
3934 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
3935
3936 * builtins.c (expand_builtin_memset): Expand for variable sized
3937 lengths too.
3938
3939 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
3940
3941 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
3942 on ABI.
3943
3944 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
3945
3946 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
3947
3948 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
3949
3950 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
3951
3952 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
3953 case 3->2 combining (combining with splitting) in which 2 is CC0
3954 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
3955 checked at the begining of the function with the aid of calling
3956 function 'can_combine_p'.
3957
3958 2000-01-31 Dave Brolley <brolley@redhat.com>
3959
3960 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
3961
3962 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
3963
3964 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
3965 new label.
3966
3967 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3968
3969 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
3970
3971 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
3972 PROTO -> PARAMS.
3973
3974 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
3975
3976 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
3977 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
3978 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
3979 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
3980 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
3981 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
3982 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
3983 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
3984 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
3985 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
3986
3987 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
3988 Add %(cpp_cpu) to CPP_SPEC.
3989
3990 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
3991 Add %(cc1_cpu) to CC1_SPEC.
3992
3993 2000-01-28 Ulrich Drepper <drepper@redhat.com>
3994
3995 * c-decl.c (c_decode_option): Accept optional numeric argument to
3996 -Wformat and set warn_format.
3997 * c-common.c: Don't emit warning about non-constant printf format
3998 string unless warn_format > 1.
3999
4000 2000-01-30 Richard Henderson <rth@cygnus.com>
4001
4002 * alpha.md (return_internal): Allow after reload only.
4003
4004 2000-01-30 Richard Henderson <rth@cygnus.com>
4005
4006 * i386.c (ix86_compute_frame_size): Omit padding1 if the
4007 local frame size is zero.
4008
4009 2000-01-30 Richard Henderson <rth@cygnus.com>
4010
4011 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
4012 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
4013 * alpha.md (return): Turn into an expander.
4014 (return_internal): Don't use $26.
4015 (epilogue): Emit the return insn.
4016
4017 2000-01-30 Richard Henderson <rth@cygnus.com>
4018
4019 * alpha.md (negtf2, abstf2): Fix word order thinko.
4020 (extendsftf2): New.
4021 (trunctfsf2): Avoid intermediate rounding errors.
4022
4023 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
4024
4025 * cppfiles.c (find_position): Drop 'colp' argument, return the
4026 new line base.
4027 (read_and_prescan): Adjust to match. Don't ever manipulate
4028 line or line_base except via find_position.
4029
4030 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
4031
4032 * c-parse.in: Apply Ulrich's changes from c-parse.y.
4033 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
4034 Regenerate.
4035
4036 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
4037
4038 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
4039 just print "<command line>". If 'filename' is null or an
4040 empty string, print "<stdin>" for the filename.
4041 * cpplib.c (do_define): Don't print the 'location of the
4042 previous definition' message if we're still parsing the
4043 command line.
4044 (cpp_pedwarn_with_file_and_line): Always call
4045 cpp_file_line_for_message.
4046
4047 2000-01-29 Mark Mitchell <mark@codesourcery.com>
4048
4049 * flow.c (mark_regs_live_at_end): Fix typo.
4050
4051 2000-01-28 Ulrich Drepper <drepper@redhat.com>
4052
4053 * c-common.c: Adjust variable names, comments, help strings to c99.
4054 * c-lex.c: Likewise.
4055 * c-parse.y: Likewise.
4056 * c-tree.h: Likewise.
4057 * cccp.c: Likewise.
4058 * cpplib.h: Likewise.
4059 * c-decl.c: Likewise. Recognize options with names "*99" as well.
4060 * cppinit.c: Likewise.
4061
4062 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4063
4064 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
4065 * c4x.c: Define the optab rtx values.
4066 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
4067 (c4x_emit_libcall): Use new optab rtx values.
4068 (c4x_emit_libcall3): Likewise.
4069 (c4x_emit_libcall_mulhi): Likewise.
4070 * c4x-protos.h: Add prototypes for optab rtx values and change
4071 prototypes for above c4x_emit_libcall functions.
4072
4073 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4074
4075 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
4076 syntax is used.
4077 (c4x_function_prologue): Use regnames intead of float_reg_names when
4078 TI syntax is used.
4079 (c4x_function_epilogue): Likewise.
4080 (c4x_print_operand): Likewise.
4081 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
4082 * c4x.md (set_high): Disable for TARGET_TI.
4083
4084 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4085
4086 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
4087 of framepointer + constant to ADDR_REGS class.
4088 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
4089 * c4x.c (std_or_reg_operand): New function.
4090 * c4x-protos.h (std_or_reg_operand): Prototype it.
4091
4092 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4093
4094 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
4095 object names as libgcc2.c.
4096 * libgcc.S: Use newly defined names.
4097
4098 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
4099 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
4100 function.
4101 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
4102 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
4103 (FLOW_LOOP_LAST_BLOCK): Likewise.
4104
4105 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4106
4107 * basic-block.h (struct loop): New fields 'first' and 'last'.
4108 * flow.c (flow_loops_find): Compute loop->first and loop->last.
4109 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
4110 and loop->last to check for NOTE_INSN_LOOP_END.
4111
4112 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
4113
4114 * predict.c (estimate_probability): Use the new FIRST and LAST fields
4115 of the loop descriptor rather than HEADER and LATCH. Also added
4116 missing break statements as well making some coding style modifications
4117 as suggested by Michael Hayes.
4118
4119 2000-01-28 Richard Henderson <rth@cygnus.com>
4120
4121 * flow.c (find_basic_blocks): Remove do_cleanup argument.
4122 Break out that code ...
4123 (cleanup_cfg): ... here.
4124 (commit_one_edge_insertion): Detect a return instruction being
4125 emitted to an edge. Emit a barrier following; clear fallthru.
4126 (commit_edge_insertions): Verify CFG consistency.
4127 * function.c (expand_function_start): Kill unused variable.
4128 (expand_function_end): Likewise.
4129 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
4130 to insert the epilogue.
4131
4132 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
4133 (delete_null_pointer_checks): Likewise.
4134 * output.h: Likewise.
4135 * reg-stack.c (reg_to_stack): Likewise.
4136 * toplev.c (rest_of_compilation): Likewise. Run
4137 thread_prologue_and_epilogue_insns after rebuilding the CFG.
4138
4139 2000-01-28 Richard Henderson <rth@cygnus.com>
4140
4141 * Makefile.in (flow.o): Revert 24 Jan change.
4142 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
4143 FUNCTION_VALUE result to DECL_RESULT's mode.
4144
4145 * haifa-sched.c (schedule_insns): Don't recompute reg info
4146 after reload.
4147
4148 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
4149
4150 * configure.in: Make --enable-cpplib the default.
4151 * configure: Regenerate.
4152 * gcc.dg/990119-1.c: No longer expected to fail.
4153
4154 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
4155
4156 * jump.c (jump_optimize_1): Delete an optimization that is also done
4157 by merge_blocks in flow.
4158
4159 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4160
4161 * diagnostic.c (build_message_string, output_printf,
4162 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
4163 (build_location_prefix): Fix non-literal format string.
4164
4165 2000-01-27 Richard Henderson <rth@cygnus.com>
4166
4167 * alpha.md (trunctfsf2): New.
4168
4169 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
4170
4171 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
4172
4173 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
4174
4175 * cppinit.c (cpp_handle_option): Recognize C++ comments under
4176 -std=gnu89.
4177 * cpplib.c (skip_block_comment, skip_line_comment): Split code
4178 out of...
4179 (skip_comment) ... here. Permit C++ comments in system
4180 headers always. Warn about C++ comments in user code under
4181 -std=gnu89 -pedantic.
4182 (copy_comment): Use skip_comment.
4183 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
4184 return EOF.
4185 (consider_directive_while_skipping, do_else, do_endif): Call
4186 validate_else unconditionally.
4187 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
4188 text after the conditional in a system header.
4189 * cpplib.h (struct cpp_buffer): Add flag
4190 warned_cplusplus_comments.
4191
4192 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
4193
4194 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
4195 Use unshare_all_rtl_1.
4196 (unshare_all_rtl_again): New function.
4197 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
4198
4199 * function.c (purge_addressof_1): Use unshare_all_rtl_again
4200 rather than resetting the 'used' flags ourself.
4201
4202 * toplev.c (rest_of_compilation): Add current_function_decl
4203 to the unshare_all_rtl call.
4204 * tree.h: Prototype unshare_all_rtl.
4205 * rtl.h: Prototype unshare_all_rtl_again here.
4206
4207 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
4208
4209 * genoutput.c (output_prologue): Include ggc.h in generated
4210 files.
4211 * Makefile.in (insn-output.o): Depends on ggc.h.
4212
4213 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
4214 Hans-Peter Nilsson <hp@bitrange.com>
4215
4216 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
4217 Remove redundant include of xm-ns32k.h.
4218 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
4219 Remove redundant include of xm-ns32k.h.
4220 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
4221 Remove redundant include of xm-ns32k.h.
4222 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
4223
4224 * ns32k/ns32k.h: Update comment on multiply-add instructions.
4225 (TARGET_SWITCHES): Add documentation strings.
4226 (DWARF_FRAME_REGNUM): Override default definition.
4227 (REG_CLASS_CONTENTS): Add comments.
4228 (SUBSET_P): Format to reduce line length.
4229 (SMALL_REGISTER_CLASSES): Make a run time option.
4230 (GO_IF_NONINDEXED_ADDRESS): Reformat.
4231 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
4232 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
4233 (regclass_map): fix typo in comment.
4234 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
4235 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
4236 (trace, reg_or_mem_operand): Delete, unused function.
4237 (calc_address_cost): Small offsets are cheaper than large ones.
4238 (expand_block_move): Generate more efficient code when bytes is a
4239 known at compile time.
4240 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
4241 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
4242 instead of reg_or_mem_operand.
4243
4244 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
4245 not general_operand. Similarly use "=rm" or stricter, not "=g".
4246 For input operands, use stricter constraints than "g" if not
4247 general_operand. Similarly use stricter predicate than
4248 "general_operand" when stricter constraints than "g" are present,
4249 except for matching constraints.
4250 (movstrsi): Use "memory_operand" for operands 0 and 1.
4251 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
4252 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
4253 not reg_or_mem_operand.
4254 (udivmoddisi4): Ditto.
4255 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
4256 Use nonimmediate_operand for operand 3, not register_operand.
4257 (udivmoddiqi4_internal): Use register_operand for operand 1, not
4258 reg_or_mem_operand.
4259
4260 2000-01-27 Fred Fish <fnf@be.com>
4261
4262 * gthr-posix.h: Fix typo; compatibily -> compatibility.
4263 * gthr-single.h: Likewise.
4264 * gthr-solaris.h: Likewise.
4265 * gthr-vxworks.h: Likewise.
4266 * gthr-win32.h: Likewise.
4267 * gthr.h: Likewise.
4268
4269 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
4270
4271 * cppinit.c: Add " (cpplib)" to end of string printed by
4272 -v / --version.
4273
4274 2000-01-27 Richard Henderson <rth@cygnus.com>
4275
4276 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
4277 testing for a signed comparison.
4278 (alpha_emit_floatuns): New.
4279 * alpha-protos.h: Declare it.
4280 * alpha.md (floatunsdisf2, floatunsdidf2): New.
4281 (extendsfdf2): Tidy.
4282
4283 2000-01-27 Jakub Jelinek <jakub@redhat.com>
4284
4285 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
4286 no -g option specifying debugging format, default to -gstabs+.
4287
4288 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4289
4290 * calls.c (special_function_p): New argument fork_or_exec.
4291 (expand_call): When profile_arc_flag is set and the function
4292 is in the fork_or_exec group, call __bb_fork_func first.
4293 * libgcc2.c, _bb module (__bb_fork_func): New function.
4294 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
4295 output file.
4296 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
4297 * tree.h (special_function_p): Update prototype.
4298
4299 2000-01-26 Richard Henderson <rth@cygnus.com>
4300
4301 * alpha.c (alpha_split_tfmode_pair): New.
4302 * alpha-protos.h: Declare it.
4303 * alpha.md (abstf2, negtf2): New.
4304 (movtf insn): Add input G constraint.
4305 (movtf splitter): Use alpha_split_tfmode_pair.
4306
4307 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4308
4309 * i386/cygwin.h: PROTO -> PARAMS.
4310
4311 2000-01-26 Jakub Jelinek <jakub@redhat.com>
4312
4313 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
4314 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
4315 using _Qp_cmp/_Q_cmp and testing the return value.
4316 (print_operand): Call reverse_condition_maybe_unordered if
4317 we are handling CCFPmode or CCFPEmode.
4318 Handle ORDERED, UN* and LTGT comparisons.
4319 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
4320 if not TARGET_HARD_QUAD.
4321 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
4322 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
4323 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
4324 Adjust gen_b* calls so that they reflect return comparison of
4325 sparc_emit_float_lib_cmp.
4326
4327 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4328
4329 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
4330 incoming operands array is large enough for one more operand.
4331 (alpha_emit_xfloating_arith): Likewise.
4332
4333 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
4334
4335 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
4336 file with one line and no trailing newline.
4337 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
4338 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
4339 checking if the match is on the line.
4340 * fixinc/gnu-regex.c: Provide regerror not __regerror.
4341
4342 2000-01-25 Richard Henderson <rth@cygnus.com>
4343
4344 * sparc.c (output_cbranch): Fix accidental squashing of the
4345 fp branch pre-delay nop.
4346
4347 2000-01-25 Richard Henderson <rth@cygnus.com>
4348
4349 * tree.def (UNNE_EXPR): Remove.
4350 * c-typeck.c (build_binary_op): Don't handle it.
4351 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
4352
4353 * rtl.def (UNNE): Remove.
4354 (LTGT): Add.
4355 * jump.c (reverse_condition): Update accordingly.
4356 (swap_condition): Likewise.
4357 (comparison_dominates_p): Handle unordered comparisons.
4358 (reverse_condition_maybe_unordered): New.
4359 * rtl.h (reverse_condition_maybe_unordered): Declare.
4360
4361 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
4362 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
4363 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
4364 * sparc.md (bltgt): New.
4365
4366 2000-01-25 Nick Clifton <nickc@redhat.com>
4367
4368 * emit-rtl.c (emit_insn): Only check machine class insns for
4369 improper emission of a RETURN.
4370
4371 2000-01-25 Richard Henderson <rth@cygnus.com>
4372
4373 * Makefile.in (flow.o): Depend on $(EXPR_H).
4374 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
4375 duplicate the structure of diddle_return_value for keeping regs live.
4376
4377 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4378
4379 * loop.c (current_loop_info): Delete.
4380 (consec_sets_invariant_p): Add loop argument, update callers.
4381 (get_condition_for_loop): Likewise.
4382 (count_nonfixed_reads, update_giv_derive): Likewise.
4383 (simplify_giv_expr, general_induction_var): Likewise.
4384 (consec_sets_giv, recombine_givs): Likewise.
4385 (move_movables): Delete loop_start and loop_end arguments,
4386 add loop argument, and update callers.
4387 (find_mem_givs, check_final_value): Likewise.
4388 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
4389 (loop_invariant_p): Rename from invariant_p, add loop argument, and
4390 update callers.
4391 (basic_induction_var): Add loop argument, delete loop_level argument,
4392 and update callers.
4393 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
4394 add loop argument, and update callers.
4395 (find_splittable_regs, find_splittable_givs): Likewise.
4396 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
4397 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
4398 (biv_total_increment): Delete loop_start and loop_end arguments;
4399 update callers.
4400 (precondition_loop_p): Delete loop_start and loop_info arguments;
4401 update callers.
4402 * loop.h (get_condition_for_loop): Add loop argument.
4403 (biv_total_increment): Delete loop_start and loop_end arguments.
4404 (precondition_loop_p): Delete loop_start and loop_info arguments;
4405 add loop argument.
4406 (final_biv_value): Delete loop_start and loop_end arguments;
4407 add loop argument.
4408 (final_giv_value, back_branch_in_range_p): Likewise.
4409
4410 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
4411
4412 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
4413
4414 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
4415
4416 * Makefile.in (c-gperf.h) : Change the "See" pointer to
4417 point to the new "generated_files" doc.
4418
4419 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
4420
4421 * config/fp-bit.c (_unord_f2): Fix typo.
4422
4423 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
4424
4425 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
4426 c-typeck.c, objc/objc-act.c: Remove all references to obstack
4427 functions obsoleted by GC, such as push_obstacks_nochange,
4428 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
4429 and code which existed only to decide whether or not to call
4430 them. Remove now-unused NESTED argument from start_function;
4431 all callers changed. Do not change behavior based on ggc_p.
4432 The use of the ixp_obstack in c-iterate.c and the util_obstack
4433 in objc/objc-act.c remain; these are not obsoleted by garbage
4434 collection.
4435 * c-tree.h: Update prototype for start_function.
4436
4437 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
4438
4439 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
4440
4441 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
4442 mips16.
4443
4444 2000-01-25 Richard Henderson <rth@cygnus.com>
4445
4446 * sparc-protos.h (select_cc_mode): Declare.
4447 * sparc.c (select_cc_mode): New. Handle unordered compares.
4448 (output_cbranch): Always reverse via code change. Handle
4449 unordered compares. Factor tests and string updates.
4450 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
4451 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
4452 * sparc.md (bunordered, bordered): New.
4453 (bungt, bunlt, buneq, bunge, bunle): New.
4454
4455 2000-01-25 Richard Henderson <rth@cygnus.com>
4456
4457 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
4458 * ggc-common.c (ggc_add_rtx_varray_root): New.
4459 (ggc_mark_rtx_varray): New.
4460 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
4461 functions down below ggc_mark_foo.
4462 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
4463
4464 2000-01-25 Richard Henderson <rth@cygnus.com>
4465
4466 * alpha.c (secondary_reload_class): Don't allocate a secondary
4467 for integral mode memories into FLOAT_REGS. Rearrange the more
4468 complicated memory expression inward.
4469
4470 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
4471
4472 * inclhack.def: Fixes to play nicer with FreeBSD, and
4473 corrections to comments.
4474 (cxx_unready): Add select expression.
4475 (irix_sockaddr): Add bypass expression.
4476 (machine_ansi_h_va_list): New fix.
4477 (stdio_va_list): No need to edit _BSD_VA_LIST_.
4478 Split out addition of "#include <stdarg.h>" to...
4479 (stdio_stdarg_h): ... here.
4480 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
4481 to stdlib.h also. Do not munge _BSD_SIZE_T_.
4482 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
4483 size_t.
4484 (ultrix_ifdef): Tighten up select expression.
4485
4486 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
4487 re_ct and max_mach to avoid use of shell. Make printed names
4488 match names in inclhack.def. Use static copyright date.
4489 Don't count c_test and test expressions as requiring regex_t
4490 slots. Add some commentary.
4491 * inclhack.tpl: Do not include the 'This script contains N
4492 fixup scripts' line if PROGRAM is defined. Use static
4493 copyright date.
4494
4495 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
4496
4497 * dwarf2out.c: include "varray.h", not dyn-string.h.
4498 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
4499 (addr_const_to_string, addr_to_string): Lose.
4500 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
4501 (struct dw_val_struct): val_addr is now an rtx.
4502 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
4503 (used_rtx_varray): New varray.
4504 (dwarf2out_init): Initialize it.
4505 (save_rtx): New fn.
4506 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
4507 addr_to_string.
4508 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
4509 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
4510 * Makefile.in (dwarf2out.o): Update dependencies.
4511
4512 2000-01-24 Richard Henderson <rth@cygnus.com>
4513
4514 * i386.c (i386_dwarf_output_addr_const): New.
4515 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
4516
4517 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
4518 if defined.
4519 * dwarfout.c (output_mem_loc_descriptor): Likewise.
4520 * i386.c (i386_simplify_dwarf_addr): New.
4521 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
4522
4523 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
4524
4525 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
4526 TYPE_STUB_DECL is NULL.
4527
4528 2000-01-24 Richard Henderson <rth@cygnus.com>
4529
4530 * builtins.c (expand_tree_builtin): Move ...
4531 * c-common.c (expand_tree_builtin): ... here.
4532
4533 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4534
4535 * loop.h (LOOP_INFO): New accessor macro.
4536 * basic-block.h (struct loop): Rename field `info' to `aux'.
4537 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
4538 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
4539 * unroll.c (loop_iterations, unroll_loop): Likewise.
4540
4541 2000-01-24 Christopher Faylor <cgf@cygnus.com>
4542
4543 * config/i386/t-cygwin: Accomodate new winsup directory layout
4544 when searching for include files.
4545
4546 2000-01-24 Richard Henderson <rth@cygnus.com>
4547
4548 * rtl.def: Add unordered fp comparisions.
4549 * tree.def: Likewise.
4550 * tree.h: Add ISO C 9x unordered fp comparision builtins.
4551
4552 * builtins.c (expand_tree_builtin): New function.
4553 * c-typeck.c (build_function_call): Use it.
4554 (build_binary_op): Support unordered compares.
4555 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
4556
4557 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
4558 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
4559 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
4560 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
4561 * jump.c (reverse_condition): Don't abort for UNLE etc, but
4562 return UNKNOWN.
4563 (swap_condition): Handle unordered compares.
4564 (thread_jumps): Check can_reverse before reversing.
4565 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
4566 reversed for FP.
4567
4568 * optabs.c (can_compare_p): New argument CODE. Verify branch or
4569 setcc is present before acking for cmp_optab. Update all callers.
4570 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
4571 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
4572 * expr.c (expand_expr): Likewise. Support unordered compares.
4573 (do_jump, do_store_flag): Likewise.
4574 * expr.h (enum libfunc_index): Add unordered compares.
4575
4576 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
4577 (DPBIT_FUNCS): Add _unord_df.
4578 * config/fp-bit.c (_unord_f2): New.
4579 * fp-test.c (main): Try unordered compare builtins.
4580
4581 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
4582 * alpha.c (alpha_comparison_operator): Check mode properly.
4583 (alpha_swapped_comparison_operator): Likewise.
4584 (signed_comparison_operator): Likewise.
4585 (alpha_fp_comparison_operator): New.
4586 (alpha_emit_conditional_branch): Handle unordered compares.
4587 * alpha.h (PREDICATE_CODES): Update.
4588 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
4589 (bunordered, bordered): New.
4590
4591 2000-01-24 Richard Henderson <rth@cygnus.com>
4592
4593 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
4594 * alpha.md (movtf): New expander, insn, and splitter.
4595
4596 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
4597
4598 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
4599 dead registers.
4600
4601 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
4602
4603 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
4604 (FIXED_REGISTERS, CALL_USED_REGISTERS,
4605 REG_ALLOC_ORDER): Add frame pointer
4606 (FRAME_POINTER_REGNUM): Set to 20
4607 (HARD_FRAME_POINTER_REGNUM): New macro.
4608 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
4609 to HARD_FRAME_POINTER.
4610 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
4611 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
4612 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
4613 (HI_REGISTER_NAMES): Add "frame".
4614 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
4615 (debug_reg): Handle FRAME_POINTER_REGNUM.
4616 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
4617 GENERAL_REGS and INDEX_REGS.
4618 * i386.c (SAVED_REGS_FIRST): new macro.
4619 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
4620 (ix86_decompose_address, memory_address_length): Likewise.
4621 (regclass_map): Add frame pointer.
4622 (call_insn_operand): Handle frame_pointer_rtx.
4623 (reg_no_sp_operand): Likewise.
4624 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
4625 (print_operand, legitimize_pic_address): Fix formating.
4626 (ix86_compute_frame_size): Make static, update prototype, new
4627 parameters padding1, padding2, use ix86_nsaved_regs, use
4628 stack_alignment_needed.
4629 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
4630 to HARD_FRAME_POINTER_REGNUM conversions.
4631 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
4632 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
4633 (print_reg): Abort on FRAME_POINTER_REGNUM
4634
4635 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
4636
4637 * i386.h (PREDICATE_CODES): Add aligned_operand.
4638 * i386.c (aligned_operand): New function.
4639 (ix86_aligned_p): Kill.
4640 * i386.md (movhi_1): Emit mov for aligned operands.
4641 (promoting peep2s): Use aligned_operand.
4642
4643 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
4644
4645 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
4646 expression to allow underscores in macro names.
4647 (fix_char_macro_defines): Increment scanning pointer.
4648
4649 2000-01-23 Richard Henderson <rth@cygnus.com>
4650
4651 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
4652 * alpha/osf5.h: New file.
4653 * configure.in (alpha-*-osf5): Add it to tm_file.
4654
4655 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
4656
4657 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
4658 (alpha_emit_xfloating_cvt, function_arg): Declare.
4659 * alpha.c (alpha_emit_conditional_branch): Call
4660 alpha_emit_xfloating_compare for TFmode compares.
4661 (alpha_lookup_xfloating_lib_func): New.
4662 (alpha_compute_xfloating_mode_arg): New.
4663 (alpha_emit_xfloating_libcall): New.
4664 (alpha_emit_xfloating_arith): New.
4665 (alpha_emit_xfloating_compare): New.
4666 (alpha_emit_xfloating_cvt): New.
4667 (print_operand): Add default abort case.
4668 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
4669 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
4670 (BIGGEST_ALIGNMENT): Increase to 128 bits.
4671 (RETURN_IN_MEMORY): True for TF/TCmode.
4672 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
4673 (FUNCTION_ARG): Move to function_arg.
4674 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
4675 (ASM_OUTPUT_LONG_DOUBLE): New.
4676 (ASM_OUTPUT_DOUBLE): Always output bits.
4677 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
4678 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
4679 (extenddftf2, trunctfdf2): New.
4680
4681 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4682
4683 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
4684 * config/sparc/sol2.h: ... here.
4685
4686 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4687
4688 * basic-block.h (struct loops): New field `levels'.
4689 * flow.c (flow_loops_level_compute): Traverse all outer loops.
4690 (flow_loop_level_compute): Initialise level to 1.
4691 (flow_loops_find): Set loops->levels.
4692 (flow_loops_dump): Print loops->levels.
4693
4694 2000-01-23 Richard Henderson <rth@cygnus.com>
4695
4696 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
4697 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
4698
4699 2000-01-23 Richard Henderson <rth@cygnus.com>
4700
4701 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
4702 * i386.h (DBX_REGISTER_NUMBER): Use them.
4703 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
4704 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
4705 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
4706 * i386/sequent.h: Kill incorrect comment.
4707
4708 2000-01-23 Mark Mitchell <mark@codesourcery.com>
4709
4710 * ggc-page.c (struct page_entry): Make `context_depth' an
4711 `unsigned short'.
4712 (struct globals): Likewise.
4713
4714 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
4715
4716 * loop.c (check_dbra_loop): When checking a loop for
4717 reversability, check the source of any stores to ensure
4718 they don't depend on an initial value.
4719
4720 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4721
4722 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
4723
4724 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
4725
4726 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
4727 'pz_scan' into scope of entire function. Only affects
4728 compiles with -DDEBUG.
4729
4730 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
4731
4732 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
4733 section naming to that prior to 2000-01-07 patch.
4734 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
4735 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
4736 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
4737 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
4738 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
4739
4740 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
4741
4742 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
4743 constant.
4744
4745 2000-01-21 Jim Wilson <wilson@cygnus.com>
4746
4747 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
4748 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
4749
4750 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
4751
4752 * cpphash.c (change_newlines): Delete function.
4753 (struct argdata): Delete 'newlines' and 'use_count' fields.
4754 (macroexpand): Remove code referencing those fields.
4755
4756 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4757
4758 * loop.c (loops_info): New variable.
4759 (loop_optimize): Allocate loops->array and free it on exit.
4760 Allocate memory for loops_info and assign to each loop,
4761 replacing alloca.
4762 (find_and_verify_loops): Do not allocate loops->array.
4763
4764 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
4765
4766 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
4767
4768 2000-01-21 Jakub Jelinek <jakub@redhat.com>
4769
4770 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
4771 pseudos if expanded after first flow.
4772 (movdi_pic_label_ref): Likewise.
4773
4774 2000-01-20 Richard Henderson <rth@cygnus.com>
4775
4776 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
4777
4778 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
4779
4780 * Makefile.in (fixinc.sh): Depend on specs.
4781 * fixinc/Makefile.in: Add rule to create machname.h.
4782 (fixlib.o): Depend on machname.h.
4783 * fixinc/fixtests.c (machine_name): New test.
4784 * fixinc/fixfixes.c (machine_name): New fix.
4785 * fixinc/fixlib.c (mn_get_regexps): New helper function for
4786 the machine_name test and fix.
4787 * fixinc/fixlib.h: Prototype it.
4788 * fixinc/inclhack.def (machine_name): Use the C test and fix.
4789 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
4790
4791 * gcc.c (do_spec_1) [case P]: Take care not to create
4792 identifiers with three leading or trailing underscores.
4793
4794 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
4795 (fixincl): Don't specify libraries twice on link line.
4796 (gnu-regex.o): Remove special rule.
4797 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
4798 defined by config.h. Do not define _REGEX_RE_COMP.
4799 (regcomp): Allocate and initialize a fastmap.
4800 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
4801
4802 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
4803
4804 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
4805
4806 2000-01-19 Richard Henderson <rth@cygnus.com>
4807
4808 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
4809 arguments with BB. Update all callers. Tidy line wrapping.
4810
4811 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
4812
4813 * emit-rtl.c (try_split): Return last_insn if we split the
4814 last_insn.
4815
4816 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
4817
4818 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
4819 (ix86_initial_elimination_offset): Declare.
4820 * i386.c (ix86_nsaved_regs): Break out from ...
4821 (ix86_can_use_return_insn_p): ... here.
4822 (ix86_emit_save_regs): Break out from ...
4823 (ix86_expand_prologue): ... here.
4824 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
4825 out from ...
4826 (ix86_expand_epilogue): ... here.
4827 (ix86_compute_frame_size): Make static, add prototype.
4828 (ix86_initial_elimination_offset): Break out from ...
4829 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
4830
4831 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4832
4833 * recog.h (OUT_FCN): Delete.
4834
4835 * vax.md: Call `get_insn_template' instead of OUT_FCN.
4836
4837 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4838
4839 * cppalloc.c: PROTO -> PARAMS.
4840 * cpperror.c: Likewise.
4841 * cppfiles.c: Likewise.
4842 * cpplib.c: Likewise.
4843 * cpplib.h: Likewise.
4844
4845 * config/arm/arm-protos.h: PROTO -> PARAMS.
4846 * config/arm/arm.c: Likewise.
4847 * config/c4x/c4x.c: Likewise.
4848 * config/fr30/fr30-protos.h: Likewise.
4849 * config/nextstep.c: Likewise.
4850 * config/pa/pa.c: Likewise.
4851 * config/pj/pj.c: Likewise.
4852 * config/rs6000/rs6000.c: Likewise.
4853 * config/v850/v850-protos.h: Likewise.
4854 * config/v850/v850.c: Likewise.
4855
4856 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4857
4858 * i370-protos.h: New file.
4859
4860 * i370.c: Include tm_p.h. Fix compile time warnings.
4861
4862 * i370.h: Move prototypes to i370-protos.h. Fix compile time
4863 warnings.
4864
4865 * i370.md: Likewise.
4866
4867 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4868
4869 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
4870 (target_isinf, target_isnan, eisnan): Mark parameter with
4871 ATTRIBUTE_UNUSED.
4872 (eiisinf): Wrap in INFINITY.
4873 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
4874 (ibmtoe): Remove unused variable `rndsav'.
4875
4876 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4877
4878 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
4879 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
4880
4881 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
4882
4883 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
4884 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
4885 (fix_char_macro_defines, fix_char_macro_uses): New functions.
4886
4887 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
4888 Recognize Emacs mode markers also.
4889 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
4890 C++ comments in C++ headers. Call is_cxx_header only if
4891 necessary.
4892
4893 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
4894 bypass for ncurses.
4895 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
4896 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
4897 ... these, which use the new C fixes.
4898 (math_exception): Escape literal '+' in bypass expression.
4899
4900 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
4901 Regenerate.
4902
4903 2000-01-19 Geoff Keating <geoffk@cygnus.com>
4904
4905 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
4906 inside the MEM.
4907
4908 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4909
4910 * loop.c (loop_optimize): Allocate loop_info structure for each loop
4911 prior to calling scan_loop.
4912
4913 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4914
4915 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
4916 (split_branches, calc_live_regs): Likewise.
4917
4918 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4919
4920 * sh.md (fpu_single, fp_mode): New attributes.
4921
4922 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4923
4924 * loop.c (current_loop_info): Renamed from loop_info_data
4925 and changed to a pointer.
4926 (loop_optimize): Allocate loop_info structure for each loop
4927 and initialise to zero.
4928 (scan_loop): Set current_loop_info.
4929
4930 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
4931 on iteration_var.
4932
4933 2000-01-19 Richard Henderson <rth@cygnus.com>
4934
4935 * stupid.c: Die die die.
4936 * Makefile.in (OBJS): Remove stupid.o.
4937 (stupid.o): Likewise.
4938
4939 * except.c (emit_eh_context): Don't emit USEs for stupid.
4940 * explow.c (probe_stack_range): Likewise.
4941 * flags.h (obey_regdecls): Remove.
4942 * flow.c (find_basic_blocks): Don't run try_merge_blocks
4943 when not optimizing.
4944 (life_analysis): Limit data collection when not optimizing.
4945 (mark_regs_live_at_end): Always mark the return value registers.
4946 (mark_used_regs): Remove dummy RETURN case.
4947 (print_rtl_with_bb): Don't consult obey_regdecls.
4948 * function.c (use_variable, use_variable_after): Remove.
4949 (assign_parms): Consult optimize not obey_regdecls.
4950 (expand_function_start): Don't emit USEs for stupid.
4951 (expand_function_end): Likewise.
4952 * global.c (build_insn_chain): Export.
4953 * integrate.c (expand_inline_function): Kill return-value USE
4954 handling code.
4955 * jump.c (jump_optimize_1): Do simple jump optimizations and
4956 dead code elimination.
4957 (calculate_can_reach_end): Remove check_deleted argument.
4958 (delete_insn): Patch out insns even when not optimizing.
4959 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
4960 * rtl.h (use_variable, use_variable_after): Remove declarations.
4961 (build_insn_chain): Declare.
4962 * stmt.c (expand_value_return): Don't emit USEs for stupid.
4963 (expand_end_bindings): Likewise.
4964 (expand_decl): Likewise. Consult optimize not obey_regdecls.
4965 * toplev.c (obey_regdecls): Remove.
4966 (rest_of_compilation): Don't set it. Kill stupid in favour of
4967 flow1, local-alloc, and reload.
4968 (main): Don't set obey_regdecls.
4969
4970 * config/nextstep.c (handle_pragma): Likewise.
4971
4972 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
4973
4974 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
4975
4976 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4977
4978 * alpha-protos.h: PROTO -> PARAMS.
4979 * alpha.c: Likewise.
4980 * elf.h: Likewise.
4981 * h8300.c: Likewise.
4982 * i386-protos.h: Likewise.
4983 * i386.c: Likewise.
4984 * m32r-protos.h: Likewise.
4985 * m32r.c: Likewise.
4986 * mips.c: Likewise.
4987 * mips.md: Likewise.
4988 * gmon-sol2.c: Likewise.
4989 * sparc.c: Likewise.
4990
4991 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4992
4993 * ns32k-protos.h: New file.
4994
4995 * ns32k.c: Fix compile time warnings.
4996
4997 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
4998 warnings.
4999
5000 * ns32k.md: Likewise.
5001
5002 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5003
5004 * vax-protos.h: New file.
5005
5006 * vax.c: Fix compile time warnings.
5007
5008 * vax.h: Move prototypes to vax-protos.h. Fix compile time
5009 warnings.
5010
5011 * vax.md: Likewise.
5012
5013 * vaxv.md: Likewise.
5014
5015 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5016
5017 * romp-protos.h: New file.
5018
5019 * romp.c: Fix compile time warnings.
5020
5021 * romp.h: Move prototypes to romp-protos.h. Fix compile time
5022 warnings.
5023
5024 * romp.md: Likewise.
5025
5026 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5027
5028 * we32k-protos.h: New file.
5029
5030 * we32k.c: Fix compile time warnings.
5031
5032 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
5033 warnings.
5034
5035 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5036
5037 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
5038
5039 * except.c (eh_regs): Likewise.
5040
5041 * final.c (output_operand): Likewise.
5042
5043 * fold-const.c (target_isinf, target_isnan): Likewise.
5044
5045 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
5046
5047 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
5048 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
5049
5050 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
5051 when optimize_size.
5052 (clrstrsi): Rewrite.
5053 (strsethi, strsetqi): New expanders.
5054 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
5055 (cmpstrsi): Emit compare insn before cmpstrsi_1
5056 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
5057 (strlensi_1): Likewise.
5058 (cmpstrsi_1): Likewise; do not output compare.
5059 (strlen expander): Do not unroll when optimizing for size.
5060 (*subsi3_carry): Rename to subsi3_carry
5061 (addqi3_cc): New pattern.
5062 * i386.h (processor_costs): Add move_ratio field.
5063 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
5064 * i386.c (*_cost): Set move_ratio.
5065 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
5066 (x86_expand_strlensi_1): Rewrite the main loop.
5067
5068 2000-01-17 Richard Henderson <rth@cygnus.com>
5069
5070 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
5071 * cse.c (find_comparison_args, fold_rtx): Likewise.
5072 * integrate.c (subst_constants): Likewise.
5073 * loop.c (get_condition): Likewise.
5074
5075 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
5076
5077 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
5078
5079 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5080
5081 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
5082 (RESTORE_WARN_FLAGS): Unpack it.
5083 Change semantic type of extension to ttype.
5084 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
5085 * c-parse.y, c-parse.c, objc/objc-parse.y,
5086 objc/objc-parse.c: Regenerate.
5087
5088 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
5089
5090 * fixinc/fixlib.c: Add copyright notice.
5091 (compile_re): New function.
5092 * fixinc/fixlib.h: Prototype compile_re.
5093
5094 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
5095 Use compile_re to compile regular expressions.
5096
5097 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
5098 where the pattern matched.
5099
5100 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
5101 use 'replace'.
5102 (ultrix_ansi_compat): Likewise.
5103 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
5104 add egrep test.
5105 (interactv_add2, interactv_add3): Delete.
5106 (x11_sprintf): Don't use filename glob.
5107 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
5108 Regenerate.
5109
5110 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5111
5112 * print-rtl.c: PROTO -> PARAMS.
5113 * real.c: Likewise.
5114 * reg-stack.c: Likewise.
5115 * resource.c: Likewise.
5116 * sdbout.h: Likewise.
5117 * simplify-rtx.c: Likewise.
5118 * stor-layout.c: Likewise.
5119 * stupid.c: Likewise.
5120 * xcoffout.c: Likewise.
5121 * xcoffout.h: Likewise.
5122
5123 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5124
5125 * toplev.c: PROTO -> PARAMS.
5126 * toplev.h: Likewise.
5127 * tree.c: Likewise.
5128 * tree.h: Likewise.
5129 * unroll.c: Likewise.
5130 * varasm.c: Likewise.
5131 * varray.c: Likewise.
5132 * varray.h: Likewise.
5133
5134 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5135
5136 * reload.c: PROTO -> PARAMS.
5137 * reload.h: Likewise.
5138 * reload1.c: Likewise.
5139 * reorg.c: Likewise.
5140 * resource.h: Likewise.
5141 * rtl.c: Likewise.
5142 * rtl.h: Likewise.
5143 * rtlanal.c: Likewise.
5144 * sbitmap.h: Likewise.
5145 * sdbout.c: Likewise.
5146 * stack.h: Likewise.
5147 * stmt.c: Likewise.
5148 * system.h: Likewise.
5149
5150 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5151
5152 * machmode.h: PROTO -> PARAMS.
5153 * mbchar.h: Likewise.
5154 * mips-tdump.c: Likewise.
5155 * mips-tfile.c: Likewise.
5156 * optabs.c: Likewise.
5157 * output.h: Likewise.
5158 * prefix.c: Likewise.
5159 * profile.c: Likewise.
5160 * protoize.c: Likewise.
5161 * real.h: Likewise.
5162 * recog.c: Likewise.
5163 * recog.h: Likewise.
5164 * regclass.c: Likewise.
5165 * regmove.c: Likewise.
5166 * regs.h: Likewise.
5167
5168 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5169
5170 * ggc-common.c: PROTO -> PARAMS.
5171 * ggc-page.c: Likewise.
5172 * ggc-simple.c: Likewise.
5173 * ggc.h: Likewise.
5174 * global.c: Likewise.
5175 * graph.c: Likewise.
5176 * gthr-win32.h: Likewise.
5177 * haifa-sched.c: Likewise.
5178 * halfpic.h: Likewise.
5179 * integrate.c: Likewise.
5180 * integrate.h: Likewise.
5181 * jump.c: Likewise.
5182 * lcm.c: Likewise.
5183 * local-alloc.c: Likewise.
5184 * loop.c: Likewise.
5185 * loop.h: Likewise.
5186
5187 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5188
5189 * genattr.c: PROTO -> PARAMS.
5190 * genattrtab.c: Likewise.
5191 * gencheck.c: Likewise.
5192 * gencodes.c: Likewise.
5193 * genconfig.c: Likewise.
5194 * genemit.c: Likewise.
5195 * genextract.c: Likewise.
5196 * genflags.c: Likewise.
5197 * gengenrtl.c: Likewise.
5198 * genopinit.c: Likewise.
5199 * genoutput.c: Likewise.
5200 * genpeep.c: Likewise.
5201 * genrecog.c: Likewise.
5202
5203 2000-01-16 Mark Mitchell <mark@codesourcery.com>
5204
5205 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
5206
5207 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5208
5209 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
5210 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
5211 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
5212 * configure, config.in: Rebuilt.
5213
5214 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
5215
5216 * config/i386/i386.md: Add peephole to merge successive stack
5217 adjusts.
5218
5219 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
5220
5221 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
5222 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
5223 when walking backwards to find all the parameter loads when
5224 the basic block ends in a call.
5225
5226 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5227
5228 * loop.c (this_loop_info): Delete.
5229 (uid_loop): Add in place of uid_loop_num. All uses updated.
5230 (loop_number_exit_count): Delete and replace with entry in loop
5231 structure. All uses updated.
5232 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
5233 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
5234 (loop_outer_loop): Likewise.
5235 (loop_invalid, loop_number_exit_labels): Likewise.
5236 (loop_used_count_register): Delete and replace with entry in
5237 loop_info structure.
5238 (find_and_verify_loops): Add loops argument.
5239 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
5240 loop_end, etc. arguments with loop structure pointer. All callers
5241 changed.
5242 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
5243 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
5244 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
5245 (insert_bct): Likewise.
5246 (basic_induction_var): New argument level.
5247 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
5248 vtop, and cont. Add used_count_register.
5249 (uid_loop): Delete declaration.
5250 (loop_number_exit_count): Likewise.
5251 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
5252 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
5253 (loop_outer_loop, loop_used_count_register): Likewise.
5254 (loop_invalid, loop_number_exit_labels): Likewise.
5255 (unroll_loop): Replace loop_start and loop_end arguments
5256 with loop structure pointer.
5257 (loop_precondition_p, loop_iterations): Likewise.
5258 Include basic-block.h.
5259 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
5260 with loop structure pointer.
5261 (loop_precondition_p, loop_iterations): Likewise.
5262 * basic-block.h (struct loop): New entries vtop, cont,
5263 cont_dominator, start, end, top, scan_start, exit_labels,
5264 exit_count.
5265 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
5266
5267 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5268
5269 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
5270
5271 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
5272
5273 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
5274
5275 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5276
5277 * pdp11-protos.h: New file.
5278
5279 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
5280 time warnings.
5281
5282 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
5283 warnings.
5284
5285 * pdp11.md: Likewise.
5286
5287 * 2bsd.h: Likewise.
5288
5289 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5290
5291 * mn10300-protos.h: New file.
5292
5293 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
5294 time warnings.
5295
5296 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
5297 warnings.
5298
5299 * mn10300.md: Likewise.
5300
5301 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5302
5303 * mn10200-protos.h: New file.
5304
5305 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
5306 time warnings.
5307
5308 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
5309 warnings.
5310
5311 * mn10200.md: Likewise.
5312
5313 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5314
5315 * h8300-protos.h: New file.
5316
5317 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
5318 time warnings.
5319
5320 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
5321 warnings.
5322
5323 * h8300.md: Likewise.
5324
5325 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5326
5327 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
5328 (asm_emit_uninitialised): Likewise.
5329
5330 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
5331
5332 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
5333 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
5334
5335 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
5336
5337 * config/mips/mips.c (override_options): Don't turn on extra
5338 alignment for mips16.
5339
5340 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
5341
5342 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
5343 eabi, and make sure queued POSTINCREMENT rtl is emitted at
5344 the right point.
5345
5346 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
5347
5348 * builtins.c (PAD_VARARGS_DOWN): Define.
5349 (std_expand_builtin_va_arg): Use the above macro.
5350 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
5351 * tm.texi (Register Arguments): Document the above macro.
5352
5353 2000-01-14 Nick Clifton <nickc@cygnus.com>
5354
5355 * emit-rtl.c (emit_insn): If checking is enabled, make sure
5356 that this function has not been used to emit a jump
5357 instruction.
5358
5359 * jump.c (return_jump_1): Cope with being passed a null rtx.
5360
5361 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5362
5363 * eh-common.h: PROTO -> PARAMS.
5364 * emit-rtl.c: Likewise.
5365 * errors.c: Likewise.
5366 * errors.h: Likewise.
5367 * except.c: Likewise.
5368 * except.h: Likewise.
5369 * explow.c: Likewise.
5370 * expmed.c: Likewise.
5371 * expr.c: Likewise.
5372 * expr.h: Likewise.
5373 * final.c: Likewise.
5374 * fix-header.c: Likewise.
5375 * flow.c: Likewise.
5376 * fold-const.c: Likewise.
5377 * function.c: Likewise.
5378 * function.h: Likewise.
5379 * gcc.c: Likewise.
5380 * gcov-io.h: Likewise.
5381 * gcov.c: Likewise.
5382 * gcse.c: Likewise.
5383
5384 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5385
5386 * sh-protos.h: New file.
5387
5388 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
5389 Add static prototypes. Fix compile time warnings.
5390
5391 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
5392 * sh.md: Likewise.
5393 * elf.h: Likewise.
5394
5395 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5396
5397 * arc-protos.h: New file.
5398
5399 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
5400 time warnings.
5401
5402 * arc.h: Move prototypes to arc-protos.h. Fix compile time
5403 warnings.
5404
5405 * arc.md: Likewise.
5406
5407 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5408
5409 * dsp16xx-protos.h: New file.
5410
5411 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
5412 time warnings.
5413
5414 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
5415 warnings.
5416
5417 * dsp16xx.md: Likewise.
5418
5419 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5420
5421 * convex-protos.h: New file.
5422
5423 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
5424 time warnings.
5425
5426 * convex.h: Move prototypes to convex-protos.h. Fix compile time
5427 warnings.
5428
5429 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5430
5431 * elxsi-protos.h: New file.
5432
5433 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
5434 time warnings.
5435
5436 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
5437 warnings.
5438
5439 * elxsi.md: Likewise.
5440
5441 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
5442
5443 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
5444 case for moving from HI/LO/HI_LO_REG. This makes the behavior
5445 match the comment for MIPS16.
5446
5447 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
5448
5449 * flow.c (split_edge): Do not call set_block_for_insn if we
5450 do not have a basic_block_for_insn structure.
5451
5452 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
5453 and destination functions are 32bit aligned within the trampoline.
5454 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
5455 (TRAMPOLINE_ALIGNMENT): Define.
5456
5457 * cse.c (cse_insn): When changing (set (pc) (reg)) to
5458 (set (pc) (label_ref)), verify the change creates a valid insn.
5459
5460 * fr30.c (call_operand): Tighten and rework to match rules for
5461 call RTL expressions.
5462 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
5463 * fr30.md (call patterns): Improve constraints.
5464
5465 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
5466
5467 * fr30.c (fr30_expand_epilogue): Revert last change.
5468 Use emit_jump_insn for the return insn.
5469
5470 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
5471 Stan Cox <scox@cygnus.com>
5472
5473 * predict.c: New file. Preliminary infrastructure work for static
5474 branch prediction and basic block reordering.
5475 * basic-block.h: Add prototype for estimate_probability.
5476 * Makefile.in: Add rules for predict.o.
5477
5478 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
5479
5480 * fixincludes (va_list): Use __not_va_list__ for the dummy.
5481 * fixinc/*: Likewise.
5482
5483 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5484
5485 * cccp.c: PROTO -> PARAMS.
5486 * cexp.y: Likewise.
5487 * collect2.c: Likewise.
5488 * combine.c: Likewise.
5489 * convert.h: Likewise.
5490 * cse.c: Likewise.
5491 * dbxout.c: Likewise.
5492 * dbxout.h: Likewise.
5493 * diagnostic.c: Likewise.
5494 * doprint.c: Likewise.
5495 * dwarf2out.c: Likewise.
5496 * dwarf2out.h: Likewise.
5497 * dwarfout.c: Likewise.
5498 * dwarfout.h: Likewise.
5499 * dyn-string.h: Likewise.
5500
5501 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5502
5503 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
5504 macro conditionals guarding use.
5505
5506 * dwarf2out.c: Include "tm_p.h".
5507
5508 * function.c (locate_and_pad_parm): Mark parameter with
5509 ATTRIBUTE_UNUSED.
5510 (expand_function_end): Likewise for variable `context'.
5511
5512 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
5513
5514 2000-01-13 Nick Clifton <nickc@cygnus.com>
5515
5516 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
5517 register to prevent compile time warnings.
5518
5519 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
5520
5521 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
5522 to avoid -Wtraditional warning.
5523
5524 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5525
5526 * 1750a-protos.h: New file.
5527
5528 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
5529 time warnings.
5530
5531 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
5532 warnings.
5533
5534 * 1750a.md: Likewise.
5535
5536 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5537
5538 * a29k-protos.h: New file.
5539
5540 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
5541 time warnings.
5542
5543 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
5544 warnings.
5545
5546 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5547
5548 * clipper-protos.h: New file.
5549
5550 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
5551 time warnings.
5552
5553 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
5554 warnings.
5555
5556 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5557
5558 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
5559
5560 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
5561
5562 * configure.in (--enable-new-gxx-abi): New option.
5563 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
5564 * Makefile.in (GXX_ABI_FLAG): New variable.
5565 * configure: Regenerate.
5566
5567 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5568
5569 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
5570 * tm.texi (FORCE_STRUCT_BLK): Document.
5571 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
5572
5573 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
5574
5575 * config/ns32k/ns32k.md: Revert Jan 9 change.
5576
5577 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
5578 to a mode-test, if the predicate is address_operand.
5579
5580 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
5581
5582 * combine.c (if_then_else_cond): Be careful about what kinds
5583 of RTL expressions are passed to operand_subword.
5584
5585 * flow.c (split_edge): If we have to insert a new jump, make
5586 sure to associate it with a basic block.
5587
5588 * flow.c (commit_one_edge_insertion): A block with one successor
5589 can end in a JUMP_INSN that is not a simplejump.
5590
5591 2000-01-12 Robert Lipe <robertl@sco.com>
5592
5593 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
5594 (BUILD_VA_LIST_TYPE): Define.
5595 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
5596 with crtstuff.c.
5597
5598 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
5599
5600 * cccp.c (do_pragma): Add cast to (char *).
5601
5602 2000-01-12 Richard Henderson <rth@cygnus.com>
5603 Fred Fish <fnf@be.com>
5604 Jason Merrill <jason@cygnus.com>
5605
5606 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
5607 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
5608 * i386/beos-elf.h, i386/beos-pe.h: New files.
5609
5610 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
5611 * cross-make (SYSTEM_HEADER_DIR): Define using
5612 CROSS_SYSTEM_HEADER_DIR.
5613
5614 * gcc.c (LIBRARY_PATH_ENV): Provide default.
5615 (process_command): Use it.
5616 (main): Likewise. Kill trailing = from env vars.
5617 (build_search_list): Put it back.
5618 * collect2.c (main): Use LIBRARY_PATH_ENV.
5619
5620 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
5621 * toplev.c: Use NEED_DECLARATION_ENVIRON.
5622
5623 * tm.texi (Frame Layout): Document SMALL_STACK.
5624 * c-common.c (c_common_nodes_and_builtins): Check it.
5625
5626 * system.h: Undef alloca after including glibc's <stdlib.h>,
5627 if USE_C_ALLOCA is defined.
5628
5629 * gcc.c (set_input): New fn.
5630 (main): After all input files are compiled, reset the input file
5631 info to the first.
5632
5633 * aclocal.m4 (rindex, index): If already defined, don't attempt
5634 to redefine.
5635
5636 * ginclude/varargs.h: (__va_list__): Define ifndef.
5637 * ginclude/stdarg.h: Likewise.
5638
5639 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
5640 instead of unsigned char.
5641
5642 * hash.h (true, false, boolean): Undef before enum.
5643
5644 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
5645 proper type of "HOST_WIDE_INT *", rather than their natural type of
5646 "unsigned HOST_WIDE_INT *".
5647
5648 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5649
5650 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
5651
5652 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
5653
5654 * regclass.c (choose_hard_reg_mode): Likewise.
5655
5656 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
5657
5658 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
5659
5660 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5661
5662 * c-common.c: PROTO -> PARAMS.
5663 * c-common.h: Likewise.
5664 * c-decl.c: Likewise.
5665 * c-iterate.c: Likewise.
5666 * c-lang.c: Likewise.
5667 * c-lex.c: Likewise.
5668 * c-lex.h: Likewise.
5669 * c-parse.in: Likewise.
5670 * c-pragma.c: Likewise.
5671 * c-pragma.h: Likewise.
5672 * c-tree.h: Likewise.
5673 * c-typeck.c: Likewise.
5674 * objc/objc-act.c: Likewise.
5675 * objc/objc-act.h: Likewise.
5676
5677 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5678
5679 * m88k-protos.h: New file.
5680
5681 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
5682 time warnings.
5683
5684 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
5685
5686 * m88k.md: Likewise.
5687
5688 * tekXD88.h: Likewise.
5689
5690 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5691
5692 * m68k-protos.h: New file.
5693
5694 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
5695 time warnings.
5696
5697 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
5698
5699 * mot3300.h: Likewise.
5700
5701 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
5702
5703 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
5704 extract_bitlst.
5705 (extract_bitlist): Declare bitlen.
5706
5707 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
5708
5709 * cccp.c: Accept and ignore -lang-fortran.
5710
5711 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
5712 qualifiers don't match at any level of pointerness.
5713
5714 2000-01-12 Robert Lipe <robertl@sco.com>
5715
5716 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
5717
5718 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
5719
5720 * reload1.c (reload_reg_unavailable): New static variable.
5721 (reload_reg_free_p): Test it.
5722 (reload_reg_free_for_value_p): Test it instead of
5723 reload_reg_used.
5724 (choose_reload_regs_init): Compute it.
5725
5726 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
5727
5728 * reorg.c (fill_slots_from_thread): Check modified_in_p
5729 before replacing.
5730
5731 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
5732
5733 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
5734 these nodes even if INTERNALS is not set.
5735
5736 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
5737
5738 * gcse.c (delete_null_pointer_checks_1): Cope when
5739 get_condition cannot determine the condition.
5740
5741 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
5742
5743 * toplev.h (set_message_length): Declare.
5744
5745 * diagnostic.c (obstack_chunk_alloc): Define macro.
5746 (obstack_chunk_free): Likewise.
5747 (struct output_buffer): New data structure.
5748 (vmessage): Remove.
5749 (output_maximum_width): New variable.
5750 (doing_line_wrapping, set_message_length, init_output_buffer,
5751 get_output_prefix, output_space_left, emit_output_prefix,
5752 output_newline, output_append, output_puts, dump_output,
5753 vbuild_message_string, build_message_string, build_location_prefix,
5754 voutput_notice, output_printf, line_wrapper_printf,
5755 vline_wrapper_message_with_location): New functions. Implement
5756 automatic line wrapping.
5757 (v_message_with_decl): Make it handle automatic line wrapping.
5758 (v_error_with_file_and_line): Likewise.
5759 (v_warning_with_file_and_line): Likewise.
5760 (announce_function): Likewise.
5761 (default_print_error_function): Likewise.
5762
5763 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
5764
5765 * cpplib.h (struct cpp_options): Change lang_asm to char.
5766 Add lang_fortran.
5767 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
5768 done in cpp_handle_option now.
5769 (initialize_builtins): Take out special case code used only by
5770 __STDC_VERSION__.
5771 (cpp_handle_option): Turn off trigraphs and trigraph warnings
5772 if -traditional. Recognize -lang-fortran and set
5773 lang_fortran, also turn off cplusplus_comments.
5774 (print_help): Document -lang-fortran.
5775 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
5776 lang_asm. Ignore all directives other than `# 123 "file"' if
5777 CPP_PREPROCESSED.
5778 (cpp_get_token): If -traditional, don't recognize directives
5779 unless the # is in column 1.
5780 (parse_string): If lang_fortran or lang_asm, silently
5781 terminate strings ('' or "") at end of line.
5782 Remove unnecessary braces.
5783
5784 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5785 Richard Henderson <rth@cygnus.com>
5786
5787 * resource.c (mark_referenced_resources): Mark a set strict_low_part
5788 as used.
5789 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
5790 strict_low_part when possible.
5791
5792 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5793
5794 * alias.c: PROTO -> PARAMS.
5795 * basic-block.h: Likewise.
5796 * bitmap.c: Likewise.
5797 * bitmap.h: Likewise.
5798 * builtins.c: Likewise.
5799 * c-aux-info.c: Likewise.
5800 * caller-save.c: Likewise.
5801 * calls.c: Likewise.
5802
5803 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5804
5805 * Makefile.in (toplev.o): Depend on regs.h.
5806
5807 * output.h (tdesc_section): Prototype.
5808
5809 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
5810
5811 * sdbout.c: Include "tm_p.h".
5812
5813 * toplev.c: Include "regs.h".
5814
5815 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
5816
5817 * unroll.c (unroll_loop): Add EH support.
5818
5819 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5820
5821 * pa-protos.h: New file.
5822
5823 * pa.c: Include recog.h and tm_p.h.
5824 (compute_zdepwi_operands, compute_movstrsi_length,
5825 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
5826 find_addr_reg, import_milli): Add static prototypes.
5827 (pa_cpu_string, pa_arch_string): Constify a char*.
5828 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
5829 (read_only_operand): Add argument `mode'.
5830 (singlemove_string, output_move_double, output_fp_move_double,
5831 output_block_move, output_and, output_ior, output_ascii,
5832 remove_useless_addtr_insns, milli_names, output_mul_insn,
5833 output_div_insn, output_mod_insn, output_arg_descriptor,
5834 output_cbranch, output_bb, output_bvb, output_dbra, ,
5835 output_millicode_call, output_call, hppa_encode_label,
5836 output_parallel_movb, output_parallel_addb): Constify a char*.
5837 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
5838 (output_parallel_addb): Remove extra arg to `constrain_operands'
5839
5840 * pa.h: Move all prototypes to pa-protos.h.
5841 (pa_cpu_string, pa_arch_string): Constify a char*.
5842 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
5843
5844 * pa.md: Call `function_label_operand' with mode argument.
5845 Likewise for `read_only_operand'.
5846 Fix nesting of parens in call to `symbolic_operand'.
5847
5848 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5849
5850 * i860-protos.h: New file.
5851
5852 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
5853 time warnings.
5854
5855 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
5856
5857 * i860.md: Likewise.
5858
5859 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
5860
5861 * i386.md (movstrsi expander): Rewrite.
5862 (movstrsi_1 insn): Deleted.
5863 (strmovhi, strmovqi expander): New expanders.
5864 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
5865 * i386.c (x86_single_stringop): New global variable.
5866 * i386.h (x86_single_stringop): Declare.
5867 (TARGET_SINGLE_STRINGOP): New macro.
5868
5869 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
5870
5871 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
5872 integer vararg POSTINCREMENT before the destination of the jump
5873 for the hard fp case.
5874 (function_arg_pass_by_reference): Pass a copy of CUM to
5875 FUNCTION_ARG.
5876
5877 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
5878 for CONSTANT_ADDRESS_P above while loop for subreg.
5879
5880 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
5881
5882 * flow.c (propagate_block): When a prologue/epilogue insn
5883 is marked dead, unconditionally clear libcall_is_dead and
5884 insn_is_dead, and only dump rtl if warnings aren't being
5885 suppressed.
5886
5887 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
5888
5889 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
5890 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
5891 (FIXED_REGISTERS): Set dirflag as fixed.
5892 (CALL_USED_REGISTERS): Set dirflag as used.
5893 (REG_ALLOC_ORDER): Set dirflag as last one.
5894 (DIRFLAG_REG): New macro.
5895 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
5896 (HI_REGISTER_NAMES): Add dirflag.
5897 (DEBUF_PRINT_REG): Handle dirflag.
5898 * i386.md (type attribute): New cld and str types.
5899 (length_opcode attribute): Set cld and str to 1.
5900 (memory attribute): Set str to unknown - it is not clear from the
5901 patterns.
5902 (pent_np function unit): Prefixed string operations takes 12 cycles
5903 minimally; cld takes 2 cycles.
5904 (ppro_uops attribute): Str is "many" and cld is "few".
5905 (ppro_p0 unit): Handle cld here.
5906 (k6_alux unit): Handle cld and str types.
5907 (k6_load unit): It is ocupied by str opcodes.
5908 (k6_store unit): It is ocupied by str opcodes.
5909 (athlon_decode): Str is vector decoded.
5910 (athlon_ieu): Handle str and cld.
5911 (cld pattern): New.
5912 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
5913 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
5914 cmpstrsi_nz_1 insn): Do not output cld instruction
5915
5916 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
5917
5918 * gcc.texi (G++ and GCC): Add Java and Chill.
5919 (Bug Critera): Don't list languages.
5920
5921 * gcc.texi (Incompatibilities): No longer claim most C compilers
5922 are K&R.
5923
5924 * gcc.texi (G++ and GCC): Update other front-ends list.
5925
5926 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
5927
5928 * i386.c (ix86_expand_setcc): Fix typo.
5929 (ix86_expand_movcc): Similarly.
5930
5931 * Band-aid until haifa's bitset implementation is nuked.
5932 * haifa-sched.c (extract_bitlst): New parameter for size of the
5933 bitset in bits. All callers changed. Avoid looking at undefined
5934 bits in the bitset.
5935 (edgeset_bitsize): New variable.
5936 (schedule_region): Initialize edgeset_bitsize.
5937
5938 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5939
5940 * Makefile.in (optabs.o): Depend on real.h
5941 (resource.o): Depend on insn-attr.h
5942
5943 * builtins.c (result_vector): Wrap prototype in macro conditions
5944 governing definition and use.
5945
5946 * c-common.c: Include tm_p.h.
5947
5948 * c-lex.c: Likewise.
5949
5950 * elfos.h: Constify a char*.
5951
5952 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
5953 (get_attr_length, shorten_branches, profile_after_prologue): Mark
5954 parameter with ATTRIBUTE_UNUSED.
5955
5956 * fold-const.c (exact_real_inverse): Wrap variable `i' in
5957 CHECK_FLOAT_VALUE.
5958
5959 * haifa-sched.c (schedule_insns): Mark parameter with
5960 ATTRIBUTE_UNUSED.
5961
5962 * optabs.c: Include real.h.
5963
5964 * real.h (ereal_atof): Add prototype arguments.
5965
5966 * resource.c: Include insn-attr.h.
5967
5968 * sdbout.c (sdbout_queue_anonymous_type,
5969 sdbout_dequeue_anonymous_types): Wrap in macro
5970 SDB_ALLOW_FORWARD_REFERENCES.
5971 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
5972 ATTRIBUTE_UNUSED.
5973
5974 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
5975
5976 * stupid.c: Include tm_p.h.
5977
5978 * tree.c (real_value_from_int_cst): Mark parameter with
5979 ATTRIBUTE_UNUSED.
5980
5981 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5982
5983 * i960-protos.h: New file.
5984
5985 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
5986 time warnings.
5987
5988 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
5989
5990 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5991
5992 * combine.c (expand_field_assignment): Do not discard SUBREGs
5993 while computing nonzero_bits.
5994
5995 2000-01-09 Nick Clifton <nickc@cygnus.com>
5996
5997 * config/arm/arm.c: Fix compile time warnings about signed vs
5998 unsigned constants.
5999 * config/arm/arm.h: Fix compile time warnings about signed vs
6000 unsigned constants.
6001
6002 2000-01-09 Philip Blundell <philb@gnu.org>
6003
6004 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
6005 than `ldm' with only one register.
6006 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
6007 only one register.
6008
6009 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
6010 clobbered.
6011
6012 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
6013
6014 * config/ns32k/ns32k.md (load or push effective address): Operand 1
6015 must have SImode.
6016
6017 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6018
6019 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
6020 assignment used as truth value.
6021
6022 * function.c (assign_temp): Mark parameter `dont_promote' with
6023 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
6024 PROMOTE_FOR_CALL_ONLY.
6025
6026 * genrecog.c (write_subroutine): Mark variable `operands' with
6027 ATTRIBUTE_UNUSED.
6028
6029 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
6030 ATTRIBUTE_UNUSED.
6031
6032 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
6033 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
6034
6035 * toplev.c (note_deferral_of_defined_inline_function): Likewise
6036 for `decl'.
6037
6038 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6039
6040 * config/c4x.h: Tidy up comments.
6041 * config/c4x.c: Likewise.
6042
6043 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
6044
6045 * fold-const.c (lshift_double, rshift_double): Handle
6046 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
6047
6048 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6049
6050 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
6051 in prepare_function_start().
6052
6053 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
6054
6055 * config/v850/v850.c (expand_epilogue): Interrupt functions no
6056 longer allocate extra stack for function calls.
6057
6058 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6059
6060 * config/c4x/c4x.md (*subqf3_set): Fix typo.
6061
6062 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6063
6064 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
6065
6066 2000-01-07 David Edelsohn <edelsohn@gnu.org>
6067
6068 * rs6000.c (processor_target_table): Add power3 as alias for 630.
6069 * aix43.h: Revert Aug 2 change.
6070 (HAS_INIT_SECTION): Define, not visible yet.
6071 (LD_INIT_SWITCH): Define, not visible yet.
6072 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
6073
6074 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
6075
6076 * collect2.c (main): Expand ld2 size further.
6077 (export_object_lst): Cast assignment to avoid warning.
6078 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
6079 (scan_prog_file, COFF): Do not collect initialization or
6080 finalization functions generated for entire shared object if
6081 init/fini support present.
6082
6083 2000-01-07 Nick Clifton <nickc@cygnus.com>
6084
6085 * config/elfos.h: Tidy up formatting of marcos. Make sure
6086 that .section directives are always prefixed by a tab.
6087
6088 * config/svr4.h: Add #include "elfos.h" and remove duplicate
6089 definitions.
6090
6091 2000-01-07 Matt Austern <austern@sgi.com>
6092
6093 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
6094 expon.
6095
6096 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
6097
6098 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
6099 crtstuff.c.
6100 (crtbegin.o, s-crtS): Likewise.
6101
6102 2000-01-06 Richard Henderson <rth@cygnus.com>
6103
6104 * alpha.md (adddi_2+1): Limit offset such that it will be
6105 loadable with a single ldah+lda pair.
6106 (adddi_2+2): Explicitly fail split if we can't make it work.
6107
6108 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
6109
6110 * protoize.c: Conditionally include unistd.h.
6111 (IS_SAME_PATH_CHAR): New macro.
6112 (IS_SAME_PATH): New macro.
6113 (CPLUS_FILE_SUFFIX): New macro.
6114 (cplus_suffix): New static variable.
6115 (is_abspath): New static function.
6116 (in_system_include_dir): Handle DOS style pathnames.
6117 (file_could_be_converted): Likewise.
6118 (file_normally_convertible): Likewise.
6119 (directory_specified_p): Likewise.
6120 (file_excluded_p): Likewise.
6121 (abspath): Likewise.
6122 (shortpath): Likewise.
6123 (referenced_file_is_newer): Likewise.
6124 (save_def_or_dec): Likewise.
6125 (do_processing): Likewise.
6126 (main): Likewise.
6127 (edit_file): Likewise. Use rename instead of link.
6128 (rename_c_file): Likewise. Don't rename syscalls file.
6129 (munge_compile_params): Define null device for DOS based systems.
6130 (process_aux_info_file): Use binary mode if appliable.
6131 (edit_file): Likewise.
6132 * invoke.texi (Running Protoize): Document C++ suffixes used.
6133
6134 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
6135 IS_DIR_SEPARATOR macros.
6136 * collect2.c: Likewise.
6137 * cppinit.c: Likewise.
6138 * dwarf2out.c: Likewise.
6139 * gcc.c: Likewise.
6140 * gcov.c: Likewise.
6141 * prefix.c: Likewise.
6142 * rtl.c: Likewise.
6143 * toplev.c: Likewise.
6144 * system.h: And move to here.
6145
6146 * prefix.c (update_path): Fix typo in variable name.
6147
6148 2000-01-06 Richard Henderson <rth@cygnus.com>
6149
6150 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
6151 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
6152 (count_reg_sets_1, count_reg_references): Likewise.
6153 (flow_loops_level_compute): Start counting actual loop depth at 1.
6154 (flow_loops_find): Likewise.
6155 * local-alloc.c (update_equiv_regs): Likewise.
6156 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
6157
6158 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6159
6160 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
6161 FIRST_PSEUDO_REGISTER
6162 * dwarf2out.c: Don't include frame.h
6163 * dwarfout.c: Likewise
6164 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
6165 frame.h
6166
6167 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
6168
6169 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
6170 dead registers.
6171
6172 * i386.c (movsf splitter): Fix typo in my last checkin.
6173
6174 2000-01-05 Nick Clifton <nickc@cygnus.com>
6175
6176 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
6177 own definition of this macro.
6178 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
6179 flag_data_sections or UNIQUE_SECTION_P are true.
6180
6181 * tm.texi (UNIQUE_SECTION): Document that it can be called for
6182 unitialised data decls.
6183
6184 * config/i386/winnt.c (i386_pe_unique_section): Cope with
6185 being called for uninitialised data.
6186
6187 * config/i386/interix.c (i386_pe_unique_section): Cope with
6188 being called for uninitialised data.
6189
6190 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
6191 for uninitialised data.
6192
6193 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
6194 for uninitialised data.
6195
6196 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
6197 for uninitialised data.
6198
6199 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
6200 (UNIQUE_SECTION_P): Always generate a unique section if
6201 flag_data_sections is true.
6202 (UNIQUE_SECTION): Also generate unique sections for
6203 uninitialised data.
6204 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
6205 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
6206 named_section().
6207
6208 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6209
6210 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
6211 SI, or DI.
6212
6213 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6214
6215 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
6216 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
6217 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
6218 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
6219 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
6220
6221 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
6222
6223 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
6224
6225 * c-decl.c (finish_enum): Simplify code to determine minimum and
6226 maximum values of the enum, and calculate the type. Remove check
6227 for FUNCTION_DECLs in the values list, which cannot happen. Replace
6228 the DECL_INITIAL of each enumeration constant with a copy converted
6229 to the enumeration type. When updating variant types, don't bother
6230 updating the type itself.
6231
6232 * c-typeck.c (build_binary_op): Simplify conditional expressions
6233 when weeding out spurious signed-unsigned warnings. Add new
6234 spurious warning category: if the unsigned quantity is an enum
6235 and its maximum value fits in signed_type(result_type). Update
6236 commentary.
6237 (build_conditional_expr): Warn here if one alternative is signed
6238 and the other is unsigned.
6239
6240 2000-01-05 Nick Clifton <nickc@cygnus.com>
6241
6242 * config/fr30/fr30.h: Remove extraneous comments.
6243
6244 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
6245
6246 * reload1.c (choose_reload_regs): When disabling a reload, also
6247 set reload_spill_index to -1.
6248
6249 2000-01-04 Joel Sherrill (joel@OARcorp.com>
6250
6251 * configure.in (m68*-*-rtemscoff*): New target, formal name for
6252 old m68*-*-rtems*.
6253 (m68*-*-rtemself*): New target.
6254 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
6255 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
6256 (sparc*-*-rtemself*): New target.
6257 (sparc*-*-rtems*): Now elf not a.out.
6258 * config/i386/rtems.h: Include config/rtems.h.
6259 * config/i386/rtemself.h: Include config/rtems.h.
6260 * config/i960/rtems.h: Include config/rtems.h.
6261 * config/m68k/rtems.h: Include config/rtems.h.
6262 * config/m68k/rtemself.h: Include config/rtems.h.
6263 * config/mips/rtems64.h: Include config/rtems.h.
6264 * config/pa/rtems.h: Include config/rtems.h.
6265 * config/rs6000/rtems.h: Include config/rtems.h.
6266 * config/sh/rtems.h: Include config/rtems.h.
6267 * config/sh/rtemself.h: Include config/rtems.h.
6268 * config/sparc/rtems.h: Include config/rtems.h.
6269 * config/sparc/rtemself.h: Include config/rtems.h
6270
6271 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
6272
6273 * final.c (shorten_branches): Correctly compute length of
6274 asms without operands.
6275
6276 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
6277
6278 * configure.in: Add pj target.
6279 * configure: Regenerate.
6280 * config/pj: New directory.
6281 * config/pj/lib1funcs.S: New file.
6282 * config/pj/linux.h: New file.
6283 * config/pj/pj.c: New file.
6284 * config/pj/pj.md: New file.
6285 * config/pj/pjl.h: New file.
6286 * config/pj/t-pj: New file.
6287 * config/pj/xm-pj.h: New file
6288
6289 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
6290
6291 * toplev.c (rest_of_compilation): Run shorten-branches before
6292 reg-stack for now.
6293
6294 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6295
6296 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
6297 macros so that they're consistent with their names.
6298 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
6299 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
6300
6301 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6302
6303 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
6304 modified inadvertently.
6305
6306 2000-01-04 Joel Sherrill <joel@OARcorp.com>
6307
6308 * configure.in (v850*-*-rtems*): New target.
6309 * configure: Regenerate.
6310 * config/v850/rtems.h: New file.
6311
6312 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
6313
6314 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
6315 (__gthread_key_create): Likewise.
6316 (__gthread_key_dtor): Likewise.
6317 (__gthread_once): Fix logic.
6318 (__gthread_key_delete): Cast away constness.
6319
6320 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
6321 * invoke.texi: Document.
6322 * i386/mingw32.h (CPP_SPEC): Use.
6323 (LIBGCC_SPEC): Likewise.
6324 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
6325
6326 2000-01-04 David Edelsohn <edelsohn@gnu.org>
6327
6328 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
6329 (HANDLE_PRAGMA_PACK): Undefine.
6330 (SLOW_UNALIGNED_ACCESS): Define.
6331
6332 2000-01-04 David Edelsohn <edelsohn@gnu.org>
6333
6334 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
6335 to default definition.
6336 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
6337 (store_fixed_bit_field): Call macro with word_mode and alignment.
6338 (extract_bit_field): Call macro with relevant mode and alignment.
6339 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
6340 to default definition.
6341 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
6342 and alignment.
6343 (move_by_pieces_ninsns): Likewise.
6344 (clear_by_pieces): Likewise.
6345 (emit_push_insn): Likewise.
6346 (store_field): Call macro with relevant mode and alignment.
6347 (expand_expr): Likewise.
6348 (expand_expr_unaligned): Likewise.
6349
6350 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
6351 (SLOW_UNALIGNED_ACCESS): Define.
6352 (CASE_VECTOR_MODE): Always use 32-bit offsets.
6353 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
6354 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
6355 (toc_section): Likewise and .toc pseudo-op.
6356 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
6357 64-bit mode.
6358 (TEXT_SECTION_ASM_OP): Likewise.
6359 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
6360 32-bit offsets.
6361
6362 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
6363 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
6364 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
6365 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
6366 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
6367
6368 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
6369
6370 * regclass.c: Revert my Jan 4 change to loop cost computation.
6371
6372 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
6373
6374 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
6375 compilation.
6376
6377 2000-01-04 Stan Cox <scox@cygnus.com>
6378
6379 * haifa-sched.c (build_control_flow): Change unreachable simple
6380 loop test to check if current block has only one predecessor.
6381 (find_rgns): Initialize degree. Use dest as degree index, not src.
6382
6383 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6384
6385 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
6386
6387 * calls.c (expand_call): Likewise for
6388 `old_stack_arg_under_construction'.
6389
6390 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
6391
6392 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
6393 `save_constant'.
6394
6395 * gcc.c (execute): Likewise for `ut' and `st'.
6396
6397 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
6398
6399 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
6400
6401 * jump.c (jump_optimize_1): Likewise for `temp2'.
6402
6403 * local-alloc.c (block_alloc): Likewise for `r1'.
6404
6405 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
6406
6407 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
6408 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
6409
6410 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
6411 and `set2'.
6412
6413 * reload.c (find_reloads): Likewise for `goal_alternative_number'
6414 and `goal_earlyclobber'.
6415
6416 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
6417
6418 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
6419
6420 * stupid.c (stupid_life_analysis): Likewise for `chain'.
6421
6422 * unroll.c (copy_loop_body): Likewise for `copy'.
6423
6424 * varasm.c (output_constructor): Likewise for `byte'.
6425
6426 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
6427
6428 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
6429 all FP constants for constant->reg moves.
6430 (ix86_split_to_parts): Try to convert memory address into immediate
6431 when available in the constant pool.
6432 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
6433 moves.
6434 (LEGITIMATE_CONSTANT_P): Return 1.
6435 * i386.md (pushsf): New splitter to convert constant pool memory
6436 reference to immediate.
6437 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
6438 reload.
6439
6440 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
6441
6442 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
6443 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
6444 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
6445 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
6446 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
6447
6448 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
6449
6450 * ginclude/stdbool.h: Support compilation as C++.
6451
6452 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6453
6454 * fold-const.c (make_range): Don't try to reverse an unbounded range.
6455
6456 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
6457
6458 * regclass.c (regclass): Properly compute loop_cost. Adjust
6459 comments.
6460
6461 * regclass.c: Fix minor whitespace problems.
6462
6463 2000-01-03 Anthony Green <green@cygnus.com>
6464
6465 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
6466 Restore the pic register if required.
6467
6468 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
6469
6470 * c-common.c (format_char_info): Update comment.
6471 (check_format_info): Recognize 'z' modifier in the same way 'Z'
6472 was recognized. Emit warning for formats new in ISO C99 only
6473 if flag_isoc9x is not set.
6474
6475 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
6476
6477 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
6478
6479 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
6480
6481 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
6482 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
6483 (make_compound_operation): Choose cheaper alternative between
6484 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
6485
6486 * regclass.c (op_costs): Remove global variable.
6487 (record_reg_classes): New parameter "op_costs" and "reg_pref".
6488 (record_operand_costs): Break out from ...
6489 (scan_one_insn): ... here.
6490 (dump_regclass): Make dumps nicer.
6491 (regclass): Dump preferrences choosed and changes done during passes.
6492
6493 2000-01-03 Jakub Jelinek <jakub@redhat.com>
6494
6495 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
6496
6497 2000-01-03 Jakub Jelinek <jakub@redhat.com>
6498
6499 * config/sparc/sparc.c (gen_df_reg): New function.
6500 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
6501 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
6502 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
6503 movtf_cc_reg_sp64+1): Use it.
6504
6505 2000-01-02 Mark Mitchell <mark@codesourcery.com>
6506
6507 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
6508 copied LABEL_DECLs.
6509
6510 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
6511
6512 * config/i386/i386.c (ix86_expand_unary_operator): Function
6513 definition made void.
6514 (ix86_expand_binary_operator): Update outdated preceding comment.
6515 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
6516 prototype.
6517
6518 * config/i386/i386.c (override_options): Fix option-name typo.
6519
6520 2000-01-02 Mark Mitchell <mark@codesourcery.com>
6521
6522 * system.h (CEIL): Define.
6523 * builtins.c (CEIL): Remove.
6524 * expmed.c (CEIL): Likewise.
6525 * expr.c (CEIL): Likewise.
6526 * stor-layout.c (CEIL): Likewise.
6527
6528 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6529
6530 * expr.c (store_constructor_field): Fix typo introduced with last
6531 gcc2 merge.
6532
6533 2000-01-01 Mark Mitchell <mark@codesourcery.com>
6534
6535 * tree.h (BINFO_N_BASETYPES): New macro.
6536
6537 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
6538
6539 * expmed.c (emit_store_flag): Prevent losing a pending stack
6540 adjust the same way we prevent losing queued increments.
6541
6542 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6543
6544 * function.c (update_temp_slot_address): Handle case where sum of
6545 temporary address plus offset in register is a valid address.
6546
6547 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6548
6549 * genrecog.c (change_state) Corrected typo.
6550
6551 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6552
6553 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
6554 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
6555 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
6556
6557 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
6558
6559 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
6560 case, expand GT comparisons correctly. Fix a comment before this
6561 part of the code.
6562
6563 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6564
6565 * dwarfout.c: Include "frame.h"
6566 * dwarf2out.c: Likewise.
6567 * Makefile.in (dwarfout.o): Depend on frame.h
6568 (dwarf2out.o): Likewise.
6569
6570 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
6571
6572 Restore i386 binary compatibility in Dwarf EH info.
6573 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
6574 value of FIRST_PSEUDO_REGISTER.
6575 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
6576 (struct frame_state): Use DWARF_FRAME_REGISTERS.
6577 * dwarfout.c (output_reg_number): Ditto.
6578 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
6579 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
6580
6581 1999-12-29 Bruce Korb <autogen@linuxbox.com>
6582
6583 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
6584 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
6585 (<hack>_RE_CT): not needed
6586 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
6587 rewritten to scan the file text once only
6588 "template<..." test added
6589 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
6590 (is_cxx_header): declaration added
6591 * fixinc/fixtests.c(is_cxx_header): removed
6592 (apply_fix_p_t): removed
6593 (double_slash_test): is_cxx_header is only called once now
6594 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
6595 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
6596 within the templates.
6597 The borken spelling of "broken" was fixed.
6598 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
6599 The default level depends on FIXINC_DEBUG.
6600
6601 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6602
6603 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
6604 Otherwise provide a declaration for atexit.
6605 (init_dummy): Make sure dummy call to atexit is nevertheless
6606 called with correct number of args.
6607
6608 * frame.c: Update comments referring to other files.
6609
6610 * libgcc2.c: Likewise.
6611
6612 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6613
6614 * cse.c (free_element, get_element): Remove unused prototypes.
6615
6616 * fold-const.c (extract_muldiv): Initialize variables `op0' and
6617 `op1'.
6618
6619 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
6620 `else' clauses.
6621
6622 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
6623
6624 * configure.in,configure: case arm for mn10200-*-* now sets
6625 float_format=i32 so that float.h will correctly claim "double"
6626 to be 32 bits. Ran autoconf to generate configure from .in file.
6627
6628 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
6629
6630 * pa.md (conditional zero): If op1 is a register, force it into
6631 the same register as op0.
6632
6633 1999-12-28 Mark Mitchell <mark@codesourcery.com>
6634
6635 * tree.h (BINFO_BASETYPES): Improve documentation.
6636
6637 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6638
6639 * configure.in (--enable-checking): Use a more portable `for'
6640 loop syntax.
6641
6642 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6643
6644 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
6645 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
6646
6647 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
6648 Delete files.
6649
6650 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
6651 Delete descriptions.
6652
6653 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
6654 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
6655 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
6656 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
6657 xm-svr4.h: Remove all instances of sys_siglist handling.
6658
6659 1999-12-27 Jakub Jelinek <jakub@redhat.com>
6660
6661 * config/sparc/sparc.md (cmp_zero_qi,
6662 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
6663 cmp_zero_extendqidi2_andcc_set): New patterns.
6664
6665 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
6666
6667 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
6668 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
6669 (fpgnulib.c, xfgnulib.c): Add rules.
6670 * m68k/t-mot3300-gas: Likewise.
6671
6672 1999-12-27 Ian Lance Taylor <ian@zembu.com>
6673
6674 * configure.in: Avoid [[ by using test and changequote. Add
6675 changequote required by 1999-12-14 change.
6676 * configure: Rebuild.
6677
6678 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
6679
6680 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
6681
6682 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
6683
6684 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
6685 * flow.c (find_use_as_address): Likewise.
6686 * function.c (fixup_var_refs_1): Likewise.
6687 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
6688 * jump.c (invert_exp, redirect_exp): Likewise.
6689 * loop.c (replace_call_address): Likewise.
6690 (count_nonfixed_reads): Likewise.
6691 * rtlanal.c (modified_between_p): Likewise.
6692 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
6693 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
6694 * unroll.c (remap_split_bivs): Likewise.
6695
6696 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6697
6698 * diagnostic.c (v_message_with_decl): Use .* format specifier
6699 instead of building the format specifier width manually.
6700
6701 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
6702 determining whether to provide a prototype. Remove the
6703 sys_siglist clause in the conditional.
6704
6705 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6706
6707 * fold-const.c (operand_equal_p): Use memcmp to compare string
6708 constants.
6709 Suggested by D. J. Bernstein
6710
6711 1999-12-17 Jakub Jelinek <jakub@redhat.com>
6712
6713 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
6714 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
6715 compiling libgcc2.
6716 * config/mips/mips.h (TARGET_64BIT): Likewise.
6717 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
6718 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
6719 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
6720 dsps. Give routines proper names if SI/DI modes are not used.
6721 * longlong.h: Use DWunion instead of DIunion.
6722
6723 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
6724
6725 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
6726 GC_CHECKING, GC_ALWAYS_COLLECT.
6727 * configure.in: Allow --enable-checking with an argument
6728 listing check modes to enable.
6729 * config.in, configure: Rebuilt.
6730 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
6731 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
6732 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
6733 ENABLE_GC_ALWAYS_COLLECT.
6734 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
6735 throughout.
6736 * tree.h, tree.c: Change ENABLE_CHECKING to
6737 ENABLE_TREE_CHECKING throughout.
6738
6739 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6740
6741 * fold-const.c (fold_truthop): Properly check for FP RHS.
6742
6743 1999-12-24 Mark Mitchell <mark@codesourcery.com>
6744
6745 * toplev.h (note_deferall_of_defined_inline_function): Declare.
6746 * toplev.c (note_deferral_of_defined_inline_function): New
6747 function, split out from ...
6748 (rest_of_compilation): ... here. Use it.
6749
6750 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6751
6752 * expr.c (store_constructor): Don't call clear_storage if size is
6753 variable.
6754
6755 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6756
6757 * Makefile.in (toplev.o): Depend on loop.h.
6758
6759 * dwarfout.c: Include tm_p.h.
6760
6761 * emit-rtl.c (restore_emit_status): Mark parameter with
6762 ATTRIBUTE_UNUSED.
6763
6764 * final.c (final_scan_insn): Likewise.
6765
6766 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
6767 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
6768 flow_depth_first_order_compute, flow_loop_pre_header_find,
6769 flow_loop_tree_node_add, flow_loops_tree_build,
6770 flow_loop_level_compute, flow_loops_level_compute,
6771 flow_loop_outside_edge_p): Add prototypes.
6772 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
6773
6774 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
6775 Mark with ATTRIBUTE_NORETURN.
6776
6777 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
6778
6779 * local-alloc.c (no_conflict_p): Likewise.
6780
6781 * loop.c (insert_bct): Hide definitions of variables with hidden
6782 usage.
6783 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
6784
6785 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
6786 with ATTRIBUTE_UNUSED.
6787 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
6788 (reg_scan): Likewise.
6789
6790 * reload.c (find_reloads): Remove unused variables `changed'.
6791
6792 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
6793 away const-ness.
6794 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
6795 Remove unused variable `insn'.
6796
6797 * toplev.c: Include loop.h.
6798 (report_file_and_line): Remove unnecessary prototype.
6799
6800 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
6801
6802 * unroll.c (biv_total_increment): Likewise.
6803
6804 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6805
6806 * reload1.c (emit_input_reload_insns): Restore old behaviour
6807 wrt. 'special' reloads.
6808
6809 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
6810
6811 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
6812 hash.h. (cse.c): Don't depend on hashtab.h.
6813
6814 * cse.c: Don't include hashtab.h.
6815 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
6816 of dead functions.
6817 * ggc-simple.c: Don't include hash.h.
6818
6819 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
6820
6821 * dwarf2out.c (add_abstract_origin_attribute): Call
6822 gen_abstract_function on our function context.
6823
6824 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
6825
6826 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
6827
6828 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6829
6830 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
6831 case in switch.
6832
6833 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6834
6835 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
6836 constraints to "a!r".
6837
6838 1999-12-21 Mark Mitchell <mark@codesourcery.com>
6839
6840 * Makefile.in (calls.o): Depend on function.h.
6841 (alias.o): Likewise.
6842
6843 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
6844
6845 * reload1.c (emit_reload_insns): Break out code and variables into...
6846 (input_reload_insns, other_input_address_reload_insns,
6847 other_input_reload_insns, input_address_reload_insns,
6848 inpaddr_address_reload_insns, output_reload_insns,
6849 output_address_reload_insns, outaddr_address_reload_insns,
6850 operand_reload_insns, other_operand_reload_insns,
6851 other_output_reload_insns): ... new static variables, and...
6852 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
6853 do_output_reload): ... new functions.
6854
6855 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6856
6857 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
6858
6859 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6860
6861 * md.texi: Add c4x constraints documentation.
6862
6863 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6864
6865 * config/i386/dgux.c (struct option): Rename to
6866 lang_independent_option.
6867 (struct m_options): Add description field.
6868 (output_options): Rename option type, add sep declaration, output
6869 ix86_cpu_string and ix86_arch_string only if set.
6870 (output_file_start): Rename option type.
6871
6872 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
6873
6874 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
6875 stmp-int-hdrs.
6876 (libgcc2.a): Similarly.
6877
6878 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
6879
6880 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
6881 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
6882 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
6883
6884 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
6885
6886 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
6887 Remove redundant initialization of "frexpon" and "expon".
6888
6889 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6890
6891 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
6892
6893 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
6894 (store_constructor_field, expand_expr): Pass new arg.
6895
6896 1999-12-20 Mark Mitchell <mark@codesourcery.com>
6897
6898 * Makefile.in (explow.o): Depend on function.h.
6899
6900 * stor-layout.c (set_sizetype): Fix typo.
6901
6902 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
6903
6904 * function.c (cfun): Renamed from current_function. All users
6905 changed.
6906 * function.h (cfun): Rename declaration as well.
6907
6908 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
6909 to be of type regset_head, not regset. All users changed by adding
6910 address operator.
6911 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
6912
6913 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6914
6915 * config/c4x/rtems.h: New file.
6916
6917 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
6918
6919 * reload1.c (spill_failure): Take class of failed reload as argument
6920 and print it. Caller changed.
6921
6922 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6923
6924 * rs6000.h (SUBTARGET_DEFAULT): New macro.
6925 (TARGET_SWITCHES): Allow subtargets to default switches.
6926 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
6927
6928 1999-12-18 Mark Mitchell <mark@codesourcery.com>
6929
6930 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
6931 in a main program.
6932
6933 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
6934
6935 * cccp.c (main): Define __STDC_VERSION__ as necessary.
6936 * cppinit.c (cpp_handle_option): Likewise.
6937
6938 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
6939 determine when to define.
6940
6941 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
6942
6943 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
6944 cmove with mismatched test and data modes.
6945
6946 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
6947
6948 * c-typeck.c (c_expand_start_case): Don't warn for long switch
6949 in system headers.
6950
6951 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6952
6953 * alias.c: Minor reformatting.
6954 * flow.c: Likewise.
6955 * regs.h: Likewise.
6956 * stor-layout.c: Likewise.
6957 * fold-const.c: Likewise.
6958 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
6959 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
6960 not arg itself.
6961 (size_int_wide): Cache nodes even if garbage collecting.
6962 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
6963 of SAVE_EXPR has no side effects.
6964 * cse.c: Move a comment.
6965 * tree.c: Minor reformatting.
6966 (int_size_in_bytes): Return -1 if constant overflows.
6967
6968 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6969
6970 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
6971
6972 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
6973
6974 * objc/objc-parse.c: Regenerate. This file must be rebuilt
6975 after any change to c-parse.in, even if objc-parse.y didn't
6976 change. Oops.
6977
6978 1999-12-18 David S. Miller <davem@redhat.com>
6979
6980 * toplev.c (rest_of_compilation): Restore BLOCK tree
6981 reconstruction and branch shortening changes lost in
6982 December 18th change.
6983
6984 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
6985
6986 * config/arm/linux-elf.h: Change all instances of
6987 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
6988 * config/arm/uclinux-elf.h: Likewise.
6989
6990 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
6991
6992 * toplev.c (notice, vmessage, v_message_with_file_and_line,
6993 v_message_with_decl, file_and_line_for_asm,
6994 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
6995 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
6996 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
6997 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
6998 pfatal_with_name, fatal_io_error, need_error_newline,
6999 last_error_function, last_error_tick, announce_function,
7000 default_print_error_function, print_error_function,
7001 report_error_function, fnotice, error_with_file_and_line,
7002 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
7003 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
7004 warning_with_decl, warning_for_asm, warning, pedwarn,
7005 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
7006 diagnostic.c
7007 (compile_file): Use fnotice instead of notice. Adjust call.
7008
7009 * diagnostic.c: New file.
7010
7011 * Makefile.in (OBJS): Include diagnostic.o
7012 (diagnostic.o): Define dependence.
7013
7014 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7015
7016 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
7017 Tweak formatting.
7018
7019 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7020
7021 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
7022
7023 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
7024
7025 * fixtests.c (is_cxx_header): New fn, split out of
7026 double_slash_test.
7027 (else_endif_label): Allow "#endif // comment" in C++ headers,
7028 as determined by is_cxx_header.
7029 * fixfixes.c (else_endif_label_fix): Update comment.
7030 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
7031 a tty.
7032 * genfixes: Correct double thinko in commandline parsing.
7033 * hackshell.tpl: Generate correct sh syntax for bypass
7034 entries.
7035
7036 * inclhack.def (all): Whenever an inserted preprocessor
7037 conditional is split over multiple lines, use double
7038 backslashes in this file so the fixed header will be readable.
7039
7040 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
7041 and add bypass entry for correct version of this header.
7042 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
7043 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
7044
7045 (hpux8_bogus_inlines): New fix, split from...
7046 (ultrix_atof_param) ... here.
7047 (math_expression): Add bypass entry keyed to glibc comment
7048 indicating the problem has been dealt with; disable
7049 unnecessary sed operations; update commentary.
7050 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
7051 add select and bypass entries, simplify shell operation.
7052 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
7053
7054 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
7055 ultrix_atof_param): Add select entry.
7056 (stdio_va_list, sunos_mather_decl): Add bypass entry.
7057 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
7058 comments with the fixes they describe.
7059
7060 * c-parse.in (string action): Do not warn about ANSI string
7061 concatenation in system headers. Affects C parser only.
7062 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
7063
7064 1999-12-16 Jakub Jelinek <jakub@redhat.com>
7065
7066 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
7067 compiling libgcc2 the macro depends always on arch cpp defines.
7068
7069 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
7070
7071 * loop.c (insert_loop_mem): Don't record MEMs from inside
7072 EXPR_LISTs.
7073
7074 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
7075
7076 * regclass.c (regclass): Do not use flowgraph when not optimizing.
7077
7078 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
7079 notes too, create one when replacement failed, attempt to simplify
7080 resulting notes.
7081 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
7082 or REG_EQUIV notes.
7083
7084 1999-12-16 Mark Mitchell <mark@codesourcery.com>
7085
7086 * crtstuff.c (__dso_handle): Declare.
7087 (__cxa_finalize): Likewise.
7088 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
7089 non-NULL.
7090
7091 * invoke.texi: Document -fuse-cxa-atexit.
7092
7093 * tree.h (ptr_type_node): Document.
7094 (const_ptr_type_node): Likewise.
7095
7096 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7097
7098 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
7099 (optimize_reg_copy_2): Likewise.
7100 (optimize_reg_copy_3): Likewise.
7101 (fixup_match_2): Likewise.
7102 (regmove_optimize): Likewise.
7103 (fixup_match_1): Liekwise.
7104
7105 * i386.md (HI to SImode promoting splitters): Rewrite.
7106 (pushsf mem peep2): New.
7107 (testhi to andhi peep2): Remove.
7108 * i386.h (x86_promote_QImode): New.
7109 (TARGET_PROMOTE_QImode): New.
7110 (PREDICATE_CODES): Add promotable_binary_operator.
7111 * i386.c (x86_promote_QImode0: New.
7112 (promotable_binary_operator): New.
7113 * i386-protos.h (promotable_binary_operator): New.
7114
7115 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
7116 condition.
7117 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
7118
7119 1999-12-16 Mark Mitchell <mark@codesourcery.com>
7120
7121 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
7122 * function.c (insert_block_after_note): Remove.
7123 (retrofit_block): Likewise.
7124 (identify_blocks): Fix indentation.
7125 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
7126 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
7127 * function.h (insert_block_after_note): Remove prototype.
7128 (retrofit_block): Likewise.
7129 * integrate.c (expand_inline_function): Don't call
7130 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
7131 just expand_start_bindings. Use the block_map to remap old
7132 NOTE_BLOCKs to new ones.
7133 (integrate_decl_tree): Keep track of remapped blocks.
7134 * integrate.h (struct inline_remap): Add block_map.
7135 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
7136 NOTE_BLOCK on the notes.
7137 (expand_start_bindings): Rename to ...
7138 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
7139 (expand_end_bindings): Set NOTE_BLOCK.
7140 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
7141 reconstruct the BLOCK tree.
7142 * tree.h (expand_start_bindings): Macroize. Call ...
7143 (expand_start_bindings_and_block): New function.
7144
7145 1999-12-16 Jakub Jelinek <jakub@redhat.com>
7146
7147 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
7148 to match the format.
7149
7150 1999-12-16 David S. Miller <davem@redhat.com>
7151
7152 * expr.c (emit_move_insn_1): Only emit clobbers if one of
7153 the outputs is a SUBREG.
7154 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
7155 change.
7156
7157 * config/sparc/sparc.c (epilogue_renumber): Add default case
7158 to switch stmt.
7159
7160 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7161
7162 * toplev.c (rest_of_compilation): Run branch shortening after
7163 reg-stack.
7164
7165 * regclass.c (loop_depth): Remove
7166 (scan_one_insn): Do not handle LOOP_NOTE insns.
7167 (regclass): Go through basic blocks and set loop_cost
7168
7169 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
7170
7171 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
7172
7173 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7174
7175 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
7176 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
7177 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
7178
7179 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
7180
7181 * loop.c (insert_loop_mem): Ignore memory clobbers.
7182
7183 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
7184 to (OP A B).
7185
7186 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
7187
7188 * profile.c: Remove redundant #include "output.h".
7189
7190 * h8300.md (HImode preinc peephole): Fix typo.
7191
7192 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
7193
7194 * function.c (retrofit_block): Abort if we don't find a suitable insn.
7195 (insert_block_after_note): Abort if we don't have a previous block.
7196 Remove FN parameter.
7197 * function.h: Adjust.
7198
7199 1999-12-15 Mark Mitchell <mark@codesourcery.com>
7200
7201 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
7202 argument more than once.
7203
7204 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
7205
7206 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
7207
7208 1999-12-15 Jakub Jelinek <jakub@redhat.com>
7209
7210 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
7211
7212 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7213
7214 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
7215 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
7216 update stack_alignment_needed.
7217 (prepare_function_start): Initialize stack_alignment_needed
7218 * function.h (struct function): Add field stack_alignment_needed.
7219
7220 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7221
7222 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
7223 Handle live_throughout / dead_or_set instead of live_before /
7224 live_after.
7225 (save_call_clobbered_regs): Get register livenessinformation from
7226 chain->live_throughout.
7227 (add_stored_regs): New function.
7228 (insert_restore, insert_save): Add restored / saved registers to
7229 dead_or_set.
7230 * global.c (reg_dies): New parameter chain.
7231 (reg_becomes_live): Third parameter is regs_set now.
7232 Changed all callers.
7233 (reg_dies): New parameter chain. Changed all callers.
7234 (build_insn_chain): Set live_throughout instead of
7235 live_before / live_after.
7236 * reload.h (struct insn_chain): Replace members live_before /
7237 live_after with live_throughout / dead_or_set.
7238 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
7239 instead of live_before / live_after.
7240 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
7241 (order_regs_for_reload, find_reg, finish_spills): Likewise.
7242 (choose_reload_regs_init): Likewise.
7243 * stupid.c (current_chain, find_clobbered_regs): Delete.
7244 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
7245 instead of chain->live_before / chain->live_after.
7246 (mark_hard_ref): New function.
7247 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
7248
7249 1999-12-15 David S. Miller <davem@redhat.com>
7250
7251 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
7252
7253 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7254
7255 * flow.c (calculate_loop_depth): Make global, remove prototype,
7256 rewrite to use new loop infrastructure.
7257 (find_basic_block): Remove calculate_loop_depth call.
7258 * toplev.c (rest_of_compilation): Call find_basic_block.
7259 * output.h (calculate_loop_depth): Declare.
7260
7261 * flow.c (dump_flow_info): Dump loop_depth.
7262 (flow_loops_nodes_find): Increase loop_depth for basic block in the
7263 body.
7264 (flow_loops_find): Initialize the loop_depth for each basic block.
7265
7266 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
7267
7268 * tree.c (decl_function_context): Handle virtual functions.
7269
7270 * tlink.c (scan_linker_output): Don't look in demangled name when
7271 looking for linker output keywords.
7272
7273 * dwarfout.c (output_type): We can defer namespace-scope classes.
7274
7275 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
7276
7277 * regclass.c (record_reg_classes): Update comment for merging
7278 register class preferences in reg->reg copies. Tighten conditions
7279 for merging register class preferences in reg->reg copies.
7280
7281 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
7282
7283 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
7284
7285 1999-12-14 Geoff Keating <geoffk@cygnus.com>
7286
7287 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
7288 (INIT_SECTION_ASM_OP): Delete.
7289 (FINI_SECTION_ASM_OP): Delete.
7290 (STARTFILE_SPEC): Define to hold just crtbegin.o.
7291
7292 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
7293
7294 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
7295 the abstract origin wasn't emitted.
7296
7297 * dwarf2out.c (class_scope_p): New fn.
7298 (gen_subprogram_die): Use it.
7299 (gen_variable_die): Use it. Tweak logic.
7300 (gen_struct_or_union_type_die): Check context_die to determine
7301 if we're function-local.
7302 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
7303
7304 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
7305
7306 * loop.c (check_dbra_loop): Can't reverse a biv that has
7307 maybe_multiple set.
7308
7309 1999-12-14 Nick Clifton <nickc@cygnus.com>
7310
7311 * config/arm/arm.c: Add support for -mcpu=arm720 command line
7312 switch.
7313
7314 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7315
7316 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
7317 for givs made from biv increments.
7318
7319 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
7320
7321 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
7322 * alpha.c (override_options): Recognize -mcpu=ev67.
7323 * alpha.h (CPP_CPU_EV67_SPEC): New.
7324 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
7325 (EXTRA_SPECS): Update.
7326
7327 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
7328
7329 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
7330 appropriate for -lang-c89 and -std=*.
7331 * cppinit.c (cpp_handle_option): Likewise.
7332 (new_pending_define): New, split out from cpp_handle_option.
7333 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
7334 or enable trigraphs for -ansi/-std=*.
7335
7336 * ginclude/stdarg.h (__va_copy): New.
7337 (va_copy): Don't define for C89.
7338
7339 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
7340
7341 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
7342 for long long multiply-accumulate.
7343
7344 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7345
7346 * regclass.c (scan_one_insn): Set loop_cost to 1 when
7347 optimizing for size.
7348
7349 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
7350
7351 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
7352 if something changed. Back out that part of yesterday's changes.
7353
7354 * loop.c (loop_max_reg): New static variable.
7355 (loop_optimize): Initialize it. Eliminate one unnecessary call to
7356 max_reg_num.
7357 (scan_loop): Call reg_scan_update whenever we may have added new
7358 registers, and update loop_max_reg.
7359
7360 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7361
7362 * regclass.c (record_reg_classes): Do not do the copying preferrencing
7363 when source does not die.
7364
7365 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
7366
7367 1999-12-14 Jakub Jelinek <jakub@redhat.com>
7368
7369 * config/sparc/linux64.h (TARGET_LIVE_G0,
7370 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
7371 variants on Linux.
7372 * config/sparc/linux.h (TARGET_LIVE_G0,
7373 TARGET_BROKEN_SAVERESTORE): Likewise.
7374 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
7375 TARGET_BROKEN_SAVERESTORE): Likewise.
7376
7377 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
7378 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
7379 not %g2.
7380 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
7381 as sparc64 block profiling register.
7382 * config/sparc/sparc.c (sparc_override_options): Allow block
7383 profiling with -m32.
7384 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
7385 profiling register.
7386 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
7387 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
7388 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
7389
7390 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
7391 for sparc64.
7392 * config/sparc/sparc.h: Likewise.
7393 * config/sparc/xm-sysv4-64.h: Likewise.
7394 * config/float-sparc.h: Likewise.
7395 * glimits.h: Likewise.
7396 * longlong.h: Likewise.
7397
7398 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
7399 (ASM_IDENTIFY_GCC): Remove.
7400
7401 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
7402
7403 * combine.c (combine_simplify_rtx): Don't make shared rtl.
7404 (simplify_logical): Likewise.
7405
7406 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
7407
7408 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
7409 * cppfiles.c (INO_T_EQ): Likewise.
7410
7411 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
7412
7413 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
7414 * i386/mingw32.h (LIB_SPEC): Likewise.
7415 (STARTFILE_SPEC): Likewise.
7416 * i386/uwin.h (LIB_SPEC): Likewise.
7417 (STARTFILE_SPEC): Likewise.
7418
7419 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
7420 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
7421
7422 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
7423
7424 * combine.c (combine_simplify_rtx): Fix order of checks for
7425 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
7426
7427 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
7428
7429 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
7430 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
7431
7432 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
7433
7434 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
7435 defined.
7436 * regclass.c (inv_reg_alloc_order): New array.
7437 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
7438
7439 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
7440 counted_for_groups, counted_for_nongroups. Add fields rld and
7441 n_reloads.
7442 * reload.c (push_secondary_reload): Don't set nongroup field of
7443 new reloads.
7444 (push_reload): Likewise.
7445 (find_reloads): Delete code to compute nongroup fields.
7446 * reload1.c (reload_insn_firstobj): New static variable.
7447 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
7448 users changed.
7449 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
7450 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
7451 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
7452 functions.
7453 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
7454 functions.
7455 (struct hard_reg_n_uses): Deleted.
7456 (potential_reload_regs): Deleted.
7457 (init_reload): Initialize spilled_pseudos and pseudos_counted.
7458 (reload): Don't try to allocate reload registers if we already know
7459 we have to make another pass. Call select_reload_regs. Free memory
7460 starting with reload_firstobj when starting another pass.
7461 Don't allocate spilled_pseudos.
7462 (calculate_needs_all_insns): Call copy_reloads for an insn that
7463 needs reloads; don't call calculate_needs.
7464 (spill_cost): New static array.
7465 (used_spill_regs_local): New static variable.
7466 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
7467 to compute potential_reload_regs.
7468 (find_reload_regs): Completely rewritten to use find_reg.
7469 (allocate_reload_reg): Don't test counted_for_groups or
7470 counted_for_nongroups. Lose NOERROR arg and code to give an error;
7471 all cllers changed.
7472 (choose_reload_regs): Add fallback code that uses the existing
7473 register allocation from find_reload_regs.
7474
7475 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
7476
7477 * flow.c (create_edge_list): Cast xmalloc return value.
7478
7479 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
7480
7481 * doprnt.c: Remove incorrect comment closure.
7482
7483 * cse.c: Fix a few minor whitespace goofs.
7484
7485 1999-12-13 Don Bowman <don@pixstream.com>
7486
7487 * mips/vxworks.h: Fix problem with comment termination.
7488 (EXTRA_SECTIONS): Add in_sbss.
7489 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
7490
7491 1999-12-12 David S. Miller <davem@redhat.com>
7492
7493 * cse.c (struct cse_reg_info): Add hash_next member,
7494 reorder rest of struct for better packing on 64-bit
7495 hosts.
7496 (cse_reg_info_tree): Kill.
7497 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
7498 REGHASH_FN): New custom pow2 hash mechanism.
7499 (NBUCKETS): Kill.
7500 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
7501 use a pow2 hash table.
7502 (get_cse_reg_info): Rework to use new REGHASH.
7503 (new_basic_block): Likewise, use HASH_SIZE, and inline
7504 free_element call.
7505 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
7506 and inline free_element call.
7507 (lookup_as_function, insert, flush_hash_table, invalidate,
7508 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
7509 invalidate_for_call, use_related_value, find_comparison_args,
7510 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
7511 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
7512 get_element): Kill.
7513
7514 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
7515
7516 * cse.c (cse_basic_block): Free qty_table consistently.
7517
7518 1999-12-12 David S. Miller <davem@redhat.com>
7519 Jakub Jelinek <jakub@redhat.com>
7520
7521 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
7522 SUBREGs by hand, gen the appropriate hard reg directly.
7523 (movtf reg/mem split): Likewise and alter_subreg on destination
7524 if necessary.
7525 (movtf mem/reg split): Similarly.
7526 (movdf_cc_sp64): Rename from hidden pattern.
7527 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
7528 (movtf_cc_sp64, following split): New pattern and splitter.
7529 (movdf_cc_reg_sp64): Rename from hidden pattern.
7530 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
7531 TARGET_HARD_QUAD.
7532 (movtf_cc_reg_sp64, following split): New pattern and splitter.
7533
7534 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
7535
7536 * loop.c (load_mems): Don't hoist written floating point mem
7537 if -ffloat-store.
7538
7539 1999-12-12 Mark Mitchell <mark@codesourcery.com>
7540
7541 * except.h (struct eh_queue): Add `next' pointer.
7542 (struct eh_status): Make x_ehqueue a pointer.
7543 (push_ehqueue): Declare.
7544 (pop_ehqueue): Likewise.
7545 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
7546 pointer.
7547 (expand_fixup_region_end): Likewise.
7548 (expand_leftover_cleanups): Likewise.
7549 (push_ehqueue): Define.
7550 (pop_ehqueue): Likewise.
7551 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
7552 than doing it inline.
7553 (expand_start_all_catch): Adjust now that ehqueue is a
7554 pointer.
7555 (mark_eh_queue): Mark all level of the queue.
7556 (mark_eh_status): Adjust now that ehqueue is a
7557 pointer.
7558 (init_eh_for_function): Allocate ehqueue.
7559 (free_eh_status): Free it.
7560 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
7561 expansion for a fixup.
7562
7563 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7564
7565 * gthr-single.h (__gthread_active_p): Add prototype arguments.
7566
7567 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
7568 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
7569 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
7570 function_ptr, getpagesize, __enable_execute_stack,
7571 __enable_execute_stack, __clear_insn_cache,
7572 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
7573 _cleanup, _exit, __default_terminate, __terminate_func,
7574 __terminate, __empty, __throw, new_eh_context,
7575 eh_context_initialize, eh_context_static, eh_context_specific,
7576 get_eh_context, __get_eh_context, __get_eh_info,
7577 init_reg_size_table, eh_threads_initialize,
7578 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
7579 __unwinding_cleanup, throw_helper, __throw, __rethrow,
7580 __pure_virtual): Add prototype arguments.
7581 (__bb_exit_func): Cast a sizeof to long when comparing against one.
7582 Cast a signed value to unsigned long when comparing against one.
7583 (new_eh_context): Wrap in _GTHREADS macro.
7584 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
7585 declaration.
7586 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
7587 (throw_helper): Initialize variables `handler_p' and `pc_p'.
7588
7589 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7590
7591 * combine.c (record_promoted_value): Remove unused variable
7592 `links2'.
7593
7594 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
7595
7596 * global.c (record_conflicts): Likewise for `j'.
7597
7598 * genoutput.c (output_insn_data): Don't unnecessarily cast away
7599 const-ness.
7600
7601 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7602
7603 * i386-protos.h (output_387_binary_op, output_fix_trunc,
7604 output_fp_compare): Constify a char*.
7605
7606 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
7607 static prototypes.
7608 (override_options, ix86_comp_type_attributes, print_operand,
7609 output_387_binary_op, output_fix_trunc, output_fp_compare):
7610 Constify a char*.
7611 (ix86_sched_reorder): Mark parameter `clock_var' with
7612 ATTRIBUTE_UNUSED.
7613
7614 * i386.h (DEBUG_PRINT_REG): Constify a char*.
7615
7616 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
7617
7618 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
7619 operand, for use in the Java front-end.
7620
7621 1999-12-10 Ben Collins <bcollins@debian.org>
7622
7623 * configure.in: Fix typo for "-64" in 64bit as check.
7624 * configure: Rebuilt.
7625
7626 1999-12-10 Jakub Jelinek <jakub@redhat.com>
7627
7628 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
7629 appropriate.
7630
7631 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7632
7633 * c-parse.in (string): With -Wtraditional, warn if ANSI string
7634 concatenation is utilized.
7635
7636 * invoke.texi (-Wtraditional): Document it.
7637
7638 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7639
7640 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
7641 Cast a ptrdiff_t to long and pass it to printf with %ld.
7642
7643 1999-12-10 Geoff Keating <geoffk@cygnus.com>
7644
7645 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
7646 68881, we have no 68881 registers at all.
7647 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
7648 value in a 68881 register if it is available.
7649
7650 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
7651
7652 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
7653 for long long multiply-accumulate.
7654
7655 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
7656
7657 * loop.c (insert_loop_mem): Undo last change.
7658
7659 1999-12-10 David S. Miller <davem@redhat.com>
7660
7661 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
7662 New functions.
7663 * config/sparc/sparc-protos.h: Add them.
7664 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
7665 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
7666 constraints which use those helpers.
7667 (EXTRA_CONSTRAINT): Use this new macro.
7668 * md.texi: Update sparc target constraints documentation.
7669 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
7670 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
7671 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
7672 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
7673 (movsf high/lo_sum split): Rework for new patterns.
7674 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
7675
7676 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
7677
7678 * c-common.c (c_common_nodes_and_builtins):
7679 Create __builtin_ptrdiff_t and __builtin_size_t.
7680
7681 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
7682
7683 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
7684
7685 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7686
7687 * regclass.c (globalize_reg): Re-instate test that allows
7688 fixed registers to be declared as a variable even after functions
7689 are defined.
7690
7691 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7692
7693 * i386.md (cpu attribute): Add "athlon".
7694 (athlon_decode): New attribute.
7695 (Athlon scheduling units definitions): New.
7696 (fcmp and shld patterns): Set athlon_decode to "vector".
7697 * i386.c (athlon_cost): New.
7698 (m_ATHLON): New.
7699 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
7700 x86_use_sahf): Set for Athlon.
7701 (x86_use_fiop): Unset for Athlon.
7702 (override_options): Define Athlon alignments and "athlon" name.
7703 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
7704 * i386.h (TARGET_ATHLON): New.
7705 (enum processor_type): Add PROCESSOR_ATHLON.
7706 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
7707 for CPU_DEFAULT==5
7708 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
7709
7710 1999-12-09 Andreas Jaeger <aj@suse.de>
7711
7712 * loop.c (record_biv): Declare parameter as int.
7713
7714 * config/i386/i386-protos.h: Declare long_memory_operand.
7715
7716 1999-12-09 Mark Mitchell <mark@codesourcery.com>
7717
7718 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
7719 EXPR_WITH_FILE_LOCATION.
7720
7721 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7722
7723 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
7724 in expander.
7725
7726 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
7727
7728 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
7729 updating code.
7730
7731 1999-12-09 Jakub Jelinek <jakub@redhat.com>
7732
7733 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
7734 default on linux64 again.
7735 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
7736 models for multilibing.
7737 * genmultilib: Accept | as alternative separator within a set in
7738 MULTILIB_OPTIONS.
7739
7740 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
7741
7742 * calls.c (precompute_arguments): Make sure initial_value contains
7743 value pseudo which CSE expects.
7744 * cse.c (struct set): New entry orig_src.
7745 (cse_insn): Set it early on entry, use it for libcall EQUIV note
7746 replacement.
7747
7748 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
7749
7750 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
7751
7752 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
7753
7754 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
7755
7756 1999-12-08 Jakub Jelinek <jakub@redhat.com>
7757
7758 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
7759 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
7760
7761 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
7762 if TARGET_ARCH32.
7763
7764 * longlong.h: Merge in changes from glibc.
7765 Also don't clobber %g2 register in 32bit SPARC assembly, so that
7766 -mno-app-regs libgcc can be compiled.
7767 * libgcc2.c: Add defines so that the updated longlong.h
7768 can be used in libgcc2.a. Also, make sure on most architectures
7769 (at least on all which have optimized code in longlong.h defined
7770 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
7771
7772 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7773
7774 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
7775 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
7776 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
7777 is GNU ld.
7778 * configure: Rebuilt.
7779
7780 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
7781
7782 * alpha.c (secondary_reload_class): For !BWX, sub-simode
7783 outputs require a register.
7784
7785 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
7786
7787 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
7788 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
7789 functions like dptoul will be resolved.
7790 (libgcc2.a): Make sure that the object files from DPBIT are named
7791 differently (prefix `_dp') from those that would be coming from
7792 FPBIT.
7793
7794 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
7795
7796 * configure.in: When target is sparc* and tm_file contains 64,
7797 test for 64bit support in assembler. If not supported, remove
7798 sparc/t-sol2-64 from target-dependent Makefile fragments.
7799 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
7800 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
7801 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
7802 * acconfig.h (AS_SPARC64_FLAG): Added.
7803 * configure, config.in: Rebuilt.
7804 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
7805 support. Use AS_SPARC64_FLAG.
7806
7807 1999-12-07 Jakub Jelinek <jakub@redhat.com>
7808
7809 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
7810 suitable for holding OFmode values so that gcc works with complex
7811 quad long doubles.
7812 (hard_64bit_mode_classes): Likewise.
7813
7814 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
7815 so that it is actually matched.
7816 (sethi_di_medlow): Likewise.
7817
7818 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
7819 as legitimate constant if -mvis.
7820 * config/sparc/sparc.md (movtf): Likewise.
7821 (clear_sf): Use const_double_operand.
7822 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
7823
7824 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
7825 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
7826 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
7827 routines, _Qp_* cannot be handled like that now.
7828 (INIT_TARGET_OPTABS): Likewise.
7829 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
7830 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
7831 sparc_emit_float_lib_cmp if ARCH64 and soft float.
7832 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
7833 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
7834 divtf3, sqrttf3): New expanders.
7835 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
7836 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
7837 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
7838 non-_hq patterns.
7839
7840 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
7841 * configure: Rebuilt.
7842 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
7843 -mcpu is given and we're doing 64bit compiles.
7844
7845 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
7846
7847 * loop.h (struct induction): Add multi_insn_incr.
7848 * loop.c (basic_induction_var): New multi_insn_incr argument.
7849 Set it if we search back through previous insns for the biv.
7850 (record_biv): New multi_insn_incr argument; fill in struct induction.
7851 (strength_reduce): Discard an iv with multiple bivs, any of
7852 which require multiple insns to increment.
7853
7854 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7855
7856 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
7857 documentation.
7858
7859 1999-12-06 David S. Miller <davem@redhat.com>
7860
7861 * combine.c (check_promoted_subreg): Do not conditionalize this upon
7862 PROMOTE_FUNCTION_RETURN.
7863
7864 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
7865
7866 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
7867 and handle REG_UNUSED note on insn.
7868
7869 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
7870 inner_mask instead of mask.
7871
7872 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
7873
7874 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
7875 zero if there was an error.
7876
7877 1999-12-06 Jakub Jelinek <jakub@redhat.com>
7878
7879 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
7880 output string.
7881
7882 * longlong.h: Fix clobbers in SPARC asm statements.
7883
7884 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
7885 valid sethi operations when TARGET_ARCH64.
7886
7887 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
7888 always use move_by_pieces to avoid infinite recursion.
7889 (restore_fixed_argument_area): Likewise.
7890
7891 * combine.c (check_promoted_subreg, record_promoted_value): New
7892 functions.
7893 (combine_instructions): Use them to retain nonzero and sign bit
7894 information after SUBREGs are eliminated by optimizations in
7895 this pass if PROMOTE_FUNCTION_RETURN.
7896
7897 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
7898 .register declaration. Don't use variables with __ prefixes.
7899
7900 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7901
7902 * fold-const.c (optimize_bit_field_compare): Only use one mode
7903 for both RHS and LHS in non-constant case.
7904
7905 1999-12-06 Nathan Sidwell <nathan@acm.org>
7906
7907 * frame.c (start_fde_sort): Only allocate erratic array, if
7908 linear one was allocated. Return allocated flag.
7909 (fde_insert): Only insert, if there's a valid array.
7910 (fde_end_sort): Split, sort and merge if linear and erratic
7911 arrays exist, else just sort linear one.
7912 (search_fdes): New function. Linear search through original fde
7913 structure.
7914 (frame_init): Permit multiple initializations. Cope with
7915 memory shortages.
7916 (find_fde): Fallback on linear search, if failed to sort array.
7917 (__deregister_frame_info): Only free sorted array, if we
7918 allocated it.
7919
7920 1999-12-06 Jakub Jelinek <jakub@redhat.com>
7921
7922 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
7923
7924 1999-12-05 Jakub Jelinek <jakub@redhat.com>
7925
7926 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
7927
7928 1999-12-05 Mark Mitchell <mark@codesourcery.com>
7929
7930 * tree.h (special_function_p): Declare.
7931 * calls.c (special_function_p): Make it global. Don't take `name'
7932 as a parameter. Fix typo in 1999-11-28 change.
7933 (expand_cal): Adjust.
7934
7935 1999-12-04 Mark Mitchell <mark@codesourcery.com>
7936
7937 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
7938 * tree.h (EXPR_WFL_FILENAME): Define in terms of
7939 EXPR_WFL_FILENAME_NODE.
7940 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
7941 the TREE_CHAIN.
7942 * print-tree.c (print_note): Print TREE_PRIVATE and
7943 TREE_PROTECTED.
7944
7945 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
7946 the original die cannot be found.
7947
7948 * varray.h (varray_head_tag): Add elements_used.
7949 (VARRAY_PUSH): New macro.
7950 (VARRAY_POP): Likewise.
7951 (VARRAY_TOP): Likewise.
7952 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
7953 types.
7954 * varray.c (varray_init): Initialize elements_used.
7955 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
7956 (INTEGRATE_H): New variable.
7957 (integrate.o): Depend on INTEGRATE_H.
7958 (unroll.o): Likewise.
7959
7960 * function.h (insert_block_after_note): Declare.
7961 * function.c (insert_block_after_note): Split out from ...
7962 (retrofit_block): ... here.
7963
7964 * stmt.c (expand_fixup): Fix typo in comment.
7965
7966 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
7967
7968 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
7969 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
7970 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
7971 (regmove_optimize, fixup_match_1): Likewise.
7972
7973 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7974
7975 * flow.c (flow_loops_dump): Add missing argument when calling
7976 flow_loop_nested_p.
7977
7978 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
7979 Greg McGary <gkm@gnu.org>
7980
7981 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
7982 (init_attributes): Add A_NO_LIMIT_STACK.
7983 (decl_attributes): Handle A_NO_LIMIT_STACK.
7984 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
7985 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
7986 Handle stack bounds checking.
7987 * flags.h (flag_stack_check): Use the word 'probe' rather than
7988 'check', because the flag doesn't actually cause any checking to
7989 be done.
7990 * function.c (expand_function_start): Set
7991 current_function_limit_stack.
7992 * function.h (struct function): Add limit_stack.
7993 (current_function_limit_stack): Define.
7994 * invoke.texi (Code Gen Options): Document new options.
7995 * rtl.h: Declare stack_limit_rtx.
7996 * toplev.c (stack_limit_rtx): New variable.
7997 (decode_f_option): Handle new options -fstack-limit-register=REG,
7998 -fstack-limit-symbol=IDENT, -fno-stack-limit.
7999 (main): Add stack_limit_rtx as GC root.
8000 * tree.h (DECL_NO_LIMIT_STACK): New macro.
8001 (struct tree_decl): New member no_limit_stack.
8002
8003 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
8004 stack_limit_rtx.
8005 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
8006 (conditional_trap+1): Get new mnemonic correct.
8007 (conditional_trap+2): New pattern for DImode traps.
8008
8009 * config/m68k/m68k.c (output_function_prologue): Handle
8010 stack_limit_rtx.
8011 * config/m68k/m68k.md (trap): New insn.
8012 (conditional_trap): New insn.
8013 * md.texi (Standard Names): Document `trap' and
8014 `conditional_trap'.
8015 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
8016 so a cc0 setter doesn't get emitted at some random place in the
8017 function.
8018
8019 * config/i960/i960.md (trap): New insn.
8020 (conditional_trap): New expander.
8021 (conditional_trap+1, conditional_trap+2): New insns for signed
8022 and unsigned cases.
8023 * config/i960/i960.c (i960_function_prologue): Use
8024 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
8025
8026 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
8027 Geoffrey Keating <geoffk@cygnus.com>
8028
8029 * flags.h (warn_padded, warn_packed): Add global var decls.
8030 * toplev.c (warn_padded, warn_packed): Add global var defns.
8031 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
8032 * stor-layout.c (layout_record): Add local variable `type'
8033 to hold often-used TREE_TYPE (field). Add local variable
8034 `unpacked_align' to hold alignment that would be in force
8035 if no `packed' attribute were present. Warn if `packed' attribute
8036 is unnecessary, or even harmful. Warn when gcc inserts padding
8037 to satisfy alignment requirements of members. Use NULL_TREE
8038 when checking whether var_size is set.
8039 * invoke.texi: Document new flags.
8040
8041 1999-12-03 Nathan Sidwell <nathan@acm.org>
8042
8043 * frame.c (fde_split): Reimplement to avoid variable sized array.
8044
8045 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8046
8047 * combine.c (try_combine): Before fixing up LOG_LINKS for the
8048 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
8049
8050 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
8051
8052 * invoke.texi: Document the mips option -mno-crt0
8053
8054 1999-12-02 Mike Karr <mkarr@mathworks.com>
8055
8056 * cccp.c (argdata): Added free_ptr member.
8057 (macroexpand): Initialize free_ptr of each argument. When an
8058 argument's buffers are freed, if the argument's free_ptr corresponds
8059 to a buffer on the input stack, then return the free_ptr to that stack
8060 frame, otherwise, free it.
8061 (macarg): If an argument begins and ends on the same input stack level,
8062 then transfer the free_ptr of that buffer to the argument in case
8063 the stack is popped during the processing of a subsequent argument.
8064
8065 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
8066
8067 * loop.c (note_reg_stored): New function.
8068 (struct note_reg_stored_arg): New structure.
8069 (try_copy_prop): Change to be more conservative; only replace within
8070 one extended basic block and stop replacing if a store to the
8071 replacement reg is seen.
8072
8073 1999-12-02 Nick Clifton <nickc@cygnus.com>
8074
8075 * config/fp-bit.c: Initialise all fields of the NAN
8076 constants.
8077
8078 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
8079 to HANDLE_PRAGMA.
8080
8081 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
8082
8083 * i386.md (extend?f?f2): Force the input into a register, not
8084 the output.
8085
8086 1999-12-01 Jakub Jelinek <jakub@redhat.com>
8087
8088 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
8089 regclass' sake.
8090 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
8091 alternative because setting up 64bit constant is usually costly,
8092 especially when reload is in progress or completed.
8093 (movdf_const_intreg_sp64): Likewise.
8094 (movdf_const_intreg split): Fix building up constants when
8095 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
8096
8097 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
8098
8099 * combine.c (if_then_else_cond): Use const_true_rtx instead of
8100 const1_rtx for return values in EQ/NE comparison against (const_int 0)
8101 case.
8102
8103 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
8104 (asm_file_start): Emit .am33 into assembly file when compiling for
8105 the AM33.
8106 (print_operand_address): Handle POST_INC addresses.
8107 (can_use_return_insn, initial_offset): Check AM33 registers too.
8108 (expand_prologue): Check & save AM33 registers too.
8109 (expand_epilogue): Similarly.
8110 (secondary_reload_class): Handle AM33 specific secondary reloads.
8111 (output_tst): Emit efficient code for the AM33 too.
8112 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
8113 (TARGET_SWITCHES): Add -mam33 switch.
8114 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
8115 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
8116 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
8117 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
8118 (enum reg_class, REG_CLASS_NAMES): Likewise.
8119 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
8120 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
8121 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
8122 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
8123 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
8124 (HAVE_POST_INCREMENT): Define.
8125 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
8126 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
8127 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
8128 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
8129 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
8130 (zero_extend to SI from QI/HI): Likewise.
8131 (sign_extend to SI from QI/HI): Likewise.
8132 (mulsidi3, umulsidi3): New patterns for the AM33.
8133 (tstsi with zero extension from QI/HI): Add AM33 variants.
8134 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
8135 (return_internal_regs, store_movm): Handle new AM33 registers.
8136 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
8137 (LIBGCC, INSTALL_LIBGCC): Likewise.
8138 * invoke.texi: Document new flags.
8139
8140 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
8141
8142 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
8143 (addsi3_carry): Likewise.
8144 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
8145 (sbbsi3_carry): Likewise.
8146 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
8147 (mulhi3): Likewise.
8148 (test?i_1): Ensure that only one operand is memory.
8149 (conditional move patterns): likewise.
8150 (shift and rotate patterns): Rewrite to expander, add
8151 "binary_operator_ok" to the condition.
8152
8153 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
8154 * i386.h (procesor_costs): Add movzbl_load field.
8155 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
8156 non-Q registers, accept DImode registers anywhere.
8157 (Q_CLASS_P): New.
8158 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
8159 * i386.c (*_cost): Set value for movxbl_load field.
8160
8161 * (addsi): New add to lea splitter.
8162 (ashlsi): Likewise.
8163 (lea to add/shift peep2): New.
8164
8165 1999-12-01 Mark Salter <msalter@cygnus.com>
8166
8167 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
8168 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
8169 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
8170
8171 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8172
8173 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
8174 * i386.md (movsi_xor): New.
8175 (movsi_or): New.
8176 (movsi_1, movhi_1, movqi_1): Remove.
8177 (movsi_2): Rename to movsi_1.
8178 (movhi_2): Rename to movhi_1.
8179 (movqi_2): Rename to movqi_1.
8180 (movdi_1): Remove; remove splitter.
8181 (movdi_2): Rename to movdi_1.
8182 (divmodsi4 splitter): Do not emit clobbers for move patterns.
8183 (long move peep2): Do not create QI or HI mode mov0s
8184 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
8185
8186 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
8187 rewrite splitters.
8188
8189 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
8190 (abs?f2_if): Likewise.
8191
8192 1999-11-30 Alex Samuel <samuel@codesourcery.com>
8193
8194 * ggc.h (ggc_test_and_set_mark): New macro.
8195 (ggc_mark_rtx): Use ggc_test_and_set_mark.
8196 (ggc_mark_tree): Likewise.
8197 (ggc_mark_rtvec): Likewise.
8198 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
8199
8200 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
8201
8202 * dwarf2out.c (scope_die_for): Only handle types. Only search for
8203 containing types.
8204 (decl_scope_table): Just an array of trees now.
8205 (push_decl_scope): Simplify.
8206 (dwarf2out_init): Adjust.
8207 (local_scope_p): New fn.
8208 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
8209 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
8210 (gen_typedef_die): Likewise.
8211 (gen_lexical_block_die): Don't call push/pop_decl_scope.
8212 (gen_inlined_subroutine_die): Likewise.
8213 (gen_abstract_function): Set current_function_decl temporarily.
8214 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
8215 Handle block extern declarations. Don't call push/pop_decl_scope.
8216 (gen_decl_die): Fix logic for block externs.
8217
8218 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8219
8220 * calls.c (special_function_p): Remove `realloc' and add `strdup'
8221 to the list of functions which have attribute malloc by default.
8222
8223 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8224
8225 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
8226 integer constant does not match the traditional type, limit the
8227 warnings to cases where the base of the type is ten.
8228
8229 * invoke.texi (-Wtraditional): Document it.
8230
8231 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8232
8233 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
8234 * rs6000.md: Only access a CONST_INT with INTVAL
8235
8236 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
8237
8238 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
8239 (compute_nearerout): Likewise.
8240 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
8241 size_t to unsigned long for formatting.
8242
8243 1999-11-30 Jakub Jelinek <jakub@redhat.com>
8244
8245 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
8246 Allow the user to override call-used/fixed state of %g2-5
8247 registers from the command line (with the exception of %g4 for
8248 embedded model).
8249 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
8250 there is a higher chance of having a leaf function.
8251 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
8252 for ARCH64 which has %ccr register.
8253 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
8254 patterns.
8255 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
8256 insn accept into delay slot any insn which does not use %[ol]
8257 registers. Accept some LO_SUM and shift left by 1 for the normal
8258 restore case.
8259 (output_function_epilogue): Likewise.
8260 (epilogue_renumber): Added argument which inhibits any renumbering
8261 and just tests if the rtx does not use any %[ol] registers.
8262 (output_return): Reflect above change.
8263
8264 1999-11-30 Jakub Jelinek <jakub@redhat.com>
8265
8266 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
8267 aggregate passing for sizes <= 16 bytes.
8268
8269 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
8270
8271 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
8272 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
8273 * reload.c (find_dummy_reload): Likewise.
8274 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
8275 * reload1.c (reload_as_needed): Likewise.
8276 * stupid.c (stupid_find_reg): Likewise.
8277 * tm.texi (Obsolete Register Macros): Delete section.
8278 * gmicro.h: Remove all traces of the two macros.
8279 * i386.h: Likewise.
8280 * m88k.h: Likewise.
8281 * mips.h: Likewise.
8282
8283 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
8284
8285 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
8286 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
8287 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
8288 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
8289 units for the sparclite86x chip.
8290 (flush): Revert October 14th change; add SImode specifically.
8291 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
8292 * invoke.texi: Document it.
8293
8294 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
8295
8296 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
8297 psimode_truncation_operand.
8298
8299 * config/mn10200/mn10200.c (psimode_truncation_operand): New
8300 function. Return true if the operand is either a MEM valid
8301 for a PSImode address or not a MEM at all.
8302
8303 * config/mn10200/mn10200.md (truncsipsi2): Use
8304 psimode_truncation_operand.
8305
8306 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8307
8308 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
8309 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
8310 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
8311 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
8312 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
8313 (flow_loop_level_compute, low_loops_level_compute): Likewise.
8314 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
8315 * basic-block.h: Protect from multiple inclusion.
8316 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
8317 (struct loops, struct loop): Define structures.
8318 * sbitmap.c (sbitmap_a_subset_b_p): New function.
8319 * sbitmap.h: Protect from multiple inclusion.
8320 (sbitmap_a_subset_b_p): Add prototype.
8321 * Makefile.in (LOOP_H): New macro.
8322 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
8323
8324 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
8325
8326 * cppinit.c (CAT): The argument list of this macro may not contain
8327 spaces !
8328
8329 1999-11-29 David S. Miller <davem@redhat.com>
8330
8331 Move quantity tables and register equivalence chains into
8332 per-qty and per-register structure arrays respectively.
8333 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
8334 qty_const_insn, qty_comparison_code, qty_comparison_const,
8335 qty_comparison_qty): Delete, replace with...
8336 (qty_table): this structure table.
8337 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
8338 (reg_eqv_table): this structure table.
8339 (make_new_qty): Add argument MODE. Caller updated.
8340 Update to use qty_table and reg_eqv_table.
8341 (make_regs_eqv, delete_reg_equiv, insert_regs,
8342 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
8343 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
8344 cse_process_notes, cse_main, cse_basic_block): Likewise.
8345
8346 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8347
8348 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
8349 operation if C is negative.
8350 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
8351 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
8352 law for some divisions if constant is negative and change other
8353 divisions to the opposite rounding.
8354
8355 * expr.c (store_constructor_field): If bit position is not multiple
8356 of alignment of TARGET's mode, use BLKmode.
8357
8358 * expr.c (expand_expr_unaligned): Add more code from full case
8359 that is needed when OP0 is in a register.
8360
8361 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8362
8363 * dwarfout.c (field_byte_offset): Size can be zero if there was
8364 an error.
8365
8366 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
8367
8368 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
8369 (associate_trees): Delete unused var TEM.
8370 (extract_muldiv): Delete unused var CANCEL_P.
8371
8372 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
8373 (target_isinf, target_isnan, target_negative): Add return types to
8374 function definitions.
8375
8376 1999-11-29 Bruce Korb <autogen@linuxbox.com>
8377
8378 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
8379 * fixinc/hackshell.tpl: ditto
8380 * fixinc/fixtests.c(double_slash_test): more C++ header testing
8381 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
8382
8383 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
8384
8385 * reload.c (push_reload): When looking for a register to put into
8386 reg_rtx, make sure all hard regs in a multi-reg register are in the
8387 right class and nonfixed.
8388
8389 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
8390 pending_read_insns, pending_write_insns, pending_read_mems,
8391 pending_write_mems, pending_list_length, last_pending_memory_flush,
8392 last_function_call, sched_before_next_call): Move static variables
8393 into a structure.
8394 (bb_ prefixed versions): Replace with single array bb_deps.
8395 (struct deps): New structure.
8396 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
8397 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
8398 argument of type "struct deps *"; use that instead of global
8399 variables. All callers changed.
8400 (init_rgn_data_dependencies): Delete function.
8401 (init_rtx_vector): Delete function.
8402 (init_deps): New function.
8403
8404 (free_pending_lists): Simplify, we always use the bb_deps array even
8405 if only one basic block.
8406 (compute_block_backward_dependences): Likewise.
8407 (schedule_region): Likewise.
8408
8409 (propagate_deps): New function, broken out of
8410 compute_block_backward_dependences.
8411 (compute_block_backward_dependences): Use it.
8412
8413 * alpha.md: Delete useless patterns that tried to work around
8414 register elimination problems.
8415
8416 * unroll.c (loop_iterations): Don't abort if iteration variable
8417 was made by loop.
8418
8419 From Joern Rennecke:
8420 * reload1.c (reloads_conflict): Reverse test comparing operand
8421 numbers when testing for conflict between output/outaddr reloads.
8422
8423 1999-11-29 David S. Miller <davem@redhat.com>
8424
8425 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
8426 arg.
8427 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
8428
8429 1999-11-28 Robert Lipe <robertl@cygnus.com>
8430
8431 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
8432 table from .fini into .dtor.
8433
8434 1999-11-28 Anthony Green <green@cygnus.com>
8435
8436 * tree.h (struct tree_decl): Add malloc_flag.
8437 (DECL_IS_MALLOC): Define.
8438 * c-common.c (attrs): Add A_MALLOC attribute.
8439 (init_attributes): Add this attribute to the table.
8440 (decl_attributes): Handle malloc attribute.
8441 * calls.c (special_function_p): Check for the malloc attribute.
8442 * extend.texi (Function Attributes): Document malloc attribute.
8443
8444 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
8445
8446 * pa.md (reload shift-add patterns): Remove.
8447
8448 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8449
8450 * reorg.c (dbr_schedule) Print more statistics. Corrected
8451 problem when printing info when 3 delay slots are filled.
8452
8453 1999-11-28 Jakub Jelinek <jakub@redhat.com>
8454
8455 * combine.c (setup_incoming_promotions): Pass an outgoing
8456 regno to FUNCTION_ARG_REGNO_P which it expects.
8457
8458 1999-11-28 Andreas Jaeger <aj@suse.de>
8459
8460 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
8461
8462 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
8463
8464 * cccp.c (do_include): Avoid initialization of automatic variable.
8465
8466 * integrate.c (mark_stores): Function definition made void, to match
8467 previous declaration.
8468 * regclass.c (dump_regclass): Ditto.
8469 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
8470
8471 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8472
8473 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
8474 known to be multiple of divisor.
8475
8476 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
8477
8478 * combine.c (try_combine): Add code to try to merge a set of a
8479 two-word pseudo to a constant with a setting of one of those words
8480 to a constant.
8481
8482 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
8483 (split_tree): Completely rework to make more general.
8484 (make_range, fold): Call negate_expr.
8485 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
8486 (fold, associate): Call new split_tree and associate_trees.
8487 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
8488
8489 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
8490
8491 * loop.c (try_copy_prop): Avoid GNU C extension.
8492
8493 1999-11-25 Mark Mitchell <mark@codesourcery.com>
8494
8495 * except.c (init_eh_for_function): Still zero eh_return_context,
8496 eh_return_stack_adjust, and eh_return_handler.
8497
8498 * except.h (eh_status): Adjust documentation for x_protect_list.
8499 (begin_protect_partials): New function.
8500 * except.c (enqueue_eh_entry): Fix formatting.
8501 (get_first_handler): Add consistency check.
8502 (add_partial_entry): Adjust usage of protect_list.
8503 (emit_cleanup_handler): Save and restore ehqueue.
8504 (expand_start_all_catch): Add comment.
8505 (begin_protect_partials): New function.
8506 (end_protect_partials): Adjust usage of protect_list.
8507 (init_eh_for_function): Use xcalloc.
8508
8509 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8510
8511 * c-common.c (check_format_info): Don't call a variadic function
8512 with a non-literal format string.
8513
8514 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
8515
8516 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
8517 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
8518 Likewise.
8519
8520 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
8521 Likewise.
8522
8523 * collect2.c (collect_wait): Likewise.
8524
8525 * dbxout.c (dbxout_type): Likewise.
8526
8527 * gcc.c (do_spec_1): Likewise.
8528
8529 * genemit.c (gen_insn, gen_expand): Likewise.
8530
8531 * genrecog.c (write_switch, write_subroutine): Likewise.
8532
8533 * mips-tfile.c (catch_signal, botch): Likewise.
8534
8535 * print-rtl.c (print_rtx): Likewise.
8536
8537 * toplev.c (default_print_error_function, report_error_function,
8538 _fatal_insn): Likewise.
8539
8540 1999-11-25 Mark Mitchell <mark@codesourcery.com>
8541
8542 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
8543
8544 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8545
8546 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
8547 operations when needed.
8548 * i386.md (fop_?f_comm): New.
8549 (fop_?f_1): Do not accept commutative operands.
8550
8551 1999-11-25 Andreas Jaeger <aj@suse.de>
8552
8553 * config/mips/mips.md (casesi_internal): Add missing brace.
8554
8555 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
8556
8557 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
8558 (splice_child_die): Handle moving a child DIE from the declaration
8559 DIE of a class to its specification.
8560 (gen_struct_or_union_type_die): Use 'complete' consistently.
8561 (gen_decl_die): Generate the virtual context DIE first.
8562 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
8563
8564 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
8565
8566 * config/mips/mips.md (call_value_multiple_interanal1): New.
8567
8568 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
8569
8570 * dwarf2out.c (free_AT, free_die): New fns.
8571 (remove_children): Call them.
8572 (output_line_info): Disable removal of duplicate notes.
8573
8574 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
8575 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
8576 means pretend the type isn't defined.
8577 Don't defer emitting types.
8578 (gen_type_die_for_member): New fn.
8579 (gen_decl_die): Call it.
8580 (splice_child_die): New fn.
8581 (gen_member_die): Call it rather than generate duplicate dies.
8582
8583 Defer emitting information for the abstract instance of an inline
8584 until we either inline it or emit an out-of-line copy.
8585 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
8586 from output_inline_function if DECL_ABSTRACT is also set.
8587 (block_ultimate_origin): Likewise.
8588 (gen_abstract_function): New fn.
8589 (gen_decl_die, gen_inlined_subroutine_die): Call it.
8590 (gen_subprogram_die): An abstract instance is not a declaration
8591 just because it doesn't match current_function_decl. Don't abort
8592 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
8593 has an abstract origin.
8594 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
8595 abstract instance here.
8596
8597 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
8598
8599 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
8600 where we need to reload fpul from a system register.
8601
8602 1999-11-24 Andreas Jaeger <aj@suse.de>
8603
8604 * config/mips/linux.h (CPP_PREDEFINES): Added.
8605 (LINK_SPEC): Remove -Y since this is only needed on sparc.
8606
8607 1999-11-24 Andreas Jaeger <aj@suse.de>
8608
8609 * config/mips/linux.h (TARGET_VERSION): Added.
8610 (HANDLE_SYSV_PRAGMA): Added.
8611 (DEFAULT_VTABLE_THUNKS): Added.
8612
8613 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8614
8615 * local-alloc.c (qty): New structure and static variable.
8616 (qty_phys_reg): Remove, all references changed to qty.
8617 (qty_n_refs): Likewise.
8618 (qty_min_class): Likewise.
8619 (qty_birth): Likewise.
8620 (qty_death): Likewise.
8621 (qty_size): Likewise.
8622 (qty_mode): Likewise.
8623 (qty_n_calls_crossed): Likewise.
8624 (qty_alternate_class): Likewise.
8625 (qty_changes_size): Likewise.
8626 (qty_first_reg): Likewise.
8627 (alloc_qty): Rename variable QTY to QTYNO.
8628 (finf_free_reg): Likewise.
8629 (local_alloc): Allocate qty, do not allocate the removed variables.
8630
8631 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
8632
8633 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
8634 when -membedded-pic is passed.
8635
8636 * config/mips/mips.md (casesi): Handle 64-bit case too.
8637 (casesi_internal_di): New insn.
8638
8639 * config/mips/mips.c (embedded_pic_offset): Always make the
8640 embedded-pic subtractions relative to the name of the current
8641 function by use of the magic string "..CURRENT_FUNCTION".
8642 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
8643
8644 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
8645
8646 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
8647 of (const_int 0), when what we really care about is
8648 whether it's a zero constant anyway.
8649 (div_trap_mips16): Likewise.
8650
8651 1999-11-23 Mark Mitchell <mark@codesourcery.com>
8652
8653 * loop.c (loop_optimize): Always find_loop_tree_blocks and
8654 unroll_block_trees when generating debuggable code.
8655
8656 * tree.h (unsave_expr_1): New function.
8657 (lang_unsave): New variable.
8658 (get_callee_fndecl): New function.
8659 * tree.c (unsave_expr_now_r): New function.
8660 (lang_unsave): Define.
8661 (unsave_expr_1): Likewise.
8662 (unsave_expr_now_r): Split out from unsave_expr_now.
8663 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
8664 call unsave_expr_now_r.
8665 (get_callee_fndecl): Define.
8666
8667 * Makefile.in (gencheck): Don't depend on lang_tree_files.
8668 (gencheck.o): Do depend on lang_tree_files.
8669
8670 * integrate.h (copy_decl_for_inlining): New declaration.
8671 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
8672 (copy_decl_for_inlining): New function.
8673 (integrate_parm_decls): Use it.
8674 (integrate_decl_tree): Likewise.
8675
8676 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
8677
8678 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
8679 the second two from the first.
8680 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
8681 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
8682 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
8683 ISA_HAS_FP4.
8684 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
8685 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
8686 ISA_HAS_FP4.
8687
8688 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
8689
8690 * pa.md (call_internal_symref, call_value_internal_symref): No mode
8691 needed on the address operand.
8692 * pa.c (call_operand_address): Check for the correct mode.
8693
8694 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
8695
8696 * loop.c: Include "basic-block.h".
8697 (try_copy_prop, replace_loop_reg): New functions.
8698 (load_mems): Detect registers that just hold copies of the hoisted
8699 mem, and call try_copy_prop to eliminate them.
8700 * Makefile.in (loop.o): Update dependencies.
8701
8702 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
8703
8704 * Makefile.in (gencheck.o): Depend on gencheck.h.
8705 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
8706 (insn-peep.o): Depend on except.h and function.h.
8707 (insn-attrtab.o): Depend on RECOG_H.
8708 (insn-output.o): Depend on toplev.h and flags.h.
8709 (gengenrtl.o): Depend on real.h.
8710 (gen-protos.o): Depend on cpplib.h and cpphash.h.
8711 Unify all dependencies to be on RECOG_H rather than recog.h.
8712
8713 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8714
8715 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
8716 * configure.in: Try building a bi-arch 32/64-bit compiler on
8717 sparc-*-solaris2.7 and higher.
8718 * configure: Rebuild.
8719
8720 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
8721
8722 * config/freebsd.h: New, FreeBSD architecture independent file.
8723 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
8724 independent pieces.
8725 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
8726 directly by i386/freebsd.h.
8727 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
8728 independent configuration file.
8729 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
8730 directly by i386/freebsd.h.
8731 * configure: Rebuilt.
8732
8733 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
8734 which is in the user's namespace.
8735 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
8736 `i386' which is not in our namespace.
8737
8738 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
8739
8740 * invoke.texi (ARM Options): Add in -mno-alignment-traps
8741
8742 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
8743
8744 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
8745 (add_dwarf_attr, add_child_die): Just push onto the front.
8746 (reverse_die_lists): New fn.
8747 (add_sibling_attributes): Use it.
8748 (push_decl_scope): Reorganize.
8749 (add_name_and_src_coords_attributes): Don't set file and line for
8750 an artificial decl.
8751 (gen_subprogram_die): An artificial function doesn't need to match
8752 file and line.
8753 (gen_compile_unit_die): Return the generated die. Only add
8754 AT_comp_dir if the filename is relative.
8755 (remove_AT): Simplify loop. Also free string values.
8756 (output_die): A DIE ref can't be null.
8757 (output_value_format, value_format): Take a dw_attr_ref.
8758 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
8759 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
8760 AT_addr, AT_lbl): New fns.
8761 (various): Use them.
8762 (various): Constify.
8763
8764 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8765
8766 * combine.c (combine_simplify_rtx): When handling a SUBREG,
8767 take SUBREG_WORD into account.
8768 (if_then_else_cond): Likewise.
8769
8770 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
8771
8772 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
8773 clause from BSD license, pursuant with
8774
8775 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
8776
8777 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
8778
8779 * loop.c (load_mems): Reformat slightly.
8780 * basic-block.h (regset_head): New typedef.
8781 (INIT_REG_SET): New macro.
8782
8783 1999-11-22 Bruce Korb <autogen@linuxbox.com
8784
8785 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
8786 (mips-dec-bsd*): non-functional code
8787 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
8788
8789 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
8790 added three replacement fixes
8791 (no_double_slash): removed comments that are not (any longer) pertinent
8792 (bad_lval): this fix currently runs against many files.
8793 The comment seems to indicate that we should select for files
8794 containing 'pragma extern_prefix'.
8795
8796 * fixinc/fixinc.x86-linux-gnu: deleted
8797 * fixinc/inclhack.sh: regen
8798 * fixinc/fixincl.x: regen
8799 * fixinc/fixincl.sh: regen
8800
8801 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
8802
8803 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
8804 its code is INSN and it has no notes.
8805
8806 1999-11-22 Andrew Haley <aph@cygnus.com>
8807
8808 * varasm.c (function_defined): Remove.
8809 (make_function_rtl): Don't set function_defined.
8810 (make_decl_rtl): Remove global register warning.
8811 * regclass.c (no_global_reg_vars): New variable.
8812 (globalize_reg): Warn if function has already been defined.
8813 (regclass_init): Set no_global_reg_vars.
8814
8815 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
8816
8817 * regclass.c (reg_pref): New structure and static variable
8818 (prefclass): Delete.
8819 (altclass): Delete.
8820 (all uses of prefclass and altclass): Use reg_pref instead.
8821
8822 1999-11-21 Nick Clifton <nickc@cygnus.com>
8823
8824 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
8825 -malignment-traps.
8826 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
8827 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
8828 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
8829
8830 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
8831
8832 * varasm.c (output_constructor): Solve problem with long long
8833 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
8834
8835 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
8836
8837 * global.c (allocno): New structure and static variable.
8838 (allocno_reg): Remove, all references replaced by allocno.
8839 (allocno_size): Likewise.
8840 (hard_reg_conflicts): Likewise.
8841 (hard_reg_preferences): Likewise.
8842 (hard_reg_copy_preferences): Likewise.
8843 (hard_reg_full_preferences): Likewise.
8844 (regs_someone_prefers): Likewise.
8845 (allocno_calls_crossed): Likewise.
8846 (allocno_n_refs): Likewise.
8847 (allocno_live_length): Likewise.
8848 (find_reg): Rename ALLOCNO to NUM.
8849
8850 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
8851 references updated.
8852 (may_move_out_cost): New variable.
8853 (init_reg_sets_1): Initialize may_move_out_cost.
8854 (record_reg_classes): Use may_move_out_cost.
8855
8856 * regclass.c (dump_regclass): New function.
8857 (regclass): New parameter DUMP, call DUMP_REGCLASS.
8858 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
8859 pass rtl_dump_file to regclass.
8860 * rtl.h (regclass): Update prototype.
8861
8862 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
8863
8864 * i386.md (neg, not and abs patterns): Revmap to use
8865 ix86_expand_unary_operator and ix86_unary_operator_ok.
8866 (add?f and sub?f expanders): Force operand 1 to register.
8867 * i386.c (ix86_expand_unary_operator): Rewrite.
8868 (ix86_unary_operator_ok): Ensure that memory operands
8869 match real opcode.
8870 (ix86_binary_operator_ok): Do not allow operand 1 to
8871 come into memory and operand 0 not.
8872 (ix86_expand_binary_operator): Ensure that
8873 src1 is not non-matching memory.
8874
8875 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
8876 to support integer registers and memory.
8877 (abss?2_integer): Likewise.
8878
8879 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
8880 (REG_CLASS_NAMES): Likewise.
8881 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
8882 and GENERAL_REGS.
8883 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
8884 (movsf): Likewise; unify 4th and 5th alternative.
8885 (pushdf): Likewise.
8886 (movdf_1): Likewise; rename to movdf_integer.
8887 (pushxf): Likewise; rename to pushxf_integer; fix output template;
8888 remove redundant splitter.
8889 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
8890 (movdf_nointeger): New.
8891 (movxf_nointeger): New.
8892 (pushxf_nointeger): New.
8893
8894 * i386.md (extend?f?f): Split to expander and pattern, refuse two
8895 memory operands in patterns.
8896 (fop*): Refuse two memory operands.
8897
8898 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
8899 on !TARGET_USE_CLTD CPUs.
8900
8901 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
8902
8903 * extend.texi: Document C++ restricted pointers and references.
8904
8905 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
8906
8907 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
8908 (invalidate_skipped_set): Call it unconditionally.
8909 (cse_set_around_loop): Likewise.
8910
8911 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
8912
8913 * rtl.texi (mem): Add documentation for alias-set argument
8914 to RTX `mem'.
8915
8916 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
8917
8918 * i386.h (struct_processor_costs): New fields int_load, int_store,
8919 fp_move, fp_load and fp_store
8920 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
8921 fp->int moves
8922 (MEMORY_MOVE_COST): New macro.
8923 * i386.c (386_cost): Define new fields.
8924 (i486_cost): Likewise.
8925 (pentium_cost): Likewise.
8926 (pentiumpro_cost): Likewise.
8927 (k6_cost): Likewise.
8928
8929 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
8930 Geoffrey Keating <geoffk@cygnus.com>
8931
8932 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
8933
8934 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
8935 MASK_ALIGN_INT.
8936
8937 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
8938 (TARGET_STRICT_ALIGNMENT): New macro.
8939 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
8940 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
8941 * invoke.texi (M680x0 Options): Document -mstrict-align.
8942
8943 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
8944 Richard Henderson <rth@cygnus.com>
8945
8946 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
8947 (ix86_split_long_move): Declare.
8948 * i386.c (split_xf, ix86_split_movdi): Remove.
8949 (ix86_split_to_parts, ix86_split_long_move): New.
8950 * i386.md (dimode move splitters): Use ix86_split_long_move.
8951 (dfmode move splitters): Likewise.
8952 (xfmode move splitters): Likewise.
8953 (movsf_1): Allow F->r.
8954 (movdf_1, movxf_1): Allow F->ro.
8955
8956 1999-11-17 Mark Mitchell <mark@codesourcery.com>
8957
8958 * except.h (struct eh_entry): Add goto_entry_p.
8959 (eh_region_from_symbol): Remove prototype.
8960 * except.c (find_func_region_from_symbol): New function.
8961 (emit_cleanup_handler): Likewise.
8962 (eh_region_from_symbol): Make it static.
8963 (add_new_handler): Verify the argument.
8964 (find_func_region): Update comment.
8965 (expand_eh_region_end): Expand handlers here, rater than waiting
8966 until expand_leftover_cleanups or start_all_catch.
8967 (expand_leftover_cleanups): Don't expand here.
8968 (expand_start_all_catch): Or here.
8969 (expand_rethrow): Check the return value from find_func_region.
8970 * function.c (expand_function_end): Emit the catch_clauses.
8971
8972 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
8973
8974 * integrate.c (expand_inline_function): Add necessary check for NULL.
8975
8976 1999-11-18 Nick Clifton <nickc@cygnus.com>
8977
8978 * toplev.c (main): Correctly detect an unrecognised option.
8979
8980 * cppinit.c (cpp_handle_option): Do not claim to have consumed
8981 a -f option if it has not been recognised.
8982
8983 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
8984
8985 * basic-block.h (update_life_extent): Remove trailing comma on
8986 enumeration type list.
8987
8988 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8989
8990 * varasm.c (output_constructor) Solved problem with long long
8991 bitfields. Corrected calculating this_time and shift. Also
8992 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
8993
8994 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
8995
8996 * flow.c (split_edge): Take looping structure into account when
8997 determining where to put the new block note.
8998
8999 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
9000
9001 * Makefile.in (ggc-none.o): Provide host specific version if
9002 needed.
9003
9004 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
9005
9006 * cse.c (delete_trivially_dead_insns): Identify no-op insns
9007 containing subregs too.
9008
9009 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
9010
9011 * invoke.texi: Add documentation for -muninit-const-in-rodata.
9012 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
9013 (TARGET_UNINIT_CONST_IN_RODATA): Define.
9014 (text_section): Add switches -munint-const-in-rodata and
9015 -mno-uninit-const-in-rodata.
9016 (ASM_OUTPUT_COMMON): Remove.
9017 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
9018 const objects should be placed in read-only data. Otherwise declare
9019 them in common.
9020
9021 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
9022
9023 * jump.c (jump_optimize_1): Revert last change.
9024
9025 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
9026
9027 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
9028 test if optimizing for size.
9029
9030 1999-11-17 Mark Mitchell <mark@codesourcery.com>
9031
9032 * Makefile.in (toplev.o): Depend on except.h.
9033 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
9034
9035 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
9036
9037 * i386.md (divmodsi4): Rewrite to expander.
9038 (*divmodsi4_nocltd): New.
9039 (*divmodsi4_cltd): New.
9040 (divmodsi4 splitter): Handle the case when input comes in edx.
9041 (udivmodhi4): Do not use constraints in exander.
9042 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
9043
9044 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
9045
9046 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
9047 for the common case.
9048
9049 1999-11-16 Jakub Jelinek <jakub@redhat.com>
9050
9051 * explow.c (hard_function_value): Add outgoing argument.
9052 * expr.h (hard_function_value): Declare it.
9053 * calls.c (expand_call, emit_library_call_value): Update callers.
9054 * function.c (aggregate_value_p): Ditto.
9055 (diddle_return_value): Must look at the outgoing registers
9056 on archs with register windows.
9057
9058 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
9059
9060 * alpha.c (alpha_build_va_list): Use make_lang_type and
9061 initialize TYPE_NAME for the va_list record.
9062
9063 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
9064
9065 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
9066 for printing.
9067 * ggc.h (struct ggc_statistics): Rearrange elements for better
9068 packing on 64-bit hosts.
9069 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
9070 (compute_nearerout): Likewise.
9071
9072 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
9073
9074 * config/rs6000/rs6000.c (first_reg_to_save): Save
9075 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
9076
9077 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
9078
9079 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
9080 notion of nesting to find the DIE for a type or function.
9081 DIEs can go in limbo even if we got a context_die.
9082 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
9083 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
9084 for local type.
9085 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
9086 (gen_type_die): Writing out the context doesn't cause member class
9087 template instantiations to be written out as well.
9088
9089 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
9090
9091 * rs6000.h (ASM_OUTPUT_DEF): New.
9092 Based on proposed addition from David Edelsohn.
9093
9094 1999-11-15 Robert Lipe <RobertLipe@usa.net>
9095 Bruce Korb <autogen@linuxbox.com>
9096
9097 * fixinc/inclhack.def
9098 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
9099 (unixware7_byteorder_fix): added. Removes conflicts for new defs
9100 in net/inet.h.
9101 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
9102 (svr4_endian): enabled with SVR5
9103 (svr4_mkdev): simplified syntax and enabled with SVR5
9104
9105 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
9106
9107 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
9108 * configure: Rebuilt.
9109 * config/t-freebsd-thread: New file.
9110
9111 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
9112
9113 * i386.c (ix86_decompose_address): Verify the base is a REG
9114 before trying to examine its register number.
9115
9116 * basic-block.h: Remove all #defines and prototypes related to
9117 integer lists.
9118 (free_bb_mem, compute_preds_succs): Remove prototype.
9119 * rtl.h (free_bb_mem): Remove prototype.
9120 * flow.c (alloc_int_list_node); Remove function.
9121 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
9122 (compute_preds_succs, free_bb_mem): Likewise.
9123 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
9124 * toplev.c (rest_of_compilation): Likewise.
9125 * haifa-sched.c (build_control_flow): Use flow generated edge
9126 list to build the haifa specific edge list.
9127 (find_rgns): Use new CFG data structures instead of pred/succ lists.
9128 (schedule_insns): Do not build pred/succ lists anymore. Instead
9129 build the edge table.
9130
9131 * basic-block.h (dump_bb_data): Remove declaration.
9132 * flow.c (dump_bb_data): Remove function.
9133 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
9134 (sbitmap_union_of_predsucc): Likewise.
9135
9136 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
9137 argument. All callers changed.
9138 (delete_null_pointer_checks_1): No longer need to compute the
9139 pred/succ lists.
9140
9141 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
9142 All callers changed.
9143 (pre_expr_reaches_here_p_work): Likewise.
9144 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
9145 * lcm.c (compute_laterin): Fix initialization of LATER.
9146 (compute_nearerout): Similarly for NEARER.
9147
9148 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9149
9150 * cse.c (set_nonvarying_address_components): Delete unused function.
9151 (refers_to_p): Likewise.
9152
9153 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
9154
9155 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
9156 needed.
9157
9158 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9159
9160 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
9161 definition in do while (0).
9162
9163 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
9164
9165 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
9166
9167 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
9168
9169 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
9170
9171 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
9172
9173 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
9174 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
9175 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
9176 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
9177
9178 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
9179 saved on the stack. Output more accurate stack frame statistics
9180 into assembler file.
9181
9182 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
9183
9184 * genextract.c (record_insn_name): New function.
9185 (get_insn_name): No longer a stub.
9186 (main): Call record_insn_name for each insn. After each label
9187 written, print the insn name in a comment.
9188
9189 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9190
9191 * output.h (const_section, init_section, fini_section): Add
9192 prototypes.
9193
9194 * alpha/elf.h (const_section): Delete declaration.
9195
9196 * svr4.h (const_section): Likewise.
9197
9198 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
9199
9200 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
9201 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
9202 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
9203 expressions.
9204 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
9205 variable-sized array bounds.
9206
9207 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
9208
9209 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
9210 ASM_OUTPUT_LABEL.
9211
9212 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9213
9214 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
9215 addresses the same way GO_IF_LEGITIMATE_INDEX does.
9216
9217 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9218
9219 * cse.c (hash_arg_in_struct): Delete.
9220 (struct table_elt): Delete elt in_struct.
9221 (struct set): Delete elt src_in_struct.
9222 (merge_equiv_classes): Don't set either hash_arg_in_struct or
9223 the corresponding in_struct elts.
9224 (canon_hash): Likewise.
9225 (safe_hash): Likewise.
9226 (find_best_addr): Likewise.
9227 (record_jump_cond): Likewise.
9228 (cse_insn): Likewise.
9229
9230 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
9231
9232 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
9233
9234 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
9235 unsigned types.
9236
9237 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
9238
9239 * function.c (diddle_return_value): Put back check that the DECL_RTL
9240 for the function is a register.
9241
9242 * function.c (diddle_return_value): Use hard_function_value to
9243 get an rtx suitable for use in the USE/CLOBBER insn.
9244
9245 * global.c (global_conflicts): Update comments.
9246 (record_conflicts): No need to record conflicts between pseudos here.
9247
9248 1999-11-11 Bruce Korb <autogen@linuxbox.com>
9249
9250 * fixinc/fixincl.c: Added verbose levels for status messages
9251
9252 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9253
9254 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
9255 operand as argument to expand_and or expand_binop.
9256
9257 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
9258
9259 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
9260 gcc_add_string_root.
9261
9262 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
9263
9264 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
9265
9266 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
9267
9268 * flow.c (compute_flow_dominators): Initially put all blocks on
9269 the worklist.
9270 * lcm.c (compute_antinout_edge, compute_available): Similarly.
9271 * gcse.c (compute_cprop_avinout): Remove.
9272 (compute_cprop_data): Use compute_available.
9273 (delete_null_pointer_checks_1): Use compute_available.
9274
9275 * basic-block.h (compute_available): Returns a void now.
9276 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
9277 to return a value anymore.
9278 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
9279 worklists. Fix boundary cases. Compute maximal solutions.
9280 (compute_laterin, compute_nearerout): Similarly.
9281
9282 * dwarf2out.c (add_AT_location_description): Allow
9283 (mem (plus (pseudo) (...)) too.
9284
9285 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
9286
9287 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
9288
9289 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
9290 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9291
9292 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
9293
9294 * gansidecl.h: Likewise.
9295
9296 * rtl.c: Likewise.
9297
9298 * rtl.h: Likewise.
9299
9300 * toplev.h: Likewise.
9301
9302 * tree.c: Likewise.
9303
9304 * tree.h: Likewise.
9305
9306 * varray.c: Likewise.
9307
9308 * varray.h: Likewise.
9309
9310 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
9311
9312 * gcov.c (struct arcdata): Add hits and total, remove prob.
9313 (output_branch_counts): New.
9314 (process_args): Set output_branch_counts if -c.
9315 (calculate_branch_probs): Store hits and total instead of
9316 percentage.
9317 (output_data): Emit counts if output_branch_counts is true.
9318 * gcov.texi (Invoking Gcov): Document -c switch..
9319
9320 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
9321
9322 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
9323 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
9324
9325 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
9326
9327 * invoke.texi (C Dialect Options): Add missing builtins from
9328 c-common.c to list.
9329 * extend.texi (Other Builtins): Copy to this list.
9330
9331 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9332
9333 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
9334 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
9335 redundant bitmap.h.
9336
9337 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
9338
9339 * flow.c (compute_flow_dominators): No longer treat basic block 0
9340 or (n_basic_blocks - 1) specially. Clear the AUX field before
9341 starting computation of doms/pdoms. Fix initial state for pdoms.
9342
9343 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9344
9345 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
9346 match rtl.o's: added ggc.h and toplev.h
9347 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
9348 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
9349 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
9350
9351 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
9352
9353 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
9354 from HAVE_DOS_BASED_FILESYSTEM.
9355 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
9356 HAVE_DOS_BASED_FILESYSTEM.
9357 (main): Likewise.
9358 (split_directories): Only special-case DOS file names if
9359 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
9360 instead of explicit tests. Conditionalize on !VMS.
9361 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
9362 tests. Conditionalize on !VMS.
9363 (process_command): Only use make_relative_prefix if !VMS.
9364 (free_split_directories): Conditionalize on !VMS.
9365 (DIR_UP): Conditionalize on !VMS.
9366
9367 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
9368
9369 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
9370
9371 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
9372
9373 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
9374 case.
9375
9376 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
9377
9378 * invoke.texi (Environment Variables): Document relative path
9379 lookup.
9380 * gcc.c (DIR_UP): If not defined, define as "..".
9381 (standard_bindir_prefix): New static, holds target location to
9382 install binaries.
9383 (split_directories): New function to split a filename into
9384 component directories.
9385 (free_split_directories): New function, release memory allocated
9386 by split_directories.
9387 (make_relative_prefix): New function, make a relative pathname if
9388 the compiler is not in the expected location.
9389 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
9390 can figure out an appropriate prefix from argv[0].
9391 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
9392 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
9393 STANDARD_BINDIR_PREFIX.
9394
9395 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9396
9397 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
9398 in c4x.c.
9399 * config/c4x/c4x.h: Moved prototypes to c4x.h.
9400 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
9401 c4x_secondary_memory_needed) Delete.
9402 (fp_zero_operand): Add mode argument.
9403
9404 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
9405
9406 * reload1.c (reload_reg_free_for_value_p): Don't use a register
9407 that is in reload_reg_used.
9408
9409 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
9410
9411 * config/arm/arm-protos.h: New file: Prototypes for functions
9412 defined in arm.c and pe.c.
9413 * config/arm/arm.h: Fix compile time warnings.
9414 * config/arm/arm.c: Fix compile time warnings.
9415 * config/arm/pe.h: Fix compile time warnings.
9416 * config/arm/aout.h: Fix compile time warnings.
9417
9418 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
9419
9420 * config/m32r/m32r-protos.h: New file: Prototypes for functions
9421 defined in m32r.c
9422
9423 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
9424 Add support for subtargets.
9425 Add prototypes for new predicates.
9426 Add scheduling macros.
9427
9428 * config/m32r/m32r.c: Fix compile time warnings.
9429 (int8_operand): New predicate function.
9430 (reg_or_cmp_int16_operand): New predicate function.
9431 (extend_operand): New predicate function.
9432 (m32r_adjust_code): New scheduling function.
9433 (m32r_adjust_priorty): New scheduling function.
9434 (m32r_sched_init): New scheduling function.
9435 (m32r_sched_reorder): New scheduling function.
9436 (m32r_sched_variable_issue): New scheduling function.
9437 (direct_return): New codegen function.
9438 (m32r_not_same_reg): New rtl testsing function.
9439
9440 * config/m32r/m32r.md: Fix compile time warnings.
9441 Add support for pre decrement and post increment memory
9442 references.
9443 Add S<cc> patterns.
9444 Add fabs patterns.
9445
9446 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9447
9448 * global.c (EXECUTE_IF_CONFLICT): Don't define.
9449 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
9450 (find_reg): Likewise.
9451
9452 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
9453
9454 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
9455 to avoid assembler errors.
9456
9457 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
9458
9459 * config/v850/v850-protos.h: New file: Prototypes for functions
9460 defined in v850.c
9461 * config/v850/v850.h: Move prototypes to v850-protos.h
9462 * config/v850/v850.c: Move prototypes to v850-protos.h
9463 * config/v850/v850.md: Fix compile time warnings.
9464
9465 * config/fr30/fr30-protos.h: New file: Prototypes for functions
9466 defined in fr30.c
9467 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
9468 * config/fr30/fr30.c: Fix compile time warnings.
9469 * config/fr30/fr30.md: Fix compile time warnings.
9470
9471 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
9472
9473 * tree.h (get_containing_scope): Declare it.
9474 * tree.c (get_containing_scope): New fucntion.
9475 (decl_function_context): Use it.
9476 * toplev.c (rest_of_compilation): Use get_containing_scope.
9477
9478 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9479
9480 * Makefile.in (rtl.o): Depend on toplev.h.
9481
9482 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
9483
9484 * cse.c (delete_trivially_dead_insns): Replace alloca with
9485 xmalloc/xcalloc.
9486 * except.c (update_rethrow_references): Likewise.
9487 (init_eh_nesting_info): Likewise.
9488 * function.c (identify_blocks): Likewise.
9489 * gcse.c (dump_hash_table): Likewise.
9490 * graph.c (print_rtl_graph_with_bb): Likewise.
9491 * loop.c (combine_movables): Likewise.
9492 (move_movables): Likewise.
9493 (count_loop_regs_set): Likewise.
9494 (strength_reduce): Likewise.
9495 * profile.c (compute_branch_probabilities): New function, split
9496 out from ...
9497 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
9498 * regclass.c (regclass): Likewise.
9499 * regmove.c (regmove_optimize): Likewise.
9500 * toplev.c (compile_file): Likewise.
9501 (main): Don't mess with the stack rlimit.
9502
9503 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
9504
9505 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
9506 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
9507
9508 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
9509
9510 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
9511
9512 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
9513
9514 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
9515 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
9516 macro expansion.
9517
9518 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
9519
9520 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
9521
9522 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
9523
9524 * gcse.c (post_dominators): Kill.
9525 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
9526 (compute_code_hoist_data): Use compute_flow_dominators. Do not
9527 pass in a pdom array since we do not need pdoms.
9528 * haifa-sched.c (schedule_insns): Similarly.
9529 * flow.c (compute_dominators): Remove dead function.
9530 (compute_flow_dominators): Do not compute doms or pdoms if the
9531 caller does not request them. Split up loop to build doms and
9532 pdoms. Use a worklist to compute doms and pdoms.
9533 * basic-block.h (compute_dominators): Remove prototype.
9534
9535 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
9536
9537 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
9538 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
9539 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
9540 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
9541 (cant_move, fed_by_spec_load, is_load_insn): Remove.
9542 (schedule_region): Remove unused variable.
9543 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
9544
9545 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
9546
9547 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
9548 (update_equiv_regs): Likewise.
9549 (block_alloc): Likewise.
9550 * reg-stack.c (reg_to_stack): Likewise.
9551 (convert_regs_2): Likewise.
9552 * reload1.c (reload_as_needed): Likewise.
9553
9554 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
9555
9556 * Makefile.in (dbxout.o): Depend on ggc.h.
9557 (dwarf2out.o): Likewise.
9558 (xcoffout.o): Likewise.
9559 * dbxout.c: Include ggc.h.
9560 (dbxout_init): Register lastfile as a root.
9561 * dwarf2out.c: Include ggc.h.
9562 (dwarf2out_line): Register lastfile as a root.
9563 * xcoffout.c: Include ggc.h.
9564 (xcoffout_source_line): Register xcoff_lastfile as a root.
9565
9566 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
9567
9568 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
9569
9570 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
9571
9572 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
9573 defined.
9574 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
9575
9576 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9577
9578 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
9579 (EXECUTE_IF_CONFLICT): Likewise.
9580 (ALLOCNO_LIVE_P): Avoid signed division.
9581 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
9582 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
9583 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
9584
9585 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
9586
9587 * haifa-sched.c (schedule_block): Don't crash if there's no
9588 next insn for an interblock movement.
9589 (add_branch_dependences): Don't allow clobber insns to move either.
9590
9591 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
9592
9593 * i386.c (split_xf): New.
9594 * i386-protos.h: Declare it.
9595 * i386.md (movxf_1): Add general regs alternatives.
9596 (movxf_1+1): New splitter for same.
9597
9598 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
9599
9600 * function.c (purge_addressof_1): Add missing return values.
9601
9602 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
9603
9604 * function.c (is_addressof): New function. Returns true if
9605 the given piece of RTL is an ADDRESSOF.
9606 (purge_addressof_1): Make boolean. Return false if the
9607 ADDRESSOFs could not be purged.
9608 (purge_addressof): If ADDRESSOFs could not be purged from the
9609 notes attached to an insn, remove the offending note(s),
9610 unless they are attached to a libcall.
9611
9612 1999-11-05 Andreas Jaeger <aj@suse.de>
9613
9614 * genoutput.c (null_operand =): Initialize all fields.
9615
9616 * errors.h: Add extern to prototypes.
9617
9618 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
9619
9620 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
9621 * configure: Rebuilt.
9622
9623 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9624
9625 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
9626 (mirror_conflicts): New function.
9627 (global_alloc): Call it.
9628 (expand_preferences): Remove redundant CONFLICTP test.
9629 (find_reg, dump_conflicts): Likewise.
9630 (prune_preferences): Process conflicts one word at a time.
9631
9632 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
9633
9634 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
9635 instead of an explicit loop.
9636
9637 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
9638
9639 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
9640 if REG_RETVAL check succeeds, then put classp in src_elt.
9641
9642 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
9643
9644 * function.c (pad_to_arg_alignment): Only update argument_pad
9645 if the argument's alignment is greater than STACK_BOUNDARY.
9646
9647 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
9648
9649 * bitmap.h (BITMAP_XFREE): New.
9650 * flow.c (life_analysis): Use it.
9651 (life_analysis_1): Free blocks.
9652
9653 * combine.c (undo_commit): New.
9654 (try_combine): Use it. Don't zap undobuf.undos.
9655 (combine_instructions): Don't zap undobuf.undos; free the
9656 undobuf.frees list.
9657
9658 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
9659
9660 * stmt.c (cost_table_): New.
9661 (estimate_case_costs): Use it instead of xmalloc.
9662
9663 * toplev.c (compile_file): Reuse dumpname memory instead
9664 of strdup'ing it.
9665
9666 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
9667
9668 * reg-stack.c (convert_regs_1): Initialize target_stack->top
9669 after verifying an EH edge.
9670
9671 * haifa-sched.c (init_rgn_data_dependences): Correctly
9672 size bb_pending_lists_length when zeroing.
9673
9674 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
9675
9676 * function.c (diddle_return_value): New.
9677 (expand_function_end): Use it.
9678 * stmt.c (expand_null_return): Likewise.
9679 (expand_value_return): Likewise.
9680
9681 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
9682
9683 * reload1.c (reload): Don't remove return value clobbers.
9684
9685 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
9686
9687 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
9688
9689 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
9690
9691 * cse.c (cse_main): Use xmalloc, not alloca.
9692 (cse_basic_block): Likewise.
9693 * local-alloc.c (local_alloc): Likewise.
9694
9695 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
9696 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9697
9698 * rtl.c: Include toplev.h.
9699 (fatal): Remove declaration.
9700
9701 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
9702
9703 * haifa-sched.c (schedule_block): Fix thinko.
9704
9705 1999-11-03 James McKelvey <mckelvey@fafnir.com>
9706
9707 * fixinc/fixincl.c(create_file): Allow for systems that do not have
9708 S_IR* defined values
9709
9710 1999-11-03 Philippe De Muyter <phdm@macqel.be>
9711
9712 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
9713 call `malloc' instead.
9714
9715 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
9716
9717 * flags.h (flag_renumber_insns): Declare.
9718 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
9719 renumbering table.
9720 * rtl.h (renumber_insns): Change prototype.
9721 * toplev.c (flag_renumber_insns): Define.
9722 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
9723
9724 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
9725
9726 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
9727 and fpsqrtd. Use them and create fdiv function unit to more
9728 accurately represent fpu sqrt pipeline semantics on UltraSparc.
9729 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
9730
9731 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
9732
9733 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
9734 3 on UltraSparc.
9735 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
9736 insn into ready list, do not use just a raw swap.
9737
9738 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
9739
9740 * rtl.h (renumber_insns): New function.
9741 (remove_unnecessary_notes): Likewise.
9742 * emit-rtl.c (renumber_insns): Define.
9743 (remove_unncessary_notes): Likewise.
9744 * toplev.c (rest_of_compilation): Remove dead code.
9745 Use renumber_insns and remove_unncessary_notes.
9746
9747 * gcse.c (struct null_pointer_info): New type.
9748 (get_bitmap_width): New function.
9749 (current_block): Remove.
9750 (nonnull_local): Likewise.
9751 (nonnull_killed): Likewise.
9752 (invalidate_nonnull_info): Take a null_pointer_info as input.
9753 (delete_null_pointer_checks_1): New function.
9754 (delete_null_pointer_checks): Use it.
9755
9756 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
9757 (split_edges): Likewise.
9758 (schedule_block): Likewise.
9759 (compute_block_backward_dependencies): Likewise.
9760 (schedule_region): Likewise.
9761 (schedule_insns): Likewise.
9762
9763 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
9764
9765 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
9766 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
9767 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
9768 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
9769 * jump.c (delete_unreferenced_labels): Don't delete if
9770 LABEL_ALTERNATE_NAME is set.
9771 * print-rtl.c (print_rtx): Dump alternate name.
9772 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
9773 * rtl.h (LABEL_ALTERNATE_NAME): Define.
9774 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
9775 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
9776
9777 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9778
9779 * fix-header.c (recognized_extern, recognized_function): Constify
9780 a char*.
9781
9782 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
9783 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
9784 (compute_available): Remove unused variable `last'.
9785 (compute_nearerout): Remove unused variable `temp_bitmap'.
9786 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
9787 Remove unused variable `x'.
9788
9789 * scan.h (recognized_function, recognized_extern): Constify a
9790 char*.
9791
9792 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
9793
9794 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9795
9796 * varasm.c (decode_rtx_const): Use XSTR to access the string
9797 of a SYMBOL_REF.
9798
9799 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
9800
9801 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
9802
9803 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9804
9805 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
9806
9807 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
9808
9809 * pa.c (ireg_operand): New function.
9810 * pa.h (PREDICATE_CODES): Handle ireg_operand.
9811 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
9812 Fix out of date comment.
9813
9814 * pa.md (negdi2): Turn into expander + anonymous pattern.
9815
9816 * reload.c (find_reloads): Fix typos in recent change.
9817
9818 * dwarf2out.c: Do not include ctype.h.
9819
9820 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9821
9822 * regclass.c (record_reg_classes): Always use may_move_cost when
9823 seeing how operand fits with various register classes.
9824
9825 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
9826
9827 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
9828 * toplev.c: Revert Nov 1 13:22 change.
9829
9830 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
9831
9832 * config/pa/pa.md (height reduction patterns): Add checks for
9833 overlapping operands to avoid semantic-destroying splits for
9834 height reduction patterns.
9835
9836 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9837
9838 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
9839 have been an hyphen, fixed.
9840 * configure: Rebuilt.
9841
9842 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
9843
9844 * config/arm/tpe.h: Add prototypes for exported functions.
9845 * config/arm/pe.c: Fix compile time warnings.
9846 * config/arm/semi.h: Fix compile time warnings.
9847 * config/arm/arm.c: Fix compile time warnings.
9848 * config/arm/arm.h: Fix compile time warnings.
9849 * config/arm/arm.md: Fix compile time warnings.
9850 * config/arm/thumb.c: Fix compile time warnings.
9851 * config/arm/thumb.h: Fix compile time warnings.
9852 * config/arm/thumb.md: Fix compile time warnings.
9853
9854 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
9855
9856 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
9857 detection code
9858
9859 * unroll.c (unroll_loop): Remove LOOP notes when loop is
9860 completely unrolled.
9861
9862 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9863
9864 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
9865
9866 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
9867
9868 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
9869 * rtl.h (rtx_equal_p): Move prototype.
9870 * rtl.c (rtx_equal_function_value_matters): Move from
9871 rtlanal.c
9872 (rtx_equal_p): Likewise.
9873 * rtlanal.c (rtx_equal_function_value_matters): Delete.
9874 (rtx_equal_p): Likewise.
9875
9876 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
9877
9878 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
9879 ! HAS_INIT_SECTION.
9880
9881 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
9882
9883 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
9884
9885 * pa.h (ADDR_VEC_ALIGN): Define.
9886
9887 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
9888 notes when presented with "if (foo) break; end_of_loop" and
9889 the break sequence gets moved out of the loop.
9890
9891 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
9892 Remove explicit zero initializations of entries within MAP.
9893
9894 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
9895
9896 * reg-stack.c (convert_regs_1): Handle EH edges specially.
9897
9898 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
9899
9900 * bitmap.h (BITMAP_XMALLOC): New macro.
9901 * flow.c (CLEAN_ALLOCA): Remove.
9902 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
9903 (life_analysis): Likewise.
9904 (update_life_info): Don't use CLEAN_ALLOCA.
9905 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
9906 (calculate_global_regs_live): Likewise.
9907 (print_rtl_with_bb): Likewise.
9908 (verify_flow_info): Likewise.
9909 * global.c (global_alloc): Likewise.
9910 (global_conflicts): Likewise.
9911 * integrate.c (save_for_inline_nocopy): Likewise.
9912 (expand_inline_function): Likewise.
9913 * jump.c (jump_optimize_1): Likewise.
9914 (duplicate_loop_exit_test): Likewise.
9915 (thread_jumps): Likewise.
9916 * loop.c (loop_optimize): Likewise.
9917 (combine_givs): Likewise.
9918 (recombine_givs): Likewise.
9919 * reorg.c (dbr_schedule): Likewise.
9920 * unroll.c (unroll_loop): Likewise.
9921
9922 * combine.c (combine_instructions): Use xmalloc instead of alloca.
9923
9924 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
9925
9926 * toplev.c (rest_of_compilation): Don't optimize the CFG
9927 when rebuilding, just before dbr.
9928
9929 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9930
9931 * output.h (assemble_end_function, assemble_destructor,
9932 assemble_constructor, assemble_gc_entry, assemble_global,
9933 assemble_label, output_constant_pool) Constify a char*.
9934
9935 * varasm.c (assemble_destructor, assemble_constructor,
9936 assemble_gc_entry, assemble_end_function, assemble_global,
9937 assemble_label, output_constant_pool): Likewise.
9938
9939 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
9940
9941 * config/arm/thumb.c (thumb_expand_prologue): Add comments
9942 explaining what is goin on in this function.
9943
9944 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9945
9946 * regclass.c (record_reg_classes): In matching case, recompute
9947 costs since the direction of movement is different.
9948
9949 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
9950
9951 * resource.c (mark_target_live_regs): For unconditional branches,
9952 the resources found at the branch target should be added to the
9953 resources found so far, not intersected.
9954
9955 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
9956
9957 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
9958 old cpp's.
9959 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
9960 (sys/mman.h): Include this file only if #HAVE_MMAP.
9961 (run_compiles): Initialize `esac_fmt' with one old KR string, not
9962 with automatically concatenated ANSI strings.
9963
9964 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
9965
9966 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
9967 (DIV_ROUND_UP): Robustify.
9968 (ggc_recalculate_in_use_p): New function.
9969 (release_pages): Don't inline it.
9970 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
9971 outer contexts.
9972 (ggc_pop_context): Use ggc_recalculate_in_use_p.
9973 (clear_marks): Always save in_use_p.
9974 (sweep_pages): Use ggc_recalculate_in_use_p.
9975 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
9976 Release pages before counting statistics.
9977
9978 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
9979
9980 * toplev.c (rest_of_compilation): Fix thinko in this change:
9981
9982 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
9983
9984 (rest_of_compilation): If inside an inlined external function,
9985 pretend we are just being declared.
9986
9987 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
9988
9989 * flow.c (calculate_global_regs_live): Fix thinko.
9990
9991 * integrate.c (expand_inline_function): Fix bugs in previous
9992 change from Oct 28, 1999.
9993
9994 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
9995
9996 * stmt.c (expand_value_return): Fix typo in this change:
9997
9998 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9999 (expand_value_return): Correctly convert VAL when promoting function
10000 return; support RETURN_REG being a PARALLEL.
10001
10002 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
10003
10004 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
10005
10006 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10007
10008 * hard-reg-set.h (reg_names): Constify a char*.
10009
10010 * regclass.c (reg_names): Likewise.
10011
10012 * regs.h (reg_names): Likewise
10013
10014 * a29k/a29k.c (reg_names): Delete declaration.
10015
10016 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
10017
10018 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
10019 arc_output_function_epilogue): Likewise.
10020
10021 * elxsi/elxsi.c (reg_names): Likewise.
10022
10023 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
10024
10025 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
10026 Likewise.
10027
10028 * m88k/m88k.c (output_function_profiler): Likewise.
10029
10030 * sparc/sparc.c (sparc_flat_output_function_prologue,
10031 sparc_flat_output_function_epilogue): Likewise.
10032
10033 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
10034
10035 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
10036 warning from -Wuninitialized and put it under -W.
10037 * function.c (uninitialized_vars_warning): Warn only when the
10038 corresponding flag is set.
10039
10040 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
10041
10042 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
10043 is nonzero and the single set does not have an elt, then assign
10044 it an elt.
10045
10046 * simplify-rtx.c: New file.
10047 * Makefile.in (OBJS): Add simplify-rtx.o
10048 (simplify-rtx.o): Add dependencies.
10049 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
10050 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
10051 (cse_gen_binary, simplify_unary_operation): Delete.
10052 (simplify_binary_operation, simplify_plus_minus): Likewise.
10053 (check_fold_consts, simplify_relation_operation): Likewise.
10054 (simplify_ternary_operation): Likewise.
10055 (delete_trivially_dead_insns): Simplify the contents of the
10056 REG_EQUAL note before trying to substitute it into the source
10057 of the reg-reg copy at the end of a libcall sequence.
10058
10059 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
10060 references/callers changed.
10061
10062 * mn10200.c (mn10200_va_arg): Force the return value into a
10063 register.
10064
10065 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
10066
10067 * cccp.c (macroexpand): Avoid out of range accesses for omitted
10068 arguments.
10069
10070 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
10071
10072 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
10073
10074 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
10075
10076 * fold-const.c (fold): Fix thinko when optimizing comparisons
10077 against -0.0.
10078
10079 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
10080
10081 * gcc.texi (Passes): Update front-end files to their current
10082 location.
10083
10084 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
10085
10086 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
10087 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
10088 (PREDICATE_CODES): Add addition_operation.
10089 * alpha-protos.h (addition_operation): Declare.
10090 (secondary_reload_class): Likewise.
10091 * alpha.c (addition_operation): New.
10092 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
10093 * alpha.md (adddi3): Turn into expander.
10094 (*lda, *adddi_2): New.
10095 (movsf, movdf patterns): Don't preference integer regs.
10096 (movsi, movdi patterns): Don't preference fp regs.
10097
10098 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
10099
10100 * genrecog.c (write_switch): Check for duplicate CODE cases.
10101
10102 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
10103
10104 * ggc-common.c: Update pre-function commentary.
10105 * ggc-page.c: Likewise.
10106 (poison): Remove.
10107 (poison_pages): Use memset directly.
10108 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
10109 (ggc_collect): Poison before sweeping.
10110 * ggc-simple.c: Update pre-function commentary.
10111 (ggc_alloc_obj): Poison non-zeroed memory.
10112
10113 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
10114
10115 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
10116 match format string, even on 64-bit hosts.
10117 * gcc-page.c (ggc_page_print_statistics): Likewise.
10118
10119 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
10120
10121 * config/i386/i386.c (ix86_cpu): Revert last patch.
10122 * config/i386/i386.h (ix86_cpu): Ditto.
10123
10124 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
10125
10126 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
10127 TYPE_SIZE, convert type of result to sizetype.
10128
10129 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
10130
10131 * flow.c (count_or_remove_death_notes): Equate NULL with the
10132 universal set.
10133
10134 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
10135 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
10136 dbr_schedule.
10137
10138 * i386.c (pic_label_no): Delete.
10139 (ix86_attr_length_default): Don't use single_set to peek
10140 inside a parallel.
10141
10142 * recog.c (peephole2_optimize): Allow recog_next_insn to index
10143 the first insn after bb->end.
10144 * i386.md (push mem peeps): Scratch is live after evaluation
10145 of the memory.
10146 (cmp mem peep): Similarly.
10147
10148 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
10149
10150 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
10151 * function.c (pad_to_arg_alignment): Add missing braces.
10152
10153 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10154
10155 * alpha/alpha-protos.h (literal_section): Add prototype.
10156 (alpha_need_linkage, alpha_start_function,alpha_end_function):
10157 Constify a char*.
10158
10159 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
10160 prototype.
10161 (alpha_start_function, alpha_end_function, float_strings,
10162 alpha_need_linkage): Constify a char*
10163
10164 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
10165
10166 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
10167
10168 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
10169
10170 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
10171
10172 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10173
10174 * flow.c (debug_flow_info): Add prototype.
10175
10176 * gcc.c (main): Likewise.
10177
10178 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
10179 Likewise.
10180
10181 * reload1.c (failed_reload, set_reload_reg): Likewise.
10182
10183 * mips-tfile.c (main): Likewise.
10184 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
10185 with ATTRIBUTE_NORETURN.
10186
10187 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
10188
10189 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
10190 DECL is not a memory ref.
10191
10192 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
10193
10194 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
10195 * config/i386/i386.c (ix86_cpu): Add extern attribute.
10196
10197 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
10198
10199 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
10200 * config/mips/elf64.h: ditto.
10201
10202 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
10203
10204 * expr.c (emit_push_insn): New argument alignment_pad.
10205 Update all callers. Adjust stack pointer based on alignment pad.
10206 * function.c (pad_to_arg_alignment): New argument alignment_pad.
10207 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
10208 (locate_and_pad_parm): New argument alignment_pad. Update all
10209 callers.
10210 * expr.h (emit_push_insn): Update prototype.
10211 (locate_and_pad_parm): Update prototype.
10212 * calls.c (arg_data): Add new field alignment_pad.
10213 (initialize_argument_information): Initialize alignment_pad.
10214
10215 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
10216
10217 * except.c (free_eh_nesting_info): Free the info itself.
10218 * function.c (free_after_compilation): Don't free NULL.
10219 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
10220 (pre_edge_insert): Free inserted.
10221 * stmt.c (free_stmt_status): Don't free NULL.
10222
10223 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
10224
10225 * gcov.c (DIR_SEPARATOR): Provide default.
10226 (output_data): Add test for MS-DOS format absolute filename.
10227 (fancy_abort): Correct program name.
10228 (open_files): Open all files in binary mode.
10229 * libgcc2.c (__bb_exit_func): Likewise.
10230
10231 * profile.c (init_branch_prob): Specify binary when opening files.
10232
10233 * flags.h (flag_unwind_tables): New decl.
10234 * toplev.c (flag_unwind_table): New definition.
10235 (f_options): Add -funwind-tables.
10236 (decode_g_option): Clarify warning when unknown -g option is given.
10237 (rest_of_compilation): If inside an inlined external function,
10238 pretend we are just being declared.
10239
10240 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
10241 (dwarf2out_frame_finish): Likewise.
10242
10243 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
10244
10245 * fold-const.c (merge_ranges): If not in0, but in1, handle
10246 upper bounds equal like subset case.
10247
10248 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
10249
10250 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
10251 passed in a register but moved to the stack.
10252
10253 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
10254
10255 * gcc.c (pass_exit_codes, greatest_status): New variables.
10256 (struct option_map): Add entry for "--pass-exit-codes".
10257 (execute): Update greatest_status if error.
10258 (display_help): Add documentation for -pass-exit-codes.
10259 (process_command): Handle -pass-exit-codes.
10260 (main): Look at pass_exit_codes and greatest_status on call to exit.
10261
10262 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10263
10264 * reload.c (find_reloads): Refine test for no input reload
10265 case to not includes reloads emitted after insn.
10266
10267 * function.c (find_temp_slots_from_address): Handle sum involving
10268 a register that points to a temp slot.
10269 (update_temp_slot_address): Make recursive call if both old and
10270 new are PLUS with a common operand.
10271 * calls.c (expand_call): Mark temp slot for result as having
10272 address taken.
10273
10274 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
10275
10276 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
10277 component as well as "BINUTILS".
10278
10279 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
10280 * integrate.c (copy_rtx_and_substitute): Likewise.
10281 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
10282 All callers changed.
10283 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
10284
10285 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
10286 gdb extensions, write size of type; also be more consistent
10287 in using references when this is a subtype.
10288
10289 * pa.md (extv, extzv, insv): Use define_expand to reject constant
10290 that is out of range.
10291
10292 * loop.c (unknown_constant_address_altered): New variable.
10293 (prescan_loop): Initialize it.
10294 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
10295 (invariant_p, case MEM): Remove handling for volatile and readonly;
10296 check new variable if readonly.
10297 (check_dbra_loop): Chdeck unknown_constant_address_altered.
10298
10299 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
10300 (addr_affects_sp_p): Removed from note_mem_written and only
10301 define #ifdef AUTO_INC_DEC.
10302
10303 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
10304
10305 * regclass.c (record_reg_classes): Properly handle register move
10306 directions.
10307
10308 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
10309 Don't think valid if both operands are invalid.
10310 (struct constant_descriptor): New field RTL.
10311 (mark_const_hash_entry): Mark it.
10312 (record_constant{,_rtx}): Initialize it.
10313 (output_constant_def): Allocate RTL in permanent obstack and
10314 save in table.
10315 ({record,compare}_constant_1): Modes must match for
10316 CONSTRUCTOR of ARRAY_TYPE.
10317
10318 * c-common.h (initializer_constant_valid_p): Delete decl from here.
10319 * output.h (initializer_constant_valid_p): Move decl to here.
10320 * c-common.c (initializer_constant_valid_p): Delete function from here.
10321 * varasm.c (initializer_constant_valid_p): Move function to here.
10322
10323 * tree.h (STRIP_SIGN_NOPS): New macro.
10324 * fold-const.c (optimize_minmax_comparison): New function.
10325 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
10326 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
10327 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
10328 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
10329 widening conversions.
10330 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
10331 to look at size of mode, not precision of type; also add missing cases.
10332 (optimize_bit_field_compare, decode_field_reference): Don't try to
10333 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
10334
10335 * dwarf2out.c (ctype.h): Include.
10336 (dwarf2out_set_demangle_name_func): New function.
10337 (size_of_line_info): Deleted.
10338 (output_line_info): Compute size of line info table from difference
10339 of labels.
10340 (base_type_die, add_name_attribute): Call demangle function, if any.
10341 (field_byte_offset): Use bits per word for variable length fields.
10342 (gen_array_type_die): Add array name.
10343 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
10344 (dwarf2out_add_library_unit_info): New function.
10345
10346 * explow.c (set_stack_check_libfunc): New function.
10347 (stack_check_libfunc): New static variable.
10348 (probe_stack_range): Allow front-end to set up a libfunc to call.
10349
10350 * combine.c (simplify_comparison): When making comparison in wider
10351 mode, check for having commuted an AND and a SUBREG.
10352 (contains_muldiv): New function.
10353 (try_combine): Call it when dividing a PARALLEL.
10354 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
10355 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
10356 a PLUS.
10357 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
10358 use one of the CLOBBERs instead.
10359 (if_then_else_cond): If comparing against zero, just return thing
10360 being compared.
10361
10362 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
10363 Don't generate shifts and subtract if have conditional arithmetic.
10364
10365 * rtl.h (delete_barrier): New declaration.
10366 * jump.c (jump_optimize): Set up to handle conditional call.
10367 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
10368 (delete_barrier): New function.
10369
10370 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
10371
10372 * recog.c (nonmemory_operand): Accept ADDRESSOF.
10373
10374 * tree.c (build_type_attribute_variant): Push to obstack of
10375 ttype around type_hash_canon call.
10376
10377 * expr.c (placeholder_list): Move decl to file scope.
10378 (expand_expr): Don't force access to volatile just because its
10379 address is taken.
10380 If ignoring reference operations, just expand the operands.
10381 (expand_expr, case COMPONENT_REF): Propagate
10382 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
10383 Refine test for using bitfield operations vs pointer punning.
10384 (expand_expr, case CONVERT_EXPR): If converting to
10385 BLKmode UNION_TYPE from BLKmode, just return inner object.
10386 Use proper mode in store_field call.
10387 Properly set sizes of object to store and total size in store_field
10388 call for convert to union.
10389 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
10390 memory (like for ADDR_EXPR). Also, don't put constant in register if
10391 we'll want it in memory.
10392 (readonly_fields_p): New function.
10393 (expand_expr, case INDIRECT_REF): Call it if LHS.
10394 (expand_assignment): Handle a RESULT_DECL where
10395 DECL_RTL is a PARALLEL.
10396 (do_jump, case WITH_RECORD_EXPR): New case.
10397 (get_inner_reference): Always go inside a CONVERT_EXPR
10398 and NOP_EXPR if both modes are the same.
10399 (store_field): Use bitfield operations if size of bitsize is not same
10400 as size of RHS's type.
10401 Check for bitpos not a multiple of alignment in BLKmode case.
10402 Do block move in largest possible alignment.
10403 (store_constructor): Set BITSIZE to -1 for variable size and properly
10404 in case of array of BLKmode.
10405 (expand_expr_unaligned): New function.
10406 (do_compare_and_jump): Call it.
10407
10408 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
10409 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
10410 does not include 'o'.
10411
10412 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
10413 both SET_DEST and SET_SRC reference a virtual register.
10414 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
10415
10416 * integrate.c (expand_inline_function): Handle case of setting
10417 virtual stack vars register (from built in setjmp); when parameter
10418 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
10419 (subst_constant): Add new parm, MEMONLY.
10420 (expand_inline_function, integrate_parm_decls): Pass new parm.
10421 (integrate_decl_tree): Likewise.
10422 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
10423 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
10424 (copy_rtx_and_substitute, case SET): Add explicit calls to
10425 copy_rtx_and_substitute for both sides.
10426
10427 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
10428 constraints.
10429 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
10430 within INDEX_TYPE, instead of before.
10431 (fixup_gotos): Use f->target_rtl, not the next insn,
10432 since latter may be from a later fixup.
10433 (expand_value_return): Correctly convert VAL when promoting function
10434 return; support RETURN_REG being a PARALLEL.
10435 (expand_return): When checking for result in regs and having
10436 cleanup, consider PARALLEL in DECL_RTL as being in regs.
10437
10438 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
10439
10440 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
10441 last_nominal_fname): Mark const.
10442 (struct include_hash: name, nshort, control_macro): Mark
10443 const.
10444 (struct macrodef: symnam): Mark const.
10445 (struct if_stack: fname): Mark const.
10446 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
10447 (IStable): New character-syntax array which encompasses all
10448 the old is_foo arrays.
10449 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
10450 is_space): New macros for interrogating IStable.
10451 (check_macro_name): Kill last argument. All callers changed.
10452
10453 * cppinit.c (initialize_char_syntax): Delete.
10454 (is_idchar, is_idstart, is_hor_space, is_space,
10455 trigraph_table): Delete.
10456 (IStable): New. Initialize with clever macros to avoid
10457 information duplication.
10458 (builtin_array): Table of builtins to get rid of explicit list
10459 in initialize_builtins.
10460 (initialize_builtins): Use builtins_array.
10461 (cpp_start_read): Call init_IStable, and set IStable['$'] if
10462 opts->dollars_in_ident.
10463
10464 * cppexp.c: Change all refs to is_xyz[] arrays to use new
10465 is_xyz() macros.
10466 (cpp_parse_expr): Avoid 'format string is not constant'
10467 warning. Use ISGRAPH to identify printable chars.
10468 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
10469 is_xyz() macros.
10470 (read_and_prescan): Map trigraphs to chars with open-coded
10471 if-else-if-... sequence, not a lookup table.
10472 * cpphash.c: Change all refs to is_xyz[] arrays to use new
10473 is_xyz() macros.
10474 * cpplib.c: Change all refs to is_xyz[] arrays to use new
10475 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
10476 (check_macro_name): Remove ability to report an invalid
10477 assertion name, which is never used.
10478 (do_line): Constify a couple of char *'s.
10479 * cppmain.c (main): Call cpp_cleanup before returning.
10480
10481 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
10482
10483 * ggc.h (struct ggc_statistics): New type.
10484 (ggc_get_size): New function.
10485 (ggc_print_statistics): Likewise.
10486 * ggc-common.c (ggc_stats): New variable.
10487 (ggc_mark_rtx_children): Keep statistics.
10488 (ggc_mark_tree_children): Likewise.
10489 (ggc_print_statistics): New function.
10490 * ggc-page.c (struct globals): Add bytes_mapped field.
10491 (alloc_anon): Update it.
10492 (release_pages): Likewise.
10493 (ggc_get_size): New function.
10494 (ggc_page_print_statistics): New function.
10495 * ggc-simple.c (ggc_get_size): New function.
10496
10497 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
10498
10499 * flow.c (propagate_block): When the last reference to a label
10500 before an ADDR_VEC is deleted because the reference is a dead
10501 store, delete the ADDR_VEC.
10502
10503 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
10504
10505 * resource.c (find_free_register): Don't use the frame pointer
10506 if frame_pointer_needed.
10507
10508 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
10509
10510 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
10511 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
10512
10513 * config/i960/i960.c (i960_va_start): New locals base, num.
10514 Use INDIRECT_REF instead of ARRAY_REF on valist.
10515 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
10516
10517 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
10518
10519 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
10520
10521 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
10522
10523 * tree.def (PLACEHOLDER_EXPR): Update comments.
10524
10525 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10526
10527 * c-common.c (check_format_info): Avoid non-literal format string
10528 warnings when `first_arg_num' is zero.
10529
10530 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10531
10532 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
10533
10534 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
10535
10536 * arm.md (casesi_insn): Add a clobber of the condition code
10537 register.
10538
10539 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
10540
10541 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
10542 used by both cc1 and cc1plus.
10543
10544 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
10545
10546 * config/arm/arm.c: Initialise arm_structure_size_boundary to
10547 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
10548 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
10549 to the value 32 if it has not already been defined.
10550 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
10551 Override definition in arm.h with a value of 8.
10552
10553 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
10554
10555 * c-pragma.c (push_alignment): Don't check the return value
10556 of xmalloc.
10557
10558 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
10559
10560 * sparc.h (ADJUST_COST): Fix thinko.
10561
10562 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
10563
10564 * cccp.c (rescan): Fixed obp pointer handling around call to
10565 check_expand subroutine.
10566
10567 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
10568
10569 * gcse.c (delete_null_pointer_checks): Only record non-null info
10570 for pseudos when examining stores.
10571
10572 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
10573 splitters for these patterns. Use "#" for output templates.
10574 (addsi3_carryin_shift): New pattern.
10575
10576 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
10577
10578 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
10579 of the function return register into a plain REG until
10580 after function inlining is done.
10581
10582 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
10583
10584 * jump.c (jump_optimize_1): If we did cross-jumping, and
10585 the data will matter, rebuild the CFG.
10586 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
10587 not optimizing. Don't run shorten_branches.
10588 * toplev.c (rest_of_compilation): Run shorten_branches after
10589 reg_to_stack.
10590
10591 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
10592
10593 * rtl.h (note_stores): Add additional paramter.
10594 * rtlanal.c (reg_set_p_1): Take additional paramter.
10595 (reg_set_last_1): Likewise.
10596 (reg_set_p): Adjust call to note_stores.
10597 (reg_set_last): Likewise.
10598 (note_stores): Pass data parameter to worker function.
10599 * alias.c (record_set): Take additional parameter.
10600 (init_alias_analysis): Pass it.
10601 * caller-save.c (mark_set_regs): Take additional parameter.
10602 (save_call_clobbered_regs): Pass NULL to note_stores.
10603 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
10604 parameter.
10605 (record_dead_and_set_regs_1): Likewise.
10606 (reg_dead_at_p_1): Likewise.
10607 (combine_instructions): Adjust calls to note_stores.
10608 (try_combine): Likewise.
10609 (record_dead_insn): Remove.
10610 (record_dead_and_set_regs): Adjust calls to note_stores.
10611 (reg_dead_at_p): Likewise.
10612 * cse.c (invalidate_skipped_set): Take additional parameter.
10613 (cse_check_loop_start): Likewise.
10614 (cse_check_loop_start_value): Remove.
10615 (cse_set_around_loop): Adjust calls to note_stores.
10616 * flow.c (notice_stack_pointer_modification): Take additional
10617 parameter. Remove duplicate declaration.
10618 (record_volatile_insns): Adjust calls to note_stores.
10619 * gcse.c (record_set_info): Take additional parameter.
10620 (record_last_set_info): Likewise.
10621 (invalidate_nonnull_info): Likewise.
10622 (record_set_insn): Remove.
10623 (compute_sets): Adjust calls to note_stores.
10624 (last_set_insn): Remove.
10625 (compute_hash_table): Adjust calls to note_stores.
10626 (insert_insn_end_bb): Likewise.
10627 (delete_null_pointer_checks): Likewise.
10628 * global.c (mark_reg_store): Take additional parameter.
10629 (mark_reg_clobber): Likewise.
10630 (reg_becomes_live): Likewise.
10631 (global_conflicts): Adjust calls to note_stores.
10632 (build_insn_chain): Likewise.
10633 * integrate.c (note_modified_parmregs): Take additional parameter.
10634 (mark_stores): Likewise. Make it static.
10635 (save_for_inline_nocopy): Adjust calls to note_stores.
10636 (try_constants): Likewise.
10637 * integrate.h (mark_stores): Remove declaration.
10638 * jump.c (mark_modified_reg): Take additional parameter.
10639 (thread_jumps): Adjust calls to note_stores.
10640 * local-alloc.c (validate_equiv_mem_from_store): Take additional
10641 parameter.
10642 (no_equiv): Likewise.
10643 (reg_is_set): Likewise.
10644 (validate_equiv_mem): Adjust calls to note_stores.
10645 (update_equiv_regs): Likewise.
10646 (block_alloc): Likewise.
10647 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
10648 (note_addr_stored): Take additional parameter.
10649 (note_set_pseudo_multiple_uses): Likewise.
10650 (record_initial): Likewise.
10651 (prescan_loop): Adjust calls to note_stores.
10652 (strength_reduce): Likewise.
10653 (check_dbra_loop): Likewise.
10654 * regmove.c (flags_set_1): Take additional paramter.
10655 (mark_flags_life_zones): Adjust calls to note_stores.
10656 * reload1.c (mark_not_eliminable): Take additional parameter.
10657 (forget_old_reloads_1): Likewise.
10658 (reload_cse_invalidate_rtx): Likewise.
10659 (reload_cse_check_clobber): Likewise.
10660 (reload_combine_note_store): Likewise.
10661 (move2add_note_store): Likewise.
10662 (reload): Adjust calls to note_stores.
10663 (reload_as_needed): Likewise.
10664 (emit_reload_insns): Likewise.
10665 (reload_cse_regs_1): Likewise.
10666 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
10667 (reload_combine): Adjust calls to note_stores.
10668 * resource.c (update_live_status): Take additional paramter.
10669 (mark_target_live_regs): Adjust calls to note_stores.
10670 * stupid.c (find_clobbered_regs): Take additional parameter.
10671 (stupid_life_analysis): Adjust calls to note_stores.
10672
10673 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
10674
10675 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
10676 definition.
10677
10678 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
10679 definition.
10680
10681 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
10682 of the variable arm_structure_size_boundary.
10683
10684 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
10685
10686 * alias.c (init_alias_analysis): Allocate reg_known_value and
10687 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
10688 and reg_seen.
10689 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
10690 * cse.c (cse_main): Call end_alias_analysis.
10691 * haifa-sched.c (schedule_insns): Likewise.
10692 * local-alloc. (update_equiv_regs): Likewise.
10693 * reload1.c (reload_cse_regs): Likewise.
10694
10695 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10696
10697 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
10698 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
10699 mapping from MASK_FPU.
10700
10701 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
10702
10703 * sparc.md (call): Don't bound structure return size to 0xfff.
10704
10705 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
10706
10707 * resource.c (mark_target_live_regs): Check that the target
10708 insn wasn't created after compute_bb_for_insn.
10709
10710 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
10711
10712 * ggc-page.c (poison_pages): Don't be overzealous.
10713
10714 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
10715
10716 * alias.c: Update comments for ADDRESS.
10717 (nonlocal_reference_p): Look inside the ADDRESS to determine if
10718 it is a local memory reference.
10719
10720 * c-typeck.c (build_function_call): Check that the built-in
10721 function is of class BUILT_IN_NORMAL before trying to recongize
10722 it as BUILT_IN_ABS.
10723 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
10724 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
10725
10726 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
10727
10728 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
10729 of alloca.
10730 (pre_gcse): Likewise.
10731 (hoist_expr_reaches_here_p): Likewise.
10732 (hoist_code): Likewise.
10733 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
10734 code to ...
10735 (pre_expr_reaches_here_p_work): ... here.
10736 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
10737 code to ...
10738 (expr_reaches_here_p_work): ... here.
10739
10740 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
10741
10742 * resource.c (find_basic_block): Delete.
10743 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
10744 (init_resource_info): Call compute_bb_for_insn.
10745
10746 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
10747
10748 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
10749 with already adjacent blocks, but no fallthru.
10750 (merge_blocks_move_successor_nojumps): Simplify.
10751 (debug_flow_info): New.
10752
10753 * toplev.c (rest_of_compilation): Open jump1 dump file before
10754 jump and close after, as opposed to just using dump_rtl.
10755
10756 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10757
10758 * reload.h (earlyclobber_operand_p): Declare.
10759 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
10760 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
10761 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
10762 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
10763
10764 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
10765 Richard Henderson <rth@cygnus.com>
10766
10767 * emit-rtl.c (emit_block_insn_before): New.
10768 (emit_block_insn_after): New.
10769 * basic-block.h: Declare them.
10770
10771 * bitmap.h: Protect from multiple inclusion.
10772
10773 * recog.c (scratch_operand): Handle VOIDmode correctly.
10774
10775 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
10776
10777 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
10778 * function.c (assign_parms): Likewise.
10779 * global.c (global_conflicts): Clarify STACK_REGS commentary.
10780
10781 * reg-stack.c (max_uid): Remove.
10782 (blocks, block_begin, block_end, block_drops_in): Remove.
10783 (block_stack_in, block_out_reg_set, block_number): Remove.
10784 (struct block_info_def, BLOCK_INFO): New.
10785 (enum emit_where): New.
10786 (current_block): New.
10787 (BLOCK_NUM): Remove.
10788 (mark_regs_pat, record_label_references): Remove.
10789 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
10790 (nan): New.
10791 (goto_block_pat, print_blocks, dump_stack_info): Remove.
10792 (reg_to_stack): Simplified test for existance of fp code. Use
10793 flow.c code. Call shorten_branches after cross-jump opt.
10794 (check_asm_stack_operands): Renamed from record_asm_reg_life.
10795 Return false if the asm doesn't use stack regs. Don't do life
10796 analysis on the asm.
10797 (emit_pop_insn): Replace function pointer arg `when' with
10798 enum `where'. Update all callers.
10799 (change_stack): Likewise. Update basic block end.
10800 (emit_swap_insn): Use current_block->head to limit reverse search
10801 for start of block. Use emit_block_insn_after.
10802 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
10803 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
10804 structure assignment instead of bcopy.
10805 (print_stack): New.
10806 (convert_regs_entry, convert_regs_exit): New.
10807 (convert_regs_1, convert_regs_2): Split out from convert_regs.
10808 Work on basic blocks and the CFG.
10809 (convert_regs): Use them.
10810
10811 * i386.c (output_fix_trunc): Remove code for DImode input operand
10812 not at top-of-stack.
10813 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
10814 appropriate mode.
10815 (fix_truncdi_1): Allow any mode scratch.
10816
10817 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
10818
10819 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
10820 * linux.h, netbsd.h, vms.h: Not here.
10821
10822 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
10823
10824 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
10825 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
10826 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
10827 CONDITIONAL_REGISTER_USEAGE): Use them.
10828 * config/mips/mips.c (mips_move_1word,mips_move_2words,
10829 gen_conditional_branch,override_options) : Use them.
10830 * config/mips/mips.md : Use them.
10831
10832 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
10833
10834 * i386.md (zero_extendqihi2): Use SImode register name with andl.
10835
10836 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
10837
10838 * integrate.c (function_cannot_inline_p): Don't allow inlining
10839 if setjmp is used.
10840
10841 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10842
10843 * c-parse.in (cast_expr): Constify.
10844
10845 * cccp.c (special_symbol): Likewise.
10846
10847 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
10848
10849 * dwarf2out.c (base_type_die): Likewise.
10850
10851 * global.c (allocno_compare): Likewise.
10852
10853 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
10854
10855 * regclass.c (fix_register): Likewise.
10856
10857 * rtl.h (fix_register): Likewise.
10858
10859 * stupid.c (stupid_reg_compare): Likewise.
10860
10861 * toplev.c (decode_f_option): Likewise.
10862
10863 * tree.c (build_complex_type): Likewise.
10864
10865 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
10866
10867 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
10868
10869 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10870
10871 * reload.c (find_reloads): Compute mode and nregs fields of all
10872 reloads.
10873 * reload1.c (calculate_needs_all_insns): Simplify a bit.
10874 (calculate_needs): Use precomputed mode/nregs values.
10875 (allocate_reload_reg): Likewise.
10876 Break out two...
10877 (failed_reload, set_reload_reg): ... new functions.
10878 (choose_reload_regs_init): New function, mostly broken out from...
10879 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
10880 Also lose one #if 0 block.
10881
10882 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
10883
10884 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
10885 substitution.
10886
10887 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
10888
10889 * tree.h (BLOCK_TYPE_TAGS): Remove.
10890 (BLOCK_END_NOTE): Likewise.
10891 (BLOCK_LIVE_RANGE_FLAG): Likewise.
10892 (BLOCK_LIVE_RANGE_START): Likewise.
10893 (BLOCK_LIVE_RANGE_END): Likewise.
10894 (tree_block): Remove live_range_flag, live_range_var_flag, and
10895 type_tags. Remove end_note, live_range_start, and live_range_end.
10896 (remember_end_note): Remove prototype.
10897 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
10898 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
10899 remember_end_note.
10900 * ggc-common.c (ggc_mark_tree_children): Don't mark
10901 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
10902 * integrate.c (adjust_copied_decl_tree): Remove.
10903 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
10904 * stmt.c (last_block_end_note): Remove.
10905 (init_stmt): Don't add a GC root for it.
10906 (expand_fixup): Don't set it.
10907 (remember_end_note): Remove.
10908 (expand_end_bindings): Don't set last_block_end_note.
10909
10910 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10911
10912 * reload1.c (reload_reg_free_for_value_p): Show
10913 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
10914 reloads.
10915
10916 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
10917
10918 * expmed.c (extract_bit_field): Allow for the case of non-integer
10919 objects that are smaller than a word (like SFmode on a 64-bit
10920 machine).
10921
10922 * loop.c (basic_induction_var): A non-integer variable which is
10923 being set by a paradoxical subreg is probably not a biv.
10924
10925 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10926
10927 * prefix.c (translate_name) Check for empty prefix string.
10928
10929 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
10930
10931 * Makefile.in (CPP_CROSS_NAME): New variable.
10932 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
10933 xcpp.
10934 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
10935 names of the files to be uninstalled.
10936
10937 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
10938
10939 * collect2.c (IS_DIR_SEPARATOR): Define.
10940 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
10941
10942 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
10943 functions too.
10944
10945 * haifa-sched.c (add_dependence): Update the true dependency
10946 cache the first time we add a true dependence to the LOG_LINKS chain.
10947
10948 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
10949
10950 * fold-const.c (fold): Fix comment.
10951
10952 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10953
10954 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
10955 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
10956 dbxout_start_new_source_file, dbxout_source_file,
10957 dbxout_source_line, dbxout_finish, dbxout_type_fields,
10958 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
10959 Constify a char*.
10960 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
10961 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
10962 (dbxout_block): Initialize variable `blocknum'.
10963
10964 * dbxout.h (dbxout_init, dbxout_finish,
10965 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
10966 dbxout_args, dbxout_source_line): Constify a char*.
10967
10968 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
10969 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
10970 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
10971 low_pc_attribute, high_pc_attribute, body_begin_attribute,
10972 body_end_attribute, comp_dir_attribute, sf_names_attribute,
10973 src_info_attribute, mac_info_attribute, producer_attribute,
10974 lookup_filename, generate_macinfo_entry, fundamental_type_code,
10975 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
10976 dwarfout_undef): Constify a char*.
10977 (add_incomplete_type, retry_incomplete_types): Add prototypes.
10978
10979 * dwarfout.h (dwarfout_define, dwarfout_undef,
10980 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
10981
10982 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
10983
10984 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
10985 (MULTILIB_ISA_DEFAULT): New.
10986 (MULTILIB_DEFAULTS): Use it.
10987 * config/mips/mips.c (): Remove the now unnecessary definition
10988 of MIPS_ISA_DEFAULT.
10989 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
10990 unnecessary definition.
10991
10992 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
10993
10994 * arm.md (pic_load_addr): Add constraints to operand 1.
10995
10996 1999-10-25 Bruce Korb <autogen@linuxbox.com>
10997
10998 * fixinc/genfixes: Provide a means for specifying -D options to
10999 AutoGen
11000
11001 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
11002
11003 * arm.c (arm_override_options): Correct initialization of
11004 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
11005 arm_is_strong, and arm_is_6_or_7.
11006
11007 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
11008 (note_set_pseudo_multiple_uses): New function.
11009 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
11010 if a pseudo set in the loop exit is used elsewhere.
11011
11012 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
11013
11014 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
11015
11016 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
11017
11018 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
11019 a single load-address pattern.
11020
11021 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
11022
11023 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
11024 depending on whether or not line-number notes are present.
11025
11026 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11027
11028 * cccp.c (progname, file_buf, default_include, include_file,
11029 macrodef, definition, hashval, wchar_type, user_label_prefix,
11030 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
11031 expand_to_temp_buffer, is_system_include, base_name,
11032 absolute_filename, read_name_map, open_include_file,
11033 record_control_macro, check_precompiled, check_preconditions,
11034 pcfinclude, pass_thru_directive, create_definition,
11035 check_macro_name, comp_def_part, collect_expansion,
11036 check_assertion, read_token_list, assertion_install,
11037 assertion_lookup, eval_if_expression, conditional_skip,
11038 validate_else, skip_quoted_string, quote_string, macarg1,
11039 error_from_errno, install, lookup, hashf, dump_defn_1,
11040 perror_with_name, pfatal_with_name, main, trigraph_pcp,
11041 check_white_space, rescan, handle_directive, monthnames,
11042 special_symbol, do_include, remap_include_file, write_output,
11043 arglist, do_assert, do_unassert, do_line, do_error, do_once,
11044 do_ident, do_sccs, do_xifdef, skip_if_group,
11045 output_line_directive, macroexpand, macarg, change_newlines,
11046 initialize_builtins, make_definition): Constify a char*.
11047
11048 * pcp.h (stringdef): Likewise.
11049
11050 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
11051
11052 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
11053 not of pattern.
11054
11055 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
11056 Richard Henderson <rth@cygnus.com>
11057
11058 * alias.c: Include ggc.h.
11059 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
11060 (record_set): Verify enough room in reg_base_value.
11061 (init_alias_analysis): Allocate reg_base_value with xcalloc.
11062 Register it as a GC root.
11063 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
11064 * Makefile.in (alias.o): Depend on ggc.h.
11065
11066 * unroll.c (unroll_loop): Verify the insn before a barrier
11067 is a JUMP_INSN before checking JUMP_LABEL.
11068
11069 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11070
11071 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
11072 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
11073 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
11074 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
11075 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
11076 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
11077
11078 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11079
11080 * output.h (ctors_section, dtors_section, bss_section): Prototype.
11081
11082 * alpha/alpha-interix.h (text_section): Delete prototype.
11083 * alpha/elf.h (text_section): Likewise.
11084 * arm/linux-elf.h (text_section): Likewise.
11085 * arm/linux-telf.h (text_section): Likewise.
11086 * c4x/c4x.h (text_section): Likewise.
11087 * dsp16xx/dsp16xx.h (bss_section): Likewise.
11088 * elfos.h (text_section): Likewise.
11089 * i386/aix386ng.h (text_section): Likewise.
11090 * i386/i386-interix.h (text_section): Likewise.
11091 * i386/sco5.h (text_section): Likewise.
11092 * i386/svr3gas.h (text_section): Likewise.
11093 * nextstep.h (text_section): Likewise.
11094 * psos.h (text_section): Likewise.
11095 * ptx4.h (text_section): Likewise.
11096 * svr3.h (text_section): Likewise.
11097 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
11098
11099 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11100
11101 * final.c (peephole): Delete prototype.
11102
11103 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
11104 (pre_insert_copies): Remove unused variable `bb'.
11105
11106 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
11107 prototypes.
11108
11109 * output.h (peephole): Add prototype.
11110
11111 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
11112
11113 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
11114 -O0.
11115
11116 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
11117
11118 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
11119 for inlined declarations.
11120
11121 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
11122
11123 * arm.c (logical_binary_operator): New fucntion.
11124 * arm.h (logical_binary_operator): Declare it.
11125 (PREDICATE_CODES): Handle logical_binary_operator.
11126 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
11127 output constraints. Add appropriate splitters.
11128 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
11129 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
11130 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
11131
11132 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11133
11134 * genoutput.c (struct operand_data): New elt eliminable.
11135 (output_operand_data): Write it.
11136 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
11137 (compare_operands): Take it into account.
11138 * recog.h (struct insn_operand_data): New elt eliminable.
11139 * reload1.c (check_eliminable_occurrences, elimination_effects): New
11140 functions.
11141 (old_asm_operands_vec, new_asm_operands_vec): Delete.
11142 (eliminate_regs): Move code that detects changes to elimination
11143 target regs into new function elimination_effects.
11144 Delete one #if 0 block.
11145 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
11146 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
11147 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
11148 Only call eliminate_regs for real operands of the insn, not for parts
11149 of its structure or parts matched by things like match_operator.
11150 Use elimination_effects and check_eliminable_occurrences. Use
11151 copy_insn to duplicate the pattern when not in the final pass.
11152
11153 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
11154
11155 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
11156 and fld.
11157
11158 1999-10-22 Bruce Korb <autogen@linuxbox.com>
11159
11160 * fixinc/README: document the "mach" machine matching test
11161 * fixinc/fixfixes.c: Implement the #else/#endif label fix
11162 * fixinc/fixtests.c: Implement the #else/#endif label test
11163 * fixinc/inclhack.def: utilize these tests and fixes
11164 * fixinc/inclhack.sh: regen
11165 * fixinc/fixincl.x: regen
11166 * fixinc/fixincl.sh: regen
11167
11168 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
11169
11170 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
11171 depend on ggc.h.
11172
11173 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
11174
11175 * gcc.1: Document exit codes.
11176
11177 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11178
11179 * calls.c: Include tm_p.h later, so everything we need is defined.
11180 * expr.c: Likewise.
11181 * function.c: Likewise.
11182
11183 * except.c: Include tm_p.h.
11184
11185 * sparc.c: Likewise.
11186 (dwarf2out_cfi_label): Don't prototype.
11187 (check_return_regs, epilogue_renumber,
11188 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
11189 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
11190 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
11191 ultra_schedule_insn): Add static prototype.
11192 (data_segment_operand, text_segment_operand): Call itself with the
11193 proper number of arguments.
11194 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
11195
11196 * sparc.h: Move all declarations to sparc-protos.h.
11197 (SELECT_RTX_SECTION): Pass a missing MODE argument to
11198 symbolic_operand.
11199
11200 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
11201
11202 * config/svr4.h (text_section, ctors_section, dtors_section): Add
11203 Prototypes.
11204 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
11205 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
11206 ASM_OUTPUT_ASCII): Constify a char*.
11207
11208 * sparc-protos.h: New file for sparc prototypes.
11209
11210 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11211
11212 * function.c (record_insns, contains): Always declare and define.
11213 (record_insns): Mark with ATTRIBUTE_UNUSED.
11214
11215 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
11216
11217 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
11218 to .section when outputting a .bss section to deal with multiple
11219 .bss input sections (as happens with -fdata-sections)
11220 Also output %progbits, not @progbits so the assembler doesn't treat as
11221 a comment.
11222 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
11223
11224 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
11225 thumb parts even when building with non-thumb CPUs, by forcing
11226 thumb mode.
11227
11228 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
11229
11230 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
11231 (movdf_const_intreg_sp64): Similarly.
11232
11233 * local-alloc.c (update_equiv_regs): Check the correct insn
11234 for pre-existing REG_EQUIV notes.
11235
11236 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
11237
11238 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
11239 block reached by a branch if we're not going to actually process
11240 this block.
11241
11242 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
11243
11244 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
11245 a local extern function declaration.
11246
11247 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
11248
11249 * i386.c (ix86_expand_prologue): Properly wrap USE around
11250 reg for CALL_INSN_FUNCTION_USAGE.
11251
11252 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
11253
11254 * config/mips/mips.md (movdf_internal1a): Allow floating-point
11255 move between GP_REGs.
11256
11257 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
11258
11259 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
11260 the mode size when finding out if an offset is legal.
11261
11262 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
11263
11264 * basic-block.h (PROP_*): Move constants from ...
11265 * flow.c: ... here.
11266 (compute_bb_for_insn): Free the array before reallocating.
11267 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
11268 (allocate_reg_life_data): Reset all reg variables collected by
11269 propagate_block.
11270 (get_block_head_tail): Don't convert from bb to block.
11271 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
11272 (find_insn_reg_weight): Take block not bb.
11273 (schedule_block): Don't set block num for moved insns.
11274 (schedule_region): Don't update_life_info or find_insn_reg_weight.
11275 (schedule_insns): Do it here instead.
11276 * combine.c (combine_instructions): Invoke compute_bb_for_insn
11277 before update_life_info.
11278 * recog.c (split_all_insns, peephole2_optimize): Update for
11279 new arg to update_life_info.
11280 * rtlanal.c (remove_note): Cope with NULL note.
11281 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
11282 if we did sched1.
11283
11284 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
11285
11286 * jump.c (jump_optimize_1): More accurately detect casesi insns.
11287
11288 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
11289 block records so that merge_blocks_nomove will clean up correctly.
11290 (split_edge): Handle casesi insns.
11291
11292 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
11293
11294 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
11295
11296 * pa.md (call, call_value): Do not emit a blockage after restoring
11297 the PIC register.
11298
11299 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
11300
11301 * c-typeck.c (c_expand_asm_operands): Fix typo.
11302
11303 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11304
11305 * arm.c (fpu_rhs_operand): Verify modes.
11306 (fpu_add_operand): Likewise.
11307 (di_operand): Likewise.
11308 (soft_df_operand): Likewise.
11309
11310 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
11311
11312 * arm.c (arm_return_in_memory): APCS rules state that the elements
11313 of a structure returned in a register must be 'integer-like'.
11314
11315 1999-10-19 Bruce Korb <autogen@linuxbox.com>
11316
11317 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
11318 in the source tree when the generated targets are out of date
11319 * fixinc/genfixes: Alter it to run individual fixes for make.
11320 * fixinc/README: rewrite
11321 * fixinc/inclhack.def: moved initial comments to README
11322
11323 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
11324
11325 * toplev.c (main): Do not generate an error message if an
11326 unrecognised command line switch is recognisable by another
11327 language. If extra_warnings are enabled, then generate a
11328 warning message instead.
11329
11330 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
11331
11332 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
11333 (insert_pack_attributes): Delete prototype.
11334
11335 * c-pragma.c (default_alignment): New static variable.
11336 (push_alignment): Initialize to current effective alignment.
11337 (pop_alignment): Use to set new alignment.
11338 (insert_pack_attributes): Delete function.
11339 (handle_pragma_token): Set default_alignment as well each time
11340 a #pragma pack(<n>) is encountered.
11341
11342 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
11343
11344 * reg-stack.c (stack_result): Aggregates are not returned in
11345 stack registers.
11346
11347 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
11348
11349 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
11350
11351 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
11352
11353 * basic-block.h (set_block_num): Declare.
11354 * flow.c (update_life_info): Don't call compute_bb_for_insn
11355 or free_basic_block_vars.
11356 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
11357 (insn_orig_block): Remove.
11358 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
11359 (schedule_block): Keep BLOCK_NUM up-to-date.
11360 (schedule_insns): Use compute_bb_for_insn.
11361 * recog.c (split_all_insns): Likewise.
11362 (peephole2_optimize): Likewise.
11363
11364 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
11365
11366 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
11367 if the pic register is used.
11368
11369 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11370
11371 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
11372 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
11373 if that tests TREE_PERMANENT.
11374
11375 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
11376
11377 * cse.c (invalidate_for_call): Do not remove memory references from
11378 the table here. It's handled elsewhere.
11379
11380 * haifa-sched.c (add_dependence): Protect references to the
11381 true dependency cache with #ifdef INSN_SCHEDULING.
11382 (remove_dependence): Similarly.
11383
11384 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
11385 to the cfg code that this is a return instruction.
11386 * mn10300.md (return_internal): Similarly.
11387
11388 * combine.c (get_last_value): If the last set of a register
11389 is after subst_low_cuid, then we can not use it to determine
11390 the register's last value.
11391
11392 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
11393
11394 * Makefile.in: Back out previous change.
11395
11396 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
11397
11398 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
11399
11400 * haifa-sched.c (add_dependence): Only check/update the cache
11401 if it exists.
11402 (remove_dependence): Likewise.
11403 (schedule_insns): Only create the true_dependency_cache if the
11404 average number of instructions in a basic block is very large.
11405
11406 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
11407
11408 * Makefile.in (ggc-common.o): Depend on genrtl.h.
11409 (ggc-simple.o): Likewise.
11410 (ggc-page.o): Likewise.
11411
11412 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
11413
11414 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
11415 Prototype for exported functions.
11416 (pre_lcm, pre_rev_lcm): Remove prototypes.
11417 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
11418 (compute_available): Move to lcm.c, and change parameter order.
11419 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
11420 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
11421 (gcse_main): No longer call compute_preds_succs. Rebuild the
11422 set table after reach pre pass.
11423 (pre_insert_map, pre_delete_map, edge_list): New.
11424 (alloc_pre_mem): Allocate edge vectors.
11425 (free_pre_mem): Delete edge vectors.
11426 (compute_pre_data): Call new edge based lcm routines.
11427 (process_insert_insn): New function.
11428 (insert_insn_end_bb): Use it.
11429 (pre_edge_insert): New function.
11430 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
11431 needed.
11432 (pre_insert_copies): Revamp using new edge based lcm outputs.
11433 (pre_delete): Likewise.
11434 (one_pre_gcse_pass): Insert & remove fake edges to the exit
11435 block.
11436 (compute_code_hoist_vbeinout): New new edge based routines.
11437 * lcm.c: Remove all the old LCM functions. Replace with new ones
11438 that work with the new cfg datastructures and work with edges
11439 instead of blocks.
11440
11441 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11442
11443 * reload.h (struct reload): Add new fields "mode" and "nregs".
11444 * reload1.c: Change all occurrences of reload_mode and reload_nregs
11445 to reference the "mode" and "nregs" field within struct reload.
11446
11447 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
11448
11449 * haifa-sched.c (true_dependency_cache): New.
11450 (add_dependence): Use the true dependency cache to avoid expensive
11451 walks down the LOG_LINKS dependency list. Add entries to the
11452 cache as necessary.
11453 (remove_dependence): Remove entries from the true dependency cache
11454 as needed.
11455 (schedule_insns): Allocate and initialize and free the true
11456 dependency cache.
11457
11458 * haifa-sched.c (schedule_insns): Do not remove inter-block
11459 dependencies anymore.
11460
11461 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
11462
11463 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
11464 * i386/t-winnt: Likewise.
11465
11466 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
11467
11468 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
11469
11470 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
11471
11472 * Makefile.in (LANGUAGES): Omit "proto".
11473 (clean): Remove stale comment about removing unprotoize.c.
11474
11475 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11476
11477 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
11478 using arithmetic on void pointers.
11479
11480 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
11481
11482 * haifa-sched.c (compute_block_forward_dependencies): Only check
11483 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
11484
11485 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
11486
11487 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
11488 (expr_equiv_p): Reject memories with different alias sets.
11489
11490 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
11491
11492 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
11493 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
11494 (f_options): Add "bounded-pointers" and "bounds-check" entries.
11495 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
11496 (lang_init): Set default for flag_bounds_check if still "unspecified".
11497
11498 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11499
11500 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
11501
11502 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11503
11504 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
11505 instructions.
11506
11507 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11508
11509 * config/c4x/c4x.md (*db_noclobber,
11510 *decrement_and_branch_until_zero_noclobber): New patterns and
11511 associated splitters.
11512
11513 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11514
11515 * config/c4x/c4x.md (parallel instruction patterns): Rework
11516 constraints to keep reload happy.
11517
11518 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11519
11520 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
11521 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
11522 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
11523 Add new patterns and associated post-reload splitters.
11524
11525 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11526
11527 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
11528
11529 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11530
11531 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
11532 if appropriate.
11533 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
11534
11535 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11536
11537 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
11538 memory mode.
11539
11540 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
11541
11542 * pa.c (move_operand): Rely on memory_address_p to determine the
11543 validity of non-indexed memory addresses.
11544 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
11545 operand in DFmode and SFmode when generating PA2.0 code.
11546
11547 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
11548
11549 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
11550
11551 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
11552
11553 * mips.c (function_prologue): Fix argument types.
11554 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
11555 (casesi_internal): Write to the scratch register.
11556
11557 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
11558
11559 * cppexp.c (cpp_parse_escape): Make static. Change second arg
11560 to U_CHAR **.
11561 (parse_charconst): Delete unnecessary cast when calling
11562 cpp_parse_escape.
11563 (cpplib.h): Kill prototype of cpp_parse_escape.
11564
11565 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
11566
11567 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
11568 * unroll.c (unroll_loop): Cast return value of alloca.
11569 * i370/i370.c: Include function.h and toplev.h.
11570 (i370_label_scan): Remove c++ commented abort.
11571 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
11572 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
11573 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
11574 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
11575
11576 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
11577
11578 * config/t-freebsd: Do not override USER_H.
11579 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
11580
11581 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
11582 Mumit Khan <khan@xraylith.wisc.edu>
11583
11584 * c-parse.in (component_decl): Support anonymous struct/union.
11585 (%expect): Update.
11586 * c-parse.y: Regenerate.
11587 * c-parse.c: Likewise.
11588 * objc/objc-parse.y: Likewise.
11589 * objc/objc-parse.c: Likewise.
11590 * c-decl.c (finish_struct): Don't sort the fields.
11591 (field_decl_cmp): Delete unused function.
11592
11593 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
11594
11595 * sparc.md (movsf_const_intreg): Revert last constraint change.
11596 (movdf_const_intreg_sp32): Likewise.
11597
11598 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
11599
11600 * cse.c: Include hashtab.h instead of splay-tree.h
11601 (struct cse_reg_info): No longer use variant union. Add new
11602 field "regno". All references changed to avoid union.
11603 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
11604 (free_cse_reg_info): Remove.
11605 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
11606 (get_cse_reg_info): Revamp to use expandable hash tables instead
11607 of splay trees. Initialize new fields in cse_reg_info structure.
11608 (new_basic_block): Similarly.
11609
11610 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
11611
11612 * genrecog.c (message_with_line): Prototype.
11613 (validate_pattern): Pass along the set for the dest, not a flag.
11614 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
11615 Check for PC/CC0 as sources.
11616 (nodes_identical): Check for children position match before
11617 allowing the combination.
11618
11619 * rtl.c (read_rtx): Track line number across \\\n.
11620
11621 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
11622
11623 * mips.h (SPECIAL_MODE_PREDICATES): New.
11624 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
11625 (movdi+1, movsi+1): Add output reload constraint.
11626 (casesi_internal): Likewise. Fix commentary.
11627 (return_internal): Use pmode_register_operand.
11628
11629 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
11630
11631 * 1750a.md (movstrqi): Add missing output reload constraint.
11632 (call_value): Likewise.
11633 * a29k.md (cpxxx patterns): Add missing match_operator mode.
11634 (jmpfdec): Add missing inout reload constraint.
11635 * elxsi.md (addsi patterns): Add missing output reload constraint.
11636 (move from sp): Use @ alternates.
11637 (call_value): No constraint on output.
11638 * fr30.md (movsi_pop): Add missing output reload constraint.
11639 (movsf_constant_store): Likewise.
11640 (splits): Remove constraints.
11641 (subsi3): Add missing mode.
11642 * i370.md (cmpstrsi+1): Add missing output reload constraint.
11643 (call_value): Likewise.
11644 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
11645 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
11646 * m32r.md (movsicc_internal): Add output reload constraint.
11647 (movstrsi_internal): Add inout reload constraints.
11648 * m88k.h (reg_names): Don't declare.
11649 (SPECIAL_MODE_PREDICATES): New.
11650 * m88k.md (*): Use register_operand not reg_or_0_operand
11651 on destinations.
11652 * mn10200.h (PREDICATE_CODES): New.
11653 * ns32k.md (ffs pattern): Add output reload constraint.
11654 * pdp11.md (sob pattern): Add inout reload constraint.
11655 * sh.md (splits): Remove constraints.
11656 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
11657 * v850.md (pattern_is_ok_for_epilogue): Likewise.
11658 * vax.md (jgequ pattern): Add inout reload constraint.
11659
11660 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
11661
11662 * configure.in (djgpp): Revert previous patch.
11663 * configure: Rebuit.
11664 * config/i386/djgpp.h: Revert previous patch.
11665
11666 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
11667
11668 * fixinc/inclhack.def: Restore patch lost during last merge of
11669 "no_bogosity" branch.
11670 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
11671
11672 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
11673
11674 * fixincludes: Add a HPUX 11 fix for inttypes.h.
11675 * fixinc/inclhack.def: Same.
11676 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
11677
11678 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
11679
11680 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
11681 as the base of a PLUS.
11682
11683 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11684
11685 * config/c4x/c4x.md: Define mode for remaining unspec operators.
11686 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
11687
11688 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
11689
11690 * pa.md (post_stw+1): Use pmode_register_operand.
11691 (dcacheflush, icacheflush): Likewise.
11692
11693 * i386.md (movstricthi_1): Allow r/r.
11694
11695 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
11696
11697 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
11698 to (not (and (arg0) (arg1))). Similary for and.
11699
11700 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
11701 fallthrough to associate code.
11702 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
11703 bits in common.
11704
11705 * combine.c (simplify_logical): Convert XOR to IOR if operands have
11706 no bits in common; remove XOR to ROTATE conversion.
11707
11708 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11709
11710 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
11711
11712 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11713
11714 * config/c4x/c4x.c (dst_operand): New.
11715 (PREDICATE_CODES): Update.
11716 * config/c4x/c4x.h (dst_operand): Declare it.
11717 * config/c4x/c4x.md: Define mode for each unspec usage.
11718 (move patterns): Use dst_operand predicate instead of src_operand.
11719 (movqi_update, movqf_update): Delete.
11720
11721 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
11722
11723 * recog.c (pmode_register_operand): New.
11724 * recog.h: Declare it.
11725 * genrecog.c (pred_codes): Likewise.
11726 (special_mode_pred_table): Likewise.
11727 (validate_pattern): Don't warn no mode for address_operand.
11728
11729 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
11730 if the operand is not insn-like.
11731
11732 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
11733 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
11734
11735 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
11736
11737 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
11738
11739 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
11740 instead of general_operand in a SET_DEST. Use const_double_operand
11741 instead of an explicit test against CONST_DOUBLE.
11742 (movsf_const_lo): Add missing register mode.
11743 (goto_handler_and_restore): Add auxiliary test for Pmode.
11744 (flush): Adjust to use address_operand.
11745 (return_sf_no_fpu): Add missing output constraint.
11746
11747 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
11748
11749 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
11750 for call return value.
11751 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
11752
11753 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
11754
11755 * toplev.c (main): Only warn about options for other languages.
11756 * collect2.c (main): Pass -w to sub-gcc.
11757
11758 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
11759
11760 * flow.c (propagate_block): Add call-clobbered registers to
11761 significant too.
11762
11763 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
11764 zapping mem_set_list.
11765 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
11766 (mark_set_1, mark_used_regs): Likewise.
11767
11768 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
11769
11770 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
11771
11772 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11773
11774 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
11775 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
11776 options. Also add a new item "C-only Warning Options" to the
11777 option summary.
11778
11779 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
11780
11781 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
11782 from multiple calls.
11783
11784 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
11785
11786 * i386.md (call value patterns): Move to the end of the file.
11787 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
11788
11789 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
11790
11791 * configure.in (djgpp configuration): Define extra_objects..
11792 * configure: Rebuilt.
11793 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
11794 (DTORS_SECTION_ASM_OP): Define.
11795 (INIT_SECTION_ASM_OP): Define.
11796 (FINI_SECTION_ASM_OP): Define.
11797 (DATA_SECTION_ASM_OP): Define.
11798 (TEXT_SECTION_ASM_OP): Define.
11799 (EH_FRAME_SECTION_ASM_OP): Define.
11800 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
11801 (STARTFILE_SPEC): Add crtbegin.o.
11802 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
11803 to here from LINK_COMMAND_SPEC.
11804 (DO_GLOBAL_CTORS_BODY): Define.
11805 (CRTSTUFF_USE_FINI_SECTION): Define
11806 (HAS_INIT_SECTION): Delete.
11807
11808 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
11809
11810 * Makefile.in (all.cross): Depend on xcpp$(exeext).
11811
11812 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
11813
11814 * pa.h (PREDICATE_CODES): New.
11815
11816 * genrecog.c (validate_pattern): Condense the destination
11817 non-lvalue message.
11818
11819 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
11820
11821 * alpha.md (call-1): Supply missing mode for operator.
11822 (*): Add missing output reload constraints. Remove constraints
11823 from define_splits.
11824
11825 * i386.h (SPECIAL_MODE_PREDICATES): New.
11826 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
11827 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
11828 (addsi_lea_3): Add missing mode for op 3.
11829 (prologue_set_got, prologue_get_pc): Add missing modes.
11830 (*) Add missing output reload constraints.
11831
11832 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
11833
11834 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
11835 check for member bit-size overflow and use var_size if it occurs.
11836 (layout_record): Use bitsize_int() to define the type size in bits.
11837 Likewise for computation and assignment to DECL_FIELD_BITPOS.
11838 (layout_decl): Likewise when assigning to DECL_SIZE.
11839
11840 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
11841
11842 * genrecog.c (validate_pattern): Typo last change. Verify
11843 that output operands have output reloads.
11844
11845 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
11846
11847 * genrecog.c (special_mode_pred_table): New.
11848 (NUM_SPECIAL_MODE_PREDS): New.
11849 (find_operand): New.
11850 (validate_pattern): New argument `insn'. Warn for assignment to
11851 any predicate accepting non-lvalues. Conditionaly warn for
11852 match_operand without a mode. Try much harder to match source
11853 and destination modes on a set.
11854 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
11855
11856 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
11857
11858 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
11859
11860 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
11861
11862 * combine.c (simplify_logical): Recognize xor pattern that encodes
11863 rotation.
11864
11865 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11866
11867 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
11868 alignment.
11869
11870 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
11871
11872 * ggc-page.c (MAP_FAILED): Provide default.
11873
11874 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
11875
11876 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
11877 * sparc.h (PREDICATE_CODES): Update.
11878
11879 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
11880
11881 * alpha.c (some_ni_operand): New.
11882 * alpha-protos.h: Declare it.
11883 * alpha.h (PREDICATE_CODES): Update.
11884 * alpha.md (sXaddq reload insns): Use some_ni_operand
11885 for SET_DEST instead of some_operand.
11886
11887 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
11888 Jim Wilson <wilson@cygnus.com>
11889
11890 * genrecog.c (maybe_both_true_2): Don't compare modes of
11891 two DT_pred tests.
11892 (process_tree): Elide peephole2_insns. Invoke simplify_tests
11893 after find_afterward.
11894 (debug_decision_1): Dump next and afterward codes.
11895
11896 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
11897
11898 * rtl.c (dump_and_abort): Remove.
11899 (fatal_with_file_and_line): New.
11900 (fatal_expected_char): New.
11901 (read_rtx_lineno, read_rtx_filename): New.
11902 (read_skip_spaces): Track line number.
11903 (read_name): Use fatal_with_file_and_line.
11904 (read_rtx): Use fatal_expected_char. Track line number.
11905 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
11906
11907 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
11908 if it isn't a CODE_LABEL.
11909
11910 * genattr.c (main): Set read_rtx_filename.
11911 * genattrtab.c (main): Likewise.
11912 * gencodes.c (main): Likewise.
11913 * genconfig.c (main): Likewise.
11914 * genemit.c (main): Likewise.
11915 * genextract.c (main): Likewise.
11916 * genflags.c (main): Likewise.
11917 * genopinit.c (main): Likewise.
11918 * genoutput.c (main): Likewise.
11919 * genpeep.c (main): Likewise.
11920
11921 * genrecog.c (decision_test.u.insn): Add `lineno'.
11922 (pattern_lineno, error_count): New variables.
11923 (message_with_line): New.
11924 (add_to_sequence): Break out checking code to ...
11925 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
11926 (merge_insn): Use message_with_line.
11927 (make_insn_sequence): Use validate_pattern. Record insn lineno.
11928 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
11929
11930 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11931
11932 * expr.c (store_constructor): Clear union if constructor is empty.
11933
11934 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
11935
11936 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
11937 Add !endian checks. Change %{...} to %(...).
11938
11939 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
11940
11941 * i386.md (*addsi3_cc): Renamed from addcsi3.
11942 (*addsi3_carry): Renamed from addxsi3.
11943 (*subsi3_cc): Renamed from subcsi3.
11944 (*subsi3_carry): Renamed from subxsi3.
11945 (*xorqi_cc_1): Renamed from xorcqi_1.
11946 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
11947 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
11948
11949 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
11950
11951 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
11952 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
11953
11954 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
11955
11956 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
11957 climb up the chain of insns.
11958
11959 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
11960
11961 * genrecog.c (write_subroutine): Careful for null trees.
11962 (process_tree): Don't elide empty functions.
11963
11964 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
11965
11966 * Makefile.in (genrtl.o): Depend on ggc.h.
11967 * configure.in (valloc): Probe for it.
11968 (with-gc): Use ggc-page if valloc present.
11969 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
11970 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
11971 (ggc_alloc_string): Moved from ggc-page.c.
11972 * ggc-none.c (ggc_alloc_obj): New.
11973 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
11974 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
11975 (struct globals): Likewise for dev_zero_fd.
11976 (init_ggc): Likewise for it's initialization.
11977 (ggc_allocated_p): Move careful dereference from ...
11978 (ggc_lookup_page_table): ... here. Delete.
11979 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
11980 (alloc_anon): Use valloc if no mmap.
11981 (release_pages): Use free if using valloc.
11982 (ggc_alloc_obj): Renamed from alloc_obj.
11983 (ggc_set_mark): Renamed from mark_obj.
11984 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
11985 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
11986 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
11987 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
11988 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
11989 (ggc_collect): Use fp printing instead of our own rounding.
11990 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
11991 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
11992 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
11993 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
11994 (struct ggc_string, struct ggc_any): Delete.
11995 (offsetof): Provide default definition.
11996 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
11997 (PTR_KEY): New.
11998 (struct ggc_mem): New, from corpse of ggc_any.
11999 (struct ggc_status): Delete.
12000 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
12001 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
12002 (n_strings_collected, n_anys_collected): Delete.
12003 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
12004 (ggc_alloc_string, ggc_alloc): Delete.
12005 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
12006 (ggc_free_string, ggc_free_any): Delete.
12007 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
12008 (ggc_compare_addresses, ggc_mark_string): Delete.
12009 (ggc_mark_string_if_gcable, ggc_mark): Delete.
12010 (search_data): Delete.
12011 (struct globals): New.
12012 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
12013 (tree_insert, tree_lookup): New.
12014 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
12015 (clear_marks, sweep_objs): New.
12016 (ggc_collect): Gut. Use clear_marks, sweep_objs.
12017 (init_ggc): Set allocated_last_gc.
12018 (ggc_push_context): Gut. Use G.context.
12019 (ggc_pop_context): Likewise.
12020 (ggc_pop_context_1): New.
12021 (debug_ggc_tree): New.
12022 (debug_ggc_balance, tally_leaves): New.
12023 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
12024 (ggc_mark_string_if_gcable): Remove decl.
12025 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
12026 (ggc_mark_rtvec_children): New.
12027 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
12028 (ggc_mark_if_gcable): New decl.
12029 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
12030 (ggc_alloc_tree, ggc_alloc): Likewise.
12031 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
12032 (ggc_alloc_obj): New decl.
12033 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
12034 (ggc_alloc_tree, ggc_alloc): Likewise.
12035 (ggc_set_mark): New decl.
12036 * rtl.h (struct rtx_def): Remove gc_mark.
12037 (struct rtvec_def): Likewise.
12038 * tree.h (struct tree_common): Likewise.
12039
12040 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
12041
12042 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
12043 float_format and thread_file definitions.
12044 * configure: Rebuilt.
12045
12046 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
12047
12048 * extend.texi (Function Names): Document types of function names.
12049
12050 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12051
12052 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
12053 an earlyclobbered output conflict with RELOAD_INPUT reloads.
12054
12055 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12056
12057 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
12058
12059 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12060
12061 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
12062
12063 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
12064
12065 * collect2.c (main): Do prelimnary link on AIX if rflag.
12066
12067 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
12068
12069 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
12070 __CTOR_LIST__ in opposite order, which is the correct order for sorted
12071 constructors.
12072 (__do_global_dtors): similarly for __DTOR_LIST__.
12073
12074 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12075 Diego Novillo <dnovillo@cygnus.com>
12076
12077 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
12078 FPUL_REGS.
12079
12080 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
12081
12082 * fixincl/*: Merged "no_bogosity" branch
12083 * fixincl/fixlib.h: protect against doubly defining t_bool
12084 * fixincl/server.h: protect against doubly defining t_bool
12085
12086 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
12087
12088 * genoutput.c: Include toplev.h.
12089
12090 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
12091
12092 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
12093 Undef.
12094 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
12095 * configure: Regenerate.
12096
12097 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
12098
12099 * gcse.c (delete_null_pointer_checks): Returns void.
12100
12101 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12102
12103 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
12104 * emit-rtl.c (copy_insn_1): Likewise.
12105
12106 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
12107
12108 * config/mips/mips.c (mips_build_va_list): Correct
12109 TREE_CHAIN setting when hard-float.
12110 (mips_va_start): Use corrected setting.
12111 (mips_va_arg): Likewise. Also pass a tree to build of
12112 POSTINCREMENT_EXPR rather than a naked 'int'.
12113
12114 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
12115
12116 * ggc.h (ggc_push_context): Fix comment.
12117 (ggc_pop_context): Likewise.
12118 (mark_string_if_gcable): Likewise.
12119 * ggc-common.c (ggc_mark_rtx_children): Use
12120 ggc_mark_string_if_gcable.
12121 * ggc-page.c (ggc_lookup_page_table): New function.
12122 (ggc_allocated_p): Likewise.
12123 (mark_obj): Fix formatting.
12124 (ggc_mark_string_if_gcable): New function.
12125 * ggc-simple.c (ggc_allocated_strings): New variable.
12126 (ggc_strings_used): Likewise.
12127 (ggc_compare_addresses): New function.
12128 (ggc_pop_context): Pop the `any' memory too.
12129 (ggc_mark_string_if_gcable): New function.
12130 (ggc_collect): Initialize and tear down ggc_allocated_strings.
12131
12132 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
12133
12134 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
12135 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
12136 * rs6000.c (expand_block_move): Match movstrsi_?reg register
12137 changes.
12138
12139 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
12140
12141 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
12142 (sched_reg_live_length, sched_reg_basic_block): Delete.
12143 (current_block_num, bb_live_regs, old_live_regs): Delete.
12144 (dead_notes, struct sometimes): Delete.
12145 (sched_note_set, birthing_insn_p): Delete.
12146 (adjust_priority): Gut useless reg lifetime code.
12147 (create_reg_dead_note, attach_deaths): Delete.
12148 (attach_deaths_insn, new_sometimes_live): Delete.
12149 (finish_sometimes_live): Delete.
12150 (find_pre_sched_live, find_post_sched_live): Delete.
12151 (update_reg_usage): Delete.
12152 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
12153 (schedule_insns): Delete reg lifetime code.
12154 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
12155 (unlink_other_notes): Adjust REG_NOTE commentary.
12156 (reemit_notes): Use REG_SAVE_NOTE.
12157 (schedule_block): Likewise.
12158 (schedule_region): Allocate bitmap of blocks in region. Use
12159 count_or_remove_death_notes. Use update_life_info.
12160
12161 * rtl.h (REG_SAVE_NOTE): New.
12162 * rtl.c (reg_note_name): Update.
12163
12164 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
12165
12166 * combine.c (refresh_blocks, need_refresh): New.
12167 (combine_instructions): Allocate refresh_blocks. Invoke
12168 update_life_info if needed.
12169 (distribute_notes): Mark refresh_blocks instead of installing
12170 USE insns.
12171 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
12172 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
12173
12174 * Makefile.in (recog.o): Depend on basic-block.h.
12175
12176 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
12177
12178 * genrecog.c (add_to_sequence): Thinko last change: delete
12179 shadowing allow_const_int variable.
12180
12181 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12182
12183 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
12184 __GNUC__ and __GNUC_MINOR__.
12185
12186 * gansidecl.h: Likewise.
12187
12188 * rtl.c: Likewise.
12189
12190 * rtl.h: Likewise.
12191
12192 * toplev.h: Likewise.
12193
12194 * tree.c: Likewise.
12195
12196 * tree.h: Likewise.
12197
12198 * varray.c: Likewise.
12199
12200 * varray.h: Likewise.
12201
12202 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12203
12204 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
12205 use one before a jump table.
12206
12207 * rtl.def (ADDRESS): Change documentation to match reality.
12208 * md.texi: Don't document it.
12209 * gmicro.md (load address pattern): Use 'p' constraint, delete use
12210 of ADDRESS rtx.
12211
12212 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
12213
12214 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
12215
12216 * genrecog.c (add_to_sequence): Move allow_const_int test outside
12217 known predicate block; default allow_const_int true.
12218 (debug_decision_list): New.
12219
12220 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
12221
12222 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
12223
12224 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
12225
12226 * gcse.c (gcse_main): Avoid global optimizations if we have a
12227 large number of basic blocks and the ratio of edges to blocks
12228 is high.
12229 (delete_null_pointer_checks): Likewise.
12230
12231 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
12232
12233 * c-common.c (check_format_info): Warn if format string isn't a
12234 string literal.
12235
12236 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
12237
12238 * configure.in (arm*-*-*): Don't let autoconf remove brackets
12239 * configure: regenerate
12240
12241 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
12242
12243 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
12244 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
12245 (peepholes): Re-enable.
12246
12247 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
12248
12249 * Makefile.in (flow.o): Depend on TREE_H.
12250 * basic-block.h (REG_SET_EQUAL_P): New.
12251 (XOR_REG_SET): New.
12252 (n_edges): Declare.
12253 (free_regset_vector): Remove declaration.
12254 (flow_delete_insn_chain): Declare.
12255 (enum update_life_extent): New.
12256 (update_life_info, count_or_remove_death_notes): Declare.
12257 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
12258 Verify register live at bb->global_live_at_start before adding USE.
12259 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
12260 (CLEAN_ALLOCA): New.
12261 (n_edges): New.
12262 (PROP_*): New flags.
12263 (find_basic_blocks_1): Use alloc_EXPR_LIST.
12264 (clear_edges): Zero n_edges.
12265 (make_edge): Increment n_edges.
12266 (split_edge): Don't allocate bb->local_set. Increment n_edges.
12267 (flow_delete_insn_chain): Export.
12268 (delete_block): Decrement n_edges.
12269 (merge_blocks_nomove): Likewise.
12270 (life_analysis): Give life_analysis_1 PROP flags.
12271 (verify_wide_reg_1, verify_wide_reg): New.
12272 (verify_local_live_at_start): New.
12273 (update_life_info): Rewrite to call into propogate_block.
12274 (mark_reg): New.
12275 (mark_regs_live_at_end): After reload, if epilogue as rtl,
12276 always mark stack pointer. Conditionally mark PIC register.
12277 After reload, mark call-saved registers, return regsiters.
12278 (life_analysis_1): Accept PROP flags not remove_dead_code.
12279 Call mark_regs_live_at_end before zeroing regs_ever_live.
12280 Use calculate_global_regs_live. Copy global_live_at_end before
12281 calling final propagate_block. Zero reg_next_use on exit.
12282 (calculate_global_regs_live): New.
12283 (allocate_bb_life_data): Don't allocate bb->local_set.
12284 (init_regset_vector, free_regset_vector): Remove.
12285 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
12286 Test flags before every operation. Warn if prologue/epilogue insn
12287 would have been deleted.
12288 (mark_set_regs, mark_set_1): Accept and use FLAGS.
12289 Use alloc_EXPR_LIST.
12290 (mark_used_regs): Accept and use FLAGS, not FINAL.
12291 Remove special handling for RETURN.
12292 (try_pre_increment): Use alloc_EXPR_LIST.
12293 (dump_flow_info): Dump n_edges.
12294 (unlink_insn_chain, split_hard_reg_notes): Remove.
12295 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
12296 (find_insn_with_note, new_insn_dead_notes): Remove.
12297 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
12298 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
12299 (replace_insns): Remove.
12300 (count_or_remove_death_notes): New.
12301 (verify_flow_info): Abort on error after all checks.
12302 (remove_edge): Decrement n_edges.
12303 (remove_fake_edges): Tweek format.
12304 * haifa-sched.c (schedule_insns): Use split_all_insns.
12305 * output.h (update_life_info): Remove declaration.
12306 * recog.c (split_all_insns): From the corpse of split_block_insns,
12307 do the whole function block by block. Use update_life_info.
12308 (recog_last_allowed_insn): New.
12309 (recog_next_insn): Mind it.
12310 (peephole2_optimize): Set it. Walk backwards through blocks.
12311 Use update_life_info.
12312 * rtl.h (update_flow_info, replace_insns): Remove declarations.
12313 (split_all_insns): Declare.
12314 * toplev.c (rest_of_compilation): Thread prologue before flow2.
12315 Use split_all_insns.
12316
12317 * i386.md (or -1 peep2s): Disable.
12318
12319 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
12320
12321 * config/mips/mips.md (movstrsi+[123]) : Combine these into
12322 a single pattern. Scrap the 'd' versions as unnecessary.
12323
12324 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
12325 tablejump_mips162,tablejump_internal4): The operands to a
12326 label_ref must be VOIDmode.
12327
12328 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12329
12330 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
12331
12332 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
12333
12334 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
12335
12336 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
12337
12338 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
12339 cache every function if ggc_p.
12340
12341 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12342
12343 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
12344 instead of copy_rtx. Accept sequences that contain asm statements.
12345 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
12346 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
12347 orig_asm_operands_vector, copy_asm_operands_vector,
12348 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
12349 variables.
12350 * rtl.h (copy_insn, copy_insn_1): Declare.
12351
12352 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12353
12354 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
12355
12356 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
12357 arguments to `current_file_function_operand'.
12358
12359 * genrecog.c: Include hard-reg-set.h and resource.h in the
12360 generated output file.
12361
12362 * real.c: Include tm_p.h.
12363
12364 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12365
12366 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
12367 output operand.
12368
12369 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
12370
12371 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
12372 before the fctiwz insn.
12373
12374 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12375 Mark Mitchell <mark@codesourcery.com>
12376
12377 * tree.c (make_lang_type_fn): New funtion pointer.
12378 (make_lang_type): Call it.
12379 * tree.h (make_lang_type): Declare.
12380 (make_lang_type_fn): Likewise.
12381 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
12382
12383 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
12384
12385 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
12386 make sure that HIGH instructions are copied into BASE_REGS.
12387
12388 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
12389
12390 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
12391
12392 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
12393
12394 * c-decl.c (finish_struct): Use simpler method of
12395 removing elements of a singly-linked list.
12396
12397 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
12398
12399 * alpha.md (peephole2's): Comment out peephole2's that generate
12400 buggy code.
12401
12402 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
12403
12404 * genrecog.c (add_to_sequence): Disable mode check for
12405 wildcard matches.
12406
12407 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12408
12409 * ggc-simple.c (init_ggc): Set empty_string.
12410
12411 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
12412
12413 * configure.in: Detect mmap. Add --with-gc=foo to select
12414 garbage collector; default to page if mmap available.
12415 * Makefile.in (GGC): Substitute.
12416
12417 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
12418
12419 * c-decl.c (ggc_p): Enable.
12420
12421 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12422
12423 * flow.c (verify_flow_info): Make it extern & unconditionally define.
12424
12425 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
12426
12427 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
12428 string for little-endian-data.
12429
12430 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
12431
12432 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
12433 case somebody tries to compile --enable-checking code with gcc
12434 1.34 or such.
12435
12436 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
12437
12438 * genrecog.c (add_to_sequence): Verify operand to label_ref is
12439 VOIDmode.
12440
12441 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
12442
12443 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
12444 * jump.c (jump_optimize_1): Document why.
12445
12446 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12447
12448 * collect2.c (scan_prog_file, scan_libraries): Prototype function
12449 pointers and casts for `int_handler' and `quit_handler'.
12450
12451 * flow.c (verify_flow_info, split_hard_reg_notes,
12452 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
12453 remove_edge, remove_fake_successors): Add static prototypes.
12454 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
12455 (mark_set_1): Initialize variable `regno'.
12456 (unlink_insn_chain): Likewise for variable `curr'.
12457 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
12458
12459 * loop.c (strength_reduce): Initialize variable
12460 `unrolled_insn_copies'.
12461 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
12462 prototypes. Change these functions to take const PTR parameters
12463 to avoid prototype conflict when used as the comparson argument
12464 for qsort.
12465 (check_dbra_loop): Initialize variable `comparison_val'.
12466
12467 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
12468 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
12469 (find_valid_class): Initialize variable `best_class'.
12470 (find_reloads): Call memcpy, not bcopy.
12471
12472 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
12473 (hard_reg_use_compare): Don't needlessly cast away const.
12474 (reload_reg_class_lower): Likewise.
12475 (choose_reload_regs): Initialize variable `regno'.
12476
12477 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
12478
12479 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
12480
12481 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
12482
12483 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
12484 ({,d}discard): Add forward declarations. Declare parameter as
12485 unused.
12486 (main_without_main): Explicitly declare return type to be int.
12487 (memcpy): Properly declare.
12488
12489 * libgcc2.c (toplevel): If inhibit_libc is defined and not
12490 building the trampoline support, declare malloc, free, and
12491 atexit.
12492 (__clear_cache): Mark arguments as potentially unused.
12493
12494 * frame.c (toplevel): If inhibit_libc is defined, declare
12495 malloc and free.
12496
12497 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
12498
12499 * flow.c (make_edge): Accept an optional 2D bitmap in which
12500 to cache edge existence. Update all callers.
12501 (make_label_edge, make_eh_edge): Pass through the edge cache.
12502 (make_edges): Provide the cache.
12503
12504 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12505
12506 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
12507 a char*.
12508 (local_mbtowc): Change the type of variable `i' from int to size_t.
12509
12510 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
12511 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
12512
12513 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
12514
12515 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
12516 after other includes that define the appropriate types. Include
12517 tm_p.h for getting user prototypes.
12518 * ggc-callbacks.c (toplevel): Ditto.
12519 * ggc-none.c (toplevel): Ditto.
12520 * gcc-page.c (toplevel): Ditto.
12521 * ggc-simple.c (toplevel): Ditto.
12522
12523 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
12524 Jonathan Larmour <jlarmour@cygnus.co.uk>
12525
12526 * config/mips/mips.c (mips_move_2words): Split doubles if
12527 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
12528
12529 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
12530
12531 * genrecog.c (struct decision_test): New.
12532 (struct decision): Remove test-related members, sort the rest by size.
12533 (IS_SPLIT): Simplify.
12534 (new_decision, new_decision_test): New.
12535 (add_to_sequence): Use them. No special handling for args of
12536 non-MATCH codes.
12537 (maybe_both_true): Renamed from not_both_true; return sense changed.
12538 (maybe_both_true_1, maybe_both_true_2): New. Broken out
12539 of maybe_both_true and adjusted for decision_test.
12540 (position_merit): Remove.
12541 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
12542 (merge_accept_insn): New, broken out of merge_trees.
12543 (merge_trees): Use them. No special case for c_test; no node
12544 splitting; use test type instead of position_merit.
12545 (factor_tests): New.
12546 (simplify_tests): New.
12547 (break_out_subroutines): Don't write code now.
12548 (find_afterward): New.
12549 (write_afterward, write_switch, write_cond): New.
12550 (write_action, is_unconditional): New.
12551 (write_node): New. Use them.
12552 (write_tree_1): Rewrite. Use the new functions above.
12553 (write_tree): Remove afterward processing.
12554 (write_subroutine): Simplify function variant emission.
12555 (write_subroutines): New.
12556 (same_codes, clear_codes): Remove.
12557 (same_modes, clear_modes): Remove.
12558 (write_header): New, broken out of main.
12559 (make_insn_sequence): Use new_decision and new_decision_test.
12560 (process_tree): New, broken out of main.
12561 (main): Adjust for merge_trees interface change.
12562 Don't #define operands in the output file.
12563 (record_insn_name): New, broken out of make_insn_sequence.
12564 (debug_decision_2, debug_decision_1, debug_decision_0): New.
12565 (debug_decision): New.
12566
12567 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
12568
12569 * resource.c (find_free_register): Mark class_str argument const.
12570 * resource.h: Update prototype to match.
12571
12572 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
12573 * i386.md: Give all anonymous insns names.
12574
12575 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
12576
12577 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
12578 blocks.
12579
12580 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
12581
12582 * toplev.c (dbr_sched_time): Unconditional.
12583 (peephole2_time): New.
12584 (compile_file): Add pass numbers to all of the dump file suffixes.
12585 Dump peephole2_time. Don't dump times for non-applicable passes.
12586 (rest_of_compilation): Add pass numbers to dump file suffixes.
12587 Conditionalize calls to the scheduler.
12588 * invoke.texi: Update.
12589
12590 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
12591
12592 * flow.c (make_edges): Fix insn iteration.
12593 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
12594 (find_basic_blocks_1): Fix spelling mistake.
12595
12596 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
12597
12598 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
12599 always have side-effects. Use memset not bzero.
12600 (make_node): Likewise.
12601
12602 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
12603
12604 * stmt.c (expand_anon_union_decl): When any of the elements of the
12605 union is addressable, so is the entire union.
12606
12607 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
12608
12609 * sbitmap.c (sbitmap_ones): Don't set too many bits.
12610
12611 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
12612 * bitmap.c (bitmap_operation): Return true iff TO changed.
12613 (bitmap_equal_p): New.
12614 (bitmap_bit_p): Tidy arithmetic.
12615 (debug_bitmap_file): Likewise.
12616
12617 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
12618
12619 * toplev.c (rest_of_compilation): Turn on cse_not_expected
12620 before cse2 instead of after.
12621
12622 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
12623
12624 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
12625 register offsets.
12626
12627 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12628
12629 * cppinit.c (is_idchar initializer): Loosen tests to accept
12630 gcc 2.>6 and >2.
12631
12632 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
12633
12634 * mips.md: Define conditional move patterns for floating point
12635 operands and DI mode conditions.
12636
12637 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
12638
12639 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
12640 always have side-effects.
12641
12642 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
12643
12644 * mn10200.c (asm_file_start): Fix typo.
12645
12646 * cppinit.c (is_idchar initializer): Tighten tests for when
12647 to put the table into initialized memory.
12648
12649 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
12650 not an array of rtunion.
12651 * gcc-page.c (ggc_alloc_rtvec): Similarly.
12652 * gcc-simple (ggc_free_rtvec): Similarly.
12653
12654 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
12655 of rtunions.
12656
12657 * mbchar.h: Add missing #endif.
12658
12659 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
12660 (FPBIT, DPBIT): Define.
12661
12662 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12663
12664 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
12665
12666 * profile.c (instrument_arcs, output_gcov_string,
12667 tablejump_entry_p): Add static prototypes.
12668 (output_gcov_string): Constify a char*.
12669
12670 * regmove.c (replacement_quality, fixup_match_2): Add static
12671 prototypes.
12672
12673 * resource.h (reg_dead_p): Add extern prototype.
12674
12675 * rtl.c (trim_filename): Add static prototype.
12676
12677 * scan-decls.c (skip_to_closing_brace): Likewise.
12678
12679 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
12680 (expand_end_case): Initialize variable `range'.
12681 (emit_case_nodes): Remove unused prototype `rtx_fn'.
12682
12683 * varasm.c (asm_emit_uninitialised): Add static prototype.
12684 (asm_emit_uninitialised, assemble_variable): Mark parameter with
12685 ATTRIBUTE_UNUSED.
12686
12687 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12688
12689 * cpplib.c (if_directive_nameo): Add static prototype.
12690
12691 * cse.c (cse_insn): Remove unused variable `p'.
12692
12693 * except.c (create_rethrow_ref, push_entry,
12694 receive_exception_label, new_eh_region_entry, find_func_region,
12695 clear_function_eh_region, process_nestinfo): Add static prototypes.
12696 (get_reg_for_handler): Hide definition.
12697 (process_nestinfo): Initialize variable `extra_handlers'.
12698
12699 * expr.h (expand_builtin_longjmp): Add extern prototype.
12700
12701 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
12702
12703 * function.c (prepare_function_start): Likewise.
12704 (pop_function_context_from): Mark parameter `context' with
12705 ATTRIBUTE_UNUSED.
12706 (push_temp_slots_for_block, flush_addressof): Hide definition.
12707
12708 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
12709 solve_program_flow_graph, calculate_branch_probs,
12710 function_summary, main, fancy_abort): Add prototypes.
12711
12712 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
12713 (add_hash): Constify a char*.
12714
12715 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
12716 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
12717 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
12718
12719 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
12720
12721 * lists.c (free_list, zap_lists): Likewise.
12722
12723 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12724
12725 * alias.c (nonlocal_reference_p): Add static prototype.
12726
12727 * bitmap.c (bitmap_element_allocate): Prototype args in function
12728 pointer cast.
12729
12730 * builtins.c (stabilize_va_list): Add static prototype.
12731 (expand_builtin_va_arg): Constify a char*.
12732
12733 * c-lex.c (getch, put_back, extend_token_buffer_to,
12734 read_line_number, token_getch, token_put_back): Add static
12735 prototypes.
12736
12737 * c-parse.gperf (hash, is_reserved_word): Likewise.
12738
12739 * cccp.c (is_dir_separator): Likewise.
12740
12741 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12742
12743 * graph.h: New file to prototype functions exported by graph.c.
12744
12745 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
12746
12747 * graph.c: Include graph.h.
12748
12749 * toplev.c: Likewise. Remove redundant prototypes.
12750
12751 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
12752
12753 * invoke.texi: Removed duplicated description for -Q.
12754
12755 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
12756
12757 * extend.texi: Grammar fix in __extension__ text.
12758
12759 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
12760
12761 * md.texi (define_peephole2): New section.
12762
12763 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
12764
12765 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
12766 (mov $-1 to or peepholer): Enable for pentium when optimizing for
12767 speed.
12768
12769 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
12770
12771 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
12772
12773 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
12774
12775 * i386.md (ffs expander): Emit Pentium friendly code for
12776 TARGET_PENTIUM.
12777
12778 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
12779
12780 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
12781 for non-trees.
12782 (build1): Likewise.
12783
12784 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12785
12786 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
12787
12788 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
12789
12790 * config/m68k/m68k.c (use_return_insn): Return false if the pic
12791 register is in use.
12792
12793 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12794
12795 * md.texi (No Constraints): Delete section.
12796 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
12797 * final.c (final_scan_insn): We always have register constraints.
12798 * genattrtab.c: Don't include "insn-config.h".
12799 (write_attr_case): We always have register constraints.
12800 * genconfig.c (register_constraint_flag): Delete.
12801 (walk_insn_part): Don't check whether we have register constraints.
12802 (main): Don't write out "#define REGISTER_CONSTRAINTS".
12803 * genoutput.c (have_constraints): Delete.
12804 (main): Don't set it.
12805 (output_operand_data): We always have constraints.
12806 (scan_operands): Likewise.
12807 (compare_operands): Likewise.
12808 * local-alloc.c (block_alloc): We always have constraints.
12809 (requires_inout): Always compile this function.
12810 * recog.c (extract_insn): We always have constraints.
12811 (constrain_operands, reg_fits_class_p): Always compile these
12812 functions.
12813 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
12814 fields.
12815 (struct insn_operand_data): Likewise.
12816 * regclass.c (regclass): We always have constraints.
12817 (record_reg_classes, copy_cost, record_address_regs,
12818 auto_inc_dec_reg_p): Always compile these functions.
12819 * regmove.c (regmove_optimize): We always have constraints.
12820 * reload.c (find_reloads): Likewise.
12821 * reload1.c (reload): Likewise.
12822 (reload_cse_simplify_operands): Likewise.
12823 * i860.c (output_delay_insn): Likewise.
12824
12825 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
12826
12827 * iris6.h (BUILD_VA_LIST_TYPE): Define.
12828
12829 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12830
12831 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
12832 for the va_list record.
12833
12834 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
12835
12836 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
12837 prologues.
12838
12839 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
12840
12841 * alias.c: Include insn-flags.h.
12842 * Makefile.in (alias.o): Update.
12843
12844 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
12845
12846 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
12847 to LTU and GEU. Handle more cases using sbb.
12848
12849 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
12850
12851 * i386.md (truncatexfdf splitters): Do not use subreg.
12852 (fop XFmode patterns): Fix mode in operand testing.
12853
12854 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
12855
12856 * jump.c (jump_optimize_1): Amend last change to test only the
12857 form of the operand, not the insn.
12858
12859 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
12860 not register_operand to determine when B may need preloading.
12861
12862 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
12863
12864 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
12865 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
12866 (call-value patterns): Move to end of file.
12867 (*): Remove mode from label_ref in (pc) context.
12868 (movstrqi): Use memory not general_operand for BLKmode operands.
12869 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
12870 to register_operand operands.
12871 (peep2 patterns): Convert from commented-out peephole patterns.
12872
12873 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12874
12875 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
12876 to BUILT_IN_INIT_DWARF_REG_SIZES.
12877 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
12878 Renamed from BUILT_IN_DWARF_REG_SIZE; call
12879 expand_builtin_init_dwarf_reg_sizes.
12880 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
12881 with __builtin_init_dwarf_reg_size_table.
12882 * dwarf2out.c (struct reg_size_range): Delete.
12883 (expand_builtin_init_dwarf_reg_sizes): New function.
12884 (expand_builtin_dwarf_reg_size): Delete.
12885 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
12886 (expand_builtin_dwarf_reg_size): Don't declare.
12887 * libgcc2.c (dwarf_reg_size_table_initialized): New.
12888 (dwarf_reg_size_table): New.
12889 (init_reg_size_table): New function.
12890 (copy_reg): Use dwarf_reg_size_table.
12891 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
12892 before use.
12893
12894 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
12895
12896 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
12897 Correctly build argument list to constructor and destructor functions.
12898
12899 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
12900
12901 * c-tree.h (warn_float_equal): Declare.
12902 * c-decl.c (warn_float_equal): Define.
12903 (c_decode_option): Recognize -W[no-]float-equal.
12904 * c-typeck.c (build_binary_op): Conditionally warn
12905 about equality tests of floating point types.
12906 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
12907 * invoke.texi: Add docs for -Wfloat-equal warning.
12908
12909 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
12910
12911 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
12912 generating RTL directly.
12913 * mips.h (INIT_TARGET_OPTABS): Likewise.
12914 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
12915
12916 * expr.h (init_mov_optab): Delete declaration
12917
12918 * h8300.c (WORD_REG_USED): Update to avoid useless register
12919 saves in interrupt functions and functions which never return.
12920
12921 * cse.c (struct set): Delete inner_dest_loc field.
12922 (cse_insn): Remove assignments to inner_dest_loc field.
12923
12924 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
12925
12926 * ggc-page.c: Don't include <unistd.h> etc taken care of
12927 by "system.h". Include <sys/mman.h> afterward.
12928
12929 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
12930
12931 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
12932 ggc_alloc_string.
12933
12934 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
12935
12936 * xcoffout.c (xcoffout_declare_function): Add documentation.
12937 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
12938 TARGET_64BIT. Compare constant to -1, not bit pattern.
12939 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
12940 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
12941 gen_movsi typos.
12942
12943 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
12944
12945 * dwarf2out.c (add_abstract_origin_attribute): Abort if
12946 origin_die is NULL.
12947 (gen_inlined_enumeration_type_die): Do not abort if the type has
12948 not been writeen out.
12949 (gen_inlined_structure_type_die): Do not abort if the type has
12950 not been writeen out.
12951 (gen_inlined_union_type_die): Do not abort if the type has
12952 not been writeen out.
12953 (gen_tagged_type_instantiation_die): Do not abort if the type
12954 has not been written out.
12955
12956 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12957
12958 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
12959 call it.
12960 * reg-stack.c (straighten_stack): Copy hard reg set with
12961 COPY_HARD_REG_SET.
12962
12963 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
12964
12965 * builtins.c (stabilize_va_list): Stabilize array type va_list
12966 to a pointer type, not the base record type.
12967 (expand_builtin_va_copy): Dereference the pointers explicitly;
12968 use the correct size for the copy.
12969
12970 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
12971 (rs6000_va_arg): Likewise.
12972
12973 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
12974
12975 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
12976
12977 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
12978
12979 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
12980 field.
12981 (DECL_BUILT_IN_CLASS): Adjust accordingly.
12982
12983 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
12984
12985 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
12986 (init_ggc): Use it instead of a constant.
12987 (ggc_collect): Bound allocated_last_gc by it.
12988
12989 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
12990
12991 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
12992 with va_list.
12993
12994 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
12995
12996 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
12997 (mips*-*-openbsd*): Let big endian configuration be a fragment.
12998 * configure: Regen.
12999 * config/mips/openbsd.h: New, OpenBSD little endian target.
13000 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
13001 * config/mips/xm-openbsd.h: New, OpenBSD host.
13002
13003 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
13004
13005 * config/m68k/m68k.c (output_function_prologue,
13006 output_function_epilogue): Use
13007 current_function_uses_pic_offset_table instead of regs_ever_live
13008 to decide whether to save/restore pic register.
13009 (legitimize_pic_address): Don't modify regs_ever_live any more.
13010
13011 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
13012
13013 * function.h (struct function): Add x_dont_save_pending_sizes_p.
13014 * stor-layout.c (variable_size): Don't add sizes to the pending
13015 sizes list if x_dont_save_pending_sizes_p is set.
13016
13017 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
13018
13019 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
13020 for symbolic_operand().
13021 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
13022
13023 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13024
13025 * combine.c (gen_rtx_combine): Add missing call to va_end().
13026
13027 * final.c (asm_fprintf): Likewise.
13028
13029 * genattrtab.c (attr_rtx): Likewise.
13030
13031 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
13032
13033 * cse.c: Update comments.
13034 (cse_insn): When converting a conditional/computed jump into
13035 an unconditional jump, always make sure a BARRIER immediately
13036 follows the converted jump. Do not delete unreachable code.
13037 (cse_basic_block): Do not delete unreachable code.
13038 * toplev.c (rest_of_compilation): Move call to
13039 delete_trivially_dead_insns after the conditional call to
13040 jump_optimize.
13041
13042 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13043
13044 * collect2.c (make_temp_file): Don't prototype.
13045
13046 * gcc.c (make_temp_file): Likewise.
13047
13048 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
13049
13050 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
13051
13052 * varasm.c (asm_emit_uninitialised): New function: Generate
13053 the assembler statements necessary to declare an uninitialised
13054 variable.
13055 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
13056 variable.
13057 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
13058 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
13059 section.
13060 (assemble_variable): Use asm_emit_uninitialised to emit an
13061 uninitialised variable.
13062
13063 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
13064
13065 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
13066 constant on a 64 bit host. Patch supplied by Geoffrey Keating
13067 <geoffk@cygnus.com>.
13068
13069 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13070
13071 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
13072 * c-common.h (builtin_function): Don't declare.
13073
13074 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
13075 DECL_BUILT_IN.
13076 (pushdecl): Likewise.
13077 (finish_decl): Likewise.
13078 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
13079 int. All callers changed.
13080 Set the builtin's DECL_BUILT_IN_CLASS.
13081 * tree.h (enum built_in_class): New.
13082 (enum built_in_function): Delete NOT_BUILT_IN.
13083 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
13084 in a union.
13085 (DECL_SET_FUNCTION_CODE): Likewise.
13086 (DECL_BUILT_IN_CLASS): New macro.
13087 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
13088 (struct tree_decl): Split builtin function code field into a
13089 struct.
13090 (builtin_function): Declare.
13091
13092 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
13093
13094 * optabs.c (init_traps): Fix typo in last change.
13095
13096 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
13097
13098 * toplev.c (rest_of_decl_compilation): Update comment.
13099
13100 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
13101
13102 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
13103 in .sbss if appropriate.
13104 (EXTRA_SECTION_FUNCTIONS): Add sbss.
13105 (SBSS_SECTION_ASM_OP): New macro.
13106 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
13107 (EXTRA_SECTIONS): Add in_sbss.
13108 * config/mips/mips.h: Prototype sbss_section.
13109
13110 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
13111
13112 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
13113 to disappear.
13114
13115 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
13116
13117 * optabs.c (init_traps): Register trap_rtx as a GC root.
13118
13119 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13120
13121 * config/mips/mips.c (function_arg_pass_by_reference): Define
13122 unconditionally, since it's called unconditionally.
13123
13124 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
13125
13126 * toplev.c (documented_lang_options): Add -fshort-wchar.
13127 * c-decl.c (c_decode_option): Likewise.
13128 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
13129 for wchar_t.
13130 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
13131 * gcc.c (default_compilers): If -fshort-wchar,
13132 override __WCHAR_TYPE__.
13133 * tm.texi (C Dialect Options): Add -fshort-wchar.
13134
13135 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
13136 symbol for a variable.
13137
13138 * cpplib.h (CPP_PREPROCESSED): New macro.
13139 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
13140 we're seeing this input for a second time.
13141
13142 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
13143
13144 * emit-rtl.c (init_emit_once): Initialize modes first.
13145
13146 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
13147
13148 * config/i386/i386.c (pic_label_name): Change to char pointer.
13149 (global_offset_table): New variable.
13150 (load_pic_register): Fill global_offset_table if it hasn't
13151 already been done. Allocate pic_label_name dynamically.
13152 * ggc.h (empty_string): New variable.
13153 * ggc-simple.c (empty_string): Likewise.
13154 (init_ggc): Allocate empty_string and add as root.
13155 * stmt.c (digit_strings): New variable.
13156 (init_stmt): Add last_block_end_note as root. Allocate and
13157 initialize digit_strings.
13158 (expand_asm_operands): Use empty_string instead of string
13159 constant. Use digit_strings instead of string constants.
13160 * profile.c (init_arc_profiler): Allocate string with
13161 ggc_alloc_string instead of xmalloc.
13162 (output_func_start_profiler): Likewise.
13163 * c-typeck.c (digest_init): Check if init is error_mark_node.
13164
13165 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
13166 Richard Henderson <rth@cygnus.com>
13167
13168 * ggc-page.c: New file.
13169 * Makefile.in (ggc-page.o): New.
13170
13171 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
13172
13173 * invoke.texi: Document -fdelete-null-pointer-checks
13174 * toplev.c (flag_delete_null_pointer_checks): New.
13175 (f_options): Add entry for -fdelete-null-pointer-checks.
13176 (rest_of_compilation): Conditionalize null pointer check
13177 elimination on flag_delete_null_pointer_checks.
13178 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
13179
13180 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
13181
13182 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
13183 copyright notice and special exception to GPL.
13184
13185 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13186
13187 * abi64.h (mips_function_value): Add prototype arguments.
13188
13189 * mips-protos.h: New file with mips prototypes.
13190
13191 * mips.c: Include "tm_p.h".
13192 (mktemp, lookup_name): Add prototype arguments.
13193 (extern_list, string_constant, mips_fill_delay_slot,
13194 mips_output_external, mips_output_external_libcall,
13195 mips_output_filename, mips_declare_object, function_prologue,
13196 mips_expand_prologue, function_epilogue, mips16_constant,
13197 build_mips16_function_stub, mips_output_conditional_branch):
13198 Constify a char*.
13199 (mips_va_start): Remove unused variable `u'.
13200 (mips_va_arg): Cast value to unsigned when comparing against one.
13201 (trace): Delete.
13202 (save_restore_insns, mips_expand_prologue): Add missing arg in
13203 call to `large_int'.
13204
13205 * mips.h: Move prototypes to mips-protos.h.
13206 (data_section, memory_address_p, rdata_section,
13207 readonly_data_section, simple_epilogue_p, text_section): Delete
13208 prototypes delcared elsewhere.
13209 (mips_epilogue_delay_slots, print_options): Delete unused decls.
13210 (trace): Delete.
13211 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
13212
13213 * mips.md: Delete extra args in call to `mips_move_2words'.
13214
13215 * xm-iris6.h (alloca): Add prototype argument.
13216
13217 * genpeep.c: Include "tm_p.h" in generated output file.
13218
13219 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13220
13221 * basic-block.h (find_edge_index): Change parameters.
13222 * flow.c (verify_edge_list): Pass basic_block parameters to
13223 find_edge_index instead of integers.
13224
13225 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
13226
13227 * combine.c (simplify_comparison): Use an unsigned shift to adjust
13228 the constant.
13229
13230 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
13231
13232 * gcc.1: Fix a formatting error.
13233
13234 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13235
13236 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
13237 i786, mn10200, mn10300, pdp11, v850.
13238
13239 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
13240
13241 * libgcc2.c (num_digits): Add prototype with
13242 __attribute__((const)).
13243 (__terminate): Add prototype.
13244
13245 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
13246
13247 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
13248
13249 * alpha/alpha.c (print_operand): Fix type of `code'.
13250 (alpha_output_filename): Constify.
13251 * alpha/alpha.h: Move all function declarations ...
13252 * alpha/alpha-protos.h: ... here. New file.
13253 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
13254 (SECTION_FUNCTION_TEMPLATE): Likewise.
13255
13256 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13257
13258 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
13259 * expr.c (expand_expr): Likewise.
13260 (do_jump): Likewise.
13261 (do_store_flag): Pass ccp_store_flag to can_compare_p.
13262 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
13263 accessor macros.
13264 (enum can_compare_purpose): New.
13265 (can_compare_p): Adjust prototype.
13266 (prepare_cmp_insn, prepare_operand): Declare.
13267 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
13268 * optabs.c (cmp_available_p): Deleted.
13269 (expand_abs): Pass ccp_jump to can_compare_p.
13270 (can_compare_p): New arg PURPOSE. Check for combined optabs.
13271 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
13272 Call can_compare_p rather than cmp_available_p.
13273 (prepare_operand): No longer static.
13274 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
13275 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
13276 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
13277 sequence to use emit_cmp_and_jump_insns.
13278 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
13279
13280 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
13281
13282 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
13283 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
13284 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
13285 (plus (reg) (const_int 0))
13286 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
13287
13288 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
13289
13290 * rs6000.c (expand_block_move): DImode loads and stores require
13291 word-aligned displacements. Increment address registers with
13292 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
13293
13294 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
13295
13296 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
13297 is no name for the base type, rather than segfault. If we are
13298 writing out a complex integer type, use DW_ATE_lo_user.
13299
13300 * expr.c (emit_move_insn_1): If we are copying a complex that fits
13301 in one word or less (complex char, complex short, or on 64 bit
13302 systems complex float) to/from a hard register, copy it through
13303 memory instead of dying in gen_{real,imag}part. If we have a
13304 short complex type, prevent inlining since it allocates stack
13305 memory.
13306
13307 * tree.c (build_complex_type): If we are writing dwarf2 output,
13308 generate a name for complex integer types.
13309
13310 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13311
13312 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
13313 * flow.c (remove_edge): Remove extra whitespace.
13314 (remove_fake_edges): Fix comment.
13315 (add_noreturn_fake_exit_edges): Use the correct name.
13316
13317 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
13318
13319 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
13320 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
13321 (clean): Depend on INTL_CLEAN.
13322 (maintainer-clean): Adjust.
13323
13324 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13325
13326 * configure.in (AC_PREREQ): Bump to 2.13.
13327 (AC_C_STRINGIZE): Call this instead of using a custom macro.
13328
13329 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
13330
13331 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
13332
13333 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
13334
13335 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
13336 (HAVE_STRINGIZE): Define.
13337
13338 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
13339
13340 * c-parse.in: save and restore warn_pointer_arith on __extension__
13341 along with pedantic.
13342 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
13343 Set the type of extension to itype rather than $<itype>1 kludge.
13344 * extend.texi (Alternate Keywords): Adjust documentation.
13345 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
13346
13347 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
13348
13349 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
13350 most assembler templates.
13351
13352 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
13353 FP loads and stores.
13354 (following_call): Always return zero for the PA8000.
13355 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
13356 FP loads and stores.
13357 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
13358
13359 * pa.h (BRANCH_COST): Define.
13360
13361 * pa.md (return, return_internal): Use bve for PA2.0.
13362
13363 * pa.md (fused multiply): Add variants which reduce height for the
13364 fused multiply, but which still generate 2 insns.
13365 (fnegabs): Similarly.
13366
13367 * pa.md (subsi3): Turn into an expander. Create two anonymous
13368 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
13369 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
13370
13371 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
13372 for TARGET_PA_20.
13373 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
13374 code generation.
13375 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
13376 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
13377
13378 * regclass.c (init_regs): Add "top_of_stack" as a garbage
13379 collection root.
13380
13381 * flow.c (record_active_eh_regions): Terminate loop after finding
13382 the last insn in the last basic block.
13383
13384 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13385
13386 * config/c4x/c4x.md: Delete parallel instruction peepholes.
13387
13388 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13389
13390 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
13391
13392 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13393
13394 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
13395 splitting to not use output template.
13396
13397 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13398
13399 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
13400 * config/c4x/c4x.c (c4x_va_start): New function.
13401
13402 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
13403
13404 * genrecog.c (not_both_true): Handle correctly cases when called for
13405 tests with different positions in the insn.
13406
13407 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13408
13409 * machmode.h (HOST_PTR_PRINTF): Move from here ...
13410
13411 * system.h (HOST_PTR_PRINTF): ... to here.
13412
13413 * mips-tfile.c: Don't include machmode.h.
13414
13415 * Makefile.in (MACHMODE_H): New variable. Update to use it.
13416 (mips-tfile.o): Don't depend on machmode.h.
13417
13418 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13419
13420 * haifa-sched.c (sched_analyze): Rename local variable `region' to
13421 avoid conflicts with typedef struct `region' at the top level scope.
13422
13423 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
13424
13425 * basic-block.h (basic_block): Add eh_beg, eh_end.
13426 * flow.c (entry_exit_blocks): Update.
13427 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
13428 Call new functions.
13429 (find_basic_blocks_1): Don't record eh_list at each bb. Use
13430 lists.c functions to allocate insn lists.
13431 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
13432 edge creation ...
13433 (make_eh_edge): ... here. New.
13434 (move_stray_eh_region_notes): New.
13435 (record_active_eh_regions): New.
13436 (delete_unreachable_blocks): Split out block merging ...
13437 (try_merge_blocks): ... here. New.
13438 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
13439 Dump debugging data.
13440 (merge_blocks_move_successor_nojumps): Likewise.
13441 (merge_blocks): Use eh_beg+eh_end to validate block movement.
13442
13443 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13444
13445 * extend.texi (Bound member functions): Document unbound pmf
13446 conversion.
13447
13448 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13449
13450 * flow.c (split_edge): Handle insertion on a fallthrough edge which
13451 has the EXIT_BLOCK as a dest.
13452
13453 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13454
13455 * flow.c (remove_edge): New function to remove an edge from the
13456 flow graph.
13457 (remove_fake_successors): New function to remove fake successor edges.
13458 (remove_fake_edges): New function to remove all fake edges from the
13459 flow graph.
13460 (add_fake_exit_edges): New function to add fake edges from all blocks
13461 with no successors to the exit block.
13462 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
13463 prototypes for new functions.
13464
13465 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13466
13467 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
13468 Use Pmode to determine whether to output .dword or .word.
13469
13470 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
13471
13472 * tree.c (built_in_filename): New variable.
13473 (BUILT_IN_FILENAME): New macro.
13474 (init_tree_codes): Allocate built_in_filename.
13475 (make_node): Use built_in_filename instead of string constant.
13476
13477 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
13478
13479 * configure.in: Add fr30 target.
13480 * configure: Regenerate.
13481 * config/fr30: New directory.
13482 * config/fr30/crti.asm: New file.
13483 * config/fr30/fr30.c: New file.
13484 * config/fr30/crtn.asm: New file.
13485 * config/fr30/fr30.h: New file.
13486 * config/fr30/fr30.md: New file.
13487 * config/fr30/lib1funcs.asm: New file.
13488 * config/fr30/t-fr30: New file.
13489 * config/fr30/xm-fr30.h: New file.
13490
13491 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
13492
13493 * flow.c (merge_blocks_move_successor_nojumps): Delete the
13494 BARRIER at the end of the successor, not the BARRIER before
13495 the successor.
13496
13497 * pa.c (pa_add_gc_roots): Fix thinko in last change.
13498
13499 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
13500
13501 * stmt.c (any_pending_cleanups): Don't crash when
13502 current_function->stmt is unset.
13503
13504 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13505
13506 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
13507 other initializations that may use it for relative offsets.
13508
13509 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13510
13511 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
13512 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
13513 * config/i386/sol2dbg.h: Removed.
13514 * config/i386/sol2gas.h: New file, to enable gas work-around.
13515 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
13516 Don't use sol2dbg.h.
13517 * configure: Rebuilt.
13518
13519 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
13520
13521 * invoke.texi (-fthis-is-variable): Remove documentation.
13522
13523 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
13524
13525 * basic-block.h (compute_bb_for_insn): Declare.
13526 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
13527 to use; set size of basic_block_for_insn directly.
13528 (find_basic_blocks): Update.
13529
13530 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13531
13532 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
13533
13534 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13535
13536 * crtstuff.c (ON_EXIT): Delete empty macro definition.
13537 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
13538
13539 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
13540
13541 * c-decl.c (c_decode_option): Extend comment.
13542
13543 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
13544
13545 * toplev.c (progname): Make 'const char *'
13546 (flag_print_mem): Move out of main.
13547 (version_flag): Move out of main.
13548 (filename): Move out of main.
13549 (debug_args): Remove g prefix from options.
13550 (documented_lang_options): Remove cpplib specific options.
13551 (display_help): Add g prefix to debug options.
13552 (check_lang_option): Delete this function.
13553 (decode_d_option): New function: Decode -d... option.
13554 (decode_f_option): New function: Decode -f... option.
13555 (decode_W_option): New function: Decode -W... option.
13556 (decode_g_option): New function: Decode -g... option.
13557 (independent_decode_option): New function: Decode a language
13558 independent command line option.
13559 (main): Invoke lang_decode_option and then
13560 independent_decode_option on each command line option in
13561 turn.
13562
13563 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
13564
13565 Revert this change. Gavin's patch to operand_equal_p is a better fix.
13566 * fold-const.c (fold_range_test): Do not try to fold the range
13567 test if the rhs or lhs has side effects.
13568
13569 * basic-block.h (compute_flow_dominators): Declare.
13570
13571 * gcse.c (alloc_code_hoist_mem): New function.
13572 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
13573 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
13574 (hoist_code, one_code_hoisting_pass): Likewise.
13575 (gcse_main): If optimizing for size, then hoist expressions
13576 computed in multiple dominated basic blocks.
13577
13578 * gcse.c (invalid_nonnull_info): New function.
13579 (delete_null_pointer_checks): Likewise.
13580 * rtl.h (delete_null_pointer_checks): Declare.
13581 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
13582
13583 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
13584 (merge-blocks_move_successor_nojumps): Likewise.
13585 (merge_blocks): Allow merging of some blocks, even if it requires
13586 physical movement of the blocks, but not if it requires new jumps.
13587
13588 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
13589 Callers and prototype changed.
13590 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
13591
13592 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13593
13594 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
13595 -YP when both -p and -pg are present. From i386/sol2.h.
13596
13597 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13598
13599 * Makefile.in (distclean): Delete tm_p.h.
13600 * configure.in: Create a new file, "tm_p.h", from a list in
13601 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
13602 "i386/i386-protos.h".
13603
13604 * alias.c: Include "tm_p.h".
13605 * c-typeck.c: Likewise.
13606 * calls.c: Likewise.
13607 * cse.c: Likewise.
13608 * emit-rtl.c: Likewise.
13609 * explow.c: Likewise.
13610 * expmed.c: Likewise.
13611 * expr.c: Likewise.
13612 * final.c: Likewise.
13613 * flow.c: Likewise.
13614 * fold-const.c: Likewise.
13615 * function.c: Likewise.
13616 * gcse.c: Likewise.
13617 * global.c: Likewise.
13618 * haifa-sched.c: Likewise.
13619 * integrate.c: Likewise.
13620 * jump.c: Likewise.
13621 * local-alloc.c: Likewise.
13622 * loop.c: Likewise.
13623 * optabs.c: Likewise.
13624 * recog.c: Likewise.
13625 * reg-stack.c: Likewise.
13626 * regclass.c: Likewise.
13627 * regmove.c: Likewise.
13628 * reload.c: Likewise.
13629 * reload1.c: Likewise.
13630 * reorg.c: Likewise.
13631 * resource.c: Likewise.
13632 * stmt.c: Likewise.
13633 * stor-layout.c: Likewise.
13634 * toplev.c: Likewise.
13635 * tree.c: Likewise.
13636 * unroll.c: Likewise.
13637 * genattrtab.c (main): Make generated file include "tm_p.h".
13638 * genemit.c (main): Likewise.
13639 * genoutput.c (main): Likewise.
13640 * genrecog.c (main): Likewise.
13641
13642 * i386.h: Delete all prototypes.
13643 * i386.c: Include "tm_p.h".
13644 (ix86_attr_length_default): Call constant_call_address_operand
13645 with correct number of arguments.
13646 * i386-protos.h: New file.
13647 * i386.md (unnamed patterns): Call constant_call_address_operand
13648 with correct number of arguments.
13649 (exception_receiver): Call load_pic_register with correct number
13650 of arguments.
13651
13652 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
13653
13654 * c-pragma.c (mark_align_stack): Dereference the void* properly.
13655
13656 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
13657
13658 * rtl.h (insns_safe_to_move_p): New function.
13659 * loop.c (find_and_verify_loops): Use it.
13660 * rtlanal.c (insns_safe_to_move_p): Define it.
13661
13662 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
13663
13664 * c-pragma.c: Include ggc.h.
13665 * Makefile.in (c-pragma.o): Update.
13666
13667 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13668
13669 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
13670 (LIB_SPEC): Likewise.
13671 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
13672 Reindent -YP/-p/-pg.
13673 Copied from config/sparc/sol2.h.
13674
13675 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
13676
13677 * c-pragma.c (mark_align_stack): New.
13678 (init_pragma): New.
13679 * c-pragma.h (init_pragma): Declare it.
13680 * c-lex.c (init_parse): Call it.
13681
13682 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13683
13684 * configure.in: Pick up thread library on Solaris/x86 just
13685 like on Solaris/sparc.
13686 * configure: Rebuilt.
13687
13688 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
13689
13690 * rtl.h (global_rtx_index): New enum.
13691 (global_rtl): Change to array of rtx.
13692 (pc_rtx, cc0_rtx): Redefine accordingly.
13693 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
13694 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
13695 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
13696 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
13697 (const_int_rtx): Change to array of rtx.
13698 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
13699 accordingly.
13700 * emit-rtl.c (global_rtl): Change to array of rtx.
13701 (const_int_rtx): Change to aray of rtx.
13702 (gen_rtx_CONST_INT): Redefine accordingly.
13703 (init_emit_once): Allocate and initialize global_rtl. Likewise
13704 for const_int_rtx. Add both as GC roots.
13705 * genattrtab.c (global_rtl): Update declaration.
13706
13707 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
13708
13709 * Makefile (USER_H): Add iso646.h back.
13710
13711 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
13712
13713 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
13714 zapping the LOG_LINKS of sched_before_next_call.
13715
13716 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
13717 * pa.c (insn_refs_are_delayed): Renamed from
13718 insn_sets_and_refs_are_delayed.
13719
13720 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
13721
13722 * functiion.h (struct function): Add x_whole_function_mode_p.
13723 (retrofit_block): Declare.
13724 * function.c (retrofit_block): New function.
13725 (identify_blocks): Add assertions. Allow an incomplete set of
13726 block notes if we're still generating code for the function.
13727 * integrate.c: Include loop.h.
13728 (expand_inline_function): Call find_loop_tree_blocks to map block
13729 notes to blocks when in whole-function mode. Use retrofit_block
13730 to insert new BLOCKs for the inlined function, rather than
13731 insert_block.
13732 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
13733 * Makefile.in (integrate.o): Depend on loop.h.
13734
13735 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
13736
13737 * tree.h (warn_about_unused_variables): Declare.
13738 * stmt.c (warn_about_unused_variables): New function, split out
13739 from ...
13740 (expand_end_bindings): Here.
13741
13742 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
13743
13744 * stmt.c (preserve_subexpressions_p): Don't crash when
13745 current_function->stmt is unset.
13746
13747 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
13748
13749 * stmt.c (expand_start_bindings): Allow callers to pass a flag
13750 indicating that no NOTE_INSN_BLOCK_BEG note is required.
13751 (expand_start_target_temps): Use it.
13752 * except.c (expand_eh_region_start_for_decl): Likewise.
13753 * expr.c (expand_expr): Likewise.
13754
13755 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
13756
13757 * fold-const.c (operand_equal_p): Pay attention to side effects.
13758
13759 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
13760
13761 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
13762 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
13763
13764 * tlink.c (scan_linker_output): Look for keywords before accepting
13765 a mangled name in quotes.
13766
13767 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
13768
13769 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
13770 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
13771
13772 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
13773
13774 * alpha.md: Revert Thu Nov 26 change that came in through the
13775 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
13776 Avoid earlyclobber when possible.
13777
13778 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13779
13780 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
13781
13782 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
13783 Define HAVE_ON_EXIT.
13784
13785 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13786
13787 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
13788 CTYPE_CONV in all ctype macros.
13789
13790 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
13791 from system.h.
13792
13793 * cexp.y (initialize_random_junk): Likewise.
13794
13795 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
13796
13797 * i370.c (handle_pragma): Likewise.
13798
13799 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
13800
13801 * v850.c (override_options): Likewise.
13802
13803 * doprint.c (_doprnt): Likewise.
13804
13805 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
13806 Likewise.
13807
13808 * fixinc/server.c (load_data): Likewise.
13809
13810 * fold-const.c (real_hex_to_f): Likewise.
13811
13812 * genattr.c (write_upcase, gen_attr): Likewise.
13813
13814 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
13815 write_upcase): Likewise.
13816
13817 * genemit.c (print_code): Likewise.
13818
13819 * genopinit.c (gen_insn): Likewise.
13820
13821 * genpeep.c (print_code): Likewise.
13822
13823 * genrecog.c (print_code): Likewise.
13824
13825 * optabs.c (init_libfuncs): Likewise.
13826
13827 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
13828
13829 * haifa-sched.c (sched_analyze): Keep the list of notes organized
13830 in pairs.
13831 (reemit_notes): Likewise.
13832
13833 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
13834
13835 * ggc.h (ggc_root): Move to ggc-common.c.
13836 (roots): Remove.
13837 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
13838 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
13839 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
13840 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
13841 * ggc-common.c (ggc_root): Move from ggc.h.
13842 (roots): Declare, static.
13843 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
13844 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
13845 null or check/set mark bit.
13846 (ggc_mark_roots): New.
13847 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
13848
13849 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
13850
13851 * m32r.c: Include toplev.h.
13852 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
13853 (gen_compare): Rename swap_p to must_swap to match uses.
13854 Add default abort case.
13855 (m32r_output_function_epilogue): Remove unused variables.
13856 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
13857 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
13858 define to empty parameter list. Update all uses.
13859 (predicate decls): Use enum machine_mode not int.
13860 * m32r.md (movsi): Call abort, not fatal_insn.
13861 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
13862
13863 1999-09-14 Andrew Haley <aph@cygnus.com>
13864
13865 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
13866 use $0 instead of 0.
13867
13868 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13869
13870 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
13871 computation out of loop over hard regs.
13872
13873 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
13874
13875 * function.c (identify_blocks): Don't shadow a variable in an
13876 outer scope.
13877 * integrate.c (integrate_decl_tree): Don't use pushlevel,
13878 pushdecl, or poplevel to build up the new BLOCK tree.
13879 (expand_inline_function): Likewise.
13880 (integrate_parm_decls): Likewise.
13881
13882 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
13883
13884 * c-typeck.c (qualify_type): Merge qualifiers from both types.
13885
13886 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
13887
13888 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
13889 * invoke.texi: Document this change.
13890
13891 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
13892
13893 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
13894 Free the struct.
13895 (mark_emit_status): Renamed from mark_emit_state.
13896 * except.c (mark_eh_status): Renamed from mark_eh_state.
13897 Check not null before marking.
13898 (free_eh_status): New.
13899 * expr.c (mark_expr_status, free_expr_status): New.
13900 * function.c (free_machine_status): New.
13901 (free_after_parsing): New.
13902 (free_after_compilation): Move bits to free_after_parsing; call
13903 free_eh_status, free_expr_status; zero the marked members of the
13904 function state.
13905 (prepare_function_start): No can_garbage_collect.
13906 Call init_eh_for_function.
13907 (expand_dummy_function_end): Free up current_function state.
13908 (mark_function_status): Renamed from mark_function_state.
13909 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
13910 * function.h (struct function): No can_garbage_collect.
13911 (free_machine_status, free_after_parsing): Declare.
13912 (free_eh_status, free_expr_status): Declare.
13913 * ggc.h (mark_expr_status): Declare.
13914 * stmt.c (free_stmt_status): Free the struct.
13915 (mark_stmt_status): Renamed from mark_stmt_state.
13916 (init_stmt): Don't call init_eh.
13917 (init_stmt_for_function): Don't call init_eh_for_function.
13918 * toplev.c (compile_file): Call init_eh.
13919 (rest_of_compilation): Free basic block info before ggc_collect.
13920 Call free_after_parsing; conditionally call free_after_compilation.
13921 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
13922 Check not null before marking.
13923 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
13924
13925 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
13926
13927 * c-lex.c (yylex): Initialize warn.
13928
13929 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
13930
13931 * pa.c (emit_move_sequence): Properly set the mode of the scratch
13932 register when performing secondary reloads for the SAR register.
13933
13934 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
13935
13936 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
13937 (NOTE_BLOCK): New macro.
13938 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
13939 * function.h (identify_blocks): Change prototype.
13940 * function.c (identify_blocks): Simplify.
13941 (reorder_blocks): Likewise.
13942 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
13943 NOTE_INSN_BLOCK_{BEG,END}.
13944 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
13945 the list of saved notes if the note isn't a
13946 NOTE_INSN_BLOCK_{BEG,END}.
13947 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
13948 NOTE_BLOCK_NUMBER.
13949 (reemit_notes): Adjust recreation of notes to reflect new saved
13950 note structure.
13951 * print-rtl.c (print_rtx): Print the address of the BLOCK when
13952 printing a block note.
13953 * stmt.c (block_vector): Remove.
13954 (find_loop_tree_blocks): Simplify.
13955 (unroll_block_trees): Likewise.
13956 * tree.h (reorder_block): Change prototype.
13957
13958 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
13959
13960 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
13961 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
13962 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
13963 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
13964 (atexit, exit): Simplify.
13965 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
13966 * config/lots: Remove defns of HAVE_ATEXIT.
13967
13968 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
13969
13970 * calls.c (precompute_arguments): Fix typo in comment.
13971 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
13972 TARGET_EXPR.
13973
13974 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
13975
13976 * dsp16xx.c (override_options): Fix typos in GC root registration.
13977
13978 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
13979
13980 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
13981 from config/svr4.h.
13982 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
13983 (FUNCTION_PROFILER): Redefine appropriately for Linux.
13984 (CC1_SPEC): Likewise.
13985
13986 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13987
13988 * genattr.c (main): Add extern prototype. Call return, not exit.
13989 * genattrtab.c (main): Likewise.
13990 * gencheck.c (main): Likewise.
13991 * gencodes.c (main): Likewise.
13992 * genconfig.c (main): Likewise.
13993 * genemit.c (main): Likewise.
13994 * genextract.c (main): Likewise.
13995 * genflags.c (main): Likewise.
13996 * gengenrtl.c (main): Likewise.
13997 * genopinit.c (main): Likewise.
13998 * genoutput.c (main): Likewise.
13999 * genpeep.c (main): Likewise.
14000 * genrecog.c (main): Likewise.
14001
14002 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
14003 * genattrtab.c (get_insn_name): Likewise.
14004 * gencodes.c (get_insn_name): Likewise.
14005 * genconfig.c (get_insn_name): Likewise.
14006 * genemit.c (get_insn_name): Likewise.
14007 * genextract.c (get_insn_name): Likewise.
14008 * genflags.c (get_insn_name): Likewise.
14009 * genopinit.c (get_insn_name): Likewise.
14010 * genpeep.c (get_insn_name): Likewise.
14011
14012 * gencheck.c (usage): Add static prototype.
14013 * genextract.c (print_path): Constify a char*.
14014 * genopinit.c (optabs): Likewise.
14015 * genoutput.c (operand_data, data, output_predicate_decls,
14016 compare_operands): Likewise.
14017 * genrecog.c (write_tree): Add default case in switch.
14018
14019 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14020
14021 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
14022
14023 * print-rtl.c (get_insn_name): Remove prototype.
14024
14025 * toplev.h (progname): Declare const.
14026
14027 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
14028 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
14029 dump_sched_info, dump_local_alloc, regset_release_memory,
14030 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
14031 error_with_file_and_line, error_with_decl, error_for_asm, error,
14032 fatal, warning_with_file_and_line, warning_with_decl, warning,
14033 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
14034 Remove redundant prototypes.
14035
14036 (notice, check_lang_option, report_file_and_line, vnotice,
14037 mark_file_stack): Add static prototype.
14038 (set_fatal_function): Add prototype.
14039 (vnotice, report_file_and_line, set_fatal_function,
14040 check_lang_option): Constify a char*.
14041 (main): Prototype. Call return, not exit.
14042
14043 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14044
14045 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
14046
14047 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
14048
14049 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
14050
14051 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
14052
14053 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14054
14055 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
14056 behave as if it's zero in all cases.
14057 (expand_function_start): Adjust call to assign_parms.
14058 * tree.h (assign_parms): Adjust prototype.
14059 * objc/objc-act.c (hack_method_prototype): Adjust call to
14060 assign_parms.
14061
14062 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
14063
14064 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
14065 arg_pointer_rtx fixed if the argument pointer register is
14066 not fixed.
14067 (NONZERO_BASE_PLUS_P): Likewise.
14068
14069 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
14070
14071 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
14072 match_insn2 to match_insn.
14073 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
14074
14075 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
14076
14077 * Makefile.in (USER_H): Remove va-foo.h.
14078
14079 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
14080 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
14081 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
14082 va-spur.h,va-v850.h}: Remove.
14083
14084 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
14085
14086 * sparc/sparc.md (eligible_for_return_delay): New attribute.
14087 (in_return_delay): Use it instead of match_insn.
14088
14089 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14090
14091 * config/alpha/va_list.h (va-alpha.h): Do not include.
14092 (__gnuc_va_list): Typedef as in varargs.h.
14093
14094 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
14095
14096 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
14097 DECL_LIVE_RANGE_RTL.
14098
14099 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
14100
14101 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
14102 not NOTE_BLOCK_NUMBER.
14103 (expand_eh_region_end): Likewise.
14104 (find_exception_handler_labels): Likewise.
14105 (scan_region): Likewise.
14106 (exception_optimize): Likewise.
14107 (update_rethrow_references): Likewise.
14108 (set_insn_eh_region): Likewise.
14109 * final.c (final_scan_insn): Likewise.
14110 * flow.c (make_edges): Likewise.
14111 * integrate.c (expand_inline_function): Likewise.
14112 * print-rtl.c (print_rtx): Likewise.
14113
14114 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
14115
14116 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
14117 terms of builtin functions and types.
14118
14119 * mips.c (mips_build_va_list): New.
14120 (mips_va_start, mips_va_arg): New.
14121 * mips.h (BUILD_VA_LIST_TYPE): New.
14122 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
14123
14124 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
14125 (sh_build_va_list, sh_va_start, sh_va_arg): New.
14126 * sh.h (BUILD_VA_LIST_TYPE): New.
14127 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
14128
14129 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
14130
14131 * recog.h (struct recog_data): Make dup_num, operand_address_p,
14132 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
14133 (struct insn_data): Likewise with n_operands, n_dups,
14134 n_alternatives, output_format.
14135 * regclass.c (scan_one_insn): Cast n_operands to int before
14136 arithmetic inside comparison.
14137
14138 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
14139
14140 * toplev.c (compile_function): Unconditionally emit nop.
14141
14142 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14143
14144 * haifa-sched.c (actual_hazard): Move declaration of variable
14145 `this_cost' into the scope where it is used.
14146
14147 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14148
14149 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
14150 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
14151 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
14152
14153 * genrecog.c (make_insn_sequence): Call memset, not bzero.
14154
14155 * jump.c (find_insert_position): Don't declare or define unless
14156 !HAVE_conditional_arithmetic.
14157 (returnjump_p_1, delete_prior_computation): Add static prototypes.
14158
14159 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
14160
14161 * recog.c (offsettable_address_p): Prototype function pointer.
14162 (preprocess_constraints): Call memset, not bzero.
14163
14164 * tree.c (tree_node_kind_names): Constify a char*. Make static.
14165 (gcc_obstack_init): Don't declare.
14166 (fix_sizetype): Add static prototype.
14167 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
14168 (tree_cons): Call memset, not bzero.
14169
14170 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
14171 definition in macro ASM_WEAKEN_LABEL.
14172 (mark_const_hash_entry): Add static prototype.
14173
14174 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14175
14176 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
14177
14178 * unroll.c (find_common_reg_term, subtract_reg_term,
14179 loop_find_equiv_value): Add static prototypes.
14180 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
14181 (copy_loop_body): Remove unreachable break statement.
14182
14183 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
14184
14185 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
14186
14187 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14188
14189 Undo some changes from the gcc2 merge:
14190 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
14191 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
14192 pointers.
14193
14194 Undo this change:
14195 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
14196 * emit-rtl.c (gen_lowpart_common): Disable optimization of
14197 initialized float-int union if the value is a NaN.
14198
14199 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
14200
14201 * gthr-win32.h: New file.
14202
14203 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
14204 shared as a valid attribute.
14205 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
14206 * extend.texi: Document `shared' variable attribute.
14207
14208 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
14209
14210 * configure.in: Handle --enable-threads on FreeBSD.
14211 * configure: Rebuit.
14212
14213 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
14214
14215 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
14216 thread support.
14217 * configure: Rebuilt.
14218
14219 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
14220 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
14221 Rosimildo DaSilva <rdasilva@connecttel.com>
14222
14223 * configure.in (m68k-*-rtemscoff*): Added.
14224 * configure.in (mips64orion-*-rtems*): Converted to ELF.
14225 * configure.in (sparc-*-rtemsaout*): Added as alias for old
14226 sparc-rtems configuration.
14227 * configure.in (sparc-*-rtemself*): Added.
14228 * configure.in (sparc-*-rtems*): Now ELF not a.out.
14229 * config/i386/rtems.h: Added comment.
14230 * config/sparc/rtemself.h: New file.
14231
14232 * configure.in (m68k-rtemself): Added.
14233 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
14234 and DWARF_DEBUGGING_INFO.
14235 * config/m68k/crti.s: New file.
14236 * config/m68k/crtn.s: New file.
14237 * config/m68k/t-crtstuff: New file.
14238 * config/m68k/rtemself.h: New file.
14239
14240 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
14241 global ctor/dtor and C++ exception handling.
14242 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
14243 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
14244 ENDFILE_SPEC.
14245 * config/i386/t-rtems-i386: New File.
14246
14247 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
14248
14249 * stmt.c (expand_end_case): Return right away if the case stack is
14250 empty.
14251
14252 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
14253
14254 * Makefile.in (version.c): Remove rule incorrectly brought in from
14255 the gcc2 merge.
14256
14257 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
14258
14259 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
14260 * msdos/top.sed: Take into account a prepended $(SHELL) to
14261 move-if-change.
14262 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
14263
14264 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
14265
14266 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14267
14268 * regmove.c (fixup_match_1): Don't change an unchanging register.
14269 (stable_but_for_p): Renamed to:
14270 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
14271 Changed all callers.
14272
14273 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
14274
14275 * loop.c (strength_reduce): Don't call reg_used_between_p if the
14276 insn from BL2 is after the insn from BL.
14277
14278 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
14279
14280 * recog.h (INSN_OUTPUT_FORMAT_*): New.
14281 (struct insn_data): Merge `template' and `outfun' into `output'.
14282 Add `output_format'.
14283 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
14284 (struct data): Remove `outfun'; add `output_format'.
14285 (name_for_index): Remove declaration.
14286 (output_insn_data): Handle output formats.
14287 (process_template): Emit the bare array for @.
14288 (gen_expand, gen_split): Set output_format to NONE.
14289 * output.h (get_insn_template): Declare.
14290 * final.c (get_insn_template): New.
14291 (final_scan_insn): Use it.
14292 * toplev.c (compile_file): Likewise.
14293
14294 * c4x/c4x.c (c4x_process_after_reload): Likewise.
14295 * i860/i860.c (output_delayed_branch): Likewise.
14296 (output_delay_insn): Likewise.
14297
14298 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14299
14300 * rtl.c (obstack_alloc_rtx): Removed.
14301
14302 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
14303
14304 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
14305
14306 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
14307
14308 * i386.c (call_insn_operand): Reject const_int.
14309 (expander_call_insn_operand): Use call_insn_operand.
14310
14311 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14312
14313 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
14314
14315 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
14316
14317 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
14318 Use DImode operation.
14319
14320 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
14321
14322 * gcc.c: Include sys/resource.h.
14323 (report_times): New flag.
14324 (execute): If report_times is set, calculate and report the
14325 CPU time consumed by each subprocess.
14326
14327 (rus, prus): New globals.
14328 (option_map): Add --time.
14329 (display_help): Document -time.
14330 (process_command): Set report_times if -time is given.
14331 Turn off -pipe if -time is given.
14332
14333 * invoke.texi: Document new option -time.
14334
14335 * configure.in: Check for getrusage. Check if we have to
14336 prototype getrusage.
14337 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
14338 * configure: Regenerate.
14339 * config.in: Regenerate.
14340
14341 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
14342
14343 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
14344 fields.
14345
14346 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
14347
14348 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
14349 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
14350 (nan): Return _thenan_sf or _thenan_df as appropriate.
14351 (L_thenan_sf): Define _thenan_sf.
14352 (L_thenan_df): Define _thenan_df.
14353
14354 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
14355 (DPBIT_FUNCS): Add _thenan_df.
14356
14357 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
14358
14359 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
14360 TYPE_SIZE_UNIT.
14361
14362 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14363
14364 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
14365
14366 * gcc.h: New file.
14367 (lang_specific_driver): Don't take a function pointer parameter.
14368 All callers changed.
14369
14370 * gcc.c: Include gcc.h.
14371 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
14372 lang_specific_extra_outfiles, fatal): Don't declare.
14373 (multilib_defaults_raw): Constify.
14374 (read_specs): Call memset, rather than bzero.
14375 (main): Call return, not exit.
14376 (lookup_compiler): Call memcpy, not bcopy.
14377 (fatal): Make extern.
14378
14379 * cppspec.c: Include gcc.h.
14380 (lang_specific_driver): Initialize variable `quote'. Constify a
14381 char*. All calls to the function pointer parameter now
14382 explicitly call `fatal'.
14383
14384 * gccspec.c (lang_specific_driver): Include gcc.h.
14385
14386 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
14387
14388 * arm.c (note_invalid_constants): Use recog_data.operand_type
14389 for recog_op_type.
14390
14391 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14392
14393 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
14394 Declare.
14395
14396 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
14397 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
14398 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
14399 reload_secondary_in_reload, reload_secondary_out_reload,
14400 reload_secondary_in_icode, reload_secondary_out_icode,
14401 reload_reg_rtx, reload_when_needed): Delete declarations.
14402 (struct reload): New structure.
14403 (rld): Declare new array.
14404 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
14405 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
14406 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
14407 reload_secondary_in_reload, reload_secondary_out_reload,
14408 reload_secondary_in_icode, reload_secondary_out_icode,
14409 reload_reg_rtx, reload_when_needed): Delete definitions.
14410 (rld): New array.
14411 (whole file): Replace uses of the deleted arrays with uses of rld.
14412 * reload1.c (whole file): Replace uses of the deleted arrays with
14413 uses of rld.
14414 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
14415 explicit loops, not with bcopy.
14416
14417 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
14418
14419 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
14420 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
14421 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
14422 insn_name): Delete and consolidate into new structures.
14423 (insn_operand_predicate_fn): New.
14424 (insn_output_fn): New.
14425 (insn_gen_fn): New.
14426 (struct insn_operand_data): New.
14427 (struct insn_data): New.
14428 (insn_data): New.
14429 (OUT_FCN): Update for insn_data change.
14430 * builtins.c (expand_builtin_strlen): Likewise.
14431 (expand_builtin_memcmp): Likewise.
14432 * combine.c (make_extraction, simplify_comparison): Likewise.
14433 * cse.c (canon_reg, cse_insn): Likewise.
14434 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
14435 * expmed.c (store_bit_field, extract_bit_field): Likewise.
14436 (emit_store_flag): Likewise.
14437 * expr.c (convert_move, emit_block_move): Likewise.
14438 (clear_storage, emit_push_insn, expand_increment): Likewise.
14439 (do_store_flag): Likewise.
14440 * expr.h (GEN_FCN): Likewise.
14441 (insn_gen_function): Die.
14442 * final.c (final_scan_insn): Update for insn_data change.
14443 (output_asm_name): Likewise.
14444 * function.c (fixup_var_refs_1): Likewise.
14445 * loop.c (check_dbra_loop): Likewise.
14446 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
14447 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
14448 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
14449 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
14450 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
14451 * regmove.c (gen_add3_insn): Likewise.
14452 * reload.c (push_secondary_reload, combine_reloads): Likewise.
14453 (find_reloads, find_reloads_address_1): Likewise.
14454 (debug_reload_to_stream): Likewise.
14455 * reload1.c (emit_reload_insns, gen_reload): Likewise.
14456 * stmt.c (expand_end_case): Likewise.
14457 * toplev.c (compile_file): Likewise.
14458
14459 * c4x/c4x.c (c4x_process_after_reload): Likewise.
14460 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
14461
14462 * print-rtl.c (insn_name_ptr): Remove declaration.
14463 (get_insn_name): Declare.
14464 (print_rtx): Use it.
14465 * genoutput.c (insn_name_ptr): Remove.
14466 (next_operand_number): New.
14467 (struct operand_data): New.
14468 (null_operand, odata, odata_end): New.
14469 (struct data): Use struct operand_data.
14470 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
14471 (get_insn_name): Renamed from name_for_index.
14472 (output_prologue): Define NO_MD_PROTOTYPES.
14473 (output_predicate_decls): Break out from output_epilogue.
14474 Iterate over the operands list.
14475 (output_operand_data): Break out from output_epilogue. Emit
14476 just the operands list.
14477 (output_insn_data): Break out from output_epilogue. Emit just
14478 the insn data.
14479 (output_epilogue): Remove.
14480 (output_get_insn_name): New.
14481 (constraints, op_n_alternatives, predicates, address_p): Die.
14482 (modes, strict_low, seen): Die.
14483 (scan_operands): Take new param `d' instead of writing to
14484 seven global variables.
14485 (compare_operands): New.
14486 (place_operands): New.
14487 (validate_insn_alternatives): Update for struct data change.
14488 (gen_insn): Don't zero or copy 7 global arrays. Update for
14489 scan_operands; call place_operands.
14490 (gen_peephole, gen_expand, gen_split): Likewise.
14491 (main): Update for new output routines.
14492
14493 * genattr.c (insn_name_ptr): Remove.
14494 (get_insn_name): New function.
14495 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
14496 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
14497 * genrecog.c: Likewise.
14498
14499 * alpha.md (adddi3): Make `pattern' array static.
14500
14501 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14502
14503 * config/c4x/c4x.h (c4x_rpts_cycles_string,
14504 c4x_cpu_version_string): Constify char *.
14505 * config/c4x/c4x.c (c4x_rpts_cycles_string,
14506 c4x_cpu_version_string): Likewise.
14507
14508 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
14509
14510 * tree.c (save_tree_status): Revert 10 Sep change.
14511 (restore_tree_status): Likewise. Call obstack_free with NULL
14512 before freeing the obstack proper.
14513
14514 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
14515
14516 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
14517
14518 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
14519 surrounding context.
14520
14521 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
14522
14523 * tree.c (type_hash_canon): Put all types in the hash-table, when
14524 GC'ing.
14525
14526 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
14527
14528 * recog.h (struct recog_data, recog_data): New.
14529 (recog_foo variables): Kill.
14530 * recog.c (recog_operand, recog_operand_loc): Kill.
14531 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
14532 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
14533 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
14534 (recog_data): Define.
14535 (extract_insn): Update all recog_foo references to use recog_data.
14536 (preprocess_constraints, constrain_operands): Likewise.
14537 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
14538 * genattrtab.c (main): Likewise.
14539 * genextract.c (main): Likewise.
14540 * genoutput.c: Likewise.
14541 * genrecog.c (write_subroutine, main): Likewise.
14542 * local-alloc.c (block_alloc): Likewise.
14543 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
14544 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
14545 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
14546 * reload.c (find_reloads, find_reloads_toplev): Likewise.
14547 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
14548 (reload_cse_simplify_operands): Likewise.
14549
14550 * arc/arc.c (arc_final_prescan_insn): Likewise.
14551 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
14552 * h8300/h8300.c (notice_update_cc): Likewise.
14553 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
14554 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
14555 * mn10200/mn10200.c (notice_update_cc): Likewise.
14556 * mn10300/mn10300.c (notice_update_cc): Likewise.
14557 * romp/romp.c (update_cc): Likewise.
14558 * sparc/sparc.c (check_pic): Likewise.
14559 * v850/v850.c (notice_update_cc): Likewise.
14560
14561 * genemit.c (main): Don't declare recog_operand.
14562
14563 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
14564
14565 * ggc.h (rtvec_def): Forward declare.
14566 (tree_node): Likewise.
14567 (ggc_root): Define.
14568 (roots): Declare.
14569 (ggc_set_mark_rtx): Add prototype.
14570 (ggc_set_mark_rtvec): Likewise.
14571 (ggc_set_mark_tree): Likewise.
14572 * ggc-simple.c (ggc_root): Don't define.
14573 (roots): Don't declare.
14574 (ggc_mark_rtx): Remove.
14575 (ggc_mark_rtvec): Likewise.
14576 (ggc_mark_tree): Likewise.
14577 (ggc_mark_varray): Likewise.
14578 (ggc_mark_tree_hash_table_entry): Likewise.
14579 (ggc_mark_tree_hash_table): Likewise.
14580 (ggc_set_mart_rtx): New function.
14581 (ggc_set_mark_rtvec): Likewise.
14582 (ggc_set_mark_tree): Likewise.
14583 (ggc_add_root): Remove.
14584 (ggc_add_rtx_root): Likewise.
14585 (ggc_remove_tree_root): Likewise.
14586 (ggc_add_string_root): Likewise.
14587 (ggc_add_tree_varray_root): Likewise.
14588 (ggc_add_tree_hash_table_root): Likewise.
14589 (ggc_del_root): Likewise.
14590 (ggc_mark_rtx_ptr): Likewise.
14591 (ggc_mark_tree_ptr): Likewise.
14592 (ggc_mark_string_ptr): Likewise.
14593 (ggc_mark_tree_varray_ptr): Likewise.
14594 (ggc_mark_tree_hash_table_ptr): Likewise.
14595 * ggc-common.c: New file.
14596 * Makefile.in (OBJS): Add ggc-common.o.
14597 (ggc-common.o): List dependencies.
14598
14599 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
14600
14601 * cppalloc.c (xstrdup): Use memcpy.
14602 * cpperror.c (cpp_print_containing_files): Don't use
14603 cpp_notice.
14604 * cpplib.c (conditional_skip): Set temp->lineno.
14605 (do_endif): Make error message less obscure.
14606 (if_directive_name): New function.
14607 (cpp_get_token [case EOF]): Unwind the if stack and generate
14608 error messages for each unterminated conditional in this file.
14609 (parse_string): Do not behave differently if -traditional.
14610
14611 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
14612
14613 * builtins.c (expand_builtin_va_arg): Cope with an array-type
14614 va_list decomposing to pointer-type.
14615 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
14616 (rs6000_va_arg): Likewise.
14617
14618 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
14619
14620 * except.c (start_dynamic_handler): Compute size using
14621 STACK_SAVEAREA_MODE.
14622
14623 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14624
14625 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
14626 include directory headers. Don't define strrchr. Don't provide
14627 my_* replacement functions. Prefer PTR over `pointer_type'.
14628 Don't prototype system functions. Don't redefine getopt.
14629
14630 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
14631 safe_read, safe_write, save_pointers, restore_pointers,
14632 is_id_char, in_system_include_dir, directory_specified_p,
14633 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
14634 find_corresponding_lparen, referenced_file_is_newer,
14635 save_def_or_dec, munge_compile_params, gen_aux_info_file,
14636 process_aux_info_file, identify_lineno, check_source,
14637 seek_to_line, forward_to_next_token_char, output_bytes,
14638 output_string, output_up_to, other_variable_style_function,
14639 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
14640 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
14641 find_static_definition, connect_defs_and_decs, add_local_decl,
14642 add_global_decls, needs_to_be_converted, visit_each_hash_node,
14643 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
14644 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
14645 scan_for_missed_items, edit_file, string_list_cons): Add static
14646 prototypes.
14647 (standard_exec_prefix, target_machine, target_version,
14648 default_syscalls_dir, string_list, string_list_cons, find_file,
14649 do_cleaning): Constify a char*.
14650 (safe_read, safe_write): Use PTR, not a char*.
14651 (is_id_char): Take an int, not a char.
14652 (main): Add prototype. Call return, not exit.
14653
14654 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
14655
14656 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
14657 when comparing types.
14658
14659 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
14660
14661 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
14662 (strength_reduce): Release the varrays from the no-bivs early exit.
14663
14664 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
14665 the loop over the registers.
14666
14667 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
14668 for a new obstack.
14669 (restore_tree_status): Check that instead when freeing the obstack.
14670
14671 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
14672
14673 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
14674 as pointers.
14675
14676 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14677
14678 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
14679 operand size modifiers.
14680
14681 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14682
14683 * c-common.c (c_common_nodes_and_builtins): Don't build
14684 va_list_type_node.
14685 * c-common.h (enum c_tree_index and related accesor macros): Remove
14686 everything now declared in tree.h.
14687 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
14688 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
14689 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
14690 (error_mark_node, void_type_node, char_type_node, integer_type_node,
14691 unsigned_type_node, ptr_type_node, va_list_type_node,
14692 integer_zero_node, null_pointer_node, integer_one_node): Delete.
14693 (init_decl_processing): Call build_common_tree_nodes and
14694 build_common_tree_nodes_2 instead of building their nodes here.
14695 Don't add roots for these nodes.
14696 * stor-layout.c (size_zero_node, size_one_node): Delete.
14697 (set_sizetype): Make a new node for bitsizetype each time.
14698 * tree.c (global_trees): New variable.
14699 (init_obstacks): Add a gc root for it.
14700 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
14701 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
14702 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
14703 (build_common_tree_nodes): New function.
14704 (fix_sizetype): New function.
14705 (build_common_tree_nodes_2): New function.
14706 * tree.h (enum tree_index): New.
14707 (global_trees): Declare.
14708 Add accessor macros for all nodes now moved to global_trees.
14709 Delete their declarations.
14710
14711 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
14712
14713 * c-decl.c (finish_function): When processing a nested function,
14714 push and pop GC context around rest_of_compilation.
14715
14716 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
14717
14718 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
14719 Default ix86_arch to PROCESSOR_I386.
14720 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
14721 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
14722 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
14723 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
14724 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
14725 (EXTRA_SPECS): Remove deleted specs.
14726
14727 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
14728
14729 * function.c (assign_stack_local_1): Allocate from
14730 function->x_frame_offset, not frame_offset.
14731
14732 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
14733
14734 * ggc.h (lang_cleanup_tree): Remove.
14735 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
14736 * ggc-callbacks.c (lang_cleanup_tree): Remove.
14737
14738 * c-decl.c (finish_struct): Use ggc_alloc to allocate
14739 TYPE_LANG_SPECIFIC when garbage collecting.
14740 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
14741 (lang_cleanup_tree): Remove.
14742
14743 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
14744
14745 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
14746 * crtstuff.c: Not here.
14747 * dwarf2out.c: Or here.
14748 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
14749 info.
14750
14751 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
14752
14753 * function.h (free_after_compilation): Remove decl parameter.
14754 (free_varasm_status0: Likewise.
14755 (free_emit_status): Likewise.
14756 (free_stmt_status): Likewise.
14757 (free_after_compilation): Likewise.
14758 (init_lang_status): New variable.
14759 (free_lang_status): Likewise.
14760 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
14761 * function.c (init_lang_status): New variable.
14762 (free_lang_status): Likewise.
14763 (push_function_context_to): Don't set function::decl here.
14764 (free_after_copmilation): Make decl parameter implicit. Call
14765 free_lang_status if defined.
14766 (prepare_function_start): Call init_lang_status if defined.
14767 (init_function_start): Set function::decl here.
14768 * profile.c (output_func_start_profiler): Don't call pushdecl
14769 until we've actually started the function.
14770 * stmt.c (free_stmt_status): Make decl parameter implicit.
14771 * toplev.c (rest_of_compilation): Don't pass decl to
14772 free_after_compilation.
14773 * varasm.c (free_varasm_status): Likewise.
14774
14775 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14776
14777 * except.c (call_get_eh_context): Add root when allocating static
14778 tree variable.
14779
14780 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
14781
14782 * arm.c: Include "ggc.h".
14783 (arm_add_gc_roots): New function.
14784 (arm_override_options): Call it.
14785 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
14786
14787 * arm.md (define_asm_attributes): Add a pool_range attribute.
14788
14789 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
14790
14791 * extend.texi (Volatiles): New node.
14792
14793 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
14794
14795 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
14796 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
14797 (struct ggc_any): Replace `mark' with `magic_mark'.
14798 (ggc_alloc_string): Use memcpy, not bcopy.
14799 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
14800 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
14801 (ggc_free_any): New.
14802 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
14803 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
14804 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
14805 Use IS_MARKED. Use ggc_free_any.
14806
14807 1999-09-09 Scott Bambrough <scottb@netwinder.org>
14808
14809 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
14810
14811 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
14812
14813 * toplev.c (main): Always init_ggc.
14814
14815 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
14816
14817 * except.c (find_all_handler_type_matches): Free the list if
14818 we found no matches.
14819
14820 * combine.c (SUBST): Break out to a real function do_SUBST.
14821 (SUBST_INT): Likewise.
14822 * gcse.c (free_pre_mem): Free `temp_bitmap'.
14823 (pre_insert): Free `inserted'.
14824 * loop.c (basic_induction_var): Always set `location'.
14825
14826 * function.c (expand_function_end): Add initial_trampoline as a root.
14827 * rtl.h (init_varasm_once): Declare.
14828 * toplev.c (compile_file): Call it.
14829 * ggc-simple.c (ggc_mark_string_ptr): New.
14830 (ggc_add_string_root): New.
14831 (ggc_collect): Disable collection avoidance temporarily.
14832 * ggc.h (ggc_add_string_root): Declare.
14833 * except.c (create_rethrow_ref): Use ggc_alloc_string.
14834 * optabs.c (init_libfuncs): Likewise.
14835 * varasm.c (named_section): Use ggc_alloc_string.
14836 (make_function_rtl): Likewise.
14837 (make_decl_rtl): Likewise.
14838 (assemble_static_space): Likewise.
14839 (assemble_trampoline_template): Likewise.
14840 (output_constant_def): Likewise.
14841 (force_const_mem): Likewise.
14842 (mark_const_hash_entry): New.
14843 (mark_pool_sym_hash_table): New.
14844 (mark_varasm_state): Use it.
14845 (init_varasm_once): New.
14846
14847 * expr.h (init_one_libfunc): Declare.
14848 * optabs.c (init_one_libfunc): New.
14849 (init_optabs): Use it.
14850 * config/gofast.h: Likewise.
14851 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
14852 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
14853
14854 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
14855
14856 * Makefile.in (cppexp.o): Depend on cpphash.h.
14857 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
14858 Include cpphash.h.
14859 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
14860 * cpplib.c (do_define): Generalise to handle poisoned definitions,
14861 redefining poisoned identifiers, etc.
14862 (do_undef): Don't allow poisoned identifiers to be undefined.
14863 (do_pragma): Add #pragma poison.
14864 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
14865
14866 * cccp.c: Add T_POISON node type.
14867 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
14868 poisoned xxx.
14869 (do_define): Generalise to handle poisoned definitions,
14870 redefining poisoned identifiers, etc.
14871 (do_undef): Don't allow poisoned identifiers to be undefined.
14872 (do_pragma): Add #pragma poison.
14873 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
14874
14875 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
14876 * c-pragma.h: Add ps_poison state. We now always have generic
14877 pragmas.
14878
14879 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
14880
14881 * ggc.h (ggc_alloc): New function.
14882 (ggc_mark): Likewise.
14883 * ggc-simple.c (ggc_any): New structure.
14884 (ggc_status): Add anys.
14885 (n_anys_collected): New variable.
14886 (ggc_alloc): Define.
14887 (ggc_mark): Likewise.
14888 (ggc_collect): Collect the anys.
14889
14890 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14891
14892 * c-decl.c (mark_binding_level): Make static to match prototype.
14893
14894 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
14895
14896 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
14897
14898 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
14899
14900 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
14901 will use into account. Expand the max width to 5.
14902 * rtl.c: Likewise.
14903
14904 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
14905
14906 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
14907 for the rtx length.
14908
14909 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
14910
14911 * alpha.md (call value patterns): Remove the result predicates.
14912
14913 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
14914
14915 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
14916 last change.
14917
14918 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14919
14920 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
14921 changed from extern char *, to extern PTR. Also fix typo in
14922 NEED_DECLARATION_REALLOC test.
14923
14924 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
14925
14926 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14927
14928 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
14929 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
14930 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
14931 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
14932
14933 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
14934
14935 * cccp.c (pcfinclude): Likewise.
14936
14937 * global.c (allocno_compare): Likewise.
14938
14939 * haifa-sched.c (rank_for_schedule): Likewise.
14940
14941 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
14942
14943 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
14944
14945 * stupid.c (stupid_reg_compare): Likewise.
14946
14947 * tree.c (_obstack_allocated_p): Likewise.
14948
14949 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
14950
14951 1999-09-08 Bruce Korb autogen@linuxbox.com
14952
14953 * Makefile.in: Give the hapless gperf user a hint about
14954 why "gperf -F" fails.
14955
14956 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
14957
14958 * lists.c: Include ggc.h.
14959 (zap_lists): New.
14960 (init_EXPR_INSN_LIST_cache): Install it.
14961
14962 * ggc-simple.c (init_ggc): Absorb the old init.
14963 (ggc_push_context): Use xcalloc.
14964 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
14965 (ggc_collect): Add [rvts] tags to the collection stats.
14966
14967 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
14968
14969 * cccp.c (main): Fix handling of -include and -imacros options.
14970
14971 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
14972
14973 * cpplib.c (cpp_push_buffer): Fix order of arguments.
14974
14975 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
14976
14977 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
14978 genrtl.c.
14979
14980 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
14981
14982 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
14983 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
14984 and SET_DEST. Update comment.
14985
14986 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14987
14988 * config/c4x/c4x.c: Include ggc.h.
14989 (c4x_add_gc_roots): New function.
14990 (c4x_override_options): Call c4x_add_gc_roots.
14991
14992 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
14993
14994 * defaults.h (TARGET_ESC): Move ...
14995 * system.h: ... here, where Linas had it in the first place. Silly me.
14996
14997 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
14998
14999 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
15000 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
15001 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
15002 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
15003 * defaults.h (TARGET_ESC): Add default.
15004
15005 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
15006
15007 * configure.in: add i370-*-openedition, i370-*-mvs and
15008 i370-*-linux targets
15009
15010 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
15011
15012 * dsp16xxx.c: Include ggc.h
15013 (override_options): Mark GC roots.
15014 * mn10200.c: Include ggc.h.
15015 (asm_file_start): Mark GC roots.
15016 * tahoe.c: Include ggc.h.
15017 (extensible_operand): Mark GC roots.
15018
15019 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
15020
15021 * README: Add section discussing status of ELF ABI.
15022 * i370.c: Fix misc spelling mistakes.
15023 (i370_label_scan): Updated notes, exception handling.
15024 (i370_function_prolog): Simplify ELF stack handling.
15025 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
15026 (STACK_GROWS_DOWNWARD): ELF stack grows down.
15027 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
15028 * i370.md: (movdi): Add notes.
15029 (floatsidf2): Use stack not rtca for scratch float area.
15030 (iorsi3): Correct operand constraints.
15031 * x-oe: Restore TAROUTOPTS which are used by pax.
15032
15033 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
15034
15035 * rs6000.c: Include ggc.h.
15036 (rs6000_add_gc_roots): New function.
15037 (override_options): Call it.
15038
15039 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
15040
15041 * alpha.h (alpha_compare): New.
15042 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
15043 * alpha.c: Likewise for the definitions.
15044 (alpha_emit_conditional_branch): Update for alpha_compare.
15045 (alpha_emit_conditional_move): Likewise.
15046 * alpha.md (cmpdf, cmpdi): Likewise.
15047 (setcc patterns): Likewise. Zero alpha_compare after use.
15048 (sne): Optimize (x != 0) into (0U < x).
15049
15050 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
15051
15052 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
15053 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
15054 (INIT_EXPANDERS): Remove.
15055 * alpha.c: Include ggc.h.
15056 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
15057 (alpha_init_machine_status, alpha_mark_machine_status): New.
15058 (override_options): Install them.
15059 (struct machine_function): Moved to alpha.h.
15060 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
15061 (alpha_init_expanders): Remove.
15062 (alpha_return_addr): Adjust to use current_function->machine.
15063 (alpha_ra_ever_killed): Likewise.
15064 (alpha_expand_epilogue): Likewise.
15065 * alpha.md (eh_epilogue): Likewise.
15066
15067 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
15068 Melissa O'Neill <oneill@cs.sfu.ca>
15069 Geoffrey Keating <geoffk@cygnus.com>
15070
15071 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
15072 call-used registers (call-saved registers must still be contiguous
15073 and end with r31, of course).
15074
15075 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
15076
15077 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
15078 (self_promoting_type_p): Delete.
15079 (self_promoting_args_p): Move ...
15080 * c-common.c: ... here.
15081 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
15082 (simple_type_promotes_to): New.
15083 * builtins.c (lang_type_promotes_to): New.
15084 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
15085 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
15086 * c-common.h: ... here.
15087 (self_promoting_args_p, simple_type_promotes_to): Declare.
15088 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
15089 (grokdeclarator): Likewise.
15090 * tree.h (lang_type_promotes_to): Declare.
15091
15092 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
15093
15094 Add some machine-dependent GC roots.
15095 * sparc.c: Include ggc.h.
15096 (sparc_add_gc_roots): New function.
15097 (mark_ultrasparc_pipeline_state): Likewise.
15098 (override_options): Call sparc_add_gc_roots.
15099 * pa.c: Include ggc.h.
15100 (pa_add_gc_roots): New function.
15101 (mark_deferred_plabels): Likewise.
15102 (override_options): Call pa_add_gc_roots.
15103 * mips.c: Include ggc.h.
15104 (mips_add_gc_roots): New function.
15105 (override_options): Use it.
15106
15107 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15108
15109 * cpperror.c (cpp_file_line_for_message): Constify a char*.
15110
15111 * cppexp.c (parse_number, parse_charconst, cpp_lex,
15112 cpp_parse_expr): Add static prototypes.
15113 (parse_charconst): Don't cast away const-ness.
15114 (token): Constify a char*.
15115
15116 * cppfiles.c (file_name_list, include_hash, find_include_file,
15117 finclude, initialize_input_buffer): Constify a char*.
15118 (file_cleanup, find_position): Add static prototypes.
15119
15120 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
15121 collect_expansion): Add static prototypes.
15122 (cpp_install, create_definition, monthnames): Constify a char*.
15123
15124 * cpphash.h (cpp_install): Likewise.
15125
15126 * cppinit.c (known_suffixes, default_include,
15127 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
15128 (base_name, dump_special_to_buffer, initialize_dependency_output):
15129 Add static prototypes.
15130
15131 * cpplib.c (my_strerror): Constify a char*.
15132 (null_underflow, null_cleanup, skip_comment, copy_comment,
15133 copy_rest_of_line, handle_directive, pass_thru_directive,
15134 get_directive_token, read_line_number, cpp_print_file_and_line,
15135 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
15136 v_cpp_warning_with_line, detect_if_not_defined,
15137 consider_directive_while_skipping): Add static prototypes.
15138 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
15139 cpp_pedwarn_with_file_and_line): Constify a char*.
15140
15141 * cpplib.h (cpp_options, include_hash, progname, definition,
15142 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
15143 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
15144 find_include_file, deps_output, include_hash): Constify a char*.
15145
15146 * cppmain.c (progname): Constify.
15147 (main): Add prototype. Use return, not exit.
15148
15149 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
15150 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
15151 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
15152 check_protection): Add static prototype.
15153 (xfree): Remove.
15154 (progname, recognized_macrom, recognized_extern): Constify a char*.
15155 (main): Add prototype.
15156
15157 * gen-protos.c (progname): Constify a char*.
15158
15159 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
15160
15161 * emit-rtl.c (free_emit_status): Take decl as a parameter.
15162 (init_emit_once): Add more GC roots.
15163 * except.c (mark_func_eh_entry): New function.
15164 (mark_eh_node): Mark false_label and rethrow_label.
15165 (init_eh): Add more GC roots.
15166 * function.c (free_after_compilation): Take decl as a paramter.
15167 Call free_stmt_status.
15168 (mark_function_state): Don't assume x_parm_reg_stack_loc is
15169 non-NULL.
15170 * function.h (free_after_compilation): Change prototype.
15171 (free_varasm_status): Likewise.
15172 (free_emit_status): Likewise.
15173 (free_stmt_status): New function.
15174 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
15175 Remove, replacing with ...
15176 (ggc_status): New structure.
15177 (ggc_chain): New variable.
15178 (init_gcc): Define.
15179 (ggc_push_context): New function.
15180 (ggc_pop_context): Likewise.
15181 (ggc_alloc_rtx): Adjust for use of ggc_chain.
15182 (ggc_alloc_rtvec): Likewise.
15183 (ggc_alloc_tree): Likewise.
15184 (ggc_alloc_string): Likewise.
15185 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
15186 (ggc_mark_tree): Give language-dependent code a chance to mark
15187 `x' nodes.
15188 (ggc_mark_tree_varray): Handle empty arrays.
15189 (ggc_collect): Adjust for use of ggc_chain. Clear
15190 bytes_alloced_since_last_gc.
15191 * ggc.h (ggc_pop_context): New function.
15192 (ggc_push_context): Likewise.
15193 * print-tree.c (print_node): Don't print obstacks when GC'ing.
15194 * stmt.c (free_stmt_status): New function.
15195 (init_stmt_for_function): Clear last_expr_value.
15196 * toplev.c (rest_of_compilation): Always call free_after_compilation.
15197 Conditionalize call to ggc_collect.
15198 (main): Call init_ggc.
15199 * tree.c (push_obstacks): Do the push, even when GC'ing.
15200 (push_obstacks_nochange): Likewise.
15201 (pop_obstacks): Liekwise.
15202 * varasm.c (free_varasm_status): Take decl as a parameter.
15203
15204 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
15205
15206 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
15207 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
15208 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
15209 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
15210
15211 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
15212
15213 * pa/x-pa-mpeix: New file for the MPE port.
15214
15215 * pa/quadlib.asm: New file for long double support.
15216
15217 * configure.in: Add hppa1.0-*-mpeix for MPE port.
15218 * configure: Rebuilt.
15219
15220 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
15221
15222 * final.c (shorten_branches): Fix last change.
15223
15224 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
15225
15226 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
15227
15228 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
15229
15230 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
15231 details.
15232
15233 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15234
15235 * c-aux-info.c (concat): Don't define.
15236
15237 * cccp.c (my_strerror): Likewise. All callers changed to use
15238 xstrerror instead.
15239 (do_include): Call xstrdup, not xmalloc/strcpy.
15240 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
15241 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
15242
15243 * collect2.c (my_strsignal): Likewise. All callers changed to use
15244 strsignal instead.
15245 (locatelib): Call xstrdup, not xmalloc/strcpy.
15246
15247 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
15248
15249 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
15250
15251 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
15252
15253 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
15254
15255 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
15256
15257 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
15258
15259 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
15260 malloc/realloc.
15261 (find_all_handler_type_matches): Likewise. Don't check return
15262 value.
15263 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
15264 xmalloc, not malloc.
15265 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
15266
15267 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
15268 (init_spec): Call xcalloc, not xmalloc/bzero.
15269 (set_spec): Call xstrdup, not save_string.
15270 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
15271 (find_a_file): Call xstrdup, not xmalloc/strcpy.
15272 (process_command): Call xstrdup, not save_string.
15273 (main): Call xcalloc, not xmalloc/bzero.
15274
15275 * gcov.c (xmalloc): Don't define.
15276 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
15277 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
15278 (output_data): Call xcalloc, not xmalloc/bzero.
15279
15280 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
15281
15282 * mips-tdump.c (xmalloc): Don't define.
15283 (print_symbol): Call xmalloc, not malloc.
15284 (read_tfile): Call xcalloc, not calloc.
15285
15286 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
15287 Don't define. All callers of xfree/my_strsignal changed to use
15288 free/strsignal instead.
15289 (allocate_cluster): Call xcalloc, not calloc.
15290
15291 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
15292 Fix memory leak, free allocated memory.
15293
15294 * prefix.c (translate_name): Call xstrdup, not save_string.
15295 (update_path): Likewise.
15296
15297 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
15298
15299 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
15300 Don't define. Callers of xfree/savestring2 changed to use
15301 free/concat instead.
15302
15303 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
15304 (init_elim_table): Likewise.
15305
15306 * resource.c (init_resource_info): Likewise.
15307
15308 * stupid.c (stupid_life_analysis): Likewise.
15309
15310 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
15311 (open_dump_file): Call concat, not xmalloc/strcpy/...
15312 (clean_dump_file): Likewise.
15313 (compile_file): Call xstrdup, not xmalloc/strcpy.
15314
15315 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
15316
15317 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
15318 * v850.c (v850_va_arg): New.
15319
15320 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15321
15322 * haifa-sched.c: Tidy comments.
15323
15324 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15325
15326 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
15327 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
15328 $(out_object_file)): Depend on ggc.h.
15329 * c-common.c: Include "ggc.h".
15330 (combine_strings): If doing GC, use ggc_alloc_string.
15331 * c-decl.c: Include "ggc.h".
15332 (ggc_p): Define with value 0.
15333 (mark_binding_level): New function.
15334 (init_decl_processing): Add GC roots.
15335 (mark_c_function_context): New function.
15336 (lang_mark_false_label_stack): New function.
15337 (lang_mark_tree): New function.
15338 (lang_cleanup_tree): New function.
15339 * c-lang.c: Include "ggc.h".
15340 (lang_init): Call c_parse_init.
15341 * c-lex.c: Include "ggc.h".
15342 (check_linenum): If doing GC, don't copy filenames to permanent
15343 obstack.
15344 * c-parse.in: Include "ggc.h".
15345 (c_parse_init): New function.
15346 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
15347 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
15348
15349 * except.c (mark_eh_state): Mark more state.
15350 * function.c (mark_function_state): Likewise.
15351 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
15352 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
15353 * toplev.c (mark_file_stack): New function.
15354 (compile_file): If doing GC, use ggc_alloc_string on input filename.
15355 (main): Add root for input_file_stack.
15356
15357 * i386.c: Include "ggc.h".
15358 (ix86_mark_machine_status): New function.
15359 (override_options): Set mark_machine_status.
15360
15361 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15362
15363 * tree.c (copy_node): Copy node contents also if doing GC.
15364
15365 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
15366
15367 * collect2.c (scan_libraries): Fix double-thinko :-).
15368
15369 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
15370
15371 * collect2.c (scan_libraries): Fix thinko.
15372
15373 * cse.c (delete_trivially_dead_insns): Do not skip the last
15374 insn if it is a real insn.
15375
15376 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
15377
15378 * Makefile.in (ggc-simple.o): Depend on hash.h.
15379 * ggc.h (ggc_add_tree_hash_table_root): Declare.
15380 (ggc_mark_tree_varray): Likewise.
15381 (ggc_mark_tree_hash_table): Likewise.
15382 * ggc-simple.c: Include hash.h.
15383 (ggc_mark_tree_hash_table_ptr): New function.
15384 (ggc_mark_tree_hash_table_entry): Likewise.
15385 (ggc_mark_tree_hash_table): Likewise.
15386 (ggc_add_tree_hash_table_root): Likewise.
15387 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
15388 rtx, when defining fields.
15389
15390 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
15391
15392 * profile.c (output_func_start_profiler): Remove apparently
15393 nonsensical call to start_sequence.
15394
15395 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
15396
15397 * clipper/clipper.c (clipper_va_start): Fix typos.
15398
15399 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
15400 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
15401 (spur_va_arg): New stub.
15402
15403 * configure.in: Comment out pyramid.
15404
15405 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
15406
15407 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
15408 don't conflict with the bits that win32, cygwin, and dgux
15409 defines.
15410
15411 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
15412 Bernd Schmidt <bernds@cygnus.co.uk>
15413
15414 * integrate.c (function_cannot_inline_p): Do not inline
15415 functions with forced labels.
15416
15417 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
15418 Bernd Schmidt <bernds@cygnus.co.uk>
15419 Mark Mitchell <mark@codesourcery.com>
15420
15421 * Makefile.in (ggc-simple.o): Depend on varray.h.
15422 (rtl.o): Depend on ggc.h.
15423 (genattrtab.o): Depend on ggc.h.
15424 (print-tree.o): Likewise.
15425 (fold-const.o): Likewise.
15426 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
15427 (make_insn_raw): Don't cache insns when GC'ing.
15428 (emit_insn_before): Likewise.
15429 (emit_insn_after): Likewise.
15430 (emit_insn): Likewise.
15431 (start_sequence): Use xmalloc to allocate the sequence_stack.
15432 (end_sequence): Add free to free it.
15433 (gen_sequence): Don't cache insns when GC'ing.
15434 (clear_emit_caches): Don't use sequence_element_free_list.
15435 (init_emit): Use xcalloc, not xmalloc+bzero.
15436 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
15437 * function.c (pop_function_context_from): Use free to free the
15438 fixup_var_refs_queue.
15439 (put_reg_into_stack): Allocate it with xmalloc.
15440 * genattrtab.c: Include ggc.h.
15441 (operate_exp): Don't use obstack_free when GC'ing.
15442 (simplify_cond): Likewise.
15443 (simplify_text_exp): Likewise.
15444 (optimize_attrs): Likewise.
15445 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
15446 GC'ing.
15447 (gencode): Generate a #include for ggc.h.
15448 * ggc-callbacks.c (ggc_p): Define it to zero.
15449 * ggc-none.c (ggc_p): Likewise.
15450 * ggc-simple.c: Include varray.h.
15451 (ggc_mark_tree_varray): New function.
15452 (ggc_add_tree_varray_root): Likewise.
15453 (ggc_mark_tree_varray_ptr): Likewise.
15454 * ggc.h (ggc_p): Declare.
15455 (varray_head_tag): Likewise.
15456 (ggc_add_tree_varray_root): Declare.
15457 * print-tree.c (print_node): Don't check for TREE_PERMANENT
15458 inconsistencies when GC'ing.
15459 * rtl.c: Include ggc.h.
15460 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
15461 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
15462 (rtx_free): Don't call obstack_free when GC'ing.
15463 * toplev.c (rest_of_compilation): Call ggc_collect after every
15464 pass, if GC'ing.
15465 * tree.c (push_obstacks): Do nothing, if GC'ing.
15466 (pop_obstacks_nochange): Likewise.
15467 (pop_obstacks): Likewise.
15468 (make_node): Use ggc_alloc_tree when GC'ing.
15469 (copy_node): Likewise.
15470 (get_identifier): Use ggc_alloc_string when GC'ing.
15471 (build_string): Likewise.
15472 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
15473 (tree_cons): Likewise.
15474 (build1): Likewise.
15475 (type_hash_canon): Don't call obstack_free when GC'ing.
15476
15477 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
15478
15479 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
15480 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
15481
15482 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
15483 Bernd Schmidt <bernds@cygnus.co.uk>
15484 Mark Mitchell <mark@codesourcery.com>
15485
15486 * Makefile.in (stor-layout.o): Depend on ggc.h.
15487 (expr.o): Depend on ggc.h.
15488 (profile.o): Depend on ggc.h.
15489 (stor-layout.o): Depend on ggc.h.
15490 * emit-rtl.c (init_emit_once): Add gc roots.
15491 * expr.c: Include ggc.h.
15492 (emit_block_move): Add gc roots.
15493 (clear_storage): Likewise.
15494 * expr.h (init_stor_layout_once): New function.
15495 * profile.c: Include ggc.h.
15496 (init_arc_profiler): profiler_label is a root.
15497 * scan.c (make_sstring_space): Trust xrealloc to function
15498 correctly with first parameter NULL.
15499 * stor-layout.c: Include ggc.h.
15500 (set_sizetype): Add gc root.
15501 (init_stor_layout_once): New function.
15502 * toplev.c (compile_file): Call it.
15503
15504 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
15505 Bernd Schmidt <bernds@cygnus.co.uk>
15506 Mark Mitchell <mark@codesourcery.com>
15507
15508 * Makefile.in (tree.o): Depend on ggc.h.
15509 (varasm.o): Likewise.
15510 (function.o): Likewise.
15511 (stmt.o): Likewise.
15512 (except.o): Likewise.
15513 (optabs.o): Likewise.
15514 (emit-rtl.o): Likewise.
15515 * emit-rtl.c: Include ggc.h.
15516 (sequence_element_free_list): Remove, and all references.
15517 (mark_sequence): New functions.
15518 (mark_emit_state): New function.
15519 * except.c: Include ggc.h.
15520 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
15521 (mark_tree_label_node): New functions.
15522 (mark_eh_state): New function.
15523 * function.c: Include ggc.h.
15524 (mark_temp_slot, mark_function_chain): New functions.
15525 (mark_function_state): New function.
15526 (init_function_once): New function.
15527 * function.h (init_function_once): New function.
15528 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
15529 * ggc.h (label_node): Declare.
15530 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
15531 (lang_mark_false_label_stack): New function.
15532 (mark_temp_slot): Remove declaration.
15533 (mark_function_chain): Likewise.
15534 (mark_eh_state): Adjust prototype.
15535 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
15536 Likewise.
15537 * optabs.c: Include ggc.h.
15538 (mark_optab): New function.
15539 (init_optabs): Add gc roots.
15540 * stmt.c: Include ggc.h.
15541 (mark_cond_nesting, mark_loop_nesting): New functions.
15542 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
15543 (mark_stmt_state): New function.
15544 * toplev.c (compile_file): Call init_function_once.
15545 * tree.c: Include ggc.h.
15546 (type_hash): Move declaration earlier in file.
15547 (TYPE_HASH_SIZE, type_hash_table): Likewise.
15548 (init_obstacks): Add gc roots.
15549 (mark_type_hash): New function.
15550 * varasm.c: Include ggc.h.
15551 (mark_pool_constant): New function.
15552 (mark_varasm_state): New function.
15553
15554 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15555
15556 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
15557
15558 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15559
15560 * c-decl.c (struct language_function): Renamed from struct c_function.
15561 Delete elt NEXT.
15562 (c_function_chain): Delete.
15563 (push_c_function_context): New arg F. Don't warn about nested
15564 functions here. Fill LANGUAGE elt of F. Delete code to update
15565 c_function_chain. Don't call push_function_context.
15566 (pop_c_function_context): New arg F. Restore from there instead of
15567 from c_function_chain. Don't call pop_function_context. Clear out
15568 LANGUAGE field of F when done.
15569 * c-lang.c: Include "function.h"
15570 (lang_init): Initialize save_lang_status and restore_lang_status.
15571 * c-parse.in (nested_function, nested_function_notype): Warn about
15572 nested functions. Call push_function_context/pop_function_context
15573 instead of the _c_ variants.
15574 * c-tree.h (push_c_function_context, pop_c_function_context): Update
15575 prototype.
15576 * Makefile.in (c-lang.o): Update dependencies.
15577
15578 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
15579 regno_pointer_flag, regno_pointer_align.
15580 (gen_reg_rtx): Use xrealloc to enlarge them.
15581 (free_emit_status): New function.
15582 * function.c (mark_machine_status, mark_lang_status): New variables.
15583 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
15584 in some bits from assign_stack_local. All callers changed to use new
15585 name.
15586 (assign_stack_local): Just call assign_stack_local_1.
15587 (free_after_compilation): New function.
15588 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
15589 (trampoline_address): Likewise.
15590 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
15591 (prepare_function_start): Explicitly clear some more variables.
15592 * function.h (struct function): New elt can_garbage_collect.
15593 (mark_machine_status, mark_lang_status): Declare variables.
15594 (free_after_compilation, free_emit_status, free_varasm_status,
15595 init_varasm_status): Declare functions.
15596 * toplev.c (rest_of_compilation): Call free_after_compilation when
15597 done with the current function.
15598 * varasm.c (free_varasm_status): New function.
15599
15600 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
15601
15602 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
15603 (EXPAND_BUILTIN_VA_ARG): Define.
15604 * sparc.c (sparc_va_start): New.
15605 (sparc_va_arg): New.
15606
15607 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15608
15609 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
15610
15611 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15612
15613 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
15614
15615 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
15616
15617 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
15618 (OBJS): Add $(GGC).
15619 (ggc-callbacks.o): New target.
15620 * ggc-callbacks.c: New file.
15621
15622 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15623
15624 * expr.h: Collapse individual optab and libfunc vars to arrays.
15625 (optab_index, libfunc_index): New enumerations.
15626 (optab_table, libfunc_table): New arrays.
15627 Add accessor macros for both.
15628
15629 * optabs.c (optab_table, libfunc_table): New.
15630 Delete declarations for individual optab and libfunc vars.
15631
15632 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
15633
15634 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
15635
15636 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
15637
15638 * Makefile.in (GGC, GGC_LIB): New.
15639 (HOST_RTL): Include ggc-none.o.
15640 (ggc-simple.o): New target.
15641 (ggc-none.o): Likewise.
15642 * tree.h (tree_common): Add gc_mark.
15643 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
15644 (struct rtvec_def): Add gc_mark.
15645 * emit-rtl.c (global_rtl): Update static initializers to contain
15646 enough initializers.
15647 * ggc.h, ggc-none.c, ggc-simple.c: New files.
15648 * toplev.c (gc_time): New variable.
15649 (all_time): New variable.
15650 (compile_file): Print gc time.
15651 (print_time): Calculate percentage of the whole.
15652
15653 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15654
15655 Change obstack memory management and varasm constant pool handling so
15656 that nested functions are treated like any other functions.
15657 * function.c (init_machine_status): New variable.
15658 (push_function_context_to): Set contains_functions for the outer
15659 function. Don't call save_varasm_status.
15660 (pop_function_context_from): Don't call restore_varasm_status. Don't
15661 set current_function_contains_functions.
15662 (prepare_function_start): Call init_varasm_status rather than
15663 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
15664 is non-null.
15665 * function.h (struct function) Add field varasm. Delete fields
15666 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
15667 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
15668 (init_machine_status): Declare.
15669 (save_varasm_status, restore_varasm_status): Delete declarations.
15670 (save_tree_status, restore_tree_status): Delete last argument.
15671 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
15672 code. All callers changed.
15673 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
15674 save_constants_in_decl_trees, restore_constants, save_constants,
15675 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
15676 functions.
15677 (inlining): New variable.
15678 (reg_map, label_map, insn_map, orig_asm_operands_vector,
15679 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
15680 variables.
15681 (save_for_inline_nocopy): Don't save constants.
15682 Don't set inl_emit field in current_function.
15683 (expand_inline_function): Use emit field, not inl_emit, of the inlined
15684 function. Set new variable inlining before
15685 calling copy_rtx_and_substitute.
15686 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
15687 constant pool references if inlining is nonzero.
15688 Delete ADDRESS and (most of the) CONST cases.
15689 (output_inline_function): Save and restore current_function/
15690 current_function_decl. Delete restore_constants code. Don't call
15691 init_const_rtx_hash_table.
15692 * output.h (init_const_rtx_hash_table): Don't declare.
15693 * rtl.h (struct function): Declare.
15694 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
15695 * toplev.c (rest_of_compilation): Don't treat nested functions or
15696 functions containing them specially. Delete all code to deal with
15697 save_for_inline_copying.
15698 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
15699 inline_obstacks): Delete variables.
15700 (save_tree_status): Lose arg CONTEXT. All callers changed.
15701 Simply allocate a new function_maybepermanent_obstack for the new
15702 function, delete all the special cases.
15703 Don't save inline_obstacks.
15704 (restore_tree_status): Lose arg CONTEXT. All callers changed.
15705 Delete special handling for function_maybepermanent_obstack; simply
15706 free it if empty.
15707 Don't restore inline_obstacks.
15708 (permanent_allocation): Delete code that frees inline_obstacks.
15709 (print_inline_obstack_statistics): Delete function.
15710 (dump_tree_statistics): Don't call it.
15711 * varasm.c (struct varasm_status): New.
15712 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
15713 last_pool, pool_offset, const_double_chain): Delete global
15714 variables, replace with accessor macros.
15715 (immed_double_const): Don't walk const_double_chain outside a
15716 function, but don't treat nested functions specially anymore.
15717 (immed_real_const_1): Likewise.
15718 (clear_const_double_mem): Don't treat nested functions specially.
15719 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
15720 (save_varasm_status, restore_varasm_status): Delete functions.
15721 (init_varasm_status): New function.
15722 (force_const_mem): Don't treat nested functions specially.
15723 (find_pool_constant): Accept new arg F, search for constants in
15724 that function's pool rather than the current one. All callers
15725 changed.
15726 (get_pool_constant_for_function, get_pool_mode_for_function): New
15727 functions.
15728
15729 * i386.c (init_386_machine_status): New function, mostly from
15730 clear_386_stack_locals.
15731 (struct machine_functions): Rename element names to avoid name
15732 clashes.
15733 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
15734 macros, replacing global variables.
15735 (clear_386_stack_locals, save_386_machine_status,
15736 restore_386_machine_status): Delete functions.
15737 (override_options): Initialize init_machine_status.
15738 * i386.h (INIT_EXPANDERS): Delete macro.
15739 (save_386_machine_status, restore_386_machine_status,
15740 clear_386_stack_locals): Delete declarations.
15741
15742 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15743
15744 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
15745 (doloop_begin): Simplify pattern and use emit_jump_insn.
15746 (doloop_end): Simplify pattern, switch operand order,
15747 and use emit_jump_insn.
15748
15749 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
15750
15751 * function.h (struct function): Add new element LANGUAGE.
15752 (save_lang_status): Declare new variable.
15753 (restore_lang_status): Likewise.
15754 * function.c (save_lang_status): Define.
15755 (restore_lang_status): Likewise.
15756 (push_function_context_to): Call language-specific save function.
15757 (pop_function_context_from): Call language-specific restore function.
15758
15759 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
15760
15761 * i386.md (movsf_1): Check REG_P before use of REGNO.
15762 (movdf_1): Likewise.
15763 (movxf_1): Likewise.
15764 (extendsfdf2): Likewise.
15765 (extendsfxf2): Likewise.
15766 (extenddfxf2): Likewise.
15767
15768 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15769
15770 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
15771 constants into memory.
15772 (c4x_shiftable_constant): New function.
15773 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
15774 (c4x_shiftable_constant): Declare.
15775 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
15776 ashlqi3_noclobber): Add new patterns and associated splitters.
15777
15778 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
15779
15780 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
15781 * dwarf2out.c (dwarf2out_frame_init): Likewise.
15782 * final.c (shorten_branches): Likewise.
15783 * global.c (global_alloc): Likewise.
15784 * haifa-sched.c (build_control_flow): Likewise.
15785 * stmt.c (check_for_full_enumeration_handling): Likewise.
15786 (estimate_case_costs): Likewise.
15787
15788 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
15789
15790 * rtl.h (RTL_CHECKC2): Fix typo in last change.
15791
15792 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
15793
15794 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
15795 (recompute_reg_usage): Likewise.
15796 * rtlanal.c (find_regno_fusage): Likewise.
15797
15798 * rtl.c (rtl_check_failed_code1): New function.
15799 (rtl_check_failed_code2): New.
15800 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
15801 (RTL_CHECKC1, RTL_CHECKC2): New.
15802 (XC*): New accessor macros.
15803 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
15804 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
15805 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
15806 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
15807 (TRAP_*, RANGE_INFO_*): Likewise.
15808
15809 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15810
15811 * Makefile.in (tlink.o): Don't depend on toplev.h.
15812
15813 * collect2.c (c_file, o_file, export_file, import_file, ldout,
15814 output_file, nm_file_name, ldd_file_name, strip_file_name,
15815 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
15816 add_prefix, prefix_from_env, prefix_from_string, do_wait,
15817 fork_execute, maybe_unlink, add_to_list,
15818 extract_init_priority, write_list, dump_list,
15819 dump_prefix_list, write_list_with_asm, write_c_file,
15820 write_c_file_stat, write_c_file_glob, scan_prog_file,
15821 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
15822 ignore_library, extract_string, notice, dump_file, target_machine,
15823 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
15824 read_file, print_load_command): Constify a char*.
15825 (fdopen, error, fatal, fatal_perror): Don't prototype.
15826 (my_strerror): Remove. All callers use xstrerror instead.
15827 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
15828 (main): Add prototype. Constify lots of char* ptrs. Change calls
15829 to xcalloc/strcpy/strcat/... to one call to concat.
15830 (main, scan_prog_file, scan_libraries): Use an intermediate
15831 `const char **' to build an argv array.
15832 (mapfile, libselect, libcompare, locatelib): Add prototypes.
15833
15834 * collect2.h (collect_execute, collect_wait, dump_file,
15835 file_exists): Constify a char*.
15836 (ldout, c_file_name, temporary_obstack, permanent_obstack,
15837 temporary_firstobj, vflag, debug): Add extern declarations.
15838 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
15839
15840 * tlink.c: Don't include toplev.h.
15841 (vflag, debug, ldout, c_file_name, temporary_obstack,
15842 permanent_obstack, temporary_firstobj): Don't declare.
15843 (tlink_execute, frob_extension, symbol_hash_lookup,
15844 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
15845 recompile_files, read_repo_files, demangle_new_symbols,
15846 scan_linker_output): Constify a char*.
15847 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
15848 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
15849
15850 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
15851
15852 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
15853 (relative) rather than jsr (absolute) subroutine call insns.
15854 * config/m68k/m68k-coff.h: Ditto.
15855
15856 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
15857
15858 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
15859 now rework these too.
15860 (arm_reorg): If an insn can't reach the end of the current pool,
15861 ensure that we emit that pool before the insn.
15862
15863 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
15864
15865 * tlink.c (scan_linker_output): Skip the initial underscore in
15866 a mangled name if appropriate.
15867
15868 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15869
15870 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
15871 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
15872 error_with_ivar, gen_declarator, create_builtin_decl,
15873 my_build_string, generate_descriptor_table, generate_ivars_list,
15874 generate_dispatch_table, check_protocols, TAG_GETCLASS,
15875 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
15876 dump_base_name, lang_decode_option, build_encode_expr,
15877 start_class, finish_class, encode_pointer, really_start_method,
15878 gen_declaration, dump_interface, handle_class_ref, handle_impent):
15879 Constify.
15880 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
15881 Add static prototypes.
15882 (build_objc_string_decl, build_selector_reference_decl,
15883 encode_bitfield, build_class_reference_decl): Remove unused
15884 parameter, all callers changed.
15885 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
15886 (objc_printable_name): Likewise. Change second parameter to type int.
15887 (init_objc): Use memcpy, not bcopy, to avoid casts.
15888
15889 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
15890
15891 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
15892 reg notes on a deleted insn.
15893 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
15894
15895 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
15896
15897 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
15898
15899 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15900
15901 * stmt.c (expand_asm_operands): Fix index into inout_mode when
15902 reading it.
15903
15904 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
15905
15906 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
15907 * tm.texi (MD_ASM_CLOBBERS): Document it.
15908
15909 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
15910
15911 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
15912 * except.c (expand_rethrow): Remove unused variable.
15913 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
15914 * flow.c (replace_insns): Likewise.
15915 (create_edge_list, verify_edge_list): Likewise.
15916 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
15917
15918 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
15919 is special code to run.
15920 (main): Don't define operands to emit_operand.
15921 * genrecog.c (main): Don't emit an empty peephole2_insn function.
15922
15923 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
15924
15925 * alpha/alpha.h (normal_memory_operand): Declare.
15926 (reg_no_subreg_operand): Declare.
15927 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
15928
15929 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
15930
15931 * c-parse.in (compstmt_primary_start): New, broken out of first
15932 part of compstmt handling in primary.
15933 (primary): Use it. Add an error clause.
15934 (compstmt_nostart): Renamed from compstmt; remove all
15935 initial invocations of compstmt_start.
15936 (compstmt): New.
15937
15938 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
15939
15940 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
15941 needed.
15942
15943 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
15944
15945 * combine.c (simplify_shift_const): Remove extra semicolon.
15946 * dwarf2out.c (remove_AT): Likewise.
15947 * expmed.c (expand_mult): Likewise.
15948 * gcov.c (create_program_flow_graph): Likewise.
15949 * reorg.c (mostly_true_jump): Likewise.
15950
15951 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
15952
15953 * fold-const.c (fold_range_test): Do not try to fold the range
15954 test if the rhs or lhs has side effects.
15955
15956 * combine.c (simplify_rtx): Recognize another case of a synthesized
15957 sign extension.
15958
15959 * varasm.c (mark_constant_pool): When marking indirect references,
15960 only look at SYMBOL_REFs.
15961
15962 * except.c (expand_fixup_region_end): Do not peek at
15963 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
15964
15965 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
15966
15967 * flags.h: New variables align_loops, align_loops_log,
15968 align_jumps, align_jumps_log, align_labels, align_labels_log,
15969 align_functions, align_functions_log.
15970 * toplev.c: Define them.
15971 (f_options): Handle -falign-* when they have no argument.
15972 (main): Add logic to set variables for -falign-functions,
15973 -falign-jumps, -falign-labels, -falign-loops.
15974 Make it -fsched-verbose=<n> and -finline-limit=<n>.
15975 (display_help): Change help to match options.
15976 * final.c (LABEL_ALIGN): Default to align_labels_log.
15977 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
15978 (LOOP_ALIGN): Default to align_loops_log.
15979 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
15980 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
15981 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
15982 * varasm.c (assemble_start_function): Handle align_functions.
15983
15984 * config/sparc/sparc.h: Don't declare sparc_align_*.
15985 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
15986 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
15987 sparc.c.
15988 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
15989 it's a promise.
15990 * config/sparc/sparc.c: Delete sparc_align_loops,
15991 sparc_align_jumps, sparc_align_funcs and the corresponding string
15992 variables.
15993 (sparc_override_options): Default align_functions on ultrasparc.
15994 Delete -malign-* handling.
15995
15996 * config/mips/mips.c (override_options): On 64-bit targets,
15997 try to align code to 64-bit boundaries.
15998 (print_operand): New substitution, %~,
15999 which aligns labels to align_labels_log.
16000 * config/mips/mips.md (div_trap_normal): Use %~.
16001 (div_trap_mips16): Likewise.
16002 (abssi): Likewise.
16003 (absdi2): Likewise.
16004 (ffssi2): Likewise.
16005 (ffsdi2): Likewise.
16006 (ashldi3_internal): Likewise.
16007 (ashrdi3_internal): Likewise.
16008 (lshrdi3_internal): Likewise.
16009 (casesi_internal): Likewise.
16010
16011 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
16012
16013 Merge new ia32 backend from the branch!
16014
16015 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
16016 See ChangeLog.P2 on new_ia32_branch for details.
16017
16018 * rtl.h (stack_regs_mentioned_p): Delete prototype.
16019 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
16020 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
16021 * i386/gas.h (ASM_FILE_START): Define.
16022 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
16023 for name change of ix86_valid_decl_attribute_p.
16024 (i386_pe_valid_type_attribute_p): Similarly.
16025
16026 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
16027
16028 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
16029 to step through CC modes.
16030
16031 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16032
16033 * regmove.c (fixup_match_1): Don't move INSN in front of P if
16034 it would end up in the shadow of a live flags regsiter.
16035
16036 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16037
16038 * reload1.c: Fix many indentation problems.
16039 * reload.c: Likewise.
16040
16041 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
16042
16043 * alias.c (non_local_reference_p): Constify fmt.
16044
16045 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
16046
16047 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
16048
16049 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
16050
16051 * cse.c (delete_trivially_dead_insns): Do not delete stores to
16052 the internal_arg_pointer.
16053
16054 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
16055
16056 Merge peephole2 from new_ia32_branch:
16057 * Makefile.in (STAGESTUFF): Add *.peephole2.
16058 (mostlyclean): Likewise.
16059 (recog.o): Depend on resource.h.
16060
16061 * final.c (peephole): Conditionalize decl on HAVE_peephole.
16062 (final_scan_insn): Likewise for the invocation of peephole.
16063 * genconfig.c (main): Look for peephole and peephole2 patterns.
16064 Emit HAVE_peephole* accordingly.
16065 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
16066 * flags.h (flag_peephole2): Declare.
16067 * toplev.c: New pass peephole2. New flag -fpeephole2.
16068
16069 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
16070 * gencodes.c (main): Likewise.
16071 * genextract.c (main): Likewise.
16072 * genoutput.c (main): Likewise.
16073 * genemit.c (max_operand_1): Look for the max scratch operand.
16074 (gen_rtx_scratch): New.
16075 (gen_exp): Use it, and pass on new arg subroutine_type.
16076 (gen_expand): Take max scratch into account.
16077 (gen_split): Emit peephole2 functions.
16078 (output_peephole2_scratch): New.
16079 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
16080 * genrecog.c (routine_type): Add PEEPHOLE2.
16081 (IS_SPLIT): New.
16082 (make_insn_sequence): Match outer parallel for peep2. Discard
16083 top level scratches and dups.
16084 (add_to_sequence): New args insn_type and top. Update all callers.
16085 Handle toplevel peep2 matching insns.
16086 (write_subroutine): Handle peep2.
16087 (write_tree_1): Likewise.
16088 (write_tree): Likewise.
16089 (main): Likewise.
16090 (change_state): New arg afterward. Update all callers.
16091 Handle matching separate insns.
16092 * recog.c (recog_next_insn): New.
16093 (peephole2_optimize): New.
16094 * rtl.def (DEFINE_PEEPHOLE2): New.
16095 * resource.c (find_free_register): New argument last_insn. Use it
16096 to find a register available through the entire span.
16097 * resource.h (find_free_register): Update prototype.
16098
16099 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
16100
16101 * i386.c (output_strlen_unroll): Don't write xops[7]
16102 label if it wasn't set.
16103
16104 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
16105
16106 * cpplib.c (struct directive): Const-ify name pointer and
16107 function pointer prototype.
16108 (validate_else, do_define, do_line, do_include, do_undef,
16109 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
16110 do_elif, do_endif, do_sccs, do_assert, do_unassert,
16111 do_warning): Const-ify second arg.
16112 (directive_table): Mark const. Reorder entries by frequency
16113 of usage, record statistics.
16114
16115 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
16116
16117 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
16118 bounds- check RTL accesses if --enable-checking.
16119 (RTVEC_ELT): Bounds check if --enable-checking.
16120 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
16121 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
16122 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
16123 GET_NUM_ELEM.
16124 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
16125 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
16126
16127 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
16128 (NOTE_SOURCE_FILE): Use X0STR.
16129 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
16130 MEM_ALIAS_SET): Use X0INT.
16131 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
16132 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
16133 Use X0EXP.
16134 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
16135 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
16136 (rtl_check_failed_bounds, rtl_check_failed_type1,
16137 rtl_check_failed_type2, rtvec_check_failed_bounds): New
16138 functions.
16139 (fancy_abort): Fix comment.
16140
16141 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
16142 (cse_insn): Decrement LABEL_NUSES for jump target before
16143 deleting jump insn.
16144 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
16145 * final.c (alter_subreg): Compute regno before changing x to
16146 REG; set REGNO(x) after changing it.
16147 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
16148 notes containing CONST_INTs.
16149 (delete_eh_regions): Use NOTE_EH_HANDLER.
16150 * function.c (put_reg_into_stack): Make reg a MEM before
16151 initializing it.
16152 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
16153 delete insn.
16154 (gen_mem_addressof): Make reg a MEM before initializing it.
16155 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
16156 X0WINT.
16157 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
16158 deleting an insn, not after.
16159 (block_alloc): Only look at PATTERN(insn) if we have to, and
16160 only if it's format class 'i'.
16161 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
16162 CONST_INT before using its INTVAL.
16163 * print-rtl.c (print_rtx): Use X0STR.
16164 * regmove.c (fixup_match_1): Don't look at PATTERN of
16165 non-class-'i' insn chain elements.
16166 * reload.c (loc_mentioned_in_p): Take address of
16167 in->fld[1].rtx directly.
16168 * reload1.c (reload): Change reg to a MEM before initializing
16169 it.
16170 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
16171 have no names.
16172 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
16173
16174 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
16175
16176 * config/mips/mips.c (machine_dependent_reorg): Force a
16177 barrier to output the local constant pool if a barrier hasn't
16178 been found at a natural point in the instruction stream.
16179
16180 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16181
16182 * c-parse.in (language_string): Constify.
16183
16184 * dwarf2out.c (language_string): Remove declaration.
16185
16186 * dwarfout.c (language_string): Likewise.
16187
16188 * toplev.c (language_string, init_parse, finish_parse): Likewise.
16189
16190 * tree.h (language_string, init_parse, finish_parse): Declare.
16191
16192 * i386/sun386.h (language_string): Remove declaration.
16193
16194 * mips.h (language_string): Likewise.
16195
16196 * nextstep.h (language_string): Likewise.
16197
16198 * nextstep21.h (language_string): Likewise.
16199
16200 * rs6000.c (language_string): Likewise.
16201
16202 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16203
16204 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
16205 (getpwd.o): Remove target.
16206
16207 * getpwd.c: Delete file. Its in libiberty now.
16208
16209 * dbxout.c (getpwd): Don't prototype.
16210 * dwarf2out.c (getpwd): Likewise
16211 * dwarfout.c (getpwd): Likewise
16212 * final.c (getpwd): Likewise.
16213 * protoize.c (getpwd): Likewise.
16214
16215 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16216
16217 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
16218
16219 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
16220
16221 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
16222 mark_set_resources.
16223
16224 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
16225
16226 * fixinc/Makefile.in (subdir): New.
16227 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
16228 (Makefile): New.
16229
16230 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
16231
16232 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
16233 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
16234 be shared.
16235
16236 * invoke.texi: Fix typo.
16237
16238 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
16239 changed. Handle autoincrement addressing modes.
16240
16241 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
16242 just like we would the virtual incoming args register when
16243 integrating.
16244
16245 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
16246
16247 * rs6000.h (ASM_FILE_START): Specify complete filename, including
16248 path, in .file directive.
16249
16250 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
16251
16252 * gcc.texi (External Bugs): Remove obsolete note about Perl on
16253 SunOS.
16254
16255 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
16256
16257 * stdbool.h: Make the typedef name _Bool, with bool a #defined
16258 alias.
16259
16260 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16261
16262 * tree.c (tree_code_name): Constify a char*.
16263
16264 * tree.h (tree_code_name, decl_printable_name): Likewise.
16265
16266 * function.h (struct function): Likewise.
16267
16268 * toplev.c (decl_name, decl_printable_name): Likewise.
16269
16270 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
16271
16272 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
16273 (init_objc): Remove function pointer cast.
16274
16275 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
16276
16277 * pa.md (interspace_jump): New pattern.
16278 (builtin_longjmp): New expander.
16279
16280 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
16281
16282 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
16283 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
16284 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
16285
16286 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
16287
16288 * jump.c (delete_prior_computation): Also check calls
16289 to constant functions. Don't bother checking for a
16290 REG_UNUSED note before adding it.
16291 (delete_computation): Handle multi-word hard registers
16292 when synthesizing missing REG_DEAD notes for a register
16293 which is both set and used by an insn.
16294
16295 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16296
16297 * loop.c (this_loop_info): New variable.
16298 (loop_has_call, loop_has_volatile, loop_has_tablejump,
16299 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
16300 All uses updated.
16301 (prescan_loop, strength_reduce): New argument loop_info. All callers
16302 updated.
16303 (scan_loop): New variable loop_info, initialise to address of
16304 this_loop_info.
16305 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
16306 Delete variable loop_has_multiple_exit targets and replace with
16307 field in this_loop_info.
16308 (find_and_verify_loops): Rename this_loop to this_loop_num.
16309 (strength_reduce): Delete loop_iteration_info. Replace variable
16310 loop_info with function argument of same name.
16311 (insert_bct): Rework test for loop being completely unrolled.
16312
16313 * loop.h (struct loop_info): New fields num, loops_enclosed,
16314 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
16315 has_indirect_jump, and cont. Redefine use of unroll_number.
16316 (loop_unroll_number): Delete.
16317
16318 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
16319 field of loop_info.
16320 (loop_iterations): Delete variable vtop and instead use
16321 loop_info->vtop computed in prescan_loop.
16322
16323 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
16324
16325 * fix-header.c (main): Do not pass a null pointer to strcmp.
16326
16327 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
16328
16329 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
16330 filenames.
16331 * configure: Rebuilt.
16332
16333 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
16334
16335 * jump.c (jump_optimize_1): Do not delete assignments to
16336 internal_arg_pointer.
16337 * cse.c (delete_trivially_dead_insns): Always consider a set of
16338 the internal_arg_pointer live.
16339
16340 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
16341
16342 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
16343 (update_life_info) [REG_WAS_0]: Search the original insns rather
16344 than the new insns for the note. Fix typos finding note_dest.
16345 If no dest found, discard the note rather than abort.
16346 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
16347 (replace_insns): Remove the old insn list after update_life_info
16348 not before.
16349
16350 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
16351
16352 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
16353 sched_analyze_insn.
16354 (sched_analyze_1): Let add_dependence care for not adding dups.
16355 (sched_analyze_2): Likewise.
16356 (add_branch_dependences): Likewise.
16357
16358 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
16359
16360 * i386/winnt.c (export_list): New type.
16361 (exports_head): Rename to
16362 (export_head): this.
16363 (i386_pe_record_exported_symbol): Add is_data flag.
16364 (i386_pe_asm_file_end): Emit directive for exported variables.
16365 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
16366 prototype.
16367 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
16368 (ASM_DECLARE_OBJECT_NAME): Likewise.
16369 (ASM_DECLARE_FUNCTION_NAME): Likewise.
16370 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
16371
16372 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
16373
16374 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
16375
16376 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
16377 operand.
16378
16379 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
16380
16381 * config/openbsd.h: Define SET_ASM_OP.
16382 * tm.texi: cross-reference SET_ASM_OP in the index.
16383
16384 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
16385
16386 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
16387 for a CONST_DOUBLE, at compile time. Initialize rtx_length
16388 and class_narrowest_mode at compile time. Kill init_rtl.
16389 Mark rtx_length, mode_class, mode_size, mode_unit_size,
16390 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
16391 rtx_format as const. Kill all references to EXTRA_CC_MODES or
16392 EXTRA_CC_NAMES.
16393 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
16394 format.
16395 * rtl.h: Declare rtx_length and rtx_format as const.
16396 * machmode.def: Define CC(). Use CC() to define CCmode. If
16397 EXTRA_CC_MODES is defined, expand it here.
16398 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
16399 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
16400 const. Kill all references to EXTRA_CC_MODES.
16401
16402 * toplev.c: Don't prototype or call init_rtl.
16403 * optabs.c: Don't call init_mov_optab.
16404 * genemit.c: Don't generate init_mov_optab. Don't call
16405 init_rtl.
16406 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
16407 here.
16408 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
16409 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
16410 genrecog.c: Don't call init_rtl.
16411
16412 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
16413 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
16414 definition of EXTRA_CC_MODES.
16415
16416 * md.texi: Kill ref to EXTRA_CC_NAMES.
16417 * tm.texi: Document new way to define EXTRA_CC_MODES.
16418
16419 * genrecog.c: Do not look up the name of a define_split.
16420 (Unrelated bugfix.)
16421
16422 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
16423
16424 * config/v850/v850.md: Fix typo introduced by previous delta.
16425
16426 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16427
16428 * gcc.c (fatal): Make definition static to match prototype.
16429
16430 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16431
16432 * combine.c (get_last_value): Don't look for earlier sets if the last
16433 known set is somewhere in between the insns being combined.
16434
16435 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
16436
16437 * configure.in: Don't use shell ! to negate exit codes
16438 * configure: Regenerate
16439
16440 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
16441
16442 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
16443 the fact that ALIGN is measured in bits, not bytes.
16444
16445 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
16446
16447 * errors.c: New file; defines functions error, warning, and
16448 fatal, variables have_error and progname.
16449 * errors.h: New file; prototypes and decls for stuff in errors.c.
16450
16451 * Makefile: Add rules to build errors.o and
16452 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
16453 genopinit, genrecog, genextract, genpeep, genattr, and
16454 genoutput with errors.o. Add errors.h to deps of genconfig.o,
16455 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
16456 genpeep.o, genattr.o, and genoutput.o.
16457
16458 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
16459 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
16460 define or prototype fatal. Set progname at beginning of main.
16461 * genoutput.c: Likewise, and don't define or prototype error
16462 either.
16463
16464 * c-typeck.c (c_expand_start_case): Return immediately if exp
16465 is an ERROR_MARK.
16466 * fold-const.c (operand_equal_p): Return immediately if arg1
16467 or arg0 are ERROR_MARKs.
16468 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
16469 fields of type ERROR_MARK when calculating if the record can
16470 go in a register.
16471
16472 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
16473 with much help from Jeffrey A Law and Richard Henderson
16474
16475 * i386.md: In the 6 insns which call output_fix_trunc,
16476 earlyclobber operands[0].
16477
16478 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
16479
16480 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
16481 creating new registers.
16482
16483 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
16484
16485 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
16486 i386_reg_alloc_order, i386_regparm_string,
16487 i386_align_loops_string, i386_align_jumps_string,
16488 i386_align_funcs_string, i386_preferred_stack_boundary_string,
16489 and i386_branch_cost_string as type "const char *".
16490 * i386.c: Define all above strings as type "const char *".
16491
16492 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
16493
16494 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
16495 when emitting alignment padding. Emit padding byte of 0 instead of 4.
16496
16497 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
16498
16499 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
16500 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
16501
16502 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
16503
16504 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
16505 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
16506 (dwarf2out_line, dwarf2out_finish): Likewise.
16507 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
16508
16509 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
16510
16511 * tree.c (lang_unsave_expr_now) : Correct return type.
16512 * tree.h (lang_unsave_expr_now) : Same.
16513
16514 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
16515
16516 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
16517 instead of duplicating code.
16518
16519 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16520
16521 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
16522
16523 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
16524
16525 * tree.h: fancy_abort always takes three args.
16526 * resource.c: Move include of system.h before toplev.h.
16527
16528 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
16529
16530 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
16531 as SYMBOL_REFs.
16532
16533 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
16534
16535 * system.h: Don't redefine abort or trim_filename.
16536 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
16537 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
16538 whether or not __FUNCTION__ is available.
16539 * tree.h: Duplicate rtl.h's definition of abort, for files
16540 that don't include rtl.h. Delete all code to perform type
16541 checking with a compiler other than GCC.
16542 * varray.h: Delete all code to perform type checking with a
16543 compiler other than GCC. Make VARRAY_CHECK() always evaluate
16544 its arguments exactly once, using a statement expression.
16545 Adjust the VARRAY_<type> accessor macros to match.
16546 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
16547 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
16548 caller's location. Define fatal_insn and fatal_insn_not_found
16549 as macros that use _fatal_insn and _fatal_insn_not_found.
16550 (fancy_abort, trim_filename): Kill prototypes.
16551
16552 * rtl.c (trim_filename): Move here from toplev.c.
16553 (fancy_abort): New function.
16554 (DIR_SEPARATOR): Provide default definition.
16555 * tree.c (tree_check_failed, tree_class_check_failed): Go
16556 through fancy_abort.
16557 (tree_check, tree_class_check, cst_or_constructor_check,
16558 expr_check): Delete.
16559 * varray.c (varray_check_failed): New function.
16560 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
16561 _fatal_insn and _fatal_insn_not_found. Go through
16562 fancy_abort.
16563 (trim_filename, fancy_abort): Delete.
16564
16565 * builtins.c (expand_builtin_args_info): Report ICE with abort.
16566 * except.c (start_catch_handler): Report ICE with error/abort
16567 combo.
16568 * final.c (output_operand_lossage): Likewise.
16569 * flow.c (verify_flow_info): Likewise.
16570
16571 * gcc.c: Prototype fatal.
16572 * gengenrtl.c: Undef abort after including rtl.h not system.h.
16573 * genattr.c, genattrtab.c, genemit.c, genextract.c,
16574 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
16575 Don't define fancy_abort.
16576
16577 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
16578
16579 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
16580 canonization.
16581
16582 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
16583
16584 * m88k.h (VERSION_INFO2): Kill.
16585 (VERSION_STRING): Kill.
16586 (TM_RCS_ID): Kill.
16587 (VERSION_INFO1): Tidy.
16588 (TARGET_VERSION): Update.
16589 * m88k/dgux.h (VERSION_INFO2): Kill.
16590 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
16591 * m88k/luna.h (VERSION_INFO1): Tidy.
16592 * m88k/sysv4.h (VERSION_INFO1): Likewise.
16593 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
16594 (output_file_start): Adjust for death of VERSION_STRING.
16595
16596 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
16597
16598 * cpplib.c (detect_if_not_defined): New function.
16599 (do_if): Use it to detect potential once-only headers.
16600
16601 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
16602
16603 * c-common.c (combine_strings): Always set TREE_CONSTANT.
16604
16605 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
16606
16607 * combine.c (nonzero_bits) : Allow single-ly set registers to be
16608 anywere in the function only if they are pseudos and set before
16609 being used (not live at the start of the function).
16610 (num_sign_bit_copies) : Same.
16611 (get_last_value_validate) : Same.
16612 (get_last_value) : Same.
16613
16614 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
16615
16616 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
16617 where N and M are constant and N is an integer multiple of M.
16618
16619 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16620
16621 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
16622 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
16623 sbitmap_union_of_preds): Add prototypes.
16624 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
16625 the intersection of successors with the new flow graph structures.
16626 (sbitmap_intersection_of_preds): New function to compute the
16627 intersection of predecessors with the new flow graph structures.
16628 (sbitmap_union_of_succs): New function to compute the union of
16629 successors with the new flow graph structures.
16630 (sbitmap_union_of_preds): New function to compute the union of
16631 predecessors with the new flow graph structures.
16632 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
16633 (expr_reaches_here_p): Use edge and basic_block structures instead
16634 of s_preds and s_succs.
16635 (compute_cprop_avinout): Use new sbitmap routines.
16636 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
16637 of s_preds and s_succs.
16638 * flow.c (compute_flow_dominators): Compute dominators using
16639 edges and basic blocks instead of s_preds and s_succs.
16640
16641 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
16642
16643 * lists.c (unused_insn_list, unused_expr_list): New file for
16644 maintaining various types of lists. New statics for maintaining a
16645 cache of available INSN_LIST and EXPR_LIST nodes.
16646 (free_list): Static function for freeing a list of INSN/EXPR nodes.
16647 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
16648 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
16649 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
16650 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
16651 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
16652 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
16653 (free_INSN_LIST_node): Free an individual INSN_LIST node.
16654 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
16655 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
16656 (remove_dependence, free_pending_lists): Use new global routines.
16657 (flush_pending_lists, sched_analyze_insn): Use new global routines.
16658 (sched_analyze, compute_block_backward_dependences): Use new routines.
16659 (sched_analyze_1, sched_analyze_2): Use new routines.
16660 (schedule_insns): Use new global routines.
16661 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
16662 prototypes.
16663 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
16664 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
16665 prototypes.
16666 * toplev.c (rest_of_compilation): Initialize node cache.
16667 * Makefile.in (OBJS): Add lists.o to list of object files.
16668 (lists.o): Add dependancies.
16669
16670 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
16671
16672 * config/v850/v850.md: Fix compile time warning messages.
16673 * config/v850/v850.c: Fix compile time warning messages.
16674 * config/v850/v850.h: Fix compile time warning messages.
16675
16676 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16677
16678 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
16679 Remove unused prototype for `init_lengths'.
16680
16681 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16682
16683 * calls.c (emit_call_1): Mark parameter `stack_size' with
16684 ATTRIBUTE_UNUSED.
16685 (expand_call): Initialize variable `insn'.
16686 (emit_library_call): Likewise for variable `high_to_save'.
16687 (emit_library_call_value): Likewise.
16688 (store_one_arg): Likewise for variables `lower_bound' and
16689 `upper_bound'.
16690
16691 * combine.c (try_combine): Likewise for variables `i2_code_number'
16692 and `other_code_number'.
16693 (find_split_point): Likewise for variables `pos', `unsignedp' and
16694 `inner'.
16695 (simplify_if_then_else): Likewise for variables `op' and `c1'.
16696 (simplify_and_const_int): Remove unused variable `width'.
16697 (merge_outer_ops): Likewise.
16698
16699 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
16700 HOST_WIDE_INT' when comparing against one.
16701 (simplify_relational_operation): Likewise.
16702 (cse_insn): Initialize variables `src_eqv_volatile',
16703 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
16704
16705 * final.c (init_final): Constify parameter `filename'.
16706 (final_start_function): Mark parameter `optimize' with
16707 ATTRIBUTE_UNUSED.
16708 (profile_function): Likewise for parameters `first' and `optimize'.
16709 (output_source_line): Likewise for parameter `file'.
16710
16711 * integrate.c (subst_constants): Cast a value to `size_t' when
16712 comparing against one.
16713 (mark_stores): Initialize variable `mode'. Cast a value to
16714 `size_t' when comparing against one.
16715
16716 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
16717
16718 * loop.c (move_movables): Initialize variable `first'.
16719 (strength_reduce): Likewise for variable `increment'.
16720 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
16721 value to `size_t' when comparing against one.
16722 (load_mems): Initialize variable `end_label'.
16723
16724 * output.h (init_final): Constify parameter.
16725
16726 * reload.c (decompose): Initialize variable `base'.
16727
16728 * reload1.c (reload): Likewise for variable `is_scalar'.
16729 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
16730 (choose_reload_regs): Initialize variable `mode'.
16731 (emit_reload_insns): Likewise for variable `store_insn'.
16732 (reload_cse_noop_set_p): Mark parameter `insn' with
16733 ATTRIBUTE_UNUSED.
16734 (reload_combine): Initialize variable `set'.
16735
16736 * unroll.c (unroll_loop): Likewise for variable `local_label'.
16737 (copy_loop_body): Cast a value to `size_t' when comparing against
16738 one.
16739
16740 * varasm.c (assemble_variable): Initialize variable `size_tree'.
16741 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
16742 (remove_from_pending_weak_list): Mark parameter `name' with
16743 ATTRIBUTE_UNUSED.
16744
16745 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16746
16747 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
16748 gcse dump file.
16749
16750 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
16751
16752 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
16753 (ASM_DECLARE_FUNCTION_NAME): Define.
16754 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
16755 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
16756 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
16757 not already defined.
16758
16759 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
16760
16761 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
16762 of n_popped when call/call_value are not defined.
16763
16764 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
16765
16766 * tm.texi: GNU CC -> GCC conversion.
16767 (CC1_SPEC): Indicate it is used for all language front ends.
16768
16769 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
16770
16771 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
16772 NOTE_INSN_EH_REGION_END correctly.
16773
16774 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
16775 Jeff Law <law@cygnus.com>
16776
16777 * loop.c (strength_reduce): Automatically unroll loops if the
16778 unrolled loop size is smaller than the rolled loop size.
16779
16780 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
16781 and delete comment that code should be rewritten.
16782
16783 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
16784
16785 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
16786 as reachable.
16787
16788 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
16789
16790 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
16791
16792 * fixinc/mkfixinc.sh: Don't fix uwin headers.
16793 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
16794 (LINK_SPEC): Add -u _main when building executables.
16795 (ASM_DECLARE_FUNCTION): Update from Cygwin.
16796 (ASM_FILE_END): Use the default for ix86-pe.
16797 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
16798
16799 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
16800
16801 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
16802 and ASM_CLOSE_PAREN are empty strings.
16803
16804 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
16805 Geoffrey Keating <geoffk@cygnus.com>
16806
16807 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
16808 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
16809 (unprotoize.o): Ditto.
16810 (test-protoize-simple): Don't define STD_PROTO_DIR.
16811 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
16812 changes to make 'test-protoize-simple' pass.
16813 (STD_PROTO_DIR): Remove define.
16814 (STANDARD_EXEC_PREFIX): Supply default define.
16815 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
16816 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
16817 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
16818 (GET_ENV_PATH_LIST): New macro.
16819 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
16820 (do_processing): Initialize default_syscalls_dir using new
16821 macros. Use it to initialize syscalls_absolute_filename.
16822
16823 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
16824
16825 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
16826 B into a register before emit_conditional_move.
16827
16828 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
16829
16830 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
16831 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
16832 multiplicand out of (+ (* a b) (* c d)).
16833
16834 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
16835 Richard Henderson <rth@cygnus.com>
16836
16837 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
16838 (new_insn_dead_notes): Likewise.
16839 (update_n_sets): Likewise.
16840 (update_flow_info): Move to flow.c, renamed to update_life_info;
16841 extend to handle multiple source insns.
16842 * flow.c: Include resource.h
16843 (unlink_insn_chain): New.
16844 (split_hard_reg_notes): New.
16845 (maybe_add_dead_note): New.
16846 (maybe_add_dead_note_use): New.
16847 (find_insn_with_note): New.
16848 (new_insn_dead_notes): New.
16849 (update_n_sets): New.
16850 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
16851 (maybe_remove_dead_notes): New.
16852 (update_life_info): New.
16853 (prepend_reg_notes): New.
16854 (replace_insns): New.
16855 * output.h (update_life_info): Declare.
16856 * recog.c (split_block_insns): Use update_life_info.
16857 * resource.c (find_free_register): Use reg_alloc_order, don't use
16858 fixed regs, make sure the mode is supported, don't use new regs.
16859 (reg_dead_p): New.
16860 * rtl.h (replace_insns): Declare.
16861
16862 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
16863
16864 * expr.c (expand_expr): Cope with COND_EXPRs with one
16865 non-returning branch.
16866
16867 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
16868
16869 * expr.c (store_expr): Always pass down the target, even when not
16870 doing CSE.
16871
16872 1999-08-24 Nick Clifton <nickc@cygnus.com>
16873
16874 * configure.in: Define target_cpu_default for v850 targets.
16875 * configure: Regenerate
16876
16877 * config/v850/v850.h (TARGET_CPU_generic): Define.
16878 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
16879 addresses are 4 byte aligned.
16880
16881 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
16882 addresses.
16883
16884 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16885
16886 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
16887 (main): Add prototypes.
16888
16889 * genattrtab.c (substitute_address, write_const_num_delay_slots,
16890 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
16891 (write_attr_get): Emit prototypes along with function definition.
16892 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
16893 (write_complex_function): Emit static prototype along with
16894 function definition.
16895
16896 * genemit.c (gen_split): Emit prototypes along with function
16897 definition.
16898
16899 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
16900 Likewise for predicates and `insn_operand_predicate'.
16901 (process_template): Emit static prototype along with function
16902 definition.
16903
16904 * genrecog.c (make_insn_sequence): Constify a char*. Add
16905 prototypes for get_split_*().
16906 (write_subroutine): Emit prototypes along with function
16907 definition.
16908
16909 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16910
16911 * gcse.c (find_avail_set): Follow chains of register-register copies.
16912 Use oprs_not_set_p to guarantee that the returned value can be
16913 substituted.
16914 (cprop_insn): Don't verify the return value of find_avail_set with
16915 oprs_not_set_p.
16916
16917 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
16918 (cprop_cc0_jump): New function.
16919 (cprop_insn): Break out new function cprop_jump and use it.
16920 Also use cprop_cc0_jump for machines with CC0.
16921 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
16922
16923 * tree.h (current_function_calls_setjmp,
16924 current_function_calls_longjmp): Delete declarations.
16925 * dsp16xx.c: Include "function.h".
16926 * elxsi.c: Likewise.
16927 * gmicro.c: Likewise.
16928 * h8300.c: Likewise.
16929 * i370.c: Likewise.
16930 * m32r.c: Likewise.
16931 * mn10200.c: Likewise.
16932 * mn10300.c: Likewise.
16933 * ns32k.c: Likewise.
16934 * spur.c: Likewise.
16935 * v850.c: Likewise.
16936
16937 * rtl.h (rtx_equal_function_value_matters): Declare.
16938 * toplev.c (rtx_equal_function_value_matters): Don't declare.
16939 * cse.c: Likewise.
16940 * function.c: Likewise.
16941 * emit-rtl.c: Likewise.
16942
16943 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
16944
16945 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
16946 call.
16947
16948 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16949
16950 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
16951 exactly.
16952
16953 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
16954
16955 * cpp.texi: Add a node documenting macro varargs (copied
16956 from extend.texi).
16957
16958 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
16959
16960 * cppspec.c: Put a null pointer at the end of the new argv.
16961
16962 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
16963
16964 * configure.in: Remove code to select/de-select the haifa
16965 scheduler. Every scheduled port gets haifa now.
16966 * configure: Rebuilt.
16967 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
16968 * sched.c Deleted.
16969 * Makefile.in: Corresponding changes.
16970
16971 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16972
16973 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
16974 All callers changed.
16975 (prepare_float_lib_cmp): Likewise.
16976 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
16977 * expr.h (emit_float_lib_cmp): Delete declaration.
16978 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
16979 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
16980 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
16981 specially.
16982 (cmptf): Now conditional on TARGET_HARD_QUAD.
16983
16984 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
16985
16986 * resource.c (mark_target_live_regs): Use
16987 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
16988
16989 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16990
16991 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
16992
16993 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
16994
16995 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
16996
16997 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16998
16999 * rtl.h (rtx_format): Constify a char*.
17000
17001 * rtl.c (rtx_format): Likewise.
17002 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
17003 (init_rtl): Use accessor macro, not `rtx_format'.
17004
17005 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
17006 char*.
17007
17008 * caller-save.c (mark_referenced_regs): Likewise.
17009
17010 * combine.c (subst, make_compound_operation, known_cond,
17011 gen_rtx_combine, update_table_tick, get_last_value_validate,
17012 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
17013
17014 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
17015 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
17016 count_reg_usage): Likewise.
17017
17018 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
17019 Likewise.
17020
17021 * final.c (leaf_renumber_regs_insn): Likewise.
17022
17023 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
17024 dump_edge_info, count_reg_references): Likewise.
17025
17026 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
17027 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
17028 Likewise.
17029
17030 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
17031 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
17032 add_label_notes): Likewise.
17033
17034 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
17035 clear_struct_flag, count_sub_rtxs, count_alternatives,
17036 compares_alternatives_p, contained_in_p, walk_attr_value,
17037 write_expr_attr_cache): Likewise.
17038
17039 * genconfig.c (walk_insn_part): Likewise.
17040
17041 * genemit.c (max_operand_1, gen_exp): Likewise.
17042
17043 * genextract.c (walk_rtx): Likewise.
17044
17045 * genflags.c (num_operands): Likewise.
17046
17047 * genoutput.c (scan_operands): Likewise.
17048
17049 * genpeep.c (match_rtx): Likewise.
17050
17051 * genrecog.c (add_to_sequence): Likewise.
17052
17053 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
17054 Likewise.
17055
17056 * integrate.c (save_constants, copy_for_inline,
17057 copy_rtx_and_substitute, subst_constants, restore_constants):
17058 Likewise.
17059
17060 * jump.c (mark_jump_label, invert_exp, redirect_exp,
17061 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
17062
17063 * local-alloc.c (contains_replace_regs, memref_referenced_p):
17064 Likewise.
17065
17066 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
17067 add_label_notes, replace_call_address, count_nonfixed_reads,
17068 invariant_p, find_single_use_in_loop, find_mem_givs,
17069 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
17070 Likewise.
17071
17072 * print-rtl.c (reg_names, print_rtx): Likewise.
17073
17074 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
17075
17076 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
17077 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
17078 print_blocks): Likewise.
17079
17080 * regclass.c (fix_register, record_address_regs,
17081 reg_scan_mark_refs): Likewise.
17082
17083 * regmove.c (stable_but_for_p): Likewise.
17084
17085 * reload.c (loc_mentioned_in_p, operands_match_p,
17086 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
17087 copy_replacements, refers_to_regno_for_reload_p,
17088 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
17089 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
17090 Likewise.
17091
17092 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
17093 delete_address_reloads_1, count_occurrences,
17094 reload_cse_mem_conflict_p, reload_combine_note_use,
17095 add_auto_inc_notes): Likewise.
17096
17097 * resource.c (mark_referenced_resources, mark_set_resources):
17098 Likewise.
17099
17100 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
17101 reg_mentioned_p, regs_set_between_p, modified_between_p,
17102 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
17103 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
17104 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
17105 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
17106
17107 * sched.c (sched_analyze_2, attach_deaths): Likewise.
17108
17109 * stupid.c (stupid_mark_refs): Likewise.
17110
17111 * unroll.c (remap_split_bivs): Likewise.
17112
17113 * varasm.c (mark_constants): Likewise.
17114
17115 * a29k/a29k.c (uses_local_reg_p): Likewise.
17116
17117 * alpha/alpha.c (summarize_insn): Likewise.
17118
17119 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
17120 eliminate_lr2ip): Likewise.
17121
17122 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
17123
17124 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
17125 reg_mentioned_in_mem): Likewise.
17126
17127 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
17128 symbolic_reference_mentioned_p): Likewise.
17129
17130 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
17131
17132 * sh/sh.c (regs_used, mark_use): Likewise.
17133
17134 * vax/vax.c (vax_rtx_cost): Likewise.
17135
17136 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17137
17138 * machmode.h (mode_name): Constify a char*.
17139
17140 * rtl.c (mode_name): Likewise.
17141
17142 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
17143
17144 * optabs.c (init_libfuncs): Constify a char*.
17145
17146 * print-tree.c (mode_name): Remove redundant declaration.
17147 (print_node): Use accessor macro, not `mode_name'.
17148
17149 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
17150 not `mode_name'.
17151 (new_spill_reg): Constify a char*.
17152
17153 * tree.c (mode_name): Remove redundant declaration.
17154
17155 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17156
17157 * rtl.c (rtx_name): Constify a char*.
17158
17159 * rtl.h (rtx_name, fix_sched_param): Likewise.
17160
17161 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
17162 (mypr): Use accessor macro, not `rtx_name'.
17163
17164 * genemit.c (print_code): Constify a char*.
17165
17166 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
17167
17168 * genpeep.c (print_code): Constify a char*.
17169
17170 * genrecog.c (print_code): Likewise.
17171
17172 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
17173 end_bb): Add static prototype.
17174 (draw_edge): Constify a char*.
17175 (end_bb): Remove unused parameter.
17176
17177 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
17178 print_block_visualization): Constify a char*.
17179
17180 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
17181
17182 * c-common.c (c_get_alias_set): Update comment.
17183
17184 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
17185
17186 * linux.h (LIB_SPEC): Added.
17187
17188 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17189
17190 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
17191
17192 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
17193
17194 * tree.c (expr_check): Fix typo in last change.
17195
17196 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
17197
17198 * rtl.def (NOTE): Change format to "iuu0n".
17199 (ADDR_DIFF_VEC): Change format to "eEee0".
17200 (ADDRESSOF): Change format to "eit".
17201
17202 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
17203 (RTVEC_ELT): Change to match.
17204 (XVECEXP): Use XVEC and RTVEC_ELT.
17205 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
17206 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
17207 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
17208 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
17209 TRAP_CONDITION, TRAP_CODE): Use XEXP.
17210 (INTVAL): Use XWINT.
17211 (ADDRESSOF_DECL): Use XTREE.
17212 (SET_ADDRESSOF_DECL): Delete.
17213 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
17214 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
17215 ifdefed out since 2.6 at least.
17216 (gen_rtvec_vv): Delete prototype.
17217
17218 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
17219 not rtunion.
17220 (copy_most_rtx): Handle 't' format letter.
17221 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
17222 (gen_rtvec_vv): Delete function. All callers changed to use
17223 gen_rtvec_v instead.
17224 * print-rtl.c (print_rtx): Move special casing of NOTEs to
17225 the '0' format letter.
17226
17227 * function.c (gen_mem_addressof): Don't use
17228 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
17229 instead.
17230 * integrate.c (copy_rtx_and_substitute): Likewise.
17231 Copy 't' slots with XTREE.
17232 (subst_constants): Treat 't' slots like '[swi]' slots.
17233 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
17234 * jump.c (rtx_equal_for_thread_p): Likewise.
17235 * rtlanal.c (rtx_equal_p): Likewise.
17236 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
17237 only four arguments.
17238 * gengenrtl.c (type_from_format): Provide correct types for
17239 'b' and 't' slots.
17240
17241
17242 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
17243 If a recent gcc is in use (always in stage2 and beyond), use
17244 statement expressions, so we don't make a function call unless
17245 the check fails. Evaluate arguments exactly once.
17246 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
17247 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
17248 Delete.
17249 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
17250 they evaluate their arguments exactly once, irrespective of
17251 the compiler in use.
17252
17253 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
17254 is used by the currently-enabled check macros. This is:
17255 (tree_check_failed, tree_class_check_failed): For gcc.
17256 (tree_check, tree_class_check, cst_or_constructor_check,
17257 expr_check): For other compilers.
17258
17259 * gencheck.c: Do not define any *_CHECK1 macros.
17260
17261 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
17262 Mark Mitchell <mark@codesourcery.com>
17263
17264 * c-common.c (c_get_alias_set): Fix support for poitners and
17265 references.
17266
17267 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
17268
17269 * alias.c: Include tree.h.
17270 (nonlocal_reference_p, mark_constant_function): New functions.
17271 * flow.c (life_analysis): Call mark_constant_function.
17272 * rtl.h (mark_constant_function): Declare it.
17273
17274 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
17275
17276 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
17277 unrecognisable switches.
17278
17279 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17280
17281 * loop.c (recombine_givs): Set ix field after sorting.
17282 (recombine_givs): Remove bogus index / giv lockstep looping.
17283
17284 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17285
17286 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
17287 on CODE.
17288 (emit_store_flag_force): Use do_compare_rtx_and_jump.
17289 (do_cmp_and_jump): Formatting fixes.
17290 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
17291 do_compare_rtx_and_jump instead of compare_from_rtx.
17292 (do_compare_rtx_and_jump): New function; mostly copied from
17293 compare_from_rtx.
17294 (do_jump_for_compare): Delete.
17295 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
17296 MIN_EXPR.
17297 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
17298 of compare/do_jump_for_compare pairs.
17299 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
17300 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
17301 compare_from_rtx/do_jump_for_compare pairs.
17302 (do_jump_by_parts_equality): Likewise.
17303 (do_jump_by_parts_equality_rtx): Likewise.
17304 * expr.h (do_compare_rtx_and_jump): Declare.
17305 * optabs.c (prepare_cmp_insn): New function, contains most of the code
17306 that used to be in emit_cmp_insn.
17307 (cmp_available_p): New function.
17308 (prepare_operand): New function.
17309 (emit_cmp_and_jump_insn_1): New function, contains some code that used
17310 to be in emit_cmp_insn.
17311 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
17312 parameters to be pointers; don't emit final compare but modify some of
17313 the values pointed to by the args so the caller can perform the
17314 correct comparison.
17315 (expand_binop): Call emit_store_flag_force with signed forms of
17316 comparison code.
17317 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
17318 emit_jump_insn pair.
17319 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
17320 emit_cmp_and_jump_insn_1. Call emit_queue.
17321 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
17322 arg.
17323 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
17324 jump sets cc0 before deleting it.
17325 * integrate.c (expand_inline_function): Likewise.
17326 * unroll.c (unroll_loop): Similar changes in several places.
17327 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
17328 before deleting it.
17329
17330 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17331
17332 * Makefile.in (insn-recog.o): Update dependencies.
17333 * genrecog.c (main): Make generated file include "function.h".
17334
17335 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
17336
17337 * cse.c (cse_insn): Call never_reached_warning when a jump is
17338 changed to be unconditional.
17339 * flags.h: Declare warn_notreached.
17340 * flow.c (delete_block): Call never_reached_warning when
17341 a block is deleted.
17342 * jump.c (delete_barrier_successors): Call never_reached_warning
17343 when we delete everything after a BARRIER.
17344 (never_reached_warning): New function.
17345 * rtl.h: Declare never_reached_warning.
17346 * toplev.c (warn_notreached): New variable.
17347 (lang_independent_options): Set warn_notreached
17348 when -Wunreachable-code.
17349 (compile_file): We need line numbers for -Wunreachable-code.
17350
17351 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
17352
17353 * haifa-sched.c (insn_unit): Fix typo on out of range test.
17354 * sched.c (insn_unit): Likewise.
17355
17356 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
17357
17358 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
17359
17360 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17361
17362 * flow.c (create_edge_list): Use xmalloc, not malloc.
17363
17364 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
17365
17366 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
17367 C-style comments. Do not lose the character before double slash.
17368
17369 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17370
17371 * basic-block.h (struct edge_list): Stucture to maintain a vector
17372 of edges.
17373 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
17374 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
17375 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
17376 New function prototypes.
17377 * flow.c (create_edge_list): Function to create an edge list.
17378 (free_edge_list): Discards memory used by an edge list.
17379 (print_edge_list): Debug output showing an edge list.
17380 (verify_edge_list): Internal consistency check for an edge list.
17381 (find_edge_index): Function to find an edge index for a pred and succ.
17382
17383 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
17384
17385 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
17386 hashtable.
17387
17388 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
17389
17390 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
17391
17392 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
17393
17394 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
17395
17396 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
17397
17398 * toplev.c (rest_of_compilation): Allow machine dependent
17399 reorganisation pass to place information into the RTL dump
17400 file if it so wishes.
17401
17402 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
17403
17404 * explow.c (hard_function_value): Use VOIDmode instead of
17405 MAX_MACHINE_MODE.
17406 * stmt.c (expand_return): Likewise.
17407 * stor-layout.c (get_best_mode): Likewise.
17408
17409 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
17410 emit call instead of emit_insn call.
17411
17412 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
17413
17414 * configure.in: Handle --disable/enable-win32-registry.
17415 * install.texi: Document --disable/enable-win32-registry.
17416 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
17417 (WIN32_REGISTRY_KEY): New macro.
17418 * prefix.c: Use to enable/disable win32-specific code.
17419 (lookup_key): Use versioned key.
17420 * configure: Regenerate.
17421 * config.in: Likewise.
17422
17423 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
17424
17425 * cpplib.c (read_line_number): New fn, split out of...
17426 (do_line): Here.
17427
17428 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
17429
17430 tree.c (lang_unsave_expr_now) : New.
17431 (unsave_expr_now): Call lang_unsave_expr_now.
17432 tree.h (lang_unsave_expr_now) : New.
17433
17434 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
17435
17436 * toplev.c (flag_new_exceptions): On by default.
17437
17438 1999-08-13 Michael Meissner <meissner@cygnus.com>
17439
17440 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
17441
17442 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
17443
17444 * dwarfout.c (fundamental_type_code): Return FT_boolean for
17445 INTEGER_TYPE with precision==1, it's __java_boolean.
17446
17447 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17448
17449 * global.c (prune_preferences): Move some invariants out of the
17450 inner loop.
17451
17452 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
17453
17454 * configure.in (alpha*-dec-osf*): Add osf5.
17455
17456 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
17457
17458 * configure.in: Rework handling of ARM GNU/Linux slightly.
17459 (arm*-*-linux-gnuoldld): New target.
17460 * configure: Regenerate.
17461 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
17462 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
17463 * config/arm/linux-oldld.h: New file.
17464 * config/arm/linux-elf26.h: Don't include linux-elf.h.
17465 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
17466 Don't define.
17467 * config/arm/linux-elf.h (ASM_SPEC): Define.
17468 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
17469 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
17470 for 26-bit APCS and old linker.
17471 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
17472 `arm_elf'.
17473 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
17474 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
17475 don't define `arm' or `arm_elf'.
17476 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
17477 MULTILIB_DIRNAMES): Define. Fix typo in comment.
17478
17479 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
17480
17481 * rtl.texi: Fix typo.
17482
17483 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
17484
17485 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
17486
17487 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
17488
17489 * extend.texi (C++ Signatures): Remove node.
17490 * invoke.texi: Remove discussion of -fhandle-signatures,
17491 signature, sigof, __signature__, and __sigof__.
17492
17493 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
17494
17495 * Makefile.in (JAVAGC): Removed.
17496
17497 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
17498
17499 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
17500
17501 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
17502
17503 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
17504
17505 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
17506
17507 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
17508 a register that is already known to be a pointer.
17509
17510 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
17511
17512 * fixinc/inclhack.tpl: Only install assert.h conditionally.
17513 * fixinc/inclhack.sh: Regenerated.
17514 * fixinc/fixincl.sh: Regenerated.
17515
17516 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
17517
17518 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
17519 Fix documentation of -ansi flag to describe its C++ behavior.
17520 Remove bogus reference to GCC 2.9.
17521
17522 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
17523
17524 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
17525 note if it is non-NULL.
17526
17527 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17528
17529 * except.h (eh_nesting_info): Add new structure defintion.
17530 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
17531 (reachable_handlers, update_rethrow_references): Add function
17532 prototypes.
17533 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
17534 a rethrow symbol instead of an integer exception region number.
17535 * flow.c (Make_edges): Use new exception nesting routines to determine
17536 which handlers are reachable from a CALL or asynchronous insn.
17537 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
17538 goto receivers.
17539 (delete_eh_regions): Update rethrow labels, and don't delete
17540 regions which are the target of a rethrow.
17541 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
17542 avoid overloading the SYMBOL_REF_USED flag.
17543 (rethrow_symbol_map): Use new rethrow_ref field.
17544 (rethrow_used): Use new rethrow_ref field.
17545 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
17546 of an integer. Fix formatting.
17547 (output_exception_table_entry): Use new rethrow_ref field.
17548 (can_throw): Check for EH_REGION_NOTE before deciding
17549 whether a CALL can throw or not.
17550 (scan_region): Call rethrow_used() instead of accessing data structure.
17551 (update_rethrow_references): New function to make sure only regions
17552 which are still targets of a rethrow are flagged as such.
17553 (process_nestinfo): New static function to initialize a handler
17554 list for a specific region.
17555 (init_eh_nesting_info): New function to allocate and initialize
17556 the list of all EH handlers reachable from all regions.
17557 (reachable_handlers): New function to retrieve the list of handlers
17558 reachable from a specific region and insn.
17559 (free_eh_nesting_info): New function to dispose of a list of
17560 reachable handlers.
17561
17562 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17563
17564 * flow.c (split_edge): Set JUMP_LABEL field.
17565 (commit_one_edge_insertion): Set head correctly for insert_before.
17566 When inserting insns, update insn block numbers if allocated.
17567
17568 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17569
17570 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
17571 retry_incomplete_types): Add static prototype.
17572 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
17573 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
17574 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
17575 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
17576 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
17577 Constify a char*.
17578
17579 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
17580 dwarf2out_start_source_file, dwarf2out_line): Likewise.
17581
17582 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17583
17584 * output.h (assemble_name): Constify a char*.
17585
17586 * varasm.c (UNIQUE_SECTION, assemble_start_function,
17587 assemble_variable, assemble_name): Likewise.
17588
17589 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
17590
17591 * arm/pe.c (arm_pe_unique_section): Likewise.
17592
17593 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
17594
17595 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
17596
17597 * i386/interix.c (i386_pe_unique_section): Likewise.
17598
17599 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
17600
17601 * i386/winnt.c (i386_pe_unique_section): Likewise.
17602
17603 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
17604
17605 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
17606
17607 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
17608
17609 * pa/pa.c (output_call): Likewise.
17610
17611 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
17612
17613 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
17614
17615 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
17616 Likewise.
17617
17618 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
17619 Likewise.
17620
17621 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
17622
17623 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
17624 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
17625
17626 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
17627
17628 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17629
17630 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
17631
17632 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17633
17634 * tree.h (lang_identify): Constify a char*.
17635 (print_error_function): Add extern prototype. Constify a char*.
17636
17637 * c-lang.c (lang_identify): Constify a char*.
17638
17639 * objc/objc-act.c (lang_identify): Constify a char*.
17640
17641 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17642
17643 * genpeep.c (main): Make generated file include "function.h".
17644 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
17645
17646 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17647
17648 * Makefile.in: Update dependencies.
17649 * alias.c: Include "function.h"
17650 * c-decl.c: Likewise.
17651 * caller-save.c: Likewise.
17652 * calls.c: Likewise.
17653 * combine.c: Likewise.
17654 * cse.c: Likewise.
17655 * explow.c: Likewise.
17656 * final.c: Likewise.
17657 * global.c: Likewise.
17658 * graph.c: Likewise.
17659 * local-alloc.c: Likewise.
17660 * loop.c: Likewise.
17661 * optabs.c: Likewise.
17662 * profile.c: Likewise.
17663 * recog.c: Likewise.
17664 * regclass.c: Likewise.
17665 * regmove.c: Likewise.
17666 * reload.c: Likewise.
17667 * reorg.c: Likewise.
17668 * resource.c: Likewise.
17669 * sched.c: Likewise.
17670 * stupid.c: Likewise.
17671 * config/1750a/1750a.c: Likewise.
17672 * config/a29k/a29k.c: Likewise.
17673 * config/arc/arc.c: Likewise.
17674 * config/arm/arm.c: Likewise.
17675 * config/arm/thumb.c: Likewise.
17676 * config/c4x/c4x.c: Likewise.
17677 * config/clipper/clipper.c: Likewise.
17678 * config/convex/convex.c: Likewise.
17679 * config/fx80/fx80.c: Likewise.
17680 * config/i860/i860.c: Likewise.
17681 * config/m68k/m68k.c: Likewise.
17682 * config/m88k/m88k.c: Likewise.
17683 * config/mips/mips.c: Likewise.
17684 * config/pdp11/pdp11.c: Likewise.
17685 * config/pyr/pyr.c: Likewise.
17686 * config/romp/romp.c: Likewise.
17687 * config/sh/sh.c: Likewise.
17688 * config/tahoe/tahoe.c: Likewise.
17689 * config/vax/vax.c: Likewise.
17690 * config/we32k/we32k.c: Likewise.
17691 * config/sparc/sparc.c: Include "function.h".
17692 (mem_min_alignment): Test current_function rather than
17693 regno_pointer_align.
17694 * config/pa/pa.c: Likewise.
17695 (compute_frame_size): Delete declaration of
17696 current_function_outgoing_args_size.
17697 * config/arc/arc.h (current_function_varargs): Delete declaration.
17698 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
17699 declaration.
17700 * config/i370/i370.h (current_function_outgoing_args_size): Delete
17701 declaration.
17702 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
17703 current_function_uses_pic_offset_table.
17704 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
17705 of current_function_returns_pointer.
17706 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17707 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17708 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17709 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17710 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17711 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
17712 * config/m88k/m88k.c: Include "function.h"
17713 (call_used_regs, current_function_pretend_args_size,
17714 current_function_outgoing_args_size, frame_pointer_needed): Delete
17715 declarations.
17716 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
17717 declaration.
17718 * config/mips/mips.h (current_function_calls_alloca): Delete
17719 declaration.
17720 * config/mn10200/mn10200.h (current_function_needs_context,
17721 rtx_equal_function_value_matters): Delete declarations.
17722 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
17723 flag_pic): Delete declarations.
17724 * config/pa/pa.h (current_function_pretend_args_size,
17725 current_function_decl): Delete declarations.
17726 * config/pa/som.h (current_function_varargs): Delete declaration.
17727 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
17728 declaration.
17729 * config/pyr/pyr.h (current_function_pretend_args_size,
17730 current_function_args_size, current_function_calls_alloca): Delete
17731 declarations.
17732 * config/sh/sh.h (current_function_varargs): Delete declaration.
17733 * config/sparc/sparc.h (current_function_outgoing_args_size,
17734 current_function_calls_alloca, current_function_decl): Delete
17735 declarations.
17736 * config/spur/spur.h (current_function_pretend_args_size,
17737 current_function_calls_alloca): Delete declarations.
17738 * config/v850/v850.c (current_function_outgoing_args_size): Delete
17739 declaration.
17740 * config/vax/vms.h (current_function_name): Delete declaration.
17741 * gcse.c: Include "function.h".
17742 (current_function_name, current_function_calls_setjmp): Delete
17743 declarations.
17744 * haifa-sched.c: Include "function.h".
17745 (forced_labels): Delete declaration.
17746 * jump.c: Likewise.
17747 * reg-stack.c: Likewise.
17748 * reload1.c: Likewise.
17749 * genemit.c (main): Make generated file include function.h.
17750 * genoutput.c (output_prologue): Likewise.
17751
17752 * builtins.c (saveregs_value, apply_args_value): Delete variables.
17753 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
17754 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
17755 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
17756 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
17757 macros for some of them.
17758 (emit_filename, emit_lineno): Delete declarations.
17759 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
17760 regno_pointer_* variables through current_function.
17761 (gen_inline_header_rtx): Delete function.
17762 (save_emit_status): Delete function.
17763 (set_new_last_label_num): New function.
17764 (clear_emit_caches): New function.
17765 (restore_emit_status): Just clear last_labelnum and call
17766 clear_emit_caches.
17767 (get_last_insn_anywhere): Variable sequence_stack is now accessed
17768 through macro seq_stack.
17769 (add_insn_after): Likewise.
17770 (add_insn_before): Likewise.
17771 (remove_insn): Likewise.
17772 (pop_topmost_sequence): Likewise.
17773 (in_sequence_p): Likewise.
17774 (start_sequence_for_rtl_expr): Likewise.
17775 (start_sequence): Likewise, and likewise for
17776 sequence_rtl_expr/seq_rtl_expr.
17777 (push_topmost_sequence): Likewise.
17778 (end_sequence): Likewise.
17779 (init_virtual_regs): Now takes a "struct emit_status *" argument.
17780 All callers changed. Store into that pointer instead of globals.
17781 (init_emit): Allocate emit elt of current_function.
17782 Changes for sequence_rtl_expr/sequence_stack renaming.
17783 Call clear_emit_caches instead of doing it in-line.
17784 Access regno_pointer_* variables through current_function.
17785 (init_emit_once) Don't clear sequence_stack.
17786
17787 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
17788 Delete variables.
17789 (arg_pointer_save_area): Delete declaration.
17790 (finish_expr_for_function): Renamed from init_queue; no longer static.
17791 (init_expr): Don't call init_queue.
17792 (save_expr_status, restore_expr_status): Delete functions.
17793 (expand_expr): Changes to reflect new layout of struct function.
17794 Don't access current_function_check_memory_usage when current_function
17795 is 0.
17796 * expr.h (forced_labels, save_expr_regs, saveregs_value,
17797 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
17798 current_function_outgoing_args_size, current_function_arg_offset_rtx,
17799 current_function_uses_const_pool, function_call_count,
17800 current_function_uses_pic_offset_table, nonlocal_labels,
17801 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
17802 current_function_check_memory_usage, nonlocal_goto_handler_slots,
17803 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
17804 declarations.
17805 (finish_expr_for_function): Declare.
17806 * flags.h (current_function_has_nonlocal_label,
17807 current_function_has_nonlocal_goto, current_function_is_thunk,
17808 current_function_has_computed_jump): Delete declarations.
17809 * flow.c (forced_labels): Delete declaration.
17810 * function.c (current_function_pops_args,
17811 current_function_returns_struct, current_function_returns_pcc_struct,
17812 current_function_needs_context, current_function_calls_setjmp,
17813 current_function_calls_longjmp, current_function_has_nonlocal_label,
17814 current_function_has_nonlocal_goto, current_function_is_thunk,
17815 current_function_has_computed_jump, current_function_calls_alloca,
17816 current_function_contains_functions, current_function_returns_pointer,
17817 current_function_epilogue_delay_list, current_function_args_size,
17818 current_function_pretend_args_size, current_function_arg_offset_rtx,
17819 current_function_outgoing_args_size, current_function_varargs,
17820 current_function_stdarg, current_function_args_info, cleanup_label,
17821 current_function_name, current_function_uses_const_pool,
17822 current_function_instrument_entry_exit, current_function_return_rtx,
17823 current_function_uses_pic_offset_table, nonlocal_labels,
17824 current_function_internal_arg_pointer, current_function_cannot_inline,
17825 current_function_check_memory_usage, function_call_count,
17826 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
17827 nonlocal_goto_stack_level, return_label, save_expr_regs,
17828 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
17829 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
17830 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
17831 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
17832 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
17833 Delete variables.
17834 (push_function_context_to): Don't save them. Don't call
17835 save_storage_status, save_emit_status or save_expr_status.
17836 (pop_function_context_from): Don't restore them. Don't call
17837 restore_storage_status or restore_expr_status.
17838 (get_func_frame_size): New function.
17839 (get_frame_size): Use it.
17840 (assign_outer_stack_local): Reflect some member name changes in struct
17841 function.
17842 (put_reg_into_stack): Likewise.
17843 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
17844 seq_rtl_expr.
17845 (fixup_var_refs): Likewise.
17846 (fix_lexical_addr): Likewise.
17847 (trampoline_address): Likewise.
17848 (prepare_function_start): Clear field inlinable of current_function.
17849 (init_function_for_compilation): New function.
17850 (expand_dummy_function_end): New function.
17851 (expand_function_end): Call finish_expr_for_function.
17852 * function.h (struct emit_status): New; fields moved here from struct
17853 function and from global variables. Add accessor macros for some of
17854 the fields.
17855 (struct expr_status): Likewise.
17856 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
17857 (struct function): Add fields expr and emit, inlinable, inl_emit,
17858 original_arg_vector, original_decl_initial, inl_last_parm_insn,
17859 inl_max_label_num. Add many comments.
17860 Add accessor macros for all elts of struct function that no longer
17861 have a global variable.
17862 (cleanup_label, return_label, frame_offset, tail_recursion_label,
17863 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
17864 stack_slot_list): Delete declarations.
17865 (get_func_frame_size): Declare.
17866 (save_expr_status, restore_expr_status, save_emit_status,
17867 save_storage_status, restore_storage_status): Delete declarations.
17868 (init_virtual_regs): Declare.
17869 * output.h (current_function_pops_args,
17870 current_function_returns_struct, current_function_returns_pcc_struct,
17871 current_function_needs_context, current_function_calls_setjmp,
17872 current_function_calls_longjmp, current_function_calls_alloca,
17873 current_function_has_nonlocal_label, current_function_varargs,
17874 current_function_has_computed_jump, current_function_returns_pointer,
17875 current_function_contains_functions, current_function_args_size,
17876 current_function_pretend_args_size, current_function_stdarg,
17877 current_function_outgoing_args_size, current_function_args_info,
17878 current_function_name, current_function_return_rtx,
17879 current_function_epilogue_delay_list,
17880 current_function_uses_const_pool, current_function_cannot_inline):
17881 Delete declarations.
17882 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
17883 regno_reg_rtx): Delete declaration.
17884 (REGNO_POINTER_FLAG): Delete macro.
17885 * stmt.c (expand_goto): Changes to reflect that some fields in struct
17886 function were renamed.
17887 * stor-layout.c (save_storage_status, restore_storage_status): Delete
17888 functions.
17889 * toplev.c: Include "function.h".
17890 (current_function_decl): Delete declaration.
17891 (compile_file): Call init_dummy_function_start and
17892 expand_dummy_function_end around some initializations that need to
17893 emit rtl.
17894 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
17895 Call init_function_for_compilation.
17896 * unroll.c: Include "function.h"
17897 (unroll_loop): Access regno_pointer_* variables through
17898 current_function.
17899
17900 * tree.h (struct tree_decl): Add elt f to saved_insns member.
17901 (DECL_SAVED_INSNS): use it.
17902 (expand_dummy_function_end): Declare.
17903 (init_function_for_compilation): Declare.
17904 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
17905 that it's no longer an INLINE_HEADER.
17906 (expand_call): Likewise.
17907 * integrate.c (finish_inline): Delete function.
17908 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
17909 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
17910 args. Don't generate an INLINE_HEADER rtx, just return the arg
17911 vector. All callers changed.
17912 (save_for_inline_copying): Create a duplicate struct emit_status to
17913 hold the emit state for compiling the current function. Use this and
17914 the other new fields in struct function that are for integration
17915 instead of an INLINE_HEADER.
17916 Use memcpy instead of bcopy.
17917 Store the current struct function in DECL_SAVED_INSNS of fndecl.
17918 (save_for_inline_nocopy): Similar changes, except no new emit_status
17919 is needed here.
17920 (expand_inline_function): Get information from function structure,
17921 not from an inline header rtx.
17922 (output_inline_function): Lose code to extract the necessary
17923 information from an inline header; simply put back the function
17924 structure into current_function. Clear its inlinable elt.
17925 * rtl.def (INLINE_HEADER): Delete.
17926 * rtl.h: Delete all accessors for an INLINE_HEADER.
17927 (gen_inline_header_rtx): Delete declaration.
17928 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
17929 Delete declarations.
17930 (REGNO_POINTER_ALIGN): Delete.
17931 (clear_emit_caches): Declare.
17932 (set_new_last_label_num): Declare.
17933
17934 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
17935
17936 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
17937
17938 * except.c (expand_eh_region_start_for_decl): Always start a new block.
17939 * stmt.c (is_eh_region): Make sure current_function is present, too.
17940
17941 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
17942
17943 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
17944 for 64bit PA targets.
17945
17946 * pa.h (SELECT_SECTION): Define.
17947 * som.h (SELECT_SECTION): Delete.
17948
17949 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17950
17951 * alias.c (init_alias_analysis): Wrap call to
17952 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
17953
17954 1999-08-07 Bruce Korb <autogen@linuxbox.com>
17955
17956 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
17957 <sys/asm.h> contains an asm comment with an apostrophe
17958 * fixinc/inclhack.sh: regen
17959 * fixinc/fixincl.x: regen
17960
17961 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
17962
17963 * function.c (init_function_start): Clear prologue & epilogue.
17964 (prologue_epilogue_contains): New function.
17965 * alias.c (init_alias_analysis): Use it.
17966 * rtl.h (prologue_epilogue_contains): Declare it.
17967
17968 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
17969
17970 * jump.c (onlyjump_p): New function.
17971 * rtl.h: Declare it.
17972 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
17973 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
17974
17975 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
17976
17977 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
17978 to invert loops. Simplify block scanning.
17979
17980 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17981
17982 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
17983 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
17984
17985 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
17986
17987 * config/sparc/liteelf.h: New file to support sparclite-elf target
17988 * config/sparc/t-sp86x: New file to support sparc86x targets
17989 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
17990 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
17991 * configure.in: Support above target triplets
17992 * configure: Regenerated
17993
17994 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
17995
17996 * fixinc/server.c (server_setup): Do not prefix function used as
17997 parameter with `&'.
17998
17999 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
18000
18001 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
18002 Remove fp reg alternatives.
18003
18004 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
18005
18006 * Makefile.in (TAROUTOPTS): Kill.
18007 (install-headers-tar): Use "xpf" for tar headerfile extraction
18008 * i370/x-oe (TAROUTOPTS): Delete.
18009 * m68k/x-apollo68 (TAROUTOPTS): Delete.
18010 * m68k/x-hp320 (TAROUTOPTS): Delete.
18011 * m68k/x-hp320g (TAROUTOPTS): Delete.
18012 * gcc.texi: Update bug reporting text.
18013
18014 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18015
18016 * reg-stack.c (change_stack) Fixed problem with negative array index.
18017
18018 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
18019
18020 * extend.texi, install.texi: Fix spelling mistakes.
18021
18022 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
18023 (s-attrtab); No longer try to use pre-made insn-attrtab file.
18024 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
18025 PREMADE_ATTRTAB_MD.
18026 * mips/t-ecoff: Likewise.
18027 * mips/t-elf: Likewise.
18028 * mips/t-mips: Likewise.
18029 * mips/t-osfrose: Likewise.
18030 * mips/t-r3900: Likewise.
18031 * mips/t-svr3: Likewise.
18032 * mips/t-svr4: Likewise.
18033 * mips/t-ultrix: Likewise.
18034
18035 * gcc.texi: Document recommend means to provide software floating
18036 point libraries in libgcc.a
18037
18038 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
18039
18040 * c-lex.c (yylex): We can have a number with no digits.
18041
18042 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
18043
18044 * jump.c (delete_prior_computation): New function, broken
18045 out of delete_computation. Check for side effects with
18046 side_effects_p instead of FIND_REG_INC_NOTE. Handle
18047 multi-word hard registers.
18048 (delete_computation): Use it. Check for side effects with
18049 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
18050 missing REG_DEAD note for a register which is both set and
18051 used by an insn.
18052
18053 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
18054
18055 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
18056 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
18057 (ASM_FILE_START): Import _mcount with the right type.
18058 (ASM_DECLARE_FUNCTION_NAME): Define.
18059 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
18060 * pa.c (output_function_prologue): Always emit the function's label
18061 here.
18062 * pa.h (TEXT_SPACE_P): Define.
18063 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
18064 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
18065 * som.h (TEXT_SPACE_P): Delete.
18066 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
18067 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
18068
18069 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
18070
18071 * expr.c (emit_group_load): Allow src to be a CONCAT.
18072
18073 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18074
18075 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
18076 (___mulsi3): Use '!' comment character.
18077
18078 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18079
18080 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
18081
18082 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
18083
18084 * gcc.c: Update URLs and mail addresses.
18085 * gcc.texi: Likewise.
18086
18087 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
18088
18089 * rs6000.c (current_file_function_operand): Return zero for
18090 weak functions.
18091 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
18092 weak symbols.
18093 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
18094 for weak symbols.
18095
18096 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
18097
18098 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
18099 allocate space in the stack frame for the PIC register.
18100
18101 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
18102
18103 * m68k.md (xordi3, anddi3): These patterns are not available on
18104 the coldfire.
18105
18106 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
18107
18108 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
18109 (PUT_REAL): Likewise.
18110
18111 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18112
18113 * final.c (shorten_branches): Don't add an alignment for loops
18114 that have no label inside.
18115
18116 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18117
18118 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
18119 prototypes in macro HAVE_cmpstrsi.
18120
18121 * cpplib.c (cpp_get_token): Remove unused label `op3'.
18122
18123 * emit-rtl.c (operand_subword): Remove unused variable
18124 `bits_per_word'.
18125
18126 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
18127
18128 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
18129
18130 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
18131
18132 * cpphash.c (macroexpand): Delete leading whitespace when arg
18133 is concatenated before.
18134 (unsafe_chars): Correct test for whether + and - can extend a
18135 token.
18136
18137 * cppinit.c (cpp_start_read): Do dependencies for
18138 -include/-imacros files also.
18139
18140 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
18141 tokenizing non-directive lines.
18142 (cpp_expand_to_buffer): Temporarily disable no-output mode.
18143 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
18144 the input file.
18145
18146 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
18147
18148 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
18149
18150 * c-lex.c: Sync with C++ frontend.
18151 (linemode): New variable.
18152 (parse_float): imag, conversion_errno, and type are output only.
18153 (yylex): Adjust. Move initial '.' case into main switch.
18154 Use linemode.
18155 (handle_generic_pragma): Just deal with tokens.
18156 (readescape): Use ISXDIGIT and ISGRAPH.
18157 * c-parse.in: Add END_OF_LINE token.
18158
18159 * c-lex.c (lang_init): Generalize.
18160 (nextchar): Remove. Replace uses with UNGETC.
18161 (skip_white_space): Handle linemode here. Optimize for cpplib.
18162 (skip_white_space_on_line): Remove.
18163 (extend_token_buffer_to): New fn.
18164 (extend_token_buffer): Use it.
18165 (read_line_number, check_newline): Just deal with tokens.
18166 (token_getch, token_put_back): New fns.
18167 (yylex): Use them. More cpplib optimizations. Simplify.
18168
18169 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
18170 Jason Merrill <jason@yorick.cygnus.com>
18171
18172 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
18173 (consume_string): Make this smart about USE_CPPLIB.
18174 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
18175 (yylex): Rewrite to be intelligent about USE_CPPLIB.
18176 Also, clean up cases where we redundantly set token_buffer[0].
18177 (read_line_number): New fn.
18178 (ignore_escape_flag): New variable.
18179
18180 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
18181
18182 * a29k/t-a29kbare: Fix some comments.
18183 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
18184 (FPBIT, DPBIT): Define.
18185 * a29k/t-vx29k: Likewise.
18186 * arc/t-arc: Likewise.
18187 * arm/t-arm-elf: Likewise.
18188 * arm/t-bare: Likewise.
18189 * arm/t-pe: Likewise.
18190 * arm/t-pe-thumb: Likewise.
18191 * arm/t-semi: Likewise.
18192 * arm/t-thumb: Likewise.
18193 * arm/t-thumb-elf: Likewise.
18194 * arm/t-thumb-linux: Likewise.
18195 * h8300/t-h8300: Likewise.
18196 * i960/t-i960: Likewise.
18197 * i960/t-vxworks960: Likewise.
18198 * m32r/t-m32r: Likewise.
18199 * mips/t-ecoff: Likewise.
18200 * mips/t-elf: Likewise.
18201 * mips/t-r3900: Likewise.
18202 * pa/t-pro: Likewise.
18203 * rs6000/t-aix43: Likewise.
18204 * rs6000/t-beos: Likewise.
18205 * rs6000/t-newas: Likewise.
18206 * rs6000/t-ppccomm: Likewise.
18207 * rs6000/t-rs6000: Likewise.
18208 * rs6000/t-winnt: Likewise.
18209 * rs6000/t-xnewas: Likewise.
18210 * rs6000/t-xrs6000: Likewise.
18211 * sh/t-sh: Likewise.
18212 * sparc/t-elf: Likewise.
18213 * sparc/t-sparcbare: Likewise.
18214 * sparc/t-sparclite: Likewise.
18215 * sparc/t-splet: Likewise.
18216 * v850/t-v850: Likewise.
18217 * mn10200/t-mn10200: Fix comments.
18218 * mn10300/t-mn10300: Likewise.
18219
18220 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
18221 dummy operand. Allocate a new pseudo for the dummy operand.
18222 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
18223
18224 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
18225
18226 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
18227
18228 * configure: Rebuilt.
18229 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
18230
18231 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
18232
18233 * recog.c (preproces_constraints): Zero recog_op_alt before
18234 processing the constraints.
18235
18236 * arm.c (typedef minipool_node): Renamed from pool_node.
18237 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
18238 (add_minipool_constant): New function.
18239 (dump_minipool): New function.
18240 (find_barrier): Remove special case for getting the insn size of
18241 an insn that references the constant pool.
18242 (minipool_fixup): New structure.
18243 (push_minipool_barrier): New function.
18244 (push_minipool_fix): New function.
18245 (note_invalid_constants): New function.
18246 (add_pool_constant, dump_table, fixit, broken_move): Delete.
18247 (arm_reorg): Rewrite code to fix up the constant pool into a
18248 series of mini-pools embedded in the insn stream.
18249 (arm_output_epilogue): New function, made mainly from the body
18250 of output_func_epilogue.
18251 (output_func_epilogue): Move insn generation part of epilogue code
18252 to arm_output_epilogue.
18253 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
18254 * arm.md (pool_range): New attribute.
18255 (zero_extendqidi2): Add attribute pool_range.
18256 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
18257 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
18258 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
18259 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
18260 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
18261 (epilogue): New expand.
18262 (epilogue_insn): New insn. Call arm_output_epilogue.
18263
18264 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
18265 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
18266
18267 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
18268
18269 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
18270
18271 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
18272
18273 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
18274
18275 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
18276
18277 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
18278
18279 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
18280
18281 * global.c: Fix comment.
18282
18283 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
18284
18285 * gcc.c (access_check): New static function.
18286 (find_a_file): Use it when searching a directory list.
18287 * collect2.c (find_a_file): Don't accept directories found when
18288 searching a directory list.
18289
18290 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
18291
18292 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
18293 function parameters with `&'.
18294 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
18295
18296 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
18297
18298 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
18299 or tidy_fallthru_edge if the last insn in the block is not
18300 an unconditional jump or a simple conditional jump.
18301
18302 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18303
18304 * Makefile.in (c-decl.o): Depends on defaults.h.
18305
18306 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
18307
18308 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
18309 PA1.1 and above.
18310 (CLASS_MAX_NREGS): Likewise.
18311
18312 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
18313
18314 * cse.c (cse_insn): Fix dumb thinko in last change.
18315
18316 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18317
18318 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
18319 "const char *".
18320
18321 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
18322
18323 * dwarf2out.c (add_location_or_const_value_attribute): Correct
18324 test for sizes of passed and declared parameter types.
18325
18326 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18327
18328 * fixincludes: Fix the return type of bsearch, char* -> void*.
18329
18330 * fixinc/inclhack.def: Likewise.
18331
18332 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
18333
18334 * invoke.texi (-fdump-translation-unit): New option.
18335
18336 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
18337
18338 * expr.h (PROMOTE_PROTOTYPES): Move ...
18339 * defaults.h: ... to here.
18340 * c-decl.c: Include defaults.h instead of expr.h.
18341 * c-typeck.c: Include defaults.h.
18342
18343 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
18344
18345 * toplev.h (errorcount): Declare.
18346 (warningcount): Likewise.
18347 (sorrycount): Likewise.
18348 * c-lex.c (errorcount): Don't declare.
18349 * dwarf2out.c (errorcount): Don't declare.
18350
18351 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
18352
18353 * config/libgloss.h: Add a note discouraging use with ELF.
18354 * configure.in: Don't use libgloss.h for ELF targets.
18355 Always use_collect2 on a.out targets.
18356
18357 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
18358
18359 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
18360 (force_to_mode, case ASHIFTRT): Add shiftrt label.
18361
18362 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18363
18364 * loop.c (strength_reduce): When doing biv->giv conversion, update
18365 reg note of NEXT->insn.
18366
18367 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
18368
18369 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
18370
18371 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
18372
18373 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
18374 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
18375 Ensure expr.h is included.
18376 * c-typecheck.c (convert_arguments): Ditto.
18377
18378 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
18379
18380 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
18381 * config/convex/convex.h: Ditto.
18382 * config/dsp16xx/dsp16xx.h: Ditto.
18383 * config/fx80/fx80.h: Ditto.
18384 * config/gmicro/gmicro.h: Ditto.
18385 * config/i370/i370.h: Ditto.
18386 * config/i386/i386.h: Ditto.
18387 * config/m32r/m32r.h: Ditto.
18388 * config/m68k/m68k.h: Ditto.
18389 * config/m88k/m88k.h: Ditto.
18390 * config/mips/mips.h: Ditto.
18391 * config/pa/pa.h: Ditto.
18392 * config/pyr/pyr.h: Ditto.
18393 * config/tahoe/tahoe.h: Ditto.
18394 * config/we32k/we32k.h: Ditto.
18395
18396 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
18397 based on arch size.
18398
18399 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
18400
18401 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
18402 from comment.
18403
18404 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
18405
18406 1999-08-02 Richard Henderson <rth@cygnus.com>
18407
18408 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
18409 for the register spill block.
18410 (m32r_va_arg): New.
18411 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
18412 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
18413
18414 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
18415 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
18416 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
18417
18418 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
18419
18420 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
18421 MAX_WCHAR_TYPE defined in sparc.h.
18422 * config/sparc/linuxaout.h: Likewise.
18423 * config/sparc/linux64.h: Likewise.
18424 Also default to -mvis if CPU is UltraSPARC.
18425
18426 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
18427
18428 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
18429 (RTX_OK_FOR_OLO10): Likewise.
18430 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
18431 %lo(), allow it in addresses...
18432 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
18433 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
18434 does not make sense.
18435 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
18436 (sparc_output_scratch_registers): New function.
18437 (output_function_prologue, sparc_flat_output_function_prologue): Use
18438 it.
18439 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
18440 defined.
18441 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
18442 * configure.in: Add check for .register pseudo-op support in as and
18443 check for offsetable %lo().
18444 * acconfig.h: Add templates for the above checks.
18445 * configure: Regenerate.
18446
18447 1999-08-02 Richard Henderson <rth@cygnus.com>
18448
18449 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
18450 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
18451 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
18452
18453 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18454
18455 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
18456 reg_biv_class.
18457
18458 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
18459
18460 * config/float-sparc.h: New file.
18461 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
18462 sparc-*-linux-gnu and sparc64-*-linux*.
18463
18464 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18465
18466 * rs6000.c (rs6000_va_list): Type is an array.
18467 (rs6000_va_start): Don't doubly adjust for varargs.
18468 (rs6000_va_arg): Evaluate long long GPR adjustment.
18469
18470 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
18471
18472 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
18473 -maix64 and -maix32.
18474 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
18475 LINK_SPEC): Change appropriately.
18476 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
18477 (u_short_cint_operand): Likewise.
18478 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
18479 for 64-bit hosts.
18480 * rs6000/t-aix43 (MULTILIB): Change to -m64.
18481
18482 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
18483
18484 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
18485
18486 * rs6000/rs6000.c (num_insns_constant_wide): Correct
18487 for type promotion.
18488 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
18489 (non_add_cint_operand): Likewise.
18490 (logical_operand): Likewise.
18491 (non_logical_cint_operand): Likewise.
18492 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
18493 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
18494 (rs6000_select_rtx_section): Suppress warning.
18495 (small_data_operand): Suppress warning.
18496 (rs6000_got_register): Suppress warning.
18497 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
18498 type, so `J' is generally the wrong constraint for a SImode value;
18499 use `L' instead.
18500 (andsi3_internal2): Likewise.
18501 (andsi3_internal3): Likewise.
18502 (iorsi3_internal1): Likewise.
18503 (xorsi3_internal1): Likewise.
18504 (movsi): Likewise.
18505 (movsf_softfloat): Likewise.
18506 (scc insns): Likewise.
18507 (movsi+2): Preserve sign bits of SImode constant.
18508 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
18509 (movdf+1): Sign-extend properly.
18510 (movdi_32+1): Sign-extend properly.
18511 (scc insns): Sign-extend properly.
18512
18513 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
18514 K, L, and T.
18515
18516 1999-08-02 Richard Henderson <rth@cygnus.com>
18517
18518 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
18519 -mcpu parsing code.
18520 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
18521 * alpha.md (all fp insns): Likewise.
18522
18523 1999-08-02 Nick Clifton <nickc@cygnus.com>
18524
18525 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
18526 already defined.
18527
18528 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
18529
18530 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
18531 pic_load_label generator directly.
18532 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
18533 No longer a named pattern.
18534
18535 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
18536
18537 * explow.c (force_reg): Call force_operand if X does not
18538 satisfy general_operand.
18539
18540 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
18541
18542 * fix-header.c (main): When testing for CONTINUED, use string
18543 equality, not pointer equality.
18544
18545 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
18546
18547 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
18548
18549 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
18550
18551 * cse.c (cse_insn): Fix loop which deletes insns after a jump
18552 that has become an unconditional jump.
18553
18554 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
18555 (output_function_epilogue): Similarly.
18556
18557 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18558
18559 * tree.h (init_dummy_function_start): Declare.
18560
18561 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18562
18563 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
18564 last_expr_type, last_expr_value, block_start_count, block_stack,
18565 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
18566 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
18567 dynamically in stmt elt of struct function for each function.
18568 (struct nesting): Rename function_call_count elt to n_function_calls,
18569 target_temp_slot_level to block_target_temp_slot_level. All users
18570 changed.
18571 (struct stmt_status): New structure definition.
18572 Add many accessor macros for stmt_status elements which previously
18573 were global variables.
18574 (init_stmt_for_function): Allocate stmt elt for current_function.
18575 Reflect that block_start_count was renamed to
18576 current_block_start_count.
18577 (save_stmt_status, restore_stmt_status): Delete functions.
18578 (preserve_subexpressions_p): Don't access loop_stack when outside
18579 a function.
18580 (expand_start_bindings): Reflect that block_start_count was renamed to
18581 current_block_start_count.
18582 (expand_fixup): Likewise.
18583 (expand_decl): Don't access block_stack when outside a function.
18584 (expand_decl_cleanup): Likewise.
18585 (expand_dcc_cleanup): Likewise.
18586 (expand_dhc_cleanup): Likewise.
18587 (expand_anon_union_decl): Likewise.
18588 (set_file_and_line_for_stmt): New function.
18589 (in_control_zone_p): New function.
18590
18591 * function.h (struct function): Add new elt stmt.
18592 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
18593 case_stack, nesting_stack, nesting_depth, block_start_count,
18594 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
18595 emit_lineno, goto_fixup_chain.
18596 (save_eh_status, restore_eh_status, save_stmt_status,
18597 restore_stmt_status): Delete declarations.
18598 * function.c (push_function_context_to): Don't call save_stmt_status.
18599 (pop_function_context_to): Don't call restore_stmt_status.
18600 * tree.h (in_control_zone_p): Declare.
18601 * rtl.h (set_file_and_line_for_stmt): Declare.
18602
18603 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
18604 call set_file_and_line_for_stmt.
18605
18606 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
18607
18608 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
18609 Also update copyright.
18610
18611 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18612
18613 * c-pragma.c: Don't include "except.h".
18614 * emit-rtl.c: Likewise.
18615 * stor-layout.c: Likewise.
18616 * tree.c: Likewise.
18617 * varasm.c: Likewise.
18618
18619 * flow.c: Include "function.h".
18620 * tree.h (init_dummy_function_start): Declare new function.
18621
18622 * except.h (struct eh_status): New structure.
18623 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
18624 been included.
18625 (eh_return_stub_label, ehstack, catchstack, ehqueue,
18626 catch_clauses, false_label_stack, caught_return_label_stack,
18627 protect_list, current_function_ehc): Add accessor macros for the
18628 corresponding fields in current_function->eh; delete declarations
18629 for all items that used to be declared here.
18630 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
18631 catch_clauses, false_label_stack, caught_return_label_stack,
18632 protect_list, current_function_ehc): Delete variables.
18633 (init_eh_for_function): Allocate current_function->eh.
18634 (save_eh_status, restore_eh_status): Delete functions.
18635
18636 * function.h (struct function): Add fields next_global and eh.
18637 Delete all exception handling related fields.
18638 * function.c (current_function): New variable.
18639 (all_functions): New variable.
18640 (push_function_context_to): Don't allocate a struct function,
18641 use current_function instead. Call init_dummy_function_start when
18642 outside a function. Clear current_function before returning.
18643 (pop_function_context_from): Restore current_function.
18644 Don't free the restored struct function.
18645 (prepare_function_start): New function.
18646 (init_dummy_function_start): New function.
18647 (init_function_start): Break out some code into prepare_function_start
18648 and call it here.
18649
18650 * stmt.c (save_stmt_status): Don't call save_eh_status.
18651 (restore_stmt_status): Don't call restore_eh_status.
18652
18653 * Makefile.in: Update dependencies.
18654
18655 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
18656
18657 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
18658 of depending on a magic constant value. Update comments.
18659 (hppa_expand_prologue): Similarly.
18660
18661 * pa.md (reload_indi, reload_outdi): Allow any register for the
18662 original reload register.
18663
18664 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
18665
18666 * cccp.c (print_help): Change marcos to macros.
18667
18668 1999-07-30 Richard Henderson <rth@cygnus.com>
18669
18670 * c-typeck.c (initializer_constant_valid_p): Move ...
18671 * c-common.c (initializer_constant_valid_p): ... here. Use
18672 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
18673 of label addresses.
18674 * c-common.h (initializer_constant_valid_p): Declare.
18675 * c-tree.h (initializer_constant_valid_p): Remove.
18676
18677 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
18678
18679 * config/i386/sol2-c1.asm: Align the stack.
18680 * config/i386/sol2-gc1.asm: Likewise.
18681
18682 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
18683
18684 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
18685 -Asparclite for sparc86x.
18686 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
18687 sparc86x.
18688 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
18689
18690 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
18691
18692 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
18693 the user if using the non-default arch size in BI_ARCH configuration.
18694 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
18695
18696 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
18697 Fix patterns so that they actually match.
18698 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
18699 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
18700 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
18701 TARGET_HARD_MUL32.
18702 (mulsidi3): Reflect this in the expand.
18703 (smulsi3_highpart): Only on TARGET_ARCH32.
18704 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
18705 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
18706 (umulsidi3): Reflect this in the expand.
18707 (umulsi3_highpart): Only on TARGET_ARCH32.
18708 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
18709 don't require g0 to be zero.
18710 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
18711 ({,u}divsi3): New expands.
18712 ({,u}divsi3_sp64): New patterns.
18713 (after lshrdi3_v8plus): Four new patterns to help combiner
18714 optimizing nested mixed mode shifts.
18715
18716 * config/sparc/sparc.c (sparc_override_options): Use deprecated
18717 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
18718 speed things up. Don't use them by default on plain v9 in 64bit
18719 mode, according to what SPAMv9 sais.
18720
18721 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
18722 top 32 bits of %[og][0-7] in signal handlers.
18723 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
18724
18725 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
18726
18727 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
18728 (ashlsi3): Corresponding changes.
18729
18730 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
18731
18732 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
18733
18734 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
18735
18736 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18737
18738 * arm.h (Hint): Delete macro.
18739 Substitute HOST_WIDE_INT for Hint in some prototypes.
18740 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
18741
18742 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
18743
18744 * builtins.c (expand_builtin_setjmp): Use force_operand to
18745 make sure that the buffer address is in a suitable form to be
18746 passed to force_reg.
18747
18748 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
18749
18750 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
18751 them here.
18752
18753 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
18754
18755 * pa.md (indirect_jump): Remove mode from match_operand. Verify
18756 proper mode in the condition string.
18757 (icacheflush, dcacheflush): Remove modes from match_operands.
18758
18759 * pa.c (emit_move_sequence): Always convert scratch_reg to the
18760 proper mode before using it.
18761
18762 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
18763 pair.
18764
18765 * pa.c (store_reg): Do not call add_high_const generator directly.
18766 (load_reg, set_reg_plus_d): Likewise.
18767 * pa.md (add_high_const): No longer a named pattern.
18768
18769 * pa.c (legitimize_address): Consistently use Pmode rather than
18770 SImode. Do not call gen_pic2_highpart directly anymore.
18771 * pa.md (pic2_highpart): No longer a named pattern.
18772 (pic2_lo_sum): Similarly. Reformat to make more readable.
18773
18774 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
18775 needed.
18776
18777 * README: Update.
18778
18779 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18780
18781 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
18782
18783 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
18784
18785 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
18786 and tag the spill mems.
18787 (hppa_va_start): New.
18788 (hppa_va_arg): New.
18789 * pa.h (EXPAND_BUILTIN_VA_START): New.
18790 (EXPAND_BUILTIN_VA_ARG): New.
18791
18792 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
18793
18794 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
18795 and tag the spill mems.
18796 (mn10300_va_start): New.
18797 (mn10300_va_arg): New.
18798 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
18799 (EXPAND_BUILTIN_VA_ARG): New.
18800
18801 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
18802
18803 * mn10200.c (mn10200_va_arg): New.
18804 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
18805
18806 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
18807
18808 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
18809 rather than play with TREE_INT_CST_LOW.
18810
18811 1999-07-27 Philip Blundell <pb@nexus.co.uk>
18812
18813 * config/arm/telf.h: Include dbxelf.h.
18814 (CPP_PREDEFINES): Only define if not already defined.
18815 (ASM_IDENTIFY_GCC): Likewise.
18816 (SUBTARGET_EXTRA_SECTIONS): Likewise.
18817 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
18818 * config/arm/thumb.h (LINK_SPEC): Only define if not already
18819 defined.
18820 (DBX_DEBUGGING_INFO): Don't define.
18821 * config/arm/linux-telf.h: New file.
18822 * config/arm/linux-tgas.h: New file.
18823 * config/arm/t-thumb-linux: New file.
18824 * config/arm/uclinux-elf.h: New file.
18825 * config/arm/uclinux-telf.h: New file.
18826 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
18827 thumb-*-uclinux): New targets.
18828 * configure: Regenerate.
18829
18830 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
18831
18832 * pa.md (post_store, pre_load): New expanders.
18833 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
18834 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
18835 need to directly generate RTL for them.
18836 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
18837 changes.
18838
18839 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
18840
18841 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
18842 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
18843 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
18844 (secndary_reload_class): Make TARGET_ELF conditional compile.
18845 (print_operand_address): Similar.
18846 (output_toc): Print all values as hex.
18847 (get_issue_rate): Rearrange and add RS64A and PPC630.
18848 * rs6000.h (processor_type): Add RS64A and PPC630.
18849 (PROCESSOR_POWERPC64): New.
18850 (PROMOTE_MODE): Use word_mode.
18851 (RTX_COSTS): Add RS64A and PPC630.
18852 * rs6000.md (scheduling information): Add lmul and ldiv
18853 representing 64-bit integer multiply and divide. Add rs64a and
18854 PPC630 information.
18855 (ashldi3): Add support for "rldic" instruction.
18856 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
18857
18858 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
18859
18860 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
18861 instead of V8 for sparclite86x in cpu_table.
18862
18863 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18864
18865 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
18866 output_file_directive.
18867
18868 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
18869
18870 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
18871 tree for op1, not the rtl.
18872
18873 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
18874
18875 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
18876 to m88k_va_start, leaving only the register spill.
18877 (m88k_build_va_list): New.
18878 (m88k_va_start): New.
18879 (m88k_va_arg): New.
18880 * m88k.h (BUILD_VA_LIST_TYPE): New.
18881 (EXPAND_BUILTIN_VA_START): New.
18882 (EXPAND_BUILTIN_VA_ARG): New.
18883
18884 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
18885
18886 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
18887 Rename from expand_builtin_saveregs.
18888 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
18889
18890 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
18891
18892 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
18893 for the register spill block.
18894 (i960_build_va_list): New.
18895 (i960_va_start): New.
18896 (i960_va_arg): New.
18897 * i960.h (BUILD_VA_LIST_TYPE): New.
18898 (EXPAND_BUILTIN_VA_START): New.
18899 (EXPAND_BUILTIN_VA_ARG): New.
18900 * i960.md (store_multiple): Use change_address on individul mems.
18901
18902 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
18903
18904 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
18905 an ARRAY_TYPE.
18906 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
18907 (expand_builtin_va_end): Evaluate arg for side effects.
18908 * c-common.c (c_common_nodes_and_builtins): Construct a
18909 va_list_arg_type_node to handle array decomposition to pointer.
18910
18911 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
18912
18913 * except.c (start_dynamic_cleanup): Use force_operand on the
18914 buffer's address.
18915
18916 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
18917
18918 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
18919 * c4x.c (c4x_va_arg): New.
18920
18921 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
18922
18923 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
18924 has manual_pop set.
18925
18926 1999-07-26 Nathan Sidwell <nathan@acm.org>
18927
18928 * eh-common.h (__eh_matcher): Prototype correctly.
18929
18930 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
18931
18932 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
18933 (TARGET_SINGLE_PIC_BASE): Likewise.
18934 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
18935 definitions.
18936 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
18937 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
18938 (TARGET_OPTIONS): Add -mpic-register=N.
18939 (OUTPUT_INT_ADDR_CONST): New macro.
18940 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
18941 LEGITIMATE_PIC_OPERAND_P): Likewise.
18942 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
18943 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
18944 output_addr_const directly.
18945 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
18946 ARM port.
18947 (thumb_pic_register, thumb_pic_register_string): Declare.
18948
18949 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
18950 from arm.c.
18951 (label_mentioned_p): New function: Imported from arm.c.
18952 (legitimize_pic_address): New function: Imported from arm.c.
18953 (is_pic):New function: Imported from arm.c.
18954 (thumb_finalize_pic):New function: Imported from arm.c.
18955 (add_constant): Cope with PIC constants.
18956 (fixit): Cope with PIC constants.
18957 (output_return): Do not treat the PIC register as live if
18958 TARGET_SINGLE_PIC_BASE is true.
18959 (thumb_function_prologue): Do not treat the PIC register as live if
18960 TARGET_SINGLE_PIC_BASE is true.
18961 (thumb_expand_prologue): Do not treat the PIC register as live if
18962 TARGET_SINGLE_PIC_BASE is true.
18963 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
18964 TARGET_SINGLE_PIC_BASE is true.
18965 (thumb_print_operand): Accept '|'.
18966 (thumb_override_options): Process PIC options.
18967
18968 * config/arm/thumb.md (movsi): Support PIC.
18969 (call_insn): Change "i" constraint to "X".
18970 (call_value_insn): Likewise.
18971 (consttable_4, consttable_8, consttable_end): Set and clear
18972 "making_const_table" as appropriate.
18973 (pic_load_addr, pic_add_dot_plus_four): New insns.
18974
18975 * invoke.texi (Thumb Options): Fix spelling. Document new
18976 options -msingle-pic-base and -mpic-register=.
18977
18978 1999-07-26 Andrew Haley <aph@cygnus.com>
18979
18980 * config/m32r/initfini.c (__init): Use a full word immediate for
18981 __fini: this allows it to be placed in any memory region.
18982
18983 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
18984 -mmodel=medium. This is OK for all memory models.
18985
18986 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
18987
18988 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
18989 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
18990
18991 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
18992
18993 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
18994 defined.
18995
18996 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
18997
18998 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
18999
19000 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
19001 (BUILD_VA_LIST_TYPE): New.
19002 (EXPAND_BUILTIN_VA_START): New.
19003 (EXPAND_BUILTIN_VA_ARG): New.
19004 * i860.c (output_delayed_branch): Disable.
19005 (output_delay_insn): Likewise.
19006 (i860_saveregs): New.
19007 (i860_build_va_list): New.
19008 (i860_va_start): New.
19009 (i860_va_arg): New.
19010 * i860.md: Disable all peepholes using output_delayed_branch.
19011 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
19012
19013 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
19014
19015 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
19016 (BUILD_VA_LIST_TYPE): New.
19017 (EXPAND_BUILTIN_VA_START): New.
19018 (EXPAND_BUILTIN_VA_ARG): New.
19019 * clipper.c (clipper_builtin_saveregs): Only dump registers.
19020 Return the address of the save area.
19021 (clipper_build_va_list): New.
19022 (clipper_va_start): New.
19023 (clipper_va_arg): New.
19024
19025 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
19026
19027 * arc.h (EXPAND_BUILTIN_VA_START): New.
19028 (EXPAND_BUILTIN_VA_ARG): New.
19029 * arc.c (arc_setup_incoming_varargs): Set alias set of
19030 varargs save area.
19031 (arc_va_start): New.
19032 (arc_va_arg): New.
19033
19034 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
19035
19036 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
19037 (BUILD_VA_LIST_TYPE): New.
19038 (EXPAND_BUILTIN_VA_START): New.
19039 (EXPAND_BUILTIN_VA_ARG): New.
19040 * alpha.c (alpha_builtin_saveregs): Delete.
19041 (alpha_build_va_list): New.
19042 (alpha_va_start): New.
19043 (alpha_va_arg): New.
19044
19045 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
19046
19047 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
19048 column zero.
19049 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
19050 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
19051
19052 * gcc.texi: More changes related to list conversion.
19053 * invoke.texi: Likewise.
19054
19055 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
19056
19057 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
19058 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
19059 (expand_builtin_next_arg): Accept ARGLIST not EXP.
19060 (stabilize_va_list): New function.
19061 (std_expand_builtin_va_start): New function.
19062 (expand_builtin_va_start): New function.
19063 (get_varargs_alias_set): New function.
19064 (std_expand_builtin_va_arg): New function.
19065 (expand_builtin_va_arg): New function.
19066 (expand_builtin_va_end): New function.
19067 (expand_builtin_va_copy): New function.
19068 (expand_builtin): Call them.
19069 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
19070 __builtin_{varargs_start,stdarg_start,end,copy}.
19071 (build_va_arg): New function.
19072 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
19073 (build_va_arg): Declare.
19074 * c-decl.c (ptr_type_node, va_list_type_node): New.
19075 * c-parse.gperf (__builtin_va_arg): New.
19076 * c-parse.in (VA_ARG): New token.
19077 (unary_expr): Recognize it.
19078 * expr.c (expand_expr): Expand VA_ARG_EXPR.
19079 * expr.h (std_expand_builtin_va_start): Declare.
19080 (std_expand_builtin_va_arg): Declare.
19081 (expand_builtin_va_arg): Declare.
19082 (get_varargs_alias_set): Declare.
19083 * tree.def (VA_ARG_EXPR): New.
19084 * tree.h (BUILT_IN_VARARGS_START): New.
19085 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
19086 (ptr_type_node, va_list_type_node): Declare.
19087 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
19088 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
19089 * m88k.h, m88k.c: Likewise.
19090 * mn10300.h, mn10300.c: Likewise.
19091 * pa.h, pa.c: Likewise.
19092 * rs6000.h, rs6000.c: Likewise.
19093 * sh.h, sh.c: Likewise.
19094 * sparc.h, sparc.c: Likewise.
19095
19096 * emit-rtl.c (operand_subword): Copy alias set.
19097 (change_address): Likewise.
19098
19099 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
19100
19101 * pa.c (compute_frame_size): Scan all the used callee saved registers,
19102 not just the first one.
19103
19104 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
19105
19106 * config/arm/arm.h (TARGET_SWITCHES): Add
19107 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
19108 (TARGET_OPTIONS): Add -mpic-register=.
19109 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
19110 (arm_pic_register_string): Declare.
19111 (NEED_PLT_GOT): Delete, replace with ...
19112 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
19113 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
19114 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
19115 * config/arm/arm.c (arm_override_options): Add new option
19116 -mpic-register=N.
19117 (arm_pic_register_string): New variable.
19118 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
19119 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
19120 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
19121 (output_return_instruction): Likewise.
19122 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
19123 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
19124 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
19125
19126 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
19127 mention of -msched-prolog. Document new options -msingle-pic-base
19128 and -mpic-register=.
19129
19130 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
19131
19132 * haifa-sched.c (reemit_notes): Tidy.
19133 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
19134 haifa's routine.
19135
19136 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
19137
19138 * explow.c (trunc_int_for_mode): New function.
19139 (plus_constant_wide): Use it.
19140 * combine.c (simplify_and_const_int): Likewise.
19141 (merge_outer_ops): Likewise.
19142 (simplify_shift_const): Likewise.
19143 * cse.c (simplify_unary_operation): Likewise.
19144 (simplify_binary_operation): Likewise.
19145 * emit-rtl.c (operand_subword): Likewise.
19146 * rtl.h: Declare it.
19147
19148 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19149
19150 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
19151 (use NUM_REGS instead of NUM_INTS).
19152
19153 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19154
19155 * builtins.c: New file.
19156 * expr.c (saveregs_value, apply_args_value): Delete definition,
19157 moved into builtins.c.
19158 (string_constant): No longer static.
19159 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
19160 apply_args_size, apply_result_size, result_vector,
19161 expand_builtin_apply_args, expand_builtin_apply,
19162 expand_builtin_return): Delete functions, moved into builtins.c.
19163 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
19164 * expr.h (saveregs_value, apply_args_value): Declare variables.
19165 (expand_builtin, string_constant): Declare functions.
19166 * Makefile.in: Update to build builtin.o.
19167
19168 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
19169
19170 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
19171 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
19172 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
19173 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
19174 false.
19175 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
19176 Define to zero.
19177
19178 1999-07-21 Michael Meissner <meissner@cygnus.com>
19179
19180 * print-rtl.c (print_rtx): Print the names of the virtual
19181 registers.
19182
19183 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
19184
19185 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
19186 introduced in previous delta.
19187
19188 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19189
19190 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
19191 to avoid name clash.
19192
19193 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
19194
19195 * c-lex.c (yylex) : Correct the test for overflow when lexing
19196 integer literals.
19197
19198 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
19199
19200 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
19201 (adjust_priority): Always call ADJUST_PRIORITY.
19202 (schedule_insn): Only put insns into the ready at cost 0.
19203 (schedule_block): Remove redundant initial sort. Give clock_var
19204 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
19205 is not 0.
19206 * tm.texi (MD_SCHED_REORDER): Update docs.
19207
19208 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
19209 * sparc.c (ultra_reorder_called_this_block): Delete.
19210 (ultrasparc_sched_init): Don't set it.
19211 (ultrasparc_sched_reorder): Don't check it.
19212
19213 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
19214
19215 * rs6000.h (struct rs6000_args): Add sysv_gregno.
19216 * rs6000.c (init_cumulative_args): Init sysv_gregno.
19217 (function_arg_boundary): Align DFmode.
19218 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
19219 to get fp reg and stack overflow correct.
19220 (function_arg): Likewise.
19221 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
19222 (setup_incoming_varargs): Restructure for ABI_V4; use
19223 function_arg_advance to skip final named argument.
19224 (expand_builtin_saveregs): Properly unskip the last integer arg
19225 when doing varargs. Adjust overflow location calculation.
19226
19227 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
19228 explicitly unsigned.
19229 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
19230 (__VA_GP_REGSAVE): Similarly.
19231 (__va_longlong_p): Delete.
19232 (__va_arg_type_violation): New declaration.
19233 (va_arg): Restructure. Flag promotion errors. Align double.
19234 TFmode passed by reference.
19235
19236 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
19237 in the HOST_BITS_PER_WIDE_INT > 32 case.
19238
19239 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
19240
19241 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
19242
19243 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
19244
19245 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
19246 * toplev.c (documented_lang_options): Add -fpreprocessed.
19247 * cpplib.h (struct cpp_buffer): Add preprocessed.
19248 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
19249 (cpp_start_read): Don't expand macros or emit an initial #line
19250 directive if -fpreprocessed.
19251
19252 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
19253
19254 * cpplib.h (struct cpp_buffer): Added manual_pop for
19255 better C++ tokenization.
19256 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
19257 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
19258 * c-common.c (cpp_token): Make non-static.
19259
19260 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19261
19262 * c-common.h: New file.
19263 * c-common.c (permanent_obstack): Delete unused declaration.
19264 (c_global_trees): New array.
19265 (c_common_nodes_and_builtins): New function; split off common code
19266 from init_decl_processing in both c-decl.c and cp/decl.c.
19267 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
19268 c_global_trees and accessor macros defined in c-common.h.
19269 Include c-common.h.
19270 * c-decl.c: Delete definitions for tree nodes that were replaced by
19271 c_global_trees.
19272 (init_decl_processing): Build void_list_node.
19273 Call c_common_nodes_and_builtins; delete code to generate the common
19274 builtins here.
19275 * objc/objc-act.c (build_module_descriptor): Rename variable
19276 void_list_node to avoid clash with c-common.h.
19277
19278 * Makefile.in: Update dependencies.
19279 * objc/Make-lang.in: Likewise.
19280
19281 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
19282
19283 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
19284 (UNIQUE_SECTION_P): Likewise.
19285 (UNIQUE_SECTION): Likewise.
19286
19287 1999-07-19 Linas Vepstas <linas@linas.org>
19288
19289 * config/i370/README: New file.
19290 * config/i370/linux.h: New file.
19291 * config/i370/mvs.h: New file.
19292 * config/i370/oe.h: New file.
19293 * config/i370/t-linux: New file.
19294 * config/i370/t-mvs: New file.
19295 * config/i370/t-oe: New file.
19296 * config/i370/x-oe: New file.
19297 * config/i370/xm-linux.h: New file.
19298 * config/i370/xm-mvs.h: New file.
19299 * config/i370/xm-oe.h: New file.
19300
19301 * i370.c (label_node_t): Add first_ref_page, label_addr,
19302 label_first_ref, label_last_ref members.
19303 (mvs_need_base_reload): Renamed from mvs_label_emitted.
19304 (MAX_MVS_LABEL_SIZE): Define.
19305 (MAX_LONG_LABEL_SIZE): Define.
19306 (alias_node_t, alias_anchor, alias_number): New.
19307 (mvs_function_table): Reorder for EBCDIC.
19308 (ascebc, ebcasc): Unconditionally define.
19309 (i370_branch_dest, i370_branch_length): New functions.
19310 (i370_short_branch, i370_label_scan): New functions.
19311 (mvs_get_label): Renamed from mvs_add_label. Search for
19312 an existing label before creating a new one.
19313 (mvs_add_label): New function.
19314 (mvs_get_label_page): New function.
19315 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
19316 over the entire list.
19317 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
19318 (mvs_check_page) [TARGET_ELF_ABI]: New function.
19319 (mvs_add_alias, mvs_need_alias): New functions.
19320 (mvs_get_alias, mvs_check_alias): New functions.
19321 (handle_pragma): New function.
19322 (mvs_function_check): New function.
19323 (unsigned_jump_follows_p): Search harder.
19324 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
19325 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
19326 * i370.h (TARGET_VERSION): Delete.
19327 (CPP_SPEC, CPP_PREDEFINES): Delete.
19328 (mvs_label_emitted): Delete.
19329 (TARGET_EBCDIC): Delete.
19330 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
19331 (HANDLE_PRAGMA): Define.
19332 (HARD_REGNO_NREGS): Handle complex modes.
19333 (HARD_REGNO_MODE_OK): Likewise.
19334 (CLASS_MAX_NREGS): Likewise.
19335 (RET_REG): Likewise.
19336 (EXTRA_CONSTRAINT): Define.
19337 (RETURN_IN_MEMORY): True for DImode.
19338 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
19339 (FUNCTION_PROFILER): Delete.
19340 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
19341 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
19342 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
19343 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
19344 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
19345 (ASM_FILE_START): Add "RMODE ANY".
19346 (ASM_OUTPUT_EXTERNAL): Check for aliases.
19347 (ASM_GLOBALIZE_LABEL): Likewise.
19348 (ASM_OUTPUT_LABELREF): Likewise.
19349 (ASM_OUTPUT_COMMON): Likewise.
19350 (PRINT_OPERAND): Handle 'K', 'W', default.
19351 (PRINT_OPERAND_ADDRESS): New.
19352 (Lots of defines): Add support for TARGET_ELF_ABI.
19353 * i370.md (attr length): New. Define for all patterns.
19354 (*): Lots of tweeks to assembly output and constraints.
19355
19356 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
19357
19358 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
19359 Disable patterns performing SImode comparisons with SImode values
19360 if TARGET_POWERPC64 and instruction does not sign-extend or does
19361 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
19362 differ for signed quantities.
19363 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
19364 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
19365 (decrement_and_branch_on_count): Add 64-bit variant.
19366
19367 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19368
19369 * final.c (output_asm_insn): When searching for the matching string
19370 for a given dialect, don't run past the end of the list of
19371 alternatives if there are fewer alternatives in the template than
19372 dialects.
19373
19374 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
19375
19376 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
19377 Removed paragraph about compression of files and size limitation,
19378 duplicated in the FAQ. Use gcc-patches for posting patches.
19379 * gcc.c (main): Updated URL with bug reporting instructions to
19380 gcc.gnu.org. Removed e-mail address.
19381 * system.h (abort): Likewise.
19382
19383 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19384
19385 * Makefile.in (stmp-multilib-sub): Make the files extracted
19386 from $(LIBGCC1) writable.
19387
19388 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
19389
19390 * config/arm/aout.h: Reformat for improved readability.
19391
19392 * config/arm/arm.h: Reformat for improved readability.
19393 Replace uses of fprintf with asm_fprintf where appropriate.
19394 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
19395 function declaration assembler actions.
19396 (NUM_INTS): New macro: Convert from bytes to words.
19397 (NUM_REGS): New macro: Compute number of registers required to
19398 hold a quanitity of tyep MODE.
19399 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
19400 types.
19401 (NUM_ARG_REGS): New macro: The number of argument registers
19402 available.
19403 (ARG_REGISTER): New macro: Compute the register number of the Nth
19404 argument register.
19405 (LAST_ARG_REGNUM): New macro: The number of the last argument
19406 register.
19407 (SP_REGNUM): New macro: Register number of the stack pointer.
19408 (FP_REGNUM): New macro: Register number of the frame pointer.
19409 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
19410 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
19411 CUMULATIVE_ARGS so that it counts registers not bytes.
19412
19413 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
19414 TARGET_INTERWORK.
19415 Replace uses of fprintf with asm_fprintf where appropriate.
19416 (output_ascii_pseudo_op): Replace with version from thumb.c
19417
19418 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
19419
19420 * config/arm/elf.h (CPP_PREDEFINES): Replace with
19421 SUBTARGET_CPP_SPEC.
19422 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
19423 (ASM_FILE_START): Emit ASM_APP_OFF.
19424
19425 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
19426
19427 * pa.c (compute_frame_size): Round frame according to
19428 STACK_BOUNDARY rather than a hardwired value.
19429
19430 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
19431
19432 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
19433 of "1".
19434 * configure: Rebuilt.
19435
19436 * configure.in (hppa*-*-linux*): New configuration.
19437 * configure: Rebuilt.
19438 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
19439 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
19440 * pa/pa-linux.h: New file.
19441 * pa/t-linux: New file.
19442 * pa/xm-linux.h: New file.
19443
19444 * pa.c (hppa_legitimize_address): Change references from SImode to
19445 either Pmode or word_mode as appropriate.
19446 (emit_move_sequence, store_reg, load_reg): Likewise.
19447 (set_reg_plus_d, hppa_expand_prologue): Likewise.
19448 (output_mul_insn): Likewise.
19449 * pa.h (PROMOTE_MODE): Likewise.
19450 (INITIALZE_TRAMPOLINE): Likewise.
19451 (Pmode): Define to word_mode.
19452
19453 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
19454 value of 4. Allocate 8 bytes for each FP register save.
19455 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
19456 value of 4.
19457 (hppa_expand_prologue): Likewise.
19458 * pa.h (PROMOTE_MODE): Likewise.
19459 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
19460 (FUNCTION_ARG_BOUNDARY): Likewise.
19461
19462 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
19463
19464 * pa.c (out_of_line_prologue_epilogue): Delete.
19465 (override_options): Remove -mspace related code.
19466 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
19467 (compute_frame_size): Only allocate space for register that
19468 actually need to be saved.
19469 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
19470 (TARGET_SWITCHES): Remove -mspace, -mno-space
19471 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
19472 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
19473 * pa/ee.asm, pa/ee_fp.asm: Delete.
19474
19475 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
19476
19477 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
19478 directive in column zero.
19479
19480 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
19481
19482 * m68k.c (output_function_prologue): Fix computation of save mask
19483 when generating PIC code.
19484
19485 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
19486
19487 * tree.c (build_type_attribute_variant): Move current_obstack restore
19488 after build_qualified_type call.
19489
19490 1999-07-15 Mark Mitchell <mark@codesourcery.com>
19491
19492 * configure.in: Use t-iris6, even with GNU LD.
19493 * config/mips/iris6gld.h: Fix typo in linker spec.
19494 * config/mips/t-iris6gld: Remove.
19495
19496 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
19497
19498 * rs6000.md (insv, extzv): Remove SImode dependence in named
19499 patterns. Explicitly generate DImode RTL if PowerPC64 and
19500 operand is DImode.
19501 (insvdi): Reverse start and size in instruction template.
19502
19503 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
19504
19505 * invoke.texi: Typo fixes.
19506
19507 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
19508
19509 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
19510 handle at this time instead of silently generating incorrect code.
19511 (gen_imagpart): Likewise.
19512
19513 * reload.c (find_reloads): Emit a USE for a pseudo register without
19514 a hard register if we could not create an optional reload for the
19515 pseudo.
19516
19517 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19518
19519 * c-typeck.c (output_init_element, process_init_element):
19520 When advancing constructor_unfilled_fields for a RECORD_TYPE,
19521 check for nameless bit fields.
19522
19523 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
19524
19525 * regclass.c (scan_one_insn): Notice subregs that change the
19526 size of their operand.
19527 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
19528
19529 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
19530
19531 * configure.in (alpha*-*-*): Include alpha/t-ieee.
19532 * configure: Rebuilt.
19533 * alpha/t-ieee: New file.
19534
19535 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
19536
19537 * rs6000.c (find_addr_reg): Do not select r0 as an address
19538 register.
19539
19540 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
19541
19542 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
19543
19544 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
19545
19546 * rs6000.md (movsf): Do not force easy FP constants into memory.
19547
19548 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
19549 immed_double_const to ensure they are properly truncated then
19550 sign extended.
19551
19552 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
19553
19554 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
19555 always unless NO_DEBUG is used. Compile this code
19556 unconditionally.
19557 (replace_symbols_in_block): Compile it unconditionally.
19558
19559 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
19560
19561 * configure.in (i?86-*-elf*): New target.
19562 * configure: Rebuilt.
19563 * i386/i386elf.h, i386/t-i386elf: New files.
19564
19565 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
19566
19567 * toplev.c (main): Don't complain about saying -gdwarf.
19568 (rest_of_compilation): Remove redundant code.
19569
19570 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
19571
19572 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
19573
19574 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
19575
19576 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
19577 "Li960R:", to avoid name clash.
19578
19579 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19580
19581 * loop.c (check_dbra_loop): When reversing a loop, delete all
19582 REG_EQUAL notes referencing the reversed biv except those which are
19583 for a giv based on it.
19584
19585 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
19586
19587 * version.c: Drop "gcc-" prefix from version #.
19588
19589 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
19590
19591 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
19592 the label if we're being verbose.
19593
19594 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
19595
19596 * m68k.c (output_function_prologue): Add pic register to mask
19597 if live and flag_pic.
19598 (output_function_epilogue): Likewise.
19599
19600 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
19601
19602 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
19603 directives in column zero.
19604
19605 * pa/elf.h (ASM_FILE_START): Define.
19606 * pa/som.h (ASM_FILE_START): Include .level directives.
19607 * pa/hpux10.h (ASM_FILE_START): Delete.
19608 * pa/hpux11.h (ASM_FILE_START): Delete.
19609
19610 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
19611
19612 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19613
19614 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
19615 when reload_out equals reload_in.
19616
19617 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
19618
19619 * invoke.texi (Spec Files): New node: Describe the contents of
19620 spec files.
19621
19622 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
19623
19624 * invoke.texi (DEC Alpha Options): Put @end table at
19625 beginning of line, to avoid confusing texi2html.
19626
19627 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
19628
19629 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
19630 introduced in previous delta.
19631
19632 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19633
19634 * reload1.c (gen_reload): When synthesizing a 3 operand add
19635 sequence, improve test for when to reload OP1 into the reload
19636 register instead of OP0.
19637
19638 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
19639
19640 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
19641
19642 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
19643
19644 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
19645 string literal.
19646
19647 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
19648
19649 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
19650 (va_dcl): Use __builtin_va_alist_t.
19651
19652 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
19653
19654 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
19655 on the permanent_obstack.
19656 * dwarfout.c (output_type): Likewise.
19657
19658 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
19659
19660 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
19661 Merged from c-typeck.c and cp/typeck.c.
19662 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
19663 Merged into c-common.
19664
19665 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
19666
19667 * c-lex.c (errorcount): Declare it.
19668 (finish_parse): Update errorcount when using CPPLIB.
19669
19670 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
19671
19672 * fixinc/inclhack.def(end_else_label): Double the backslash so
19673 sed gets a chance to see it.
19674 * fixinc/inclhack.sh: regen
19675 * fixinc/fixincl.x: regen
19676
19677 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
19678
19679 Add framework to support armv5 architecture when it becomes
19680 available:
19681
19682 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
19683 (arm_arch5): New variable.
19684 (all_architectures): Add armv5 line.
19685 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
19686 -march=armv5 is specified on the command line.
19687 (arm_arch5): Export this variable.
19688 * invoke.texi: Document new string accepted by -march= switch for
19689 ARM ports.
19690
19691 * config/arm/arm.h: Replace use of constant 12 as a register
19692 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
19693 * config/arm/arm.c: Replace use of constant 12 as a register
19694 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
19695
19696 * config/arm/elf.h: Tidy up.
19697 * config/arm/coff.h: Tidy up.
19698
19699 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
19700
19701 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
19702 * gcc/config/mips/t-iris6gld: New file.
19703 * gcc/config/mips/iris6gld.h: Likewise.
19704
19705 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
19706
19707 * c-decl.c (widest_integer_literal_type_node,
19708 widest_unsigned_literal_type) : New.
19709 (init_decl_processing): Handle/use the two new types.
19710 * c-common.c (type_for_size,type_for_mode) : Same.
19711 * c-lex.c (yylex) : Same.
19712 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
19713 Same.
19714 * c-tree.h (widest_integer_literal_type_node,
19715 widest_unsigned_literal_type) : New.
19716
19717 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
19718
19719 * dwarfout.c (field_byte_offset): Correctly compute the object's
19720 byte offset for the first bit of a field which crosses an alignment
19721 boundary on a !BYTES_BIG_ENDIAN target.
19722
19723 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
19724
19725 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
19726 ntohs.
19727
19728 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
19729 Jeff Law <law@cygnus.com>
19730
19731 * ginclude/varargs.h (va_dcl): Use word_mode for type of
19732 __builtin_va_list.
19733
19734 * except.c: Include intl.h.
19735 (expand_eh_return): Set current_function_cannot_inline.
19736 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
19737 * function.h (struct function): Add eh_return_stub_label.
19738 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
19739 * Makefile.in (except.o): Depend on intl.h.
19740
19741 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
19742
19743 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
19744 same as offsettable in cases 1 and 2.
19745
19746 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
19747
19748 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
19749 (extlh, extwh): Likewise.
19750
19751 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
19752
19753 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
19754
19755 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
19756
19757 * configure.in: Add arm-pe and thumb-pe targets.
19758 * configure: Regenerate.
19759
19760 * thumb.c (arm_naked_function_p): New function: Determines if
19761 a function is naked (has no gcc generated prologue/epilogue).
19762 (is_called_in_ARM_mode): Return true if the func has the
19763 interfacearm attribute.
19764 (output_return): Do not generate a return for naked functions.
19765 (thumb_function_prologue): Do not generate a prologue for
19766 naked functions.
19767 (thumb_expand_prologue): Do not generate a prologue for naked
19768 functions.
19769 (thumb_expand_epilogue): Do not generate an epilogue for naked
19770 functions.
19771 (arm_valid_machine_decl_attribute): New function, copied from
19772 arm.c: Permit naked and interfacearm attributes.
19773
19774 * config/arm/pe.c: New file: Support code for arm-pe target.
19775 * config/arm/pe.h: New file: Header file for arm-pe target.
19776 * config/arm/tpe.h: New file: Header file for thumb-pe target.
19777 * config/arm/t-thumb-pe: New file: Makefile fragment for
19778 thumb-pe target.
19779
19780 1999-07-01 Mark Kettenis <kettenis@gnu.org>
19781
19782 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
19783 -fPIC or -fpic is specified.
19784
19785 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
19786
19787 * expr.c (emit_block_move): Use copy_to_mode_reg for
19788 !TARGET_MEM_FUNCTIONS case too.
19789
19790 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
19791 appropriate.
19792 * configure: Rebuilt.
19793 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
19794 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
19795 definitions made redundant by dbxelf.h inclusion. Delete
19796 lots of definitions related to assembly output that are
19797 specific to the SOM object format.
19798 * pa.c (output_function_prologue): Do not emit the function's
19799 name for OBJ_ELF.
19800 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
19801 * pa-pro.h: Deleted.
19802 * som.h: New file with SOM specific definitions.
19803 * elf.h: New file with ELF specific definitions.
19804
19805 * elfos.h (const_section): Output a tab before assembler directives.
19806 (ctors_section, dtors_section): Likewise.
19807 (ASM_OUTPUT_SECTION_NAME): Likewise.
19808
19809 * pa/pa1.h: Delete unused file.
19810
19811 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
19812
19813 * configure.in (hppa*-hp-hpux11*): New configuration.
19814 * configure: Rebuilt.
19815 * pa/pa-hpux11.h: New file.
19816 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
19817 command line.
19818
19819 * mips.md (leasi, leadi): New patterns.
19820
19821 * expr.c (emit_block_move): Properly handle case where one of the
19822 block move arguments has a queued increment or decrement.
19823 (clear_storage): Similarly. Fix formatting goof.
19824
19825 1999-06-28 "David O'Brien" <obrien@NUXI.com>
19826
19827 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
19828 semicolon from the BSD VA_LIST replacement expression.
19829
19830 * fixinc/inclhack.sh: regen
19831 * fixinc/fixincl.x: regen
19832
19833 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
19834 now use the fixincl program.
19835
19836 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
19837
19838 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
19839 case. Also make the PIC register call_used.
19840
19841 * m68k.h (FINALIZE_PIC): Delete.
19842 * m68k.c (finalize_pic): Delete.
19843
19844 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
19845
19846 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
19847 to memory.
19848
19849 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
19850
19851 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
19852
19853 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
19854
19855 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
19856
19857 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
19858
19859 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
19860
19861 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
19862
19863 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
19864
19865 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
19866
19867 * rs6000.c (output_toc): Always use hex values for floating-point
19868 constants. Store single-precision values in upper-half of TOC
19869 entry in 64-bit mode.
19870 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
19871 to final constraints.
19872 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
19873 (fctiwz): Improve accuracy of RTL for pattern.
19874
19875 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
19876
19877 * expr.c (expand_expr): Allow RTL_EXPR's through the
19878 MAX_INTEGER_COMPUTATION_MODE checks.
19879
19880 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
19881
19882 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
19883 such that MASK_SUPPORT_ARCH is not negative.
19884
19885 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
19886
19887 * loop.c (verify_dominator): Properly handle ADDR_VEC and
19888 ADDR_DIFF_VEC insns that appear inside loops.
19889
19890 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
19891 Jeff Law <law@cygnus.com>
19892
19893 * rs6000.md (movdf_hardfloat32): Revert previous patch.
19894 Handle LO_SUM the same as offsettable in cases 1 and 2.
19895 * rs6000.c (find_addr_reg): Revert previous patch.
19896
19897 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
19898
19899 * system.h (strstr): New external function declaration.
19900 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
19901 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
19902 * config.in, configure: Rebuilt.
19903
19904 1999-06-24 Tom Tromey <tromey@cygnus.com>
19905
19906 * gcc.c (main): Read user-specified specs files after computing
19907 additional startfile_prefixes.
19908
19909 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
19910
19911 Revert these two patches:
19912
19913 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19914 * loop.c (strength_reduce): When doing biv->giv conversion, update
19915 reg note of NEXT->insn.
19916
19917 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19918 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
19919 reg_biv_class.
19920 (recombine_givs): Set ix field after sorting.
19921
19922 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19923
19924 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
19925 for the parts of an UNSPEC / UNSPEC_VOLATILE.
19926
19927 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
19928
19929 *fixinc/inclhack.def: Add fix development commentary
19930 (read_ret_type): reactivate and add selection clause
19931 (zzz_*): tweak output file name to match what is used in hackshell.tpl
19932 *fixinc/{fixincl.x|inclhack.sh}: regen
19933
19934 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
19935
19936 * expr.c (expand_expr): STRIP_NOPS before checking against
19937 MAX_INTEGER_COMPUTATION_MODE
19938 (check_max_integer_computation_mode): Likewise.
19939
19940 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
19941
19942 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
19943
19944 1999-06-22 Jim Wilson <wilson@cygnus.com>
19945
19946 * expr.c (store_expr): When target is a promoted subreg, return a
19947 promoted subreg as a result.
19948
19949 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
19950
19951 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
19952 coding standards.
19953 (dwarf2out_define): Mark unused parameters appropriately.
19954 (gen_unspecified_parameters_die): Ditto.
19955 (gen_subprogram_die): Fix signed/unsigned warnings.
19956 (gen_variable_die): Ditto.
19957
19958 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
19959
19960 * fixinc/inclhack.def(end_else_label): combined else_label
19961 and endif_label and fixed the sed expression.
19962 *fixinc/{fixincl.x|inclhack.sh}: regen
19963
19964 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
19965
19966 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
19967 'x' when handling non-offsettable addresses
19968
19969 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
19970
19971 * final.c (shorten_branches): Don't try to split an insn that has
19972 been deleted.
19973
19974 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
19975
19976 * config/mips/mips.c (symbolic_expression_p): New function.
19977 (mips_select_rtx_section): Put symbolic expressions in the
19978 data section, not the read-only data section.
19979
19980 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
19981
19982 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
19983
19984 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
19985
19986 * collect2.c (main): Log frame table count.
19987 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
19988 (scan_prog_file) [COFF]: Handle frame tables.
19989
19990 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
19991 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
19992 * alpha/elf.h: Undef them again.
19993 * alpha/vms.h: Remove their definitions.
19994
19995 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19996
19997 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
19998 remove the clobber of r0 and change the REG_UNUSED note to
19999 REG_INC.
20000
20001 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
20002
20003 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
20004 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
20005 fits in HOST_WIDE_INT and one uses union to access a long constant
20006 as double.
20007
20008 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
20009
20010 * sparc.c (sparc_override_options): Don't allow profiling for
20011 code models other than medlow.
20012 (sparc_function_profiler): New function from old FUNCTION_PROFILER
20013 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
20014 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
20015 (sparc_block_profiler): Likewise.
20016 (sparc_function_block_profiler_exit): Likewise.
20017 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
20018 (FUNCTION_BLOCK_PROFILER): Likewise.
20019 (BLOCK_PROFILER): Likewise.
20020 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
20021 (MCOUNT_FUNCTION): New.
20022 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
20023 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
20024 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
20025 (MCOUNT_FUNCTION): New.
20026 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
20027 (BLOCK_PROFILER): Delete.
20028 (MCOUNT_FUNCTION): New.
20029
20030 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
20031
20032 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
20033
20034 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
20035
20036 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20037 Add the macros.
20038
20039 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20040 Ditto.
20041
20042 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20043 Ditto.
20044
20045 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
20046 Ditto.
20047
20048 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
20049
20050 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
20051 types.
20052
20053 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
20054
20055 * i386/djgpp.h (LIB_SPEC): New.
20056 (STARTFILE_SPEC): New.
20057
20058 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
20059
20060 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
20061
20062 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
20063 compiler flags.
20064
20065 * system.h (WSTOPSIG): New macro.
20066
20067 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
20068
20069 * c-pragma.c (push_alignment): Don't ignore alignments greater than
20070 4 bytes.
20071 (insert_pack_attributes): Take into account member natural
20072 alignment.
20073
20074 * i386/winnt.c (exports_head): New static variable.
20075 (i386_pe_record_exported_symbol): New function.
20076 (i386_pe_asm_file_end): Use.
20077 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
20078 symbols to be emitted at end of assembly.
20079 (ASM_DECLARE_OBJECT_NAME): Likewise.
20080 (ASM_DECLARE_FUNCTION_NAME): Likewise.
20081
20082 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
20083 -iwithprefix.
20084
20085 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
20086
20087 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
20088 in last change.
20089
20090 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
20091
20092 * haifa-sched.c (sched_analyze_1): Use free_list instead of
20093 zapping reg_last_uses directly.
20094 (sched_analyze_2, sched_analyze_insn): Likewise.
20095 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
20096
20097 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
20098
20099 * rs6000.md (movdf_hardfloat32): Use worst case insn length
20100 attributes for cases 1 and 2.
20101
20102 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
20103
20104 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
20105 instead of set.
20106
20107 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
20108
20109 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
20110
20111 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
20112
20113 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
20114 PIC_OFFSET_TABLE_REGNUM for general alloaction.
20115 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
20116 must be stacked if it is used for PIC accesses.
20117 * arm.c (use_return_insn): Handle PIC register specially.
20118 (output_return_instruction): Likewise.
20119 (output_func_{prologue,epilogue}): Likewise.
20120 (output_expand_prologue): Likewise.
20121
20122 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
20123 (*strsi_predec): Renamed from *strqi_predec.
20124 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
20125 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
20126
20127 * arm.c (arm_override_options): Remove warning about PIC code
20128 not being supported.
20129
20130 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
20131
20132 * rs6000.c (find_addr_reg): New function.
20133 * rs6000.h (find_addr_reg): Declare.
20134 (offsettable_addr_operand): Delete.
20135 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
20136 from and stores to GPRs.
20137
20138 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
20139
20140 * alpha.c (alpha_expand_block_move): Use get_insns rather than
20141 gen_sequence as argument to emit_no_conflict_block.
20142
20143 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20144
20145 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
20146 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
20147 *fixinc/fixincl.x: regen
20148 *fixinc/inclhack.sh: regen
20149
20150 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
20151
20152 * added support for -mpcrel (PC relative addressing for m68k)
20153 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
20154 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
20155 * m68k.c (print_operand_address): Handle 32-bit PIC case.
20156 (comments for general_src_operand): Add some explanation
20157 about EXTRA_CONSTRAINTS.
20158 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
20159 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
20160 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
20161 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
20162 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
20163 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
20164 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
20165 if not already set.
20166 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
20167 * m68k.h (TARGET_PCREL): New target flag.
20168 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
20169 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
20170 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
20171 contains a SYMBOL_REF. Relax this constraint during reload, since
20172 we want to use the predicates, not reload's built-in concept of a
20173 valid memory address, to control what insns need reloading.
20174 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
20175 operands (essentially 'g', 'm', and 's' under normal circumstances).
20176 * m68k.c (print_operand): Cause printing of pc-relative addresses
20177 to include pc register.
20178 (print_operand_address): Ditto.
20179 (general_src_operand): Accept operands that are not only
20180 general_operands, but are also valid when used as a pc-relative
20181 source.
20182 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
20183 (memory_src_operand): Similar, for memory_operands.
20184 (pcrel_address): New predicate to accept the special case of a
20185 pc-relative address.
20186 * m68k.md (many patterns): Rewrite common SImode, HImode, and
20187 QImode insns to accept *_src_operand instead of *_operand where
20188 pc-relative operands can fit. For example, a pc-relative operand
20189 can be used as a memory source operand for addsi3, but not as a
20190 memory destination.
20191 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
20192
20193 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
20194
20195 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
20196 .thumb_set pseudo op to mark aliases of thumb functions.
20197
20198 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
20199
20200 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
20201 preference to ASM_OUTPUT_DEF, if it is defined.
20202
20203 * tm.texi: Document new, optional target macro
20204 ASM_OUTPUT_DEF_FROM_DECLS.
20205
20206 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20207
20208 * fixincludes: ISCNTL patch
20209 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
20210 (dgux_int_varargs): new for DG/UX
20211 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
20212
20213 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
20214
20215 * invoke.texi (ia32 options): Fix typo.
20216
20217 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20218
20219 * loop.c (strength_reduce): When doing biv->giv conversion, update
20220 reg note of NEXT->insn.
20221
20222 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
20223
20224 * loop.c (move_movables): Note issues with replacing REGs with
20225 SUBREGs.
20226 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
20227
20228 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
20229
20230 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
20231
20232 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
20233 the reference to `mcount' was not correct for the ELF on FreeBSD.
20234
20235 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20236
20237 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
20238 reg_biv_class.
20239
20240 (recombine_givs): Set ix field after sorting.
20241
20242 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
20243
20244 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
20245 to safe to extract a subword out of a REG.
20246
20247 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20248
20249 * sh.md (mulsi3): Don't add a no-op move at the end.
20250
20251 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20252
20253 * cse.c (cse_insn): Don't put hard register source into tables for
20254 the last insn of a libcall.
20255
20256 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20257
20258 * loop.c (strength_reduce): Insert sets of derived givs at every
20259 biv increment, even if it's the only one.
20260
20261 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
20262
20263 * dwarfout.c (add_incomplete_type): New fn.
20264 (output_type): Call it.
20265 (retry_incomplete_types): New fn.
20266 (dwarfout_finish): Call it.
20267
20268 From Eric Raskin <ehr@listworks.com>:
20269 (output_type): Output types for bases.
20270
20271 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
20272
20273 * mips.c (mips_output_conditional_branch): Add `break'
20274 between `default' label and `close braces'.
20275
20276 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
20277
20278 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
20279 specifications and make it realistic.
20280 (LIB_SPEC): Likewise.
20281
20282 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
20283
20284 * config/mips/mips.c (mips_secondary_reload_class): Check for
20285 (PLUS (SP) (REG)) and return appropriate register class.
20286 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
20287 Handle (PLUS (SP) (REG)).
20288 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
20289 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
20290 of emit_insn for tablejump.
20291
20292 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
20293
20294 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
20295 asm_fprintf format string by itself.
20296 (output_function_profiler): Likewise.
20297
20298 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
20299
20300 * combine.c (simplify_logical, case AND): Only call
20301 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
20302 or the constant is positive.
20303
20304 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
20305
20306 * configure.in: Fix typo in rs6000-ibm-aix4 case.
20307 * configure: Regenerate.
20308
20309 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
20310
20311 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
20312 require a sub-version #.
20313 * configure: Rebuilt.
20314
20315 1999-06-14 Robert Lipe (robertlipe@usa.net)
20316
20317 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
20318
20319 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
20320
20321 * c-typeck.c (process_init_element): Detect excess elements in
20322 char array initializer.
20323
20324 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
20325
20326 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
20327
20328 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
20329
20330 * invoke.texi (Option Summary): Add -fpermissive flag.
20331
20332 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
20333
20334 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
20335 that require PIC code sequences.
20336
20337 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
20338
20339 * configure.in: Add new target: thumb-elf.
20340 * configure: Regenerate.
20341 * config/arm/t-thumb-elf: New file: Makefile fragment for
20342 thumb-elf build.
20343 * config/arm/telf.h: New file: Header file for thumb-elf
20344 build.
20345
20346 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
20347
20348 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
20349 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
20350 initializers is some circumstances.
20351
20352 * fixinc/inclhack.def (endif_label): Add additional selector for
20353 more bogus stuff after #endif statements.
20354 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
20355
20356 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
20357
20358 * i386/cygwin.h (SET_ASM_OP): Define.
20359
20360 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
20361
20362 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
20363
20364 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20365
20366 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
20367 latter.
20368
20369 * sh.md (ic_invalidate_line_i): Remove second alternative.
20370
20371 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20372
20373 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
20374 test for the presence of valid prototypes. Delete bypass expr.
20375 (ioctl_fix_ctrl): Correct the selection expression.
20376 (no_double_slash): Correct quoting rules
20377 *fixinc/fixincl.x: regen
20378 *fixinc/inclhack.sh: regen
20379
20380 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
20381
20382 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
20383
20384 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20385
20386 * rs6000.md (movsi_got_internal_mem): Delete.
20387 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
20388 (GOT_TOC_REGNUM): Delete.
20389 (PIC_OFFSET_TABLE_REGNUM): Define.
20390 (FINALIZE_PIC): Disable.
20391 * rs6000.c (rs6000_got_register): New code for fixed pic register.
20392 (rs6000_replace_regno): Delete.
20393 (rs6000_finalize_pic): Likewise.
20394 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
20395
20396 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20397
20398 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
20399 is a note; use <= for the compare; advance P while it is
20400 a NOTE.
20401
20402 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
20403
20404 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
20405 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
20406
20407 * varasm.c (remove_from_pending_weak_list): Verify t->name
20408 is non-NULL before passing it to strcmp.
20409
20410 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20411
20412 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
20413 the typed arguments are not part of a comment
20414 (ioctl_fix_ctrl): Added a purpose comment
20415 *fixinc/fixincl.x: regenerate
20416 *fixinc/inclhack.sh: regenerate
20417
20418 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20419
20420 * invoke.texi: Add C4x invocation docs.
20421
20422 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20423
20424 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
20425 Define new macros.
20426 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
20427 TARGET_EXPOSE_LDP.
20428 (c4x_legitimize_reload_address): New function.
20429 * config/c4x/c4x.md: Update docs.
20430
20431 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
20432
20433 * fixincludes: Avoid removing '.'.
20434 * fixinc/fixinc.svr4: Likewise.
20435 * fixinc/fixinc.winnt: Likewise.
20436 * fixinc/inclhack.tpl: Likewise.
20437 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
20438
20439 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20440
20441 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
20442 pattern.
20443 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
20444
20445 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
20446
20447 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
20448 correctly.
20449
20450 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
20451
20452 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
20453 * configure: Regenerate.
20454
20455 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
20456
20457 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
20458 values.
20459
20460 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
20461
20462 * fixinc/inclhack.def (avoid_bool): Also catch
20463 "typedef [unsigned] int bool".
20464 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
20465
20466 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
20467 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
20468 * configure: Rebuilt.
20469
20470 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
20471
20472 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
20473 such that we can override its definitions if necessary.
20474 (CPP_SPEC): New define. Support processor specific predefines via
20475 %(cpp_cpu).
20476 (CC1_SPEC): New define. Support processor specific compiler
20477 options via %(cc1_cpu).
20478 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
20479 -static.
20480
20481 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20482
20483 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
20484 between sed's -e flag, and the open-quote following it.
20485 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
20486
20487 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
20488 Jeffrey A Law (law@cygnus.com)
20489
20490 * varasm.c (assemble_start_function): Remove the function
20491 from the pending weak decls list when we define a function.
20492 (assemble_variable): Similarly for variables.
20493 (weak_finish): Ignore items on the list with a NULL name.
20494 (remove_from_ending_weak_list); New function to "remove" an item
20495 from the pending weak declarations list.
20496
20497 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
20498
20499 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
20500
20501 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
20502
20503 * c-lex.c (GETC): Redefine to call getch.
20504 (UNGETC): Redefine to call put_back.
20505 (putback_buffer): New structure type.
20506 (putback): New static structure.
20507 (getch): New function.
20508 (put_back): New function.
20509 (yylex): Replace unused bytes from bad multibyte character.
20510
20511 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
20512
20513 * cpplib.c (do_define): Cast `alloca' return value.
20514 (do_include, do_undef, do_pragma): Likewise.
20515 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
20516 values.
20517 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
20518 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
20519
20520 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
20521
20522 * sparc.md (abstf2): This should be an expand.
20523 (split after abstf2_notv9): Fix mode.
20524 (abstf2_hq_v9): New pattern.
20525 (abstf2_v9): Only use when no hard quad.
20526 (absdf2_v9): Fix if target is not the same as source.
20527 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
20528 Add correct output constraints.
20529
20530 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
20531
20532 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
20533 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
20534
20535 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
20536
20537 * mips.h (mips_output_conditional_branch): New function.
20538 (mips_adjust_insn_length): Likewise.
20539 (ASSEMBLER_SCRATCH_REGNUM): New macro.
20540 (ADJUST_INSN_LENGTH): Likewise.
20541 * mips.c (print_operand): Add `F' and `W' for floating-point
20542 comparison opcodes.
20543 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
20544 are now in bytes.
20545 (mips_adjust_insn_length): New function.
20546 (mips_output_conditional_branch): New function.
20547 * mips.md (length): Adjust attribute definition to handle
20548 conditional branches. Change lengths to bytes, rather than
20549 instructions throughout. Remove length attribute from
20550 instructions whose length is four bytes, and rely on the default
20551 instead.
20552 (dslot): Fix typo in comment.
20553 Reword conditional branch patterns to use
20554 mips_output_conditional_branch.
20555
20556 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
20557
20558 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
20559 (LIB_SPEC): Likewise.
20560 Link with -lprof1_r for -g/-pg.
20561
20562 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
20563
20564 * loop.c (check_dbra_loop): Fix change of Jan 19.
20565
20566 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
20567
20568 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
20569 (STARTFILE_SPEC): Define, override the svr4.h version.
20570 (ENDFILE_SPEC): Likewise.
20571
20572 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
20573
20574 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
20575 * fixinc/fixincl.x: Regenerated.
20576 * fixinc/inclhack.sh: Regenerated.
20577
20578 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20579
20580 * sh.c (barrier_align): Don't return early for normal branch/barrier
20581 when optimizing for SH2.
20582
20583 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
20584
20585 * i386/udk.h (LINK_SPEC): Correct linker search path for
20586 system libraries.
20587
20588 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20589
20590 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
20591 (braf_label_ref_operand): Delete.
20592 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
20593 * sh.md (casesi_jump_2): Operand1 is now the inside of a
20594 label_ref, and has no predicate.
20595 The patten has a predicate to guard against invalid substitutions.
20596 (dummy_jump): Delete.
20597 (casesi): Update use of casesi_jump_2.
20598
20599 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20600
20601 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
20602 *fixinc/fixincl.x: regenerate
20603 *fixinc/inclhack.sh: regenerate
20604
20605 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
20606
20607 * dwarf2out.c (add_incomplete_type): New fn.
20608 (gen_struct_or_union_type_die): Call it.
20609 (retry_incomplete_types): New fn.
20610 (dwarf2out_finish): Call it.
20611
20612 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
20613
20614 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
20615 current block starts with a CODE_LABEL and ends with a CALL and
20616 we can not find all the argument setup instructions for the CALL.
20617
20618 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
20619
20620 Revert this change:
20621 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
20622 something is a candidate for optimize_bit_field_compare.
20623
20624 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20625
20626 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
20627
20628 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
20629
20630 * alpha.c (override_options): Thinko in last patch.
20631
20632 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
20633 (LIB_SPEC): Recognize -pthread.
20634
20635 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
20636
20637 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
20638 definition in config/arm/coff.h
20639 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
20640
20641 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20642
20643 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
20644 fixes that need "file=xxx\n" prepended before invocation
20645 (start_fixer - new): starting the fixer process is complex enough
20646 to warrent its own routine. It prepends the "file=xxx\n" stuff.
20647 (process): uses the new routine; omit usage of putenv()
20648 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
20649 * fixinc/fixincl.x: regenerate
20650
20651 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
20652
20653 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
20654 and version #s (1.1 -> 2.96) as needed.
20655 * README.g77: Kill way out of date file in the toplevel directory.
20656
20657 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
20658
20659 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
20660 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
20661 * configure: Rebuilt.
20662 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
20663 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
20664 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
20665 (SWITCH_TAKES_ARG): Likewise.
20666 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
20667 * config/t-freebsd: Moved from config/i386/ so it can used for all
20668 FreeBSD targets.
20669
20670 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
20671
20672 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
20673
20674 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
20675
20676 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
20677 * configure: Rebuilt.
20678
20679 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
20680
20681 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
20682 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
20683 * rs6000/rs6000.c (rs6000_file_start): Use putc.
20684 (rs6000_output_load_toc_table): Same.
20685 (output_prolog, output_mi_thunk): Same.
20686 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
20687 (ASM_GLOBALIZE_LABEL): Use putc.
20688
20689 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
20690
20691 * alpha.md (reload_*_help): New patterns and splitters.
20692 (reload_*): Use them.
20693 (mov[qh]i): Likewise.
20694
20695 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
20696
20697 * cccp.c (handle_directive): Handle backslash-newlines in quoted
20698 strings correctly.
20699
20700 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
20701
20702 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
20703
20704 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
20705
20706 * flow.c (mark_regs_live_at_end, insn_dead_p,
20707 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
20708 and HARD_FRAME_POINTER_REGNUM special treatment if reload
20709 hasn't run or the frame pointer is needed.
20710 * haifa-sched.c (attach_deaths): Likewise.
20711 * sched.c (attach_deaths): Likewise.
20712
20713 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
20714
20715 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
20716 calculate_can_reach_end returns nonzero.
20717
20718 * configure.in (native gas tests): Search for an assembler in the
20719 same manner that the installed compiler will.
20720 * configure: Rebuilt.
20721 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
20722
20723 * alias.c (find_base_term): Improve handling of addresses
20724 constructed from binary operations.
20725
20726 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
20727
20728 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
20729
20730 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
20731
20732 * function.h (cleanup_label, frame_offset): Declare.
20733 (tail_recursion_label, tail_recursion_reentry): Likewise.
20734 (arg_pointer_save_area, rtl_expr_chain): Likewise.
20735 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
20736 (tail_recursion_label, tail_recursion_reentry): Likewise.
20737 (arg_pointer_save_area, rtl_expr_chain): Likewise.
20738
20739 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
20740
20741 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
20742 defined.
20743 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
20744 (MAX_OFILE_ALIGNMENT): Define.
20745
20746 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
20747
20748 * fixincl.c: Replace local include scheme with #includes of
20749 gansidecl.h and system.h.
20750 * procopen.c: Likewise.
20751 * server.c: Likewise.
20752
20753 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
20754
20755 * i386/t-dgux (EXTRA_PARTS): Add crti.o
20756 (crti.o): Add build rule and dependencies.
20757 * fixinc/fixinc.dgux: Use modified _int_varargs.h
20758
20759 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20760
20761 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
20762 (LIB_LINUX_SPEC): Likewise.
20763 (LIB_LINUX_SPEC): Add support for -pthread
20764 (CPP_OS_LINUX_SPEC): Likewise.
20765 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
20766 specified.
20767
20768 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
20769
20770 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
20771 conditional move.
20772 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
20773 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
20774 for IEEE math and CC_FCOMI.
20775 (put_jump_code): No IEEE if CC_FCOMI is set.
20776
20777 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
20778
20779 * fold-const.c (fold_truthop): Make the field reference unsigned
20780 when converting a single bit compare.
20781
20782 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20783
20784 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
20785
20786 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
20787
20788 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
20789 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
20790 version did.
20791
20792 * reload.c (push_reload): Do not call remove_address_replacements
20793 when presented with identical optional reloads.
20794
20795 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
20796
20797 * alpha.h (MASK_FIX, TARGET_FIX): New.
20798 (MASK_*): Reorganize constants.
20799 (CPP_AM_FIX_SPEC): New.
20800 (TARGET_SWITCHES): Add FIX.
20801 (EXTRA_SPECS): Likewise.
20802 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
20803 (SECONDARY_MEMORY_NEEDED): Likewise.
20804 (REGISTER_MOVE_COST): Likewise.
20805 * alpha.c (override_options): Add FIX support. Always use
20806 ALPHA_TP_PROG for ev6.
20807 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
20808 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
20809 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
20810
20811 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
20812
20813 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
20814 something is a candidate for optimize_bit_field_compare.
20815
20816 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
20817
20818 * gcc.texi (Passes): Document branch-shortening.
20819 * invoke.texi (Debugging Options): Document the fact that `-dp'
20820 outputs length information for instructions.
20821
20822 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
20823
20824 * flow.c: Revert previous delta.
20825
20826 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
20827
20828 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
20829 FRAME_POINTER_REGNUM.
20830 (mark_set_1): Ditto.
20831 (mark_used_regs): Ditto.
20832
20833 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
20834
20835 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
20836 (GOT_PCREL): New macro. Define to 1 if not already defined.
20837 * arm/elf.h (GOT_PCREL): Define to 0.
20838 * arm.c (arm_finalize_pic): Take into account the setting of
20839 GOT_PCREL.
20840
20841 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
20842
20843 * output.h (STRIP_NAME_ENCODING): Provide default definition.
20844 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
20845
20846 * flow.c (mark_set_1): Do not record BLKmode stores as dead
20847 store elimination candidates.
20848
20849 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
20850
20851 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
20852 TARGET_GAS.
20853
20854 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
20855
20856 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
20857 Add use of x-aix41-gld.
20858
20859 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
20860
20861 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
20862 (ASM_OUTPUT_DESTRUCTOR): Define.
20863
20864 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
20865
20866 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
20867 last CODE_LABEL in a loop if we have previously passed a jump
20868 to the top of the loop.
20869
20870 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
20871
20872 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
20873 applying Philip's patch.
20874
20875 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
20876
20877 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
20878 are not VAR_DECLs.
20879
20880 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
20881
20882 * loop.c (strength_reduce): Grow reg_single_usage as needed.
20883
20884 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
20885
20886 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
20887 Also remove a useless comment.
20888
20889 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
20890
20891 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
20892
20893 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
20894
20895 * collect2.c (main): Only generate import or export file and add
20896 to link arguments if non-empty. Use xmalloc not alloca.
20897 (write_{export,import}_file): Delete.
20898 (write_aix_file): New function.
20899 (locatelib): Use xmalloc not malloc.
20900 (GCC_OK_SYMBOL): Do not check type if aix64.
20901
20902 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
20903
20904 Based on patch by Scott Bambrough and Pat Beirne:
20905 * config/arm/arm.c (making_const_table): New variable.
20906 * config/arm/arm.h (making_const_table): Declare.
20907 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
20908 appropriate.
20909 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
20910 Keep track of when we are building the constant table.
20911
20912 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
20913
20914 * config/arm/arm.c (arm_override_options): Fix erroneous warning
20915 message.
20916
20917 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
20918
20919 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
20920 defined.
20921
20922 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
20923
20924 * tm.texi (FUNCTION_ARG): Correct description of a stack element
20925 in a PARALLEL.
20926
20927 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
20928
20929 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
20930
20931 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20932
20933 * rs6000.c (output_mi_thunk): Enable full support again.
20934
20935 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20936
20937 * sh.h (BRANCH_COST): Define.
20938
20939 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
20940
20941 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
20942
20943 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
20944
20945 * function.c (assign_stack_local): Align stack slot propertly.
20946 (assign_outer_stack_local): Likewise.
20947
20948 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
20949
20950 * expr.h (lang_expand_constant): Declare.
20951 * toplev.c (lang_expand_constant): Define it.
20952 * varasm.c (output_constant): Use it.
20953
20954 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20955
20956 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
20957 Change function definitions to K&R style.
20958
20959 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20960
20961 * fixinc/fixincl.c: We must not ignore SIGCLD now.
20962
20963 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
20964
20965 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
20966 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
20967 (several places): omit static initialization
20968 (process): use single fd, since only the read fd is used
20969 * fixinc/gnu-regex.c: define 'const' away, if not supported
20970 * fixinc/procopen.c(several places): omit static initialization
20971 * fixinc/server.c: define 'volitile' away, if not supported
20972
20973 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
20974
20975 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
20976 asm_fprintf and %L to generate the label name.
20977 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
20978 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
20979
20980 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
20981
20982 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
20983 insn for a conditional jump can not be found.
20984
20985 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
20986
20987 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
20988 on variables in specific sections other than .sbss and .sdata.
20989
20990 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
20991
20992 * stmt.c (expand_return): Call start_cleanup_deferral and
20993 end_cleanup_deferral around conditional code.
20994
20995 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
20996
20997 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
20998 filename lists. Utilizes new "krstr" AutoGen function.
20999 * fixinc/fixincl.x: Rebuilt.
21000
21001 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
21002
21003 * i386.c (output_float_compare): Avoid GNU-C extensions.
21004
21005 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
21006
21007 * version.c: Bump to distinguish mainline tree from the
21008 gcc-2.95 branch.
21009
21010 See ChangeLog.1 for earlier changes.
This page took 0.997377 seconds and 6 git commands to generate.