1 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
5 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
7 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
9 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11 * rtl.h (rtx_format): Constify a char*.
13 * rtl.c (rtx_format): Likewise.
14 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
15 (init_rtl): Use accessor macro, not `rtx_format'.
17 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
20 * caller-save.c (mark_referenced_regs): Likewise.
22 * combine.c (subst, make_compound_operation, known_cond,
23 gen_rtx_combine, update_table_tick, get_last_value_validate,
24 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
26 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
27 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
28 count_reg_usage): Likewise.
30 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
33 * final.c (leaf_renumber_regs_insn): Likewise.
35 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
36 dump_edge_info, count_reg_references): Likewise.
38 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
39 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
42 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
43 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
44 add_label_notes): Likewise.
46 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
47 clear_struct_flag, count_sub_rtxs, count_alternatives,
48 compares_alternatives_p, contained_in_p, walk_attr_value,
49 write_expr_attr_cache): Likewise.
51 * genconfig.c (walk_insn_part): Likewise.
53 * genemit.c (max_operand_1, gen_exp): Likewise.
55 * genextract.c (walk_rtx): Likewise.
57 * genflags.c (num_operands): Likewise.
59 * genoutput.c (scan_operands): Likewise.
61 * genpeep.c (match_rtx): Likewise.
63 * genrecog.c (add_to_sequence): Likewise.
65 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
68 * integrate.c (save_constants, copy_for_inline,
69 copy_rtx_and_substitute, subst_constants, restore_constants):
72 * jump.c (mark_jump_label, invert_exp, redirect_exp,
73 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
75 * local-alloc.c (contains_replace_regs, memref_referenced_p):
78 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
79 add_label_notes, replace_call_address, count_nonfixed_reads,
80 invariant_p, find_single_use_in_loop, find_mem_givs,
81 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
84 * print-rtl.c (reg_names, print_rtx): Likewise.
86 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
88 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
89 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
90 print_blocks): Likewise.
92 * regclass.c (fix_register, record_address_regs,
93 reg_scan_mark_refs): Likewise.
95 * regmove.c (stable_but_for_p): Likewise.
97 * reload.c (loc_mentioned_in_p, operands_match_p,
98 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
99 copy_replacements, refers_to_regno_for_reload_p,
100 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
101 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
104 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
105 delete_address_reloads_1, count_occurrences,
106 reload_cse_mem_conflict_p, reload_combine_note_use,
107 add_auto_inc_notes): Likewise.
109 * resource.c (mark_referenced_resources, mark_set_resources):
112 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
113 reg_mentioned_p, regs_set_between_p, modified_between_p,
114 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
115 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
116 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
117 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
119 * sched.c (sched_analyze_2, attach_deaths): Likewise.
121 * stupid.c (stupid_mark_refs): Likewise.
123 * unroll.c (remap_split_bivs): Likewise.
125 * varasm.c (mark_constants): Likewise.
127 * a29k/a29k.c (uses_local_reg_p): Likewise.
129 * alpha/alpha.c (summarize_insn): Likewise.
131 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
132 eliminate_lr2ip): Likewise.
134 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
136 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
137 reg_mentioned_in_mem): Likewise.
139 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
140 symbolic_reference_mentioned_p): Likewise.
142 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
144 * sh/sh.c (regs_used, mark_use): Likewise.
146 * vax/vax.c (vax_rtx_cost): Likewise.
148 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
150 * machmode.h (mode_name): Constify a char*.
152 * rtl.c (mode_name): Likewise.
154 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
156 * optabs.c (init_libfuncs): Constify a char*.
158 * print-tree.c (mode_name): Remove redundant declaration.
159 (print_node): Use accessor macro, not `mode_name'.
161 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
163 (new_spill_reg): Constify a char*.
165 * tree.c (mode_name): Remove redundant declaration.
167 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
169 * rtl.c (rtx_name): Constify a char*.
171 * rtl.h (rtx_name, fix_sched_param): Likewise.
173 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
174 (mypr): Use accessor macro, not `rtx_name'.
176 * genemit.c (print_code): Constify a char*.
178 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
180 * genpeep.c (print_code): Constify a char*.
182 * genrecog.c (print_code): Likewise.
184 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
185 end_bb): Add static prototype.
186 (draw_edge): Constify a char*.
187 (end_bb): Remove unused parameter.
189 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
190 print_block_visualization): Constify a char*.
192 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
194 * c-common.c (c_get_alias_set): Update comment.
196 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
198 * linux.h (LIB_SPEC): Added.
200 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
202 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
204 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
206 * tree.c (expr_check): Fix typo in last change.
208 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
210 * rtl.def (NOTE): Change format to "iuu0n".
211 (ADDR_DIFF_VEC): Change format to "eEee0".
212 (ADDRESSOF): Change format to "eit".
214 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
215 (RTVEC_ELT): Change to match.
216 (XVECEXP): Use XVEC and RTVEC_ELT.
217 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
218 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
219 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
220 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
221 TRAP_CONDITION, TRAP_CODE): Use XEXP.
223 (ADDRESSOF_DECL): Use XTREE.
224 (SET_ADDRESSOF_DECL): Delete.
225 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
226 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
227 ifdefed out since 2.6 at least.
228 (gen_rtvec_vv): Delete prototype.
230 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
232 (copy_most_rtx): Handle 't' format letter.
233 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
234 (gen_rtvec_vv): Delete function. All callers changed to use
236 * print-rtl.c (print_rtx): Move special casing of NOTEs to
237 the '0' format letter.
239 * function.c (gen_mem_addressof): Don't use
240 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
242 * integrate.c (copy_rtx_and_substitute): Likewise.
243 Copy 't' slots with XTREE.
244 (subst_constants): Treat 't' slots like '[swi]' slots.
245 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
246 * jump.c (rtx_equal_for_thread_p): Likewise.
247 * rtlanal.c (rtx_equal_p): Likewise.
248 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
250 * gengenrtl.c (type_from_format): Provide correct types for
254 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
255 If a recent gcc is in use (always in stage2 and beyond), use
256 statement expressions, so we don't make a function call unless
257 the check fails. Evaluate arguments exactly once.
258 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
259 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
261 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
262 they evaluate their arguments exactly once, irrespective of
265 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
266 is used by the currently-enabled check macros. This is:
267 (tree_check_failed, tree_class_check_failed): For gcc.
268 (tree_check, tree_class_check, cst_or_constructor_check,
269 expr_check): For other compilers.
271 * gencheck.c: Do not define any *_CHECK1 macros.
273 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
274 Mark Mitchell <mark@codesourcery.com>
276 * c-common.c (c_get_alias_set): Fix support for poitners and
279 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
281 * alias.c: Include tree.h.
282 (nonlocal_reference_p, mark_constant_function): New functions.
283 * flow.c (life_analysis): Call mark_constant_function.
284 * rtl.h (mark_constant_function): Declare it.
286 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
288 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
289 unrecognisable switches.
291 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
293 * loop.c (recombine_givs): Set ix field after sorting.
294 (recombine_givs): Remove bogus index / giv lockstep looping.
296 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
298 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
300 (emit_store_flag_force): Use do_compare_rtx_and_jump.
301 (do_cmp_and_jump): Formatting fixes.
302 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
303 do_compare_rtx_and_jump instead of compare_from_rtx.
304 (do_compare_rtx_and_jump): New function; mostly copied from
306 (do_jump_for_compare): Delete.
307 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
309 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
310 of compare/do_jump_for_compare pairs.
311 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
312 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
313 compare_from_rtx/do_jump_for_compare pairs.
314 (do_jump_by_parts_equality): Likewise.
315 (do_jump_by_parts_equality_rtx): Likewise.
316 * expr.h (do_compare_rtx_and_jump): Declare.
317 * optabs.c (prepare_cmp_insn): New function, contains most of the code
318 that used to be in emit_cmp_insn.
319 (cmp_available_p): New function.
320 (prepare_operand): New function.
321 (emit_cmp_and_jump_insn_1): New function, contains some code that used
322 to be in emit_cmp_insn.
323 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
324 parameters to be pointers; don't emit final compare but modify some of
325 the values pointed to by the args so the caller can perform the
327 (expand_binop): Call emit_store_flag_force with signed forms of
329 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
331 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
332 emit_cmp_and_jump_insn_1. Call emit_queue.
333 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
335 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
336 jump sets cc0 before deleting it.
337 * integrate.c (expand_inline_function): Likewise.
338 * unroll.c (unroll_loop): Similar changes in several places.
339 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
342 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
344 * Makefile.in (insn-recog.o): Update dependencies.
345 * genrecog.c (main): Make generated file include "function.h".
347 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
349 * cse.c (cse_insn): Call never_reached_warning when a jump is
350 changed to be unconditional.
351 * flags.h: Declare warn_notreached.
352 * flow.c (delete_block): Call never_reached_warning when
354 * jump.c (delete_barrier_successors): Call never_reached_warning
355 when we delete everything after a BARRIER.
356 (never_reached_warning): New function.
357 * rtl.h: Declare never_reached_warning.
358 * toplev.c (warn_notreached): New variable.
359 (lang_independent_options): Set warn_notreached
360 when -Wunreachable-code.
361 (compile_file): We need line numbers for -Wunreachable-code.
363 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
365 * haifa-sched.c (insn_unit): Fix typo on out of range test.
366 * sched.c (insn_unit): Likewise.
368 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
370 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
372 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
374 * flow.c (create_edge_list): Use xmalloc, not malloc.
376 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
378 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
379 C-style comments. Do not lose the character before double slash.
381 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
383 * basic-block.h (struct edge_list): Stucture to maintain a vector
385 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
386 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
387 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
388 New function prototypes.
389 * flow.c (create_edge_list): Function to create an edge list.
390 (free_edge_list): Discards memory used by an edge list.
391 (print_edge_list): Debug output showing an edge list.
392 (verify_edge_list): Internal consistency check for an edge list.
393 (find_edge_index): Function to find an edge index for a pred and succ.
395 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
397 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
400 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
402 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
404 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
406 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
408 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
410 * toplev.c (rest_of_compilation): Allow machine dependent
411 reorganisation pass to place information into the RTL dump
412 file if it so wishes.
414 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
416 * explow.c (hard_function_value): Use VOIDmode instead of
418 * stmt.c (expand_return): Likewise.
419 * stor-layout.c (get_best_mode): Likewise.
421 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
422 emit call instead of emit_insn call.
424 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
426 * configure.in: Handle --disable/enable-win32-registry.
427 * install.texi: Document --disable/enable-win32-registry.
428 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
429 (WIN32_REGISTRY_KEY): New macro.
430 * prefix.c: Use to enable/disable win32-specific code.
431 (lookup_key): Use versioned key.
432 * configure: Regenerate.
433 * config.in: Likewise.
435 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
437 * cpplib.c (read_line_number): New fn, split out of...
440 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
442 tree.c (lang_unsave_expr_now) : New.
443 (unsave_expr_now): Call lang_unsave_expr_now.
444 tree.h (lang_unsave_expr_now) : New.
446 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
448 * toplev.c (flag_new_exceptions): On by default.
450 1999-08-13 Michael Meissner <meissner@cygnus.com>
452 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
454 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
456 * dwarfout.c (fundamental_type_code): Return FT_boolean for
457 INTEGER_TYPE with precision==1, it's __java_boolean.
459 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
461 * global.c (prune_preferences): Move some invariants out of the
464 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
466 * configure.in (alpha*-dec-osf*): Add osf5.
468 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
470 * configure.in: Rework handling of ARM GNU/Linux slightly.
471 (arm*-*-linux-gnuoldld): New target.
472 * configure: Regenerate.
473 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
474 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
475 * config/arm/linux-oldld.h: New file.
476 * config/arm/linux-elf26.h: Don't include linux-elf.h.
477 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
479 * config/arm/linux-elf.h (ASM_SPEC): Define.
480 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
481 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
482 for 26-bit APCS and old linker.
483 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
485 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
486 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
487 don't define `arm' or `arm_elf'.
488 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
489 MULTILIB_DIRNAMES): Define. Fix typo in comment.
491 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
493 * rtl.texi: Fix typo.
495 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
497 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
499 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
501 * extend.texi (C++ Signatures): Remove node.
502 * invoke.texi: Remove discussion of -fhandle-signatures,
503 signature, sigof, __signature__, and __sigof__.
505 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
507 * Makefile.in (JAVAGC): Removed.
509 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
511 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
513 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
515 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
517 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
519 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
520 a register that is already known to be a pointer.
522 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
524 * fixinc/inclhack.tpl: Only install assert.h conditionally.
525 * fixinc/inclhack.sh: Regenerated.
526 * fixinc/fixincl.sh: Regenerated.
528 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
530 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
531 Fix documentation of -ansi flag to describe its C++ behavior.
532 Remove bogus reference to GCC 2.9.
534 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
536 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
537 note if it is non-NULL.
539 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
541 * except.h (eh_nesting_info): Add new structure defintion.
542 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
543 (reachable_handlers, update_rethrow_references): Add function
545 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
546 a rethrow symbol instead of an integer exception region number.
547 * flow.c (Make_edges): Use new exception nesting routines to determine
548 which handlers are reachable from a CALL or asynchronous insn.
549 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
551 (delete_eh_regions): Update rethrow labels, and don't delete
552 regions which are the target of a rethrow.
553 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
554 avoid overloading the SYMBOL_REF_USED flag.
555 (rethrow_symbol_map): Use new rethrow_ref field.
556 (rethrow_used): Use new rethrow_ref field.
557 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
558 of an integer. Fix formatting.
559 (output_exception_table_entry): Use new rethrow_ref field.
560 (can_throw): Check for EH_REGION_NOTE before deciding
561 whether a CALL can throw or not.
562 (scan_region): Call rethrow_used() instead of accessing data structure.
563 (update_rethrow_references): New function to make sure only regions
564 which are still targets of a rethrow are flagged as such.
565 (process_nestinfo): New static function to initialize a handler
566 list for a specific region.
567 (init_eh_nesting_info): New function to allocate and initialize
568 the list of all EH handlers reachable from all regions.
569 (reachable_handlers): New function to retrieve the list of handlers
570 reachable from a specific region and insn.
571 (free_eh_nesting_info): New function to dispose of a list of
574 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
576 * flow.c (split_edge): Set JUMP_LABEL field.
577 (commit_one_edge_insertion): Set head correctly for insert_before.
578 When inserting insns, update insn block numbers if allocated.
580 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
582 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
583 retry_incomplete_types): Add static prototype.
584 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
585 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
586 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
587 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
588 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
591 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
592 dwarf2out_start_source_file, dwarf2out_line): Likewise.
594 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
596 * output.h (assemble_name): Constify a char*.
598 * varasm.c (UNIQUE_SECTION, assemble_start_function,
599 assemble_variable, assemble_name): Likewise.
601 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
603 * arm/pe.c (arm_pe_unique_section): Likewise.
605 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
607 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
609 * i386/interix.c (i386_pe_unique_section): Likewise.
611 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
613 * i386/winnt.c (i386_pe_unique_section): Likewise.
615 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
617 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
619 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
621 * pa/pa.c (output_call): Likewise.
623 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
625 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
627 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
630 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
633 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
635 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
636 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
638 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
640 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
642 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
644 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
646 * tree.h (lang_identify): Constify a char*.
647 (print_error_function): Add extern prototype. Constify a char*.
649 * c-lang.c (lang_identify): Constify a char*.
651 * objc/objc-act.c (lang_identify): Constify a char*.
653 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
655 * genpeep.c (main): Make generated file include "function.h".
656 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
658 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
660 * Makefile.in: Update dependencies.
661 * alias.c: Include "function.h"
662 * c-decl.c: Likewise.
663 * caller-save.c: Likewise.
665 * combine.c: Likewise.
667 * explow.c: Likewise.
669 * global.c: Likewise.
671 * local-alloc.c: Likewise.
673 * optabs.c: Likewise.
674 * profile.c: Likewise.
676 * regclass.c: Likewise.
677 * regmove.c: Likewise.
678 * reload.c: Likewise.
680 * resource.c: Likewise.
682 * stupid.c: Likewise.
683 * config/1750a/1750a.c: Likewise.
684 * config/a29k/a29k.c: Likewise.
685 * config/arc/arc.c: Likewise.
686 * config/arm/arm.c: Likewise.
687 * config/arm/thumb.c: Likewise.
688 * config/c4x/c4x.c: Likewise.
689 * config/clipper/clipper.c: Likewise.
690 * config/convex/convex.c: Likewise.
691 * config/fx80/fx80.c: Likewise.
692 * config/i860/i860.c: Likewise.
693 * config/m68k/m68k.c: Likewise.
694 * config/m88k/m88k.c: Likewise.
695 * config/mips/mips.c: Likewise.
696 * config/pdp11/pdp11.c: Likewise.
697 * config/pyr/pyr.c: Likewise.
698 * config/romp/romp.c: Likewise.
699 * config/sh/sh.c: Likewise.
700 * config/tahoe/tahoe.c: Likewise.
701 * config/vax/vax.c: Likewise.
702 * config/we32k/we32k.c: Likewise.
703 * config/sparc/sparc.c: Include "function.h".
704 (mem_min_alignment): Test current_function rather than
706 * config/pa/pa.c: Likewise.
707 (compute_frame_size): Delete declaration of
708 current_function_outgoing_args_size.
709 * config/arc/arc.h (current_function_varargs): Delete declaration.
710 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
712 * config/i370/i370.h (current_function_outgoing_args_size): Delete
714 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
715 current_function_uses_pic_offset_table.
716 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
717 of current_function_returns_pointer.
718 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
719 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
720 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
721 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
722 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
723 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
724 * config/m88k/m88k.c: Include "function.h"
725 (call_used_regs, current_function_pretend_args_size,
726 current_function_outgoing_args_size, frame_pointer_needed): Delete
728 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
730 * config/mips/mips.h (current_function_calls_alloca): Delete
732 * config/mn10200/mn10200.h (current_function_needs_context,
733 rtx_equal_function_value_matters): Delete declarations.
734 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
735 flag_pic): Delete declarations.
736 * config/pa/pa.h (current_function_pretend_args_size,
737 current_function_decl): Delete declarations.
738 * config/pa/som.h (current_function_varargs): Delete declaration.
739 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
741 * config/pyr/pyr.h (current_function_pretend_args_size,
742 current_function_args_size, current_function_calls_alloca): Delete
744 * config/sh/sh.h (current_function_varargs): Delete declaration.
745 * config/sparc/sparc.h (current_function_outgoing_args_size,
746 current_function_calls_alloca, current_function_decl): Delete
748 * config/spur/spur.h (current_function_pretend_args_size,
749 current_function_calls_alloca): Delete declarations.
750 * config/v850/v850.c (current_function_outgoing_args_size): Delete
752 * config/vax/vms.h (current_function_name): Delete declaration.
753 * gcse.c: Include "function.h".
754 (current_function_name, current_function_calls_setjmp): Delete
756 * haifa-sched.c: Include "function.h".
757 (forced_labels): Delete declaration.
759 * reg-stack.c: Likewise.
760 * reload1.c: Likewise.
761 * genemit.c (main): Make generated file include function.h.
762 * genoutput.c (output_prologue): Likewise.
764 * builtins.c (saveregs_value, apply_args_value): Delete variables.
765 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
766 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
767 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
768 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
769 macros for some of them.
770 (emit_filename, emit_lineno): Delete declarations.
771 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
772 regno_pointer_* variables through current_function.
773 (gen_inline_header_rtx): Delete function.
774 (save_emit_status): Delete function.
775 (set_new_last_label_num): New function.
776 (clear_emit_caches): New function.
777 (restore_emit_status): Just clear last_labelnum and call
779 (get_last_insn_anywhere): Variable sequence_stack is now accessed
780 through macro seq_stack.
781 (add_insn_after): Likewise.
782 (add_insn_before): Likewise.
783 (remove_insn): Likewise.
784 (pop_topmost_sequence): Likewise.
785 (in_sequence_p): Likewise.
786 (start_sequence_for_rtl_expr): Likewise.
787 (start_sequence): Likewise, and likewise for
788 sequence_rtl_expr/seq_rtl_expr.
789 (push_topmost_sequence): Likewise.
790 (end_sequence): Likewise.
791 (init_virtual_regs): Now takes a "struct emit_status *" argument.
792 All callers changed. Store into that pointer instead of globals.
793 (init_emit): Allocate emit elt of current_function.
794 Changes for sequence_rtl_expr/sequence_stack renaming.
795 Call clear_emit_caches instead of doing it in-line.
796 Access regno_pointer_* variables through current_function.
797 (init_emit_once) Don't clear sequence_stack.
799 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
801 (arg_pointer_save_area): Delete declaration.
802 (finish_expr_for_function): Renamed from init_queue; no longer static.
803 (init_expr): Don't call init_queue.
804 (save_expr_status, restore_expr_status): Delete functions.
805 (expand_expr): Changes to reflect new layout of struct function.
806 Don't access current_function_check_memory_usage when current_function
808 * expr.h (forced_labels, save_expr_regs, saveregs_value,
809 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
810 current_function_outgoing_args_size, current_function_arg_offset_rtx,
811 current_function_uses_const_pool, function_call_count,
812 current_function_uses_pic_offset_table, nonlocal_labels,
813 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
814 current_function_check_memory_usage, nonlocal_goto_handler_slots,
815 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
817 (finish_expr_for_function): Declare.
818 * flags.h (current_function_has_nonlocal_label,
819 current_function_has_nonlocal_goto, current_function_is_thunk,
820 current_function_has_computed_jump): Delete declarations.
821 * flow.c (forced_labels): Delete declaration.
822 * function.c (current_function_pops_args,
823 current_function_returns_struct, current_function_returns_pcc_struct,
824 current_function_needs_context, current_function_calls_setjmp,
825 current_function_calls_longjmp, current_function_has_nonlocal_label,
826 current_function_has_nonlocal_goto, current_function_is_thunk,
827 current_function_has_computed_jump, current_function_calls_alloca,
828 current_function_contains_functions, current_function_returns_pointer,
829 current_function_epilogue_delay_list, current_function_args_size,
830 current_function_pretend_args_size, current_function_arg_offset_rtx,
831 current_function_outgoing_args_size, current_function_varargs,
832 current_function_stdarg, current_function_args_info, cleanup_label,
833 current_function_name, current_function_uses_const_pool,
834 current_function_instrument_entry_exit, current_function_return_rtx,
835 current_function_uses_pic_offset_table, nonlocal_labels,
836 current_function_internal_arg_pointer, current_function_cannot_inline,
837 current_function_check_memory_usage, function_call_count,
838 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
839 nonlocal_goto_stack_level, return_label, save_expr_regs,
840 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
841 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
842 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
843 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
844 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
846 (push_function_context_to): Don't save them. Don't call
847 save_storage_status, save_emit_status or save_expr_status.
848 (pop_function_context_from): Don't restore them. Don't call
849 restore_storage_status or restore_expr_status.
850 (get_func_frame_size): New function.
851 (get_frame_size): Use it.
852 (assign_outer_stack_local): Reflect some member name changes in struct
854 (put_reg_into_stack): Likewise.
855 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
857 (fixup_var_refs): Likewise.
858 (fix_lexical_addr): Likewise.
859 (trampoline_address): Likewise.
860 (prepare_function_start): Clear field inlinable of current_function.
861 (init_function_for_compilation): New function.
862 (expand_dummy_function_end): New function.
863 (expand_function_end): Call finish_expr_for_function.
864 * function.h (struct emit_status): New; fields moved here from struct
865 function and from global variables. Add accessor macros for some of
867 (struct expr_status): Likewise.
868 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
869 (struct function): Add fields expr and emit, inlinable, inl_emit,
870 original_arg_vector, original_decl_initial, inl_last_parm_insn,
871 inl_max_label_num. Add many comments.
872 Add accessor macros for all elts of struct function that no longer
873 have a global variable.
874 (cleanup_label, return_label, frame_offset, tail_recursion_label,
875 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
876 stack_slot_list): Delete declarations.
877 (get_func_frame_size): Declare.
878 (save_expr_status, restore_expr_status, save_emit_status,
879 save_storage_status, restore_storage_status): Delete declarations.
880 (init_virtual_regs): Declare.
881 * output.h (current_function_pops_args,
882 current_function_returns_struct, current_function_returns_pcc_struct,
883 current_function_needs_context, current_function_calls_setjmp,
884 current_function_calls_longjmp, current_function_calls_alloca,
885 current_function_has_nonlocal_label, current_function_varargs,
886 current_function_has_computed_jump, current_function_returns_pointer,
887 current_function_contains_functions, current_function_args_size,
888 current_function_pretend_args_size, current_function_stdarg,
889 current_function_outgoing_args_size, current_function_args_info,
890 current_function_name, current_function_return_rtx,
891 current_function_epilogue_delay_list,
892 current_function_uses_const_pool, current_function_cannot_inline):
894 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
895 regno_reg_rtx): Delete declaration.
896 (REGNO_POINTER_FLAG): Delete macro.
897 * stmt.c (expand_goto): Changes to reflect that some fields in struct
898 function were renamed.
899 * stor-layout.c (save_storage_status, restore_storage_status): Delete
901 * toplev.c: Include "function.h".
902 (current_function_decl): Delete declaration.
903 (compile_file): Call init_dummy_function_start and
904 expand_dummy_function_end around some initializations that need to
906 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
907 Call init_function_for_compilation.
908 * unroll.c: Include "function.h"
909 (unroll_loop): Access regno_pointer_* variables through
912 * tree.h (struct tree_decl): Add elt f to saved_insns member.
913 (DECL_SAVED_INSNS): use it.
914 (expand_dummy_function_end): Declare.
915 (init_function_for_compilation): Declare.
916 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
917 that it's no longer an INLINE_HEADER.
918 (expand_call): Likewise.
919 * integrate.c (finish_inline): Delete function.
920 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
921 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
922 args. Don't generate an INLINE_HEADER rtx, just return the arg
923 vector. All callers changed.
924 (save_for_inline_copying): Create a duplicate struct emit_status to
925 hold the emit state for compiling the current function. Use this and
926 the other new fields in struct function that are for integration
927 instead of an INLINE_HEADER.
928 Use memcpy instead of bcopy.
929 Store the current struct function in DECL_SAVED_INSNS of fndecl.
930 (save_for_inline_nocopy): Similar changes, except no new emit_status
932 (expand_inline_function): Get information from function structure,
933 not from an inline header rtx.
934 (output_inline_function): Lose code to extract the necessary
935 information from an inline header; simply put back the function
936 structure into current_function. Clear its inlinable elt.
937 * rtl.def (INLINE_HEADER): Delete.
938 * rtl.h: Delete all accessors for an INLINE_HEADER.
939 (gen_inline_header_rtx): Delete declaration.
940 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
942 (REGNO_POINTER_ALIGN): Delete.
943 (clear_emit_caches): Declare.
944 (set_new_last_label_num): Declare.
946 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
948 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
950 * except.c (expand_eh_region_start_for_decl): Always start a new block.
951 * stmt.c (is_eh_region): Make sure current_function is present, too.
953 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
955 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
956 for 64bit PA targets.
958 * pa.h (SELECT_SECTION): Define.
959 * som.h (SELECT_SECTION): Delete.
961 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
963 * alias.c (init_alias_analysis): Wrap call to
964 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
966 1999-08-07 Bruce Korb <autogen@linuxbox.com>
968 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
969 <sys/asm.h> contains an asm comment with an apostrophe
970 * fixinc/inclhack.sh: regen
971 * fixinc/fixincl.x: regen
973 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
975 * function.c (init_function_start): Clear prologue & epilogue.
976 (prologue_epilogue_contains): New function.
977 * alias.c (init_alias_analysis): Use it.
978 * rtl.h (prologue_epilogue_contains): Declare it.
980 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
982 * jump.c (onlyjump_p): New function.
984 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
985 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
987 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
989 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
990 to invert loops. Simplify block scanning.
992 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
994 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
995 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
997 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
999 * config/sparc/liteelf.h: New file to support sparclite-elf target
1000 * config/sparc/t-sp86x: New file to support sparc86x targets
1001 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
1002 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
1003 * configure.in: Support above target triplets
1004 * configure: Regenerated
1006 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
1008 * fixinc/server.c (server_setup): Do not prefix function used as
1011 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
1013 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
1014 Remove fp reg alternatives.
1016 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
1018 * Makefile.in (TAROUTOPTS): Kill.
1019 (install-headers-tar): Use "xpf" for tar headerfile extraction
1020 * i370/x-oe (TAROUTOPTS): Delete.
1021 * m68k/x-apollo68 (TAROUTOPTS): Delete.
1022 * m68k/x-hp320 (TAROUTOPTS): Delete.
1023 * m68k/x-hp320g (TAROUTOPTS): Delete.
1024 * gcc.texi: Update bug reporting text.
1026 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1028 * reg-stack.c (change_stack) Fixed problem with negative array index.
1030 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
1032 * extend.texi, install.texi: Fix spelling mistakes.
1034 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
1035 (s-attrtab); No longer try to use pre-made insn-attrtab file.
1036 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
1038 * mips/t-ecoff: Likewise.
1039 * mips/t-elf: Likewise.
1040 * mips/t-mips: Likewise.
1041 * mips/t-osfrose: Likewise.
1042 * mips/t-r3900: Likewise.
1043 * mips/t-svr3: Likewise.
1044 * mips/t-svr4: Likewise.
1045 * mips/t-ultrix: Likewise.
1047 * gcc.texi: Document recommend means to provide software floating
1048 point libraries in libgcc.a
1050 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
1052 * c-lex.c (yylex): We can have a number with no digits.
1054 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
1056 * jump.c (delete_prior_computation): New function, broken
1057 out of delete_computation. Check for side effects with
1058 side_effects_p instead of FIND_REG_INC_NOTE. Handle
1059 multi-word hard registers.
1060 (delete_computation): Use it. Check for side effects with
1061 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
1062 missing REG_DEAD note for a register which is both set and
1065 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
1067 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
1068 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
1069 (ASM_FILE_START): Import _mcount with the right type.
1070 (ASM_DECLARE_FUNCTION_NAME): Define.
1071 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
1072 * pa.c (output_function_prologue): Always emit the function's label
1074 * pa.h (TEXT_SPACE_P): Define.
1075 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
1076 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
1077 * som.h (TEXT_SPACE_P): Delete.
1078 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
1079 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
1081 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
1083 * expr.c (emit_group_load): Allow src to be a CONCAT.
1085 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1087 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
1088 (___mulsi3): Use '!' comment character.
1090 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1092 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
1094 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
1096 * gcc.c: Update URLs and mail addresses.
1097 * gcc.texi: Likewise.
1099 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
1101 * rs6000.c (current_file_function_operand): Return zero for
1103 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
1105 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
1108 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
1110 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
1111 allocate space in the stack frame for the PIC register.
1113 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
1115 * m68k.md (xordi3, anddi3): These patterns are not available on
1118 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
1120 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
1121 (PUT_REAL): Likewise.
1123 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1125 * final.c (shorten_branches): Don't add an alignment for loops
1126 that have no label inside.
1128 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1130 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
1131 prototypes in macro HAVE_cmpstrsi.
1133 * cpplib.c (cpp_get_token): Remove unused label `op3'.
1135 * emit-rtl.c (operand_subword): Remove unused variable
1138 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
1140 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
1142 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
1144 * cpphash.c (macroexpand): Delete leading whitespace when arg
1145 is concatenated before.
1146 (unsafe_chars): Correct test for whether + and - can extend a
1149 * cppinit.c (cpp_start_read): Do dependencies for
1150 -include/-imacros files also.
1152 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
1153 tokenizing non-directive lines.
1154 (cpp_expand_to_buffer): Temporarily disable no-output mode.
1155 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
1158 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
1160 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
1162 * c-lex.c: Sync with C++ frontend.
1163 (linemode): New variable.
1164 (parse_float): imag, conversion_errno, and type are output only.
1165 (yylex): Adjust. Move initial '.' case into main switch.
1167 (handle_generic_pragma): Just deal with tokens.
1168 (readescape): Use ISXDIGIT and ISGRAPH.
1169 * c-parse.in: Add END_OF_LINE token.
1171 * c-lex.c (lang_init): Generalize.
1172 (nextchar): Remove. Replace uses with UNGETC.
1173 (skip_white_space): Handle linemode here. Optimize for cpplib.
1174 (skip_white_space_on_line): Remove.
1175 (extend_token_buffer_to): New fn.
1176 (extend_token_buffer): Use it.
1177 (read_line_number, check_newline): Just deal with tokens.
1178 (token_getch, token_put_back): New fns.
1179 (yylex): Use them. More cpplib optimizations. Simplify.
1181 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
1182 Jason Merrill <jason@yorick.cygnus.com>
1184 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
1185 (consume_string): Make this smart about USE_CPPLIB.
1186 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
1187 (yylex): Rewrite to be intelligent about USE_CPPLIB.
1188 Also, clean up cases where we redundantly set token_buffer[0].
1189 (read_line_number): New fn.
1190 (ignore_escape_flag): New variable.
1192 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
1194 * a29k/t-a29kbare: Fix some comments.
1195 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
1196 (FPBIT, DPBIT): Define.
1197 * a29k/t-vx29k: Likewise.
1198 * arc/t-arc: Likewise.
1199 * arm/t-arm-elf: Likewise.
1200 * arm/t-bare: Likewise.
1201 * arm/t-pe: Likewise.
1202 * arm/t-pe-thumb: Likewise.
1203 * arm/t-semi: Likewise.
1204 * arm/t-thumb: Likewise.
1205 * arm/t-thumb-elf: Likewise.
1206 * arm/t-thumb-linux: Likewise.
1207 * h8300/t-h8300: Likewise.
1208 * i960/t-i960: Likewise.
1209 * i960/t-vxworks960: Likewise.
1210 * m32r/t-m32r: Likewise.
1211 * mips/t-ecoff: Likewise.
1212 * mips/t-elf: Likewise.
1213 * mips/t-r3900: Likewise.
1214 * pa/t-pro: Likewise.
1215 * rs6000/t-aix43: Likewise.
1216 * rs6000/t-beos: Likewise.
1217 * rs6000/t-newas: Likewise.
1218 * rs6000/t-ppccomm: Likewise.
1219 * rs6000/t-rs6000: Likewise.
1220 * rs6000/t-winnt: Likewise.
1221 * rs6000/t-xnewas: Likewise.
1222 * rs6000/t-xrs6000: Likewise.
1223 * sh/t-sh: Likewise.
1224 * sparc/t-elf: Likewise.
1225 * sparc/t-sparcbare: Likewise.
1226 * sparc/t-sparclite: Likewise.
1227 * sparc/t-splet: Likewise.
1228 * v850/t-v850: Likewise.
1229 * mn10200/t-mn10200: Fix comments.
1230 * mn10300/t-mn10300: Likewise.
1232 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
1233 dummy operand. Allocate a new pseudo for the dummy operand.
1234 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
1236 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
1238 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
1240 * configure: Rebuilt.
1241 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
1243 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
1245 * recog.c (preproces_constraints): Zero recog_op_alt before
1246 processing the constraints.
1248 * arm.c (typedef minipool_node): Renamed from pool_node.
1249 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
1250 (add_minipool_constant): New function.
1251 (dump_minipool): New function.
1252 (find_barrier): Remove special case for getting the insn size of
1253 an insn that references the constant pool.
1254 (minipool_fixup): New structure.
1255 (push_minipool_barrier): New function.
1256 (push_minipool_fix): New function.
1257 (note_invalid_constants): New function.
1258 (add_pool_constant, dump_table, fixit, broken_move): Delete.
1259 (arm_reorg): Rewrite code to fix up the constant pool into a
1260 series of mini-pools embedded in the insn stream.
1261 (arm_output_epilogue): New function, made mainly from the body
1262 of output_func_epilogue.
1263 (output_func_epilogue): Move insn generation part of epilogue code
1264 to arm_output_epilogue.
1265 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
1266 * arm.md (pool_range): New attribute.
1267 (zero_extendqidi2): Add attribute pool_range.
1268 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
1269 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
1270 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
1271 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
1272 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
1273 (epilogue): New expand.
1274 (epilogue_insn): New insn. Call arm_output_epilogue.
1276 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
1277 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
1279 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
1281 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
1283 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
1285 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
1287 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
1289 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
1291 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
1293 * global.c: Fix comment.
1295 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
1297 * gcc.c (access_check): New static function.
1298 (find_a_file): Use it when searching a directory list.
1299 * collect2.c (find_a_file): Don't accept directories found when
1300 searching a directory list.
1302 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
1304 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
1305 function parameters with `&'.
1306 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
1308 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
1310 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
1311 or tidy_fallthru_edge if the last insn in the block is not
1312 an unconditional jump or a simple conditional jump.
1314 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1316 * Makefile.in (c-decl.o): Depends on defaults.h.
1318 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
1320 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
1322 (CLASS_MAX_NREGS): Likewise.
1324 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
1326 * cse.c (cse_insn): Fix dumb thinko in last change.
1328 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1330 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
1333 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
1335 * dwarf2out.c (add_location_or_const_value_attribute): Correct
1336 test for sizes of passed and declared parameter types.
1338 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1340 * fixincludes: Fix the return type of bsearch, char* -> void*.
1342 * fixinc/inclhack.def: Likewise.
1344 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
1346 * invoke.texi (-fdump-translation-unit): New option.
1348 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
1350 * expr.h (PROMOTE_PROTOTYPES): Move ...
1351 * defaults.h: ... to here.
1352 * c-decl.c: Include defaults.h instead of expr.h.
1353 * c-typeck.c: Include defaults.h.
1355 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
1357 * toplev.h (errorcount): Declare.
1358 (warningcount): Likewise.
1359 (sorrycount): Likewise.
1360 * c-lex.c (errorcount): Don't declare.
1361 * dwarf2out.c (errorcount): Don't declare.
1363 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
1365 * config/libgloss.h: Add a note discouraging use with ELF.
1366 * configure.in: Don't use libgloss.h for ELF targets.
1367 Always use_collect2 on a.out targets.
1369 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
1371 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
1372 (force_to_mode, case ASHIFTRT): Add shiftrt label.
1374 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1376 * loop.c (strength_reduce): When doing biv->giv conversion, update
1377 reg note of NEXT->insn.
1379 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1381 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
1383 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1385 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
1386 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
1387 Ensure expr.h is included.
1388 * c-typecheck.c (convert_arguments): Ditto.
1390 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
1392 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
1393 * config/convex/convex.h: Ditto.
1394 * config/dsp16xx/dsp16xx.h: Ditto.
1395 * config/fx80/fx80.h: Ditto.
1396 * config/gmicro/gmicro.h: Ditto.
1397 * config/i370/i370.h: Ditto.
1398 * config/i386/i386.h: Ditto.
1399 * config/m32r/m32r.h: Ditto.
1400 * config/m68k/m68k.h: Ditto.
1401 * config/m88k/m88k.h: Ditto.
1402 * config/mips/mips.h: Ditto.
1403 * config/pa/pa.h: Ditto.
1404 * config/pyr/pyr.h: Ditto.
1405 * config/tahoe/tahoe.h: Ditto.
1406 * config/we32k/we32k.h: Ditto.
1408 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
1411 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
1413 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
1416 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
1418 1999-08-02 Richard Henderson <rth@cygnus.com>
1420 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
1421 for the register spill block.
1423 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
1424 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
1426 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
1427 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
1428 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
1430 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1432 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
1433 MAX_WCHAR_TYPE defined in sparc.h.
1434 * config/sparc/linuxaout.h: Likewise.
1435 * config/sparc/linux64.h: Likewise.
1436 Also default to -mvis if CPU is UltraSPARC.
1438 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1440 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
1441 (RTX_OK_FOR_OLO10): Likewise.
1442 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
1443 %lo(), allow it in addresses...
1444 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
1445 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
1446 does not make sense.
1447 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
1448 (sparc_output_scratch_registers): New function.
1449 (output_function_prologue, sparc_flat_output_function_prologue): Use
1451 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
1453 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
1454 * configure.in: Add check for .register pseudo-op support in as and
1455 check for offsetable %lo().
1456 * acconfig.h: Add templates for the above checks.
1457 * configure: Regenerate.
1459 1999-08-02 Richard Henderson <rth@cygnus.com>
1461 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
1462 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
1463 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
1465 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1467 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
1470 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1472 * config/float-sparc.h: New file.
1473 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
1474 sparc-*-linux-gnu and sparc64-*-linux*.
1476 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1478 * rs6000.c (rs6000_va_list): Type is an array.
1479 (rs6000_va_start): Don't doubly adjust for varargs.
1480 (rs6000_va_arg): Evaluate long long GPR adjustment.
1482 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
1484 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
1485 -maix64 and -maix32.
1486 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
1487 LINK_SPEC): Change appropriately.
1488 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
1489 (u_short_cint_operand): Likewise.
1490 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
1492 * rs6000/t-aix43 (MULTILIB): Change to -m64.
1494 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
1496 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
1498 * rs6000/rs6000.c (num_insns_constant_wide): Correct
1500 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
1501 (non_add_cint_operand): Likewise.
1502 (logical_operand): Likewise.
1503 (non_logical_cint_operand): Likewise.
1504 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
1505 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
1506 (rs6000_select_rtx_section): Suppress warning.
1507 (small_data_operand): Suppress warning.
1508 (rs6000_got_register): Suppress warning.
1509 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
1510 type, so `J' is generally the wrong constraint for a SImode value;
1512 (andsi3_internal2): Likewise.
1513 (andsi3_internal3): Likewise.
1514 (iorsi3_internal1): Likewise.
1515 (xorsi3_internal1): Likewise.
1517 (movsf_softfloat): Likewise.
1518 (scc insns): Likewise.
1519 (movsi+2): Preserve sign bits of SImode constant.
1520 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
1521 (movdf+1): Sign-extend properly.
1522 (movdi_32+1): Sign-extend properly.
1523 (scc insns): Sign-extend properly.
1525 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
1528 1999-08-02 Richard Henderson <rth@cygnus.com>
1530 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
1532 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
1533 * alpha.md (all fp insns): Likewise.
1535 1999-08-02 Nick Clifton <nickc@cygnus.com>
1537 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
1540 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
1542 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
1543 pic_load_label generator directly.
1544 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
1545 No longer a named pattern.
1547 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
1549 * explow.c (force_reg): Call force_operand if X does not
1550 satisfy general_operand.
1552 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
1554 * fix-header.c (main): When testing for CONTINUED, use string
1555 equality, not pointer equality.
1557 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
1559 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
1561 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
1563 * cse.c (cse_insn): Fix loop which deletes insns after a jump
1564 that has become an unconditional jump.
1566 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
1567 (output_function_epilogue): Similarly.
1569 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1571 * tree.h (init_dummy_function_start): Declare.
1573 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1575 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
1576 last_expr_type, last_expr_value, block_start_count, block_stack,
1577 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
1578 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
1579 dynamically in stmt elt of struct function for each function.
1580 (struct nesting): Rename function_call_count elt to n_function_calls,
1581 target_temp_slot_level to block_target_temp_slot_level. All users
1583 (struct stmt_status): New structure definition.
1584 Add many accessor macros for stmt_status elements which previously
1585 were global variables.
1586 (init_stmt_for_function): Allocate stmt elt for current_function.
1587 Reflect that block_start_count was renamed to
1588 current_block_start_count.
1589 (save_stmt_status, restore_stmt_status): Delete functions.
1590 (preserve_subexpressions_p): Don't access loop_stack when outside
1592 (expand_start_bindings): Reflect that block_start_count was renamed to
1593 current_block_start_count.
1594 (expand_fixup): Likewise.
1595 (expand_decl): Don't access block_stack when outside a function.
1596 (expand_decl_cleanup): Likewise.
1597 (expand_dcc_cleanup): Likewise.
1598 (expand_dhc_cleanup): Likewise.
1599 (expand_anon_union_decl): Likewise.
1600 (set_file_and_line_for_stmt): New function.
1601 (in_control_zone_p): New function.
1603 * function.h (struct function): Add new elt stmt.
1604 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
1605 case_stack, nesting_stack, nesting_depth, block_start_count,
1606 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
1607 emit_lineno, goto_fixup_chain.
1608 (save_eh_status, restore_eh_status, save_stmt_status,
1609 restore_stmt_status): Delete declarations.
1610 * function.c (push_function_context_to): Don't call save_stmt_status.
1611 (pop_function_context_to): Don't call restore_stmt_status.
1612 * tree.h (in_control_zone_p): Declare.
1613 * rtl.h (set_file_and_line_for_stmt): Declare.
1615 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
1616 call set_file_and_line_for_stmt.
1618 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
1620 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
1621 Also update copyright.
1623 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1625 * c-pragma.c: Don't include "except.h".
1626 * emit-rtl.c: Likewise.
1627 * stor-layout.c: Likewise.
1629 * varasm.c: Likewise.
1631 * flow.c: Include "function.h".
1632 * tree.h (init_dummy_function_start): Declare new function.
1634 * except.h (struct eh_status): New structure.
1635 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
1637 (eh_return_stub_label, ehstack, catchstack, ehqueue,
1638 catch_clauses, false_label_stack, caught_return_label_stack,
1639 protect_list, current_function_ehc): Add accessor macros for the
1640 corresponding fields in current_function->eh; delete declarations
1641 for all items that used to be declared here.
1642 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
1643 catch_clauses, false_label_stack, caught_return_label_stack,
1644 protect_list, current_function_ehc): Delete variables.
1645 (init_eh_for_function): Allocate current_function->eh.
1646 (save_eh_status, restore_eh_status): Delete functions.
1648 * function.h (struct function): Add fields next_global and eh.
1649 Delete all exception handling related fields.
1650 * function.c (current_function): New variable.
1651 (all_functions): New variable.
1652 (push_function_context_to): Don't allocate a struct function,
1653 use current_function instead. Call init_dummy_function_start when
1654 outside a function. Clear current_function before returning.
1655 (pop_function_context_from): Restore current_function.
1656 Don't free the restored struct function.
1657 (prepare_function_start): New function.
1658 (init_dummy_function_start): New function.
1659 (init_function_start): Break out some code into prepare_function_start
1662 * stmt.c (save_stmt_status): Don't call save_eh_status.
1663 (restore_stmt_status): Don't call restore_eh_status.
1665 * Makefile.in: Update dependencies.
1667 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
1669 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
1670 of depending on a magic constant value. Update comments.
1671 (hppa_expand_prologue): Similarly.
1673 * pa.md (reload_indi, reload_outdi): Allow any register for the
1674 original reload register.
1676 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
1678 * cccp.c (print_help): Change marcos to macros.
1680 1999-07-30 Richard Henderson <rth@cygnus.com>
1682 * c-typeck.c (initializer_constant_valid_p): Move ...
1683 * c-common.c (initializer_constant_valid_p): ... here. Use
1684 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
1686 * c-common.h (initializer_constant_valid_p): Declare.
1687 * c-tree.h (initializer_constant_valid_p): Remove.
1689 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
1691 * config/i386/sol2-c1.asm: Align the stack.
1692 * config/i386/sol2-gc1.asm: Likewise.
1694 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
1696 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
1697 -Asparclite for sparc86x.
1698 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
1700 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
1702 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
1704 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
1705 the user if using the non-default arch size in BI_ARCH configuration.
1706 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
1708 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
1709 Fix patterns so that they actually match.
1710 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
1711 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
1712 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
1714 (mulsidi3): Reflect this in the expand.
1715 (smulsi3_highpart): Only on TARGET_ARCH32.
1716 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
1717 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
1718 (umulsidi3): Reflect this in the expand.
1719 (umulsi3_highpart): Only on TARGET_ARCH32.
1720 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
1721 don't require g0 to be zero.
1722 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
1723 ({,u}divsi3): New expands.
1724 ({,u}divsi3_sp64): New patterns.
1725 (after lshrdi3_v8plus): Four new patterns to help combiner
1726 optimizing nested mixed mode shifts.
1728 * config/sparc/sparc.c (sparc_override_options): Use deprecated
1729 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
1730 speed things up. Don't use them by default on plain v9 in 64bit
1731 mode, according to what SPAMv9 sais.
1733 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
1734 top 32 bits of %[og][0-7] in signal handlers.
1735 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
1737 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
1739 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
1740 (ashlsi3): Corresponding changes.
1742 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
1744 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
1746 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
1748 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1750 * arm.h (Hint): Delete macro.
1751 Substitute HOST_WIDE_INT for Hint in some prototypes.
1752 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
1754 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
1756 * builtins.c (expand_builtin_setjmp): Use force_operand to
1757 make sure that the buffer address is in a suitable form to be
1758 passed to force_reg.
1760 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
1762 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
1765 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
1767 * pa.md (indirect_jump): Remove mode from match_operand. Verify
1768 proper mode in the condition string.
1769 (icacheflush, dcacheflush): Remove modes from match_operands.
1771 * pa.c (emit_move_sequence): Always convert scratch_reg to the
1772 proper mode before using it.
1774 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
1777 * pa.c (store_reg): Do not call add_high_const generator directly.
1778 (load_reg, set_reg_plus_d): Likewise.
1779 * pa.md (add_high_const): No longer a named pattern.
1781 * pa.c (legitimize_address): Consistently use Pmode rather than
1782 SImode. Do not call gen_pic2_highpart directly anymore.
1783 * pa.md (pic2_highpart): No longer a named pattern.
1784 (pic2_lo_sum): Similarly. Reformat to make more readable.
1786 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
1791 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1793 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
1795 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
1797 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
1798 and tag the spill mems.
1799 (hppa_va_start): New.
1801 * pa.h (EXPAND_BUILTIN_VA_START): New.
1802 (EXPAND_BUILTIN_VA_ARG): New.
1804 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
1806 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
1807 and tag the spill mems.
1808 (mn10300_va_start): New.
1809 (mn10300_va_arg): New.
1810 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
1811 (EXPAND_BUILTIN_VA_ARG): New.
1813 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
1815 * mn10200.c (mn10200_va_arg): New.
1816 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
1818 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
1820 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
1821 rather than play with TREE_INT_CST_LOW.
1823 1999-07-27 Philip Blundell <pb@nexus.co.uk>
1825 * config/arm/telf.h: Include dbxelf.h.
1826 (CPP_PREDEFINES): Only define if not already defined.
1827 (ASM_IDENTIFY_GCC): Likewise.
1828 (SUBTARGET_EXTRA_SECTIONS): Likewise.
1829 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
1830 * config/arm/thumb.h (LINK_SPEC): Only define if not already
1832 (DBX_DEBUGGING_INFO): Don't define.
1833 * config/arm/linux-telf.h: New file.
1834 * config/arm/linux-tgas.h: New file.
1835 * config/arm/t-thumb-linux: New file.
1836 * config/arm/uclinux-elf.h: New file.
1837 * config/arm/uclinux-telf.h: New file.
1838 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
1839 thumb-*-uclinux): New targets.
1840 * configure: Regenerate.
1842 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
1844 * pa.md (post_store, pre_load): New expanders.
1845 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
1846 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
1847 need to directly generate RTL for them.
1848 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
1851 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
1853 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
1854 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
1855 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
1856 (secndary_reload_class): Make TARGET_ELF conditional compile.
1857 (print_operand_address): Similar.
1858 (output_toc): Print all values as hex.
1859 (get_issue_rate): Rearrange and add RS64A and PPC630.
1860 * rs6000.h (processor_type): Add RS64A and PPC630.
1861 (PROCESSOR_POWERPC64): New.
1862 (PROMOTE_MODE): Use word_mode.
1863 (RTX_COSTS): Add RS64A and PPC630.
1864 * rs6000.md (scheduling information): Add lmul and ldiv
1865 representing 64-bit integer multiply and divide. Add rs64a and
1867 (ashldi3): Add support for "rldic" instruction.
1868 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
1870 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
1872 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
1873 instead of V8 for sparclite86x in cpu_table.
1875 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1877 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
1878 output_file_directive.
1880 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
1882 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
1883 tree for op1, not the rtl.
1885 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
1887 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
1888 to m88k_va_start, leaving only the register spill.
1889 (m88k_build_va_list): New.
1890 (m88k_va_start): New.
1892 * m88k.h (BUILD_VA_LIST_TYPE): New.
1893 (EXPAND_BUILTIN_VA_START): New.
1894 (EXPAND_BUILTIN_VA_ARG): New.
1896 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
1898 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
1899 Rename from expand_builtin_saveregs.
1900 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
1902 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
1904 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
1905 for the register spill block.
1906 (i960_build_va_list): New.
1907 (i960_va_start): New.
1909 * i960.h (BUILD_VA_LIST_TYPE): New.
1910 (EXPAND_BUILTIN_VA_START): New.
1911 (EXPAND_BUILTIN_VA_ARG): New.
1912 * i960.md (store_multiple): Use change_address on individul mems.
1914 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
1916 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
1918 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
1919 (expand_builtin_va_end): Evaluate arg for side effects.
1920 * c-common.c (c_common_nodes_and_builtins): Construct a
1921 va_list_arg_type_node to handle array decomposition to pointer.
1923 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
1925 * except.c (start_dynamic_cleanup): Use force_operand on the
1928 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
1930 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
1931 * c4x.c (c4x_va_arg): New.
1933 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
1935 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
1938 1999-07-26 Nathan Sidwell <nathan@acm.org>
1940 * eh-common.h (__eh_matcher): Prototype correctly.
1942 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
1944 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
1945 (TARGET_SINGLE_PIC_BASE): Likewise.
1946 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
1948 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
1949 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
1950 (TARGET_OPTIONS): Add -mpic-register=N.
1951 (OUTPUT_INT_ADDR_CONST): New macro.
1952 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
1953 LEGITIMATE_PIC_OPERAND_P): Likewise.
1954 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
1955 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
1956 output_addr_const directly.
1957 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
1959 (thumb_pic_register, thumb_pic_register_string): Declare.
1961 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
1963 (label_mentioned_p): New function: Imported from arm.c.
1964 (legitimize_pic_address): New function: Imported from arm.c.
1965 (is_pic):New function: Imported from arm.c.
1966 (thumb_finalize_pic):New function: Imported from arm.c.
1967 (add_constant): Cope with PIC constants.
1968 (fixit): Cope with PIC constants.
1969 (output_return): Do not treat the PIC register as live if
1970 TARGET_SINGLE_PIC_BASE is true.
1971 (thumb_function_prologue): Do not treat the PIC register as live if
1972 TARGET_SINGLE_PIC_BASE is true.
1973 (thumb_expand_prologue): Do not treat the PIC register as live if
1974 TARGET_SINGLE_PIC_BASE is true.
1975 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
1976 TARGET_SINGLE_PIC_BASE is true.
1977 (thumb_print_operand): Accept '|'.
1978 (thumb_override_options): Process PIC options.
1980 * config/arm/thumb.md (movsi): Support PIC.
1981 (call_insn): Change "i" constraint to "X".
1982 (call_value_insn): Likewise.
1983 (consttable_4, consttable_8, consttable_end): Set and clear
1984 "making_const_table" as appropriate.
1985 (pic_load_addr, pic_add_dot_plus_four): New insns.
1987 * invoke.texi (Thumb Options): Fix spelling. Document new
1988 options -msingle-pic-base and -mpic-register=.
1990 1999-07-26 Andrew Haley <aph@cygnus.com>
1992 * config/m32r/initfini.c (__init): Use a full word immediate for
1993 __fini: this allows it to be placed in any memory region.
1995 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
1996 -mmodel=medium. This is OK for all memory models.
1998 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
2000 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
2001 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
2003 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
2005 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
2008 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
2010 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
2012 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
2013 (BUILD_VA_LIST_TYPE): New.
2014 (EXPAND_BUILTIN_VA_START): New.
2015 (EXPAND_BUILTIN_VA_ARG): New.
2016 * i860.c (output_delayed_branch): Disable.
2017 (output_delay_insn): Likewise.
2018 (i860_saveregs): New.
2019 (i860_build_va_list): New.
2020 (i860_va_start): New.
2022 * i860.md: Disable all peepholes using output_delayed_branch.
2023 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
2025 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
2027 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
2028 (BUILD_VA_LIST_TYPE): New.
2029 (EXPAND_BUILTIN_VA_START): New.
2030 (EXPAND_BUILTIN_VA_ARG): New.
2031 * clipper.c (clipper_builtin_saveregs): Only dump registers.
2032 Return the address of the save area.
2033 (clipper_build_va_list): New.
2034 (clipper_va_start): New.
2035 (clipper_va_arg): New.
2037 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
2039 * arc.h (EXPAND_BUILTIN_VA_START): New.
2040 (EXPAND_BUILTIN_VA_ARG): New.
2041 * arc.c (arc_setup_incoming_varargs): Set alias set of
2043 (arc_va_start): New.
2046 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
2048 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
2049 (BUILD_VA_LIST_TYPE): New.
2050 (EXPAND_BUILTIN_VA_START): New.
2051 (EXPAND_BUILTIN_VA_ARG): New.
2052 * alpha.c (alpha_builtin_saveregs): Delete.
2053 (alpha_build_va_list): New.
2054 (alpha_va_start): New.
2055 (alpha_va_arg): New.
2057 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
2059 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
2061 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
2062 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
2064 * gcc.texi: More changes related to list conversion.
2065 * invoke.texi: Likewise.
2067 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
2069 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
2070 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
2071 (expand_builtin_next_arg): Accept ARGLIST not EXP.
2072 (stabilize_va_list): New function.
2073 (std_expand_builtin_va_start): New function.
2074 (expand_builtin_va_start): New function.
2075 (get_varargs_alias_set): New function.
2076 (std_expand_builtin_va_arg): New function.
2077 (expand_builtin_va_arg): New function.
2078 (expand_builtin_va_end): New function.
2079 (expand_builtin_va_copy): New function.
2080 (expand_builtin): Call them.
2081 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
2082 __builtin_{varargs_start,stdarg_start,end,copy}.
2083 (build_va_arg): New function.
2084 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
2085 (build_va_arg): Declare.
2086 * c-decl.c (ptr_type_node, va_list_type_node): New.
2087 * c-parse.gperf (__builtin_va_arg): New.
2088 * c-parse.in (VA_ARG): New token.
2089 (unary_expr): Recognize it.
2090 * expr.c (expand_expr): Expand VA_ARG_EXPR.
2091 * expr.h (std_expand_builtin_va_start): Declare.
2092 (std_expand_builtin_va_arg): Declare.
2093 (expand_builtin_va_arg): Declare.
2094 (get_varargs_alias_set): Declare.
2095 * tree.def (VA_ARG_EXPR): New.
2096 * tree.h (BUILT_IN_VARARGS_START): New.
2097 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
2098 (ptr_type_node, va_list_type_node): Declare.
2099 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
2100 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
2101 * m88k.h, m88k.c: Likewise.
2102 * mn10300.h, mn10300.c: Likewise.
2103 * pa.h, pa.c: Likewise.
2104 * rs6000.h, rs6000.c: Likewise.
2105 * sh.h, sh.c: Likewise.
2106 * sparc.h, sparc.c: Likewise.
2108 * emit-rtl.c (operand_subword): Copy alias set.
2109 (change_address): Likewise.
2111 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
2113 * pa.c (compute_frame_size): Scan all the used callee saved registers,
2114 not just the first one.
2116 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
2118 * config/arm/arm.h (TARGET_SWITCHES): Add
2119 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
2120 (TARGET_OPTIONS): Add -mpic-register=.
2121 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
2122 (arm_pic_register_string): Declare.
2123 (NEED_PLT_GOT): Delete, replace with ...
2124 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
2125 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
2126 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
2127 * config/arm/arm.c (arm_override_options): Add new option
2129 (arm_pic_register_string): New variable.
2130 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
2131 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
2132 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
2133 (output_return_instruction): Likewise.
2134 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
2135 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
2136 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
2138 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
2139 mention of -msched-prolog. Document new options -msingle-pic-base
2140 and -mpic-register=.
2142 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
2144 * haifa-sched.c (reemit_notes): Tidy.
2145 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
2148 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
2150 * explow.c (trunc_int_for_mode): New function.
2151 (plus_constant_wide): Use it.
2152 * combine.c (simplify_and_const_int): Likewise.
2153 (merge_outer_ops): Likewise.
2154 (simplify_shift_const): Likewise.
2155 * cse.c (simplify_unary_operation): Likewise.
2156 (simplify_binary_operation): Likewise.
2157 * emit-rtl.c (operand_subword): Likewise.
2158 * rtl.h: Declare it.
2160 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2162 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
2163 (use NUM_REGS instead of NUM_INTS).
2165 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2167 * builtins.c: New file.
2168 * expr.c (saveregs_value, apply_args_value): Delete definition,
2169 moved into builtins.c.
2170 (string_constant): No longer static.
2171 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
2172 apply_args_size, apply_result_size, result_vector,
2173 expand_builtin_apply_args, expand_builtin_apply,
2174 expand_builtin_return): Delete functions, moved into builtins.c.
2175 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
2176 * expr.h (saveregs_value, apply_args_value): Declare variables.
2177 (expand_builtin, string_constant): Declare functions.
2178 * Makefile.in: Update to build builtin.o.
2180 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
2182 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
2183 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
2184 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
2185 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
2187 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
2190 1999-07-21 Michael Meissner <meissner@cygnus.com>
2192 * print-rtl.c (print_rtx): Print the names of the virtual
2195 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
2197 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
2198 introduced in previous delta.
2200 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2202 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
2203 to avoid name clash.
2205 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
2207 * c-lex.c (yylex) : Correct the test for overflow when lexing
2210 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
2212 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
2213 (adjust_priority): Always call ADJUST_PRIORITY.
2214 (schedule_insn): Only put insns into the ready at cost 0.
2215 (schedule_block): Remove redundant initial sort. Give clock_var
2216 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
2218 * tm.texi (MD_SCHED_REORDER): Update docs.
2220 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
2221 * sparc.c (ultra_reorder_called_this_block): Delete.
2222 (ultrasparc_sched_init): Don't set it.
2223 (ultrasparc_sched_reorder): Don't check it.
2225 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
2227 * rs6000.h (struct rs6000_args): Add sysv_gregno.
2228 * rs6000.c (init_cumulative_args): Init sysv_gregno.
2229 (function_arg_boundary): Align DFmode.
2230 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
2231 to get fp reg and stack overflow correct.
2232 (function_arg): Likewise.
2233 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
2234 (setup_incoming_varargs): Restructure for ABI_V4; use
2235 function_arg_advance to skip final named argument.
2236 (expand_builtin_saveregs): Properly unskip the last integer arg
2237 when doing varargs. Adjust overflow location calculation.
2239 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
2240 explicitly unsigned.
2241 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
2242 (__VA_GP_REGSAVE): Similarly.
2243 (__va_longlong_p): Delete.
2244 (__va_arg_type_violation): New declaration.
2245 (va_arg): Restructure. Flag promotion errors. Align double.
2246 TFmode passed by reference.
2248 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
2249 in the HOST_BITS_PER_WIDE_INT > 32 case.
2251 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
2253 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
2255 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
2257 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
2258 * toplev.c (documented_lang_options): Add -fpreprocessed.
2259 * cpplib.h (struct cpp_buffer): Add preprocessed.
2260 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
2261 (cpp_start_read): Don't expand macros or emit an initial #line
2262 directive if -fpreprocessed.
2264 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
2266 * cpplib.h (struct cpp_buffer): Added manual_pop for
2267 better C++ tokenization.
2268 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
2269 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
2270 * c-common.c (cpp_token): Make non-static.
2272 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2274 * c-common.h: New file.
2275 * c-common.c (permanent_obstack): Delete unused declaration.
2276 (c_global_trees): New array.
2277 (c_common_nodes_and_builtins): New function; split off common code
2278 from init_decl_processing in both c-decl.c and cp/decl.c.
2279 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
2280 c_global_trees and accessor macros defined in c-common.h.
2282 * c-decl.c: Delete definitions for tree nodes that were replaced by
2284 (init_decl_processing): Build void_list_node.
2285 Call c_common_nodes_and_builtins; delete code to generate the common
2287 * objc/objc-act.c (build_module_descriptor): Rename variable
2288 void_list_node to avoid clash with c-common.h.
2290 * Makefile.in: Update dependencies.
2291 * objc/Make-lang.in: Likewise.
2293 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
2295 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
2296 (UNIQUE_SECTION_P): Likewise.
2297 (UNIQUE_SECTION): Likewise.
2299 1999-07-19 Linas Vepstas <linas@linas.org>
2301 * config/i370/README: New file.
2302 * config/i370/linux.h: New file.
2303 * config/i370/mvs.h: New file.
2304 * config/i370/oe.h: New file.
2305 * config/i370/t-linux: New file.
2306 * config/i370/t-mvs: New file.
2307 * config/i370/t-oe: New file.
2308 * config/i370/x-oe: New file.
2309 * config/i370/xm-linux.h: New file.
2310 * config/i370/xm-mvs.h: New file.
2311 * config/i370/xm-oe.h: New file.
2313 * i370.c (label_node_t): Add first_ref_page, label_addr,
2314 label_first_ref, label_last_ref members.
2315 (mvs_need_base_reload): Renamed from mvs_label_emitted.
2316 (MAX_MVS_LABEL_SIZE): Define.
2317 (MAX_LONG_LABEL_SIZE): Define.
2318 (alias_node_t, alias_anchor, alias_number): New.
2319 (mvs_function_table): Reorder for EBCDIC.
2320 (ascebc, ebcasc): Unconditionally define.
2321 (i370_branch_dest, i370_branch_length): New functions.
2322 (i370_short_branch, i370_label_scan): New functions.
2323 (mvs_get_label): Renamed from mvs_add_label. Search for
2324 an existing label before creating a new one.
2325 (mvs_add_label): New function.
2326 (mvs_get_label_page): New function.
2327 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
2328 over the entire list.
2329 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
2330 (mvs_check_page) [TARGET_ELF_ABI]: New function.
2331 (mvs_add_alias, mvs_need_alias): New functions.
2332 (mvs_get_alias, mvs_check_alias): New functions.
2333 (handle_pragma): New function.
2334 (mvs_function_check): New function.
2335 (unsigned_jump_follows_p): Search harder.
2336 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
2337 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
2338 * i370.h (TARGET_VERSION): Delete.
2339 (CPP_SPEC, CPP_PREDEFINES): Delete.
2340 (mvs_label_emitted): Delete.
2341 (TARGET_EBCDIC): Delete.
2342 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
2343 (HANDLE_PRAGMA): Define.
2344 (HARD_REGNO_NREGS): Handle complex modes.
2345 (HARD_REGNO_MODE_OK): Likewise.
2346 (CLASS_MAX_NREGS): Likewise.
2347 (RET_REG): Likewise.
2348 (EXTRA_CONSTRAINT): Define.
2349 (RETURN_IN_MEMORY): True for DImode.
2350 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
2351 (FUNCTION_PROFILER): Delete.
2352 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
2353 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
2354 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
2355 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
2356 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
2357 (ASM_FILE_START): Add "RMODE ANY".
2358 (ASM_OUTPUT_EXTERNAL): Check for aliases.
2359 (ASM_GLOBALIZE_LABEL): Likewise.
2360 (ASM_OUTPUT_LABELREF): Likewise.
2361 (ASM_OUTPUT_COMMON): Likewise.
2362 (PRINT_OPERAND): Handle 'K', 'W', default.
2363 (PRINT_OPERAND_ADDRESS): New.
2364 (Lots of defines): Add support for TARGET_ELF_ABI.
2365 * i370.md (attr length): New. Define for all patterns.
2366 (*): Lots of tweeks to assembly output and constraints.
2368 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
2370 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
2371 Disable patterns performing SImode comparisons with SImode values
2372 if TARGET_POWERPC64 and instruction does not sign-extend or does
2373 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
2374 differ for signed quantities.
2375 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
2376 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
2377 (decrement_and_branch_on_count): Add 64-bit variant.
2379 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2381 * final.c (output_asm_insn): When searching for the matching string
2382 for a given dialect, don't run past the end of the list of
2383 alternatives if there are fewer alternatives in the template than
2386 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
2388 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
2389 Removed paragraph about compression of files and size limitation,
2390 duplicated in the FAQ. Use gcc-patches for posting patches.
2391 * gcc.c (main): Updated URL with bug reporting instructions to
2392 gcc.gnu.org. Removed e-mail address.
2393 * system.h (abort): Likewise.
2395 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2397 * Makefile.in (stmp-multilib-sub): Make the files extracted
2398 from $(LIBGCC1) writable.
2400 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
2402 * config/arm/aout.h: Reformat for improved readability.
2404 * config/arm/arm.h: Reformat for improved readability.
2405 Replace uses of fprintf with asm_fprintf where appropriate.
2406 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
2407 function declaration assembler actions.
2408 (NUM_INTS): New macro: Convert from bytes to words.
2409 (NUM_REGS): New macro: Compute number of registers required to
2410 hold a quanitity of tyep MODE.
2411 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
2413 (NUM_ARG_REGS): New macro: The number of argument registers
2415 (ARG_REGISTER): New macro: Compute the register number of the Nth
2417 (LAST_ARG_REGNUM): New macro: The number of the last argument
2419 (SP_REGNUM): New macro: Register number of the stack pointer.
2420 (FP_REGNUM): New macro: Register number of the frame pointer.
2421 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
2422 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
2423 CUMULATIVE_ARGS so that it counts registers not bytes.
2425 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
2427 Replace uses of fprintf with asm_fprintf where appropriate.
2428 (output_ascii_pseudo_op): Replace with version from thumb.c
2430 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
2432 * config/arm/elf.h (CPP_PREDEFINES): Replace with
2434 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
2435 (ASM_FILE_START): Emit ASM_APP_OFF.
2437 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
2439 * pa.c (compute_frame_size): Round frame according to
2440 STACK_BOUNDARY rather than a hardwired value.
2442 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
2444 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
2446 * configure: Rebuilt.
2448 * configure.in (hppa*-*-linux*): New configuration.
2449 * configure: Rebuilt.
2450 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
2451 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
2452 * pa/pa-linux.h: New file.
2453 * pa/t-linux: New file.
2454 * pa/xm-linux.h: New file.
2456 * pa.c (hppa_legitimize_address): Change references from SImode to
2457 either Pmode or word_mode as appropriate.
2458 (emit_move_sequence, store_reg, load_reg): Likewise.
2459 (set_reg_plus_d, hppa_expand_prologue): Likewise.
2460 (output_mul_insn): Likewise.
2461 * pa.h (PROMOTE_MODE): Likewise.
2462 (INITIALZE_TRAMPOLINE): Likewise.
2463 (Pmode): Define to word_mode.
2465 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
2466 value of 4. Allocate 8 bytes for each FP register save.
2467 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
2469 (hppa_expand_prologue): Likewise.
2470 * pa.h (PROMOTE_MODE): Likewise.
2471 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
2472 (FUNCTION_ARG_BOUNDARY): Likewise.
2474 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
2476 * pa.c (out_of_line_prologue_epilogue): Delete.
2477 (override_options): Remove -mspace related code.
2478 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
2479 (compute_frame_size): Only allocate space for register that
2480 actually need to be saved.
2481 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
2482 (TARGET_SWITCHES): Remove -mspace, -mno-space
2483 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
2484 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
2485 * pa/ee.asm, pa/ee_fp.asm: Delete.
2487 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
2489 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
2490 directive in column zero.
2492 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
2494 * m68k.c (output_function_prologue): Fix computation of save mask
2495 when generating PIC code.
2497 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
2499 * tree.c (build_type_attribute_variant): Move current_obstack restore
2500 after build_qualified_type call.
2502 1999-07-15 Mark Mitchell <mark@codesourcery.com>
2504 * configure.in: Use t-iris6, even with GNU LD.
2505 * config/mips/iris6gld.h: Fix typo in linker spec.
2506 * config/mips/t-iris6gld: Remove.
2508 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
2510 * rs6000.md (insv, extzv): Remove SImode dependence in named
2511 patterns. Explicitly generate DImode RTL if PowerPC64 and
2513 (insvdi): Reverse start and size in instruction template.
2515 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
2517 * invoke.texi: Typo fixes.
2519 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
2521 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
2522 handle at this time instead of silently generating incorrect code.
2523 (gen_imagpart): Likewise.
2525 * reload.c (find_reloads): Emit a USE for a pseudo register without
2526 a hard register if we could not create an optional reload for the
2529 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2531 * c-typeck.c (output_init_element, process_init_element):
2532 When advancing constructor_unfilled_fields for a RECORD_TYPE,
2533 check for nameless bit fields.
2535 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
2537 * regclass.c (scan_one_insn): Notice subregs that change the
2538 size of their operand.
2539 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
2541 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
2543 * configure.in (alpha*-*-*): Include alpha/t-ieee.
2544 * configure: Rebuilt.
2545 * alpha/t-ieee: New file.
2547 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
2549 * rs6000.c (find_addr_reg): Do not select r0 as an address
2552 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
2554 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
2556 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
2558 * rs6000.md (movsf): Do not force easy FP constants into memory.
2560 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
2561 immed_double_const to ensure they are properly truncated then
2564 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
2566 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
2567 always unless NO_DEBUG is used. Compile this code
2569 (replace_symbols_in_block): Compile it unconditionally.
2571 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
2573 * configure.in (i?86-*-elf*): New target.
2574 * configure: Rebuilt.
2575 * i386/i386elf.h, i386/t-i386elf: New files.
2577 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
2579 * toplev.c (main): Don't complain about saying -gdwarf.
2580 (rest_of_compilation): Remove redundant code.
2582 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
2584 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
2586 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
2588 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
2589 "Li960R:", to avoid name clash.
2591 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2593 * loop.c (check_dbra_loop): When reversing a loop, delete all
2594 REG_EQUAL notes referencing the reversed biv except those which are
2595 for a giv based on it.
2597 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
2599 * version.c: Drop "gcc-" prefix from version #.
2601 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
2603 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
2604 the label if we're being verbose.
2606 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
2608 * m68k.c (output_function_prologue): Add pic register to mask
2609 if live and flag_pic.
2610 (output_function_epilogue): Likewise.
2612 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
2614 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
2615 directives in column zero.
2617 * pa/elf.h (ASM_FILE_START): Define.
2618 * pa/som.h (ASM_FILE_START): Include .level directives.
2619 * pa/hpux10.h (ASM_FILE_START): Delete.
2620 * pa/hpux11.h (ASM_FILE_START): Delete.
2622 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
2624 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2626 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
2627 when reload_out equals reload_in.
2629 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
2631 * invoke.texi (Spec Files): New node: Describe the contents of
2634 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
2636 * invoke.texi (DEC Alpha Options): Put @end table at
2637 beginning of line, to avoid confusing texi2html.
2639 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
2641 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
2642 introduced in previous delta.
2644 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2646 * reload1.c (gen_reload): When synthesizing a 3 operand add
2647 sequence, improve test for when to reload OP1 into the reload
2648 register instead of OP0.
2650 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
2652 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
2654 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
2656 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
2659 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
2661 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
2662 (va_dcl): Use __builtin_va_alist_t.
2664 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
2666 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
2667 on the permanent_obstack.
2668 * dwarfout.c (output_type): Likewise.
2670 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
2672 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
2673 Merged from c-typeck.c and cp/typeck.c.
2674 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
2675 Merged into c-common.
2677 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
2679 * c-lex.c (errorcount): Declare it.
2680 (finish_parse): Update errorcount when using CPPLIB.
2682 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
2684 * fixinc/inclhack.def(end_else_label): Double the backslash so
2685 sed gets a chance to see it.
2686 * fixinc/inclhack.sh: regen
2687 * fixinc/fixincl.x: regen
2689 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
2691 Add framework to support armv5 architecture when it becomes
2694 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
2695 (arm_arch5): New variable.
2696 (all_architectures): Add armv5 line.
2697 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
2698 -march=armv5 is specified on the command line.
2699 (arm_arch5): Export this variable.
2700 * invoke.texi: Document new string accepted by -march= switch for
2703 * config/arm/arm.h: Replace use of constant 12 as a register
2704 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
2705 * config/arm/arm.c: Replace use of constant 12 as a register
2706 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
2708 * config/arm/elf.h: Tidy up.
2709 * config/arm/coff.h: Tidy up.
2711 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
2713 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
2714 * gcc/config/mips/t-iris6gld: New file.
2715 * gcc/config/mips/iris6gld.h: Likewise.
2717 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
2719 * c-decl.c (widest_integer_literal_type_node,
2720 widest_unsigned_literal_type) : New.
2721 (init_decl_processing): Handle/use the two new types.
2722 * c-common.c (type_for_size,type_for_mode) : Same.
2723 * c-lex.c (yylex) : Same.
2724 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
2726 * c-tree.h (widest_integer_literal_type_node,
2727 widest_unsigned_literal_type) : New.
2729 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
2731 * dwarfout.c (field_byte_offset): Correctly compute the object's
2732 byte offset for the first bit of a field which crosses an alignment
2733 boundary on a !BYTES_BIG_ENDIAN target.
2735 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
2737 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
2740 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
2741 Jeff Law <law@cygnus.com>
2743 * ginclude/varargs.h (va_dcl): Use word_mode for type of
2746 * except.c: Include intl.h.
2747 (expand_eh_return): Set current_function_cannot_inline.
2748 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
2749 * function.h (struct function): Add eh_return_stub_label.
2750 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
2751 * Makefile.in (except.o): Depend on intl.h.
2753 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
2755 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
2756 same as offsettable in cases 1 and 2.
2758 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
2760 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
2761 (extlh, extwh): Likewise.
2763 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
2765 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
2767 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
2769 * configure.in: Add arm-pe and thumb-pe targets.
2770 * configure: Regenerate.
2772 * thumb.c (arm_naked_function_p): New function: Determines if
2773 a function is naked (has no gcc generated prologue/epilogue).
2774 (is_called_in_ARM_mode): Return true if the func has the
2775 interfacearm attribute.
2776 (output_return): Do not generate a return for naked functions.
2777 (thumb_function_prologue): Do not generate a prologue for
2779 (thumb_expand_prologue): Do not generate a prologue for naked
2781 (thumb_expand_epilogue): Do not generate an epilogue for naked
2783 (arm_valid_machine_decl_attribute): New function, copied from
2784 arm.c: Permit naked and interfacearm attributes.
2786 * config/arm/pe.c: New file: Support code for arm-pe target.
2787 * config/arm/pe.h: New file: Header file for arm-pe target.
2788 * config/arm/tpe.h: New file: Header file for thumb-pe target.
2789 * config/arm/t-thumb-pe: New file: Makefile fragment for
2792 1999-07-01 Mark Kettenis <kettenis@gnu.org>
2794 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
2795 -fPIC or -fpic is specified.
2797 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
2799 * expr.c (emit_block_move): Use copy_to_mode_reg for
2800 !TARGET_MEM_FUNCTIONS case too.
2802 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
2804 * configure: Rebuilt.
2805 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
2806 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
2807 definitions made redundant by dbxelf.h inclusion. Delete
2808 lots of definitions related to assembly output that are
2809 specific to the SOM object format.
2810 * pa.c (output_function_prologue): Do not emit the function's
2812 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
2813 * pa-pro.h: Deleted.
2814 * som.h: New file with SOM specific definitions.
2815 * elf.h: New file with ELF specific definitions.
2817 * elfos.h (const_section): Output a tab before assembler directives.
2818 (ctors_section, dtors_section): Likewise.
2819 (ASM_OUTPUT_SECTION_NAME): Likewise.
2821 * pa/pa1.h: Delete unused file.
2823 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
2825 * configure.in (hppa*-hp-hpux11*): New configuration.
2826 * configure: Rebuilt.
2827 * pa/pa-hpux11.h: New file.
2828 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
2831 * mips.md (leasi, leadi): New patterns.
2833 * expr.c (emit_block_move): Properly handle case where one of the
2834 block move arguments has a queued increment or decrement.
2835 (clear_storage): Similarly. Fix formatting goof.
2837 1999-06-28 "David O'Brien" <obrien@NUXI.com>
2839 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
2840 semicolon from the BSD VA_LIST replacement expression.
2842 * fixinc/inclhack.sh: regen
2843 * fixinc/fixincl.x: regen
2845 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
2846 now use the fixincl program.
2848 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
2850 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
2851 case. Also make the PIC register call_used.
2853 * m68k.h (FINALIZE_PIC): Delete.
2854 * m68k.c (finalize_pic): Delete.
2856 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
2858 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
2861 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
2863 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
2865 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
2867 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
2869 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
2871 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
2873 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
2875 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
2877 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
2879 * rs6000.c (output_toc): Always use hex values for floating-point
2880 constants. Store single-precision values in upper-half of TOC
2881 entry in 64-bit mode.
2882 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
2883 to final constraints.
2884 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
2885 (fctiwz): Improve accuracy of RTL for pattern.
2887 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
2889 * expr.c (expand_expr): Allow RTL_EXPR's through the
2890 MAX_INTEGER_COMPUTATION_MODE checks.
2892 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
2894 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
2895 such that MASK_SUPPORT_ARCH is not negative.
2897 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
2899 * loop.c (verify_dominator): Properly handle ADDR_VEC and
2900 ADDR_DIFF_VEC insns that appear inside loops.
2902 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
2903 Jeff Law <law@cygnus.com>
2905 * rs6000.md (movdf_hardfloat32): Revert previous patch.
2906 Handle LO_SUM the same as offsettable in cases 1 and 2.
2907 * rs6000.c (find_addr_reg): Revert previous patch.
2909 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
2911 * system.h (strstr): New external function declaration.
2912 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
2913 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
2914 * config.in, configure: Rebuilt.
2916 1999-06-24 Tom Tromey <tromey@cygnus.com>
2918 * gcc.c (main): Read user-specified specs files after computing
2919 additional startfile_prefixes.
2921 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
2923 Revert these two patches:
2925 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2926 * loop.c (strength_reduce): When doing biv->giv conversion, update
2927 reg note of NEXT->insn.
2929 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2930 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
2932 (recombine_givs): Set ix field after sorting.
2934 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2936 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
2937 for the parts of an UNSPEC / UNSPEC_VOLATILE.
2939 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
2941 *fixinc/inclhack.def: Add fix development commentary
2942 (read_ret_type): reactivate and add selection clause
2943 (zzz_*): tweak output file name to match what is used in hackshell.tpl
2944 *fixinc/{fixincl.x|inclhack.sh}: regen
2946 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
2948 * expr.c (expand_expr): STRIP_NOPS before checking against
2949 MAX_INTEGER_COMPUTATION_MODE
2950 (check_max_integer_computation_mode): Likewise.
2952 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
2954 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
2956 1999-06-22 Jim Wilson <wilson@cygnus.com>
2958 * expr.c (store_expr): When target is a promoted subreg, return a
2959 promoted subreg as a result.
2961 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
2963 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
2965 (dwarf2out_define): Mark unused parameters appropriately.
2966 (gen_unspecified_parameters_die): Ditto.
2967 (gen_subprogram_die): Fix signed/unsigned warnings.
2968 (gen_variable_die): Ditto.
2970 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
2972 * fixinc/inclhack.def(end_else_label): combined else_label
2973 and endif_label and fixed the sed expression.
2974 *fixinc/{fixincl.x|inclhack.sh}: regen
2976 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
2978 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
2979 'x' when handling non-offsettable addresses
2981 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
2983 * final.c (shorten_branches): Don't try to split an insn that has
2986 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
2988 * config/mips/mips.c (symbolic_expression_p): New function.
2989 (mips_select_rtx_section): Put symbolic expressions in the
2990 data section, not the read-only data section.
2992 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
2994 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
2996 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
2998 * collect2.c (main): Log frame table count.
2999 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
3000 (scan_prog_file) [COFF]: Handle frame tables.
3002 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
3003 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
3004 * alpha/elf.h: Undef them again.
3005 * alpha/vms.h: Remove their definitions.
3007 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3009 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
3010 remove the clobber of r0 and change the REG_UNUSED note to
3013 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
3015 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
3016 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
3017 fits in HOST_WIDE_INT and one uses union to access a long constant
3020 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
3022 * sparc.c (sparc_override_options): Don't allow profiling for
3023 code models other than medlow.
3024 (sparc_function_profiler): New function from old FUNCTION_PROFILER
3025 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
3026 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
3027 (sparc_block_profiler): Likewise.
3028 (sparc_function_block_profiler_exit): Likewise.
3029 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
3030 (FUNCTION_BLOCK_PROFILER): Likewise.
3031 (BLOCK_PROFILER): Likewise.
3032 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
3033 (MCOUNT_FUNCTION): New.
3034 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
3035 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
3036 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
3037 (MCOUNT_FUNCTION): New.
3038 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
3039 (BLOCK_PROFILER): Delete.
3040 (MCOUNT_FUNCTION): New.
3042 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
3044 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
3046 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
3048 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3051 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3054 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3057 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
3060 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
3062 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
3065 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
3067 * i386/djgpp.h (LIB_SPEC): New.
3068 (STARTFILE_SPEC): New.
3070 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
3072 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
3074 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
3077 * system.h (WSTOPSIG): New macro.
3079 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
3081 * c-pragma.c (push_alignment): Don't ignore alignments greater than
3083 (insert_pack_attributes): Take into account member natural
3086 * i386/winnt.c (exports_head): New static variable.
3087 (i386_pe_record_exported_symbol): New function.
3088 (i386_pe_asm_file_end): Use.
3089 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
3090 symbols to be emitted at end of assembly.
3091 (ASM_DECLARE_OBJECT_NAME): Likewise.
3092 (ASM_DECLARE_FUNCTION_NAME): Likewise.
3094 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
3097 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
3099 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
3102 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
3104 * haifa-sched.c (sched_analyze_1): Use free_list instead of
3105 zapping reg_last_uses directly.
3106 (sched_analyze_2, sched_analyze_insn): Likewise.
3107 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
3109 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
3111 * rs6000.md (movdf_hardfloat32): Use worst case insn length
3112 attributes for cases 1 and 2.
3114 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
3116 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
3119 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
3121 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
3123 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
3125 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
3126 PIC_OFFSET_TABLE_REGNUM for general alloaction.
3127 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
3128 must be stacked if it is used for PIC accesses.
3129 * arm.c (use_return_insn): Handle PIC register specially.
3130 (output_return_instruction): Likewise.
3131 (output_func_{prologue,epilogue}): Likewise.
3132 (output_expand_prologue): Likewise.
3134 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
3135 (*strsi_predec): Renamed from *strqi_predec.
3136 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
3137 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
3139 * arm.c (arm_override_options): Remove warning about PIC code
3140 not being supported.
3142 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
3144 * rs6000.c (find_addr_reg): New function.
3145 * rs6000.h (find_addr_reg): Declare.
3146 (offsettable_addr_operand): Delete.
3147 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
3148 from and stores to GPRs.
3150 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
3152 * alpha.c (alpha_expand_block_move): Use get_insns rather than
3153 gen_sequence as argument to emit_no_conflict_block.
3155 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3157 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
3158 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
3159 *fixinc/fixincl.x: regen
3160 *fixinc/inclhack.sh: regen
3162 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
3164 * added support for -mpcrel (PC relative addressing for m68k)
3165 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
3166 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
3167 * m68k.c (print_operand_address): Handle 32-bit PIC case.
3168 (comments for general_src_operand): Add some explanation
3169 about EXTRA_CONSTRAINTS.
3170 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
3171 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
3172 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
3173 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
3174 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
3175 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
3176 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
3178 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
3179 * m68k.h (TARGET_PCREL): New target flag.
3180 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
3181 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
3182 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
3183 contains a SYMBOL_REF. Relax this constraint during reload, since
3184 we want to use the predicates, not reload's built-in concept of a
3185 valid memory address, to control what insns need reloading.
3186 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
3187 operands (essentially 'g', 'm', and 's' under normal circumstances).
3188 * m68k.c (print_operand): Cause printing of pc-relative addresses
3189 to include pc register.
3190 (print_operand_address): Ditto.
3191 (general_src_operand): Accept operands that are not only
3192 general_operands, but are also valid when used as a pc-relative
3194 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
3195 (memory_src_operand): Similar, for memory_operands.
3196 (pcrel_address): New predicate to accept the special case of a
3197 pc-relative address.
3198 * m68k.md (many patterns): Rewrite common SImode, HImode, and
3199 QImode insns to accept *_src_operand instead of *_operand where
3200 pc-relative operands can fit. For example, a pc-relative operand
3201 can be used as a memory source operand for addsi3, but not as a
3203 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
3205 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
3207 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
3208 .thumb_set pseudo op to mark aliases of thumb functions.
3210 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
3212 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
3213 preference to ASM_OUTPUT_DEF, if it is defined.
3215 * tm.texi: Document new, optional target macro
3216 ASM_OUTPUT_DEF_FROM_DECLS.
3218 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3220 * fixincludes: ISCNTL patch
3221 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
3222 (dgux_int_varargs): new for DG/UX
3223 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
3225 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
3227 * invoke.texi (ia32 options): Fix typo.
3229 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3231 * loop.c (strength_reduce): When doing biv->giv conversion, update
3232 reg note of NEXT->insn.
3234 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
3236 * loop.c (move_movables): Note issues with replacing REGs with
3238 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
3240 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
3242 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
3244 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
3245 the reference to `mcount' was not correct for the ELF on FreeBSD.
3247 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3249 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
3252 (recombine_givs): Set ix field after sorting.
3254 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
3256 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
3257 to safe to extract a subword out of a REG.
3259 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3261 * sh.md (mulsi3): Don't add a no-op move at the end.
3263 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3265 * cse.c (cse_insn): Don't put hard register source into tables for
3266 the last insn of a libcall.
3268 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3270 * loop.c (strength_reduce): Insert sets of derived givs at every
3271 biv increment, even if it's the only one.
3273 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
3275 * dwarfout.c (add_incomplete_type): New fn.
3276 (output_type): Call it.
3277 (retry_incomplete_types): New fn.
3278 (dwarfout_finish): Call it.
3280 From Eric Raskin <ehr@listworks.com>:
3281 (output_type): Output types for bases.
3283 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
3285 * mips.c (mips_output_conditional_branch): Add `break'
3286 between `default' label and `close braces'.
3288 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
3290 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
3291 specifications and make it realistic.
3292 (LIB_SPEC): Likewise.
3294 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
3296 * config/mips/mips.c (mips_secondary_reload_class): Check for
3297 (PLUS (SP) (REG)) and return appropriate register class.
3298 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
3299 Handle (PLUS (SP) (REG)).
3300 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
3301 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
3302 of emit_insn for tablejump.
3304 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
3306 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
3307 asm_fprintf format string by itself.
3308 (output_function_profiler): Likewise.
3310 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
3312 * combine.c (simplify_logical, case AND): Only call
3313 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
3314 or the constant is positive.
3316 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
3318 * configure.in: Fix typo in rs6000-ibm-aix4 case.
3319 * configure: Regenerate.
3321 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
3323 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
3324 require a sub-version #.
3325 * configure: Rebuilt.
3327 1999-06-14 Robert Lipe (robertlipe@usa.net)
3329 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
3331 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
3333 * c-typeck.c (process_init_element): Detect excess elements in
3334 char array initializer.
3336 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3338 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
3340 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3342 * invoke.texi (Option Summary): Add -fpermissive flag.
3344 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
3346 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
3347 that require PIC code sequences.
3349 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
3351 * configure.in: Add new target: thumb-elf.
3352 * configure: Regenerate.
3353 * config/arm/t-thumb-elf: New file: Makefile fragment for
3355 * config/arm/telf.h: New file: Header file for thumb-elf
3358 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
3360 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
3361 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
3362 initializers is some circumstances.
3364 * fixinc/inclhack.def (endif_label): Add additional selector for
3365 more bogus stuff after #endif statements.
3366 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
3368 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
3370 * i386/cygwin.h (SET_ASM_OP): Define.
3372 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
3374 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
3376 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3378 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
3381 * sh.md (ic_invalidate_line_i): Remove second alternative.
3383 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3385 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
3386 test for the presence of valid prototypes. Delete bypass expr.
3387 (ioctl_fix_ctrl): Correct the selection expression.
3388 (no_double_slash): Correct quoting rules
3389 *fixinc/fixincl.x: regen
3390 *fixinc/inclhack.sh: regen
3392 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
3394 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
3396 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3398 * rs6000.md (movsi_got_internal_mem): Delete.
3399 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
3400 (GOT_TOC_REGNUM): Delete.
3401 (PIC_OFFSET_TABLE_REGNUM): Define.
3402 (FINALIZE_PIC): Disable.
3403 * rs6000.c (rs6000_got_register): New code for fixed pic register.
3404 (rs6000_replace_regno): Delete.
3405 (rs6000_finalize_pic): Likewise.
3406 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
3408 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3410 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
3411 is a note; use <= for the compare; advance P while it is
3414 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
3416 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
3417 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
3419 * varasm.c (remove_from_pending_weak_list): Verify t->name
3420 is non-NULL before passing it to strcmp.
3422 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3424 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
3425 the typed arguments are not part of a comment
3426 (ioctl_fix_ctrl): Added a purpose comment
3427 *fixinc/fixincl.x: regenerate
3428 *fixinc/inclhack.sh: regenerate
3430 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3432 * invoke.texi: Add C4x invocation docs.
3434 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3436 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
3438 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
3440 (c4x_legitimize_reload_address): New function.
3441 * config/c4x/c4x.md: Update docs.
3443 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
3445 * fixincludes: Avoid removing '.'.
3446 * fixinc/fixinc.svr4: Likewise.
3447 * fixinc/fixinc.winnt: Likewise.
3448 * fixinc/inclhack.tpl: Likewise.
3449 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
3451 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3453 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
3455 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
3457 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
3459 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
3462 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
3464 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
3465 * configure: Regenerate.
3467 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
3469 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
3472 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
3474 * fixinc/inclhack.def (avoid_bool): Also catch
3475 "typedef [unsigned] int bool".
3476 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
3478 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
3479 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
3480 * configure: Rebuilt.
3482 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
3484 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
3485 such that we can override its definitions if necessary.
3486 (CPP_SPEC): New define. Support processor specific predefines via
3488 (CC1_SPEC): New define. Support processor specific compiler
3489 options via %(cc1_cpu).
3490 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
3493 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3495 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
3496 between sed's -e flag, and the open-quote following it.
3497 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
3499 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
3500 Jeffrey A Law (law@cygnus.com)
3502 * varasm.c (assemble_start_function): Remove the function
3503 from the pending weak decls list when we define a function.
3504 (assemble_variable): Similarly for variables.
3505 (weak_finish): Ignore items on the list with a NULL name.
3506 (remove_from_ending_weak_list); New function to "remove" an item
3507 from the pending weak declarations list.
3509 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3511 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
3513 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
3515 * c-lex.c (GETC): Redefine to call getch.
3516 (UNGETC): Redefine to call put_back.
3517 (putback_buffer): New structure type.
3518 (putback): New static structure.
3519 (getch): New function.
3520 (put_back): New function.
3521 (yylex): Replace unused bytes from bad multibyte character.
3523 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
3525 * cpplib.c (do_define): Cast `alloca' return value.
3526 (do_include, do_undef, do_pragma): Likewise.
3527 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
3529 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
3530 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
3532 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
3534 * sparc.md (abstf2): This should be an expand.
3535 (split after abstf2_notv9): Fix mode.
3536 (abstf2_hq_v9): New pattern.
3537 (abstf2_v9): Only use when no hard quad.
3538 (absdf2_v9): Fix if target is not the same as source.
3539 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
3540 Add correct output constraints.
3542 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
3544 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
3545 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
3547 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
3549 * mips.h (mips_output_conditional_branch): New function.
3550 (mips_adjust_insn_length): Likewise.
3551 (ASSEMBLER_SCRATCH_REGNUM): New macro.
3552 (ADJUST_INSN_LENGTH): Likewise.
3553 * mips.c (print_operand): Add `F' and `W' for floating-point
3555 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
3557 (mips_adjust_insn_length): New function.
3558 (mips_output_conditional_branch): New function.
3559 * mips.md (length): Adjust attribute definition to handle
3560 conditional branches. Change lengths to bytes, rather than
3561 instructions throughout. Remove length attribute from
3562 instructions whose length is four bytes, and rely on the default
3564 (dslot): Fix typo in comment.
3565 Reword conditional branch patterns to use
3566 mips_output_conditional_branch.
3568 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3570 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
3571 (LIB_SPEC): Likewise.
3572 Link with -lprof1_r for -g/-pg.
3574 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3576 * loop.c (check_dbra_loop): Fix change of Jan 19.
3578 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
3580 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
3581 (STARTFILE_SPEC): Define, override the svr4.h version.
3582 (ENDFILE_SPEC): Likewise.
3584 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
3586 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
3587 * fixinc/fixincl.x: Regenerated.
3588 * fixinc/inclhack.sh: Regenerated.
3590 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3592 * sh.c (barrier_align): Don't return early for normal branch/barrier
3593 when optimizing for SH2.
3595 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
3597 * i386/udk.h (LINK_SPEC): Correct linker search path for
3600 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3602 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
3603 (braf_label_ref_operand): Delete.
3604 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
3605 * sh.md (casesi_jump_2): Operand1 is now the inside of a
3606 label_ref, and has no predicate.
3607 The patten has a predicate to guard against invalid substitutions.
3608 (dummy_jump): Delete.
3609 (casesi): Update use of casesi_jump_2.
3611 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3613 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
3614 *fixinc/fixincl.x: regenerate
3615 *fixinc/inclhack.sh: regenerate
3617 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
3619 * dwarf2out.c (add_incomplete_type): New fn.
3620 (gen_struct_or_union_type_die): Call it.
3621 (retry_incomplete_types): New fn.
3622 (dwarf2out_finish): Call it.
3624 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
3626 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
3627 current block starts with a CODE_LABEL and ends with a CALL and
3628 we can not find all the argument setup instructions for the CALL.
3630 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
3633 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
3634 something is a candidate for optimize_bit_field_compare.
3636 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3638 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
3640 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
3642 * alpha.c (override_options): Thinko in last patch.
3644 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
3645 (LIB_SPEC): Recognize -pthread.
3647 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
3649 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
3650 definition in config/arm/coff.h
3651 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
3653 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3655 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
3656 fixes that need "file=xxx\n" prepended before invocation
3657 (start_fixer - new): starting the fixer process is complex enough
3658 to warrent its own routine. It prepends the "file=xxx\n" stuff.
3659 (process): uses the new routine; omit usage of putenv()
3660 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
3661 * fixinc/fixincl.x: regenerate
3663 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
3665 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
3666 and version #s (1.1 -> 2.96) as needed.
3667 * README.g77: Kill way out of date file in the toplevel directory.
3669 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
3671 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
3672 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
3673 * configure: Rebuilt.
3674 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
3675 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
3676 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
3677 (SWITCH_TAKES_ARG): Likewise.
3678 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
3679 * config/t-freebsd: Moved from config/i386/ so it can used for all
3682 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
3684 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
3686 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
3688 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
3689 * configure: Rebuilt.
3691 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
3693 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
3694 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
3695 * rs6000/rs6000.c (rs6000_file_start): Use putc.
3696 (rs6000_output_load_toc_table): Same.
3697 (output_prolog, output_mi_thunk): Same.
3698 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
3699 (ASM_GLOBALIZE_LABEL): Use putc.
3701 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
3703 * alpha.md (reload_*_help): New patterns and splitters.
3704 (reload_*): Use them.
3705 (mov[qh]i): Likewise.
3707 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
3709 * cccp.c (handle_directive): Handle backslash-newlines in quoted
3712 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
3714 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
3716 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
3718 * flow.c (mark_regs_live_at_end, insn_dead_p,
3719 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
3720 and HARD_FRAME_POINTER_REGNUM special treatment if reload
3721 hasn't run or the frame pointer is needed.
3722 * haifa-sched.c (attach_deaths): Likewise.
3723 * sched.c (attach_deaths): Likewise.
3725 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
3727 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
3728 calculate_can_reach_end returns nonzero.
3730 * configure.in (native gas tests): Search for an assembler in the
3731 same manner that the installed compiler will.
3732 * configure: Rebuilt.
3733 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
3735 * alias.c (find_base_term): Improve handling of addresses
3736 constructed from binary operations.
3738 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
3740 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
3742 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
3744 * function.h (cleanup_label, frame_offset): Declare.
3745 (tail_recursion_label, tail_recursion_reentry): Likewise.
3746 (arg_pointer_save_area, rtl_expr_chain): Likewise.
3747 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
3748 (tail_recursion_label, tail_recursion_reentry): Likewise.
3749 (arg_pointer_save_area, rtl_expr_chain): Likewise.
3751 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
3753 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
3755 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
3756 (MAX_OFILE_ALIGNMENT): Define.
3758 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
3760 * fixincl.c: Replace local include scheme with #includes of
3761 gansidecl.h and system.h.
3762 * procopen.c: Likewise.
3763 * server.c: Likewise.
3765 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
3767 * i386/t-dgux (EXTRA_PARTS): Add crti.o
3768 (crti.o): Add build rule and dependencies.
3769 * fixinc/fixinc.dgux: Use modified _int_varargs.h
3771 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3773 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
3774 (LIB_LINUX_SPEC): Likewise.
3775 (LIB_LINUX_SPEC): Add support for -pthread
3776 (CPP_OS_LINUX_SPEC): Likewise.
3777 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
3780 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
3782 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
3784 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
3785 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
3786 for IEEE math and CC_FCOMI.
3787 (put_jump_code): No IEEE if CC_FCOMI is set.
3789 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3791 * fold-const.c (fold_truthop): Make the field reference unsigned
3792 when converting a single bit compare.
3794 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3796 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
3798 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
3800 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
3801 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
3804 * reload.c (push_reload): Do not call remove_address_replacements
3805 when presented with identical optional reloads.
3807 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
3809 * alpha.h (MASK_FIX, TARGET_FIX): New.
3810 (MASK_*): Reorganize constants.
3811 (CPP_AM_FIX_SPEC): New.
3812 (TARGET_SWITCHES): Add FIX.
3813 (EXTRA_SPECS): Likewise.
3814 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
3815 (SECONDARY_MEMORY_NEEDED): Likewise.
3816 (REGISTER_MOVE_COST): Likewise.
3817 * alpha.c (override_options): Add FIX support. Always use
3818 ALPHA_TP_PROG for ev6.
3819 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
3820 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
3821 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
3823 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
3825 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
3826 something is a candidate for optimize_bit_field_compare.
3828 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
3830 * gcc.texi (Passes): Document branch-shortening.
3831 * invoke.texi (Debugging Options): Document the fact that `-dp'
3832 outputs length information for instructions.
3834 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
3836 * flow.c: Revert previous delta.
3838 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
3840 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
3841 FRAME_POINTER_REGNUM.
3842 (mark_set_1): Ditto.
3843 (mark_used_regs): Ditto.
3845 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
3847 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
3848 (GOT_PCREL): New macro. Define to 1 if not already defined.
3849 * arm/elf.h (GOT_PCREL): Define to 0.
3850 * arm.c (arm_finalize_pic): Take into account the setting of
3853 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
3855 * output.h (STRIP_NAME_ENCODING): Provide default definition.
3856 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
3858 * flow.c (mark_set_1): Do not record BLKmode stores as dead
3859 store elimination candidates.
3861 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
3863 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
3866 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
3868 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
3869 Add use of x-aix41-gld.
3871 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
3873 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
3874 (ASM_OUTPUT_DESTRUCTOR): Define.
3876 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
3878 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
3879 last CODE_LABEL in a loop if we have previously passed a jump
3880 to the top of the loop.
3882 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
3884 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
3885 applying Philip's patch.
3887 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
3889 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
3892 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
3894 * loop.c (strength_reduce): Grow reg_single_usage as needed.
3896 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
3898 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
3899 Also remove a useless comment.
3901 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3903 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
3905 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
3907 * collect2.c (main): Only generate import or export file and add
3908 to link arguments if non-empty. Use xmalloc not alloca.
3909 (write_{export,import}_file): Delete.
3910 (write_aix_file): New function.
3911 (locatelib): Use xmalloc not malloc.
3912 (GCC_OK_SYMBOL): Do not check type if aix64.
3914 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
3916 Based on patch by Scott Bambrough and Pat Beirne:
3917 * config/arm/arm.c (making_const_table): New variable.
3918 * config/arm/arm.h (making_const_table): Declare.
3919 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
3921 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
3922 Keep track of when we are building the constant table.
3924 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
3926 * config/arm/arm.c (arm_override_options): Fix erroneous warning
3929 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
3931 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
3934 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
3936 * tm.texi (FUNCTION_ARG): Correct description of a stack element
3939 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
3941 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
3943 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3945 * rs6000.c (output_mi_thunk): Enable full support again.
3947 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3949 * sh.h (BRANCH_COST): Define.
3951 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
3953 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
3955 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
3957 * function.c (assign_stack_local): Align stack slot propertly.
3958 (assign_outer_stack_local): Likewise.
3960 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
3962 * expr.h (lang_expand_constant): Declare.
3963 * toplev.c (lang_expand_constant): Define it.
3964 * varasm.c (output_constant): Use it.
3966 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3968 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
3969 Change function definitions to K&R style.
3971 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3973 * fixinc/fixincl.c: We must not ignore SIGCLD now.
3975 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
3977 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
3978 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
3979 (several places): omit static initialization
3980 (process): use single fd, since only the read fd is used
3981 * fixinc/gnu-regex.c: define 'const' away, if not supported
3982 * fixinc/procopen.c(several places): omit static initialization
3983 * fixinc/server.c: define 'volitile' away, if not supported
3985 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3987 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
3988 asm_fprintf and %L to generate the label name.
3989 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
3990 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
3992 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
3994 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
3995 insn for a conditional jump can not be found.
3997 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
3999 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
4000 on variables in specific sections other than .sbss and .sdata.
4002 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
4004 * stmt.c (expand_return): Call start_cleanup_deferral and
4005 end_cleanup_deferral around conditional code.
4007 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4009 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
4010 filename lists. Utilizes new "krstr" AutoGen function.
4011 * fixinc/fixincl.x: Rebuilt.
4013 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
4015 * i386.c (output_float_compare): Avoid GNU-C extensions.
4017 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
4019 * version.c: Bump to distinguish mainline tree from the
4022 See ChangeLog.1 for earlier changes.
4025 add-log-time-format: current-time-string