1 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
3 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
6 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
8 * system.h: Don't redefine abort or trim_filename.
9 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
10 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
11 whether or not __FUNCTION__ is available.
12 * tree.h: Duplicate rtl.h's definition of abort, for files
13 that don't include rtl.h. Delete all code to perform type
14 checking with a compiler other than GCC.
15 * varray.h: Delete all code to perform type checking with a
16 compiler other than GCC. Make VARRAY_CHECK() always evaluate
17 its arguments exactly once, using a statement expression.
18 Adjust the VARRAY_<type> accessor macros to match.
19 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
20 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
21 caller's location. Define fatal_insn and fatal_insn_not_found
22 as macros that use _fatal_insn and _fatal_insn_not_found.
23 (fancy_abort, trim_filename): Kill prototypes.
25 * rtl.c (trim_filename): Move here from toplev.c.
26 (fancy_abort): New function.
27 (DIR_SEPARATOR): Provide default definition.
28 * tree.c (tree_check_failed, tree_class_check_failed): Go
30 (tree_check, tree_class_check, cst_or_constructor_check,
32 * varray.c (varray_check_failed): New function.
33 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
34 _fatal_insn and _fatal_insn_not_found. Go through
36 (trim_filename, fancy_abort): Delete.
38 * builtins.c (expand_builtin_args_info): Report ICE with abort.
39 * except.c (start_catch_handler): Report ICE with error/abort
41 * final.c (output_operand_lossage): Likewise.
42 * flow.c (verify_flow_info): Likewise.
44 * gcc.c: Prototype fatal.
45 * gengenrtl.c: Undef abort after including rtl.h not system.h.
46 * genattr.c, genattrtab.c, genemit.c, genextract.c,
47 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
48 Don't define fancy_abort.
50 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
52 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
55 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
57 * m88k.h (VERSION_INFO2): Kill.
58 (VERSION_STRING): Kill.
60 (VERSION_INFO1): Tidy.
61 (TARGET_VERSION): Update.
62 * m88k/dgux.h (VERSION_INFO2): Kill.
63 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
64 * m88k/luna.h (VERSION_INFO1): Tidy.
65 * m88k/sysv4.h (VERSION_INFO1): Likewise.
66 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
67 (output_file_start): Adjust for death of VERSION_STRING.
69 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
71 * cpplib.c (detect_if_not_defined): New function.
72 (do_if): Use it to detect potential once-only headers.
74 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
76 * c-common.c (combine_strings): Always set TREE_CONSTANT.
78 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
80 * combine.c (nonzero_bits) : Allow single-ly set registers to be
81 anywere in the function only if they are pseudos and set before
82 being used (not live at the start of the function).
83 (num_sign_bit_copies) : Same.
84 (get_last_value_validate) : Same.
85 (get_last_value) : Same.
87 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
89 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
90 where N and M are constant and N is an integer multiple of M.
92 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
94 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
95 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
96 sbitmap_union_of_preds): Add prototypes.
97 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
98 the intersection of successors with the new flow graph structures.
99 (sbitmap_intersection_of_preds): New function to compute the
100 intersection of predecessors with the new flow graph structures.
101 (sbitmap_union_of_succs): New function to compute the union of
102 successors with the new flow graph structures.
103 (sbitmap_union_of_preds): New function to compute the union of
104 predecessors with the new flow graph structures.
105 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
106 (expr_reaches_here_p): Use edge and basic_block structures instead
107 of s_preds and s_succs.
108 (compute_cprop_avinout): Use new sbitmap routines.
109 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
110 of s_preds and s_succs.
111 * flow.c (compute_flow_dominators): Compute dominators using
112 edges and basic blocks instead of s_preds and s_succs.
114 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
116 * lists.c (unused_insn_list, unused_expr_list): New file for
117 maintaining various types of lists. New statics for maintaining a
118 cache of available INSN_LIST and EXPR_LIST nodes.
119 (free_list): Static function for freeing a list of INSN/EXPR nodes.
120 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
121 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
122 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
123 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
124 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
125 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
126 (free_INSN_LIST_node): Free an individual INSN_LIST node.
127 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
128 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
129 (remove_dependence, free_pending_lists): Use new global routines.
130 (flush_pending_lists, sched_analyze_insn): Use new global routines.
131 (sched_analyze, compute_block_backward_dependences): Use new routines.
132 (sched_analyze_1, sched_analyze_2): Use new routines.
133 (schedule_insns): Use new global routines.
134 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
136 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
137 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
139 * toplev.c (rest_of_compilation): Initialize node cache.
140 * Makefile.in (OBJS): Add lists.o to list of object files.
141 (lists.o): Add dependancies.
143 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
145 * config/v850/v850.md: Fix compile time warning messages.
146 * config/v850/v850.c: Fix compile time warning messages.
147 * config/v850/v850.h: Fix compile time warning messages.
149 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
151 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
152 Remove unused prototype for `init_lengths'.
154 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
156 * calls.c (emit_call_1): Mark parameter `stack_size' with
158 (expand_call): Initialize variable `insn'.
159 (emit_library_call): Likewise for variable `high_to_save'.
160 (emit_library_call_value): Likewise.
161 (store_one_arg): Likewise for variables `lower_bound' and
164 * combine.c (try_combine): Likewise for variables `i2_code_number'
165 and `other_code_number'.
166 (find_split_point): Likewise for variables `pos', `unsignedp' and
168 (simplify_if_then_else): Likewise for variables `op' and `c1'.
169 (simplify_and_const_int): Remove unused variable `width'.
170 (merge_outer_ops): Likewise.
172 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
173 HOST_WIDE_INT' when comparing against one.
174 (simplify_relational_operation): Likewise.
175 (cse_insn): Initialize variables `src_eqv_volatile',
176 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
178 * final.c (init_final): Constify parameter `filename'.
179 (final_start_function): Mark parameter `optimize' with
181 (profile_function): Likewise for parameters `first' and `optimize'.
182 (output_source_line): Likewise for parameter `file'.
184 * integrate.c (subst_constants): Cast a value to `size_t' when
185 comparing against one.
186 (mark_stores): Initialize variable `mode'. Cast a value to
187 `size_t' when comparing against one.
189 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
191 * loop.c (move_movables): Initialize variable `first'.
192 (strength_reduce): Likewise for variable `increment'.
193 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
194 value to `size_t' when comparing against one.
195 (load_mems): Initialize variable `end_label'.
197 * output.h (init_final): Constify parameter.
199 * reload.c (decompose): Initialize variable `base'.
201 * reload1.c (reload): Likewise for variable `is_scalar'.
202 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
203 (choose_reload_regs): Initialize variable `mode'.
204 (emit_reload_insns): Likewise for variable `store_insn'.
205 (reload_cse_noop_set_p): Mark parameter `insn' with
207 (reload_combine): Initialize variable `set'.
209 * unroll.c (unroll_loop): Likewise for variable `local_label'.
210 (copy_loop_body): Cast a value to `size_t' when comparing against
213 * varasm.c (assemble_variable): Initialize variable `size_tree'.
214 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
215 (remove_from_pending_weak_list): Mark parameter `name' with
218 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
220 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
223 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
225 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
226 (ASM_DECLARE_FUNCTION_NAME): Define.
227 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
228 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
229 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
232 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
234 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
235 of n_popped when call/call_value are not defined.
237 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
239 * tm.texi: GNU CC -> GCC conversion.
240 (CC1_SPEC): Indicate it is used for all language front ends.
242 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
244 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
245 NOTE_INSN_EH_REGION_END correctly.
247 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
248 Jeff Law <law@cygnus.com>
250 * loop.c (strength_reduce): Automatically unroll loops if the
251 unrolled loop size is smaller than the rolled loop size.
253 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
254 and delete comment that code should be rewritten.
256 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
258 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
261 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
263 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
265 * fixinc/mkfixinc.sh: Don't fix uwin headers.
266 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
267 (LINK_SPEC): Add -u _main when building executables.
268 (ASM_DECLARE_FUNCTION): Update from Cygwin.
269 (ASM_FILE_END): Use the default for ix86-pe.
270 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
272 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
274 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
275 and ASM_CLOSE_PAREN are empty strings.
277 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
278 Geoffrey Keating <geoffk@cygnus.com>
280 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
281 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
282 (unprotoize.o): Ditto.
283 (test-protoize-simple): Don't define STD_PROTO_DIR.
284 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
285 changes to make 'test-protoize-simple' pass.
286 (STD_PROTO_DIR): Remove define.
287 (STANDARD_EXEC_PREFIX): Supply default define.
288 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
289 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
290 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
291 (GET_ENV_PATH_LIST): New macro.
292 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
293 (do_processing): Initialize default_syscalls_dir using new
294 macros. Use it to initialize syscalls_absolute_filename.
296 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
298 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
299 B into a register before emit_conditional_move.
301 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
303 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
304 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
305 multiplicand out of (+ (* a b) (* c d)).
307 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
308 Richard Henderson <rth@cygnus.com>
310 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
311 (new_insn_dead_notes): Likewise.
312 (update_n_sets): Likewise.
313 (update_flow_info): Move to flow.c, renamed to update_life_info;
314 extend to handle multiple source insns.
315 * flow.c: Include resource.h
316 (unlink_insn_chain): New.
317 (split_hard_reg_notes): New.
318 (maybe_add_dead_note): New.
319 (maybe_add_dead_note_use): New.
320 (find_insn_with_note): New.
321 (new_insn_dead_notes): New.
322 (update_n_sets): New.
323 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
324 (maybe_remove_dead_notes): New.
325 (update_life_info): New.
326 (prepend_reg_notes): New.
327 (replace_insns): New.
328 * output.h (update_life_info): Declare.
329 * recog.c (split_block_insns): Use update_life_info.
330 * resource.c (find_free_register): Use reg_alloc_order, don't use
331 fixed regs, make sure the mode is supported, don't use new regs.
333 * rtl.h (replace_insns): Declare.
335 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
337 * expr.c (expand_expr): Cope with COND_EXPRs with one
338 non-returning branch.
340 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
342 * expr.c (store_expr): Always pass down the target, even when not
345 1999-08-24 Nick Clifton <nickc@cygnus.com>
347 * configure.in: Define target_cpu_default for v850 targets.
348 * configure: Regenerate
350 * config/v850/v850.h (TARGET_CPU_generic): Define.
351 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
352 addresses are 4 byte aligned.
354 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
357 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
359 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
360 (main): Add prototypes.
362 * genattrtab.c (substitute_address, write_const_num_delay_slots,
363 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
364 (write_attr_get): Emit prototypes along with function definition.
365 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
366 (write_complex_function): Emit static prototype along with
369 * genemit.c (gen_split): Emit prototypes along with function
372 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
373 Likewise for predicates and `insn_operand_predicate'.
374 (process_template): Emit static prototype along with function
377 * genrecog.c (make_insn_sequence): Constify a char*. Add
378 prototypes for get_split_*().
379 (write_subroutine): Emit prototypes along with function
382 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
384 * gcse.c (find_avail_set): Follow chains of register-register copies.
385 Use oprs_not_set_p to guarantee that the returned value can be
387 (cprop_insn): Don't verify the return value of find_avail_set with
390 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
391 (cprop_cc0_jump): New function.
392 (cprop_insn): Break out new function cprop_jump and use it.
393 Also use cprop_cc0_jump for machines with CC0.
394 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
396 * tree.h (current_function_calls_setjmp,
397 current_function_calls_longjmp): Delete declarations.
398 * dsp16xx.c: Include "function.h".
400 * gmicro.c: Likewise.
404 * mn10200.c: Likewise.
405 * mn10300.c: Likewise.
410 * rtl.h (rtx_equal_function_value_matters): Declare.
411 * toplev.c (rtx_equal_function_value_matters): Don't declare.
413 * function.c: Likewise.
414 * emit-rtl.c: Likewise.
416 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
418 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
421 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
423 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
426 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
428 * cpp.texi: Add a node documenting macro varargs (copied
431 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
433 * cppspec.c: Put a null pointer at the end of the new argv.
435 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
437 * configure.in: Remove code to select/de-select the haifa
438 scheduler. Every scheduled port gets haifa now.
439 * configure: Rebuilt.
440 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
442 * Makefile.in: Corresponding changes.
444 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
446 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
448 (prepare_float_lib_cmp): Likewise.
449 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
450 * expr.h (emit_float_lib_cmp): Delete declaration.
451 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
452 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
453 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
455 (cmptf): Now conditional on TARGET_HARD_QUAD.
457 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
459 * resource.c (mark_target_live_regs): Use
460 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
462 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
464 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
466 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
468 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
470 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
472 * rtl.h (rtx_format): Constify a char*.
474 * rtl.c (rtx_format): Likewise.
475 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
476 (init_rtl): Use accessor macro, not `rtx_format'.
478 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
481 * caller-save.c (mark_referenced_regs): Likewise.
483 * combine.c (subst, make_compound_operation, known_cond,
484 gen_rtx_combine, update_table_tick, get_last_value_validate,
485 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
487 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
488 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
489 count_reg_usage): Likewise.
491 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
494 * final.c (leaf_renumber_regs_insn): Likewise.
496 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
497 dump_edge_info, count_reg_references): Likewise.
499 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
500 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
503 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
504 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
505 add_label_notes): Likewise.
507 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
508 clear_struct_flag, count_sub_rtxs, count_alternatives,
509 compares_alternatives_p, contained_in_p, walk_attr_value,
510 write_expr_attr_cache): Likewise.
512 * genconfig.c (walk_insn_part): Likewise.
514 * genemit.c (max_operand_1, gen_exp): Likewise.
516 * genextract.c (walk_rtx): Likewise.
518 * genflags.c (num_operands): Likewise.
520 * genoutput.c (scan_operands): Likewise.
522 * genpeep.c (match_rtx): Likewise.
524 * genrecog.c (add_to_sequence): Likewise.
526 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
529 * integrate.c (save_constants, copy_for_inline,
530 copy_rtx_and_substitute, subst_constants, restore_constants):
533 * jump.c (mark_jump_label, invert_exp, redirect_exp,
534 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
536 * local-alloc.c (contains_replace_regs, memref_referenced_p):
539 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
540 add_label_notes, replace_call_address, count_nonfixed_reads,
541 invariant_p, find_single_use_in_loop, find_mem_givs,
542 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
545 * print-rtl.c (reg_names, print_rtx): Likewise.
547 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
549 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
550 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
551 print_blocks): Likewise.
553 * regclass.c (fix_register, record_address_regs,
554 reg_scan_mark_refs): Likewise.
556 * regmove.c (stable_but_for_p): Likewise.
558 * reload.c (loc_mentioned_in_p, operands_match_p,
559 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
560 copy_replacements, refers_to_regno_for_reload_p,
561 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
562 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
565 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
566 delete_address_reloads_1, count_occurrences,
567 reload_cse_mem_conflict_p, reload_combine_note_use,
568 add_auto_inc_notes): Likewise.
570 * resource.c (mark_referenced_resources, mark_set_resources):
573 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
574 reg_mentioned_p, regs_set_between_p, modified_between_p,
575 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
576 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
577 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
578 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
580 * sched.c (sched_analyze_2, attach_deaths): Likewise.
582 * stupid.c (stupid_mark_refs): Likewise.
584 * unroll.c (remap_split_bivs): Likewise.
586 * varasm.c (mark_constants): Likewise.
588 * a29k/a29k.c (uses_local_reg_p): Likewise.
590 * alpha/alpha.c (summarize_insn): Likewise.
592 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
593 eliminate_lr2ip): Likewise.
595 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
597 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
598 reg_mentioned_in_mem): Likewise.
600 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
601 symbolic_reference_mentioned_p): Likewise.
603 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
605 * sh/sh.c (regs_used, mark_use): Likewise.
607 * vax/vax.c (vax_rtx_cost): Likewise.
609 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
611 * machmode.h (mode_name): Constify a char*.
613 * rtl.c (mode_name): Likewise.
615 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
617 * optabs.c (init_libfuncs): Constify a char*.
619 * print-tree.c (mode_name): Remove redundant declaration.
620 (print_node): Use accessor macro, not `mode_name'.
622 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
624 (new_spill_reg): Constify a char*.
626 * tree.c (mode_name): Remove redundant declaration.
628 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
630 * rtl.c (rtx_name): Constify a char*.
632 * rtl.h (rtx_name, fix_sched_param): Likewise.
634 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
635 (mypr): Use accessor macro, not `rtx_name'.
637 * genemit.c (print_code): Constify a char*.
639 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
641 * genpeep.c (print_code): Constify a char*.
643 * genrecog.c (print_code): Likewise.
645 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
646 end_bb): Add static prototype.
647 (draw_edge): Constify a char*.
648 (end_bb): Remove unused parameter.
650 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
651 print_block_visualization): Constify a char*.
653 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
655 * c-common.c (c_get_alias_set): Update comment.
657 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
659 * linux.h (LIB_SPEC): Added.
661 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
663 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
665 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
667 * tree.c (expr_check): Fix typo in last change.
669 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
671 * rtl.def (NOTE): Change format to "iuu0n".
672 (ADDR_DIFF_VEC): Change format to "eEee0".
673 (ADDRESSOF): Change format to "eit".
675 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
676 (RTVEC_ELT): Change to match.
677 (XVECEXP): Use XVEC and RTVEC_ELT.
678 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
679 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
680 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
681 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
682 TRAP_CONDITION, TRAP_CODE): Use XEXP.
684 (ADDRESSOF_DECL): Use XTREE.
685 (SET_ADDRESSOF_DECL): Delete.
686 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
687 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
688 ifdefed out since 2.6 at least.
689 (gen_rtvec_vv): Delete prototype.
691 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
693 (copy_most_rtx): Handle 't' format letter.
694 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
695 (gen_rtvec_vv): Delete function. All callers changed to use
697 * print-rtl.c (print_rtx): Move special casing of NOTEs to
698 the '0' format letter.
700 * function.c (gen_mem_addressof): Don't use
701 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
703 * integrate.c (copy_rtx_and_substitute): Likewise.
704 Copy 't' slots with XTREE.
705 (subst_constants): Treat 't' slots like '[swi]' slots.
706 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
707 * jump.c (rtx_equal_for_thread_p): Likewise.
708 * rtlanal.c (rtx_equal_p): Likewise.
709 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
711 * gengenrtl.c (type_from_format): Provide correct types for
715 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
716 If a recent gcc is in use (always in stage2 and beyond), use
717 statement expressions, so we don't make a function call unless
718 the check fails. Evaluate arguments exactly once.
719 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
720 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
722 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
723 they evaluate their arguments exactly once, irrespective of
726 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
727 is used by the currently-enabled check macros. This is:
728 (tree_check_failed, tree_class_check_failed): For gcc.
729 (tree_check, tree_class_check, cst_or_constructor_check,
730 expr_check): For other compilers.
732 * gencheck.c: Do not define any *_CHECK1 macros.
734 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
735 Mark Mitchell <mark@codesourcery.com>
737 * c-common.c (c_get_alias_set): Fix support for poitners and
740 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
742 * alias.c: Include tree.h.
743 (nonlocal_reference_p, mark_constant_function): New functions.
744 * flow.c (life_analysis): Call mark_constant_function.
745 * rtl.h (mark_constant_function): Declare it.
747 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
749 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
750 unrecognisable switches.
752 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
754 * loop.c (recombine_givs): Set ix field after sorting.
755 (recombine_givs): Remove bogus index / giv lockstep looping.
757 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
759 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
761 (emit_store_flag_force): Use do_compare_rtx_and_jump.
762 (do_cmp_and_jump): Formatting fixes.
763 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
764 do_compare_rtx_and_jump instead of compare_from_rtx.
765 (do_compare_rtx_and_jump): New function; mostly copied from
767 (do_jump_for_compare): Delete.
768 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
770 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
771 of compare/do_jump_for_compare pairs.
772 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
773 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
774 compare_from_rtx/do_jump_for_compare pairs.
775 (do_jump_by_parts_equality): Likewise.
776 (do_jump_by_parts_equality_rtx): Likewise.
777 * expr.h (do_compare_rtx_and_jump): Declare.
778 * optabs.c (prepare_cmp_insn): New function, contains most of the code
779 that used to be in emit_cmp_insn.
780 (cmp_available_p): New function.
781 (prepare_operand): New function.
782 (emit_cmp_and_jump_insn_1): New function, contains some code that used
783 to be in emit_cmp_insn.
784 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
785 parameters to be pointers; don't emit final compare but modify some of
786 the values pointed to by the args so the caller can perform the
788 (expand_binop): Call emit_store_flag_force with signed forms of
790 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
792 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
793 emit_cmp_and_jump_insn_1. Call emit_queue.
794 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
796 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
797 jump sets cc0 before deleting it.
798 * integrate.c (expand_inline_function): Likewise.
799 * unroll.c (unroll_loop): Similar changes in several places.
800 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
803 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
805 * Makefile.in (insn-recog.o): Update dependencies.
806 * genrecog.c (main): Make generated file include "function.h".
808 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
810 * cse.c (cse_insn): Call never_reached_warning when a jump is
811 changed to be unconditional.
812 * flags.h: Declare warn_notreached.
813 * flow.c (delete_block): Call never_reached_warning when
815 * jump.c (delete_barrier_successors): Call never_reached_warning
816 when we delete everything after a BARRIER.
817 (never_reached_warning): New function.
818 * rtl.h: Declare never_reached_warning.
819 * toplev.c (warn_notreached): New variable.
820 (lang_independent_options): Set warn_notreached
821 when -Wunreachable-code.
822 (compile_file): We need line numbers for -Wunreachable-code.
824 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
826 * haifa-sched.c (insn_unit): Fix typo on out of range test.
827 * sched.c (insn_unit): Likewise.
829 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
831 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
833 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
835 * flow.c (create_edge_list): Use xmalloc, not malloc.
837 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
839 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
840 C-style comments. Do not lose the character before double slash.
842 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
844 * basic-block.h (struct edge_list): Stucture to maintain a vector
846 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
847 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
848 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
849 New function prototypes.
850 * flow.c (create_edge_list): Function to create an edge list.
851 (free_edge_list): Discards memory used by an edge list.
852 (print_edge_list): Debug output showing an edge list.
853 (verify_edge_list): Internal consistency check for an edge list.
854 (find_edge_index): Function to find an edge index for a pred and succ.
856 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
858 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
861 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
863 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
865 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
867 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
869 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
871 * toplev.c (rest_of_compilation): Allow machine dependent
872 reorganisation pass to place information into the RTL dump
873 file if it so wishes.
875 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
877 * explow.c (hard_function_value): Use VOIDmode instead of
879 * stmt.c (expand_return): Likewise.
880 * stor-layout.c (get_best_mode): Likewise.
882 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
883 emit call instead of emit_insn call.
885 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
887 * configure.in: Handle --disable/enable-win32-registry.
888 * install.texi: Document --disable/enable-win32-registry.
889 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
890 (WIN32_REGISTRY_KEY): New macro.
891 * prefix.c: Use to enable/disable win32-specific code.
892 (lookup_key): Use versioned key.
893 * configure: Regenerate.
894 * config.in: Likewise.
896 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
898 * cpplib.c (read_line_number): New fn, split out of...
901 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
903 tree.c (lang_unsave_expr_now) : New.
904 (unsave_expr_now): Call lang_unsave_expr_now.
905 tree.h (lang_unsave_expr_now) : New.
907 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
909 * toplev.c (flag_new_exceptions): On by default.
911 1999-08-13 Michael Meissner <meissner@cygnus.com>
913 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
915 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
917 * dwarfout.c (fundamental_type_code): Return FT_boolean for
918 INTEGER_TYPE with precision==1, it's __java_boolean.
920 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
922 * global.c (prune_preferences): Move some invariants out of the
925 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
927 * configure.in (alpha*-dec-osf*): Add osf5.
929 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
931 * configure.in: Rework handling of ARM GNU/Linux slightly.
932 (arm*-*-linux-gnuoldld): New target.
933 * configure: Regenerate.
934 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
935 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
936 * config/arm/linux-oldld.h: New file.
937 * config/arm/linux-elf26.h: Don't include linux-elf.h.
938 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
940 * config/arm/linux-elf.h (ASM_SPEC): Define.
941 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
942 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
943 for 26-bit APCS and old linker.
944 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
946 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
947 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
948 don't define `arm' or `arm_elf'.
949 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
950 MULTILIB_DIRNAMES): Define. Fix typo in comment.
952 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
954 * rtl.texi: Fix typo.
956 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
958 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
960 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
962 * extend.texi (C++ Signatures): Remove node.
963 * invoke.texi: Remove discussion of -fhandle-signatures,
964 signature, sigof, __signature__, and __sigof__.
966 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
968 * Makefile.in (JAVAGC): Removed.
970 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
972 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
974 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
976 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
978 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
980 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
981 a register that is already known to be a pointer.
983 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
985 * fixinc/inclhack.tpl: Only install assert.h conditionally.
986 * fixinc/inclhack.sh: Regenerated.
987 * fixinc/fixincl.sh: Regenerated.
989 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
991 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
992 Fix documentation of -ansi flag to describe its C++ behavior.
993 Remove bogus reference to GCC 2.9.
995 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
997 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
998 note if it is non-NULL.
1000 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
1002 * except.h (eh_nesting_info): Add new structure defintion.
1003 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
1004 (reachable_handlers, update_rethrow_references): Add function
1006 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
1007 a rethrow symbol instead of an integer exception region number.
1008 * flow.c (Make_edges): Use new exception nesting routines to determine
1009 which handlers are reachable from a CALL or asynchronous insn.
1010 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
1012 (delete_eh_regions): Update rethrow labels, and don't delete
1013 regions which are the target of a rethrow.
1014 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
1015 avoid overloading the SYMBOL_REF_USED flag.
1016 (rethrow_symbol_map): Use new rethrow_ref field.
1017 (rethrow_used): Use new rethrow_ref field.
1018 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
1019 of an integer. Fix formatting.
1020 (output_exception_table_entry): Use new rethrow_ref field.
1021 (can_throw): Check for EH_REGION_NOTE before deciding
1022 whether a CALL can throw or not.
1023 (scan_region): Call rethrow_used() instead of accessing data structure.
1024 (update_rethrow_references): New function to make sure only regions
1025 which are still targets of a rethrow are flagged as such.
1026 (process_nestinfo): New static function to initialize a handler
1027 list for a specific region.
1028 (init_eh_nesting_info): New function to allocate and initialize
1029 the list of all EH handlers reachable from all regions.
1030 (reachable_handlers): New function to retrieve the list of handlers
1031 reachable from a specific region and insn.
1032 (free_eh_nesting_info): New function to dispose of a list of
1035 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
1037 * flow.c (split_edge): Set JUMP_LABEL field.
1038 (commit_one_edge_insertion): Set head correctly for insert_before.
1039 When inserting insns, update insn block numbers if allocated.
1041 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1043 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
1044 retry_incomplete_types): Add static prototype.
1045 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
1046 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
1047 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
1048 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
1049 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
1052 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
1053 dwarf2out_start_source_file, dwarf2out_line): Likewise.
1055 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1057 * output.h (assemble_name): Constify a char*.
1059 * varasm.c (UNIQUE_SECTION, assemble_start_function,
1060 assemble_variable, assemble_name): Likewise.
1062 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
1064 * arm/pe.c (arm_pe_unique_section): Likewise.
1066 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
1068 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
1070 * i386/interix.c (i386_pe_unique_section): Likewise.
1072 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
1074 * i386/winnt.c (i386_pe_unique_section): Likewise.
1076 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
1078 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
1080 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
1082 * pa/pa.c (output_call): Likewise.
1084 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
1086 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
1088 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
1091 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
1094 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1096 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
1097 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
1099 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
1101 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1103 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
1105 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1107 * tree.h (lang_identify): Constify a char*.
1108 (print_error_function): Add extern prototype. Constify a char*.
1110 * c-lang.c (lang_identify): Constify a char*.
1112 * objc/objc-act.c (lang_identify): Constify a char*.
1114 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1116 * genpeep.c (main): Make generated file include "function.h".
1117 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
1119 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1121 * Makefile.in: Update dependencies.
1122 * alias.c: Include "function.h"
1123 * c-decl.c: Likewise.
1124 * caller-save.c: Likewise.
1125 * calls.c: Likewise.
1126 * combine.c: Likewise.
1128 * explow.c: Likewise.
1129 * final.c: Likewise.
1130 * global.c: Likewise.
1131 * graph.c: Likewise.
1132 * local-alloc.c: Likewise.
1134 * optabs.c: Likewise.
1135 * profile.c: Likewise.
1136 * recog.c: Likewise.
1137 * regclass.c: Likewise.
1138 * regmove.c: Likewise.
1139 * reload.c: Likewise.
1140 * reorg.c: Likewise.
1141 * resource.c: Likewise.
1142 * sched.c: Likewise.
1143 * stupid.c: Likewise.
1144 * config/1750a/1750a.c: Likewise.
1145 * config/a29k/a29k.c: Likewise.
1146 * config/arc/arc.c: Likewise.
1147 * config/arm/arm.c: Likewise.
1148 * config/arm/thumb.c: Likewise.
1149 * config/c4x/c4x.c: Likewise.
1150 * config/clipper/clipper.c: Likewise.
1151 * config/convex/convex.c: Likewise.
1152 * config/fx80/fx80.c: Likewise.
1153 * config/i860/i860.c: Likewise.
1154 * config/m68k/m68k.c: Likewise.
1155 * config/m88k/m88k.c: Likewise.
1156 * config/mips/mips.c: Likewise.
1157 * config/pdp11/pdp11.c: Likewise.
1158 * config/pyr/pyr.c: Likewise.
1159 * config/romp/romp.c: Likewise.
1160 * config/sh/sh.c: Likewise.
1161 * config/tahoe/tahoe.c: Likewise.
1162 * config/vax/vax.c: Likewise.
1163 * config/we32k/we32k.c: Likewise.
1164 * config/sparc/sparc.c: Include "function.h".
1165 (mem_min_alignment): Test current_function rather than
1166 regno_pointer_align.
1167 * config/pa/pa.c: Likewise.
1168 (compute_frame_size): Delete declaration of
1169 current_function_outgoing_args_size.
1170 * config/arc/arc.h (current_function_varargs): Delete declaration.
1171 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
1173 * config/i370/i370.h (current_function_outgoing_args_size): Delete
1175 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
1176 current_function_uses_pic_offset_table.
1177 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
1178 of current_function_returns_pointer.
1179 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1180 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1181 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1182 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1183 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1184 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
1185 * config/m88k/m88k.c: Include "function.h"
1186 (call_used_regs, current_function_pretend_args_size,
1187 current_function_outgoing_args_size, frame_pointer_needed): Delete
1189 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
1191 * config/mips/mips.h (current_function_calls_alloca): Delete
1193 * config/mn10200/mn10200.h (current_function_needs_context,
1194 rtx_equal_function_value_matters): Delete declarations.
1195 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
1196 flag_pic): Delete declarations.
1197 * config/pa/pa.h (current_function_pretend_args_size,
1198 current_function_decl): Delete declarations.
1199 * config/pa/som.h (current_function_varargs): Delete declaration.
1200 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
1202 * config/pyr/pyr.h (current_function_pretend_args_size,
1203 current_function_args_size, current_function_calls_alloca): Delete
1205 * config/sh/sh.h (current_function_varargs): Delete declaration.
1206 * config/sparc/sparc.h (current_function_outgoing_args_size,
1207 current_function_calls_alloca, current_function_decl): Delete
1209 * config/spur/spur.h (current_function_pretend_args_size,
1210 current_function_calls_alloca): Delete declarations.
1211 * config/v850/v850.c (current_function_outgoing_args_size): Delete
1213 * config/vax/vms.h (current_function_name): Delete declaration.
1214 * gcse.c: Include "function.h".
1215 (current_function_name, current_function_calls_setjmp): Delete
1217 * haifa-sched.c: Include "function.h".
1218 (forced_labels): Delete declaration.
1220 * reg-stack.c: Likewise.
1221 * reload1.c: Likewise.
1222 * genemit.c (main): Make generated file include function.h.
1223 * genoutput.c (output_prologue): Likewise.
1225 * builtins.c (saveregs_value, apply_args_value): Delete variables.
1226 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
1227 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
1228 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
1229 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
1230 macros for some of them.
1231 (emit_filename, emit_lineno): Delete declarations.
1232 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
1233 regno_pointer_* variables through current_function.
1234 (gen_inline_header_rtx): Delete function.
1235 (save_emit_status): Delete function.
1236 (set_new_last_label_num): New function.
1237 (clear_emit_caches): New function.
1238 (restore_emit_status): Just clear last_labelnum and call
1240 (get_last_insn_anywhere): Variable sequence_stack is now accessed
1241 through macro seq_stack.
1242 (add_insn_after): Likewise.
1243 (add_insn_before): Likewise.
1244 (remove_insn): Likewise.
1245 (pop_topmost_sequence): Likewise.
1246 (in_sequence_p): Likewise.
1247 (start_sequence_for_rtl_expr): Likewise.
1248 (start_sequence): Likewise, and likewise for
1249 sequence_rtl_expr/seq_rtl_expr.
1250 (push_topmost_sequence): Likewise.
1251 (end_sequence): Likewise.
1252 (init_virtual_regs): Now takes a "struct emit_status *" argument.
1253 All callers changed. Store into that pointer instead of globals.
1254 (init_emit): Allocate emit elt of current_function.
1255 Changes for sequence_rtl_expr/sequence_stack renaming.
1256 Call clear_emit_caches instead of doing it in-line.
1257 Access regno_pointer_* variables through current_function.
1258 (init_emit_once) Don't clear sequence_stack.
1260 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
1262 (arg_pointer_save_area): Delete declaration.
1263 (finish_expr_for_function): Renamed from init_queue; no longer static.
1264 (init_expr): Don't call init_queue.
1265 (save_expr_status, restore_expr_status): Delete functions.
1266 (expand_expr): Changes to reflect new layout of struct function.
1267 Don't access current_function_check_memory_usage when current_function
1269 * expr.h (forced_labels, save_expr_regs, saveregs_value,
1270 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
1271 current_function_outgoing_args_size, current_function_arg_offset_rtx,
1272 current_function_uses_const_pool, function_call_count,
1273 current_function_uses_pic_offset_table, nonlocal_labels,
1274 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
1275 current_function_check_memory_usage, nonlocal_goto_handler_slots,
1276 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
1278 (finish_expr_for_function): Declare.
1279 * flags.h (current_function_has_nonlocal_label,
1280 current_function_has_nonlocal_goto, current_function_is_thunk,
1281 current_function_has_computed_jump): Delete declarations.
1282 * flow.c (forced_labels): Delete declaration.
1283 * function.c (current_function_pops_args,
1284 current_function_returns_struct, current_function_returns_pcc_struct,
1285 current_function_needs_context, current_function_calls_setjmp,
1286 current_function_calls_longjmp, current_function_has_nonlocal_label,
1287 current_function_has_nonlocal_goto, current_function_is_thunk,
1288 current_function_has_computed_jump, current_function_calls_alloca,
1289 current_function_contains_functions, current_function_returns_pointer,
1290 current_function_epilogue_delay_list, current_function_args_size,
1291 current_function_pretend_args_size, current_function_arg_offset_rtx,
1292 current_function_outgoing_args_size, current_function_varargs,
1293 current_function_stdarg, current_function_args_info, cleanup_label,
1294 current_function_name, current_function_uses_const_pool,
1295 current_function_instrument_entry_exit, current_function_return_rtx,
1296 current_function_uses_pic_offset_table, nonlocal_labels,
1297 current_function_internal_arg_pointer, current_function_cannot_inline,
1298 current_function_check_memory_usage, function_call_count,
1299 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
1300 nonlocal_goto_stack_level, return_label, save_expr_regs,
1301 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
1302 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
1303 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
1304 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
1305 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
1307 (push_function_context_to): Don't save them. Don't call
1308 save_storage_status, save_emit_status or save_expr_status.
1309 (pop_function_context_from): Don't restore them. Don't call
1310 restore_storage_status or restore_expr_status.
1311 (get_func_frame_size): New function.
1312 (get_frame_size): Use it.
1313 (assign_outer_stack_local): Reflect some member name changes in struct
1315 (put_reg_into_stack): Likewise.
1316 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
1318 (fixup_var_refs): Likewise.
1319 (fix_lexical_addr): Likewise.
1320 (trampoline_address): Likewise.
1321 (prepare_function_start): Clear field inlinable of current_function.
1322 (init_function_for_compilation): New function.
1323 (expand_dummy_function_end): New function.
1324 (expand_function_end): Call finish_expr_for_function.
1325 * function.h (struct emit_status): New; fields moved here from struct
1326 function and from global variables. Add accessor macros for some of
1328 (struct expr_status): Likewise.
1329 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
1330 (struct function): Add fields expr and emit, inlinable, inl_emit,
1331 original_arg_vector, original_decl_initial, inl_last_parm_insn,
1332 inl_max_label_num. Add many comments.
1333 Add accessor macros for all elts of struct function that no longer
1334 have a global variable.
1335 (cleanup_label, return_label, frame_offset, tail_recursion_label,
1336 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
1337 stack_slot_list): Delete declarations.
1338 (get_func_frame_size): Declare.
1339 (save_expr_status, restore_expr_status, save_emit_status,
1340 save_storage_status, restore_storage_status): Delete declarations.
1341 (init_virtual_regs): Declare.
1342 * output.h (current_function_pops_args,
1343 current_function_returns_struct, current_function_returns_pcc_struct,
1344 current_function_needs_context, current_function_calls_setjmp,
1345 current_function_calls_longjmp, current_function_calls_alloca,
1346 current_function_has_nonlocal_label, current_function_varargs,
1347 current_function_has_computed_jump, current_function_returns_pointer,
1348 current_function_contains_functions, current_function_args_size,
1349 current_function_pretend_args_size, current_function_stdarg,
1350 current_function_outgoing_args_size, current_function_args_info,
1351 current_function_name, current_function_return_rtx,
1352 current_function_epilogue_delay_list,
1353 current_function_uses_const_pool, current_function_cannot_inline):
1354 Delete declarations.
1355 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
1356 regno_reg_rtx): Delete declaration.
1357 (REGNO_POINTER_FLAG): Delete macro.
1358 * stmt.c (expand_goto): Changes to reflect that some fields in struct
1359 function were renamed.
1360 * stor-layout.c (save_storage_status, restore_storage_status): Delete
1362 * toplev.c: Include "function.h".
1363 (current_function_decl): Delete declaration.
1364 (compile_file): Call init_dummy_function_start and
1365 expand_dummy_function_end around some initializations that need to
1367 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
1368 Call init_function_for_compilation.
1369 * unroll.c: Include "function.h"
1370 (unroll_loop): Access regno_pointer_* variables through
1373 * tree.h (struct tree_decl): Add elt f to saved_insns member.
1374 (DECL_SAVED_INSNS): use it.
1375 (expand_dummy_function_end): Declare.
1376 (init_function_for_compilation): Declare.
1377 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
1378 that it's no longer an INLINE_HEADER.
1379 (expand_call): Likewise.
1380 * integrate.c (finish_inline): Delete function.
1381 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
1382 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
1383 args. Don't generate an INLINE_HEADER rtx, just return the arg
1384 vector. All callers changed.
1385 (save_for_inline_copying): Create a duplicate struct emit_status to
1386 hold the emit state for compiling the current function. Use this and
1387 the other new fields in struct function that are for integration
1388 instead of an INLINE_HEADER.
1389 Use memcpy instead of bcopy.
1390 Store the current struct function in DECL_SAVED_INSNS of fndecl.
1391 (save_for_inline_nocopy): Similar changes, except no new emit_status
1393 (expand_inline_function): Get information from function structure,
1394 not from an inline header rtx.
1395 (output_inline_function): Lose code to extract the necessary
1396 information from an inline header; simply put back the function
1397 structure into current_function. Clear its inlinable elt.
1398 * rtl.def (INLINE_HEADER): Delete.
1399 * rtl.h: Delete all accessors for an INLINE_HEADER.
1400 (gen_inline_header_rtx): Delete declaration.
1401 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
1402 Delete declarations.
1403 (REGNO_POINTER_ALIGN): Delete.
1404 (clear_emit_caches): Declare.
1405 (set_new_last_label_num): Declare.
1407 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
1409 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
1411 * except.c (expand_eh_region_start_for_decl): Always start a new block.
1412 * stmt.c (is_eh_region): Make sure current_function is present, too.
1414 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
1416 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
1417 for 64bit PA targets.
1419 * pa.h (SELECT_SECTION): Define.
1420 * som.h (SELECT_SECTION): Delete.
1422 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1424 * alias.c (init_alias_analysis): Wrap call to
1425 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
1427 1999-08-07 Bruce Korb <autogen@linuxbox.com>
1429 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
1430 <sys/asm.h> contains an asm comment with an apostrophe
1431 * fixinc/inclhack.sh: regen
1432 * fixinc/fixincl.x: regen
1434 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
1436 * function.c (init_function_start): Clear prologue & epilogue.
1437 (prologue_epilogue_contains): New function.
1438 * alias.c (init_alias_analysis): Use it.
1439 * rtl.h (prologue_epilogue_contains): Declare it.
1441 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
1443 * jump.c (onlyjump_p): New function.
1444 * rtl.h: Declare it.
1445 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
1446 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
1448 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
1450 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
1451 to invert loops. Simplify block scanning.
1453 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1455 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
1456 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
1458 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
1460 * config/sparc/liteelf.h: New file to support sparclite-elf target
1461 * config/sparc/t-sp86x: New file to support sparc86x targets
1462 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
1463 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
1464 * configure.in: Support above target triplets
1465 * configure: Regenerated
1467 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
1469 * fixinc/server.c (server_setup): Do not prefix function used as
1472 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
1474 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
1475 Remove fp reg alternatives.
1477 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
1479 * Makefile.in (TAROUTOPTS): Kill.
1480 (install-headers-tar): Use "xpf" for tar headerfile extraction
1481 * i370/x-oe (TAROUTOPTS): Delete.
1482 * m68k/x-apollo68 (TAROUTOPTS): Delete.
1483 * m68k/x-hp320 (TAROUTOPTS): Delete.
1484 * m68k/x-hp320g (TAROUTOPTS): Delete.
1485 * gcc.texi: Update bug reporting text.
1487 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1489 * reg-stack.c (change_stack) Fixed problem with negative array index.
1491 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
1493 * extend.texi, install.texi: Fix spelling mistakes.
1495 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
1496 (s-attrtab); No longer try to use pre-made insn-attrtab file.
1497 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
1499 * mips/t-ecoff: Likewise.
1500 * mips/t-elf: Likewise.
1501 * mips/t-mips: Likewise.
1502 * mips/t-osfrose: Likewise.
1503 * mips/t-r3900: Likewise.
1504 * mips/t-svr3: Likewise.
1505 * mips/t-svr4: Likewise.
1506 * mips/t-ultrix: Likewise.
1508 * gcc.texi: Document recommend means to provide software floating
1509 point libraries in libgcc.a
1511 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
1513 * c-lex.c (yylex): We can have a number with no digits.
1515 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
1517 * jump.c (delete_prior_computation): New function, broken
1518 out of delete_computation. Check for side effects with
1519 side_effects_p instead of FIND_REG_INC_NOTE. Handle
1520 multi-word hard registers.
1521 (delete_computation): Use it. Check for side effects with
1522 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
1523 missing REG_DEAD note for a register which is both set and
1526 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
1528 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
1529 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
1530 (ASM_FILE_START): Import _mcount with the right type.
1531 (ASM_DECLARE_FUNCTION_NAME): Define.
1532 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
1533 * pa.c (output_function_prologue): Always emit the function's label
1535 * pa.h (TEXT_SPACE_P): Define.
1536 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
1537 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
1538 * som.h (TEXT_SPACE_P): Delete.
1539 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
1540 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
1542 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
1544 * expr.c (emit_group_load): Allow src to be a CONCAT.
1546 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1548 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
1549 (___mulsi3): Use '!' comment character.
1551 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1553 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
1555 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
1557 * gcc.c: Update URLs and mail addresses.
1558 * gcc.texi: Likewise.
1560 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
1562 * rs6000.c (current_file_function_operand): Return zero for
1564 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
1566 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
1569 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
1571 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
1572 allocate space in the stack frame for the PIC register.
1574 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
1576 * m68k.md (xordi3, anddi3): These patterns are not available on
1579 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
1581 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
1582 (PUT_REAL): Likewise.
1584 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1586 * final.c (shorten_branches): Don't add an alignment for loops
1587 that have no label inside.
1589 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1591 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
1592 prototypes in macro HAVE_cmpstrsi.
1594 * cpplib.c (cpp_get_token): Remove unused label `op3'.
1596 * emit-rtl.c (operand_subword): Remove unused variable
1599 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
1601 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
1603 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
1605 * cpphash.c (macroexpand): Delete leading whitespace when arg
1606 is concatenated before.
1607 (unsafe_chars): Correct test for whether + and - can extend a
1610 * cppinit.c (cpp_start_read): Do dependencies for
1611 -include/-imacros files also.
1613 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
1614 tokenizing non-directive lines.
1615 (cpp_expand_to_buffer): Temporarily disable no-output mode.
1616 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
1619 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
1621 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
1623 * c-lex.c: Sync with C++ frontend.
1624 (linemode): New variable.
1625 (parse_float): imag, conversion_errno, and type are output only.
1626 (yylex): Adjust. Move initial '.' case into main switch.
1628 (handle_generic_pragma): Just deal with tokens.
1629 (readescape): Use ISXDIGIT and ISGRAPH.
1630 * c-parse.in: Add END_OF_LINE token.
1632 * c-lex.c (lang_init): Generalize.
1633 (nextchar): Remove. Replace uses with UNGETC.
1634 (skip_white_space): Handle linemode here. Optimize for cpplib.
1635 (skip_white_space_on_line): Remove.
1636 (extend_token_buffer_to): New fn.
1637 (extend_token_buffer): Use it.
1638 (read_line_number, check_newline): Just deal with tokens.
1639 (token_getch, token_put_back): New fns.
1640 (yylex): Use them. More cpplib optimizations. Simplify.
1642 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
1643 Jason Merrill <jason@yorick.cygnus.com>
1645 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
1646 (consume_string): Make this smart about USE_CPPLIB.
1647 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
1648 (yylex): Rewrite to be intelligent about USE_CPPLIB.
1649 Also, clean up cases where we redundantly set token_buffer[0].
1650 (read_line_number): New fn.
1651 (ignore_escape_flag): New variable.
1653 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
1655 * a29k/t-a29kbare: Fix some comments.
1656 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
1657 (FPBIT, DPBIT): Define.
1658 * a29k/t-vx29k: Likewise.
1659 * arc/t-arc: Likewise.
1660 * arm/t-arm-elf: Likewise.
1661 * arm/t-bare: Likewise.
1662 * arm/t-pe: Likewise.
1663 * arm/t-pe-thumb: Likewise.
1664 * arm/t-semi: Likewise.
1665 * arm/t-thumb: Likewise.
1666 * arm/t-thumb-elf: Likewise.
1667 * arm/t-thumb-linux: Likewise.
1668 * h8300/t-h8300: Likewise.
1669 * i960/t-i960: Likewise.
1670 * i960/t-vxworks960: Likewise.
1671 * m32r/t-m32r: Likewise.
1672 * mips/t-ecoff: Likewise.
1673 * mips/t-elf: Likewise.
1674 * mips/t-r3900: Likewise.
1675 * pa/t-pro: Likewise.
1676 * rs6000/t-aix43: Likewise.
1677 * rs6000/t-beos: Likewise.
1678 * rs6000/t-newas: Likewise.
1679 * rs6000/t-ppccomm: Likewise.
1680 * rs6000/t-rs6000: Likewise.
1681 * rs6000/t-winnt: Likewise.
1682 * rs6000/t-xnewas: Likewise.
1683 * rs6000/t-xrs6000: Likewise.
1684 * sh/t-sh: Likewise.
1685 * sparc/t-elf: Likewise.
1686 * sparc/t-sparcbare: Likewise.
1687 * sparc/t-sparclite: Likewise.
1688 * sparc/t-splet: Likewise.
1689 * v850/t-v850: Likewise.
1690 * mn10200/t-mn10200: Fix comments.
1691 * mn10300/t-mn10300: Likewise.
1693 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
1694 dummy operand. Allocate a new pseudo for the dummy operand.
1695 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
1697 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
1699 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
1701 * configure: Rebuilt.
1702 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
1704 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
1706 * recog.c (preproces_constraints): Zero recog_op_alt before
1707 processing the constraints.
1709 * arm.c (typedef minipool_node): Renamed from pool_node.
1710 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
1711 (add_minipool_constant): New function.
1712 (dump_minipool): New function.
1713 (find_barrier): Remove special case for getting the insn size of
1714 an insn that references the constant pool.
1715 (minipool_fixup): New structure.
1716 (push_minipool_barrier): New function.
1717 (push_minipool_fix): New function.
1718 (note_invalid_constants): New function.
1719 (add_pool_constant, dump_table, fixit, broken_move): Delete.
1720 (arm_reorg): Rewrite code to fix up the constant pool into a
1721 series of mini-pools embedded in the insn stream.
1722 (arm_output_epilogue): New function, made mainly from the body
1723 of output_func_epilogue.
1724 (output_func_epilogue): Move insn generation part of epilogue code
1725 to arm_output_epilogue.
1726 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
1727 * arm.md (pool_range): New attribute.
1728 (zero_extendqidi2): Add attribute pool_range.
1729 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
1730 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
1731 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
1732 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
1733 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
1734 (epilogue): New expand.
1735 (epilogue_insn): New insn. Call arm_output_epilogue.
1737 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
1738 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
1740 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
1742 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
1744 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
1746 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
1748 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
1750 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
1752 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
1754 * global.c: Fix comment.
1756 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
1758 * gcc.c (access_check): New static function.
1759 (find_a_file): Use it when searching a directory list.
1760 * collect2.c (find_a_file): Don't accept directories found when
1761 searching a directory list.
1763 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
1765 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
1766 function parameters with `&'.
1767 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
1769 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
1771 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
1772 or tidy_fallthru_edge if the last insn in the block is not
1773 an unconditional jump or a simple conditional jump.
1775 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1777 * Makefile.in (c-decl.o): Depends on defaults.h.
1779 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
1781 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
1783 (CLASS_MAX_NREGS): Likewise.
1785 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
1787 * cse.c (cse_insn): Fix dumb thinko in last change.
1789 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1791 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
1794 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
1796 * dwarf2out.c (add_location_or_const_value_attribute): Correct
1797 test for sizes of passed and declared parameter types.
1799 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1801 * fixincludes: Fix the return type of bsearch, char* -> void*.
1803 * fixinc/inclhack.def: Likewise.
1805 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
1807 * invoke.texi (-fdump-translation-unit): New option.
1809 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
1811 * expr.h (PROMOTE_PROTOTYPES): Move ...
1812 * defaults.h: ... to here.
1813 * c-decl.c: Include defaults.h instead of expr.h.
1814 * c-typeck.c: Include defaults.h.
1816 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
1818 * toplev.h (errorcount): Declare.
1819 (warningcount): Likewise.
1820 (sorrycount): Likewise.
1821 * c-lex.c (errorcount): Don't declare.
1822 * dwarf2out.c (errorcount): Don't declare.
1824 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
1826 * config/libgloss.h: Add a note discouraging use with ELF.
1827 * configure.in: Don't use libgloss.h for ELF targets.
1828 Always use_collect2 on a.out targets.
1830 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
1832 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
1833 (force_to_mode, case ASHIFTRT): Add shiftrt label.
1835 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1837 * loop.c (strength_reduce): When doing biv->giv conversion, update
1838 reg note of NEXT->insn.
1840 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1842 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
1844 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1846 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
1847 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
1848 Ensure expr.h is included.
1849 * c-typecheck.c (convert_arguments): Ditto.
1851 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
1853 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
1854 * config/convex/convex.h: Ditto.
1855 * config/dsp16xx/dsp16xx.h: Ditto.
1856 * config/fx80/fx80.h: Ditto.
1857 * config/gmicro/gmicro.h: Ditto.
1858 * config/i370/i370.h: Ditto.
1859 * config/i386/i386.h: Ditto.
1860 * config/m32r/m32r.h: Ditto.
1861 * config/m68k/m68k.h: Ditto.
1862 * config/m88k/m88k.h: Ditto.
1863 * config/mips/mips.h: Ditto.
1864 * config/pa/pa.h: Ditto.
1865 * config/pyr/pyr.h: Ditto.
1866 * config/tahoe/tahoe.h: Ditto.
1867 * config/we32k/we32k.h: Ditto.
1869 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
1872 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
1874 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
1877 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
1879 1999-08-02 Richard Henderson <rth@cygnus.com>
1881 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
1882 for the register spill block.
1884 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
1885 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
1887 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
1888 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
1889 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
1891 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1893 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
1894 MAX_WCHAR_TYPE defined in sparc.h.
1895 * config/sparc/linuxaout.h: Likewise.
1896 * config/sparc/linux64.h: Likewise.
1897 Also default to -mvis if CPU is UltraSPARC.
1899 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1901 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
1902 (RTX_OK_FOR_OLO10): Likewise.
1903 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
1904 %lo(), allow it in addresses...
1905 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
1906 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
1907 does not make sense.
1908 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
1909 (sparc_output_scratch_registers): New function.
1910 (output_function_prologue, sparc_flat_output_function_prologue): Use
1912 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
1914 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
1915 * configure.in: Add check for .register pseudo-op support in as and
1916 check for offsetable %lo().
1917 * acconfig.h: Add templates for the above checks.
1918 * configure: Regenerate.
1920 1999-08-02 Richard Henderson <rth@cygnus.com>
1922 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
1923 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
1924 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
1926 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1928 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
1931 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1933 * config/float-sparc.h: New file.
1934 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
1935 sparc-*-linux-gnu and sparc64-*-linux*.
1937 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1939 * rs6000.c (rs6000_va_list): Type is an array.
1940 (rs6000_va_start): Don't doubly adjust for varargs.
1941 (rs6000_va_arg): Evaluate long long GPR adjustment.
1943 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
1945 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
1946 -maix64 and -maix32.
1947 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
1948 LINK_SPEC): Change appropriately.
1949 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
1950 (u_short_cint_operand): Likewise.
1951 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
1953 * rs6000/t-aix43 (MULTILIB): Change to -m64.
1955 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
1957 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
1959 * rs6000/rs6000.c (num_insns_constant_wide): Correct
1961 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
1962 (non_add_cint_operand): Likewise.
1963 (logical_operand): Likewise.
1964 (non_logical_cint_operand): Likewise.
1965 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
1966 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
1967 (rs6000_select_rtx_section): Suppress warning.
1968 (small_data_operand): Suppress warning.
1969 (rs6000_got_register): Suppress warning.
1970 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
1971 type, so `J' is generally the wrong constraint for a SImode value;
1973 (andsi3_internal2): Likewise.
1974 (andsi3_internal3): Likewise.
1975 (iorsi3_internal1): Likewise.
1976 (xorsi3_internal1): Likewise.
1978 (movsf_softfloat): Likewise.
1979 (scc insns): Likewise.
1980 (movsi+2): Preserve sign bits of SImode constant.
1981 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
1982 (movdf+1): Sign-extend properly.
1983 (movdi_32+1): Sign-extend properly.
1984 (scc insns): Sign-extend properly.
1986 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
1989 1999-08-02 Richard Henderson <rth@cygnus.com>
1991 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
1993 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
1994 * alpha.md (all fp insns): Likewise.
1996 1999-08-02 Nick Clifton <nickc@cygnus.com>
1998 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
2001 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
2003 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
2004 pic_load_label generator directly.
2005 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
2006 No longer a named pattern.
2008 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
2010 * explow.c (force_reg): Call force_operand if X does not
2011 satisfy general_operand.
2013 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
2015 * fix-header.c (main): When testing for CONTINUED, use string
2016 equality, not pointer equality.
2018 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
2020 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
2022 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
2024 * cse.c (cse_insn): Fix loop which deletes insns after a jump
2025 that has become an unconditional jump.
2027 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
2028 (output_function_epilogue): Similarly.
2030 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2032 * tree.h (init_dummy_function_start): Declare.
2034 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2036 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
2037 last_expr_type, last_expr_value, block_start_count, block_stack,
2038 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
2039 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
2040 dynamically in stmt elt of struct function for each function.
2041 (struct nesting): Rename function_call_count elt to n_function_calls,
2042 target_temp_slot_level to block_target_temp_slot_level. All users
2044 (struct stmt_status): New structure definition.
2045 Add many accessor macros for stmt_status elements which previously
2046 were global variables.
2047 (init_stmt_for_function): Allocate stmt elt for current_function.
2048 Reflect that block_start_count was renamed to
2049 current_block_start_count.
2050 (save_stmt_status, restore_stmt_status): Delete functions.
2051 (preserve_subexpressions_p): Don't access loop_stack when outside
2053 (expand_start_bindings): Reflect that block_start_count was renamed to
2054 current_block_start_count.
2055 (expand_fixup): Likewise.
2056 (expand_decl): Don't access block_stack when outside a function.
2057 (expand_decl_cleanup): Likewise.
2058 (expand_dcc_cleanup): Likewise.
2059 (expand_dhc_cleanup): Likewise.
2060 (expand_anon_union_decl): Likewise.
2061 (set_file_and_line_for_stmt): New function.
2062 (in_control_zone_p): New function.
2064 * function.h (struct function): Add new elt stmt.
2065 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
2066 case_stack, nesting_stack, nesting_depth, block_start_count,
2067 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
2068 emit_lineno, goto_fixup_chain.
2069 (save_eh_status, restore_eh_status, save_stmt_status,
2070 restore_stmt_status): Delete declarations.
2071 * function.c (push_function_context_to): Don't call save_stmt_status.
2072 (pop_function_context_to): Don't call restore_stmt_status.
2073 * tree.h (in_control_zone_p): Declare.
2074 * rtl.h (set_file_and_line_for_stmt): Declare.
2076 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
2077 call set_file_and_line_for_stmt.
2079 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
2081 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
2082 Also update copyright.
2084 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2086 * c-pragma.c: Don't include "except.h".
2087 * emit-rtl.c: Likewise.
2088 * stor-layout.c: Likewise.
2090 * varasm.c: Likewise.
2092 * flow.c: Include "function.h".
2093 * tree.h (init_dummy_function_start): Declare new function.
2095 * except.h (struct eh_status): New structure.
2096 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
2098 (eh_return_stub_label, ehstack, catchstack, ehqueue,
2099 catch_clauses, false_label_stack, caught_return_label_stack,
2100 protect_list, current_function_ehc): Add accessor macros for the
2101 corresponding fields in current_function->eh; delete declarations
2102 for all items that used to be declared here.
2103 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
2104 catch_clauses, false_label_stack, caught_return_label_stack,
2105 protect_list, current_function_ehc): Delete variables.
2106 (init_eh_for_function): Allocate current_function->eh.
2107 (save_eh_status, restore_eh_status): Delete functions.
2109 * function.h (struct function): Add fields next_global and eh.
2110 Delete all exception handling related fields.
2111 * function.c (current_function): New variable.
2112 (all_functions): New variable.
2113 (push_function_context_to): Don't allocate a struct function,
2114 use current_function instead. Call init_dummy_function_start when
2115 outside a function. Clear current_function before returning.
2116 (pop_function_context_from): Restore current_function.
2117 Don't free the restored struct function.
2118 (prepare_function_start): New function.
2119 (init_dummy_function_start): New function.
2120 (init_function_start): Break out some code into prepare_function_start
2123 * stmt.c (save_stmt_status): Don't call save_eh_status.
2124 (restore_stmt_status): Don't call restore_eh_status.
2126 * Makefile.in: Update dependencies.
2128 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
2130 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
2131 of depending on a magic constant value. Update comments.
2132 (hppa_expand_prologue): Similarly.
2134 * pa.md (reload_indi, reload_outdi): Allow any register for the
2135 original reload register.
2137 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
2139 * cccp.c (print_help): Change marcos to macros.
2141 1999-07-30 Richard Henderson <rth@cygnus.com>
2143 * c-typeck.c (initializer_constant_valid_p): Move ...
2144 * c-common.c (initializer_constant_valid_p): ... here. Use
2145 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
2147 * c-common.h (initializer_constant_valid_p): Declare.
2148 * c-tree.h (initializer_constant_valid_p): Remove.
2150 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
2152 * config/i386/sol2-c1.asm: Align the stack.
2153 * config/i386/sol2-gc1.asm: Likewise.
2155 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
2157 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
2158 -Asparclite for sparc86x.
2159 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
2161 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
2163 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
2165 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
2166 the user if using the non-default arch size in BI_ARCH configuration.
2167 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
2169 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
2170 Fix patterns so that they actually match.
2171 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
2172 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
2173 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
2175 (mulsidi3): Reflect this in the expand.
2176 (smulsi3_highpart): Only on TARGET_ARCH32.
2177 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
2178 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
2179 (umulsidi3): Reflect this in the expand.
2180 (umulsi3_highpart): Only on TARGET_ARCH32.
2181 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
2182 don't require g0 to be zero.
2183 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
2184 ({,u}divsi3): New expands.
2185 ({,u}divsi3_sp64): New patterns.
2186 (after lshrdi3_v8plus): Four new patterns to help combiner
2187 optimizing nested mixed mode shifts.
2189 * config/sparc/sparc.c (sparc_override_options): Use deprecated
2190 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
2191 speed things up. Don't use them by default on plain v9 in 64bit
2192 mode, according to what SPAMv9 sais.
2194 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
2195 top 32 bits of %[og][0-7] in signal handlers.
2196 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
2198 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
2200 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
2201 (ashlsi3): Corresponding changes.
2203 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
2205 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
2207 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
2209 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2211 * arm.h (Hint): Delete macro.
2212 Substitute HOST_WIDE_INT for Hint in some prototypes.
2213 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
2215 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
2217 * builtins.c (expand_builtin_setjmp): Use force_operand to
2218 make sure that the buffer address is in a suitable form to be
2219 passed to force_reg.
2221 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
2223 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
2226 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
2228 * pa.md (indirect_jump): Remove mode from match_operand. Verify
2229 proper mode in the condition string.
2230 (icacheflush, dcacheflush): Remove modes from match_operands.
2232 * pa.c (emit_move_sequence): Always convert scratch_reg to the
2233 proper mode before using it.
2235 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
2238 * pa.c (store_reg): Do not call add_high_const generator directly.
2239 (load_reg, set_reg_plus_d): Likewise.
2240 * pa.md (add_high_const): No longer a named pattern.
2242 * pa.c (legitimize_address): Consistently use Pmode rather than
2243 SImode. Do not call gen_pic2_highpart directly anymore.
2244 * pa.md (pic2_highpart): No longer a named pattern.
2245 (pic2_lo_sum): Similarly. Reformat to make more readable.
2247 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
2252 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2254 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
2256 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
2258 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
2259 and tag the spill mems.
2260 (hppa_va_start): New.
2262 * pa.h (EXPAND_BUILTIN_VA_START): New.
2263 (EXPAND_BUILTIN_VA_ARG): New.
2265 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
2267 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
2268 and tag the spill mems.
2269 (mn10300_va_start): New.
2270 (mn10300_va_arg): New.
2271 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
2272 (EXPAND_BUILTIN_VA_ARG): New.
2274 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
2276 * mn10200.c (mn10200_va_arg): New.
2277 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
2279 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
2281 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
2282 rather than play with TREE_INT_CST_LOW.
2284 1999-07-27 Philip Blundell <pb@nexus.co.uk>
2286 * config/arm/telf.h: Include dbxelf.h.
2287 (CPP_PREDEFINES): Only define if not already defined.
2288 (ASM_IDENTIFY_GCC): Likewise.
2289 (SUBTARGET_EXTRA_SECTIONS): Likewise.
2290 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
2291 * config/arm/thumb.h (LINK_SPEC): Only define if not already
2293 (DBX_DEBUGGING_INFO): Don't define.
2294 * config/arm/linux-telf.h: New file.
2295 * config/arm/linux-tgas.h: New file.
2296 * config/arm/t-thumb-linux: New file.
2297 * config/arm/uclinux-elf.h: New file.
2298 * config/arm/uclinux-telf.h: New file.
2299 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
2300 thumb-*-uclinux): New targets.
2301 * configure: Regenerate.
2303 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
2305 * pa.md (post_store, pre_load): New expanders.
2306 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
2307 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
2308 need to directly generate RTL for them.
2309 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
2312 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
2314 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
2315 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
2316 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
2317 (secndary_reload_class): Make TARGET_ELF conditional compile.
2318 (print_operand_address): Similar.
2319 (output_toc): Print all values as hex.
2320 (get_issue_rate): Rearrange and add RS64A and PPC630.
2321 * rs6000.h (processor_type): Add RS64A and PPC630.
2322 (PROCESSOR_POWERPC64): New.
2323 (PROMOTE_MODE): Use word_mode.
2324 (RTX_COSTS): Add RS64A and PPC630.
2325 * rs6000.md (scheduling information): Add lmul and ldiv
2326 representing 64-bit integer multiply and divide. Add rs64a and
2328 (ashldi3): Add support for "rldic" instruction.
2329 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
2331 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
2333 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
2334 instead of V8 for sparclite86x in cpu_table.
2336 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2338 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
2339 output_file_directive.
2341 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
2343 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
2344 tree for op1, not the rtl.
2346 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
2348 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
2349 to m88k_va_start, leaving only the register spill.
2350 (m88k_build_va_list): New.
2351 (m88k_va_start): New.
2353 * m88k.h (BUILD_VA_LIST_TYPE): New.
2354 (EXPAND_BUILTIN_VA_START): New.
2355 (EXPAND_BUILTIN_VA_ARG): New.
2357 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
2359 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
2360 Rename from expand_builtin_saveregs.
2361 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
2363 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
2365 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
2366 for the register spill block.
2367 (i960_build_va_list): New.
2368 (i960_va_start): New.
2370 * i960.h (BUILD_VA_LIST_TYPE): New.
2371 (EXPAND_BUILTIN_VA_START): New.
2372 (EXPAND_BUILTIN_VA_ARG): New.
2373 * i960.md (store_multiple): Use change_address on individul mems.
2375 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
2377 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
2379 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
2380 (expand_builtin_va_end): Evaluate arg for side effects.
2381 * c-common.c (c_common_nodes_and_builtins): Construct a
2382 va_list_arg_type_node to handle array decomposition to pointer.
2384 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
2386 * except.c (start_dynamic_cleanup): Use force_operand on the
2389 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
2391 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
2392 * c4x.c (c4x_va_arg): New.
2394 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
2396 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
2399 1999-07-26 Nathan Sidwell <nathan@acm.org>
2401 * eh-common.h (__eh_matcher): Prototype correctly.
2403 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
2405 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
2406 (TARGET_SINGLE_PIC_BASE): Likewise.
2407 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
2409 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
2410 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
2411 (TARGET_OPTIONS): Add -mpic-register=N.
2412 (OUTPUT_INT_ADDR_CONST): New macro.
2413 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
2414 LEGITIMATE_PIC_OPERAND_P): Likewise.
2415 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
2416 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
2417 output_addr_const directly.
2418 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
2420 (thumb_pic_register, thumb_pic_register_string): Declare.
2422 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
2424 (label_mentioned_p): New function: Imported from arm.c.
2425 (legitimize_pic_address): New function: Imported from arm.c.
2426 (is_pic):New function: Imported from arm.c.
2427 (thumb_finalize_pic):New function: Imported from arm.c.
2428 (add_constant): Cope with PIC constants.
2429 (fixit): Cope with PIC constants.
2430 (output_return): Do not treat the PIC register as live if
2431 TARGET_SINGLE_PIC_BASE is true.
2432 (thumb_function_prologue): Do not treat the PIC register as live if
2433 TARGET_SINGLE_PIC_BASE is true.
2434 (thumb_expand_prologue): Do not treat the PIC register as live if
2435 TARGET_SINGLE_PIC_BASE is true.
2436 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
2437 TARGET_SINGLE_PIC_BASE is true.
2438 (thumb_print_operand): Accept '|'.
2439 (thumb_override_options): Process PIC options.
2441 * config/arm/thumb.md (movsi): Support PIC.
2442 (call_insn): Change "i" constraint to "X".
2443 (call_value_insn): Likewise.
2444 (consttable_4, consttable_8, consttable_end): Set and clear
2445 "making_const_table" as appropriate.
2446 (pic_load_addr, pic_add_dot_plus_four): New insns.
2448 * invoke.texi (Thumb Options): Fix spelling. Document new
2449 options -msingle-pic-base and -mpic-register=.
2451 1999-07-26 Andrew Haley <aph@cygnus.com>
2453 * config/m32r/initfini.c (__init): Use a full word immediate for
2454 __fini: this allows it to be placed in any memory region.
2456 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
2457 -mmodel=medium. This is OK for all memory models.
2459 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
2461 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
2462 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
2464 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
2466 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
2469 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
2471 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
2473 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
2474 (BUILD_VA_LIST_TYPE): New.
2475 (EXPAND_BUILTIN_VA_START): New.
2476 (EXPAND_BUILTIN_VA_ARG): New.
2477 * i860.c (output_delayed_branch): Disable.
2478 (output_delay_insn): Likewise.
2479 (i860_saveregs): New.
2480 (i860_build_va_list): New.
2481 (i860_va_start): New.
2483 * i860.md: Disable all peepholes using output_delayed_branch.
2484 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
2486 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
2488 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
2489 (BUILD_VA_LIST_TYPE): New.
2490 (EXPAND_BUILTIN_VA_START): New.
2491 (EXPAND_BUILTIN_VA_ARG): New.
2492 * clipper.c (clipper_builtin_saveregs): Only dump registers.
2493 Return the address of the save area.
2494 (clipper_build_va_list): New.
2495 (clipper_va_start): New.
2496 (clipper_va_arg): New.
2498 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
2500 * arc.h (EXPAND_BUILTIN_VA_START): New.
2501 (EXPAND_BUILTIN_VA_ARG): New.
2502 * arc.c (arc_setup_incoming_varargs): Set alias set of
2504 (arc_va_start): New.
2507 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
2509 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
2510 (BUILD_VA_LIST_TYPE): New.
2511 (EXPAND_BUILTIN_VA_START): New.
2512 (EXPAND_BUILTIN_VA_ARG): New.
2513 * alpha.c (alpha_builtin_saveregs): Delete.
2514 (alpha_build_va_list): New.
2515 (alpha_va_start): New.
2516 (alpha_va_arg): New.
2518 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
2520 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
2522 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
2523 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
2525 * gcc.texi: More changes related to list conversion.
2526 * invoke.texi: Likewise.
2528 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
2530 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
2531 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
2532 (expand_builtin_next_arg): Accept ARGLIST not EXP.
2533 (stabilize_va_list): New function.
2534 (std_expand_builtin_va_start): New function.
2535 (expand_builtin_va_start): New function.
2536 (get_varargs_alias_set): New function.
2537 (std_expand_builtin_va_arg): New function.
2538 (expand_builtin_va_arg): New function.
2539 (expand_builtin_va_end): New function.
2540 (expand_builtin_va_copy): New function.
2541 (expand_builtin): Call them.
2542 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
2543 __builtin_{varargs_start,stdarg_start,end,copy}.
2544 (build_va_arg): New function.
2545 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
2546 (build_va_arg): Declare.
2547 * c-decl.c (ptr_type_node, va_list_type_node): New.
2548 * c-parse.gperf (__builtin_va_arg): New.
2549 * c-parse.in (VA_ARG): New token.
2550 (unary_expr): Recognize it.
2551 * expr.c (expand_expr): Expand VA_ARG_EXPR.
2552 * expr.h (std_expand_builtin_va_start): Declare.
2553 (std_expand_builtin_va_arg): Declare.
2554 (expand_builtin_va_arg): Declare.
2555 (get_varargs_alias_set): Declare.
2556 * tree.def (VA_ARG_EXPR): New.
2557 * tree.h (BUILT_IN_VARARGS_START): New.
2558 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
2559 (ptr_type_node, va_list_type_node): Declare.
2560 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
2561 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
2562 * m88k.h, m88k.c: Likewise.
2563 * mn10300.h, mn10300.c: Likewise.
2564 * pa.h, pa.c: Likewise.
2565 * rs6000.h, rs6000.c: Likewise.
2566 * sh.h, sh.c: Likewise.
2567 * sparc.h, sparc.c: Likewise.
2569 * emit-rtl.c (operand_subword): Copy alias set.
2570 (change_address): Likewise.
2572 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
2574 * pa.c (compute_frame_size): Scan all the used callee saved registers,
2575 not just the first one.
2577 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
2579 * config/arm/arm.h (TARGET_SWITCHES): Add
2580 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
2581 (TARGET_OPTIONS): Add -mpic-register=.
2582 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
2583 (arm_pic_register_string): Declare.
2584 (NEED_PLT_GOT): Delete, replace with ...
2585 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
2586 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
2587 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
2588 * config/arm/arm.c (arm_override_options): Add new option
2590 (arm_pic_register_string): New variable.
2591 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
2592 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
2593 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
2594 (output_return_instruction): Likewise.
2595 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
2596 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
2597 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
2599 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
2600 mention of -msched-prolog. Document new options -msingle-pic-base
2601 and -mpic-register=.
2603 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
2605 * haifa-sched.c (reemit_notes): Tidy.
2606 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
2609 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
2611 * explow.c (trunc_int_for_mode): New function.
2612 (plus_constant_wide): Use it.
2613 * combine.c (simplify_and_const_int): Likewise.
2614 (merge_outer_ops): Likewise.
2615 (simplify_shift_const): Likewise.
2616 * cse.c (simplify_unary_operation): Likewise.
2617 (simplify_binary_operation): Likewise.
2618 * emit-rtl.c (operand_subword): Likewise.
2619 * rtl.h: Declare it.
2621 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2623 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
2624 (use NUM_REGS instead of NUM_INTS).
2626 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2628 * builtins.c: New file.
2629 * expr.c (saveregs_value, apply_args_value): Delete definition,
2630 moved into builtins.c.
2631 (string_constant): No longer static.
2632 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
2633 apply_args_size, apply_result_size, result_vector,
2634 expand_builtin_apply_args, expand_builtin_apply,
2635 expand_builtin_return): Delete functions, moved into builtins.c.
2636 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
2637 * expr.h (saveregs_value, apply_args_value): Declare variables.
2638 (expand_builtin, string_constant): Declare functions.
2639 * Makefile.in: Update to build builtin.o.
2641 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
2643 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
2644 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
2645 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
2646 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
2648 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
2651 1999-07-21 Michael Meissner <meissner@cygnus.com>
2653 * print-rtl.c (print_rtx): Print the names of the virtual
2656 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
2658 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
2659 introduced in previous delta.
2661 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2663 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
2664 to avoid name clash.
2666 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
2668 * c-lex.c (yylex) : Correct the test for overflow when lexing
2671 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
2673 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
2674 (adjust_priority): Always call ADJUST_PRIORITY.
2675 (schedule_insn): Only put insns into the ready at cost 0.
2676 (schedule_block): Remove redundant initial sort. Give clock_var
2677 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
2679 * tm.texi (MD_SCHED_REORDER): Update docs.
2681 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
2682 * sparc.c (ultra_reorder_called_this_block): Delete.
2683 (ultrasparc_sched_init): Don't set it.
2684 (ultrasparc_sched_reorder): Don't check it.
2686 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
2688 * rs6000.h (struct rs6000_args): Add sysv_gregno.
2689 * rs6000.c (init_cumulative_args): Init sysv_gregno.
2690 (function_arg_boundary): Align DFmode.
2691 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
2692 to get fp reg and stack overflow correct.
2693 (function_arg): Likewise.
2694 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
2695 (setup_incoming_varargs): Restructure for ABI_V4; use
2696 function_arg_advance to skip final named argument.
2697 (expand_builtin_saveregs): Properly unskip the last integer arg
2698 when doing varargs. Adjust overflow location calculation.
2700 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
2701 explicitly unsigned.
2702 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
2703 (__VA_GP_REGSAVE): Similarly.
2704 (__va_longlong_p): Delete.
2705 (__va_arg_type_violation): New declaration.
2706 (va_arg): Restructure. Flag promotion errors. Align double.
2707 TFmode passed by reference.
2709 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
2710 in the HOST_BITS_PER_WIDE_INT > 32 case.
2712 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
2714 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
2716 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
2718 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
2719 * toplev.c (documented_lang_options): Add -fpreprocessed.
2720 * cpplib.h (struct cpp_buffer): Add preprocessed.
2721 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
2722 (cpp_start_read): Don't expand macros or emit an initial #line
2723 directive if -fpreprocessed.
2725 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
2727 * cpplib.h (struct cpp_buffer): Added manual_pop for
2728 better C++ tokenization.
2729 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
2730 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
2731 * c-common.c (cpp_token): Make non-static.
2733 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2735 * c-common.h: New file.
2736 * c-common.c (permanent_obstack): Delete unused declaration.
2737 (c_global_trees): New array.
2738 (c_common_nodes_and_builtins): New function; split off common code
2739 from init_decl_processing in both c-decl.c and cp/decl.c.
2740 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
2741 c_global_trees and accessor macros defined in c-common.h.
2743 * c-decl.c: Delete definitions for tree nodes that were replaced by
2745 (init_decl_processing): Build void_list_node.
2746 Call c_common_nodes_and_builtins; delete code to generate the common
2748 * objc/objc-act.c (build_module_descriptor): Rename variable
2749 void_list_node to avoid clash with c-common.h.
2751 * Makefile.in: Update dependencies.
2752 * objc/Make-lang.in: Likewise.
2754 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
2756 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
2757 (UNIQUE_SECTION_P): Likewise.
2758 (UNIQUE_SECTION): Likewise.
2760 1999-07-19 Linas Vepstas <linas@linas.org>
2762 * config/i370/README: New file.
2763 * config/i370/linux.h: New file.
2764 * config/i370/mvs.h: New file.
2765 * config/i370/oe.h: New file.
2766 * config/i370/t-linux: New file.
2767 * config/i370/t-mvs: New file.
2768 * config/i370/t-oe: New file.
2769 * config/i370/x-oe: New file.
2770 * config/i370/xm-linux.h: New file.
2771 * config/i370/xm-mvs.h: New file.
2772 * config/i370/xm-oe.h: New file.
2774 * i370.c (label_node_t): Add first_ref_page, label_addr,
2775 label_first_ref, label_last_ref members.
2776 (mvs_need_base_reload): Renamed from mvs_label_emitted.
2777 (MAX_MVS_LABEL_SIZE): Define.
2778 (MAX_LONG_LABEL_SIZE): Define.
2779 (alias_node_t, alias_anchor, alias_number): New.
2780 (mvs_function_table): Reorder for EBCDIC.
2781 (ascebc, ebcasc): Unconditionally define.
2782 (i370_branch_dest, i370_branch_length): New functions.
2783 (i370_short_branch, i370_label_scan): New functions.
2784 (mvs_get_label): Renamed from mvs_add_label. Search for
2785 an existing label before creating a new one.
2786 (mvs_add_label): New function.
2787 (mvs_get_label_page): New function.
2788 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
2789 over the entire list.
2790 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
2791 (mvs_check_page) [TARGET_ELF_ABI]: New function.
2792 (mvs_add_alias, mvs_need_alias): New functions.
2793 (mvs_get_alias, mvs_check_alias): New functions.
2794 (handle_pragma): New function.
2795 (mvs_function_check): New function.
2796 (unsigned_jump_follows_p): Search harder.
2797 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
2798 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
2799 * i370.h (TARGET_VERSION): Delete.
2800 (CPP_SPEC, CPP_PREDEFINES): Delete.
2801 (mvs_label_emitted): Delete.
2802 (TARGET_EBCDIC): Delete.
2803 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
2804 (HANDLE_PRAGMA): Define.
2805 (HARD_REGNO_NREGS): Handle complex modes.
2806 (HARD_REGNO_MODE_OK): Likewise.
2807 (CLASS_MAX_NREGS): Likewise.
2808 (RET_REG): Likewise.
2809 (EXTRA_CONSTRAINT): Define.
2810 (RETURN_IN_MEMORY): True for DImode.
2811 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
2812 (FUNCTION_PROFILER): Delete.
2813 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
2814 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
2815 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
2816 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
2817 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
2818 (ASM_FILE_START): Add "RMODE ANY".
2819 (ASM_OUTPUT_EXTERNAL): Check for aliases.
2820 (ASM_GLOBALIZE_LABEL): Likewise.
2821 (ASM_OUTPUT_LABELREF): Likewise.
2822 (ASM_OUTPUT_COMMON): Likewise.
2823 (PRINT_OPERAND): Handle 'K', 'W', default.
2824 (PRINT_OPERAND_ADDRESS): New.
2825 (Lots of defines): Add support for TARGET_ELF_ABI.
2826 * i370.md (attr length): New. Define for all patterns.
2827 (*): Lots of tweeks to assembly output and constraints.
2829 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
2831 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
2832 Disable patterns performing SImode comparisons with SImode values
2833 if TARGET_POWERPC64 and instruction does not sign-extend or does
2834 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
2835 differ for signed quantities.
2836 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
2837 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
2838 (decrement_and_branch_on_count): Add 64-bit variant.
2840 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2842 * final.c (output_asm_insn): When searching for the matching string
2843 for a given dialect, don't run past the end of the list of
2844 alternatives if there are fewer alternatives in the template than
2847 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
2849 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
2850 Removed paragraph about compression of files and size limitation,
2851 duplicated in the FAQ. Use gcc-patches for posting patches.
2852 * gcc.c (main): Updated URL with bug reporting instructions to
2853 gcc.gnu.org. Removed e-mail address.
2854 * system.h (abort): Likewise.
2856 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2858 * Makefile.in (stmp-multilib-sub): Make the files extracted
2859 from $(LIBGCC1) writable.
2861 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
2863 * config/arm/aout.h: Reformat for improved readability.
2865 * config/arm/arm.h: Reformat for improved readability.
2866 Replace uses of fprintf with asm_fprintf where appropriate.
2867 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
2868 function declaration assembler actions.
2869 (NUM_INTS): New macro: Convert from bytes to words.
2870 (NUM_REGS): New macro: Compute number of registers required to
2871 hold a quanitity of tyep MODE.
2872 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
2874 (NUM_ARG_REGS): New macro: The number of argument registers
2876 (ARG_REGISTER): New macro: Compute the register number of the Nth
2878 (LAST_ARG_REGNUM): New macro: The number of the last argument
2880 (SP_REGNUM): New macro: Register number of the stack pointer.
2881 (FP_REGNUM): New macro: Register number of the frame pointer.
2882 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
2883 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
2884 CUMULATIVE_ARGS so that it counts registers not bytes.
2886 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
2888 Replace uses of fprintf with asm_fprintf where appropriate.
2889 (output_ascii_pseudo_op): Replace with version from thumb.c
2891 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
2893 * config/arm/elf.h (CPP_PREDEFINES): Replace with
2895 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
2896 (ASM_FILE_START): Emit ASM_APP_OFF.
2898 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
2900 * pa.c (compute_frame_size): Round frame according to
2901 STACK_BOUNDARY rather than a hardwired value.
2903 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
2905 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
2907 * configure: Rebuilt.
2909 * configure.in (hppa*-*-linux*): New configuration.
2910 * configure: Rebuilt.
2911 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
2912 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
2913 * pa/pa-linux.h: New file.
2914 * pa/t-linux: New file.
2915 * pa/xm-linux.h: New file.
2917 * pa.c (hppa_legitimize_address): Change references from SImode to
2918 either Pmode or word_mode as appropriate.
2919 (emit_move_sequence, store_reg, load_reg): Likewise.
2920 (set_reg_plus_d, hppa_expand_prologue): Likewise.
2921 (output_mul_insn): Likewise.
2922 * pa.h (PROMOTE_MODE): Likewise.
2923 (INITIALZE_TRAMPOLINE): Likewise.
2924 (Pmode): Define to word_mode.
2926 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
2927 value of 4. Allocate 8 bytes for each FP register save.
2928 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
2930 (hppa_expand_prologue): Likewise.
2931 * pa.h (PROMOTE_MODE): Likewise.
2932 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
2933 (FUNCTION_ARG_BOUNDARY): Likewise.
2935 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
2937 * pa.c (out_of_line_prologue_epilogue): Delete.
2938 (override_options): Remove -mspace related code.
2939 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
2940 (compute_frame_size): Only allocate space for register that
2941 actually need to be saved.
2942 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
2943 (TARGET_SWITCHES): Remove -mspace, -mno-space
2944 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
2945 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
2946 * pa/ee.asm, pa/ee_fp.asm: Delete.
2948 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
2950 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
2951 directive in column zero.
2953 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
2955 * m68k.c (output_function_prologue): Fix computation of save mask
2956 when generating PIC code.
2958 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
2960 * tree.c (build_type_attribute_variant): Move current_obstack restore
2961 after build_qualified_type call.
2963 1999-07-15 Mark Mitchell <mark@codesourcery.com>
2965 * configure.in: Use t-iris6, even with GNU LD.
2966 * config/mips/iris6gld.h: Fix typo in linker spec.
2967 * config/mips/t-iris6gld: Remove.
2969 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
2971 * rs6000.md (insv, extzv): Remove SImode dependence in named
2972 patterns. Explicitly generate DImode RTL if PowerPC64 and
2974 (insvdi): Reverse start and size in instruction template.
2976 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
2978 * invoke.texi: Typo fixes.
2980 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
2982 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
2983 handle at this time instead of silently generating incorrect code.
2984 (gen_imagpart): Likewise.
2986 * reload.c (find_reloads): Emit a USE for a pseudo register without
2987 a hard register if we could not create an optional reload for the
2990 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2992 * c-typeck.c (output_init_element, process_init_element):
2993 When advancing constructor_unfilled_fields for a RECORD_TYPE,
2994 check for nameless bit fields.
2996 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
2998 * regclass.c (scan_one_insn): Notice subregs that change the
2999 size of their operand.
3000 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
3002 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
3004 * configure.in (alpha*-*-*): Include alpha/t-ieee.
3005 * configure: Rebuilt.
3006 * alpha/t-ieee: New file.
3008 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
3010 * rs6000.c (find_addr_reg): Do not select r0 as an address
3013 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
3015 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
3017 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
3019 * rs6000.md (movsf): Do not force easy FP constants into memory.
3021 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
3022 immed_double_const to ensure they are properly truncated then
3025 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
3027 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
3028 always unless NO_DEBUG is used. Compile this code
3030 (replace_symbols_in_block): Compile it unconditionally.
3032 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
3034 * configure.in (i?86-*-elf*): New target.
3035 * configure: Rebuilt.
3036 * i386/i386elf.h, i386/t-i386elf: New files.
3038 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
3040 * toplev.c (main): Don't complain about saying -gdwarf.
3041 (rest_of_compilation): Remove redundant code.
3043 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
3045 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
3047 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
3049 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
3050 "Li960R:", to avoid name clash.
3052 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3054 * loop.c (check_dbra_loop): When reversing a loop, delete all
3055 REG_EQUAL notes referencing the reversed biv except those which are
3056 for a giv based on it.
3058 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
3060 * version.c: Drop "gcc-" prefix from version #.
3062 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
3064 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
3065 the label if we're being verbose.
3067 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
3069 * m68k.c (output_function_prologue): Add pic register to mask
3070 if live and flag_pic.
3071 (output_function_epilogue): Likewise.
3073 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
3075 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
3076 directives in column zero.
3078 * pa/elf.h (ASM_FILE_START): Define.
3079 * pa/som.h (ASM_FILE_START): Include .level directives.
3080 * pa/hpux10.h (ASM_FILE_START): Delete.
3081 * pa/hpux11.h (ASM_FILE_START): Delete.
3083 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
3085 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3087 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
3088 when reload_out equals reload_in.
3090 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
3092 * invoke.texi (Spec Files): New node: Describe the contents of
3095 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
3097 * invoke.texi (DEC Alpha Options): Put @end table at
3098 beginning of line, to avoid confusing texi2html.
3100 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
3102 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
3103 introduced in previous delta.
3105 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3107 * reload1.c (gen_reload): When synthesizing a 3 operand add
3108 sequence, improve test for when to reload OP1 into the reload
3109 register instead of OP0.
3111 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
3113 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
3115 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
3117 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
3120 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
3122 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
3123 (va_dcl): Use __builtin_va_alist_t.
3125 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
3127 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
3128 on the permanent_obstack.
3129 * dwarfout.c (output_type): Likewise.
3131 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
3133 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
3134 Merged from c-typeck.c and cp/typeck.c.
3135 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
3136 Merged into c-common.
3138 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
3140 * c-lex.c (errorcount): Declare it.
3141 (finish_parse): Update errorcount when using CPPLIB.
3143 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
3145 * fixinc/inclhack.def(end_else_label): Double the backslash so
3146 sed gets a chance to see it.
3147 * fixinc/inclhack.sh: regen
3148 * fixinc/fixincl.x: regen
3150 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
3152 Add framework to support armv5 architecture when it becomes
3155 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
3156 (arm_arch5): New variable.
3157 (all_architectures): Add armv5 line.
3158 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
3159 -march=armv5 is specified on the command line.
3160 (arm_arch5): Export this variable.
3161 * invoke.texi: Document new string accepted by -march= switch for
3164 * config/arm/arm.h: Replace use of constant 12 as a register
3165 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
3166 * config/arm/arm.c: Replace use of constant 12 as a register
3167 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
3169 * config/arm/elf.h: Tidy up.
3170 * config/arm/coff.h: Tidy up.
3172 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
3174 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
3175 * gcc/config/mips/t-iris6gld: New file.
3176 * gcc/config/mips/iris6gld.h: Likewise.
3178 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
3180 * c-decl.c (widest_integer_literal_type_node,
3181 widest_unsigned_literal_type) : New.
3182 (init_decl_processing): Handle/use the two new types.
3183 * c-common.c (type_for_size,type_for_mode) : Same.
3184 * c-lex.c (yylex) : Same.
3185 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
3187 * c-tree.h (widest_integer_literal_type_node,
3188 widest_unsigned_literal_type) : New.
3190 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
3192 * dwarfout.c (field_byte_offset): Correctly compute the object's
3193 byte offset for the first bit of a field which crosses an alignment
3194 boundary on a !BYTES_BIG_ENDIAN target.
3196 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
3198 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
3201 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
3202 Jeff Law <law@cygnus.com>
3204 * ginclude/varargs.h (va_dcl): Use word_mode for type of
3207 * except.c: Include intl.h.
3208 (expand_eh_return): Set current_function_cannot_inline.
3209 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
3210 * function.h (struct function): Add eh_return_stub_label.
3211 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
3212 * Makefile.in (except.o): Depend on intl.h.
3214 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
3216 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
3217 same as offsettable in cases 1 and 2.
3219 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
3221 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
3222 (extlh, extwh): Likewise.
3224 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
3226 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
3228 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
3230 * configure.in: Add arm-pe and thumb-pe targets.
3231 * configure: Regenerate.
3233 * thumb.c (arm_naked_function_p): New function: Determines if
3234 a function is naked (has no gcc generated prologue/epilogue).
3235 (is_called_in_ARM_mode): Return true if the func has the
3236 interfacearm attribute.
3237 (output_return): Do not generate a return for naked functions.
3238 (thumb_function_prologue): Do not generate a prologue for
3240 (thumb_expand_prologue): Do not generate a prologue for naked
3242 (thumb_expand_epilogue): Do not generate an epilogue for naked
3244 (arm_valid_machine_decl_attribute): New function, copied from
3245 arm.c: Permit naked and interfacearm attributes.
3247 * config/arm/pe.c: New file: Support code for arm-pe target.
3248 * config/arm/pe.h: New file: Header file for arm-pe target.
3249 * config/arm/tpe.h: New file: Header file for thumb-pe target.
3250 * config/arm/t-thumb-pe: New file: Makefile fragment for
3253 1999-07-01 Mark Kettenis <kettenis@gnu.org>
3255 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
3256 -fPIC or -fpic is specified.
3258 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
3260 * expr.c (emit_block_move): Use copy_to_mode_reg for
3261 !TARGET_MEM_FUNCTIONS case too.
3263 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
3265 * configure: Rebuilt.
3266 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
3267 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
3268 definitions made redundant by dbxelf.h inclusion. Delete
3269 lots of definitions related to assembly output that are
3270 specific to the SOM object format.
3271 * pa.c (output_function_prologue): Do not emit the function's
3273 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
3274 * pa-pro.h: Deleted.
3275 * som.h: New file with SOM specific definitions.
3276 * elf.h: New file with ELF specific definitions.
3278 * elfos.h (const_section): Output a tab before assembler directives.
3279 (ctors_section, dtors_section): Likewise.
3280 (ASM_OUTPUT_SECTION_NAME): Likewise.
3282 * pa/pa1.h: Delete unused file.
3284 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
3286 * configure.in (hppa*-hp-hpux11*): New configuration.
3287 * configure: Rebuilt.
3288 * pa/pa-hpux11.h: New file.
3289 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
3292 * mips.md (leasi, leadi): New patterns.
3294 * expr.c (emit_block_move): Properly handle case where one of the
3295 block move arguments has a queued increment or decrement.
3296 (clear_storage): Similarly. Fix formatting goof.
3298 1999-06-28 "David O'Brien" <obrien@NUXI.com>
3300 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
3301 semicolon from the BSD VA_LIST replacement expression.
3303 * fixinc/inclhack.sh: regen
3304 * fixinc/fixincl.x: regen
3306 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
3307 now use the fixincl program.
3309 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
3311 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
3312 case. Also make the PIC register call_used.
3314 * m68k.h (FINALIZE_PIC): Delete.
3315 * m68k.c (finalize_pic): Delete.
3317 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
3319 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
3322 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
3324 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
3326 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
3328 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
3330 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
3332 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
3334 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
3336 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
3338 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
3340 * rs6000.c (output_toc): Always use hex values for floating-point
3341 constants. Store single-precision values in upper-half of TOC
3342 entry in 64-bit mode.
3343 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
3344 to final constraints.
3345 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
3346 (fctiwz): Improve accuracy of RTL for pattern.
3348 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
3350 * expr.c (expand_expr): Allow RTL_EXPR's through the
3351 MAX_INTEGER_COMPUTATION_MODE checks.
3353 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
3355 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
3356 such that MASK_SUPPORT_ARCH is not negative.
3358 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
3360 * loop.c (verify_dominator): Properly handle ADDR_VEC and
3361 ADDR_DIFF_VEC insns that appear inside loops.
3363 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
3364 Jeff Law <law@cygnus.com>
3366 * rs6000.md (movdf_hardfloat32): Revert previous patch.
3367 Handle LO_SUM the same as offsettable in cases 1 and 2.
3368 * rs6000.c (find_addr_reg): Revert previous patch.
3370 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
3372 * system.h (strstr): New external function declaration.
3373 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
3374 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
3375 * config.in, configure: Rebuilt.
3377 1999-06-24 Tom Tromey <tromey@cygnus.com>
3379 * gcc.c (main): Read user-specified specs files after computing
3380 additional startfile_prefixes.
3382 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
3384 Revert these two patches:
3386 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3387 * loop.c (strength_reduce): When doing biv->giv conversion, update
3388 reg note of NEXT->insn.
3390 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3391 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
3393 (recombine_givs): Set ix field after sorting.
3395 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3397 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
3398 for the parts of an UNSPEC / UNSPEC_VOLATILE.
3400 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
3402 *fixinc/inclhack.def: Add fix development commentary
3403 (read_ret_type): reactivate and add selection clause
3404 (zzz_*): tweak output file name to match what is used in hackshell.tpl
3405 *fixinc/{fixincl.x|inclhack.sh}: regen
3407 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
3409 * expr.c (expand_expr): STRIP_NOPS before checking against
3410 MAX_INTEGER_COMPUTATION_MODE
3411 (check_max_integer_computation_mode): Likewise.
3413 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
3415 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
3417 1999-06-22 Jim Wilson <wilson@cygnus.com>
3419 * expr.c (store_expr): When target is a promoted subreg, return a
3420 promoted subreg as a result.
3422 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
3424 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
3426 (dwarf2out_define): Mark unused parameters appropriately.
3427 (gen_unspecified_parameters_die): Ditto.
3428 (gen_subprogram_die): Fix signed/unsigned warnings.
3429 (gen_variable_die): Ditto.
3431 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
3433 * fixinc/inclhack.def(end_else_label): combined else_label
3434 and endif_label and fixed the sed expression.
3435 *fixinc/{fixincl.x|inclhack.sh}: regen
3437 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
3439 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
3440 'x' when handling non-offsettable addresses
3442 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
3444 * final.c (shorten_branches): Don't try to split an insn that has
3447 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
3449 * config/mips/mips.c (symbolic_expression_p): New function.
3450 (mips_select_rtx_section): Put symbolic expressions in the
3451 data section, not the read-only data section.
3453 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
3455 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
3457 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
3459 * collect2.c (main): Log frame table count.
3460 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
3461 (scan_prog_file) [COFF]: Handle frame tables.
3463 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
3464 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
3465 * alpha/elf.h: Undef them again.
3466 * alpha/vms.h: Remove their definitions.
3468 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3470 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
3471 remove the clobber of r0 and change the REG_UNUSED note to
3474 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
3476 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
3477 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
3478 fits in HOST_WIDE_INT and one uses union to access a long constant
3481 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
3483 * sparc.c (sparc_override_options): Don't allow profiling for
3484 code models other than medlow.
3485 (sparc_function_profiler): New function from old FUNCTION_PROFILER
3486 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
3487 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
3488 (sparc_block_profiler): Likewise.
3489 (sparc_function_block_profiler_exit): Likewise.
3490 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
3491 (FUNCTION_BLOCK_PROFILER): Likewise.
3492 (BLOCK_PROFILER): Likewise.
3493 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
3494 (MCOUNT_FUNCTION): New.
3495 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
3496 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
3497 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
3498 (MCOUNT_FUNCTION): New.
3499 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
3500 (BLOCK_PROFILER): Delete.
3501 (MCOUNT_FUNCTION): New.
3503 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
3505 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
3507 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
3509 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3512 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3515 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3518 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3521 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
3523 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
3526 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
3528 * i386/djgpp.h (LIB_SPEC): New.
3529 (STARTFILE_SPEC): New.
3531 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
3533 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
3535 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
3538 * system.h (WSTOPSIG): New macro.
3540 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
3542 * c-pragma.c (push_alignment): Don't ignore alignments greater than
3544 (insert_pack_attributes): Take into account member natural
3547 * i386/winnt.c (exports_head): New static variable.
3548 (i386_pe_record_exported_symbol): New function.
3549 (i386_pe_asm_file_end): Use.
3550 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
3551 symbols to be emitted at end of assembly.
3552 (ASM_DECLARE_OBJECT_NAME): Likewise.
3553 (ASM_DECLARE_FUNCTION_NAME): Likewise.
3555 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
3558 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
3560 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
3563 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
3565 * haifa-sched.c (sched_analyze_1): Use free_list instead of
3566 zapping reg_last_uses directly.
3567 (sched_analyze_2, sched_analyze_insn): Likewise.
3568 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
3570 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
3572 * rs6000.md (movdf_hardfloat32): Use worst case insn length
3573 attributes for cases 1 and 2.
3575 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
3577 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
3580 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
3582 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
3584 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
3586 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
3587 PIC_OFFSET_TABLE_REGNUM for general alloaction.
3588 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
3589 must be stacked if it is used for PIC accesses.
3590 * arm.c (use_return_insn): Handle PIC register specially.
3591 (output_return_instruction): Likewise.
3592 (output_func_{prologue,epilogue}): Likewise.
3593 (output_expand_prologue): Likewise.
3595 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
3596 (*strsi_predec): Renamed from *strqi_predec.
3597 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
3598 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
3600 * arm.c (arm_override_options): Remove warning about PIC code
3601 not being supported.
3603 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
3605 * rs6000.c (find_addr_reg): New function.
3606 * rs6000.h (find_addr_reg): Declare.
3607 (offsettable_addr_operand): Delete.
3608 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
3609 from and stores to GPRs.
3611 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
3613 * alpha.c (alpha_expand_block_move): Use get_insns rather than
3614 gen_sequence as argument to emit_no_conflict_block.
3616 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3618 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
3619 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
3620 *fixinc/fixincl.x: regen
3621 *fixinc/inclhack.sh: regen
3623 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
3625 * added support for -mpcrel (PC relative addressing for m68k)
3626 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
3627 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
3628 * m68k.c (print_operand_address): Handle 32-bit PIC case.
3629 (comments for general_src_operand): Add some explanation
3630 about EXTRA_CONSTRAINTS.
3631 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
3632 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
3633 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
3634 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
3635 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
3636 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
3637 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
3639 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
3640 * m68k.h (TARGET_PCREL): New target flag.
3641 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
3642 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
3643 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
3644 contains a SYMBOL_REF. Relax this constraint during reload, since
3645 we want to use the predicates, not reload's built-in concept of a
3646 valid memory address, to control what insns need reloading.
3647 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
3648 operands (essentially 'g', 'm', and 's' under normal circumstances).
3649 * m68k.c (print_operand): Cause printing of pc-relative addresses
3650 to include pc register.
3651 (print_operand_address): Ditto.
3652 (general_src_operand): Accept operands that are not only
3653 general_operands, but are also valid when used as a pc-relative
3655 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
3656 (memory_src_operand): Similar, for memory_operands.
3657 (pcrel_address): New predicate to accept the special case of a
3658 pc-relative address.
3659 * m68k.md (many patterns): Rewrite common SImode, HImode, and
3660 QImode insns to accept *_src_operand instead of *_operand where
3661 pc-relative operands can fit. For example, a pc-relative operand
3662 can be used as a memory source operand for addsi3, but not as a
3664 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
3666 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
3668 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
3669 .thumb_set pseudo op to mark aliases of thumb functions.
3671 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
3673 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
3674 preference to ASM_OUTPUT_DEF, if it is defined.
3676 * tm.texi: Document new, optional target macro
3677 ASM_OUTPUT_DEF_FROM_DECLS.
3679 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3681 * fixincludes: ISCNTL patch
3682 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
3683 (dgux_int_varargs): new for DG/UX
3684 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
3686 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
3688 * invoke.texi (ia32 options): Fix typo.
3690 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3692 * loop.c (strength_reduce): When doing biv->giv conversion, update
3693 reg note of NEXT->insn.
3695 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
3697 * loop.c (move_movables): Note issues with replacing REGs with
3699 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
3701 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
3703 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
3705 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
3706 the reference to `mcount' was not correct for the ELF on FreeBSD.
3708 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3710 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
3713 (recombine_givs): Set ix field after sorting.
3715 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
3717 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
3718 to safe to extract a subword out of a REG.
3720 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3722 * sh.md (mulsi3): Don't add a no-op move at the end.
3724 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3726 * cse.c (cse_insn): Don't put hard register source into tables for
3727 the last insn of a libcall.
3729 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3731 * loop.c (strength_reduce): Insert sets of derived givs at every
3732 biv increment, even if it's the only one.
3734 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
3736 * dwarfout.c (add_incomplete_type): New fn.
3737 (output_type): Call it.
3738 (retry_incomplete_types): New fn.
3739 (dwarfout_finish): Call it.
3741 From Eric Raskin <ehr@listworks.com>:
3742 (output_type): Output types for bases.
3744 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
3746 * mips.c (mips_output_conditional_branch): Add `break'
3747 between `default' label and `close braces'.
3749 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
3751 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
3752 specifications and make it realistic.
3753 (LIB_SPEC): Likewise.
3755 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
3757 * config/mips/mips.c (mips_secondary_reload_class): Check for
3758 (PLUS (SP) (REG)) and return appropriate register class.
3759 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
3760 Handle (PLUS (SP) (REG)).
3761 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
3762 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
3763 of emit_insn for tablejump.
3765 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
3767 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
3768 asm_fprintf format string by itself.
3769 (output_function_profiler): Likewise.
3771 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
3773 * combine.c (simplify_logical, case AND): Only call
3774 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
3775 or the constant is positive.
3777 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
3779 * configure.in: Fix typo in rs6000-ibm-aix4 case.
3780 * configure: Regenerate.
3782 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
3784 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
3785 require a sub-version #.
3786 * configure: Rebuilt.
3788 1999-06-14 Robert Lipe (robertlipe@usa.net)
3790 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
3792 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
3794 * c-typeck.c (process_init_element): Detect excess elements in
3795 char array initializer.
3797 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3799 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
3801 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3803 * invoke.texi (Option Summary): Add -fpermissive flag.
3805 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
3807 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
3808 that require PIC code sequences.
3810 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
3812 * configure.in: Add new target: thumb-elf.
3813 * configure: Regenerate.
3814 * config/arm/t-thumb-elf: New file: Makefile fragment for
3816 * config/arm/telf.h: New file: Header file for thumb-elf
3819 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
3821 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
3822 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
3823 initializers is some circumstances.
3825 * fixinc/inclhack.def (endif_label): Add additional selector for
3826 more bogus stuff after #endif statements.
3827 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
3829 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
3831 * i386/cygwin.h (SET_ASM_OP): Define.
3833 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
3835 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
3837 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3839 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
3842 * sh.md (ic_invalidate_line_i): Remove second alternative.
3844 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3846 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
3847 test for the presence of valid prototypes. Delete bypass expr.
3848 (ioctl_fix_ctrl): Correct the selection expression.
3849 (no_double_slash): Correct quoting rules
3850 *fixinc/fixincl.x: regen
3851 *fixinc/inclhack.sh: regen
3853 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
3855 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
3857 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3859 * rs6000.md (movsi_got_internal_mem): Delete.
3860 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
3861 (GOT_TOC_REGNUM): Delete.
3862 (PIC_OFFSET_TABLE_REGNUM): Define.
3863 (FINALIZE_PIC): Disable.
3864 * rs6000.c (rs6000_got_register): New code for fixed pic register.
3865 (rs6000_replace_regno): Delete.
3866 (rs6000_finalize_pic): Likewise.
3867 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
3869 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3871 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
3872 is a note; use <= for the compare; advance P while it is
3875 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
3877 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
3878 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
3880 * varasm.c (remove_from_pending_weak_list): Verify t->name
3881 is non-NULL before passing it to strcmp.
3883 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3885 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
3886 the typed arguments are not part of a comment
3887 (ioctl_fix_ctrl): Added a purpose comment
3888 *fixinc/fixincl.x: regenerate
3889 *fixinc/inclhack.sh: regenerate
3891 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3893 * invoke.texi: Add C4x invocation docs.
3895 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3897 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
3899 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
3901 (c4x_legitimize_reload_address): New function.
3902 * config/c4x/c4x.md: Update docs.
3904 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
3906 * fixincludes: Avoid removing '.'.
3907 * fixinc/fixinc.svr4: Likewise.
3908 * fixinc/fixinc.winnt: Likewise.
3909 * fixinc/inclhack.tpl: Likewise.
3910 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
3912 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3914 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
3916 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
3918 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
3920 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
3923 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
3925 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
3926 * configure: Regenerate.
3928 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
3930 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
3933 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
3935 * fixinc/inclhack.def (avoid_bool): Also catch
3936 "typedef [unsigned] int bool".
3937 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
3939 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
3940 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
3941 * configure: Rebuilt.
3943 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
3945 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
3946 such that we can override its definitions if necessary.
3947 (CPP_SPEC): New define. Support processor specific predefines via
3949 (CC1_SPEC): New define. Support processor specific compiler
3950 options via %(cc1_cpu).
3951 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
3954 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3956 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
3957 between sed's -e flag, and the open-quote following it.
3958 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
3960 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
3961 Jeffrey A Law (law@cygnus.com)
3963 * varasm.c (assemble_start_function): Remove the function
3964 from the pending weak decls list when we define a function.
3965 (assemble_variable): Similarly for variables.
3966 (weak_finish): Ignore items on the list with a NULL name.
3967 (remove_from_ending_weak_list); New function to "remove" an item
3968 from the pending weak declarations list.
3970 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3972 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
3974 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
3976 * c-lex.c (GETC): Redefine to call getch.
3977 (UNGETC): Redefine to call put_back.
3978 (putback_buffer): New structure type.
3979 (putback): New static structure.
3980 (getch): New function.
3981 (put_back): New function.
3982 (yylex): Replace unused bytes from bad multibyte character.
3984 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
3986 * cpplib.c (do_define): Cast `alloca' return value.
3987 (do_include, do_undef, do_pragma): Likewise.
3988 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
3990 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
3991 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
3993 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
3995 * sparc.md (abstf2): This should be an expand.
3996 (split after abstf2_notv9): Fix mode.
3997 (abstf2_hq_v9): New pattern.
3998 (abstf2_v9): Only use when no hard quad.
3999 (absdf2_v9): Fix if target is not the same as source.
4000 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
4001 Add correct output constraints.
4003 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
4005 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
4006 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
4008 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
4010 * mips.h (mips_output_conditional_branch): New function.
4011 (mips_adjust_insn_length): Likewise.
4012 (ASSEMBLER_SCRATCH_REGNUM): New macro.
4013 (ADJUST_INSN_LENGTH): Likewise.
4014 * mips.c (print_operand): Add `F' and `W' for floating-point
4016 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
4018 (mips_adjust_insn_length): New function.
4019 (mips_output_conditional_branch): New function.
4020 * mips.md (length): Adjust attribute definition to handle
4021 conditional branches. Change lengths to bytes, rather than
4022 instructions throughout. Remove length attribute from
4023 instructions whose length is four bytes, and rely on the default
4025 (dslot): Fix typo in comment.
4026 Reword conditional branch patterns to use
4027 mips_output_conditional_branch.
4029 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4031 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
4032 (LIB_SPEC): Likewise.
4033 Link with -lprof1_r for -g/-pg.
4035 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4037 * loop.c (check_dbra_loop): Fix change of Jan 19.
4039 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
4041 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
4042 (STARTFILE_SPEC): Define, override the svr4.h version.
4043 (ENDFILE_SPEC): Likewise.
4045 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
4047 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
4048 * fixinc/fixincl.x: Regenerated.
4049 * fixinc/inclhack.sh: Regenerated.
4051 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4053 * sh.c (barrier_align): Don't return early for normal branch/barrier
4054 when optimizing for SH2.
4056 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
4058 * i386/udk.h (LINK_SPEC): Correct linker search path for
4061 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4063 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
4064 (braf_label_ref_operand): Delete.
4065 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
4066 * sh.md (casesi_jump_2): Operand1 is now the inside of a
4067 label_ref, and has no predicate.
4068 The patten has a predicate to guard against invalid substitutions.
4069 (dummy_jump): Delete.
4070 (casesi): Update use of casesi_jump_2.
4072 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4074 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
4075 *fixinc/fixincl.x: regenerate
4076 *fixinc/inclhack.sh: regenerate
4078 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
4080 * dwarf2out.c (add_incomplete_type): New fn.
4081 (gen_struct_or_union_type_die): Call it.
4082 (retry_incomplete_types): New fn.
4083 (dwarf2out_finish): Call it.
4085 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
4087 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
4088 current block starts with a CODE_LABEL and ends with a CALL and
4089 we can not find all the argument setup instructions for the CALL.
4091 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
4094 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
4095 something is a candidate for optimize_bit_field_compare.
4097 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4099 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
4101 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
4103 * alpha.c (override_options): Thinko in last patch.
4105 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
4106 (LIB_SPEC): Recognize -pthread.
4108 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
4110 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
4111 definition in config/arm/coff.h
4112 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
4114 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4116 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
4117 fixes that need "file=xxx\n" prepended before invocation
4118 (start_fixer - new): starting the fixer process is complex enough
4119 to warrent its own routine. It prepends the "file=xxx\n" stuff.
4120 (process): uses the new routine; omit usage of putenv()
4121 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
4122 * fixinc/fixincl.x: regenerate
4124 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
4126 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
4127 and version #s (1.1 -> 2.96) as needed.
4128 * README.g77: Kill way out of date file in the toplevel directory.
4130 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
4132 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
4133 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
4134 * configure: Rebuilt.
4135 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
4136 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
4137 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
4138 (SWITCH_TAKES_ARG): Likewise.
4139 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
4140 * config/t-freebsd: Moved from config/i386/ so it can used for all
4143 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
4145 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
4147 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
4149 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
4150 * configure: Rebuilt.
4152 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
4154 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
4155 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
4156 * rs6000/rs6000.c (rs6000_file_start): Use putc.
4157 (rs6000_output_load_toc_table): Same.
4158 (output_prolog, output_mi_thunk): Same.
4159 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
4160 (ASM_GLOBALIZE_LABEL): Use putc.
4162 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
4164 * alpha.md (reload_*_help): New patterns and splitters.
4165 (reload_*): Use them.
4166 (mov[qh]i): Likewise.
4168 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
4170 * cccp.c (handle_directive): Handle backslash-newlines in quoted
4173 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
4175 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
4177 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
4179 * flow.c (mark_regs_live_at_end, insn_dead_p,
4180 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
4181 and HARD_FRAME_POINTER_REGNUM special treatment if reload
4182 hasn't run or the frame pointer is needed.
4183 * haifa-sched.c (attach_deaths): Likewise.
4184 * sched.c (attach_deaths): Likewise.
4186 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
4188 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
4189 calculate_can_reach_end returns nonzero.
4191 * configure.in (native gas tests): Search for an assembler in the
4192 same manner that the installed compiler will.
4193 * configure: Rebuilt.
4194 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
4196 * alias.c (find_base_term): Improve handling of addresses
4197 constructed from binary operations.
4199 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
4201 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
4203 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
4205 * function.h (cleanup_label, frame_offset): Declare.
4206 (tail_recursion_label, tail_recursion_reentry): Likewise.
4207 (arg_pointer_save_area, rtl_expr_chain): Likewise.
4208 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
4209 (tail_recursion_label, tail_recursion_reentry): Likewise.
4210 (arg_pointer_save_area, rtl_expr_chain): Likewise.
4212 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
4214 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
4216 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
4217 (MAX_OFILE_ALIGNMENT): Define.
4219 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
4221 * fixincl.c: Replace local include scheme with #includes of
4222 gansidecl.h and system.h.
4223 * procopen.c: Likewise.
4224 * server.c: Likewise.
4226 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
4228 * i386/t-dgux (EXTRA_PARTS): Add crti.o
4229 (crti.o): Add build rule and dependencies.
4230 * fixinc/fixinc.dgux: Use modified _int_varargs.h
4232 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4234 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
4235 (LIB_LINUX_SPEC): Likewise.
4236 (LIB_LINUX_SPEC): Add support for -pthread
4237 (CPP_OS_LINUX_SPEC): Likewise.
4238 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
4241 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
4243 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
4245 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
4246 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
4247 for IEEE math and CC_FCOMI.
4248 (put_jump_code): No IEEE if CC_FCOMI is set.
4250 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4252 * fold-const.c (fold_truthop): Make the field reference unsigned
4253 when converting a single bit compare.
4255 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4257 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
4259 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
4261 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
4262 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
4265 * reload.c (push_reload): Do not call remove_address_replacements
4266 when presented with identical optional reloads.
4268 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
4270 * alpha.h (MASK_FIX, TARGET_FIX): New.
4271 (MASK_*): Reorganize constants.
4272 (CPP_AM_FIX_SPEC): New.
4273 (TARGET_SWITCHES): Add FIX.
4274 (EXTRA_SPECS): Likewise.
4275 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
4276 (SECONDARY_MEMORY_NEEDED): Likewise.
4277 (REGISTER_MOVE_COST): Likewise.
4278 * alpha.c (override_options): Add FIX support. Always use
4279 ALPHA_TP_PROG for ev6.
4280 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
4281 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
4282 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
4284 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
4286 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
4287 something is a candidate for optimize_bit_field_compare.
4289 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
4291 * gcc.texi (Passes): Document branch-shortening.
4292 * invoke.texi (Debugging Options): Document the fact that `-dp'
4293 outputs length information for instructions.
4295 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
4297 * flow.c: Revert previous delta.
4299 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
4301 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
4302 FRAME_POINTER_REGNUM.
4303 (mark_set_1): Ditto.
4304 (mark_used_regs): Ditto.
4306 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
4308 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
4309 (GOT_PCREL): New macro. Define to 1 if not already defined.
4310 * arm/elf.h (GOT_PCREL): Define to 0.
4311 * arm.c (arm_finalize_pic): Take into account the setting of
4314 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
4316 * output.h (STRIP_NAME_ENCODING): Provide default definition.
4317 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
4319 * flow.c (mark_set_1): Do not record BLKmode stores as dead
4320 store elimination candidates.
4322 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
4324 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
4327 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
4329 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
4330 Add use of x-aix41-gld.
4332 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
4334 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
4335 (ASM_OUTPUT_DESTRUCTOR): Define.
4337 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
4339 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
4340 last CODE_LABEL in a loop if we have previously passed a jump
4341 to the top of the loop.
4343 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
4345 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
4346 applying Philip's patch.
4348 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
4350 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
4353 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
4355 * loop.c (strength_reduce): Grow reg_single_usage as needed.
4357 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
4359 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
4360 Also remove a useless comment.
4362 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
4364 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
4366 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
4368 * collect2.c (main): Only generate import or export file and add
4369 to link arguments if non-empty. Use xmalloc not alloca.
4370 (write_{export,import}_file): Delete.
4371 (write_aix_file): New function.
4372 (locatelib): Use xmalloc not malloc.
4373 (GCC_OK_SYMBOL): Do not check type if aix64.
4375 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
4377 Based on patch by Scott Bambrough and Pat Beirne:
4378 * config/arm/arm.c (making_const_table): New variable.
4379 * config/arm/arm.h (making_const_table): Declare.
4380 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
4382 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
4383 Keep track of when we are building the constant table.
4385 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
4387 * config/arm/arm.c (arm_override_options): Fix erroneous warning
4390 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
4392 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
4395 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
4397 * tm.texi (FUNCTION_ARG): Correct description of a stack element
4400 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
4402 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
4404 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4406 * rs6000.c (output_mi_thunk): Enable full support again.
4408 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4410 * sh.h (BRANCH_COST): Define.
4412 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
4414 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
4416 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
4418 * function.c (assign_stack_local): Align stack slot propertly.
4419 (assign_outer_stack_local): Likewise.
4421 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
4423 * expr.h (lang_expand_constant): Declare.
4424 * toplev.c (lang_expand_constant): Define it.
4425 * varasm.c (output_constant): Use it.
4427 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4429 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
4430 Change function definitions to K&R style.
4432 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4434 * fixinc/fixincl.c: We must not ignore SIGCLD now.
4436 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
4438 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
4439 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
4440 (several places): omit static initialization
4441 (process): use single fd, since only the read fd is used
4442 * fixinc/gnu-regex.c: define 'const' away, if not supported
4443 * fixinc/procopen.c(several places): omit static initialization
4444 * fixinc/server.c: define 'volitile' away, if not supported
4446 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4448 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
4449 asm_fprintf and %L to generate the label name.
4450 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
4451 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
4453 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
4455 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
4456 insn for a conditional jump can not be found.
4458 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
4460 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
4461 on variables in specific sections other than .sbss and .sdata.
4463 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
4465 * stmt.c (expand_return): Call start_cleanup_deferral and
4466 end_cleanup_deferral around conditional code.
4468 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4470 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
4471 filename lists. Utilizes new "krstr" AutoGen function.
4472 * fixinc/fixincl.x: Rebuilt.
4474 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
4476 * i386.c (output_float_compare): Avoid GNU-C extensions.
4478 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
4480 * version.c: Bump to distinguish mainline tree from the
4483 See ChangeLog.1 for earlier changes.
4486 add-log-time-format: current-time-string