1 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
3 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
6 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
8 * m88k.h (VERSION_INFO2): Kill.
9 (VERSION_STRING): Kill.
11 (VERSION_INFO1): Tidy.
12 (TARGET_VERSION): Update.
13 * m88k/dgux.h (VERSION_INFO2): Kill.
14 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
15 * m88k/luna.h (VERSION_INFO1): Tidy.
16 * m88k/sysv4.h (VERSION_INFO1): Likewise.
17 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
18 (output_file_start): Adjust for death of VERSION_STRING.
20 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
22 * cpplib.c (detect_if_not_defined): New function.
23 (do_if): Use it to detect potential once-only headers.
25 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
27 * c-common.c (combine_strings): Always set TREE_CONSTANT.
29 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
31 * combine.c (nonzero_bits) : Allow single-ly set registers to be
32 anywere in the function only if they are pseudos and set before
33 being used (not live at the start of the function).
34 (num_sign_bit_copies) : Same.
35 (get_last_value_validate) : Same.
36 (get_last_value) : Same.
38 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
40 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
41 where N and M are constant and N is an integer multiple of M.
43 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
45 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
46 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
47 sbitmap_union_of_preds): Add prototypes.
48 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
49 the intersection of successors with the new flow graph structures.
50 (sbitmap_intersection_of_preds): New function to compute the
51 intersection of predecessors with the new flow graph structures.
52 (sbitmap_union_of_succs): New function to compute the union of
53 successors with the new flow graph structures.
54 (sbitmap_union_of_preds): New function to compute the union of
55 predecessors with the new flow graph structures.
56 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
57 (expr_reaches_here_p): Use edge and basic_block structures instead
58 of s_preds and s_succs.
59 (compute_cprop_avinout): Use new sbitmap routines.
60 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
61 of s_preds and s_succs.
62 * flow.c (compute_flow_dominators): Compute dominators using
63 edges and basic blocks instead of s_preds and s_succs.
65 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
67 * lists.c (unused_insn_list, unused_expr_list): New file for
68 maintaining various types of lists. New statics for maintaining a
69 cache of available INSN_LIST and EXPR_LIST nodes.
70 (free_list): Static function for freeing a list of INSN/EXPR nodes.
71 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
72 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
73 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
74 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
75 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
76 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
77 (free_INSN_LIST_node): Free an individual INSN_LIST node.
78 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
79 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
80 (remove_dependence, free_pending_lists): Use new global routines.
81 (flush_pending_lists, sched_analyze_insn): Use new global routines.
82 (sched_analyze, compute_block_backward_dependences): Use new routines.
83 (sched_analyze_1, sched_analyze_2): Use new routines.
84 (schedule_insns): Use new global routines.
85 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
87 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
88 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
90 * toplev.c (rest_of_compilation): Initialize node cache.
91 * Makefile.in (OBJS): Add lists.o to list of object files.
92 (lists.o): Add dependancies.
94 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
96 * config/v850/v850.md: Fix compile time warning messages.
97 * config/v850/v850.c: Fix compile time warning messages.
98 * config/v850/v850.h: Fix compile time warning messages.
100 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
102 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
103 Remove unused prototype for `init_lengths'.
105 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
107 * calls.c (emit_call_1): Mark parameter `stack_size' with
109 (expand_call): Initialize variable `insn'.
110 (emit_library_call): Likewise for variable `high_to_save'.
111 (emit_library_call_value): Likewise.
112 (store_one_arg): Likewise for variables `lower_bound' and
115 * combine.c (try_combine): Likewise for variables `i2_code_number'
116 and `other_code_number'.
117 (find_split_point): Likewise for variables `pos', `unsignedp' and
119 (simplify_if_then_else): Likewise for variables `op' and `c1'.
120 (simplify_and_const_int): Remove unused variable `width'.
121 (merge_outer_ops): Likewise.
123 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
124 HOST_WIDE_INT' when comparing against one.
125 (simplify_relational_operation): Likewise.
126 (cse_insn): Initialize variables `src_eqv_volatile',
127 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
129 * final.c (init_final): Constify parameter `filename'.
130 (final_start_function): Mark parameter `optimize' with
132 (profile_function): Likewise for parameters `first' and `optimize'.
133 (output_source_line): Likewise for parameter `file'.
135 * integrate.c (subst_constants): Cast a value to `size_t' when
136 comparing against one.
137 (mark_stores): Initialize variable `mode'. Cast a value to
138 `size_t' when comparing against one.
140 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
142 * loop.c (move_movables): Initialize variable `first'.
143 (strength_reduce): Likewise for variable `increment'.
144 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
145 value to `size_t' when comparing against one.
146 (load_mems): Initialize variable `end_label'.
148 * output.h (init_final): Constify parameter.
150 * reload.c (decompose): Initialize variable `base'.
152 * reload1.c (reload): Likewise for variable `is_scalar'.
153 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
154 (choose_reload_regs): Initialize variable `mode'.
155 (emit_reload_insns): Likewise for variable `store_insn'.
156 (reload_cse_noop_set_p): Mark parameter `insn' with
158 (reload_combine): Initialize variable `set'.
160 * unroll.c (unroll_loop): Likewise for variable `local_label'.
161 (copy_loop_body): Cast a value to `size_t' when comparing against
164 * varasm.c (assemble_variable): Initialize variable `size_tree'.
165 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
166 (remove_from_pending_weak_list): Mark parameter `name' with
169 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
171 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
174 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
176 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
177 (ASM_DECLARE_FUNCTION_NAME): Define.
178 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
179 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
180 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
183 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
185 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
186 of n_popped when call/call_value are not defined.
188 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
190 * tm.texi: GNU CC -> GCC conversion.
191 (CC1_SPEC): Indicate it is used for all language front ends.
193 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
195 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
196 NOTE_INSN_EH_REGION_END correctly.
198 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
199 Jeff Law <law@cygnus.com>
201 * loop.c (strength_reduce): Automatically unroll loops if the
202 unrolled loop size is smaller than the rolled loop size.
204 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
205 and delete comment that code should be rewritten.
207 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
209 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
212 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
214 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
216 * fixinc/mkfixinc.sh: Don't fix uwin headers.
217 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
218 (LINK_SPEC): Add -u _main when building executables.
219 (ASM_DECLARE_FUNCTION): Update from Cygwin.
220 (ASM_FILE_END): Use the default for ix86-pe.
221 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
223 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
225 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
226 and ASM_CLOSE_PAREN are empty strings.
228 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
229 Geoffrey Keating <geoffk@cygnus.com>
231 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
232 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
233 (unprotoize.o): Ditto.
234 (test-protoize-simple): Don't define STD_PROTO_DIR.
235 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
236 changes to make 'test-protoize-simple' pass.
237 (STD_PROTO_DIR): Remove define.
238 (STANDARD_EXEC_PREFIX): Supply default define.
239 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
240 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
241 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
242 (GET_ENV_PATH_LIST): New macro.
243 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
244 (do_processing): Initialize default_syscalls_dir using new
245 macros. Use it to initialize syscalls_absolute_filename.
247 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
249 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
250 B into a register before emit_conditional_move.
252 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
254 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
255 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
256 multiplicand out of (+ (* a b) (* c d)).
258 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
259 Richard Henderson <rth@cygnus.com>
261 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
262 (new_insn_dead_notes): Likewise.
263 (update_n_sets): Likewise.
264 (update_flow_info): Move to flow.c, renamed to update_life_info;
265 extend to handle multiple source insns.
266 * flow.c: Include resource.h
267 (unlink_insn_chain): New.
268 (split_hard_reg_notes): New.
269 (maybe_add_dead_note): New.
270 (maybe_add_dead_note_use): New.
271 (find_insn_with_note): New.
272 (new_insn_dead_notes): New.
273 (update_n_sets): New.
274 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
275 (maybe_remove_dead_notes): New.
276 (update_life_info): New.
277 (prepend_reg_notes): New.
278 (replace_insns): New.
279 * output.h (update_life_info): Declare.
280 * recog.c (split_block_insns): Use update_life_info.
281 * resource.c (find_free_register): Use reg_alloc_order, don't use
282 fixed regs, make sure the mode is supported, don't use new regs.
284 * rtl.h (replace_insns): Declare.
286 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
288 * expr.c (expand_expr): Cope with COND_EXPRs with one
289 non-returning branch.
291 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
293 * expr.c (store_expr): Always pass down the target, even when not
296 1999-08-24 Nick Clifton <nickc@cygnus.com>
298 * configure.in: Define target_cpu_default for v850 targets.
299 * configure: Regenerate
301 * config/v850/v850.h (TARGET_CPU_generic): Define.
302 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
303 addresses are 4 byte aligned.
305 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
308 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
310 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
311 (main): Add prototypes.
313 * genattrtab.c (substitute_address, write_const_num_delay_slots,
314 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
315 (write_attr_get): Emit prototypes along with function definition.
316 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
317 (write_complex_function): Emit static prototype along with
320 * genemit.c (gen_split): Emit prototypes along with function
323 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
324 Likewise for predicates and `insn_operand_predicate'.
325 (process_template): Emit static prototype along with function
328 * genrecog.c (make_insn_sequence): Constify a char*. Add
329 prototypes for get_split_*().
330 (write_subroutine): Emit prototypes along with function
333 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
335 * gcse.c (find_avail_set): Follow chains of register-register copies.
336 Use oprs_not_set_p to guarantee that the returned value can be
338 (cprop_insn): Don't verify the return value of find_avail_set with
341 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
342 (cprop_cc0_jump): New function.
343 (cprop_insn): Break out new function cprop_jump and use it.
344 Also use cprop_cc0_jump for machines with CC0.
345 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
347 * tree.h (current_function_calls_setjmp,
348 current_function_calls_longjmp): Delete declarations.
349 * dsp16xx.c: Include "function.h".
351 * gmicro.c: Likewise.
355 * mn10200.c: Likewise.
356 * mn10300.c: Likewise.
361 * rtl.h (rtx_equal_function_value_matters): Declare.
362 * toplev.c (rtx_equal_function_value_matters): Don't declare.
364 * function.c: Likewise.
365 * emit-rtl.c: Likewise.
367 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
369 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
372 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
374 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
377 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
379 * cpp.texi: Add a node documenting macro varargs (copied
382 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
384 * cppspec.c: Put a null pointer at the end of the new argv.
386 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
388 * configure.in: Remove code to select/de-select the haifa
389 scheduler. Every scheduled port gets haifa now.
390 * configure: Rebuilt.
391 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
393 * Makefile.in: Corresponding changes.
395 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
397 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
399 (prepare_float_lib_cmp): Likewise.
400 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
401 * expr.h (emit_float_lib_cmp): Delete declaration.
402 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
403 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
404 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
406 (cmptf): Now conditional on TARGET_HARD_QUAD.
408 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
410 * resource.c (mark_target_live_regs): Use
411 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
413 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
415 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
417 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
419 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
421 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
423 * rtl.h (rtx_format): Constify a char*.
425 * rtl.c (rtx_format): Likewise.
426 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
427 (init_rtl): Use accessor macro, not `rtx_format'.
429 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
432 * caller-save.c (mark_referenced_regs): Likewise.
434 * combine.c (subst, make_compound_operation, known_cond,
435 gen_rtx_combine, update_table_tick, get_last_value_validate,
436 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
438 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
439 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
440 count_reg_usage): Likewise.
442 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
445 * final.c (leaf_renumber_regs_insn): Likewise.
447 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
448 dump_edge_info, count_reg_references): Likewise.
450 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
451 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
454 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
455 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
456 add_label_notes): Likewise.
458 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
459 clear_struct_flag, count_sub_rtxs, count_alternatives,
460 compares_alternatives_p, contained_in_p, walk_attr_value,
461 write_expr_attr_cache): Likewise.
463 * genconfig.c (walk_insn_part): Likewise.
465 * genemit.c (max_operand_1, gen_exp): Likewise.
467 * genextract.c (walk_rtx): Likewise.
469 * genflags.c (num_operands): Likewise.
471 * genoutput.c (scan_operands): Likewise.
473 * genpeep.c (match_rtx): Likewise.
475 * genrecog.c (add_to_sequence): Likewise.
477 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
480 * integrate.c (save_constants, copy_for_inline,
481 copy_rtx_and_substitute, subst_constants, restore_constants):
484 * jump.c (mark_jump_label, invert_exp, redirect_exp,
485 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
487 * local-alloc.c (contains_replace_regs, memref_referenced_p):
490 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
491 add_label_notes, replace_call_address, count_nonfixed_reads,
492 invariant_p, find_single_use_in_loop, find_mem_givs,
493 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
496 * print-rtl.c (reg_names, print_rtx): Likewise.
498 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
500 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
501 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
502 print_blocks): Likewise.
504 * regclass.c (fix_register, record_address_regs,
505 reg_scan_mark_refs): Likewise.
507 * regmove.c (stable_but_for_p): Likewise.
509 * reload.c (loc_mentioned_in_p, operands_match_p,
510 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
511 copy_replacements, refers_to_regno_for_reload_p,
512 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
513 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
516 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
517 delete_address_reloads_1, count_occurrences,
518 reload_cse_mem_conflict_p, reload_combine_note_use,
519 add_auto_inc_notes): Likewise.
521 * resource.c (mark_referenced_resources, mark_set_resources):
524 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
525 reg_mentioned_p, regs_set_between_p, modified_between_p,
526 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
527 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
528 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
529 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
531 * sched.c (sched_analyze_2, attach_deaths): Likewise.
533 * stupid.c (stupid_mark_refs): Likewise.
535 * unroll.c (remap_split_bivs): Likewise.
537 * varasm.c (mark_constants): Likewise.
539 * a29k/a29k.c (uses_local_reg_p): Likewise.
541 * alpha/alpha.c (summarize_insn): Likewise.
543 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
544 eliminate_lr2ip): Likewise.
546 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
548 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
549 reg_mentioned_in_mem): Likewise.
551 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
552 symbolic_reference_mentioned_p): Likewise.
554 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
556 * sh/sh.c (regs_used, mark_use): Likewise.
558 * vax/vax.c (vax_rtx_cost): Likewise.
560 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
562 * machmode.h (mode_name): Constify a char*.
564 * rtl.c (mode_name): Likewise.
566 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
568 * optabs.c (init_libfuncs): Constify a char*.
570 * print-tree.c (mode_name): Remove redundant declaration.
571 (print_node): Use accessor macro, not `mode_name'.
573 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
575 (new_spill_reg): Constify a char*.
577 * tree.c (mode_name): Remove redundant declaration.
579 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
581 * rtl.c (rtx_name): Constify a char*.
583 * rtl.h (rtx_name, fix_sched_param): Likewise.
585 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
586 (mypr): Use accessor macro, not `rtx_name'.
588 * genemit.c (print_code): Constify a char*.
590 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
592 * genpeep.c (print_code): Constify a char*.
594 * genrecog.c (print_code): Likewise.
596 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
597 end_bb): Add static prototype.
598 (draw_edge): Constify a char*.
599 (end_bb): Remove unused parameter.
601 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
602 print_block_visualization): Constify a char*.
604 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
606 * c-common.c (c_get_alias_set): Update comment.
608 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
610 * linux.h (LIB_SPEC): Added.
612 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
614 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
616 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
618 * tree.c (expr_check): Fix typo in last change.
620 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
622 * rtl.def (NOTE): Change format to "iuu0n".
623 (ADDR_DIFF_VEC): Change format to "eEee0".
624 (ADDRESSOF): Change format to "eit".
626 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
627 (RTVEC_ELT): Change to match.
628 (XVECEXP): Use XVEC and RTVEC_ELT.
629 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
630 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
631 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
632 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
633 TRAP_CONDITION, TRAP_CODE): Use XEXP.
635 (ADDRESSOF_DECL): Use XTREE.
636 (SET_ADDRESSOF_DECL): Delete.
637 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
638 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
639 ifdefed out since 2.6 at least.
640 (gen_rtvec_vv): Delete prototype.
642 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
644 (copy_most_rtx): Handle 't' format letter.
645 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
646 (gen_rtvec_vv): Delete function. All callers changed to use
648 * print-rtl.c (print_rtx): Move special casing of NOTEs to
649 the '0' format letter.
651 * function.c (gen_mem_addressof): Don't use
652 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
654 * integrate.c (copy_rtx_and_substitute): Likewise.
655 Copy 't' slots with XTREE.
656 (subst_constants): Treat 't' slots like '[swi]' slots.
657 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
658 * jump.c (rtx_equal_for_thread_p): Likewise.
659 * rtlanal.c (rtx_equal_p): Likewise.
660 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
662 * gengenrtl.c (type_from_format): Provide correct types for
666 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
667 If a recent gcc is in use (always in stage2 and beyond), use
668 statement expressions, so we don't make a function call unless
669 the check fails. Evaluate arguments exactly once.
670 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
671 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
673 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
674 they evaluate their arguments exactly once, irrespective of
677 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
678 is used by the currently-enabled check macros. This is:
679 (tree_check_failed, tree_class_check_failed): For gcc.
680 (tree_check, tree_class_check, cst_or_constructor_check,
681 expr_check): For other compilers.
683 * gencheck.c: Do not define any *_CHECK1 macros.
685 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
686 Mark Mitchell <mark@codesourcery.com>
688 * c-common.c (c_get_alias_set): Fix support for poitners and
691 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
693 * alias.c: Include tree.h.
694 (nonlocal_reference_p, mark_constant_function): New functions.
695 * flow.c (life_analysis): Call mark_constant_function.
696 * rtl.h (mark_constant_function): Declare it.
698 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
700 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
701 unrecognisable switches.
703 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
705 * loop.c (recombine_givs): Set ix field after sorting.
706 (recombine_givs): Remove bogus index / giv lockstep looping.
708 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
710 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
712 (emit_store_flag_force): Use do_compare_rtx_and_jump.
713 (do_cmp_and_jump): Formatting fixes.
714 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
715 do_compare_rtx_and_jump instead of compare_from_rtx.
716 (do_compare_rtx_and_jump): New function; mostly copied from
718 (do_jump_for_compare): Delete.
719 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
721 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
722 of compare/do_jump_for_compare pairs.
723 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
724 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
725 compare_from_rtx/do_jump_for_compare pairs.
726 (do_jump_by_parts_equality): Likewise.
727 (do_jump_by_parts_equality_rtx): Likewise.
728 * expr.h (do_compare_rtx_and_jump): Declare.
729 * optabs.c (prepare_cmp_insn): New function, contains most of the code
730 that used to be in emit_cmp_insn.
731 (cmp_available_p): New function.
732 (prepare_operand): New function.
733 (emit_cmp_and_jump_insn_1): New function, contains some code that used
734 to be in emit_cmp_insn.
735 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
736 parameters to be pointers; don't emit final compare but modify some of
737 the values pointed to by the args so the caller can perform the
739 (expand_binop): Call emit_store_flag_force with signed forms of
741 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
743 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
744 emit_cmp_and_jump_insn_1. Call emit_queue.
745 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
747 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
748 jump sets cc0 before deleting it.
749 * integrate.c (expand_inline_function): Likewise.
750 * unroll.c (unroll_loop): Similar changes in several places.
751 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
754 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
756 * Makefile.in (insn-recog.o): Update dependencies.
757 * genrecog.c (main): Make generated file include "function.h".
759 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
761 * cse.c (cse_insn): Call never_reached_warning when a jump is
762 changed to be unconditional.
763 * flags.h: Declare warn_notreached.
764 * flow.c (delete_block): Call never_reached_warning when
766 * jump.c (delete_barrier_successors): Call never_reached_warning
767 when we delete everything after a BARRIER.
768 (never_reached_warning): New function.
769 * rtl.h: Declare never_reached_warning.
770 * toplev.c (warn_notreached): New variable.
771 (lang_independent_options): Set warn_notreached
772 when -Wunreachable-code.
773 (compile_file): We need line numbers for -Wunreachable-code.
775 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
777 * haifa-sched.c (insn_unit): Fix typo on out of range test.
778 * sched.c (insn_unit): Likewise.
780 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
782 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
784 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
786 * flow.c (create_edge_list): Use xmalloc, not malloc.
788 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
790 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
791 C-style comments. Do not lose the character before double slash.
793 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
795 * basic-block.h (struct edge_list): Stucture to maintain a vector
797 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
798 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
799 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
800 New function prototypes.
801 * flow.c (create_edge_list): Function to create an edge list.
802 (free_edge_list): Discards memory used by an edge list.
803 (print_edge_list): Debug output showing an edge list.
804 (verify_edge_list): Internal consistency check for an edge list.
805 (find_edge_index): Function to find an edge index for a pred and succ.
807 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
809 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
812 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
814 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
816 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
818 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
820 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
822 * toplev.c (rest_of_compilation): Allow machine dependent
823 reorganisation pass to place information into the RTL dump
824 file if it so wishes.
826 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
828 * explow.c (hard_function_value): Use VOIDmode instead of
830 * stmt.c (expand_return): Likewise.
831 * stor-layout.c (get_best_mode): Likewise.
833 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
834 emit call instead of emit_insn call.
836 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
838 * configure.in: Handle --disable/enable-win32-registry.
839 * install.texi: Document --disable/enable-win32-registry.
840 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
841 (WIN32_REGISTRY_KEY): New macro.
842 * prefix.c: Use to enable/disable win32-specific code.
843 (lookup_key): Use versioned key.
844 * configure: Regenerate.
845 * config.in: Likewise.
847 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
849 * cpplib.c (read_line_number): New fn, split out of...
852 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
854 tree.c (lang_unsave_expr_now) : New.
855 (unsave_expr_now): Call lang_unsave_expr_now.
856 tree.h (lang_unsave_expr_now) : New.
858 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
860 * toplev.c (flag_new_exceptions): On by default.
862 1999-08-13 Michael Meissner <meissner@cygnus.com>
864 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
866 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
868 * dwarfout.c (fundamental_type_code): Return FT_boolean for
869 INTEGER_TYPE with precision==1, it's __java_boolean.
871 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
873 * global.c (prune_preferences): Move some invariants out of the
876 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
878 * configure.in (alpha*-dec-osf*): Add osf5.
880 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
882 * configure.in: Rework handling of ARM GNU/Linux slightly.
883 (arm*-*-linux-gnuoldld): New target.
884 * configure: Regenerate.
885 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
886 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
887 * config/arm/linux-oldld.h: New file.
888 * config/arm/linux-elf26.h: Don't include linux-elf.h.
889 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
891 * config/arm/linux-elf.h (ASM_SPEC): Define.
892 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
893 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
894 for 26-bit APCS and old linker.
895 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
897 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
898 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
899 don't define `arm' or `arm_elf'.
900 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
901 MULTILIB_DIRNAMES): Define. Fix typo in comment.
903 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
905 * rtl.texi: Fix typo.
907 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
909 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
911 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
913 * extend.texi (C++ Signatures): Remove node.
914 * invoke.texi: Remove discussion of -fhandle-signatures,
915 signature, sigof, __signature__, and __sigof__.
917 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
919 * Makefile.in (JAVAGC): Removed.
921 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
923 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
925 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
927 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
929 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
931 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
932 a register that is already known to be a pointer.
934 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
936 * fixinc/inclhack.tpl: Only install assert.h conditionally.
937 * fixinc/inclhack.sh: Regenerated.
938 * fixinc/fixincl.sh: Regenerated.
940 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
942 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
943 Fix documentation of -ansi flag to describe its C++ behavior.
944 Remove bogus reference to GCC 2.9.
946 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
948 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
949 note if it is non-NULL.
951 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
953 * except.h (eh_nesting_info): Add new structure defintion.
954 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
955 (reachable_handlers, update_rethrow_references): Add function
957 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
958 a rethrow symbol instead of an integer exception region number.
959 * flow.c (Make_edges): Use new exception nesting routines to determine
960 which handlers are reachable from a CALL or asynchronous insn.
961 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
963 (delete_eh_regions): Update rethrow labels, and don't delete
964 regions which are the target of a rethrow.
965 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
966 avoid overloading the SYMBOL_REF_USED flag.
967 (rethrow_symbol_map): Use new rethrow_ref field.
968 (rethrow_used): Use new rethrow_ref field.
969 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
970 of an integer. Fix formatting.
971 (output_exception_table_entry): Use new rethrow_ref field.
972 (can_throw): Check for EH_REGION_NOTE before deciding
973 whether a CALL can throw or not.
974 (scan_region): Call rethrow_used() instead of accessing data structure.
975 (update_rethrow_references): New function to make sure only regions
976 which are still targets of a rethrow are flagged as such.
977 (process_nestinfo): New static function to initialize a handler
978 list for a specific region.
979 (init_eh_nesting_info): New function to allocate and initialize
980 the list of all EH handlers reachable from all regions.
981 (reachable_handlers): New function to retrieve the list of handlers
982 reachable from a specific region and insn.
983 (free_eh_nesting_info): New function to dispose of a list of
986 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
988 * flow.c (split_edge): Set JUMP_LABEL field.
989 (commit_one_edge_insertion): Set head correctly for insert_before.
990 When inserting insns, update insn block numbers if allocated.
992 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
994 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
995 retry_incomplete_types): Add static prototype.
996 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
997 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
998 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
999 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
1000 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
1003 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
1004 dwarf2out_start_source_file, dwarf2out_line): Likewise.
1006 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1008 * output.h (assemble_name): Constify a char*.
1010 * varasm.c (UNIQUE_SECTION, assemble_start_function,
1011 assemble_variable, assemble_name): Likewise.
1013 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
1015 * arm/pe.c (arm_pe_unique_section): Likewise.
1017 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
1019 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
1021 * i386/interix.c (i386_pe_unique_section): Likewise.
1023 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
1025 * i386/winnt.c (i386_pe_unique_section): Likewise.
1027 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
1029 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
1031 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
1033 * pa/pa.c (output_call): Likewise.
1035 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
1037 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
1039 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
1042 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
1045 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1047 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
1048 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
1050 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
1052 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1054 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
1056 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1058 * tree.h (lang_identify): Constify a char*.
1059 (print_error_function): Add extern prototype. Constify a char*.
1061 * c-lang.c (lang_identify): Constify a char*.
1063 * objc/objc-act.c (lang_identify): Constify a char*.
1065 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1067 * genpeep.c (main): Make generated file include "function.h".
1068 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
1070 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1072 * Makefile.in: Update dependencies.
1073 * alias.c: Include "function.h"
1074 * c-decl.c: Likewise.
1075 * caller-save.c: Likewise.
1076 * calls.c: Likewise.
1077 * combine.c: Likewise.
1079 * explow.c: Likewise.
1080 * final.c: Likewise.
1081 * global.c: Likewise.
1082 * graph.c: Likewise.
1083 * local-alloc.c: Likewise.
1085 * optabs.c: Likewise.
1086 * profile.c: Likewise.
1087 * recog.c: Likewise.
1088 * regclass.c: Likewise.
1089 * regmove.c: Likewise.
1090 * reload.c: Likewise.
1091 * reorg.c: Likewise.
1092 * resource.c: Likewise.
1093 * sched.c: Likewise.
1094 * stupid.c: Likewise.
1095 * config/1750a/1750a.c: Likewise.
1096 * config/a29k/a29k.c: Likewise.
1097 * config/arc/arc.c: Likewise.
1098 * config/arm/arm.c: Likewise.
1099 * config/arm/thumb.c: Likewise.
1100 * config/c4x/c4x.c: Likewise.
1101 * config/clipper/clipper.c: Likewise.
1102 * config/convex/convex.c: Likewise.
1103 * config/fx80/fx80.c: Likewise.
1104 * config/i860/i860.c: Likewise.
1105 * config/m68k/m68k.c: Likewise.
1106 * config/m88k/m88k.c: Likewise.
1107 * config/mips/mips.c: Likewise.
1108 * config/pdp11/pdp11.c: Likewise.
1109 * config/pyr/pyr.c: Likewise.
1110 * config/romp/romp.c: Likewise.
1111 * config/sh/sh.c: Likewise.
1112 * config/tahoe/tahoe.c: Likewise.
1113 * config/vax/vax.c: Likewise.
1114 * config/we32k/we32k.c: Likewise.
1115 * config/sparc/sparc.c: Include "function.h".
1116 (mem_min_alignment): Test current_function rather than
1117 regno_pointer_align.
1118 * config/pa/pa.c: Likewise.
1119 (compute_frame_size): Delete declaration of
1120 current_function_outgoing_args_size.
1121 * config/arc/arc.h (current_function_varargs): Delete declaration.
1122 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
1124 * config/i370/i370.h (current_function_outgoing_args_size): Delete
1126 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
1127 current_function_uses_pic_offset_table.
1128 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
1129 of current_function_returns_pointer.
1130 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1131 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1132 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1133 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1134 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1135 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1136 * config/m88k/m88k.c: Include "function.h"
1137 (call_used_regs, current_function_pretend_args_size,
1138 current_function_outgoing_args_size, frame_pointer_needed): Delete
1140 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
1142 * config/mips/mips.h (current_function_calls_alloca): Delete
1144 * config/mn10200/mn10200.h (current_function_needs_context,
1145 rtx_equal_function_value_matters): Delete declarations.
1146 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
1147 flag_pic): Delete declarations.
1148 * config/pa/pa.h (current_function_pretend_args_size,
1149 current_function_decl): Delete declarations.
1150 * config/pa/som.h (current_function_varargs): Delete declaration.
1151 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
1153 * config/pyr/pyr.h (current_function_pretend_args_size,
1154 current_function_args_size, current_function_calls_alloca): Delete
1156 * config/sh/sh.h (current_function_varargs): Delete declaration.
1157 * config/sparc/sparc.h (current_function_outgoing_args_size,
1158 current_function_calls_alloca, current_function_decl): Delete
1160 * config/spur/spur.h (current_function_pretend_args_size,
1161 current_function_calls_alloca): Delete declarations.
1162 * config/v850/v850.c (current_function_outgoing_args_size): Delete
1164 * config/vax/vms.h (current_function_name): Delete declaration.
1165 * gcse.c: Include "function.h".
1166 (current_function_name, current_function_calls_setjmp): Delete
1168 * haifa-sched.c: Include "function.h".
1169 (forced_labels): Delete declaration.
1171 * reg-stack.c: Likewise.
1172 * reload1.c: Likewise.
1173 * genemit.c (main): Make generated file include function.h.
1174 * genoutput.c (output_prologue): Likewise.
1176 * builtins.c (saveregs_value, apply_args_value): Delete variables.
1177 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
1178 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
1179 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
1180 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
1181 macros for some of them.
1182 (emit_filename, emit_lineno): Delete declarations.
1183 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
1184 regno_pointer_* variables through current_function.
1185 (gen_inline_header_rtx): Delete function.
1186 (save_emit_status): Delete function.
1187 (set_new_last_label_num): New function.
1188 (clear_emit_caches): New function.
1189 (restore_emit_status): Just clear last_labelnum and call
1191 (get_last_insn_anywhere): Variable sequence_stack is now accessed
1192 through macro seq_stack.
1193 (add_insn_after): Likewise.
1194 (add_insn_before): Likewise.
1195 (remove_insn): Likewise.
1196 (pop_topmost_sequence): Likewise.
1197 (in_sequence_p): Likewise.
1198 (start_sequence_for_rtl_expr): Likewise.
1199 (start_sequence): Likewise, and likewise for
1200 sequence_rtl_expr/seq_rtl_expr.
1201 (push_topmost_sequence): Likewise.
1202 (end_sequence): Likewise.
1203 (init_virtual_regs): Now takes a "struct emit_status *" argument.
1204 All callers changed. Store into that pointer instead of globals.
1205 (init_emit): Allocate emit elt of current_function.
1206 Changes for sequence_rtl_expr/sequence_stack renaming.
1207 Call clear_emit_caches instead of doing it in-line.
1208 Access regno_pointer_* variables through current_function.
1209 (init_emit_once) Don't clear sequence_stack.
1211 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
1213 (arg_pointer_save_area): Delete declaration.
1214 (finish_expr_for_function): Renamed from init_queue; no longer static.
1215 (init_expr): Don't call init_queue.
1216 (save_expr_status, restore_expr_status): Delete functions.
1217 (expand_expr): Changes to reflect new layout of struct function.
1218 Don't access current_function_check_memory_usage when current_function
1220 * expr.h (forced_labels, save_expr_regs, saveregs_value,
1221 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
1222 current_function_outgoing_args_size, current_function_arg_offset_rtx,
1223 current_function_uses_const_pool, function_call_count,
1224 current_function_uses_pic_offset_table, nonlocal_labels,
1225 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
1226 current_function_check_memory_usage, nonlocal_goto_handler_slots,
1227 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
1229 (finish_expr_for_function): Declare.
1230 * flags.h (current_function_has_nonlocal_label,
1231 current_function_has_nonlocal_goto, current_function_is_thunk,
1232 current_function_has_computed_jump): Delete declarations.
1233 * flow.c (forced_labels): Delete declaration.
1234 * function.c (current_function_pops_args,
1235 current_function_returns_struct, current_function_returns_pcc_struct,
1236 current_function_needs_context, current_function_calls_setjmp,
1237 current_function_calls_longjmp, current_function_has_nonlocal_label,
1238 current_function_has_nonlocal_goto, current_function_is_thunk,
1239 current_function_has_computed_jump, current_function_calls_alloca,
1240 current_function_contains_functions, current_function_returns_pointer,
1241 current_function_epilogue_delay_list, current_function_args_size,
1242 current_function_pretend_args_size, current_function_arg_offset_rtx,
1243 current_function_outgoing_args_size, current_function_varargs,
1244 current_function_stdarg, current_function_args_info, cleanup_label,
1245 current_function_name, current_function_uses_const_pool,
1246 current_function_instrument_entry_exit, current_function_return_rtx,
1247 current_function_uses_pic_offset_table, nonlocal_labels,
1248 current_function_internal_arg_pointer, current_function_cannot_inline,
1249 current_function_check_memory_usage, function_call_count,
1250 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
1251 nonlocal_goto_stack_level, return_label, save_expr_regs,
1252 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
1253 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
1254 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
1255 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
1256 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
1258 (push_function_context_to): Don't save them. Don't call
1259 save_storage_status, save_emit_status or save_expr_status.
1260 (pop_function_context_from): Don't restore them. Don't call
1261 restore_storage_status or restore_expr_status.
1262 (get_func_frame_size): New function.
1263 (get_frame_size): Use it.
1264 (assign_outer_stack_local): Reflect some member name changes in struct
1266 (put_reg_into_stack): Likewise.
1267 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
1269 (fixup_var_refs): Likewise.
1270 (fix_lexical_addr): Likewise.
1271 (trampoline_address): Likewise.
1272 (prepare_function_start): Clear field inlinable of current_function.
1273 (init_function_for_compilation): New function.
1274 (expand_dummy_function_end): New function.
1275 (expand_function_end): Call finish_expr_for_function.
1276 * function.h (struct emit_status): New; fields moved here from struct
1277 function and from global variables. Add accessor macros for some of
1279 (struct expr_status): Likewise.
1280 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
1281 (struct function): Add fields expr and emit, inlinable, inl_emit,
1282 original_arg_vector, original_decl_initial, inl_last_parm_insn,
1283 inl_max_label_num. Add many comments.
1284 Add accessor macros for all elts of struct function that no longer
1285 have a global variable.
1286 (cleanup_label, return_label, frame_offset, tail_recursion_label,
1287 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
1288 stack_slot_list): Delete declarations.
1289 (get_func_frame_size): Declare.
1290 (save_expr_status, restore_expr_status, save_emit_status,
1291 save_storage_status, restore_storage_status): Delete declarations.
1292 (init_virtual_regs): Declare.
1293 * output.h (current_function_pops_args,
1294 current_function_returns_struct, current_function_returns_pcc_struct,
1295 current_function_needs_context, current_function_calls_setjmp,
1296 current_function_calls_longjmp, current_function_calls_alloca,
1297 current_function_has_nonlocal_label, current_function_varargs,
1298 current_function_has_computed_jump, current_function_returns_pointer,
1299 current_function_contains_functions, current_function_args_size,
1300 current_function_pretend_args_size, current_function_stdarg,
1301 current_function_outgoing_args_size, current_function_args_info,
1302 current_function_name, current_function_return_rtx,
1303 current_function_epilogue_delay_list,
1304 current_function_uses_const_pool, current_function_cannot_inline):
1305 Delete declarations.
1306 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
1307 regno_reg_rtx): Delete declaration.
1308 (REGNO_POINTER_FLAG): Delete macro.
1309 * stmt.c (expand_goto): Changes to reflect that some fields in struct
1310 function were renamed.
1311 * stor-layout.c (save_storage_status, restore_storage_status): Delete
1313 * toplev.c: Include "function.h".
1314 (current_function_decl): Delete declaration.
1315 (compile_file): Call init_dummy_function_start and
1316 expand_dummy_function_end around some initializations that need to
1318 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
1319 Call init_function_for_compilation.
1320 * unroll.c: Include "function.h"
1321 (unroll_loop): Access regno_pointer_* variables through
1324 * tree.h (struct tree_decl): Add elt f to saved_insns member.
1325 (DECL_SAVED_INSNS): use it.
1326 (expand_dummy_function_end): Declare.
1327 (init_function_for_compilation): Declare.
1328 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
1329 that it's no longer an INLINE_HEADER.
1330 (expand_call): Likewise.
1331 * integrate.c (finish_inline): Delete function.
1332 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
1333 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
1334 args. Don't generate an INLINE_HEADER rtx, just return the arg
1335 vector. All callers changed.
1336 (save_for_inline_copying): Create a duplicate struct emit_status to
1337 hold the emit state for compiling the current function. Use this and
1338 the other new fields in struct function that are for integration
1339 instead of an INLINE_HEADER.
1340 Use memcpy instead of bcopy.
1341 Store the current struct function in DECL_SAVED_INSNS of fndecl.
1342 (save_for_inline_nocopy): Similar changes, except no new emit_status
1344 (expand_inline_function): Get information from function structure,
1345 not from an inline header rtx.
1346 (output_inline_function): Lose code to extract the necessary
1347 information from an inline header; simply put back the function
1348 structure into current_function. Clear its inlinable elt.
1349 * rtl.def (INLINE_HEADER): Delete.
1350 * rtl.h: Delete all accessors for an INLINE_HEADER.
1351 (gen_inline_header_rtx): Delete declaration.
1352 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
1353 Delete declarations.
1354 (REGNO_POINTER_ALIGN): Delete.
1355 (clear_emit_caches): Declare.
1356 (set_new_last_label_num): Declare.
1358 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
1360 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
1362 * except.c (expand_eh_region_start_for_decl): Always start a new block.
1363 * stmt.c (is_eh_region): Make sure current_function is present, too.
1365 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
1367 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
1368 for 64bit PA targets.
1370 * pa.h (SELECT_SECTION): Define.
1371 * som.h (SELECT_SECTION): Delete.
1373 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1375 * alias.c (init_alias_analysis): Wrap call to
1376 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
1378 1999-08-07 Bruce Korb <autogen@linuxbox.com>
1380 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
1381 <sys/asm.h> contains an asm comment with an apostrophe
1382 * fixinc/inclhack.sh: regen
1383 * fixinc/fixincl.x: regen
1385 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
1387 * function.c (init_function_start): Clear prologue & epilogue.
1388 (prologue_epilogue_contains): New function.
1389 * alias.c (init_alias_analysis): Use it.
1390 * rtl.h (prologue_epilogue_contains): Declare it.
1392 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
1394 * jump.c (onlyjump_p): New function.
1395 * rtl.h: Declare it.
1396 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
1397 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
1399 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
1401 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
1402 to invert loops. Simplify block scanning.
1404 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1406 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
1407 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
1409 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
1411 * config/sparc/liteelf.h: New file to support sparclite-elf target
1412 * config/sparc/t-sp86x: New file to support sparc86x targets
1413 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
1414 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
1415 * configure.in: Support above target triplets
1416 * configure: Regenerated
1418 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
1420 * fixinc/server.c (server_setup): Do not prefix function used as
1423 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
1425 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
1426 Remove fp reg alternatives.
1428 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
1430 * Makefile.in (TAROUTOPTS): Kill.
1431 (install-headers-tar): Use "xpf" for tar headerfile extraction
1432 * i370/x-oe (TAROUTOPTS): Delete.
1433 * m68k/x-apollo68 (TAROUTOPTS): Delete.
1434 * m68k/x-hp320 (TAROUTOPTS): Delete.
1435 * m68k/x-hp320g (TAROUTOPTS): Delete.
1436 * gcc.texi: Update bug reporting text.
1438 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1440 * reg-stack.c (change_stack) Fixed problem with negative array index.
1442 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
1444 * extend.texi, install.texi: Fix spelling mistakes.
1446 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
1447 (s-attrtab); No longer try to use pre-made insn-attrtab file.
1448 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
1450 * mips/t-ecoff: Likewise.
1451 * mips/t-elf: Likewise.
1452 * mips/t-mips: Likewise.
1453 * mips/t-osfrose: Likewise.
1454 * mips/t-r3900: Likewise.
1455 * mips/t-svr3: Likewise.
1456 * mips/t-svr4: Likewise.
1457 * mips/t-ultrix: Likewise.
1459 * gcc.texi: Document recommend means to provide software floating
1460 point libraries in libgcc.a
1462 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
1464 * c-lex.c (yylex): We can have a number with no digits.
1466 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
1468 * jump.c (delete_prior_computation): New function, broken
1469 out of delete_computation. Check for side effects with
1470 side_effects_p instead of FIND_REG_INC_NOTE. Handle
1471 multi-word hard registers.
1472 (delete_computation): Use it. Check for side effects with
1473 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
1474 missing REG_DEAD note for a register which is both set and
1477 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
1479 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
1480 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
1481 (ASM_FILE_START): Import _mcount with the right type.
1482 (ASM_DECLARE_FUNCTION_NAME): Define.
1483 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
1484 * pa.c (output_function_prologue): Always emit the function's label
1486 * pa.h (TEXT_SPACE_P): Define.
1487 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
1488 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
1489 * som.h (TEXT_SPACE_P): Delete.
1490 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
1491 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
1493 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
1495 * expr.c (emit_group_load): Allow src to be a CONCAT.
1497 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1499 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
1500 (___mulsi3): Use '!' comment character.
1502 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1504 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
1506 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
1508 * gcc.c: Update URLs and mail addresses.
1509 * gcc.texi: Likewise.
1511 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
1513 * rs6000.c (current_file_function_operand): Return zero for
1515 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
1517 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
1520 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
1522 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
1523 allocate space in the stack frame for the PIC register.
1525 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
1527 * m68k.md (xordi3, anddi3): These patterns are not available on
1530 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
1532 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
1533 (PUT_REAL): Likewise.
1535 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1537 * final.c (shorten_branches): Don't add an alignment for loops
1538 that have no label inside.
1540 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1542 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
1543 prototypes in macro HAVE_cmpstrsi.
1545 * cpplib.c (cpp_get_token): Remove unused label `op3'.
1547 * emit-rtl.c (operand_subword): Remove unused variable
1550 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
1552 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
1554 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
1556 * cpphash.c (macroexpand): Delete leading whitespace when arg
1557 is concatenated before.
1558 (unsafe_chars): Correct test for whether + and - can extend a
1561 * cppinit.c (cpp_start_read): Do dependencies for
1562 -include/-imacros files also.
1564 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
1565 tokenizing non-directive lines.
1566 (cpp_expand_to_buffer): Temporarily disable no-output mode.
1567 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
1570 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
1572 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
1574 * c-lex.c: Sync with C++ frontend.
1575 (linemode): New variable.
1576 (parse_float): imag, conversion_errno, and type are output only.
1577 (yylex): Adjust. Move initial '.' case into main switch.
1579 (handle_generic_pragma): Just deal with tokens.
1580 (readescape): Use ISXDIGIT and ISGRAPH.
1581 * c-parse.in: Add END_OF_LINE token.
1583 * c-lex.c (lang_init): Generalize.
1584 (nextchar): Remove. Replace uses with UNGETC.
1585 (skip_white_space): Handle linemode here. Optimize for cpplib.
1586 (skip_white_space_on_line): Remove.
1587 (extend_token_buffer_to): New fn.
1588 (extend_token_buffer): Use it.
1589 (read_line_number, check_newline): Just deal with tokens.
1590 (token_getch, token_put_back): New fns.
1591 (yylex): Use them. More cpplib optimizations. Simplify.
1593 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
1594 Jason Merrill <jason@yorick.cygnus.com>
1596 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
1597 (consume_string): Make this smart about USE_CPPLIB.
1598 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
1599 (yylex): Rewrite to be intelligent about USE_CPPLIB.
1600 Also, clean up cases where we redundantly set token_buffer[0].
1601 (read_line_number): New fn.
1602 (ignore_escape_flag): New variable.
1604 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
1606 * a29k/t-a29kbare: Fix some comments.
1607 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
1608 (FPBIT, DPBIT): Define.
1609 * a29k/t-vx29k: Likewise.
1610 * arc/t-arc: Likewise.
1611 * arm/t-arm-elf: Likewise.
1612 * arm/t-bare: Likewise.
1613 * arm/t-pe: Likewise.
1614 * arm/t-pe-thumb: Likewise.
1615 * arm/t-semi: Likewise.
1616 * arm/t-thumb: Likewise.
1617 * arm/t-thumb-elf: Likewise.
1618 * arm/t-thumb-linux: Likewise.
1619 * h8300/t-h8300: Likewise.
1620 * i960/t-i960: Likewise.
1621 * i960/t-vxworks960: Likewise.
1622 * m32r/t-m32r: Likewise.
1623 * mips/t-ecoff: Likewise.
1624 * mips/t-elf: Likewise.
1625 * mips/t-r3900: Likewise.
1626 * pa/t-pro: Likewise.
1627 * rs6000/t-aix43: Likewise.
1628 * rs6000/t-beos: Likewise.
1629 * rs6000/t-newas: Likewise.
1630 * rs6000/t-ppccomm: Likewise.
1631 * rs6000/t-rs6000: Likewise.
1632 * rs6000/t-winnt: Likewise.
1633 * rs6000/t-xnewas: Likewise.
1634 * rs6000/t-xrs6000: Likewise.
1635 * sh/t-sh: Likewise.
1636 * sparc/t-elf: Likewise.
1637 * sparc/t-sparcbare: Likewise.
1638 * sparc/t-sparclite: Likewise.
1639 * sparc/t-splet: Likewise.
1640 * v850/t-v850: Likewise.
1641 * mn10200/t-mn10200: Fix comments.
1642 * mn10300/t-mn10300: Likewise.
1644 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
1645 dummy operand. Allocate a new pseudo for the dummy operand.
1646 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
1648 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
1650 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
1652 * configure: Rebuilt.
1653 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
1655 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
1657 * recog.c (preproces_constraints): Zero recog_op_alt before
1658 processing the constraints.
1660 * arm.c (typedef minipool_node): Renamed from pool_node.
1661 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
1662 (add_minipool_constant): New function.
1663 (dump_minipool): New function.
1664 (find_barrier): Remove special case for getting the insn size of
1665 an insn that references the constant pool.
1666 (minipool_fixup): New structure.
1667 (push_minipool_barrier): New function.
1668 (push_minipool_fix): New function.
1669 (note_invalid_constants): New function.
1670 (add_pool_constant, dump_table, fixit, broken_move): Delete.
1671 (arm_reorg): Rewrite code to fix up the constant pool into a
1672 series of mini-pools embedded in the insn stream.
1673 (arm_output_epilogue): New function, made mainly from the body
1674 of output_func_epilogue.
1675 (output_func_epilogue): Move insn generation part of epilogue code
1676 to arm_output_epilogue.
1677 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
1678 * arm.md (pool_range): New attribute.
1679 (zero_extendqidi2): Add attribute pool_range.
1680 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
1681 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
1682 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
1683 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
1684 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
1685 (epilogue): New expand.
1686 (epilogue_insn): New insn. Call arm_output_epilogue.
1688 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
1689 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
1691 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
1693 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
1695 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
1697 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
1699 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
1701 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
1703 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
1705 * global.c: Fix comment.
1707 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
1709 * gcc.c (access_check): New static function.
1710 (find_a_file): Use it when searching a directory list.
1711 * collect2.c (find_a_file): Don't accept directories found when
1712 searching a directory list.
1714 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
1716 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
1717 function parameters with `&'.
1718 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
1720 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
1722 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
1723 or tidy_fallthru_edge if the last insn in the block is not
1724 an unconditional jump or a simple conditional jump.
1726 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1728 * Makefile.in (c-decl.o): Depends on defaults.h.
1730 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
1732 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
1734 (CLASS_MAX_NREGS): Likewise.
1736 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
1738 * cse.c (cse_insn): Fix dumb thinko in last change.
1740 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1742 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
1745 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
1747 * dwarf2out.c (add_location_or_const_value_attribute): Correct
1748 test for sizes of passed and declared parameter types.
1750 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1752 * fixincludes: Fix the return type of bsearch, char* -> void*.
1754 * fixinc/inclhack.def: Likewise.
1756 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
1758 * invoke.texi (-fdump-translation-unit): New option.
1760 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
1762 * expr.h (PROMOTE_PROTOTYPES): Move ...
1763 * defaults.h: ... to here.
1764 * c-decl.c: Include defaults.h instead of expr.h.
1765 * c-typeck.c: Include defaults.h.
1767 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
1769 * toplev.h (errorcount): Declare.
1770 (warningcount): Likewise.
1771 (sorrycount): Likewise.
1772 * c-lex.c (errorcount): Don't declare.
1773 * dwarf2out.c (errorcount): Don't declare.
1775 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
1777 * config/libgloss.h: Add a note discouraging use with ELF.
1778 * configure.in: Don't use libgloss.h for ELF targets.
1779 Always use_collect2 on a.out targets.
1781 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
1783 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
1784 (force_to_mode, case ASHIFTRT): Add shiftrt label.
1786 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1788 * loop.c (strength_reduce): When doing biv->giv conversion, update
1789 reg note of NEXT->insn.
1791 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1793 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
1795 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1797 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
1798 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
1799 Ensure expr.h is included.
1800 * c-typecheck.c (convert_arguments): Ditto.
1802 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
1804 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
1805 * config/convex/convex.h: Ditto.
1806 * config/dsp16xx/dsp16xx.h: Ditto.
1807 * config/fx80/fx80.h: Ditto.
1808 * config/gmicro/gmicro.h: Ditto.
1809 * config/i370/i370.h: Ditto.
1810 * config/i386/i386.h: Ditto.
1811 * config/m32r/m32r.h: Ditto.
1812 * config/m68k/m68k.h: Ditto.
1813 * config/m88k/m88k.h: Ditto.
1814 * config/mips/mips.h: Ditto.
1815 * config/pa/pa.h: Ditto.
1816 * config/pyr/pyr.h: Ditto.
1817 * config/tahoe/tahoe.h: Ditto.
1818 * config/we32k/we32k.h: Ditto.
1820 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
1823 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
1825 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
1828 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
1830 1999-08-02 Richard Henderson <rth@cygnus.com>
1832 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
1833 for the register spill block.
1835 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
1836 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
1838 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
1839 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
1840 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
1842 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1844 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
1845 MAX_WCHAR_TYPE defined in sparc.h.
1846 * config/sparc/linuxaout.h: Likewise.
1847 * config/sparc/linux64.h: Likewise.
1848 Also default to -mvis if CPU is UltraSPARC.
1850 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1852 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
1853 (RTX_OK_FOR_OLO10): Likewise.
1854 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
1855 %lo(), allow it in addresses...
1856 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
1857 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
1858 does not make sense.
1859 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
1860 (sparc_output_scratch_registers): New function.
1861 (output_function_prologue, sparc_flat_output_function_prologue): Use
1863 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
1865 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
1866 * configure.in: Add check for .register pseudo-op support in as and
1867 check for offsetable %lo().
1868 * acconfig.h: Add templates for the above checks.
1869 * configure: Regenerate.
1871 1999-08-02 Richard Henderson <rth@cygnus.com>
1873 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
1874 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
1875 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
1877 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1879 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
1882 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1884 * config/float-sparc.h: New file.
1885 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
1886 sparc-*-linux-gnu and sparc64-*-linux*.
1888 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1890 * rs6000.c (rs6000_va_list): Type is an array.
1891 (rs6000_va_start): Don't doubly adjust for varargs.
1892 (rs6000_va_arg): Evaluate long long GPR adjustment.
1894 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
1896 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
1897 -maix64 and -maix32.
1898 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
1899 LINK_SPEC): Change appropriately.
1900 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
1901 (u_short_cint_operand): Likewise.
1902 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
1904 * rs6000/t-aix43 (MULTILIB): Change to -m64.
1906 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
1908 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
1910 * rs6000/rs6000.c (num_insns_constant_wide): Correct
1912 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
1913 (non_add_cint_operand): Likewise.
1914 (logical_operand): Likewise.
1915 (non_logical_cint_operand): Likewise.
1916 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
1917 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
1918 (rs6000_select_rtx_section): Suppress warning.
1919 (small_data_operand): Suppress warning.
1920 (rs6000_got_register): Suppress warning.
1921 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
1922 type, so `J' is generally the wrong constraint for a SImode value;
1924 (andsi3_internal2): Likewise.
1925 (andsi3_internal3): Likewise.
1926 (iorsi3_internal1): Likewise.
1927 (xorsi3_internal1): Likewise.
1929 (movsf_softfloat): Likewise.
1930 (scc insns): Likewise.
1931 (movsi+2): Preserve sign bits of SImode constant.
1932 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
1933 (movdf+1): Sign-extend properly.
1934 (movdi_32+1): Sign-extend properly.
1935 (scc insns): Sign-extend properly.
1937 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
1940 1999-08-02 Richard Henderson <rth@cygnus.com>
1942 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
1944 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
1945 * alpha.md (all fp insns): Likewise.
1947 1999-08-02 Nick Clifton <nickc@cygnus.com>
1949 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
1952 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
1954 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
1955 pic_load_label generator directly.
1956 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
1957 No longer a named pattern.
1959 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
1961 * explow.c (force_reg): Call force_operand if X does not
1962 satisfy general_operand.
1964 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
1966 * fix-header.c (main): When testing for CONTINUED, use string
1967 equality, not pointer equality.
1969 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
1971 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
1973 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
1975 * cse.c (cse_insn): Fix loop which deletes insns after a jump
1976 that has become an unconditional jump.
1978 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
1979 (output_function_epilogue): Similarly.
1981 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1983 * tree.h (init_dummy_function_start): Declare.
1985 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1987 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
1988 last_expr_type, last_expr_value, block_start_count, block_stack,
1989 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
1990 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
1991 dynamically in stmt elt of struct function for each function.
1992 (struct nesting): Rename function_call_count elt to n_function_calls,
1993 target_temp_slot_level to block_target_temp_slot_level. All users
1995 (struct stmt_status): New structure definition.
1996 Add many accessor macros for stmt_status elements which previously
1997 were global variables.
1998 (init_stmt_for_function): Allocate stmt elt for current_function.
1999 Reflect that block_start_count was renamed to
2000 current_block_start_count.
2001 (save_stmt_status, restore_stmt_status): Delete functions.
2002 (preserve_subexpressions_p): Don't access loop_stack when outside
2004 (expand_start_bindings): Reflect that block_start_count was renamed to
2005 current_block_start_count.
2006 (expand_fixup): Likewise.
2007 (expand_decl): Don't access block_stack when outside a function.
2008 (expand_decl_cleanup): Likewise.
2009 (expand_dcc_cleanup): Likewise.
2010 (expand_dhc_cleanup): Likewise.
2011 (expand_anon_union_decl): Likewise.
2012 (set_file_and_line_for_stmt): New function.
2013 (in_control_zone_p): New function.
2015 * function.h (struct function): Add new elt stmt.
2016 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
2017 case_stack, nesting_stack, nesting_depth, block_start_count,
2018 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
2019 emit_lineno, goto_fixup_chain.
2020 (save_eh_status, restore_eh_status, save_stmt_status,
2021 restore_stmt_status): Delete declarations.
2022 * function.c (push_function_context_to): Don't call save_stmt_status.
2023 (pop_function_context_to): Don't call restore_stmt_status.
2024 * tree.h (in_control_zone_p): Declare.
2025 * rtl.h (set_file_and_line_for_stmt): Declare.
2027 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
2028 call set_file_and_line_for_stmt.
2030 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
2032 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
2033 Also update copyright.
2035 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2037 * c-pragma.c: Don't include "except.h".
2038 * emit-rtl.c: Likewise.
2039 * stor-layout.c: Likewise.
2041 * varasm.c: Likewise.
2043 * flow.c: Include "function.h".
2044 * tree.h (init_dummy_function_start): Declare new function.
2046 * except.h (struct eh_status): New structure.
2047 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
2049 (eh_return_stub_label, ehstack, catchstack, ehqueue,
2050 catch_clauses, false_label_stack, caught_return_label_stack,
2051 protect_list, current_function_ehc): Add accessor macros for the
2052 corresponding fields in current_function->eh; delete declarations
2053 for all items that used to be declared here.
2054 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
2055 catch_clauses, false_label_stack, caught_return_label_stack,
2056 protect_list, current_function_ehc): Delete variables.
2057 (init_eh_for_function): Allocate current_function->eh.
2058 (save_eh_status, restore_eh_status): Delete functions.
2060 * function.h (struct function): Add fields next_global and eh.
2061 Delete all exception handling related fields.
2062 * function.c (current_function): New variable.
2063 (all_functions): New variable.
2064 (push_function_context_to): Don't allocate a struct function,
2065 use current_function instead. Call init_dummy_function_start when
2066 outside a function. Clear current_function before returning.
2067 (pop_function_context_from): Restore current_function.
2068 Don't free the restored struct function.
2069 (prepare_function_start): New function.
2070 (init_dummy_function_start): New function.
2071 (init_function_start): Break out some code into prepare_function_start
2074 * stmt.c (save_stmt_status): Don't call save_eh_status.
2075 (restore_stmt_status): Don't call restore_eh_status.
2077 * Makefile.in: Update dependencies.
2079 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
2081 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
2082 of depending on a magic constant value. Update comments.
2083 (hppa_expand_prologue): Similarly.
2085 * pa.md (reload_indi, reload_outdi): Allow any register for the
2086 original reload register.
2088 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
2090 * cccp.c (print_help): Change marcos to macros.
2092 1999-07-30 Richard Henderson <rth@cygnus.com>
2094 * c-typeck.c (initializer_constant_valid_p): Move ...
2095 * c-common.c (initializer_constant_valid_p): ... here. Use
2096 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
2098 * c-common.h (initializer_constant_valid_p): Declare.
2099 * c-tree.h (initializer_constant_valid_p): Remove.
2101 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
2103 * config/i386/sol2-c1.asm: Align the stack.
2104 * config/i386/sol2-gc1.asm: Likewise.
2106 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
2108 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
2109 -Asparclite for sparc86x.
2110 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
2112 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
2114 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
2116 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
2117 the user if using the non-default arch size in BI_ARCH configuration.
2118 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
2120 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
2121 Fix patterns so that they actually match.
2122 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
2123 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
2124 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
2126 (mulsidi3): Reflect this in the expand.
2127 (smulsi3_highpart): Only on TARGET_ARCH32.
2128 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
2129 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
2130 (umulsidi3): Reflect this in the expand.
2131 (umulsi3_highpart): Only on TARGET_ARCH32.
2132 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
2133 don't require g0 to be zero.
2134 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
2135 ({,u}divsi3): New expands.
2136 ({,u}divsi3_sp64): New patterns.
2137 (after lshrdi3_v8plus): Four new patterns to help combiner
2138 optimizing nested mixed mode shifts.
2140 * config/sparc/sparc.c (sparc_override_options): Use deprecated
2141 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
2142 speed things up. Don't use them by default on plain v9 in 64bit
2143 mode, according to what SPAMv9 sais.
2145 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
2146 top 32 bits of %[og][0-7] in signal handlers.
2147 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
2149 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
2151 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
2152 (ashlsi3): Corresponding changes.
2154 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
2156 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
2158 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
2160 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2162 * arm.h (Hint): Delete macro.
2163 Substitute HOST_WIDE_INT for Hint in some prototypes.
2164 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
2166 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
2168 * builtins.c (expand_builtin_setjmp): Use force_operand to
2169 make sure that the buffer address is in a suitable form to be
2170 passed to force_reg.
2172 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
2174 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
2177 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
2179 * pa.md (indirect_jump): Remove mode from match_operand. Verify
2180 proper mode in the condition string.
2181 (icacheflush, dcacheflush): Remove modes from match_operands.
2183 * pa.c (emit_move_sequence): Always convert scratch_reg to the
2184 proper mode before using it.
2186 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
2189 * pa.c (store_reg): Do not call add_high_const generator directly.
2190 (load_reg, set_reg_plus_d): Likewise.
2191 * pa.md (add_high_const): No longer a named pattern.
2193 * pa.c (legitimize_address): Consistently use Pmode rather than
2194 SImode. Do not call gen_pic2_highpart directly anymore.
2195 * pa.md (pic2_highpart): No longer a named pattern.
2196 (pic2_lo_sum): Similarly. Reformat to make more readable.
2198 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
2203 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2205 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
2207 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
2209 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
2210 and tag the spill mems.
2211 (hppa_va_start): New.
2213 * pa.h (EXPAND_BUILTIN_VA_START): New.
2214 (EXPAND_BUILTIN_VA_ARG): New.
2216 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
2218 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
2219 and tag the spill mems.
2220 (mn10300_va_start): New.
2221 (mn10300_va_arg): New.
2222 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
2223 (EXPAND_BUILTIN_VA_ARG): New.
2225 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
2227 * mn10200.c (mn10200_va_arg): New.
2228 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
2230 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
2232 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
2233 rather than play with TREE_INT_CST_LOW.
2235 1999-07-27 Philip Blundell <pb@nexus.co.uk>
2237 * config/arm/telf.h: Include dbxelf.h.
2238 (CPP_PREDEFINES): Only define if not already defined.
2239 (ASM_IDENTIFY_GCC): Likewise.
2240 (SUBTARGET_EXTRA_SECTIONS): Likewise.
2241 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
2242 * config/arm/thumb.h (LINK_SPEC): Only define if not already
2244 (DBX_DEBUGGING_INFO): Don't define.
2245 * config/arm/linux-telf.h: New file.
2246 * config/arm/linux-tgas.h: New file.
2247 * config/arm/t-thumb-linux: New file.
2248 * config/arm/uclinux-elf.h: New file.
2249 * config/arm/uclinux-telf.h: New file.
2250 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
2251 thumb-*-uclinux): New targets.
2252 * configure: Regenerate.
2254 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
2256 * pa.md (post_store, pre_load): New expanders.
2257 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
2258 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
2259 need to directly generate RTL for them.
2260 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
2263 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
2265 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
2266 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
2267 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
2268 (secndary_reload_class): Make TARGET_ELF conditional compile.
2269 (print_operand_address): Similar.
2270 (output_toc): Print all values as hex.
2271 (get_issue_rate): Rearrange and add RS64A and PPC630.
2272 * rs6000.h (processor_type): Add RS64A and PPC630.
2273 (PROCESSOR_POWERPC64): New.
2274 (PROMOTE_MODE): Use word_mode.
2275 (RTX_COSTS): Add RS64A and PPC630.
2276 * rs6000.md (scheduling information): Add lmul and ldiv
2277 representing 64-bit integer multiply and divide. Add rs64a and
2279 (ashldi3): Add support for "rldic" instruction.
2280 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
2282 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
2284 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
2285 instead of V8 for sparclite86x in cpu_table.
2287 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2289 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
2290 output_file_directive.
2292 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
2294 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
2295 tree for op1, not the rtl.
2297 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
2299 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
2300 to m88k_va_start, leaving only the register spill.
2301 (m88k_build_va_list): New.
2302 (m88k_va_start): New.
2304 * m88k.h (BUILD_VA_LIST_TYPE): New.
2305 (EXPAND_BUILTIN_VA_START): New.
2306 (EXPAND_BUILTIN_VA_ARG): New.
2308 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
2310 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
2311 Rename from expand_builtin_saveregs.
2312 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
2314 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
2316 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
2317 for the register spill block.
2318 (i960_build_va_list): New.
2319 (i960_va_start): New.
2321 * i960.h (BUILD_VA_LIST_TYPE): New.
2322 (EXPAND_BUILTIN_VA_START): New.
2323 (EXPAND_BUILTIN_VA_ARG): New.
2324 * i960.md (store_multiple): Use change_address on individul mems.
2326 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
2328 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
2330 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
2331 (expand_builtin_va_end): Evaluate arg for side effects.
2332 * c-common.c (c_common_nodes_and_builtins): Construct a
2333 va_list_arg_type_node to handle array decomposition to pointer.
2335 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
2337 * except.c (start_dynamic_cleanup): Use force_operand on the
2340 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
2342 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
2343 * c4x.c (c4x_va_arg): New.
2345 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
2347 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
2350 1999-07-26 Nathan Sidwell <nathan@acm.org>
2352 * eh-common.h (__eh_matcher): Prototype correctly.
2354 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
2356 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
2357 (TARGET_SINGLE_PIC_BASE): Likewise.
2358 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
2360 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
2361 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
2362 (TARGET_OPTIONS): Add -mpic-register=N.
2363 (OUTPUT_INT_ADDR_CONST): New macro.
2364 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
2365 LEGITIMATE_PIC_OPERAND_P): Likewise.
2366 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
2367 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
2368 output_addr_const directly.
2369 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
2371 (thumb_pic_register, thumb_pic_register_string): Declare.
2373 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
2375 (label_mentioned_p): New function: Imported from arm.c.
2376 (legitimize_pic_address): New function: Imported from arm.c.
2377 (is_pic):New function: Imported from arm.c.
2378 (thumb_finalize_pic):New function: Imported from arm.c.
2379 (add_constant): Cope with PIC constants.
2380 (fixit): Cope with PIC constants.
2381 (output_return): Do not treat the PIC register as live if
2382 TARGET_SINGLE_PIC_BASE is true.
2383 (thumb_function_prologue): Do not treat the PIC register as live if
2384 TARGET_SINGLE_PIC_BASE is true.
2385 (thumb_expand_prologue): Do not treat the PIC register as live if
2386 TARGET_SINGLE_PIC_BASE is true.
2387 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
2388 TARGET_SINGLE_PIC_BASE is true.
2389 (thumb_print_operand): Accept '|'.
2390 (thumb_override_options): Process PIC options.
2392 * config/arm/thumb.md (movsi): Support PIC.
2393 (call_insn): Change "i" constraint to "X".
2394 (call_value_insn): Likewise.
2395 (consttable_4, consttable_8, consttable_end): Set and clear
2396 "making_const_table" as appropriate.
2397 (pic_load_addr, pic_add_dot_plus_four): New insns.
2399 * invoke.texi (Thumb Options): Fix spelling. Document new
2400 options -msingle-pic-base and -mpic-register=.
2402 1999-07-26 Andrew Haley <aph@cygnus.com>
2404 * config/m32r/initfini.c (__init): Use a full word immediate for
2405 __fini: this allows it to be placed in any memory region.
2407 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
2408 -mmodel=medium. This is OK for all memory models.
2410 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
2412 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
2413 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
2415 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
2417 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
2420 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
2422 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
2424 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
2425 (BUILD_VA_LIST_TYPE): New.
2426 (EXPAND_BUILTIN_VA_START): New.
2427 (EXPAND_BUILTIN_VA_ARG): New.
2428 * i860.c (output_delayed_branch): Disable.
2429 (output_delay_insn): Likewise.
2430 (i860_saveregs): New.
2431 (i860_build_va_list): New.
2432 (i860_va_start): New.
2434 * i860.md: Disable all peepholes using output_delayed_branch.
2435 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
2437 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
2439 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
2440 (BUILD_VA_LIST_TYPE): New.
2441 (EXPAND_BUILTIN_VA_START): New.
2442 (EXPAND_BUILTIN_VA_ARG): New.
2443 * clipper.c (clipper_builtin_saveregs): Only dump registers.
2444 Return the address of the save area.
2445 (clipper_build_va_list): New.
2446 (clipper_va_start): New.
2447 (clipper_va_arg): New.
2449 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
2451 * arc.h (EXPAND_BUILTIN_VA_START): New.
2452 (EXPAND_BUILTIN_VA_ARG): New.
2453 * arc.c (arc_setup_incoming_varargs): Set alias set of
2455 (arc_va_start): New.
2458 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
2460 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
2461 (BUILD_VA_LIST_TYPE): New.
2462 (EXPAND_BUILTIN_VA_START): New.
2463 (EXPAND_BUILTIN_VA_ARG): New.
2464 * alpha.c (alpha_builtin_saveregs): Delete.
2465 (alpha_build_va_list): New.
2466 (alpha_va_start): New.
2467 (alpha_va_arg): New.
2469 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
2471 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
2473 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
2474 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
2476 * gcc.texi: More changes related to list conversion.
2477 * invoke.texi: Likewise.
2479 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
2481 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
2482 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
2483 (expand_builtin_next_arg): Accept ARGLIST not EXP.
2484 (stabilize_va_list): New function.
2485 (std_expand_builtin_va_start): New function.
2486 (expand_builtin_va_start): New function.
2487 (get_varargs_alias_set): New function.
2488 (std_expand_builtin_va_arg): New function.
2489 (expand_builtin_va_arg): New function.
2490 (expand_builtin_va_end): New function.
2491 (expand_builtin_va_copy): New function.
2492 (expand_builtin): Call them.
2493 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
2494 __builtin_{varargs_start,stdarg_start,end,copy}.
2495 (build_va_arg): New function.
2496 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
2497 (build_va_arg): Declare.
2498 * c-decl.c (ptr_type_node, va_list_type_node): New.
2499 * c-parse.gperf (__builtin_va_arg): New.
2500 * c-parse.in (VA_ARG): New token.
2501 (unary_expr): Recognize it.
2502 * expr.c (expand_expr): Expand VA_ARG_EXPR.
2503 * expr.h (std_expand_builtin_va_start): Declare.
2504 (std_expand_builtin_va_arg): Declare.
2505 (expand_builtin_va_arg): Declare.
2506 (get_varargs_alias_set): Declare.
2507 * tree.def (VA_ARG_EXPR): New.
2508 * tree.h (BUILT_IN_VARARGS_START): New.
2509 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
2510 (ptr_type_node, va_list_type_node): Declare.
2511 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
2512 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
2513 * m88k.h, m88k.c: Likewise.
2514 * mn10300.h, mn10300.c: Likewise.
2515 * pa.h, pa.c: Likewise.
2516 * rs6000.h, rs6000.c: Likewise.
2517 * sh.h, sh.c: Likewise.
2518 * sparc.h, sparc.c: Likewise.
2520 * emit-rtl.c (operand_subword): Copy alias set.
2521 (change_address): Likewise.
2523 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
2525 * pa.c (compute_frame_size): Scan all the used callee saved registers,
2526 not just the first one.
2528 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
2530 * config/arm/arm.h (TARGET_SWITCHES): Add
2531 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
2532 (TARGET_OPTIONS): Add -mpic-register=.
2533 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
2534 (arm_pic_register_string): Declare.
2535 (NEED_PLT_GOT): Delete, replace with ...
2536 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
2537 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
2538 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
2539 * config/arm/arm.c (arm_override_options): Add new option
2541 (arm_pic_register_string): New variable.
2542 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
2543 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
2544 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
2545 (output_return_instruction): Likewise.
2546 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
2547 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
2548 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
2550 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
2551 mention of -msched-prolog. Document new options -msingle-pic-base
2552 and -mpic-register=.
2554 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
2556 * haifa-sched.c (reemit_notes): Tidy.
2557 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
2560 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
2562 * explow.c (trunc_int_for_mode): New function.
2563 (plus_constant_wide): Use it.
2564 * combine.c (simplify_and_const_int): Likewise.
2565 (merge_outer_ops): Likewise.
2566 (simplify_shift_const): Likewise.
2567 * cse.c (simplify_unary_operation): Likewise.
2568 (simplify_binary_operation): Likewise.
2569 * emit-rtl.c (operand_subword): Likewise.
2570 * rtl.h: Declare it.
2572 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2574 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
2575 (use NUM_REGS instead of NUM_INTS).
2577 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2579 * builtins.c: New file.
2580 * expr.c (saveregs_value, apply_args_value): Delete definition,
2581 moved into builtins.c.
2582 (string_constant): No longer static.
2583 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
2584 apply_args_size, apply_result_size, result_vector,
2585 expand_builtin_apply_args, expand_builtin_apply,
2586 expand_builtin_return): Delete functions, moved into builtins.c.
2587 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
2588 * expr.h (saveregs_value, apply_args_value): Declare variables.
2589 (expand_builtin, string_constant): Declare functions.
2590 * Makefile.in: Update to build builtin.o.
2592 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
2594 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
2595 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
2596 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
2597 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
2599 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
2602 1999-07-21 Michael Meissner <meissner@cygnus.com>
2604 * print-rtl.c (print_rtx): Print the names of the virtual
2607 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
2609 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
2610 introduced in previous delta.
2612 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2614 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
2615 to avoid name clash.
2617 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
2619 * c-lex.c (yylex) : Correct the test for overflow when lexing
2622 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
2624 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
2625 (adjust_priority): Always call ADJUST_PRIORITY.
2626 (schedule_insn): Only put insns into the ready at cost 0.
2627 (schedule_block): Remove redundant initial sort. Give clock_var
2628 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
2630 * tm.texi (MD_SCHED_REORDER): Update docs.
2632 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
2633 * sparc.c (ultra_reorder_called_this_block): Delete.
2634 (ultrasparc_sched_init): Don't set it.
2635 (ultrasparc_sched_reorder): Don't check it.
2637 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
2639 * rs6000.h (struct rs6000_args): Add sysv_gregno.
2640 * rs6000.c (init_cumulative_args): Init sysv_gregno.
2641 (function_arg_boundary): Align DFmode.
2642 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
2643 to get fp reg and stack overflow correct.
2644 (function_arg): Likewise.
2645 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
2646 (setup_incoming_varargs): Restructure for ABI_V4; use
2647 function_arg_advance to skip final named argument.
2648 (expand_builtin_saveregs): Properly unskip the last integer arg
2649 when doing varargs. Adjust overflow location calculation.
2651 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
2652 explicitly unsigned.
2653 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
2654 (__VA_GP_REGSAVE): Similarly.
2655 (__va_longlong_p): Delete.
2656 (__va_arg_type_violation): New declaration.
2657 (va_arg): Restructure. Flag promotion errors. Align double.
2658 TFmode passed by reference.
2660 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
2661 in the HOST_BITS_PER_WIDE_INT > 32 case.
2663 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
2665 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
2667 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
2669 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
2670 * toplev.c (documented_lang_options): Add -fpreprocessed.
2671 * cpplib.h (struct cpp_buffer): Add preprocessed.
2672 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
2673 (cpp_start_read): Don't expand macros or emit an initial #line
2674 directive if -fpreprocessed.
2676 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
2678 * cpplib.h (struct cpp_buffer): Added manual_pop for
2679 better C++ tokenization.
2680 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
2681 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
2682 * c-common.c (cpp_token): Make non-static.
2684 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2686 * c-common.h: New file.
2687 * c-common.c (permanent_obstack): Delete unused declaration.
2688 (c_global_trees): New array.
2689 (c_common_nodes_and_builtins): New function; split off common code
2690 from init_decl_processing in both c-decl.c and cp/decl.c.
2691 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
2692 c_global_trees and accessor macros defined in c-common.h.
2694 * c-decl.c: Delete definitions for tree nodes that were replaced by
2696 (init_decl_processing): Build void_list_node.
2697 Call c_common_nodes_and_builtins; delete code to generate the common
2699 * objc/objc-act.c (build_module_descriptor): Rename variable
2700 void_list_node to avoid clash with c-common.h.
2702 * Makefile.in: Update dependencies.
2703 * objc/Make-lang.in: Likewise.
2705 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
2707 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
2708 (UNIQUE_SECTION_P): Likewise.
2709 (UNIQUE_SECTION): Likewise.
2711 1999-07-19 Linas Vepstas <linas@linas.org>
2713 * config/i370/README: New file.
2714 * config/i370/linux.h: New file.
2715 * config/i370/mvs.h: New file.
2716 * config/i370/oe.h: New file.
2717 * config/i370/t-linux: New file.
2718 * config/i370/t-mvs: New file.
2719 * config/i370/t-oe: New file.
2720 * config/i370/x-oe: New file.
2721 * config/i370/xm-linux.h: New file.
2722 * config/i370/xm-mvs.h: New file.
2723 * config/i370/xm-oe.h: New file.
2725 * i370.c (label_node_t): Add first_ref_page, label_addr,
2726 label_first_ref, label_last_ref members.
2727 (mvs_need_base_reload): Renamed from mvs_label_emitted.
2728 (MAX_MVS_LABEL_SIZE): Define.
2729 (MAX_LONG_LABEL_SIZE): Define.
2730 (alias_node_t, alias_anchor, alias_number): New.
2731 (mvs_function_table): Reorder for EBCDIC.
2732 (ascebc, ebcasc): Unconditionally define.
2733 (i370_branch_dest, i370_branch_length): New functions.
2734 (i370_short_branch, i370_label_scan): New functions.
2735 (mvs_get_label): Renamed from mvs_add_label. Search for
2736 an existing label before creating a new one.
2737 (mvs_add_label): New function.
2738 (mvs_get_label_page): New function.
2739 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
2740 over the entire list.
2741 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
2742 (mvs_check_page) [TARGET_ELF_ABI]: New function.
2743 (mvs_add_alias, mvs_need_alias): New functions.
2744 (mvs_get_alias, mvs_check_alias): New functions.
2745 (handle_pragma): New function.
2746 (mvs_function_check): New function.
2747 (unsigned_jump_follows_p): Search harder.
2748 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
2749 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
2750 * i370.h (TARGET_VERSION): Delete.
2751 (CPP_SPEC, CPP_PREDEFINES): Delete.
2752 (mvs_label_emitted): Delete.
2753 (TARGET_EBCDIC): Delete.
2754 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
2755 (HANDLE_PRAGMA): Define.
2756 (HARD_REGNO_NREGS): Handle complex modes.
2757 (HARD_REGNO_MODE_OK): Likewise.
2758 (CLASS_MAX_NREGS): Likewise.
2759 (RET_REG): Likewise.
2760 (EXTRA_CONSTRAINT): Define.
2761 (RETURN_IN_MEMORY): True for DImode.
2762 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
2763 (FUNCTION_PROFILER): Delete.
2764 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
2765 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
2766 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
2767 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
2768 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
2769 (ASM_FILE_START): Add "RMODE ANY".
2770 (ASM_OUTPUT_EXTERNAL): Check for aliases.
2771 (ASM_GLOBALIZE_LABEL): Likewise.
2772 (ASM_OUTPUT_LABELREF): Likewise.
2773 (ASM_OUTPUT_COMMON): Likewise.
2774 (PRINT_OPERAND): Handle 'K', 'W', default.
2775 (PRINT_OPERAND_ADDRESS): New.
2776 (Lots of defines): Add support for TARGET_ELF_ABI.
2777 * i370.md (attr length): New. Define for all patterns.
2778 (*): Lots of tweeks to assembly output and constraints.
2780 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
2782 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
2783 Disable patterns performing SImode comparisons with SImode values
2784 if TARGET_POWERPC64 and instruction does not sign-extend or does
2785 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
2786 differ for signed quantities.
2787 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
2788 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
2789 (decrement_and_branch_on_count): Add 64-bit variant.
2791 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2793 * final.c (output_asm_insn): When searching for the matching string
2794 for a given dialect, don't run past the end of the list of
2795 alternatives if there are fewer alternatives in the template than
2798 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
2800 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
2801 Removed paragraph about compression of files and size limitation,
2802 duplicated in the FAQ. Use gcc-patches for posting patches.
2803 * gcc.c (main): Updated URL with bug reporting instructions to
2804 gcc.gnu.org. Removed e-mail address.
2805 * system.h (abort): Likewise.
2807 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2809 * Makefile.in (stmp-multilib-sub): Make the files extracted
2810 from $(LIBGCC1) writable.
2812 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
2814 * config/arm/aout.h: Reformat for improved readability.
2816 * config/arm/arm.h: Reformat for improved readability.
2817 Replace uses of fprintf with asm_fprintf where appropriate.
2818 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
2819 function declaration assembler actions.
2820 (NUM_INTS): New macro: Convert from bytes to words.
2821 (NUM_REGS): New macro: Compute number of registers required to
2822 hold a quanitity of tyep MODE.
2823 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
2825 (NUM_ARG_REGS): New macro: The number of argument registers
2827 (ARG_REGISTER): New macro: Compute the register number of the Nth
2829 (LAST_ARG_REGNUM): New macro: The number of the last argument
2831 (SP_REGNUM): New macro: Register number of the stack pointer.
2832 (FP_REGNUM): New macro: Register number of the frame pointer.
2833 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
2834 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
2835 CUMULATIVE_ARGS so that it counts registers not bytes.
2837 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
2839 Replace uses of fprintf with asm_fprintf where appropriate.
2840 (output_ascii_pseudo_op): Replace with version from thumb.c
2842 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
2844 * config/arm/elf.h (CPP_PREDEFINES): Replace with
2846 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
2847 (ASM_FILE_START): Emit ASM_APP_OFF.
2849 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
2851 * pa.c (compute_frame_size): Round frame according to
2852 STACK_BOUNDARY rather than a hardwired value.
2854 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
2856 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
2858 * configure: Rebuilt.
2860 * configure.in (hppa*-*-linux*): New configuration.
2861 * configure: Rebuilt.
2862 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
2863 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
2864 * pa/pa-linux.h: New file.
2865 * pa/t-linux: New file.
2866 * pa/xm-linux.h: New file.
2868 * pa.c (hppa_legitimize_address): Change references from SImode to
2869 either Pmode or word_mode as appropriate.
2870 (emit_move_sequence, store_reg, load_reg): Likewise.
2871 (set_reg_plus_d, hppa_expand_prologue): Likewise.
2872 (output_mul_insn): Likewise.
2873 * pa.h (PROMOTE_MODE): Likewise.
2874 (INITIALZE_TRAMPOLINE): Likewise.
2875 (Pmode): Define to word_mode.
2877 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
2878 value of 4. Allocate 8 bytes for each FP register save.
2879 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
2881 (hppa_expand_prologue): Likewise.
2882 * pa.h (PROMOTE_MODE): Likewise.
2883 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
2884 (FUNCTION_ARG_BOUNDARY): Likewise.
2886 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
2888 * pa.c (out_of_line_prologue_epilogue): Delete.
2889 (override_options): Remove -mspace related code.
2890 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
2891 (compute_frame_size): Only allocate space for register that
2892 actually need to be saved.
2893 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
2894 (TARGET_SWITCHES): Remove -mspace, -mno-space
2895 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
2896 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
2897 * pa/ee.asm, pa/ee_fp.asm: Delete.
2899 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
2901 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
2902 directive in column zero.
2904 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
2906 * m68k.c (output_function_prologue): Fix computation of save mask
2907 when generating PIC code.
2909 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
2911 * tree.c (build_type_attribute_variant): Move current_obstack restore
2912 after build_qualified_type call.
2914 1999-07-15 Mark Mitchell <mark@codesourcery.com>
2916 * configure.in: Use t-iris6, even with GNU LD.
2917 * config/mips/iris6gld.h: Fix typo in linker spec.
2918 * config/mips/t-iris6gld: Remove.
2920 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
2922 * rs6000.md (insv, extzv): Remove SImode dependence in named
2923 patterns. Explicitly generate DImode RTL if PowerPC64 and
2925 (insvdi): Reverse start and size in instruction template.
2927 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
2929 * invoke.texi: Typo fixes.
2931 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
2933 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
2934 handle at this time instead of silently generating incorrect code.
2935 (gen_imagpart): Likewise.
2937 * reload.c (find_reloads): Emit a USE for a pseudo register without
2938 a hard register if we could not create an optional reload for the
2941 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2943 * c-typeck.c (output_init_element, process_init_element):
2944 When advancing constructor_unfilled_fields for a RECORD_TYPE,
2945 check for nameless bit fields.
2947 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
2949 * regclass.c (scan_one_insn): Notice subregs that change the
2950 size of their operand.
2951 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
2953 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
2955 * configure.in (alpha*-*-*): Include alpha/t-ieee.
2956 * configure: Rebuilt.
2957 * alpha/t-ieee: New file.
2959 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
2961 * rs6000.c (find_addr_reg): Do not select r0 as an address
2964 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
2966 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
2968 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
2970 * rs6000.md (movsf): Do not force easy FP constants into memory.
2972 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
2973 immed_double_const to ensure they are properly truncated then
2976 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
2978 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
2979 always unless NO_DEBUG is used. Compile this code
2981 (replace_symbols_in_block): Compile it unconditionally.
2983 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
2985 * configure.in (i?86-*-elf*): New target.
2986 * configure: Rebuilt.
2987 * i386/i386elf.h, i386/t-i386elf: New files.
2989 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
2991 * toplev.c (main): Don't complain about saying -gdwarf.
2992 (rest_of_compilation): Remove redundant code.
2994 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
2996 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
2998 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
3000 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
3001 "Li960R:", to avoid name clash.
3003 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3005 * loop.c (check_dbra_loop): When reversing a loop, delete all
3006 REG_EQUAL notes referencing the reversed biv except those which are
3007 for a giv based on it.
3009 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
3011 * version.c: Drop "gcc-" prefix from version #.
3013 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
3015 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
3016 the label if we're being verbose.
3018 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
3020 * m68k.c (output_function_prologue): Add pic register to mask
3021 if live and flag_pic.
3022 (output_function_epilogue): Likewise.
3024 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
3026 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
3027 directives in column zero.
3029 * pa/elf.h (ASM_FILE_START): Define.
3030 * pa/som.h (ASM_FILE_START): Include .level directives.
3031 * pa/hpux10.h (ASM_FILE_START): Delete.
3032 * pa/hpux11.h (ASM_FILE_START): Delete.
3034 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
3036 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3038 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
3039 when reload_out equals reload_in.
3041 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
3043 * invoke.texi (Spec Files): New node: Describe the contents of
3046 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
3048 * invoke.texi (DEC Alpha Options): Put @end table at
3049 beginning of line, to avoid confusing texi2html.
3051 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
3053 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
3054 introduced in previous delta.
3056 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3058 * reload1.c (gen_reload): When synthesizing a 3 operand add
3059 sequence, improve test for when to reload OP1 into the reload
3060 register instead of OP0.
3062 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
3064 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
3066 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
3068 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
3071 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
3073 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
3074 (va_dcl): Use __builtin_va_alist_t.
3076 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
3078 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
3079 on the permanent_obstack.
3080 * dwarfout.c (output_type): Likewise.
3082 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
3084 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
3085 Merged from c-typeck.c and cp/typeck.c.
3086 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
3087 Merged into c-common.
3089 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
3091 * c-lex.c (errorcount): Declare it.
3092 (finish_parse): Update errorcount when using CPPLIB.
3094 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
3096 * fixinc/inclhack.def(end_else_label): Double the backslash so
3097 sed gets a chance to see it.
3098 * fixinc/inclhack.sh: regen
3099 * fixinc/fixincl.x: regen
3101 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
3103 Add framework to support armv5 architecture when it becomes
3106 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
3107 (arm_arch5): New variable.
3108 (all_architectures): Add armv5 line.
3109 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
3110 -march=armv5 is specified on the command line.
3111 (arm_arch5): Export this variable.
3112 * invoke.texi: Document new string accepted by -march= switch for
3115 * config/arm/arm.h: Replace use of constant 12 as a register
3116 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
3117 * config/arm/arm.c: Replace use of constant 12 as a register
3118 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
3120 * config/arm/elf.h: Tidy up.
3121 * config/arm/coff.h: Tidy up.
3123 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
3125 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
3126 * gcc/config/mips/t-iris6gld: New file.
3127 * gcc/config/mips/iris6gld.h: Likewise.
3129 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
3131 * c-decl.c (widest_integer_literal_type_node,
3132 widest_unsigned_literal_type) : New.
3133 (init_decl_processing): Handle/use the two new types.
3134 * c-common.c (type_for_size,type_for_mode) : Same.
3135 * c-lex.c (yylex) : Same.
3136 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
3138 * c-tree.h (widest_integer_literal_type_node,
3139 widest_unsigned_literal_type) : New.
3141 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
3143 * dwarfout.c (field_byte_offset): Correctly compute the object's
3144 byte offset for the first bit of a field which crosses an alignment
3145 boundary on a !BYTES_BIG_ENDIAN target.
3147 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
3149 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
3152 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
3153 Jeff Law <law@cygnus.com>
3155 * ginclude/varargs.h (va_dcl): Use word_mode for type of
3158 * except.c: Include intl.h.
3159 (expand_eh_return): Set current_function_cannot_inline.
3160 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
3161 * function.h (struct function): Add eh_return_stub_label.
3162 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
3163 * Makefile.in (except.o): Depend on intl.h.
3165 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
3167 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
3168 same as offsettable in cases 1 and 2.
3170 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
3172 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
3173 (extlh, extwh): Likewise.
3175 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
3177 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
3179 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
3181 * configure.in: Add arm-pe and thumb-pe targets.
3182 * configure: Regenerate.
3184 * thumb.c (arm_naked_function_p): New function: Determines if
3185 a function is naked (has no gcc generated prologue/epilogue).
3186 (is_called_in_ARM_mode): Return true if the func has the
3187 interfacearm attribute.
3188 (output_return): Do not generate a return for naked functions.
3189 (thumb_function_prologue): Do not generate a prologue for
3191 (thumb_expand_prologue): Do not generate a prologue for naked
3193 (thumb_expand_epilogue): Do not generate an epilogue for naked
3195 (arm_valid_machine_decl_attribute): New function, copied from
3196 arm.c: Permit naked and interfacearm attributes.
3198 * config/arm/pe.c: New file: Support code for arm-pe target.
3199 * config/arm/pe.h: New file: Header file for arm-pe target.
3200 * config/arm/tpe.h: New file: Header file for thumb-pe target.
3201 * config/arm/t-thumb-pe: New file: Makefile fragment for
3204 1999-07-01 Mark Kettenis <kettenis@gnu.org>
3206 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
3207 -fPIC or -fpic is specified.
3209 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
3211 * expr.c (emit_block_move): Use copy_to_mode_reg for
3212 !TARGET_MEM_FUNCTIONS case too.
3214 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
3216 * configure: Rebuilt.
3217 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
3218 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
3219 definitions made redundant by dbxelf.h inclusion. Delete
3220 lots of definitions related to assembly output that are
3221 specific to the SOM object format.
3222 * pa.c (output_function_prologue): Do not emit the function's
3224 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
3225 * pa-pro.h: Deleted.
3226 * som.h: New file with SOM specific definitions.
3227 * elf.h: New file with ELF specific definitions.
3229 * elfos.h (const_section): Output a tab before assembler directives.
3230 (ctors_section, dtors_section): Likewise.
3231 (ASM_OUTPUT_SECTION_NAME): Likewise.
3233 * pa/pa1.h: Delete unused file.
3235 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
3237 * configure.in (hppa*-hp-hpux11*): New configuration.
3238 * configure: Rebuilt.
3239 * pa/pa-hpux11.h: New file.
3240 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
3243 * mips.md (leasi, leadi): New patterns.
3245 * expr.c (emit_block_move): Properly handle case where one of the
3246 block move arguments has a queued increment or decrement.
3247 (clear_storage): Similarly. Fix formatting goof.
3249 1999-06-28 "David O'Brien" <obrien@NUXI.com>
3251 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
3252 semicolon from the BSD VA_LIST replacement expression.
3254 * fixinc/inclhack.sh: regen
3255 * fixinc/fixincl.x: regen
3257 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
3258 now use the fixincl program.
3260 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
3262 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
3263 case. Also make the PIC register call_used.
3265 * m68k.h (FINALIZE_PIC): Delete.
3266 * m68k.c (finalize_pic): Delete.
3268 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
3270 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
3273 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
3275 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
3277 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
3279 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
3281 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
3283 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
3285 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
3287 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
3289 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
3291 * rs6000.c (output_toc): Always use hex values for floating-point
3292 constants. Store single-precision values in upper-half of TOC
3293 entry in 64-bit mode.
3294 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
3295 to final constraints.
3296 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
3297 (fctiwz): Improve accuracy of RTL for pattern.
3299 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
3301 * expr.c (expand_expr): Allow RTL_EXPR's through the
3302 MAX_INTEGER_COMPUTATION_MODE checks.
3304 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
3306 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
3307 such that MASK_SUPPORT_ARCH is not negative.
3309 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
3311 * loop.c (verify_dominator): Properly handle ADDR_VEC and
3312 ADDR_DIFF_VEC insns that appear inside loops.
3314 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
3315 Jeff Law <law@cygnus.com>
3317 * rs6000.md (movdf_hardfloat32): Revert previous patch.
3318 Handle LO_SUM the same as offsettable in cases 1 and 2.
3319 * rs6000.c (find_addr_reg): Revert previous patch.
3321 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
3323 * system.h (strstr): New external function declaration.
3324 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
3325 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
3326 * config.in, configure: Rebuilt.
3328 1999-06-24 Tom Tromey <tromey@cygnus.com>
3330 * gcc.c (main): Read user-specified specs files after computing
3331 additional startfile_prefixes.
3333 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
3335 Revert these two patches:
3337 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3338 * loop.c (strength_reduce): When doing biv->giv conversion, update
3339 reg note of NEXT->insn.
3341 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3342 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
3344 (recombine_givs): Set ix field after sorting.
3346 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3348 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
3349 for the parts of an UNSPEC / UNSPEC_VOLATILE.
3351 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
3353 *fixinc/inclhack.def: Add fix development commentary
3354 (read_ret_type): reactivate and add selection clause
3355 (zzz_*): tweak output file name to match what is used in hackshell.tpl
3356 *fixinc/{fixincl.x|inclhack.sh}: regen
3358 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
3360 * expr.c (expand_expr): STRIP_NOPS before checking against
3361 MAX_INTEGER_COMPUTATION_MODE
3362 (check_max_integer_computation_mode): Likewise.
3364 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
3366 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
3368 1999-06-22 Jim Wilson <wilson@cygnus.com>
3370 * expr.c (store_expr): When target is a promoted subreg, return a
3371 promoted subreg as a result.
3373 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
3375 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
3377 (dwarf2out_define): Mark unused parameters appropriately.
3378 (gen_unspecified_parameters_die): Ditto.
3379 (gen_subprogram_die): Fix signed/unsigned warnings.
3380 (gen_variable_die): Ditto.
3382 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
3384 * fixinc/inclhack.def(end_else_label): combined else_label
3385 and endif_label and fixed the sed expression.
3386 *fixinc/{fixincl.x|inclhack.sh}: regen
3388 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
3390 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
3391 'x' when handling non-offsettable addresses
3393 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
3395 * final.c (shorten_branches): Don't try to split an insn that has
3398 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
3400 * config/mips/mips.c (symbolic_expression_p): New function.
3401 (mips_select_rtx_section): Put symbolic expressions in the
3402 data section, not the read-only data section.
3404 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
3406 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
3408 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
3410 * collect2.c (main): Log frame table count.
3411 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
3412 (scan_prog_file) [COFF]: Handle frame tables.
3414 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
3415 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
3416 * alpha/elf.h: Undef them again.
3417 * alpha/vms.h: Remove their definitions.
3419 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3421 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
3422 remove the clobber of r0 and change the REG_UNUSED note to
3425 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
3427 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
3428 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
3429 fits in HOST_WIDE_INT and one uses union to access a long constant
3432 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
3434 * sparc.c (sparc_override_options): Don't allow profiling for
3435 code models other than medlow.
3436 (sparc_function_profiler): New function from old FUNCTION_PROFILER
3437 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
3438 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
3439 (sparc_block_profiler): Likewise.
3440 (sparc_function_block_profiler_exit): Likewise.
3441 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
3442 (FUNCTION_BLOCK_PROFILER): Likewise.
3443 (BLOCK_PROFILER): Likewise.
3444 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
3445 (MCOUNT_FUNCTION): New.
3446 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
3447 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
3448 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
3449 (MCOUNT_FUNCTION): New.
3450 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
3451 (BLOCK_PROFILER): Delete.
3452 (MCOUNT_FUNCTION): New.
3454 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
3456 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
3458 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
3460 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3463 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3466 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3469 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3472 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
3474 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
3477 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
3479 * i386/djgpp.h (LIB_SPEC): New.
3480 (STARTFILE_SPEC): New.
3482 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
3484 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
3486 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
3489 * system.h (WSTOPSIG): New macro.
3491 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
3493 * c-pragma.c (push_alignment): Don't ignore alignments greater than
3495 (insert_pack_attributes): Take into account member natural
3498 * i386/winnt.c (exports_head): New static variable.
3499 (i386_pe_record_exported_symbol): New function.
3500 (i386_pe_asm_file_end): Use.
3501 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
3502 symbols to be emitted at end of assembly.
3503 (ASM_DECLARE_OBJECT_NAME): Likewise.
3504 (ASM_DECLARE_FUNCTION_NAME): Likewise.
3506 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
3509 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
3511 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
3514 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
3516 * haifa-sched.c (sched_analyze_1): Use free_list instead of
3517 zapping reg_last_uses directly.
3518 (sched_analyze_2, sched_analyze_insn): Likewise.
3519 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
3521 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
3523 * rs6000.md (movdf_hardfloat32): Use worst case insn length
3524 attributes for cases 1 and 2.
3526 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
3528 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
3531 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
3533 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
3535 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
3537 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
3538 PIC_OFFSET_TABLE_REGNUM for general alloaction.
3539 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
3540 must be stacked if it is used for PIC accesses.
3541 * arm.c (use_return_insn): Handle PIC register specially.
3542 (output_return_instruction): Likewise.
3543 (output_func_{prologue,epilogue}): Likewise.
3544 (output_expand_prologue): Likewise.
3546 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
3547 (*strsi_predec): Renamed from *strqi_predec.
3548 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
3549 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
3551 * arm.c (arm_override_options): Remove warning about PIC code
3552 not being supported.
3554 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
3556 * rs6000.c (find_addr_reg): New function.
3557 * rs6000.h (find_addr_reg): Declare.
3558 (offsettable_addr_operand): Delete.
3559 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
3560 from and stores to GPRs.
3562 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
3564 * alpha.c (alpha_expand_block_move): Use get_insns rather than
3565 gen_sequence as argument to emit_no_conflict_block.
3567 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3569 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
3570 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
3571 *fixinc/fixincl.x: regen
3572 *fixinc/inclhack.sh: regen
3574 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
3576 * added support for -mpcrel (PC relative addressing for m68k)
3577 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
3578 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
3579 * m68k.c (print_operand_address): Handle 32-bit PIC case.
3580 (comments for general_src_operand): Add some explanation
3581 about EXTRA_CONSTRAINTS.
3582 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
3583 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
3584 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
3585 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
3586 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
3587 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
3588 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
3590 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
3591 * m68k.h (TARGET_PCREL): New target flag.
3592 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
3593 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
3594 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
3595 contains a SYMBOL_REF. Relax this constraint during reload, since
3596 we want to use the predicates, not reload's built-in concept of a
3597 valid memory address, to control what insns need reloading.
3598 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
3599 operands (essentially 'g', 'm', and 's' under normal circumstances).
3600 * m68k.c (print_operand): Cause printing of pc-relative addresses
3601 to include pc register.
3602 (print_operand_address): Ditto.
3603 (general_src_operand): Accept operands that are not only
3604 general_operands, but are also valid when used as a pc-relative
3606 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
3607 (memory_src_operand): Similar, for memory_operands.
3608 (pcrel_address): New predicate to accept the special case of a
3609 pc-relative address.
3610 * m68k.md (many patterns): Rewrite common SImode, HImode, and
3611 QImode insns to accept *_src_operand instead of *_operand where
3612 pc-relative operands can fit. For example, a pc-relative operand
3613 can be used as a memory source operand for addsi3, but not as a
3615 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
3617 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
3619 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
3620 .thumb_set pseudo op to mark aliases of thumb functions.
3622 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
3624 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
3625 preference to ASM_OUTPUT_DEF, if it is defined.
3627 * tm.texi: Document new, optional target macro
3628 ASM_OUTPUT_DEF_FROM_DECLS.
3630 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3632 * fixincludes: ISCNTL patch
3633 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
3634 (dgux_int_varargs): new for DG/UX
3635 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
3637 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
3639 * invoke.texi (ia32 options): Fix typo.
3641 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3643 * loop.c (strength_reduce): When doing biv->giv conversion, update
3644 reg note of NEXT->insn.
3646 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
3648 * loop.c (move_movables): Note issues with replacing REGs with
3650 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
3652 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
3654 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
3656 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
3657 the reference to `mcount' was not correct for the ELF on FreeBSD.
3659 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3661 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
3664 (recombine_givs): Set ix field after sorting.
3666 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
3668 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
3669 to safe to extract a subword out of a REG.
3671 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3673 * sh.md (mulsi3): Don't add a no-op move at the end.
3675 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3677 * cse.c (cse_insn): Don't put hard register source into tables for
3678 the last insn of a libcall.
3680 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3682 * loop.c (strength_reduce): Insert sets of derived givs at every
3683 biv increment, even if it's the only one.
3685 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
3687 * dwarfout.c (add_incomplete_type): New fn.
3688 (output_type): Call it.
3689 (retry_incomplete_types): New fn.
3690 (dwarfout_finish): Call it.
3692 From Eric Raskin <ehr@listworks.com>:
3693 (output_type): Output types for bases.
3695 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
3697 * mips.c (mips_output_conditional_branch): Add `break'
3698 between `default' label and `close braces'.
3700 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
3702 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
3703 specifications and make it realistic.
3704 (LIB_SPEC): Likewise.
3706 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
3708 * config/mips/mips.c (mips_secondary_reload_class): Check for
3709 (PLUS (SP) (REG)) and return appropriate register class.
3710 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
3711 Handle (PLUS (SP) (REG)).
3712 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
3713 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
3714 of emit_insn for tablejump.
3716 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
3718 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
3719 asm_fprintf format string by itself.
3720 (output_function_profiler): Likewise.
3722 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
3724 * combine.c (simplify_logical, case AND): Only call
3725 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
3726 or the constant is positive.
3728 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
3730 * configure.in: Fix typo in rs6000-ibm-aix4 case.
3731 * configure: Regenerate.
3733 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
3735 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
3736 require a sub-version #.
3737 * configure: Rebuilt.
3739 1999-06-14 Robert Lipe (robertlipe@usa.net)
3741 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
3743 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
3745 * c-typeck.c (process_init_element): Detect excess elements in
3746 char array initializer.
3748 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3750 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
3752 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3754 * invoke.texi (Option Summary): Add -fpermissive flag.
3756 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
3758 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
3759 that require PIC code sequences.
3761 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
3763 * configure.in: Add new target: thumb-elf.
3764 * configure: Regenerate.
3765 * config/arm/t-thumb-elf: New file: Makefile fragment for
3767 * config/arm/telf.h: New file: Header file for thumb-elf
3770 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
3772 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
3773 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
3774 initializers is some circumstances.
3776 * fixinc/inclhack.def (endif_label): Add additional selector for
3777 more bogus stuff after #endif statements.
3778 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
3780 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
3782 * i386/cygwin.h (SET_ASM_OP): Define.
3784 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
3786 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
3788 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3790 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
3793 * sh.md (ic_invalidate_line_i): Remove second alternative.
3795 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3797 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
3798 test for the presence of valid prototypes. Delete bypass expr.
3799 (ioctl_fix_ctrl): Correct the selection expression.
3800 (no_double_slash): Correct quoting rules
3801 *fixinc/fixincl.x: regen
3802 *fixinc/inclhack.sh: regen
3804 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
3806 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
3808 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3810 * rs6000.md (movsi_got_internal_mem): Delete.
3811 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
3812 (GOT_TOC_REGNUM): Delete.
3813 (PIC_OFFSET_TABLE_REGNUM): Define.
3814 (FINALIZE_PIC): Disable.
3815 * rs6000.c (rs6000_got_register): New code for fixed pic register.
3816 (rs6000_replace_regno): Delete.
3817 (rs6000_finalize_pic): Likewise.
3818 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
3820 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3822 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
3823 is a note; use <= for the compare; advance P while it is
3826 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
3828 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
3829 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
3831 * varasm.c (remove_from_pending_weak_list): Verify t->name
3832 is non-NULL before passing it to strcmp.
3834 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3836 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
3837 the typed arguments are not part of a comment
3838 (ioctl_fix_ctrl): Added a purpose comment
3839 *fixinc/fixincl.x: regenerate
3840 *fixinc/inclhack.sh: regenerate
3842 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3844 * invoke.texi: Add C4x invocation docs.
3846 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3848 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
3850 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
3852 (c4x_legitimize_reload_address): New function.
3853 * config/c4x/c4x.md: Update docs.
3855 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
3857 * fixincludes: Avoid removing '.'.
3858 * fixinc/fixinc.svr4: Likewise.
3859 * fixinc/fixinc.winnt: Likewise.
3860 * fixinc/inclhack.tpl: Likewise.
3861 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
3863 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3865 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
3867 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
3869 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
3871 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
3874 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
3876 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
3877 * configure: Regenerate.
3879 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
3881 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
3884 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
3886 * fixinc/inclhack.def (avoid_bool): Also catch
3887 "typedef [unsigned] int bool".
3888 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
3890 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
3891 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
3892 * configure: Rebuilt.
3894 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
3896 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
3897 such that we can override its definitions if necessary.
3898 (CPP_SPEC): New define. Support processor specific predefines via
3900 (CC1_SPEC): New define. Support processor specific compiler
3901 options via %(cc1_cpu).
3902 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
3905 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3907 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
3908 between sed's -e flag, and the open-quote following it.
3909 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
3911 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
3912 Jeffrey A Law (law@cygnus.com)
3914 * varasm.c (assemble_start_function): Remove the function
3915 from the pending weak decls list when we define a function.
3916 (assemble_variable): Similarly for variables.
3917 (weak_finish): Ignore items on the list with a NULL name.
3918 (remove_from_ending_weak_list); New function to "remove" an item
3919 from the pending weak declarations list.
3921 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3923 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
3925 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
3927 * c-lex.c (GETC): Redefine to call getch.
3928 (UNGETC): Redefine to call put_back.
3929 (putback_buffer): New structure type.
3930 (putback): New static structure.
3931 (getch): New function.
3932 (put_back): New function.
3933 (yylex): Replace unused bytes from bad multibyte character.
3935 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
3937 * cpplib.c (do_define): Cast `alloca' return value.
3938 (do_include, do_undef, do_pragma): Likewise.
3939 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
3941 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
3942 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
3944 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
3946 * sparc.md (abstf2): This should be an expand.
3947 (split after abstf2_notv9): Fix mode.
3948 (abstf2_hq_v9): New pattern.
3949 (abstf2_v9): Only use when no hard quad.
3950 (absdf2_v9): Fix if target is not the same as source.
3951 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
3952 Add correct output constraints.
3954 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
3956 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
3957 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
3959 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
3961 * mips.h (mips_output_conditional_branch): New function.
3962 (mips_adjust_insn_length): Likewise.
3963 (ASSEMBLER_SCRATCH_REGNUM): New macro.
3964 (ADJUST_INSN_LENGTH): Likewise.
3965 * mips.c (print_operand): Add `F' and `W' for floating-point
3967 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
3969 (mips_adjust_insn_length): New function.
3970 (mips_output_conditional_branch): New function.
3971 * mips.md (length): Adjust attribute definition to handle
3972 conditional branches. Change lengths to bytes, rather than
3973 instructions throughout. Remove length attribute from
3974 instructions whose length is four bytes, and rely on the default
3976 (dslot): Fix typo in comment.
3977 Reword conditional branch patterns to use
3978 mips_output_conditional_branch.
3980 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3982 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
3983 (LIB_SPEC): Likewise.
3984 Link with -lprof1_r for -g/-pg.
3986 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3988 * loop.c (check_dbra_loop): Fix change of Jan 19.
3990 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
3992 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
3993 (STARTFILE_SPEC): Define, override the svr4.h version.
3994 (ENDFILE_SPEC): Likewise.
3996 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
3998 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
3999 * fixinc/fixincl.x: Regenerated.
4000 * fixinc/inclhack.sh: Regenerated.
4002 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4004 * sh.c (barrier_align): Don't return early for normal branch/barrier
4005 when optimizing for SH2.
4007 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
4009 * i386/udk.h (LINK_SPEC): Correct linker search path for
4012 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4014 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
4015 (braf_label_ref_operand): Delete.
4016 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
4017 * sh.md (casesi_jump_2): Operand1 is now the inside of a
4018 label_ref, and has no predicate.
4019 The patten has a predicate to guard against invalid substitutions.
4020 (dummy_jump): Delete.
4021 (casesi): Update use of casesi_jump_2.
4023 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4025 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
4026 *fixinc/fixincl.x: regenerate
4027 *fixinc/inclhack.sh: regenerate
4029 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
4031 * dwarf2out.c (add_incomplete_type): New fn.
4032 (gen_struct_or_union_type_die): Call it.
4033 (retry_incomplete_types): New fn.
4034 (dwarf2out_finish): Call it.
4036 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
4038 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
4039 current block starts with a CODE_LABEL and ends with a CALL and
4040 we can not find all the argument setup instructions for the CALL.
4042 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
4045 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
4046 something is a candidate for optimize_bit_field_compare.
4048 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4050 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
4052 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
4054 * alpha.c (override_options): Thinko in last patch.
4056 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
4057 (LIB_SPEC): Recognize -pthread.
4059 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
4061 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
4062 definition in config/arm/coff.h
4063 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
4065 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4067 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
4068 fixes that need "file=xxx\n" prepended before invocation
4069 (start_fixer - new): starting the fixer process is complex enough
4070 to warrent its own routine. It prepends the "file=xxx\n" stuff.
4071 (process): uses the new routine; omit usage of putenv()
4072 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
4073 * fixinc/fixincl.x: regenerate
4075 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
4077 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
4078 and version #s (1.1 -> 2.96) as needed.
4079 * README.g77: Kill way out of date file in the toplevel directory.
4081 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
4083 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
4084 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
4085 * configure: Rebuilt.
4086 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
4087 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
4088 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
4089 (SWITCH_TAKES_ARG): Likewise.
4090 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
4091 * config/t-freebsd: Moved from config/i386/ so it can used for all
4094 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
4096 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
4098 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
4100 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
4101 * configure: Rebuilt.
4103 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
4105 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
4106 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
4107 * rs6000/rs6000.c (rs6000_file_start): Use putc.
4108 (rs6000_output_load_toc_table): Same.
4109 (output_prolog, output_mi_thunk): Same.
4110 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
4111 (ASM_GLOBALIZE_LABEL): Use putc.
4113 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
4115 * alpha.md (reload_*_help): New patterns and splitters.
4116 (reload_*): Use them.
4117 (mov[qh]i): Likewise.
4119 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
4121 * cccp.c (handle_directive): Handle backslash-newlines in quoted
4124 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
4126 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
4128 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
4130 * flow.c (mark_regs_live_at_end, insn_dead_p,
4131 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
4132 and HARD_FRAME_POINTER_REGNUM special treatment if reload
4133 hasn't run or the frame pointer is needed.
4134 * haifa-sched.c (attach_deaths): Likewise.
4135 * sched.c (attach_deaths): Likewise.
4137 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
4139 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
4140 calculate_can_reach_end returns nonzero.
4142 * configure.in (native gas tests): Search for an assembler in the
4143 same manner that the installed compiler will.
4144 * configure: Rebuilt.
4145 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
4147 * alias.c (find_base_term): Improve handling of addresses
4148 constructed from binary operations.
4150 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
4152 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
4154 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
4156 * function.h (cleanup_label, frame_offset): Declare.
4157 (tail_recursion_label, tail_recursion_reentry): Likewise.
4158 (arg_pointer_save_area, rtl_expr_chain): Likewise.
4159 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
4160 (tail_recursion_label, tail_recursion_reentry): Likewise.
4161 (arg_pointer_save_area, rtl_expr_chain): Likewise.
4163 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
4165 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
4167 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
4168 (MAX_OFILE_ALIGNMENT): Define.
4170 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
4172 * fixincl.c: Replace local include scheme with #includes of
4173 gansidecl.h and system.h.
4174 * procopen.c: Likewise.
4175 * server.c: Likewise.
4177 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
4179 * i386/t-dgux (EXTRA_PARTS): Add crti.o
4180 (crti.o): Add build rule and dependencies.
4181 * fixinc/fixinc.dgux: Use modified _int_varargs.h
4183 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4185 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
4186 (LIB_LINUX_SPEC): Likewise.
4187 (LIB_LINUX_SPEC): Add support for -pthread
4188 (CPP_OS_LINUX_SPEC): Likewise.
4189 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
4192 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
4194 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
4196 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
4197 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
4198 for IEEE math and CC_FCOMI.
4199 (put_jump_code): No IEEE if CC_FCOMI is set.
4201 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4203 * fold-const.c (fold_truthop): Make the field reference unsigned
4204 when converting a single bit compare.
4206 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4208 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
4210 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
4212 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
4213 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
4216 * reload.c (push_reload): Do not call remove_address_replacements
4217 when presented with identical optional reloads.
4219 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
4221 * alpha.h (MASK_FIX, TARGET_FIX): New.
4222 (MASK_*): Reorganize constants.
4223 (CPP_AM_FIX_SPEC): New.
4224 (TARGET_SWITCHES): Add FIX.
4225 (EXTRA_SPECS): Likewise.
4226 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
4227 (SECONDARY_MEMORY_NEEDED): Likewise.
4228 (REGISTER_MOVE_COST): Likewise.
4229 * alpha.c (override_options): Add FIX support. Always use
4230 ALPHA_TP_PROG for ev6.
4231 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
4232 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
4233 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
4235 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
4237 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
4238 something is a candidate for optimize_bit_field_compare.
4240 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
4242 * gcc.texi (Passes): Document branch-shortening.
4243 * invoke.texi (Debugging Options): Document the fact that `-dp'
4244 outputs length information for instructions.
4246 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
4248 * flow.c: Revert previous delta.
4250 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
4252 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
4253 FRAME_POINTER_REGNUM.
4254 (mark_set_1): Ditto.
4255 (mark_used_regs): Ditto.
4257 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
4259 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
4260 (GOT_PCREL): New macro. Define to 1 if not already defined.
4261 * arm/elf.h (GOT_PCREL): Define to 0.
4262 * arm.c (arm_finalize_pic): Take into account the setting of
4265 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
4267 * output.h (STRIP_NAME_ENCODING): Provide default definition.
4268 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
4270 * flow.c (mark_set_1): Do not record BLKmode stores as dead
4271 store elimination candidates.
4273 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
4275 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
4278 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
4280 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
4281 Add use of x-aix41-gld.
4283 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
4285 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
4286 (ASM_OUTPUT_DESTRUCTOR): Define.
4288 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
4290 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
4291 last CODE_LABEL in a loop if we have previously passed a jump
4292 to the top of the loop.
4294 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
4296 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
4297 applying Philip's patch.
4299 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
4301 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
4304 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
4306 * loop.c (strength_reduce): Grow reg_single_usage as needed.
4308 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
4310 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
4311 Also remove a useless comment.
4313 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
4315 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
4317 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
4319 * collect2.c (main): Only generate import or export file and add
4320 to link arguments if non-empty. Use xmalloc not alloca.
4321 (write_{export,import}_file): Delete.
4322 (write_aix_file): New function.
4323 (locatelib): Use xmalloc not malloc.
4324 (GCC_OK_SYMBOL): Do not check type if aix64.
4326 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
4328 Based on patch by Scott Bambrough and Pat Beirne:
4329 * config/arm/arm.c (making_const_table): New variable.
4330 * config/arm/arm.h (making_const_table): Declare.
4331 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
4333 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
4334 Keep track of when we are building the constant table.
4336 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
4338 * config/arm/arm.c (arm_override_options): Fix erroneous warning
4341 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
4343 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
4346 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
4348 * tm.texi (FUNCTION_ARG): Correct description of a stack element
4351 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
4353 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
4355 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4357 * rs6000.c (output_mi_thunk): Enable full support again.
4359 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4361 * sh.h (BRANCH_COST): Define.
4363 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
4365 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
4367 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
4369 * function.c (assign_stack_local): Align stack slot propertly.
4370 (assign_outer_stack_local): Likewise.
4372 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
4374 * expr.h (lang_expand_constant): Declare.
4375 * toplev.c (lang_expand_constant): Define it.
4376 * varasm.c (output_constant): Use it.
4378 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4380 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
4381 Change function definitions to K&R style.
4383 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4385 * fixinc/fixincl.c: We must not ignore SIGCLD now.
4387 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
4389 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
4390 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
4391 (several places): omit static initialization
4392 (process): use single fd, since only the read fd is used
4393 * fixinc/gnu-regex.c: define 'const' away, if not supported
4394 * fixinc/procopen.c(several places): omit static initialization
4395 * fixinc/server.c: define 'volitile' away, if not supported
4397 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4399 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
4400 asm_fprintf and %L to generate the label name.
4401 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
4402 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
4404 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
4406 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
4407 insn for a conditional jump can not be found.
4409 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
4411 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
4412 on variables in specific sections other than .sbss and .sdata.
4414 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
4416 * stmt.c (expand_return): Call start_cleanup_deferral and
4417 end_cleanup_deferral around conditional code.
4419 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4421 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
4422 filename lists. Utilizes new "krstr" AutoGen function.
4423 * fixinc/fixincl.x: Rebuilt.
4425 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
4427 * i386.c (output_float_compare): Avoid GNU-C extensions.
4429 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
4431 * version.c: Bump to distinguish mainline tree from the
4434 See ChangeLog.1 for earlier changes.
4437 add-log-time-format: current-time-string