1 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
5 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
7 1999-12-16 Mark Mitchell <mark@codesourcery.com>
9 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
10 * function.c (insert_block_after_note): Remove.
11 (retrofit_block): Likewise.
12 (identify_blocks): Fix indentation.
13 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
14 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
15 * function.h (insert_block_after_note): Remove prototype.
16 (retrofit_block): Likewise.
17 * integrate.c (expand_inline_function): Don't call
18 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
19 just expand_start_bindings. Use the block_map to remap old
20 NOTE_BLOCKs to new ones.
21 (integrate_decl_tree): Keep track of remapped blocks.
22 * integrate.h (struct inline_remap): Add block_map.
23 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
24 NOTE_BLOCK on the notes.
25 (expand_start_bindings): Rename to ...
26 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
27 (expand_end_bindings): Set NOTE_BLOCK.
28 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
29 reconstruct the BLOCK tree.
30 * tree.h (expand_start_bindings): Macroize. Call ...
31 (expand_start_bindings_and_block): New function.
33 1999-12-16 Jakub Jelinek <jakub@redhat.com>
35 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
38 1999-12-16 David S. Miller <davem@redhat.com>
40 * expr.c (emit_move_insn_1): Only emit clobbers if one of
41 the outputs is a SUBREG.
42 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
45 * config/sparc/sparc.c (epilogue_renumber): Add default case
48 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
50 * toplev.c (rest_of_compilation): Run branch shortening after
53 * regclass.c (loop_depth): Remove
54 (scan_one_insn): Do not handle LOOP_NOTE insns.
55 (regclass): Go through basic blocks and set loop_cost
57 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
59 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
61 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
63 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
64 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
65 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
67 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
69 * loop.c (insert_loop_mem): Ignore memory clobbers.
71 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
74 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
76 * profile.c: Remove redundant #include "output.h".
78 * h8300.md (HImode preinc peephole): Fix typo.
80 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
82 * function.c (retrofit_block): Abort if we don't find a suitable insn.
83 (insert_block_after_note): Abort if we don't have a previous block.
87 1999-12-15 Mark Mitchell <mark@codesourcery.com>
89 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
90 argument more than once.
92 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
94 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
96 1999-12-15 Jakub Jelinek <jakub@redhat.com>
98 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
100 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
102 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
103 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
104 update stack_alignment_needed.
105 (prepare_function_start): Initialize stack_alignment_needed
106 * function.h (struct function): Add field stack_alignment_needed.
108 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
110 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
111 Handle live_throughout / dead_or_set instead of live_before /
113 (save_call_clobbered_regs): Get register livenessinformation from
114 chain->live_throughout.
115 (add_stored_regs): New function.
116 (insert_restore, insert_save): Add restored / saved registers to
118 * global.c (reg_dies): New parameter chain.
119 (reg_becomes_live): Third parameter is regs_set now.
121 (reg_dies): New parameter chain. Changed all callers.
122 (build_insn_chain): Set live_throughout instead of
123 live_before / live_after.
124 * reload.h (struct insn_chain): Replace members live_before /
125 live_after with live_throughout / dead_or_set.
126 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
127 instead of live_before / live_after.
128 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
129 (order_regs_for_reload, find_reg, finish_spills): Likewise.
130 (choose_reload_regs_init): Likewise.
131 * stupid.c (current_chain, find_clobbered_regs): Delete.
132 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
133 instead of chain->live_before / chain->live_after.
134 (mark_hard_ref): New function.
135 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
137 1999-12-15 David S. Miller <davem@redhat.com>
139 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
141 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
143 * flow.c (calculate_loop_depth): Make global, remove prototype,
144 rewrite to use new loop infrastructure.
145 (find_basic_block): Remove calculate_loop_depth call.
146 * toplev.c (rest_of_compilation): Call find_basic_block.
147 * output.h (calculate_loop_depth): Declare.
149 * flow.c (dump_flow_info): Dump loop_depth.
150 (flow_loops_nodes_find): Increase loop_depth for basic block in the
152 (flow_loops_find): Initialize the loop_depth for each basic block.
154 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
156 * tree.c (decl_function_context): Handle virtual functions.
158 * tlink.c (scan_linker_output): Don't look in demangled name when
159 looking for linker output keywords.
161 * dwarfout.c (output_type): We can defer namespace-scope classes.
163 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
165 * regclass.c (record_reg_classes): Update comment for merging
166 register class preferences in reg->reg copies. Tighten conditions
167 for merging register class preferences in reg->reg copies.
169 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
171 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
173 1999-12-14 Geoff Keating <geoffk@cygnus.com>
175 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
176 (INIT_SECTION_ASM_OP): Delete.
177 (FINI_SECTION_ASM_OP): Delete.
178 (STARTFILE_SPEC): Define to hold just crtbegin.o.
180 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
182 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
183 the abstract origin wasn't emitted.
185 * dwarf2out.c (class_scope_p): New fn.
186 (gen_subprogram_die): Use it.
187 (gen_variable_die): Use it. Tweak logic.
188 (gen_struct_or_union_type_die): Check context_die to determine
189 if we're function-local.
190 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
192 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
194 * loop.c (check_dbra_loop): Can't reverse a biv that has
197 1999-12-14 Nick Clifton <nickc@cygnus.com>
199 * config/arm/arm.c: Add support for -mcpu=arm720 command line
202 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
204 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
205 for givs made from biv increments.
207 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
209 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
210 * alpha.c (override_options): Recognize -mcpu=ev67.
211 * alpha.h (CPP_CPU_EV67_SPEC): New.
212 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
213 (EXTRA_SPECS): Update.
215 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
217 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
218 appropriate for -lang-c89 and -std=*.
219 * cppinit.c (cpp_handle_option): Likewise.
220 (new_pending_define): New, split out from cpp_handle_option.
221 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
222 or enable trigraphs for -ansi/-std=*.
224 * ginclude/stdarg.h (__va_copy): New.
225 (va_copy): Don't define for C89.
227 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
229 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
230 for long long multiply-accumulate.
232 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
234 * regclass.c (scan_one_insn): Set loop_cost to 1 when
237 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
239 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
240 if something changed. Back out that part of yesterday's changes.
242 * loop.c (loop_max_reg): New static variable.
243 (loop_optimize): Initialize it. Eliminate one unnecessary call to
245 (scan_loop): Call reg_scan_update whenever we may have added new
246 registers, and update loop_max_reg.
248 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
250 * regclass.c (record_reg_classes): Do not do the copying preferrencing
251 when source does not die.
253 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
255 1999-12-14 Jakub Jelinek <jakub@redhat.com>
257 * config/sparc/linux64.h (TARGET_LIVE_G0,
258 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
260 * config/sparc/linux.h (TARGET_LIVE_G0,
261 TARGET_BROKEN_SAVERESTORE): Likewise.
262 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
263 TARGET_BROKEN_SAVERESTORE): Likewise.
265 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
266 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
268 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
269 as sparc64 block profiling register.
270 * config/sparc/sparc.c (sparc_override_options): Allow block
272 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
274 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
275 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
276 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
278 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
280 * config/sparc/sparc.h: Likewise.
281 * config/sparc/xm-sysv4-64.h: Likewise.
282 * config/float-sparc.h: Likewise.
283 * glimits.h: Likewise.
284 * longlong.h: Likewise.
286 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
287 (ASM_IDENTIFY_GCC): Remove.
289 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
291 * combine.c (combine_simplify_rtx): Don't make shared rtl.
292 (simplify_logical): Likewise.
294 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
296 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
297 * cppfiles.c (INO_T_EQ): Likewise.
299 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
301 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
302 * i386/mingw32.h (LIB_SPEC): Likewise.
303 (STARTFILE_SPEC): Likewise.
304 * i386/uwin.h (LIB_SPEC): Likewise.
305 (STARTFILE_SPEC): Likewise.
307 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
308 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
310 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
312 * combine.c (combine_simplify_rtx): Fix order of checks for
313 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
315 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
317 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
318 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
320 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
322 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
324 * regclass.c (inv_reg_alloc_order): New array.
325 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
327 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
328 counted_for_groups, counted_for_nongroups. Add fields rld and
330 * reload.c (push_secondary_reload): Don't set nongroup field of
332 (push_reload): Likewise.
333 (find_reloads): Delete code to compute nongroup fields.
334 * reload1.c (reload_insn_firstobj): New static variable.
335 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
337 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
338 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
339 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
341 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
343 (struct hard_reg_n_uses): Deleted.
344 (potential_reload_regs): Deleted.
345 (init_reload): Initialize spilled_pseudos and pseudos_counted.
346 (reload): Don't try to allocate reload registers if we already know
347 we have to make another pass. Call select_reload_regs. Free memory
348 starting with reload_firstobj when starting another pass.
349 Don't allocate spilled_pseudos.
350 (calculate_needs_all_insns): Call copy_reloads for an insn that
351 needs reloads; don't call calculate_needs.
352 (spill_cost): New static array.
353 (used_spill_regs_local): New static variable.
354 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
355 to compute potential_reload_regs.
356 (find_reload_regs): Completely rewritten to use find_reg.
357 (allocate_reload_reg): Don't test counted_for_groups or
358 counted_for_nongroups. Lose NOERROR arg and code to give an error;
360 (choose_reload_regs): Add fallback code that uses the existing
361 register allocation from find_reload_regs.
363 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
365 * flow.c (create_edge_list): Cast xmalloc return value.
367 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
369 * doprnt.c: Remove incorrect comment closure.
371 * cse.c: Fix a few minor whitespace goofs.
373 1999-12-13 Don Bowman <don@pixstream.com>
375 * mips/vxworks.h: Fix problem with comment termination.
376 (EXTRA_SECTIONS): Add in_sbss.
377 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
379 1999-12-12 David S. Miller <davem@redhat.com>
381 * cse.c (struct cse_reg_info): Add hash_next member,
382 reorder rest of struct for better packing on 64-bit
384 (cse_reg_info_tree): Kill.
385 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
386 REGHASH_FN): New custom pow2 hash mechanism.
388 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
389 use a pow2 hash table.
390 (get_cse_reg_info): Rework to use new REGHASH.
391 (new_basic_block): Likewise, use HASH_SIZE, and inline
393 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
394 and inline free_element call.
395 (lookup_as_function, insert, flush_hash_table, invalidate,
396 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
397 invalidate_for_call, use_related_value, find_comparison_args,
398 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
399 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
402 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
404 * cse.c (cse_basic_block): Free qty_table consistently.
406 1999-12-12 David S. Miller <davem@redhat.com>
407 Jakub Jelinek <jakub@redhat.com>
409 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
410 SUBREGs by hand, gen the appropriate hard reg directly.
411 (movtf reg/mem split): Likewise and alter_subreg on destination
413 (movtf mem/reg split): Similarly.
414 (movdf_cc_sp64): Rename from hidden pattern.
415 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
416 (movtf_cc_sp64, following split): New pattern and splitter.
417 (movdf_cc_reg_sp64): Rename from hidden pattern.
418 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
420 (movtf_cc_reg_sp64, following split): New pattern and splitter.
422 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
424 * loop.c (load_mems): Don't hoist written floating point mem
427 1999-12-12 Mark Mitchell <mark@codesourcery.com>
429 * except.h (struct eh_queue): Add `next' pointer.
430 (struct eh_status): Make x_ehqueue a pointer.
431 (push_ehqueue): Declare.
432 (pop_ehqueue): Likewise.
433 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
435 (expand_fixup_region_end): Likewise.
436 (expand_leftover_cleanups): Likewise.
437 (push_ehqueue): Define.
438 (pop_ehqueue): Likewise.
439 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
440 than doing it inline.
441 (expand_start_all_catch): Adjust now that ehqueue is a
443 (mark_eh_queue): Mark all level of the queue.
444 (mark_eh_status): Adjust now that ehqueue is a
446 (init_eh_for_function): Allocate ehqueue.
447 (free_eh_status): Free it.
448 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
449 expansion for a fixup.
451 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
453 * gthr-single.h (__gthread_active_p): Add prototype arguments.
455 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
456 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
457 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
458 function_ptr, getpagesize, __enable_execute_stack,
459 __enable_execute_stack, __clear_insn_cache,
460 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
461 _cleanup, _exit, __default_terminate, __terminate_func,
462 __terminate, __empty, __throw, new_eh_context,
463 eh_context_initialize, eh_context_static, eh_context_specific,
464 get_eh_context, __get_eh_context, __get_eh_info,
465 init_reg_size_table, eh_threads_initialize,
466 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
467 __unwinding_cleanup, throw_helper, __throw, __rethrow,
468 __pure_virtual): Add prototype arguments.
469 (__bb_exit_func): Cast a sizeof to long when comparing against one.
470 Cast a signed value to unsigned long when comparing against one.
471 (new_eh_context): Wrap in _GTHREADS macro.
472 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
474 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
475 (throw_helper): Initialize variables `handler_p' and `pc_p'.
477 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
479 * combine.c (record_promoted_value): Remove unused variable
482 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
484 * global.c (record_conflicts): Likewise for `j'.
486 * genoutput.c (output_insn_data): Don't unnecessarily cast away
489 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
491 * i386-protos.h (output_387_binary_op, output_fix_trunc,
492 output_fp_compare): Constify a char*.
494 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
496 (override_options, ix86_comp_type_attributes, print_operand,
497 output_387_binary_op, output_fix_trunc, output_fp_compare):
499 (ix86_sched_reorder): Mark parameter `clock_var' with
502 * i386.h (DEBUG_PRINT_REG): Constify a char*.
504 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
506 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
507 operand, for use in the Java front-end.
509 1999-12-10 Ben Collins <bcollins@debian.org>
511 * configure.in: Fix typo for "-64" in 64bit as check.
512 * configure: Rebuilt.
514 1999-12-10 Jakub Jelinek <jakub@redhat.com>
516 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
519 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
521 * c-parse.in (string): With -Wtraditional, warn if ANSI string
522 concatenation is utilized.
524 * invoke.texi (-Wtraditional): Document it.
526 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
528 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
529 Cast a ptrdiff_t to long and pass it to printf with %ld.
531 1999-12-10 Geoff Keating <geoffk@cygnus.com>
533 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
534 68881, we have no 68881 registers at all.
535 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
536 value in a 68881 register if it is available.
538 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
540 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
541 for long long multiply-accumulate.
543 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
545 * loop.c (insert_loop_mem): Undo last change.
547 1999-12-10 David S. Miller <davem@redhat.com>
549 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
551 * config/sparc/sparc-protos.h: Add them.
552 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
553 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
554 constraints which use those helpers.
555 (EXTRA_CONSTRAINT): Use this new macro.
556 * md.texi: Update sparc target constraints documentation.
557 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
558 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
559 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
560 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
561 (movsf high/lo_sum split): Rework for new patterns.
562 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
564 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
566 * c-common.c (c_common_nodes_and_builtins):
567 Create __builtin_ptrdiff_t and __builtin_size_t.
569 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
571 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
573 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
575 * regclass.c (globalize_reg): Re-instate test that allows
576 fixed registers to be declared as a variable even after functions
579 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
581 * i386.md (cpu attribute): Add "athlon".
582 (athlon_decode): New attribute.
583 (Athlon scheduling units definitions): New.
584 (fcmp and shld patterns): Set athlon_decode to "vector".
585 * i386.c (athlon_cost): New.
587 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
588 x86_use_sahf): Set for Athlon.
589 (x86_use_fiop): Unset for Athlon.
590 (override_options): Define Athlon alignments and "athlon" name.
591 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
592 * i386.h (TARGET_ATHLON): New.
593 (enum processor_type): Add PROCESSOR_ATHLON.
594 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
596 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
598 1999-12-09 Andreas Jaeger <aj@suse.de>
600 * loop.c (record_biv): Declare parameter as int.
602 * config/i386/i386-protos.h: Declare long_memory_operand.
604 1999-12-09 Mark Mitchell <mark@codesourcery.com>
606 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
607 EXPR_WITH_FILE_LOCATION.
609 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
611 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
614 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
616 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
619 1999-12-09 Jakub Jelinek <jakub@redhat.com>
621 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
622 default on linux64 again.
623 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
624 models for multilibing.
625 * genmultilib: Accept | as alternative separator within a set in
628 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
630 * calls.c (precompute_arguments): Make sure initial_value contains
631 value pseudo which CSE expects.
632 * cse.c (struct set): New entry orig_src.
633 (cse_insn): Set it early on entry, use it for libcall EQUIV note
636 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
638 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
640 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
642 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
644 1999-12-08 Jakub Jelinek <jakub@redhat.com>
646 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
647 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
649 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
652 * longlong.h: Merge in changes from glibc.
653 Also don't clobber %g2 register in 32bit SPARC assembly, so that
654 -mno-app-regs libgcc can be compiled.
655 * libgcc2.c: Add defines so that the updated longlong.h
656 can be used in libgcc2.a. Also, make sure on most architectures
657 (at least on all which have optimized code in longlong.h defined
658 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
660 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
662 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
663 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
664 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
666 * configure: Rebuilt.
668 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
670 * alpha.c (secondary_reload_class): For !BWX, sub-simode
671 outputs require a register.
673 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
675 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
676 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
677 functions like dptoul will be resolved.
678 (libgcc2.a): Make sure that the object files from DPBIT are named
679 differently (prefix `_dp') from those that would be coming from
682 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
684 * configure.in: When target is sparc* and tm_file contains 64,
685 test for 64bit support in assembler. If not supported, remove
686 sparc/t-sol2-64 from target-dependent Makefile fragments.
687 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
688 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
689 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
690 * acconfig.h (AS_SPARC64_FLAG): Added.
691 * configure, config.in: Rebuilt.
692 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
693 support. Use AS_SPARC64_FLAG.
695 1999-12-07 Jakub Jelinek <jakub@redhat.com>
697 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
698 suitable for holding OFmode values so that gcc works with complex
700 (hard_64bit_mode_classes): Likewise.
702 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
703 so that it is actually matched.
704 (sethi_di_medlow): Likewise.
706 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
707 as legitimate constant if -mvis.
708 * config/sparc/sparc.md (movtf): Likewise.
709 (clear_sf): Use const_double_operand.
710 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
712 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
713 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
714 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
715 routines, _Qp_* cannot be handled like that now.
716 (INIT_TARGET_OPTABS): Likewise.
717 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
718 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
719 sparc_emit_float_lib_cmp if ARCH64 and soft float.
720 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
721 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
722 divtf3, sqrttf3): New expanders.
723 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
724 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
725 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
728 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
729 * configure: Rebuilt.
730 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
731 -mcpu is given and we're doing 64bit compiles.
733 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
735 * loop.h (struct induction): Add multi_insn_incr.
736 * loop.c (basic_induction_var): New multi_insn_incr argument.
737 Set it if we search back through previous insns for the biv.
738 (record_biv): New multi_insn_incr argument; fill in struct induction.
739 (strength_reduce): Discard an iv with multiple bivs, any of
740 which require multiple insns to increment.
742 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
744 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
747 1999-12-06 David S. Miller <davem@redhat.com>
749 * combine.c (check_promoted_subreg): Do not conditionalize this upon
750 PROMOTE_FUNCTION_RETURN.
752 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
754 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
755 and handle REG_UNUSED note on insn.
757 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
758 inner_mask instead of mask.
760 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
762 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
763 zero if there was an error.
765 1999-12-06 Jakub Jelinek <jakub@redhat.com>
767 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
770 * longlong.h: Fix clobbers in SPARC asm statements.
772 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
773 valid sethi operations when TARGET_ARCH64.
775 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
776 always use move_by_pieces to avoid infinite recursion.
777 (restore_fixed_argument_area): Likewise.
779 * combine.c (check_promoted_subreg, record_promoted_value): New
781 (combine_instructions): Use them to retain nonzero and sign bit
782 information after SUBREGs are eliminated by optimizations in
783 this pass if PROMOTE_FUNCTION_RETURN.
785 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
786 .register declaration. Don't use variables with __ prefixes.
788 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
790 * fold-const.c (optimize_bit_field_compare): Only use one mode
791 for both RHS and LHS in non-constant case.
793 1999-12-06 Nathan Sidwell <nathan@acm.org>
795 * frame.c (start_fde_sort): Only allocate erratic array, if
796 linear one was allocated. Return allocated flag.
797 (fde_insert): Only insert, if there's a valid array.
798 (fde_end_sort): Split, sort and merge if linear and erratic
799 arrays exist, else just sort linear one.
800 (search_fdes): New function. Linear search through original fde
802 (frame_init): Permit multiple initializations. Cope with
804 (find_fde): Fallback on linear search, if failed to sort array.
805 (__deregister_frame_info): Only free sorted array, if we
808 1999-12-06 Jakub Jelinek <jakub@redhat.com>
810 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
812 1999-12-05 Jakub Jelinek <jakub@redhat.com>
814 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
816 1999-12-05 Mark Mitchell <mark@codesourcery.com>
818 * tree.h (special_function_p): Declare.
819 * calls.c (special_function_p): Make it global. Don't take `name'
820 as a parameter. Fix typo in 1999-11-28 change.
821 (expand_cal): Adjust.
823 1999-12-04 Mark Mitchell <mark@codesourcery.com>
825 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
826 * tree.h (EXPR_WFL_FILENAME): Define in terms of
827 EXPR_WFL_FILENAME_NODE.
828 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
830 * print-tree.c (print_note): Print TREE_PRIVATE and
833 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
834 the original die cannot be found.
836 * varray.h (varray_head_tag): Add elements_used.
837 (VARRAY_PUSH): New macro.
838 (VARRAY_POP): Likewise.
839 (VARRAY_TOP): Likewise.
840 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
842 * varray.c (varray_init): Initialize elements_used.
843 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
844 (INTEGRATE_H): New variable.
845 (integrate.o): Depend on INTEGRATE_H.
846 (unroll.o): Likewise.
848 * function.h (insert_block_after_note): Declare.
849 * function.c (insert_block_after_note): Split out from ...
850 (retrofit_block): ... here.
852 * stmt.c (expand_fixup): Fix typo in comment.
854 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
856 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
857 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
858 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
859 (regmove_optimize, fixup_match_1): Likewise.
861 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
863 * flow.c (flow_loops_dump): Add missing argument when calling
866 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
867 Greg McGary <gkm@gnu.org>
869 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
870 (init_attributes): Add A_NO_LIMIT_STACK.
871 (decl_attributes): Handle A_NO_LIMIT_STACK.
872 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
873 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
874 Handle stack bounds checking.
875 * flags.h (flag_stack_check): Use the word 'probe' rather than
876 'check', because the flag doesn't actually cause any checking to
878 * function.c (expand_function_start): Set
879 current_function_limit_stack.
880 * function.h (struct function): Add limit_stack.
881 (current_function_limit_stack): Define.
882 * invoke.texi (Code Gen Options): Document new options.
883 * rtl.h: Declare stack_limit_rtx.
884 * toplev.c (stack_limit_rtx): New variable.
885 (decode_f_option): Handle new options -fstack-limit-register=REG,
886 -fstack-limit-symbol=IDENT, -fno-stack-limit.
887 (main): Add stack_limit_rtx as GC root.
888 * tree.h (DECL_NO_LIMIT_STACK): New macro.
889 (struct tree_decl): New member no_limit_stack.
891 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
893 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
894 (conditional_trap+1): Get new mnemonic correct.
895 (conditional_trap+2): New pattern for DImode traps.
897 * config/m68k/m68k.c (output_function_prologue): Handle
899 * config/m68k/m68k.md (trap): New insn.
900 (conditional_trap): New insn.
901 * md.texi (Standard Names): Document `trap' and
903 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
904 so a cc0 setter doesn't get emitted at some random place in the
907 * config/i960/i960.md (trap): New insn.
908 (conditional_trap): New expander.
909 (conditional_trap+1, conditional_trap+2): New insns for signed
911 * config/i960/i960.c (i960_function_prologue): Use
912 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
914 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
915 Geoffrey Keating <geoffk@cygnus.com>
917 * flags.h (warn_padded, warn_packed): Add global var decls.
918 * toplev.c (warn_padded, warn_packed): Add global var defns.
919 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
920 * stor-layout.c (layout_record): Add local variable `type'
921 to hold often-used TREE_TYPE (field). Add local variable
922 `unpacked_align' to hold alignment that would be in force
923 if no `packed' attribute were present. Warn if `packed' attribute
924 is unnecessary, or even harmful. Warn when gcc inserts padding
925 to satisfy alignment requirements of members. Use NULL_TREE
926 when checking whether var_size is set.
927 * invoke.texi: Document new flags.
929 1999-12-03 Nathan Sidwell <nathan@acm.org>
931 * frame.c (fde_split): Reimplement to avoid variable sized array.
933 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
935 * combine.c (try_combine): Before fixing up LOG_LINKS for the
936 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
938 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
940 * invoke.texi: Document the mips option -mno-crt0
942 1999-12-02 Mike Karr <mkarr@mathworks.com>
944 * cccp.c (argdata): Added free_ptr member.
945 (macroexpand): Initialize free_ptr of each argument. When an
946 argument's buffers are freed, if the argument's free_ptr corresponds
947 to a buffer on the input stack, then return the free_ptr to that stack
948 frame, otherwise, free it.
949 (macarg): If an argument begins and ends on the same input stack level,
950 then transfer the free_ptr of that buffer to the argument in case
951 the stack is popped during the processing of a subsequent argument.
953 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
955 * loop.c (note_reg_stored): New function.
956 (struct note_reg_stored_arg): New structure.
957 (try_copy_prop): Change to be more conservative; only replace within
958 one extended basic block and stop replacing if a store to the
959 replacement reg is seen.
961 1999-12-02 Nick Clifton <nickc@cygnus.com>
963 * config/fp-bit.c: Initialise all fields of the NAN
966 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
969 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
971 * i386.md (extend?f?f2): Force the input into a register, not
974 1999-12-01 Jakub Jelinek <jakub@redhat.com>
976 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
978 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
979 alternative because setting up 64bit constant is usually costly,
980 especially when reload is in progress or completed.
981 (movdf_const_intreg_sp64): Likewise.
982 (movdf_const_intreg split): Fix building up constants when
983 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
985 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
987 * combine.c (if_then_else_cond): Use const_true_rtx instead of
988 const1_rtx for return values in EQ/NE comparison against (const_int 0)
991 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
992 (asm_file_start): Emit .am33 into assembly file when compiling for
994 (print_operand_address): Handle POST_INC addresses.
995 (can_use_return_insn, initial_offset): Check AM33 registers too.
996 (expand_prologue): Check & save AM33 registers too.
997 (expand_epilogue): Similarly.
998 (secondary_reload_class): Handle AM33 specific secondary reloads.
999 (output_tst): Emit efficient code for the AM33 too.
1000 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
1001 (TARGET_SWITCHES): Add -mam33 switch.
1002 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
1003 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
1004 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
1005 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
1006 (enum reg_class, REG_CLASS_NAMES): Likewise.
1007 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
1008 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
1009 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
1010 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
1011 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
1012 (HAVE_POST_INCREMENT): Define.
1013 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
1014 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
1015 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
1016 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
1017 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
1018 (zero_extend to SI from QI/HI): Likewise.
1019 (sign_extend to SI from QI/HI): Likewise.
1020 (mulsidi3, umulsidi3): New patterns for the AM33.
1021 (tstsi with zero extension from QI/HI): Add AM33 variants.
1022 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
1023 (return_internal_regs, store_movm): Handle new AM33 registers.
1024 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
1025 (LIBGCC, INSTALL_LIBGCC): Likewise.
1026 * invoke.texi: Document new flags.
1028 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
1030 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
1031 (addsi3_carry): Likewise.
1032 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
1033 (sbbsi3_carry): Likewise.
1034 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
1036 (test?i_1): Ensure that only one operand is memory.
1037 (conditional move patterns): likewise.
1038 (shift and rotate patterns): Rewrite to expander, add
1039 "binary_operator_ok" to the condition.
1041 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
1042 * i386.h (procesor_costs): Add movzbl_load field.
1043 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
1044 non-Q registers, accept DImode registers anywhere.
1046 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
1047 * i386.c (*_cost): Set value for movxbl_load field.
1049 * (addsi): New add to lea splitter.
1051 (lea to add/shift peep2): New.
1053 1999-12-01 Mark Salter <msalter@cygnus.com>
1055 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
1056 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
1057 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
1059 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
1061 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
1062 * i386.md (movsi_xor): New.
1064 (movsi_1, movhi_1, movqi_1): Remove.
1065 (movsi_2): Rename to movsi_1.
1066 (movhi_2): Rename to movhi_1.
1067 (movqi_2): Rename to movqi_1.
1068 (movdi_1): Remove; remove splitter.
1069 (movdi_2): Rename to movdi_1.
1070 (divmodsi4 splitter): Do not emit clobbers for move patterns.
1071 (long move peep2): Do not create QI or HI mode mov0s
1072 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
1074 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
1077 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
1078 (abs?f2_if): Likewise.
1080 1999-11-30 Alex Samuel <samuel@codesourcery.com>
1082 * ggc.h (ggc_test_and_set_mark): New macro.
1083 (ggc_mark_rtx): Use ggc_test_and_set_mark.
1084 (ggc_mark_tree): Likewise.
1085 (ggc_mark_rtvec): Likewise.
1086 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
1088 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
1090 * dwarf2out.c (scope_die_for): Only handle types. Only search for
1092 (decl_scope_table): Just an array of trees now.
1093 (push_decl_scope): Simplify.
1094 (dwarf2out_init): Adjust.
1095 (local_scope_p): New fn.
1096 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
1097 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
1098 (gen_typedef_die): Likewise.
1099 (gen_lexical_block_die): Don't call push/pop_decl_scope.
1100 (gen_inlined_subroutine_die): Likewise.
1101 (gen_abstract_function): Set current_function_decl temporarily.
1102 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
1103 Handle block extern declarations. Don't call push/pop_decl_scope.
1104 (gen_decl_die): Fix logic for block externs.
1106 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1108 * calls.c (special_function_p): Remove `realloc' and add `strdup'
1109 to the list of functions which have attribute malloc by default.
1111 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1113 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
1114 integer constant does not match the traditional type, limit the
1115 warnings to cases where the base of the type is ten.
1117 * invoke.texi (-Wtraditional): Document it.
1119 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1121 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
1122 * rs6000.md: Only access a CONST_INT with INTVAL
1124 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
1126 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
1127 (compute_nearerout): Likewise.
1128 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
1129 size_t to unsigned long for formatting.
1131 1999-11-30 Jakub Jelinek <jakub@redhat.com>
1133 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
1134 Allow the user to override call-used/fixed state of %g2-5
1135 registers from the command line (with the exception of %g4 for
1137 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
1138 there is a higher chance of having a leaf function.
1139 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
1140 for ARCH64 which has %ccr register.
1141 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
1143 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
1144 insn accept into delay slot any insn which does not use %[ol]
1145 registers. Accept some LO_SUM and shift left by 1 for the normal
1147 (output_function_epilogue): Likewise.
1148 (epilogue_renumber): Added argument which inhibits any renumbering
1149 and just tests if the rtx does not use any %[ol] registers.
1150 (output_return): Reflect above change.
1152 1999-11-30 Jakub Jelinek <jakub@redhat.com>
1154 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
1155 aggregate passing for sizes <= 16 bytes.
1157 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
1159 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
1160 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
1161 * reload.c (find_dummy_reload): Likewise.
1162 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
1163 * reload1.c (reload_as_needed): Likewise.
1164 * stupid.c (stupid_find_reg): Likewise.
1165 * tm.texi (Obsolete Register Macros): Delete section.
1166 * gmicro.h: Remove all traces of the two macros.
1171 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
1173 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
1174 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
1175 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
1176 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
1177 units for the sparclite86x chip.
1178 (flush): Revert October 14th change; add SImode specifically.
1179 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
1180 * invoke.texi: Document it.
1182 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
1184 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
1185 psimode_truncation_operand.
1187 * config/mn10200/mn10200.c (psimode_truncation_operand): New
1188 function. Return true if the operand is either a MEM valid
1189 for a PSImode address or not a MEM at all.
1191 * config/mn10200/mn10200.md (truncsipsi2): Use
1192 psimode_truncation_operand.
1194 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1196 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
1197 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
1198 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
1199 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
1200 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
1201 (flow_loop_level_compute, low_loops_level_compute): Likewise.
1202 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
1203 * basic-block.h: Protect from multiple inclusion.
1204 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
1205 (struct loops, struct loop): Define structures.
1206 * sbitmap.c (sbitmap_a_subset_b_p): New function.
1207 * sbitmap.h: Protect from multiple inclusion.
1208 (sbitmap_a_subset_b_p): Add prototype.
1209 * Makefile.in (LOOP_H): New macro.
1210 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
1212 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
1214 * cppinit.c (CAT): The argument list of this macro may not contain
1217 1999-11-29 David S. Miller <davem@redhat.com>
1219 Move quantity tables and register equivalence chains into
1220 per-qty and per-register structure arrays respectively.
1221 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
1222 qty_const_insn, qty_comparison_code, qty_comparison_const,
1223 qty_comparison_qty): Delete, replace with...
1224 (qty_table): this structure table.
1225 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
1226 (reg_eqv_table): this structure table.
1227 (make_new_qty): Add argument MODE. Caller updated.
1228 Update to use qty_table and reg_eqv_table.
1229 (make_regs_eqv, delete_reg_equiv, insert_regs,
1230 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
1231 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
1232 cse_process_notes, cse_main, cse_basic_block): Likewise.
1234 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1236 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
1237 operation if C is negative.
1238 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
1239 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
1240 law for some divisions if constant is negative and change other
1241 divisions to the opposite rounding.
1243 * expr.c (store_constructor_field): If bit position is not multiple
1244 of alignment of TARGET's mode, use BLKmode.
1246 * expr.c (expand_expr_unaligned): Add more code from full case
1247 that is needed when OP0 is in a register.
1249 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1251 * dwarfout.c (field_byte_offset): Size can be zero if there was
1254 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
1256 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
1257 (associate_trees): Delete unused var TEM.
1258 (extract_muldiv): Delete unused var CANCEL_P.
1260 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
1261 (target_isinf, target_isnan, target_negative): Add return types to
1262 function definitions.
1264 1999-11-29 Bruce Korb <autogen@linuxbox.com>
1266 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
1267 * fixinc/hackshell.tpl: ditto
1268 * fixinc/fixtests.c(double_slash_test): more C++ header testing
1269 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
1271 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
1273 * reload.c (push_reload): When looking for a register to put into
1274 reg_rtx, make sure all hard regs in a multi-reg register are in the
1275 right class and nonfixed.
1277 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
1278 pending_read_insns, pending_write_insns, pending_read_mems,
1279 pending_write_mems, pending_list_length, last_pending_memory_flush,
1280 last_function_call, sched_before_next_call): Move static variables
1282 (bb_ prefixed versions): Replace with single array bb_deps.
1283 (struct deps): New structure.
1284 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
1285 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
1286 argument of type "struct deps *"; use that instead of global
1287 variables. All callers changed.
1288 (init_rgn_data_dependencies): Delete function.
1289 (init_rtx_vector): Delete function.
1290 (init_deps): New function.
1292 (free_pending_lists): Simplify, we always use the bb_deps array even
1293 if only one basic block.
1294 (compute_block_backward_dependences): Likewise.
1295 (schedule_region): Likewise.
1297 (propagate_deps): New function, broken out of
1298 compute_block_backward_dependences.
1299 (compute_block_backward_dependences): Use it.
1301 * alpha.md: Delete useless patterns that tried to work around
1302 register elimination problems.
1304 * unroll.c (loop_iterations): Don't abort if iteration variable
1307 From Joern Rennecke:
1308 * reload1.c (reloads_conflict): Reverse test comparing operand
1309 numbers when testing for conflict between output/outaddr reloads.
1311 1999-11-29 David S. Miller <davem@redhat.com>
1313 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
1315 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
1317 1999-11-28 Robert Lipe <robertl@cygnus.com>
1319 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
1320 table from .fini into .dtor.
1322 1999-11-28 Anthony Green <green@cygnus.com>
1324 * tree.h (struct tree_decl): Add malloc_flag.
1325 (DECL_IS_MALLOC): Define.
1326 * c-common.c (attrs): Add A_MALLOC attribute.
1327 (init_attributes): Add this attribute to the table.
1328 (decl_attributes): Handle malloc attribute.
1329 * calls.c (special_function_p): Check for the malloc attribute.
1330 * extend.texi (Function Attributes): Document malloc attribute.
1332 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
1334 * pa.md (reload shift-add patterns): Remove.
1336 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1338 * reorg.c (dbr_schedule) Print more statistics. Corrected
1339 problem when printing info when 3 delay slots are filled.
1341 1999-11-28 Jakub Jelinek <jakub@redhat.com>
1343 * combine.c (setup_incoming_promotions): Pass an outgoing
1344 regno to FUNCTION_ARG_REGNO_P which it expects.
1346 1999-11-28 Andreas Jaeger <aj@suse.de>
1348 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
1350 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
1352 * cccp.c (do_include): Avoid initialization of automatic variable.
1354 * integrate.c (mark_stores): Function definition made void, to match
1355 previous declaration.
1356 * regclass.c (dump_regclass): Ditto.
1357 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
1359 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1361 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
1362 known to be multiple of divisor.
1364 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
1366 * combine.c (try_combine): Add code to try to merge a set of a
1367 two-word pseudo to a constant with a setting of one of those words
1370 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
1371 (split_tree): Completely rework to make more general.
1372 (make_range, fold): Call negate_expr.
1373 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
1374 (fold, associate): Call new split_tree and associate_trees.
1375 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
1377 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
1379 * loop.c (try_copy_prop): Avoid GNU C extension.
1381 1999-11-25 Mark Mitchell <mark@codesourcery.com>
1383 * except.c (init_eh_for_function): Still zero eh_return_context,
1384 eh_return_stack_adjust, and eh_return_handler.
1386 * except.h (eh_status): Adjust documentation for x_protect_list.
1387 (begin_protect_partials): New function.
1388 * except.c (enqueue_eh_entry): Fix formatting.
1389 (get_first_handler): Add consistency check.
1390 (add_partial_entry): Adjust usage of protect_list.
1391 (emit_cleanup_handler): Save and restore ehqueue.
1392 (expand_start_all_catch): Add comment.
1393 (begin_protect_partials): New function.
1394 (end_protect_partials): Adjust usage of protect_list.
1395 (init_eh_for_function): Use xcalloc.
1397 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1399 * c-common.c (check_format_info): Don't call a variadic function
1400 with a non-literal format string.
1402 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
1404 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
1405 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
1408 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
1411 * collect2.c (collect_wait): Likewise.
1413 * dbxout.c (dbxout_type): Likewise.
1415 * gcc.c (do_spec_1): Likewise.
1417 * genemit.c (gen_insn, gen_expand): Likewise.
1419 * genrecog.c (write_switch, write_subroutine): Likewise.
1421 * mips-tfile.c (catch_signal, botch): Likewise.
1423 * print-rtl.c (print_rtx): Likewise.
1425 * toplev.c (default_print_error_function, report_error_function,
1426 _fatal_insn): Likewise.
1428 1999-11-25 Mark Mitchell <mark@codesourcery.com>
1430 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
1432 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
1434 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
1435 operations when needed.
1436 * i386.md (fop_?f_comm): New.
1437 (fop_?f_1): Do not accept commutative operands.
1439 1999-11-25 Andreas Jaeger <aj@suse.de>
1441 * config/mips/mips.md (casesi_internal): Add missing brace.
1443 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
1445 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
1446 (splice_child_die): Handle moving a child DIE from the declaration
1447 DIE of a class to its specification.
1448 (gen_struct_or_union_type_die): Use 'complete' consistently.
1449 (gen_decl_die): Generate the virtual context DIE first.
1450 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
1452 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
1454 * config/mips/mips.md (call_value_multiple_interanal1): New.
1456 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
1458 * dwarf2out.c (free_AT, free_die): New fns.
1459 (remove_children): Call them.
1460 (output_line_info): Disable removal of duplicate notes.
1462 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
1463 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
1464 means pretend the type isn't defined.
1465 Don't defer emitting types.
1466 (gen_type_die_for_member): New fn.
1467 (gen_decl_die): Call it.
1468 (splice_child_die): New fn.
1469 (gen_member_die): Call it rather than generate duplicate dies.
1471 Defer emitting information for the abstract instance of an inline
1472 until we either inline it or emit an out-of-line copy.
1473 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
1474 from output_inline_function if DECL_ABSTRACT is also set.
1475 (block_ultimate_origin): Likewise.
1476 (gen_abstract_function): New fn.
1477 (gen_decl_die, gen_inlined_subroutine_die): Call it.
1478 (gen_subprogram_die): An abstract instance is not a declaration
1479 just because it doesn't match current_function_decl. Don't abort
1480 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
1481 has an abstract origin.
1482 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
1483 abstract instance here.
1485 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
1487 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
1488 where we need to reload fpul from a system register.
1490 1999-11-24 Andreas Jaeger <aj@suse.de>
1492 * config/mips/linux.h (CPP_PREDEFINES): Added.
1493 (LINK_SPEC): Remove -Y since this is only needed on sparc.
1495 1999-11-24 Andreas Jaeger <aj@suse.de>
1497 * config/mips/linux.h (TARGET_VERSION): Added.
1498 (HANDLE_SYSV_PRAGMA): Added.
1499 (DEFAULT_VTABLE_THUNKS): Added.
1501 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
1503 * local-alloc.c (qty): New structure and static variable.
1504 (qty_phys_reg): Remove, all references changed to qty.
1505 (qty_n_refs): Likewise.
1506 (qty_min_class): Likewise.
1507 (qty_birth): Likewise.
1508 (qty_death): Likewise.
1509 (qty_size): Likewise.
1510 (qty_mode): Likewise.
1511 (qty_n_calls_crossed): Likewise.
1512 (qty_alternate_class): Likewise.
1513 (qty_changes_size): Likewise.
1514 (qty_first_reg): Likewise.
1515 (alloc_qty): Rename variable QTY to QTYNO.
1516 (finf_free_reg): Likewise.
1517 (local_alloc): Allocate qty, do not allocate the removed variables.
1519 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
1521 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
1522 when -membedded-pic is passed.
1524 * config/mips/mips.md (casesi): Handle 64-bit case too.
1525 (casesi_internal_di): New insn.
1527 * config/mips/mips.c (embedded_pic_offset): Always make the
1528 embedded-pic subtractions relative to the name of the current
1529 function by use of the magic string "..CURRENT_FUNCTION".
1530 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
1532 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
1534 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
1535 of (const_int 0), when what we really care about is
1536 whether it's a zero constant anyway.
1537 (div_trap_mips16): Likewise.
1539 1999-11-23 Mark Mitchell <mark@codesourcery.com>
1541 * loop.c (loop_optimize): Always find_loop_tree_blocks and
1542 unroll_block_trees when generating debuggable code.
1544 * tree.h (unsave_expr_1): New function.
1545 (lang_unsave): New variable.
1546 (get_callee_fndecl): New function.
1547 * tree.c (unsave_expr_now_r): New function.
1548 (lang_unsave): Define.
1549 (unsave_expr_1): Likewise.
1550 (unsave_expr_now_r): Split out from unsave_expr_now.
1551 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
1552 call unsave_expr_now_r.
1553 (get_callee_fndecl): Define.
1555 * Makefile.in (gencheck): Don't depend on lang_tree_files.
1556 (gencheck.o): Do depend on lang_tree_files.
1558 * integrate.h (copy_decl_for_inlining): New declaration.
1559 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
1560 (copy_decl_for_inlining): New function.
1561 (integrate_parm_decls): Use it.
1562 (integrate_decl_tree): Likewise.
1564 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
1566 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
1567 the second two from the first.
1568 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
1569 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
1570 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
1572 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
1573 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
1576 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
1578 * pa.md (call_internal_symref, call_value_internal_symref): No mode
1579 needed on the address operand.
1580 * pa.c (call_operand_address): Check for the correct mode.
1582 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
1584 * loop.c: Include "basic-block.h".
1585 (try_copy_prop, replace_loop_reg): New functions.
1586 (load_mems): Detect registers that just hold copies of the hoisted
1587 mem, and call try_copy_prop to eliminate them.
1588 * Makefile.in (loop.o): Update dependencies.
1590 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
1592 * Makefile.in (gencheck.o): Depend on gencheck.h.
1593 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
1594 (insn-peep.o): Depend on except.h and function.h.
1595 (insn-attrtab.o): Depend on RECOG_H.
1596 (insn-output.o): Depend on toplev.h and flags.h.
1597 (gengenrtl.o): Depend on real.h.
1598 (gen-protos.o): Depend on cpplib.h and cpphash.h.
1599 Unify all dependencies to be on RECOG_H rather than recog.h.
1601 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1603 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
1604 * configure.in: Try building a bi-arch 32/64-bit compiler on
1605 sparc-*-solaris2.7 and higher.
1606 * configure: Rebuild.
1608 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
1610 * config/freebsd.h: New, FreeBSD architecture independent file.
1611 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
1613 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
1614 directly by i386/freebsd.h.
1615 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
1616 independent configuration file.
1617 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
1618 directly by i386/freebsd.h.
1619 * configure: Rebuilt.
1621 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
1622 which is in the user's namespace.
1623 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
1624 `i386' which is not in our namespace.
1626 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
1628 * invoke.texi (ARM Options): Add in -mno-alignment-traps
1630 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
1632 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
1633 (add_dwarf_attr, add_child_die): Just push onto the front.
1634 (reverse_die_lists): New fn.
1635 (add_sibling_attributes): Use it.
1636 (push_decl_scope): Reorganize.
1637 (add_name_and_src_coords_attributes): Don't set file and line for
1639 (gen_subprogram_die): An artificial function doesn't need to match
1641 (gen_compile_unit_die): Return the generated die. Only add
1642 AT_comp_dir if the filename is relative.
1643 (remove_AT): Simplify loop. Also free string values.
1644 (output_die): A DIE ref can't be null.
1645 (output_value_format, value_format): Take a dw_attr_ref.
1646 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
1647 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
1648 AT_addr, AT_lbl): New fns.
1649 (various): Use them.
1650 (various): Constify.
1652 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1654 * combine.c (combine_simplify_rtx): When handling a SUBREG,
1655 take SUBREG_WORD into account.
1656 (if_then_else_cond): Likewise.
1658 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
1660 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
1661 clause from BSD license, pursuant with
1663 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1665 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
1667 * loop.c (load_mems): Reformat slightly.
1668 * basic-block.h (regset_head): New typedef.
1669 (INIT_REG_SET): New macro.
1671 1999-11-22 Bruce Korb <autogen@linuxbox.com
1673 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
1674 (mips-dec-bsd*): non-functional code
1675 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
1677 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
1678 added three replacement fixes
1679 (no_double_slash): removed comments that are not (any longer) pertinent
1680 (bad_lval): this fix currently runs against many files.
1681 The comment seems to indicate that we should select for files
1682 containing 'pragma extern_prefix'.
1684 * fixinc/fixinc.x86-linux-gnu: deleted
1685 * fixinc/inclhack.sh: regen
1686 * fixinc/fixincl.x: regen
1687 * fixinc/fixincl.sh: regen
1689 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
1691 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
1692 its code is INSN and it has no notes.
1694 1999-11-22 Andrew Haley <aph@cygnus.com>
1696 * varasm.c (function_defined): Remove.
1697 (make_function_rtl): Don't set function_defined.
1698 (make_decl_rtl): Remove global register warning.
1699 * regclass.c (no_global_reg_vars): New variable.
1700 (globalize_reg): Warn if function has already been defined.
1701 (regclass_init): Set no_global_reg_vars.
1703 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
1705 * regclass.c (reg_pref): New structure and static variable
1706 (prefclass): Delete.
1708 (all uses of prefclass and altclass): Use reg_pref instead.
1710 1999-11-21 Nick Clifton <nickc@cygnus.com>
1712 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
1714 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
1715 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
1716 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
1718 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
1720 * varasm.c (output_constructor): Solve problem with long long
1721 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
1723 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
1725 * global.c (allocno): New structure and static variable.
1726 (allocno_reg): Remove, all references replaced by allocno.
1727 (allocno_size): Likewise.
1728 (hard_reg_conflicts): Likewise.
1729 (hard_reg_preferences): Likewise.
1730 (hard_reg_copy_preferences): Likewise.
1731 (hard_reg_full_preferences): Likewise.
1732 (regs_someone_prefers): Likewise.
1733 (allocno_calls_crossed): Likewise.
1734 (allocno_n_refs): Likewise.
1735 (allocno_live_length): Likewise.
1736 (find_reg): Rename ALLOCNO to NUM.
1738 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
1740 (may_move_out_cost): New variable.
1741 (init_reg_sets_1): Initialize may_move_out_cost.
1742 (record_reg_classes): Use may_move_out_cost.
1744 * regclass.c (dump_regclass): New function.
1745 (regclass): New parameter DUMP, call DUMP_REGCLASS.
1746 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
1747 pass rtl_dump_file to regclass.
1748 * rtl.h (regclass): Update prototype.
1750 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
1752 * i386.md (neg, not and abs patterns): Revmap to use
1753 ix86_expand_unary_operator and ix86_unary_operator_ok.
1754 (add?f and sub?f expanders): Force operand 1 to register.
1755 * i386.c (ix86_expand_unary_operator): Rewrite.
1756 (ix86_unary_operator_ok): Ensure that memory operands
1758 (ix86_binary_operator_ok): Do not allow operand 1 to
1759 come into memory and operand 0 not.
1760 (ix86_expand_binary_operator): Ensure that
1761 src1 is not non-matching memory.
1763 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
1764 to support integer registers and memory.
1765 (abss?2_integer): Likewise.
1767 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
1768 (REG_CLASS_NAMES): Likewise.
1769 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
1771 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
1772 (movsf): Likewise; unify 4th and 5th alternative.
1774 (movdf_1): Likewise; rename to movdf_integer.
1775 (pushxf): Likewise; rename to pushxf_integer; fix output template;
1776 remove redundant splitter.
1777 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
1778 (movdf_nointeger): New.
1779 (movxf_nointeger): New.
1780 (pushxf_nointeger): New.
1782 * i386.md (extend?f?f): Split to expander and pattern, refuse two
1783 memory operands in patterns.
1784 (fop*): Refuse two memory operands.
1786 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
1787 on !TARGET_USE_CLTD CPUs.
1789 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
1791 * extend.texi: Document C++ restricted pointers and references.
1793 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
1795 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
1796 (invalidate_skipped_set): Call it unconditionally.
1797 (cse_set_around_loop): Likewise.
1799 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
1801 * rtl.texi (mem): Add documentation for alias-set argument
1804 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
1806 * i386.h (struct_processor_costs): New fields int_load, int_store,
1807 fp_move, fp_load and fp_store
1808 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
1810 (MEMORY_MOVE_COST): New macro.
1811 * i386.c (386_cost): Define new fields.
1812 (i486_cost): Likewise.
1813 (pentium_cost): Likewise.
1814 (pentiumpro_cost): Likewise.
1815 (k6_cost): Likewise.
1817 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
1818 Geoffrey Keating <geoffk@cygnus.com>
1820 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
1822 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
1825 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
1826 (TARGET_STRICT_ALIGNMENT): New macro.
1827 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
1828 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
1829 * invoke.texi (M680x0 Options): Document -mstrict-align.
1831 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
1832 Richard Henderson <rth@cygnus.com>
1834 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
1835 (ix86_split_long_move): Declare.
1836 * i386.c (split_xf, ix86_split_movdi): Remove.
1837 (ix86_split_to_parts, ix86_split_long_move): New.
1838 * i386.md (dimode move splitters): Use ix86_split_long_move.
1839 (dfmode move splitters): Likewise.
1840 (xfmode move splitters): Likewise.
1841 (movsf_1): Allow F->r.
1842 (movdf_1, movxf_1): Allow F->ro.
1844 1999-11-17 Mark Mitchell <mark@codesourcery.com>
1846 * except.h (struct eh_entry): Add goto_entry_p.
1847 (eh_region_from_symbol): Remove prototype.
1848 * except.c (find_func_region_from_symbol): New function.
1849 (emit_cleanup_handler): Likewise.
1850 (eh_region_from_symbol): Make it static.
1851 (add_new_handler): Verify the argument.
1852 (find_func_region): Update comment.
1853 (expand_eh_region_end): Expand handlers here, rater than waiting
1854 until expand_leftover_cleanups or start_all_catch.
1855 (expand_leftover_cleanups): Don't expand here.
1856 (expand_start_all_catch): Or here.
1857 (expand_rethrow): Check the return value from find_func_region.
1858 * function.c (expand_function_end): Emit the catch_clauses.
1860 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
1862 * integrate.c (expand_inline_function): Add necessary check for NULL.
1864 1999-11-18 Nick Clifton <nickc@cygnus.com>
1866 * toplev.c (main): Correctly detect an unrecognised option.
1868 * cppinit.c (cpp_handle_option): Do not claim to have consumed
1869 a -f option if it has not been recognised.
1871 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
1873 * basic-block.h (update_life_extent): Remove trailing comma on
1874 enumeration type list.
1876 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1878 * varasm.c (output_constructor) Solved problem with long long
1879 bitfields. Corrected calculating this_time and shift. Also
1880 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
1882 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
1884 * flow.c (split_edge): Take looping structure into account when
1885 determining where to put the new block note.
1887 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
1889 * Makefile.in (ggc-none.o): Provide host specific version if
1892 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
1894 * cse.c (delete_trivially_dead_insns): Identify no-op insns
1895 containing subregs too.
1897 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
1899 * invoke.texi: Add documentation for -muninit-const-in-rodata.
1900 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
1901 (TARGET_UNINIT_CONST_IN_RODATA): Define.
1902 (text_section): Add switches -munint-const-in-rodata and
1903 -mno-uninit-const-in-rodata.
1904 (ASM_OUTPUT_COMMON): Remove.
1905 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
1906 const objects should be placed in read-only data. Otherwise declare
1909 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
1911 * jump.c (jump_optimize_1): Revert last change.
1913 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
1915 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
1916 test if optimizing for size.
1918 1999-11-17 Mark Mitchell <mark@codesourcery.com>
1920 * Makefile.in (toplev.o): Depend on except.h.
1921 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
1923 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
1925 * i386.md (divmodsi4): Rewrite to expander.
1926 (*divmodsi4_nocltd): New.
1927 (*divmodsi4_cltd): New.
1928 (divmodsi4 splitter): Handle the case when input comes in edx.
1929 (udivmodhi4): Do not use constraints in exander.
1930 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
1932 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
1934 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
1935 for the common case.
1937 1999-11-16 Jakub Jelinek <jakub@redhat.com>
1939 * explow.c (hard_function_value): Add outgoing argument.
1940 * expr.h (hard_function_value): Declare it.
1941 * calls.c (expand_call, emit_library_call_value): Update callers.
1942 * function.c (aggregate_value_p): Ditto.
1943 (diddle_return_value): Must look at the outgoing registers
1944 on archs with register windows.
1946 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
1948 * alpha.c (alpha_build_va_list): Use make_lang_type and
1949 initialize TYPE_NAME for the va_list record.
1951 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
1953 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
1955 * ggc.h (struct ggc_statistics): Rearrange elements for better
1956 packing on 64-bit hosts.
1957 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
1958 (compute_nearerout): Likewise.
1960 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
1962 * config/rs6000/rs6000.c (first_reg_to_save): Save
1963 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
1965 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
1967 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
1968 notion of nesting to find the DIE for a type or function.
1969 DIEs can go in limbo even if we got a context_die.
1970 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
1971 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
1973 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
1974 (gen_type_die): Writing out the context doesn't cause member class
1975 template instantiations to be written out as well.
1977 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
1979 * rs6000.h (ASM_OUTPUT_DEF): New.
1980 Based on proposed addition from David Edelsohn.
1982 1999-11-15 Robert Lipe <RobertLipe@usa.net>
1983 Bruce Korb <autogen@linuxbox.com>
1985 * fixinc/inclhack.def
1986 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
1987 (unixware7_byteorder_fix): added. Removes conflicts for new defs
1989 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
1990 (svr4_endian): enabled with SVR5
1991 (svr4_mkdev): simplified syntax and enabled with SVR5
1993 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
1995 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
1996 * configure: Rebuilt.
1997 * config/t-freebsd-thread: New file.
1999 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
2001 * i386.c (ix86_decompose_address): Verify the base is a REG
2002 before trying to examine its register number.
2004 * basic-block.h: Remove all #defines and prototypes related to
2006 (free_bb_mem, compute_preds_succs): Remove prototype.
2007 * rtl.h (free_bb_mem): Remove prototype.
2008 * flow.c (alloc_int_list_node); Remove function.
2009 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
2010 (compute_preds_succs, free_bb_mem): Likewise.
2011 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
2012 * toplev.c (rest_of_compilation): Likewise.
2013 * haifa-sched.c (build_control_flow): Use flow generated edge
2014 list to build the haifa specific edge list.
2015 (find_rgns): Use new CFG data structures instead of pred/succ lists.
2016 (schedule_insns): Do not build pred/succ lists anymore. Instead
2017 build the edge table.
2019 * basic-block.h (dump_bb_data): Remove declaration.
2020 * flow.c (dump_bb_data): Remove function.
2021 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
2022 (sbitmap_union_of_predsucc): Likewise.
2024 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
2025 argument. All callers changed.
2026 (delete_null_pointer_checks_1): No longer need to compute the
2029 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
2030 All callers changed.
2031 (pre_expr_reaches_here_p_work): Likewise.
2032 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
2033 * lcm.c (compute_laterin): Fix initialization of LATER.
2034 (compute_nearerout): Similarly for NEARER.
2036 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2038 * cse.c (set_nonvarying_address_components): Delete unused function.
2039 (refers_to_p): Likewise.
2041 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
2043 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
2046 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2048 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
2049 definition in do while (0).
2051 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
2053 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
2055 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
2057 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
2059 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
2061 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
2062 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
2063 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
2064 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
2066 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
2067 saved on the stack. Output more accurate stack frame statistics
2068 into assembler file.
2070 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
2072 * genextract.c (record_insn_name): New function.
2073 (get_insn_name): No longer a stub.
2074 (main): Call record_insn_name for each insn. After each label
2075 written, print the insn name in a comment.
2077 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2079 * output.h (const_section, init_section, fini_section): Add
2082 * alpha/elf.h (const_section): Delete declaration.
2084 * svr4.h (const_section): Likewise.
2086 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
2088 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
2089 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
2090 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
2092 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
2093 variable-sized array bounds.
2095 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
2097 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
2100 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2102 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
2103 addresses the same way GO_IF_LEGITIMATE_INDEX does.
2105 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2107 * cse.c (hash_arg_in_struct): Delete.
2108 (struct table_elt): Delete elt in_struct.
2109 (struct set): Delete elt src_in_struct.
2110 (merge_equiv_classes): Don't set either hash_arg_in_struct or
2111 the corresponding in_struct elts.
2112 (canon_hash): Likewise.
2113 (safe_hash): Likewise.
2114 (find_best_addr): Likewise.
2115 (record_jump_cond): Likewise.
2116 (cse_insn): Likewise.
2118 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
2120 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
2122 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
2125 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
2127 * function.c (diddle_return_value): Put back check that the DECL_RTL
2128 for the function is a register.
2130 * function.c (diddle_return_value): Use hard_function_value to
2131 get an rtx suitable for use in the USE/CLOBBER insn.
2133 * global.c (global_conflicts): Update comments.
2134 (record_conflicts): No need to record conflicts between pseudos here.
2136 1999-11-11 Bruce Korb <autogen@linuxbox.com>
2138 * fixinc/fixincl.c: Added verbose levels for status messages
2140 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2142 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
2143 operand as argument to expand_and or expand_binop.
2145 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
2147 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
2148 gcc_add_string_root.
2150 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
2152 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
2154 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
2156 * flow.c (compute_flow_dominators): Initially put all blocks on
2158 * lcm.c (compute_antinout_edge, compute_available): Similarly.
2159 * gcse.c (compute_cprop_avinout): Remove.
2160 (compute_cprop_data): Use compute_available.
2161 (delete_null_pointer_checks_1): Use compute_available.
2163 * basic-block.h (compute_available): Returns a void now.
2164 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
2165 to return a value anymore.
2166 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
2167 worklists. Fix boundary cases. Compute maximal solutions.
2168 (compute_laterin, compute_nearerout): Similarly.
2170 * dwarf2out.c (add_AT_location_description): Allow
2171 (mem (plus (pseudo) (...)) too.
2173 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
2175 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
2177 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
2178 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2180 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
2182 * gansidecl.h: Likewise.
2188 * toplev.h: Likewise.
2194 * varray.c: Likewise.
2196 * varray.h: Likewise.
2198 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
2200 * gcov.c (struct arcdata): Add hits and total, remove prob.
2201 (output_branch_counts): New.
2202 (process_args): Set output_branch_counts if -c.
2203 (calculate_branch_probs): Store hits and total instead of
2205 (output_data): Emit counts if output_branch_counts is true.
2206 * gcov.texi (Invoking Gcov): Document -c switch..
2208 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
2210 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
2211 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
2213 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
2215 * invoke.texi (C Dialect Options): Add missing builtins from
2217 * extend.texi (Other Builtins): Copy to this list.
2219 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2221 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
2222 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
2225 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
2227 * flow.c (compute_flow_dominators): No longer treat basic block 0
2228 or (n_basic_blocks - 1) specially. Clear the AUX field before
2229 starting computation of doms/pdoms. Fix initial state for pdoms.
2231 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2233 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
2234 match rtl.o's: added ggc.h and toplev.h
2235 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
2236 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
2237 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
2239 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
2241 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
2242 from HAVE_DOS_BASED_FILESYSTEM.
2243 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
2244 HAVE_DOS_BASED_FILESYSTEM.
2246 (split_directories): Only special-case DOS file names if
2247 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
2248 instead of explicit tests. Conditionalize on !VMS.
2249 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
2250 tests. Conditionalize on !VMS.
2251 (process_command): Only use make_relative_prefix if !VMS.
2252 (free_split_directories): Conditionalize on !VMS.
2253 (DIR_UP): Conditionalize on !VMS.
2255 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
2257 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
2259 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2261 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
2264 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
2266 * invoke.texi (Environment Variables): Document relative path
2268 * gcc.c (DIR_UP): If not defined, define as "..".
2269 (standard_bindir_prefix): New static, holds target location to
2271 (split_directories): New function to split a filename into
2272 component directories.
2273 (free_split_directories): New function, release memory allocated
2274 by split_directories.
2275 (make_relative_prefix): New function, make a relative pathname if
2276 the compiler is not in the expected location.
2277 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
2278 can figure out an appropriate prefix from argv[0].
2279 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
2280 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
2281 STANDARD_BINDIR_PREFIX.
2283 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2285 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
2287 * config/c4x/c4x.h: Moved prototypes to c4x.h.
2288 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
2289 c4x_secondary_memory_needed) Delete.
2290 (fp_zero_operand): Add mode argument.
2292 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
2294 * reload1.c (reload_reg_free_for_value_p): Don't use a register
2295 that is in reload_reg_used.
2297 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
2299 * config/arm/arm-protos.h: New file: Prototypes for functions
2300 defined in arm.c and pe.c.
2301 * config/arm/arm.h: Fix compile time warnings.
2302 * config/arm/arm.c: Fix compile time warnings.
2303 * config/arm/pe.h: Fix compile time warnings.
2304 * config/arm/aout.h: Fix compile time warnings.
2306 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
2308 * config/m32r/m32r-protos.h: New file: Prototypes for functions
2311 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
2312 Add support for subtargets.
2313 Add prototypes for new predicates.
2314 Add scheduling macros.
2316 * config/m32r/m32r.c: Fix compile time warnings.
2317 (int8_operand): New predicate function.
2318 (reg_or_cmp_int16_operand): New predicate function.
2319 (extend_operand): New predicate function.
2320 (m32r_adjust_code): New scheduling function.
2321 (m32r_adjust_priorty): New scheduling function.
2322 (m32r_sched_init): New scheduling function.
2323 (m32r_sched_reorder): New scheduling function.
2324 (m32r_sched_variable_issue): New scheduling function.
2325 (direct_return): New codegen function.
2326 (m32r_not_same_reg): New rtl testsing function.
2328 * config/m32r/m32r.md: Fix compile time warnings.
2329 Add support for pre decrement and post increment memory
2334 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2336 * global.c (EXECUTE_IF_CONFLICT): Don't define.
2337 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
2338 (find_reg): Likewise.
2340 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
2342 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
2343 to avoid assembler errors.
2345 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
2347 * config/v850/v850-protos.h: New file: Prototypes for functions
2349 * config/v850/v850.h: Move prototypes to v850-protos.h
2350 * config/v850/v850.c: Move prototypes to v850-protos.h
2351 * config/v850/v850.md: Fix compile time warnings.
2353 * config/fr30/fr30-protos.h: New file: Prototypes for functions
2355 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
2356 * config/fr30/fr30.c: Fix compile time warnings.
2357 * config/fr30/fr30.md: Fix compile time warnings.
2359 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
2361 * tree.h (get_containing_scope): Declare it.
2362 * tree.c (get_containing_scope): New fucntion.
2363 (decl_function_context): Use it.
2364 * toplev.c (rest_of_compilation): Use get_containing_scope.
2366 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2368 * Makefile.in (rtl.o): Depend on toplev.h.
2370 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
2372 * cse.c (delete_trivially_dead_insns): Replace alloca with
2374 * except.c (update_rethrow_references): Likewise.
2375 (init_eh_nesting_info): Likewise.
2376 * function.c (identify_blocks): Likewise.
2377 * gcse.c (dump_hash_table): Likewise.
2378 * graph.c (print_rtl_graph_with_bb): Likewise.
2379 * loop.c (combine_movables): Likewise.
2380 (move_movables): Likewise.
2381 (count_loop_regs_set): Likewise.
2382 (strength_reduce): Likewise.
2383 * profile.c (compute_branch_probabilities): New function, split
2385 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
2386 * regclass.c (regclass): Likewise.
2387 * regmove.c (regmove_optimize): Likewise.
2388 * toplev.c (compile_file): Likewise.
2389 (main): Don't mess with the stack rlimit.
2391 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
2393 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
2394 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
2396 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
2398 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
2400 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
2402 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
2403 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
2406 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
2408 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
2410 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
2412 * gcse.c (post_dominators): Kill.
2413 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
2414 (compute_code_hoist_data): Use compute_flow_dominators. Do not
2415 pass in a pdom array since we do not need pdoms.
2416 * haifa-sched.c (schedule_insns): Similarly.
2417 * flow.c (compute_dominators): Remove dead function.
2418 (compute_flow_dominators): Do not compute doms or pdoms if the
2419 caller does not request them. Split up loop to build doms and
2420 pdoms. Use a worklist to compute doms and pdoms.
2421 * basic-block.h (compute_dominators): Remove prototype.
2423 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
2425 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
2426 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
2427 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
2428 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
2429 (cant_move, fed_by_spec_load, is_load_insn): Remove.
2430 (schedule_region): Remove unused variable.
2431 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
2433 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
2435 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
2436 (update_equiv_regs): Likewise.
2437 (block_alloc): Likewise.
2438 * reg-stack.c (reg_to_stack): Likewise.
2439 (convert_regs_2): Likewise.
2440 * reload1.c (reload_as_needed): Likewise.
2442 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
2444 * Makefile.in (dbxout.o): Depend on ggc.h.
2445 (dwarf2out.o): Likewise.
2446 (xcoffout.o): Likewise.
2447 * dbxout.c: Include ggc.h.
2448 (dbxout_init): Register lastfile as a root.
2449 * dwarf2out.c: Include ggc.h.
2450 (dwarf2out_line): Register lastfile as a root.
2451 * xcoffout.c: Include ggc.h.
2452 (xcoffout_source_line): Register xcoff_lastfile as a root.
2454 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
2456 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
2458 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
2460 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
2462 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
2464 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2466 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
2467 (EXECUTE_IF_CONFLICT): Likewise.
2468 (ALLOCNO_LIVE_P): Avoid signed division.
2469 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
2470 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
2471 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
2473 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
2475 * haifa-sched.c (schedule_block): Don't crash if there's no
2476 next insn for an interblock movement.
2477 (add_branch_dependences): Don't allow clobber insns to move either.
2479 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
2481 * i386.c (split_xf): New.
2482 * i386-protos.h: Declare it.
2483 * i386.md (movxf_1): Add general regs alternatives.
2484 (movxf_1+1): New splitter for same.
2486 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
2488 * function.c (purge_addressof_1): Add missing return values.
2490 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
2492 * function.c (is_addressof): New function. Returns true if
2493 the given piece of RTL is an ADDRESSOF.
2494 (purge_addressof_1): Make boolean. Return false if the
2495 ADDRESSOFs could not be purged.
2496 (purge_addressof): If ADDRESSOFs could not be purged from the
2497 notes attached to an insn, remove the offending note(s),
2498 unless they are attached to a libcall.
2500 1999-11-05 Andreas Jaeger <aj@suse.de>
2502 * genoutput.c (null_operand =): Initialize all fields.
2504 * errors.h: Add extern to prototypes.
2506 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
2508 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
2509 * configure: Rebuilt.
2511 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2513 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
2514 (mirror_conflicts): New function.
2515 (global_alloc): Call it.
2516 (expand_preferences): Remove redundant CONFLICTP test.
2517 (find_reg, dump_conflicts): Likewise.
2518 (prune_preferences): Process conflicts one word at a time.
2520 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
2522 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
2523 instead of an explicit loop.
2525 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
2527 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
2528 if REG_RETVAL check succeeds, then put classp in src_elt.
2530 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
2532 * function.c (pad_to_arg_alignment): Only update argument_pad
2533 if the argument's alignment is greater than STACK_BOUNDARY.
2535 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
2537 * bitmap.h (BITMAP_XFREE): New.
2538 * flow.c (life_analysis): Use it.
2539 (life_analysis_1): Free blocks.
2541 * combine.c (undo_commit): New.
2542 (try_combine): Use it. Don't zap undobuf.undos.
2543 (combine_instructions): Don't zap undobuf.undos; free the
2546 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
2548 * stmt.c (cost_table_): New.
2549 (estimate_case_costs): Use it instead of xmalloc.
2551 * toplev.c (compile_file): Reuse dumpname memory instead
2554 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
2556 * reg-stack.c (convert_regs_1): Initialize target_stack->top
2557 after verifying an EH edge.
2559 * haifa-sched.c (init_rgn_data_dependences): Correctly
2560 size bb_pending_lists_length when zeroing.
2562 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
2564 * function.c (diddle_return_value): New.
2565 (expand_function_end): Use it.
2566 * stmt.c (expand_null_return): Likewise.
2567 (expand_value_return): Likewise.
2569 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
2571 * reload1.c (reload): Don't remove return value clobbers.
2573 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
2575 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
2577 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
2579 * cse.c (cse_main): Use xmalloc, not alloca.
2580 (cse_basic_block): Likewise.
2581 * local-alloc.c (local_alloc): Likewise.
2583 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
2584 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2586 * rtl.c: Include toplev.h.
2587 (fatal): Remove declaration.
2589 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
2591 * haifa-sched.c (schedule_block): Fix thinko.
2593 1999-11-03 James McKelvey <mckelvey@fafnir.com>
2595 * fixinc/fixincl.c(create_file): Allow for systems that do not have
2596 S_IR* defined values
2598 1999-11-03 Philippe De Muyter <phdm@macqel.be>
2600 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
2601 call `malloc' instead.
2603 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
2605 * flags.h (flag_renumber_insns): Declare.
2606 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
2608 * rtl.h (renumber_insns): Change prototype.
2609 * toplev.c (flag_renumber_insns): Define.
2610 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
2612 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
2614 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
2615 and fpsqrtd. Use them and create fdiv function unit to more
2616 accurately represent fpu sqrt pipeline semantics on UltraSparc.
2617 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
2619 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
2621 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
2623 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
2624 insn into ready list, do not use just a raw swap.
2626 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
2628 * rtl.h (renumber_insns): New function.
2629 (remove_unnecessary_notes): Likewise.
2630 * emit-rtl.c (renumber_insns): Define.
2631 (remove_unncessary_notes): Likewise.
2632 * toplev.c (rest_of_compilation): Remove dead code.
2633 Use renumber_insns and remove_unncessary_notes.
2635 * gcse.c (struct null_pointer_info): New type.
2636 (get_bitmap_width): New function.
2637 (current_block): Remove.
2638 (nonnull_local): Likewise.
2639 (nonnull_killed): Likewise.
2640 (invalidate_nonnull_info): Take a null_pointer_info as input.
2641 (delete_null_pointer_checks_1): New function.
2642 (delete_null_pointer_checks): Use it.
2644 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
2645 (split_edges): Likewise.
2646 (schedule_block): Likewise.
2647 (compute_block_backward_dependencies): Likewise.
2648 (schedule_region): Likewise.
2649 (schedule_insns): Likewise.
2651 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
2653 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
2654 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
2655 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
2656 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
2657 * jump.c (delete_unreferenced_labels): Don't delete if
2658 LABEL_ALTERNATE_NAME is set.
2659 * print-rtl.c (print_rtx): Dump alternate name.
2660 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
2661 * rtl.h (LABEL_ALTERNATE_NAME): Define.
2662 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
2663 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
2665 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2667 * fix-header.c (recognized_extern, recognized_function): Constify
2670 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
2671 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
2672 (compute_available): Remove unused variable `last'.
2673 (compute_nearerout): Remove unused variable `temp_bitmap'.
2674 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
2675 Remove unused variable `x'.
2677 * scan.h (recognized_function, recognized_extern): Constify a
2680 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
2682 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2684 * varasm.c (decode_rtx_const): Use XSTR to access the string
2687 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
2689 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
2691 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2693 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
2695 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
2697 * pa.c (ireg_operand): New function.
2698 * pa.h (PREDICATE_CODES): Handle ireg_operand.
2699 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
2700 Fix out of date comment.
2702 * pa.md (negdi2): Turn into expander + anonymous pattern.
2704 * reload.c (find_reloads): Fix typos in recent change.
2706 * dwarf2out.c: Do not include ctype.h.
2708 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2710 * regclass.c (record_reg_classes): Always use may_move_cost when
2711 seeing how operand fits with various register classes.
2713 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
2715 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
2716 * toplev.c: Revert Nov 1 13:22 change.
2718 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
2720 * config/pa/pa.md (height reduction patterns): Add checks for
2721 overlapping operands to avoid semantic-destroying splits for
2722 height reduction patterns.
2724 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2726 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
2727 have been an hyphen, fixed.
2728 * configure: Rebuilt.
2730 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
2732 * config/arm/tpe.h: Add prototypes for exported functions.
2733 * config/arm/pe.c: Fix compile time warnings.
2734 * config/arm/semi.h: Fix compile time warnings.
2735 * config/arm/arm.c: Fix compile time warnings.
2736 * config/arm/arm.h: Fix compile time warnings.
2737 * config/arm/arm.md: Fix compile time warnings.
2738 * config/arm/thumb.c: Fix compile time warnings.
2739 * config/arm/thumb.h: Fix compile time warnings.
2740 * config/arm/thumb.md: Fix compile time warnings.
2742 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
2744 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
2747 * unroll.c (unroll_loop): Remove LOOP notes when loop is
2748 completely unrolled.
2750 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2752 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
2754 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
2756 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
2757 * rtl.h (rtx_equal_p): Move prototype.
2758 * rtl.c (rtx_equal_function_value_matters): Move from
2760 (rtx_equal_p): Likewise.
2761 * rtlanal.c (rtx_equal_function_value_matters): Delete.
2762 (rtx_equal_p): Likewise.
2764 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
2766 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
2769 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
2771 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
2773 * pa.h (ADDR_VEC_ALIGN): Define.
2775 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
2776 notes when presented with "if (foo) break; end_of_loop" and
2777 the break sequence gets moved out of the loop.
2779 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
2780 Remove explicit zero initializations of entries within MAP.
2782 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
2784 * reg-stack.c (convert_regs_1): Handle EH edges specially.
2786 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
2788 * bitmap.h (BITMAP_XMALLOC): New macro.
2789 * flow.c (CLEAN_ALLOCA): Remove.
2790 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
2791 (life_analysis): Likewise.
2792 (update_life_info): Don't use CLEAN_ALLOCA.
2793 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
2794 (calculate_global_regs_live): Likewise.
2795 (print_rtl_with_bb): Likewise.
2796 (verify_flow_info): Likewise.
2797 * global.c (global_alloc): Likewise.
2798 (global_conflicts): Likewise.
2799 * integrate.c (save_for_inline_nocopy): Likewise.
2800 (expand_inline_function): Likewise.
2801 * jump.c (jump_optimize_1): Likewise.
2802 (duplicate_loop_exit_test): Likewise.
2803 (thread_jumps): Likewise.
2804 * loop.c (loop_optimize): Likewise.
2805 (combine_givs): Likewise.
2806 (recombine_givs): Likewise.
2807 * reorg.c (dbr_schedule): Likewise.
2808 * unroll.c (unroll_loop): Likewise.
2810 * combine.c (combine_instructions): Use xmalloc instead of alloca.
2812 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
2814 * toplev.c (rest_of_compilation): Don't optimize the CFG
2815 when rebuilding, just before dbr.
2817 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2819 * output.h (assemble_end_function, assemble_destructor,
2820 assemble_constructor, assemble_gc_entry, assemble_global,
2821 assemble_label, output_constant_pool) Constify a char*.
2823 * varasm.c (assemble_destructor, assemble_constructor,
2824 assemble_gc_entry, assemble_end_function, assemble_global,
2825 assemble_label, output_constant_pool): Likewise.
2827 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
2829 * config/arm/thumb.c (thumb_expand_prologue): Add comments
2830 explaining what is goin on in this function.
2832 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2834 * regclass.c (record_reg_classes): In matching case, recompute
2835 costs since the direction of movement is different.
2837 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
2839 * resource.c (mark_target_live_regs): For unconditional branches,
2840 the resources found at the branch target should be added to the
2841 resources found so far, not intersected.
2843 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
2845 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
2847 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
2848 (sys/mman.h): Include this file only if #HAVE_MMAP.
2849 (run_compiles): Initialize `esac_fmt' with one old KR string, not
2850 with automatically concatenated ANSI strings.
2852 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
2854 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
2855 (DIV_ROUND_UP): Robustify.
2856 (ggc_recalculate_in_use_p): New function.
2857 (release_pages): Don't inline it.
2858 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
2860 (ggc_pop_context): Use ggc_recalculate_in_use_p.
2861 (clear_marks): Always save in_use_p.
2862 (sweep_pages): Use ggc_recalculate_in_use_p.
2863 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
2864 Release pages before counting statistics.
2866 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
2868 * toplev.c (rest_of_compilation): Fix thinko in this change:
2870 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
2872 (rest_of_compilation): If inside an inlined external function,
2873 pretend we are just being declared.
2875 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
2877 * flow.c (calculate_global_regs_live): Fix thinko.
2879 * integrate.c (expand_inline_function): Fix bugs in previous
2880 change from Oct 28, 1999.
2882 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
2884 * stmt.c (expand_value_return): Fix typo in this change:
2886 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2887 (expand_value_return): Correctly convert VAL when promoting function
2888 return; support RETURN_REG being a PARALLEL.
2890 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
2892 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
2894 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2896 * hard-reg-set.h (reg_names): Constify a char*.
2898 * regclass.c (reg_names): Likewise.
2900 * regs.h (reg_names): Likewise
2902 * a29k/a29k.c (reg_names): Delete declaration.
2904 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
2906 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
2907 arc_output_function_epilogue): Likewise.
2909 * elxsi/elxsi.c (reg_names): Likewise.
2911 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
2913 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
2916 * m88k/m88k.c (output_function_profiler): Likewise.
2918 * sparc/sparc.c (sparc_flat_output_function_prologue,
2919 sparc_flat_output_function_epilogue): Likewise.
2921 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
2923 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
2924 warning from -Wuninitialized and put it under -W.
2925 * function.c (uninitialized_vars_warning): Warn only when the
2926 corresponding flag is set.
2928 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
2930 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
2931 is nonzero and the single set does not have an elt, then assign
2934 * simplify-rtx.c: New file.
2935 * Makefile.in (OBJS): Add simplify-rtx.o
2936 (simplify-rtx.o): Add dependencies.
2937 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
2938 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
2939 (cse_gen_binary, simplify_unary_operation): Delete.
2940 (simplify_binary_operation, simplify_plus_minus): Likewise.
2941 (check_fold_consts, simplify_relation_operation): Likewise.
2942 (simplify_ternary_operation): Likewise.
2943 (delete_trivially_dead_insns): Simplify the contents of the
2944 REG_EQUAL note before trying to substitute it into the source
2945 of the reg-reg copy at the end of a libcall sequence.
2947 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
2948 references/callers changed.
2950 * mn10200.c (mn10200_va_arg): Force the return value into a
2953 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
2955 * cccp.c (macroexpand): Avoid out of range accesses for omitted
2958 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
2960 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
2962 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
2964 * fold-const.c (fold): Fix thinko when optimizing comparisons
2967 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
2969 * gcc.texi (Passes): Update front-end files to their current
2972 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
2974 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
2975 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
2976 (PREDICATE_CODES): Add addition_operation.
2977 * alpha-protos.h (addition_operation): Declare.
2978 (secondary_reload_class): Likewise.
2979 * alpha.c (addition_operation): New.
2980 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
2981 * alpha.md (adddi3): Turn into expander.
2982 (*lda, *adddi_2): New.
2983 (movsf, movdf patterns): Don't preference integer regs.
2984 (movsi, movdi patterns): Don't preference fp regs.
2986 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
2988 * genrecog.c (write_switch): Check for duplicate CODE cases.
2990 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
2992 * ggc-common.c: Update pre-function commentary.
2993 * ggc-page.c: Likewise.
2995 (poison_pages): Use memset directly.
2996 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
2997 (ggc_collect): Poison before sweeping.
2998 * ggc-simple.c: Update pre-function commentary.
2999 (ggc_alloc_obj): Poison non-zeroed memory.
3001 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
3003 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
3004 match format string, even on 64-bit hosts.
3005 * gcc-page.c (ggc_page_print_statistics): Likewise.
3007 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
3009 * config/i386/i386.c (ix86_cpu): Revert last patch.
3010 * config/i386/i386.h (ix86_cpu): Ditto.
3012 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
3014 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
3015 TYPE_SIZE, convert type of result to sizetype.
3017 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
3019 * flow.c (count_or_remove_death_notes): Equate NULL with the
3022 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
3023 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
3026 * i386.c (pic_label_no): Delete.
3027 (ix86_attr_length_default): Don't use single_set to peek
3030 * recog.c (peephole2_optimize): Allow recog_next_insn to index
3031 the first insn after bb->end.
3032 * i386.md (push mem peeps): Scratch is live after evaluation
3034 (cmp mem peep): Similarly.
3036 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
3038 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
3039 * function.c (pad_to_arg_alignment): Add missing braces.
3041 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3043 * alpha/alpha-protos.h (literal_section): Add prototype.
3044 (alpha_need_linkage, alpha_start_function,alpha_end_function):
3047 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
3049 (alpha_start_function, alpha_end_function, float_strings,
3050 alpha_need_linkage): Constify a char*
3052 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
3054 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
3056 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
3058 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
3060 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3062 * flow.c (debug_flow_info): Add prototype.
3064 * gcc.c (main): Likewise.
3066 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
3069 * reload1.c (failed_reload, set_reload_reg): Likewise.
3071 * mips-tfile.c (main): Likewise.
3072 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
3073 with ATTRIBUTE_NORETURN.
3075 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
3077 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
3078 DECL is not a memory ref.
3080 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
3082 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
3083 * config/i386/i386.c (ix86_cpu): Add extern attribute.
3085 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
3087 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
3088 * config/mips/elf64.h: ditto.
3090 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
3092 * expr.c (emit_push_insn): New argument alignment_pad.
3093 Update all callers. Adjust stack pointer based on alignment pad.
3094 * function.c (pad_to_arg_alignment): New argument alignment_pad.
3095 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
3096 (locate_and_pad_parm): New argument alignment_pad. Update all
3098 * expr.h (emit_push_insn): Update prototype.
3099 (locate_and_pad_parm): Update prototype.
3100 * calls.c (arg_data): Add new field alignment_pad.
3101 (initialize_argument_information): Initialize alignment_pad.
3103 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
3105 * except.c (free_eh_nesting_info): Free the info itself.
3106 * function.c (free_after_compilation): Don't free NULL.
3107 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
3108 (pre_edge_insert): Free inserted.
3109 * stmt.c (free_stmt_status): Don't free NULL.
3111 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
3113 * gcov.c (DIR_SEPARATOR): Provide default.
3114 (output_data): Add test for MS-DOS format absolute filename.
3115 (fancy_abort): Correct program name.
3116 (open_files): Open all files in binary mode.
3117 * libgcc2.c (__bb_exit_func): Likewise.
3119 * profile.c (init_branch_prob): Specify binary when opening files.
3121 * flags.h (flag_unwind_tables): New decl.
3122 * toplev.c (flag_unwind_table): New definition.
3123 (f_options): Add -funwind-tables.
3124 (decode_g_option): Clarify warning when unknown -g option is given.
3125 (rest_of_compilation): If inside an inlined external function,
3126 pretend we are just being declared.
3128 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
3129 (dwarf2out_frame_finish): Likewise.
3131 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
3133 * fold-const.c (merge_ranges): If not in0, but in1, handle
3134 upper bounds equal like subset case.
3136 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
3138 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
3139 passed in a register but moved to the stack.
3141 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
3143 * gcc.c (pass_exit_codes, greatest_status): New variables.
3144 (struct option_map): Add entry for "--pass-exit-codes".
3145 (execute): Update greatest_status if error.
3146 (display_help): Add documentation for -pass-exit-codes.
3147 (process_command): Handle -pass-exit-codes.
3148 (main): Look at pass_exit_codes and greatest_status on call to exit.
3150 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3152 * reload.c (find_reloads): Refine test for no input reload
3153 case to not includes reloads emitted after insn.
3155 * function.c (find_temp_slots_from_address): Handle sum involving
3156 a register that points to a temp slot.
3157 (update_temp_slot_address): Make recursive call if both old and
3158 new are PLUS with a common operand.
3159 * calls.c (expand_call): Mark temp slot for result as having
3162 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
3164 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
3165 component as well as "BINUTILS".
3167 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
3168 * integrate.c (copy_rtx_and_substitute): Likewise.
3169 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
3170 All callers changed.
3171 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
3173 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
3174 gdb extensions, write size of type; also be more consistent
3175 in using references when this is a subtype.
3177 * pa.md (extv, extzv, insv): Use define_expand to reject constant
3178 that is out of range.
3180 * loop.c (unknown_constant_address_altered): New variable.
3181 (prescan_loop): Initialize it.
3182 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
3183 (invariant_p, case MEM): Remove handling for volatile and readonly;
3184 check new variable if readonly.
3185 (check_dbra_loop): Chdeck unknown_constant_address_altered.
3187 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
3188 (addr_affects_sp_p): Removed from note_mem_written and only
3189 define #ifdef AUTO_INC_DEC.
3191 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
3193 * regclass.c (record_reg_classes): Properly handle register move
3196 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
3197 Don't think valid if both operands are invalid.
3198 (struct constant_descriptor): New field RTL.
3199 (mark_const_hash_entry): Mark it.
3200 (record_constant{,_rtx}): Initialize it.
3201 (output_constant_def): Allocate RTL in permanent obstack and
3203 ({record,compare}_constant_1): Modes must match for
3204 CONSTRUCTOR of ARRAY_TYPE.
3206 * c-common.h (initializer_constant_valid_p): Delete decl from here.
3207 * output.h (initializer_constant_valid_p): Move decl to here.
3208 * c-common.c (initializer_constant_valid_p): Delete function from here.
3209 * varasm.c (initializer_constant_valid_p): Move function to here.
3211 * tree.h (STRIP_SIGN_NOPS): New macro.
3212 * fold-const.c (optimize_minmax_comparison): New function.
3213 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
3214 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
3215 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
3216 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
3217 widening conversions.
3218 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
3219 to look at size of mode, not precision of type; also add missing cases.
3220 (optimize_bit_field_compare, decode_field_reference): Don't try to
3221 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
3223 * dwarf2out.c (ctype.h): Include.
3224 (dwarf2out_set_demangle_name_func): New function.
3225 (size_of_line_info): Deleted.
3226 (output_line_info): Compute size of line info table from difference
3228 (base_type_die, add_name_attribute): Call demangle function, if any.
3229 (field_byte_offset): Use bits per word for variable length fields.
3230 (gen_array_type_die): Add array name.
3231 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
3232 (dwarf2out_add_library_unit_info): New function.
3234 * explow.c (set_stack_check_libfunc): New function.
3235 (stack_check_libfunc): New static variable.
3236 (probe_stack_range): Allow front-end to set up a libfunc to call.
3238 * combine.c (simplify_comparison): When making comparison in wider
3239 mode, check for having commuted an AND and a SUBREG.
3240 (contains_muldiv): New function.
3241 (try_combine): Call it when dividing a PARALLEL.
3242 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
3243 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
3245 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
3246 use one of the CLOBBERs instead.
3247 (if_then_else_cond): If comparing against zero, just return thing
3250 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
3251 Don't generate shifts and subtract if have conditional arithmetic.
3253 * rtl.h (delete_barrier): New declaration.
3254 * jump.c (jump_optimize): Set up to handle conditional call.
3255 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
3256 (delete_barrier): New function.
3258 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
3260 * recog.c (nonmemory_operand): Accept ADDRESSOF.
3262 * tree.c (build_type_attribute_variant): Push to obstack of
3263 ttype around type_hash_canon call.
3265 * expr.c (placeholder_list): Move decl to file scope.
3266 (expand_expr): Don't force access to volatile just because its
3268 If ignoring reference operations, just expand the operands.
3269 (expand_expr, case COMPONENT_REF): Propagate
3270 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
3271 Refine test for using bitfield operations vs pointer punning.
3272 (expand_expr, case CONVERT_EXPR): If converting to
3273 BLKmode UNION_TYPE from BLKmode, just return inner object.
3274 Use proper mode in store_field call.
3275 Properly set sizes of object to store and total size in store_field
3276 call for convert to union.
3277 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
3278 memory (like for ADDR_EXPR). Also, don't put constant in register if
3279 we'll want it in memory.
3280 (readonly_fields_p): New function.
3281 (expand_expr, case INDIRECT_REF): Call it if LHS.
3282 (expand_assignment): Handle a RESULT_DECL where
3283 DECL_RTL is a PARALLEL.
3284 (do_jump, case WITH_RECORD_EXPR): New case.
3285 (get_inner_reference): Always go inside a CONVERT_EXPR
3286 and NOP_EXPR if both modes are the same.
3287 (store_field): Use bitfield operations if size of bitsize is not same
3288 as size of RHS's type.
3289 Check for bitpos not a multiple of alignment in BLKmode case.
3290 Do block move in largest possible alignment.
3291 (store_constructor): Set BITSIZE to -1 for variable size and properly
3292 in case of array of BLKmode.
3293 (expand_expr_unaligned): New function.
3294 (do_compare_and_jump): Call it.
3296 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
3297 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
3298 does not include 'o'.
3300 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
3301 both SET_DEST and SET_SRC reference a virtual register.
3302 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
3304 * integrate.c (expand_inline_function): Handle case of setting
3305 virtual stack vars register (from built in setjmp); when parameter
3306 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
3307 (subst_constant): Add new parm, MEMONLY.
3308 (expand_inline_function, integrate_parm_decls): Pass new parm.
3309 (integrate_decl_tree): Likewise.
3310 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
3311 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
3312 (copy_rtx_and_substitute, case SET): Add explicit calls to
3313 copy_rtx_and_substitute for both sides.
3315 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
3317 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
3318 within INDEX_TYPE, instead of before.
3319 (fixup_gotos): Use f->target_rtl, not the next insn,
3320 since latter may be from a later fixup.
3321 (expand_value_return): Correctly convert VAL when promoting function
3322 return; support RETURN_REG being a PARALLEL.
3323 (expand_return): When checking for result in regs and having
3324 cleanup, consider PARALLEL in DECL_RTL as being in regs.
3326 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
3328 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
3329 last_nominal_fname): Mark const.
3330 (struct include_hash: name, nshort, control_macro): Mark
3332 (struct macrodef: symnam): Mark const.
3333 (struct if_stack: fname): Mark const.
3334 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
3335 (IStable): New character-syntax array which encompasses all
3336 the old is_foo arrays.
3337 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
3338 is_space): New macros for interrogating IStable.
3339 (check_macro_name): Kill last argument. All callers changed.
3341 * cppinit.c (initialize_char_syntax): Delete.
3342 (is_idchar, is_idstart, is_hor_space, is_space,
3343 trigraph_table): Delete.
3344 (IStable): New. Initialize with clever macros to avoid
3345 information duplication.
3346 (builtin_array): Table of builtins to get rid of explicit list
3347 in initialize_builtins.
3348 (initialize_builtins): Use builtins_array.
3349 (cpp_start_read): Call init_IStable, and set IStable['$'] if
3350 opts->dollars_in_ident.
3352 * cppexp.c: Change all refs to is_xyz[] arrays to use new
3354 (cpp_parse_expr): Avoid 'format string is not constant'
3355 warning. Use ISGRAPH to identify printable chars.
3356 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
3358 (read_and_prescan): Map trigraphs to chars with open-coded
3359 if-else-if-... sequence, not a lookup table.
3360 * cpphash.c: Change all refs to is_xyz[] arrays to use new
3362 * cpplib.c: Change all refs to is_xyz[] arrays to use new
3363 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
3364 (check_macro_name): Remove ability to report an invalid
3365 assertion name, which is never used.
3366 (do_line): Constify a couple of char *'s.
3367 * cppmain.c (main): Call cpp_cleanup before returning.
3369 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
3371 * ggc.h (struct ggc_statistics): New type.
3372 (ggc_get_size): New function.
3373 (ggc_print_statistics): Likewise.
3374 * ggc-common.c (ggc_stats): New variable.
3375 (ggc_mark_rtx_children): Keep statistics.
3376 (ggc_mark_tree_children): Likewise.
3377 (ggc_print_statistics): New function.
3378 * ggc-page.c (struct globals): Add bytes_mapped field.
3379 (alloc_anon): Update it.
3380 (release_pages): Likewise.
3381 (ggc_get_size): New function.
3382 (ggc_page_print_statistics): New function.
3383 * ggc-simple.c (ggc_get_size): New function.
3385 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
3387 * flow.c (propagate_block): When the last reference to a label
3388 before an ADDR_VEC is deleted because the reference is a dead
3389 store, delete the ADDR_VEC.
3391 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
3393 * resource.c (find_free_register): Don't use the frame pointer
3394 if frame_pointer_needed.
3396 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
3398 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
3399 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
3401 * config/i960/i960.c (i960_va_start): New locals base, num.
3402 Use INDIRECT_REF instead of ARRAY_REF on valist.
3403 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
3405 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
3407 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
3409 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
3411 * tree.def (PLACEHOLDER_EXPR): Update comments.
3413 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3415 * c-common.c (check_format_info): Avoid non-literal format string
3416 warnings when `first_arg_num' is zero.
3418 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3420 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
3422 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
3424 * arm.md (casesi_insn): Add a clobber of the condition code
3427 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
3429 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
3430 used by both cc1 and cc1plus.
3432 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
3434 * config/arm/arm.c: Initialise arm_structure_size_boundary to
3435 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
3436 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
3437 to the value 32 if it has not already been defined.
3438 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
3439 Override definition in arm.h with a value of 8.
3441 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
3443 * c-pragma.c (push_alignment): Don't check the return value
3446 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
3448 * sparc.h (ADJUST_COST): Fix thinko.
3450 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
3452 * cccp.c (rescan): Fixed obp pointer handling around call to
3453 check_expand subroutine.
3455 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
3457 * gcse.c (delete_null_pointer_checks): Only record non-null info
3458 for pseudos when examining stores.
3460 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
3461 splitters for these patterns. Use "#" for output templates.
3462 (addsi3_carryin_shift): New pattern.
3464 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
3466 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
3467 of the function return register into a plain REG until
3468 after function inlining is done.
3470 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
3472 * jump.c (jump_optimize_1): If we did cross-jumping, and
3473 the data will matter, rebuild the CFG.
3474 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
3475 not optimizing. Don't run shorten_branches.
3476 * toplev.c (rest_of_compilation): Run shorten_branches after
3479 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
3481 * rtl.h (note_stores): Add additional paramter.
3482 * rtlanal.c (reg_set_p_1): Take additional paramter.
3483 (reg_set_last_1): Likewise.
3484 (reg_set_p): Adjust call to note_stores.
3485 (reg_set_last): Likewise.
3486 (note_stores): Pass data parameter to worker function.
3487 * alias.c (record_set): Take additional parameter.
3488 (init_alias_analysis): Pass it.
3489 * caller-save.c (mark_set_regs): Take additional parameter.
3490 (save_call_clobbered_regs): Pass NULL to note_stores.
3491 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
3493 (record_dead_and_set_regs_1): Likewise.
3494 (reg_dead_at_p_1): Likewise.
3495 (combine_instructions): Adjust calls to note_stores.
3496 (try_combine): Likewise.
3497 (record_dead_insn): Remove.
3498 (record_dead_and_set_regs): Adjust calls to note_stores.
3499 (reg_dead_at_p): Likewise.
3500 * cse.c (invalidate_skipped_set): Take additional parameter.
3501 (cse_check_loop_start): Likewise.
3502 (cse_check_loop_start_value): Remove.
3503 (cse_set_around_loop): Adjust calls to note_stores.
3504 * flow.c (notice_stack_pointer_modification): Take additional
3505 parameter. Remove duplicate declaration.
3506 (record_volatile_insns): Adjust calls to note_stores.
3507 * gcse.c (record_set_info): Take additional parameter.
3508 (record_last_set_info): Likewise.
3509 (invalidate_nonnull_info): Likewise.
3510 (record_set_insn): Remove.
3511 (compute_sets): Adjust calls to note_stores.
3512 (last_set_insn): Remove.
3513 (compute_hash_table): Adjust calls to note_stores.
3514 (insert_insn_end_bb): Likewise.
3515 (delete_null_pointer_checks): Likewise.
3516 * global.c (mark_reg_store): Take additional parameter.
3517 (mark_reg_clobber): Likewise.
3518 (reg_becomes_live): Likewise.
3519 (global_conflicts): Adjust calls to note_stores.
3520 (build_insn_chain): Likewise.
3521 * integrate.c (note_modified_parmregs): Take additional parameter.
3522 (mark_stores): Likewise. Make it static.
3523 (save_for_inline_nocopy): Adjust calls to note_stores.
3524 (try_constants): Likewise.
3525 * integrate.h (mark_stores): Remove declaration.
3526 * jump.c (mark_modified_reg): Take additional parameter.
3527 (thread_jumps): Adjust calls to note_stores.
3528 * local-alloc.c (validate_equiv_mem_from_store): Take additional
3530 (no_equiv): Likewise.
3531 (reg_is_set): Likewise.
3532 (validate_equiv_mem): Adjust calls to note_stores.
3533 (update_equiv_regs): Likewise.
3534 (block_alloc): Likewise.
3535 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
3536 (note_addr_stored): Take additional parameter.
3537 (note_set_pseudo_multiple_uses): Likewise.
3538 (record_initial): Likewise.
3539 (prescan_loop): Adjust calls to note_stores.
3540 (strength_reduce): Likewise.
3541 (check_dbra_loop): Likewise.
3542 * regmove.c (flags_set_1): Take additional paramter.
3543 (mark_flags_life_zones): Adjust calls to note_stores.
3544 * reload1.c (mark_not_eliminable): Take additional parameter.
3545 (forget_old_reloads_1): Likewise.
3546 (reload_cse_invalidate_rtx): Likewise.
3547 (reload_cse_check_clobber): Likewise.
3548 (reload_combine_note_store): Likewise.
3549 (move2add_note_store): Likewise.
3550 (reload): Adjust calls to note_stores.
3551 (reload_as_needed): Likewise.
3552 (emit_reload_insns): Likewise.
3553 (reload_cse_regs_1): Likewise.
3554 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
3555 (reload_combine): Adjust calls to note_stores.
3556 * resource.c (update_live_status): Take additional paramter.
3557 (mark_target_live_regs): Adjust calls to note_stores.
3558 * stupid.c (find_clobbered_regs): Take additional parameter.
3559 (stupid_life_analysis): Adjust calls to note_stores.
3561 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
3563 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
3566 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
3569 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
3570 of the variable arm_structure_size_boundary.
3572 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
3574 * alias.c (init_alias_analysis): Allocate reg_known_value and
3575 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
3577 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
3578 * cse.c (cse_main): Call end_alias_analysis.
3579 * haifa-sched.c (schedule_insns): Likewise.
3580 * local-alloc. (update_equiv_regs): Likewise.
3581 * reload1.c (reload_cse_regs): Likewise.
3583 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3585 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
3586 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
3587 mapping from MASK_FPU.
3589 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
3591 * sparc.md (call): Don't bound structure return size to 0xfff.
3593 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
3595 * resource.c (mark_target_live_regs): Check that the target
3596 insn wasn't created after compute_bb_for_insn.
3598 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
3600 * ggc-page.c (poison_pages): Don't be overzealous.
3602 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
3604 * alias.c: Update comments for ADDRESS.
3605 (nonlocal_reference_p): Look inside the ADDRESS to determine if
3606 it is a local memory reference.
3608 * c-typeck.c (build_function_call): Check that the built-in
3609 function is of class BUILT_IN_NORMAL before trying to recongize
3611 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
3612 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
3614 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
3616 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
3618 (pre_gcse): Likewise.
3619 (hoist_expr_reaches_here_p): Likewise.
3620 (hoist_code): Likewise.
3621 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
3623 (pre_expr_reaches_here_p_work): ... here.
3624 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
3626 (expr_reaches_here_p_work): ... here.
3628 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
3630 * resource.c (find_basic_block): Delete.
3631 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
3632 (init_resource_info): Call compute_bb_for_insn.
3634 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
3636 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
3637 with already adjacent blocks, but no fallthru.
3638 (merge_blocks_move_successor_nojumps): Simplify.
3639 (debug_flow_info): New.
3641 * toplev.c (rest_of_compilation): Open jump1 dump file before
3642 jump and close after, as opposed to just using dump_rtl.
3644 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3646 * reload.h (earlyclobber_operand_p): Declare.
3647 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
3648 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
3649 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
3650 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
3652 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
3653 Richard Henderson <rth@cygnus.com>
3655 * emit-rtl.c (emit_block_insn_before): New.
3656 (emit_block_insn_after): New.
3657 * basic-block.h: Declare them.
3659 * bitmap.h: Protect from multiple inclusion.
3661 * recog.c (scratch_operand): Handle VOIDmode correctly.
3663 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
3665 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
3666 * function.c (assign_parms): Likewise.
3667 * global.c (global_conflicts): Clarify STACK_REGS commentary.
3669 * reg-stack.c (max_uid): Remove.
3670 (blocks, block_begin, block_end, block_drops_in): Remove.
3671 (block_stack_in, block_out_reg_set, block_number): Remove.
3672 (struct block_info_def, BLOCK_INFO): New.
3673 (enum emit_where): New.
3674 (current_block): New.
3675 (BLOCK_NUM): Remove.
3676 (mark_regs_pat, record_label_references): Remove.
3677 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
3679 (goto_block_pat, print_blocks, dump_stack_info): Remove.
3680 (reg_to_stack): Simplified test for existance of fp code. Use
3681 flow.c code. Call shorten_branches after cross-jump opt.
3682 (check_asm_stack_operands): Renamed from record_asm_reg_life.
3683 Return false if the asm doesn't use stack regs. Don't do life
3684 analysis on the asm.
3685 (emit_pop_insn): Replace function pointer arg `when' with
3686 enum `where'. Update all callers.
3687 (change_stack): Likewise. Update basic block end.
3688 (emit_swap_insn): Use current_block->head to limit reverse search
3689 for start of block. Use emit_block_insn_after.
3690 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
3691 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
3692 structure assignment instead of bcopy.
3694 (convert_regs_entry, convert_regs_exit): New.
3695 (convert_regs_1, convert_regs_2): Split out from convert_regs.
3696 Work on basic blocks and the CFG.
3697 (convert_regs): Use them.
3699 * i386.c (output_fix_trunc): Remove code for DImode input operand
3700 not at top-of-stack.
3701 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
3703 (fix_truncdi_1): Allow any mode scratch.
3705 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
3707 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
3708 * linux.h, netbsd.h, vms.h: Not here.
3710 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
3712 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
3713 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
3714 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
3715 CONDITIONAL_REGISTER_USEAGE): Use them.
3716 * config/mips/mips.c (mips_move_1word,mips_move_2words,
3717 gen_conditional_branch,override_options) : Use them.
3718 * config/mips/mips.md : Use them.
3720 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
3722 * i386.md (zero_extendqihi2): Use SImode register name with andl.
3724 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
3726 * integrate.c (function_cannot_inline_p): Don't allow inlining
3729 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3731 * c-parse.in (cast_expr): Constify.
3733 * cccp.c (special_symbol): Likewise.
3735 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
3737 * dwarf2out.c (base_type_die): Likewise.
3739 * global.c (allocno_compare): Likewise.
3741 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
3743 * regclass.c (fix_register): Likewise.
3745 * rtl.h (fix_register): Likewise.
3747 * stupid.c (stupid_reg_compare): Likewise.
3749 * toplev.c (decode_f_option): Likewise.
3751 * tree.c (build_complex_type): Likewise.
3753 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
3755 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
3757 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3759 * reload.c (find_reloads): Compute mode and nregs fields of all
3761 * reload1.c (calculate_needs_all_insns): Simplify a bit.
3762 (calculate_needs): Use precomputed mode/nregs values.
3763 (allocate_reload_reg): Likewise.
3765 (failed_reload, set_reload_reg): ... new functions.
3766 (choose_reload_regs_init): New function, mostly broken out from...
3767 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
3768 Also lose one #if 0 block.
3770 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
3772 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
3775 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
3777 * tree.h (BLOCK_TYPE_TAGS): Remove.
3778 (BLOCK_END_NOTE): Likewise.
3779 (BLOCK_LIVE_RANGE_FLAG): Likewise.
3780 (BLOCK_LIVE_RANGE_START): Likewise.
3781 (BLOCK_LIVE_RANGE_END): Likewise.
3782 (tree_block): Remove live_range_flag, live_range_var_flag, and
3783 type_tags. Remove end_note, live_range_start, and live_range_end.
3784 (remember_end_note): Remove prototype.
3785 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
3786 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
3788 * ggc-common.c (ggc_mark_tree_children): Don't mark
3789 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
3790 * integrate.c (adjust_copied_decl_tree): Remove.
3791 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
3792 * stmt.c (last_block_end_note): Remove.
3793 (init_stmt): Don't add a GC root for it.
3794 (expand_fixup): Don't set it.
3795 (remember_end_note): Remove.
3796 (expand_end_bindings): Don't set last_block_end_note.
3798 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3800 * reload1.c (reload_reg_free_for_value_p): Show
3801 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
3804 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
3806 * expmed.c (extract_bit_field): Allow for the case of non-integer
3807 objects that are smaller than a word (like SFmode on a 64-bit
3810 * loop.c (basic_induction_var): A non-integer variable which is
3811 being set by a paradoxical subreg is probably not a biv.
3813 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3815 * prefix.c (translate_name) Check for empty prefix string.
3817 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
3819 * Makefile.in (CPP_CROSS_NAME): New variable.
3820 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
3822 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
3823 names of the files to be uninstalled.
3825 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
3827 * collect2.c (IS_DIR_SEPARATOR): Define.
3828 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
3830 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
3833 * haifa-sched.c (add_dependence): Update the true dependency
3834 cache the first time we add a true dependence to the LOG_LINKS chain.
3836 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
3838 * fold-const.c (fold): Fix comment.
3840 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3842 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
3843 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
3844 dbxout_start_new_source_file, dbxout_source_file,
3845 dbxout_source_line, dbxout_finish, dbxout_type_fields,
3846 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
3848 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
3849 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
3850 (dbxout_block): Initialize variable `blocknum'.
3852 * dbxout.h (dbxout_init, dbxout_finish,
3853 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
3854 dbxout_args, dbxout_source_line): Constify a char*.
3856 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
3857 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
3858 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
3859 low_pc_attribute, high_pc_attribute, body_begin_attribute,
3860 body_end_attribute, comp_dir_attribute, sf_names_attribute,
3861 src_info_attribute, mac_info_attribute, producer_attribute,
3862 lookup_filename, generate_macinfo_entry, fundamental_type_code,
3863 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
3864 dwarfout_undef): Constify a char*.
3865 (add_incomplete_type, retry_incomplete_types): Add prototypes.
3867 * dwarfout.h (dwarfout_define, dwarfout_undef,
3868 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
3870 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
3872 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
3873 (MULTILIB_ISA_DEFAULT): New.
3874 (MULTILIB_DEFAULTS): Use it.
3875 * config/mips/mips.c (): Remove the now unnecessary definition
3876 of MIPS_ISA_DEFAULT.
3877 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
3878 unnecessary definition.
3880 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
3882 * arm.md (pic_load_addr): Add constraints to operand 1.
3884 1999-10-25 Bruce Korb <autogen@linuxbox.com>
3886 * fixinc/genfixes: Provide a means for specifying -D options to
3889 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
3891 * arm.c (arm_override_options): Correct initialization of
3892 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
3893 arm_is_strong, and arm_is_6_or_7.
3895 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
3896 (note_set_pseudo_multiple_uses): New function.
3897 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
3898 if a pseudo set in the loop exit is used elsewhere.
3900 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
3902 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
3904 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
3906 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
3907 a single load-address pattern.
3909 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
3911 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
3912 depending on whether or not line-number notes are present.
3914 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3916 * cccp.c (progname, file_buf, default_include, include_file,
3917 macrodef, definition, hashval, wchar_type, user_label_prefix,
3918 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
3919 expand_to_temp_buffer, is_system_include, base_name,
3920 absolute_filename, read_name_map, open_include_file,
3921 record_control_macro, check_precompiled, check_preconditions,
3922 pcfinclude, pass_thru_directive, create_definition,
3923 check_macro_name, comp_def_part, collect_expansion,
3924 check_assertion, read_token_list, assertion_install,
3925 assertion_lookup, eval_if_expression, conditional_skip,
3926 validate_else, skip_quoted_string, quote_string, macarg1,
3927 error_from_errno, install, lookup, hashf, dump_defn_1,
3928 perror_with_name, pfatal_with_name, main, trigraph_pcp,
3929 check_white_space, rescan, handle_directive, monthnames,
3930 special_symbol, do_include, remap_include_file, write_output,
3931 arglist, do_assert, do_unassert, do_line, do_error, do_once,
3932 do_ident, do_sccs, do_xifdef, skip_if_group,
3933 output_line_directive, macroexpand, macarg, change_newlines,
3934 initialize_builtins, make_definition): Constify a char*.
3936 * pcp.h (stringdef): Likewise.
3938 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
3940 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
3943 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
3944 Richard Henderson <rth@cygnus.com>
3946 * alias.c: Include ggc.h.
3947 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
3948 (record_set): Verify enough room in reg_base_value.
3949 (init_alias_analysis): Allocate reg_base_value with xcalloc.
3950 Register it as a GC root.
3951 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
3952 * Makefile.in (alias.o): Depend on ggc.h.
3954 * unroll.c (unroll_loop): Verify the insn before a barrier
3955 is a JUMP_INSN before checking JUMP_LABEL.
3957 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3959 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
3960 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
3961 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
3962 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
3963 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
3964 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
3966 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3968 * output.h (ctors_section, dtors_section, bss_section): Prototype.
3970 * alpha/alpha-interix.h (text_section): Delete prototype.
3971 * alpha/elf.h (text_section): Likewise.
3972 * arm/linux-elf.h (text_section): Likewise.
3973 * arm/linux-telf.h (text_section): Likewise.
3974 * c4x/c4x.h (text_section): Likewise.
3975 * dsp16xx/dsp16xx.h (bss_section): Likewise.
3976 * elfos.h (text_section): Likewise.
3977 * i386/aix386ng.h (text_section): Likewise.
3978 * i386/i386-interix.h (text_section): Likewise.
3979 * i386/sco5.h (text_section): Likewise.
3980 * i386/svr3gas.h (text_section): Likewise.
3981 * nextstep.h (text_section): Likewise.
3982 * psos.h (text_section): Likewise.
3983 * ptx4.h (text_section): Likewise.
3984 * svr3.h (text_section): Likewise.
3985 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
3987 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3989 * final.c (peephole): Delete prototype.
3991 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
3992 (pre_insert_copies): Remove unused variable `bb'.
3994 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
3997 * output.h (peephole): Add prototype.
3999 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
4001 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
4004 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
4006 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
4007 for inlined declarations.
4009 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
4011 * arm.c (logical_binary_operator): New fucntion.
4012 * arm.h (logical_binary_operator): Declare it.
4013 (PREDICATE_CODES): Handle logical_binary_operator.
4014 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
4015 output constraints. Add appropriate splitters.
4016 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
4017 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
4018 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
4020 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4022 * genoutput.c (struct operand_data): New elt eliminable.
4023 (output_operand_data): Write it.
4024 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
4025 (compare_operands): Take it into account.
4026 * recog.h (struct insn_operand_data): New elt eliminable.
4027 * reload1.c (check_eliminable_occurrences, elimination_effects): New
4029 (old_asm_operands_vec, new_asm_operands_vec): Delete.
4030 (eliminate_regs): Move code that detects changes to elimination
4031 target regs into new function elimination_effects.
4032 Delete one #if 0 block.
4033 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
4034 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
4035 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
4036 Only call eliminate_regs for real operands of the insn, not for parts
4037 of its structure or parts matched by things like match_operator.
4038 Use elimination_effects and check_eliminable_occurrences. Use
4039 copy_insn to duplicate the pattern when not in the final pass.
4041 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
4043 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
4046 1999-10-22 Bruce Korb <autogen@linuxbox.com>
4048 * fixinc/README: document the "mach" machine matching test
4049 * fixinc/fixfixes.c: Implement the #else/#endif label fix
4050 * fixinc/fixtests.c: Implement the #else/#endif label test
4051 * fixinc/inclhack.def: utilize these tests and fixes
4052 * fixinc/inclhack.sh: regen
4053 * fixinc/fixincl.x: regen
4054 * fixinc/fixincl.sh: regen
4056 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
4058 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
4061 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
4063 * gcc.1: Document exit codes.
4065 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4067 * calls.c: Include tm_p.h later, so everything we need is defined.
4069 * function.c: Likewise.
4071 * except.c: Include tm_p.h.
4073 * sparc.c: Likewise.
4074 (dwarf2out_cfi_label): Don't prototype.
4075 (check_return_regs, epilogue_renumber,
4076 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
4077 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
4078 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
4079 ultra_schedule_insn): Add static prototype.
4080 (data_segment_operand, text_segment_operand): Call itself with the
4081 proper number of arguments.
4082 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
4084 * sparc.h: Move all declarations to sparc-protos.h.
4085 (SELECT_RTX_SECTION): Pass a missing MODE argument to
4088 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
4090 * config/svr4.h (text_section, ctors_section, dtors_section): Add
4092 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
4093 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
4094 ASM_OUTPUT_ASCII): Constify a char*.
4096 * sparc-protos.h: New file for sparc prototypes.
4098 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4100 * function.c (record_insns, contains): Always declare and define.
4101 (record_insns): Mark with ATTRIBUTE_UNUSED.
4103 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
4105 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
4106 to .section when outputting a .bss section to deal with multiple
4107 .bss input sections (as happens with -fdata-sections)
4108 Also output %progbits, not @progbits so the assembler doesn't treat as
4110 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
4112 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
4113 thumb parts even when building with non-thumb CPUs, by forcing
4116 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
4118 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
4119 (movdf_const_intreg_sp64): Similarly.
4121 * local-alloc.c (update_equiv_regs): Check the correct insn
4122 for pre-existing REG_EQUIV notes.
4124 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
4126 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
4127 block reached by a branch if we're not going to actually process
4130 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
4132 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
4133 a local extern function declaration.
4135 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
4137 * i386.c (ix86_expand_prologue): Properly wrap USE around
4138 reg for CALL_INSN_FUNCTION_USAGE.
4140 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
4142 * config/mips/mips.md (movdf_internal1a): Allow floating-point
4143 move between GP_REGs.
4145 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
4147 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
4148 the mode size when finding out if an offset is legal.
4150 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
4152 * basic-block.h (PROP_*): Move constants from ...
4154 (compute_bb_for_insn): Free the array before reallocating.
4155 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
4156 (allocate_reg_life_data): Reset all reg variables collected by
4158 (get_block_head_tail): Don't convert from bb to block.
4159 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
4160 (find_insn_reg_weight): Take block not bb.
4161 (schedule_block): Don't set block num for moved insns.
4162 (schedule_region): Don't update_life_info or find_insn_reg_weight.
4163 (schedule_insns): Do it here instead.
4164 * combine.c (combine_instructions): Invoke compute_bb_for_insn
4165 before update_life_info.
4166 * recog.c (split_all_insns, peephole2_optimize): Update for
4167 new arg to update_life_info.
4168 * rtlanal.c (remove_note): Cope with NULL note.
4169 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
4172 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
4174 * jump.c (jump_optimize_1): More accurately detect casesi insns.
4176 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
4177 block records so that merge_blocks_nomove will clean up correctly.
4178 (split_edge): Handle casesi insns.
4180 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
4182 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
4184 * pa.md (call, call_value): Do not emit a blockage after restoring
4187 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
4189 * c-typeck.c (c_expand_asm_operands): Fix typo.
4191 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4193 * arm.c (fpu_rhs_operand): Verify modes.
4194 (fpu_add_operand): Likewise.
4195 (di_operand): Likewise.
4196 (soft_df_operand): Likewise.
4198 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
4200 * arm.c (arm_return_in_memory): APCS rules state that the elements
4201 of a structure returned in a register must be 'integer-like'.
4203 1999-10-19 Bruce Korb <autogen@linuxbox.com>
4205 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
4206 in the source tree when the generated targets are out of date
4207 * fixinc/genfixes: Alter it to run individual fixes for make.
4208 * fixinc/README: rewrite
4209 * fixinc/inclhack.def: moved initial comments to README
4211 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
4213 * toplev.c (main): Do not generate an error message if an
4214 unrecognised command line switch is recognisable by another
4215 language. If extra_warnings are enabled, then generate a
4216 warning message instead.
4218 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
4220 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
4221 (insert_pack_attributes): Delete prototype.
4223 * c-pragma.c (default_alignment): New static variable.
4224 (push_alignment): Initialize to current effective alignment.
4225 (pop_alignment): Use to set new alignment.
4226 (insert_pack_attributes): Delete function.
4227 (handle_pragma_token): Set default_alignment as well each time
4228 a #pragma pack(<n>) is encountered.
4230 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
4232 * reg-stack.c (stack_result): Aggregates are not returned in
4235 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
4237 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
4239 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
4241 * basic-block.h (set_block_num): Declare.
4242 * flow.c (update_life_info): Don't call compute_bb_for_insn
4243 or free_basic_block_vars.
4244 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
4245 (insn_orig_block): Remove.
4246 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
4247 (schedule_block): Keep BLOCK_NUM up-to-date.
4248 (schedule_insns): Use compute_bb_for_insn.
4249 * recog.c (split_all_insns): Likewise.
4250 (peephole2_optimize): Likewise.
4252 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
4254 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
4255 if the pic register is used.
4257 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4259 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
4260 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
4261 if that tests TREE_PERMANENT.
4263 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
4265 * cse.c (invalidate_for_call): Do not remove memory references from
4266 the table here. It's handled elsewhere.
4268 * haifa-sched.c (add_dependence): Protect references to the
4269 true dependency cache with #ifdef INSN_SCHEDULING.
4270 (remove_dependence): Similarly.
4272 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
4273 to the cfg code that this is a return instruction.
4274 * mn10300.md (return_internal): Similarly.
4276 * combine.c (get_last_value): If the last set of a register
4277 is after subst_low_cuid, then we can not use it to determine
4278 the register's last value.
4280 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
4282 * Makefile.in: Back out previous change.
4284 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
4286 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
4288 * haifa-sched.c (add_dependence): Only check/update the cache
4290 (remove_dependence): Likewise.
4291 (schedule_insns): Only create the true_dependency_cache if the
4292 average number of instructions in a basic block is very large.
4294 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
4296 * Makefile.in (ggc-common.o): Depend on genrtl.h.
4297 (ggc-simple.o): Likewise.
4298 (ggc-page.o): Likewise.
4300 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
4302 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
4303 Prototype for exported functions.
4304 (pre_lcm, pre_rev_lcm): Remove prototypes.
4305 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
4306 (compute_available): Move to lcm.c, and change parameter order.
4307 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
4308 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
4309 (gcse_main): No longer call compute_preds_succs. Rebuild the
4310 set table after reach pre pass.
4311 (pre_insert_map, pre_delete_map, edge_list): New.
4312 (alloc_pre_mem): Allocate edge vectors.
4313 (free_pre_mem): Delete edge vectors.
4314 (compute_pre_data): Call new edge based lcm routines.
4315 (process_insert_insn): New function.
4316 (insert_insn_end_bb): Use it.
4317 (pre_edge_insert): New function.
4318 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
4320 (pre_insert_copies): Revamp using new edge based lcm outputs.
4321 (pre_delete): Likewise.
4322 (one_pre_gcse_pass): Insert & remove fake edges to the exit
4324 (compute_code_hoist_vbeinout): New new edge based routines.
4325 * lcm.c: Remove all the old LCM functions. Replace with new ones
4326 that work with the new cfg datastructures and work with edges
4329 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4331 * reload.h (struct reload): Add new fields "mode" and "nregs".
4332 * reload1.c: Change all occurrences of reload_mode and reload_nregs
4333 to reference the "mode" and "nregs" field within struct reload.
4335 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
4337 * haifa-sched.c (true_dependency_cache): New.
4338 (add_dependence): Use the true dependency cache to avoid expensive
4339 walks down the LOG_LINKS dependency list. Add entries to the
4341 (remove_dependence): Remove entries from the true dependency cache
4343 (schedule_insns): Allocate and initialize and free the true
4346 * haifa-sched.c (schedule_insns): Do not remove inter-block
4347 dependencies anymore.
4349 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
4351 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
4352 * i386/t-winnt: Likewise.
4354 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
4356 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
4358 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
4360 * Makefile.in (LANGUAGES): Omit "proto".
4361 (clean): Remove stale comment about removing unprotoize.c.
4363 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4365 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
4366 using arithmetic on void pointers.
4368 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
4370 * haifa-sched.c (compute_block_forward_dependencies): Only check
4371 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
4373 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
4375 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
4376 (expr_equiv_p): Reject memories with different alias sets.
4378 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
4380 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
4381 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
4382 (f_options): Add "bounded-pointers" and "bounds-check" entries.
4383 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
4384 (lang_init): Set default for flag_bounds_check if still "unspecified".
4386 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4388 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
4390 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4392 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
4395 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4397 * config/c4x/c4x.md (*db_noclobber,
4398 *decrement_and_branch_until_zero_noclobber): New patterns and
4399 associated splitters.
4401 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4403 * config/c4x/c4x.md (parallel instruction patterns): Rework
4404 constraints to keep reload happy.
4406 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4408 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
4409 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
4410 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
4411 Add new patterns and associated post-reload splitters.
4413 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4415 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
4417 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4419 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
4421 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
4423 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4425 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
4428 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
4430 * pa.c (move_operand): Rely on memory_address_p to determine the
4431 validity of non-indexed memory addresses.
4432 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
4433 operand in DFmode and SFmode when generating PA2.0 code.
4435 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
4437 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
4439 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
4441 * mips.c (function_prologue): Fix argument types.
4442 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
4443 (casesi_internal): Write to the scratch register.
4445 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
4447 * cppexp.c (cpp_parse_escape): Make static. Change second arg
4449 (parse_charconst): Delete unnecessary cast when calling
4451 (cpplib.h): Kill prototype of cpp_parse_escape.
4453 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
4455 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
4456 * unroll.c (unroll_loop): Cast return value of alloca.
4457 * i370/i370.c: Include function.h and toplev.h.
4458 (i370_label_scan): Remove c++ commented abort.
4459 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
4460 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
4461 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
4462 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
4464 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
4466 * config/t-freebsd: Do not override USER_H.
4467 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
4469 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
4470 Mumit Khan <khan@xraylith.wisc.edu>
4472 * c-parse.in (component_decl): Support anonymous struct/union.
4474 * c-parse.y: Regenerate.
4475 * c-parse.c: Likewise.
4476 * objc/objc-parse.y: Likewise.
4477 * objc/objc-parse.c: Likewise.
4478 * c-decl.c (finish_struct): Don't sort the fields.
4479 (field_decl_cmp): Delete unused function.
4481 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
4483 * sparc.md (movsf_const_intreg): Revert last constraint change.
4484 (movdf_const_intreg_sp32): Likewise.
4486 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
4488 * cse.c: Include hashtab.h instead of splay-tree.h
4489 (struct cse_reg_info): No longer use variant union. Add new
4490 field "regno". All references changed to avoid union.
4491 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
4492 (free_cse_reg_info): Remove.
4493 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
4494 (get_cse_reg_info): Revamp to use expandable hash tables instead
4495 of splay trees. Initialize new fields in cse_reg_info structure.
4496 (new_basic_block): Similarly.
4498 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
4500 * genrecog.c (message_with_line): Prototype.
4501 (validate_pattern): Pass along the set for the dest, not a flag.
4502 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
4503 Check for PC/CC0 as sources.
4504 (nodes_identical): Check for children position match before
4505 allowing the combination.
4507 * rtl.c (read_rtx): Track line number across \\\n.
4509 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
4511 * mips.h (SPECIAL_MODE_PREDICATES): New.
4512 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
4513 (movdi+1, movsi+1): Add output reload constraint.
4514 (casesi_internal): Likewise. Fix commentary.
4515 (return_internal): Use pmode_register_operand.
4517 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
4519 * 1750a.md (movstrqi): Add missing output reload constraint.
4520 (call_value): Likewise.
4521 * a29k.md (cpxxx patterns): Add missing match_operator mode.
4522 (jmpfdec): Add missing inout reload constraint.
4523 * elxsi.md (addsi patterns): Add missing output reload constraint.
4524 (move from sp): Use @ alternates.
4525 (call_value): No constraint on output.
4526 * fr30.md (movsi_pop): Add missing output reload constraint.
4527 (movsf_constant_store): Likewise.
4528 (splits): Remove constraints.
4529 (subsi3): Add missing mode.
4530 * i370.md (cmpstrsi+1): Add missing output reload constraint.
4531 (call_value): Likewise.
4532 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
4533 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
4534 * m32r.md (movsicc_internal): Add output reload constraint.
4535 (movstrsi_internal): Add inout reload constraints.
4536 * m88k.h (reg_names): Don't declare.
4537 (SPECIAL_MODE_PREDICATES): New.
4538 * m88k.md (*): Use register_operand not reg_or_0_operand
4540 * mn10200.h (PREDICATE_CODES): New.
4541 * ns32k.md (ffs pattern): Add output reload constraint.
4542 * pdp11.md (sob pattern): Add inout reload constraint.
4543 * sh.md (splits): Remove constraints.
4544 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
4545 * v850.md (pattern_is_ok_for_epilogue): Likewise.
4546 * vax.md (jgequ pattern): Add inout reload constraint.
4548 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
4550 * configure.in (djgpp): Revert previous patch.
4551 * configure: Rebuit.
4552 * config/i386/djgpp.h: Revert previous patch.
4554 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
4556 * fixinc/inclhack.def: Restore patch lost during last merge of
4557 "no_bogosity" branch.
4558 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
4560 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
4562 * fixincludes: Add a HPUX 11 fix for inttypes.h.
4563 * fixinc/inclhack.def: Same.
4564 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
4566 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
4568 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
4569 as the base of a PLUS.
4571 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4573 * config/c4x/c4x.md: Define mode for remaining unspec operators.
4574 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
4576 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
4578 * pa.md (post_stw+1): Use pmode_register_operand.
4579 (dcacheflush, icacheflush): Likewise.
4581 * i386.md (movstricthi_1): Allow r/r.
4583 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
4585 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
4586 to (not (and (arg0) (arg1))). Similary for and.
4588 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
4589 fallthrough to associate code.
4590 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
4593 * combine.c (simplify_logical): Convert XOR to IOR if operands have
4594 no bits in common; remove XOR to ROTATE conversion.
4596 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4598 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
4600 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4602 * config/c4x/c4x.c (dst_operand): New.
4603 (PREDICATE_CODES): Update.
4604 * config/c4x/c4x.h (dst_operand): Declare it.
4605 * config/c4x/c4x.md: Define mode for each unspec usage.
4606 (move patterns): Use dst_operand predicate instead of src_operand.
4607 (movqi_update, movqf_update): Delete.
4609 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
4611 * recog.c (pmode_register_operand): New.
4612 * recog.h: Declare it.
4613 * genrecog.c (pred_codes): Likewise.
4614 (special_mode_pred_table): Likewise.
4615 (validate_pattern): Don't warn no mode for address_operand.
4617 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
4618 if the operand is not insn-like.
4620 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
4621 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
4623 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
4625 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
4627 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
4628 instead of general_operand in a SET_DEST. Use const_double_operand
4629 instead of an explicit test against CONST_DOUBLE.
4630 (movsf_const_lo): Add missing register mode.
4631 (goto_handler_and_restore): Add auxiliary test for Pmode.
4632 (flush): Adjust to use address_operand.
4633 (return_sf_no_fpu): Add missing output constraint.
4635 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
4637 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
4638 for call return value.
4639 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
4641 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
4643 * toplev.c (main): Only warn about options for other languages.
4644 * collect2.c (main): Pass -w to sub-gcc.
4646 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
4648 * flow.c (propagate_block): Add call-clobbered registers to
4651 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
4652 zapping mem_set_list.
4653 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
4654 (mark_set_1, mark_used_regs): Likewise.
4656 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
4658 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
4660 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4662 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
4663 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
4664 options. Also add a new item "C-only Warning Options" to the
4667 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
4669 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
4670 from multiple calls.
4672 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
4674 * i386.md (call value patterns): Move to the end of the file.
4675 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
4677 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
4679 * configure.in (djgpp configuration): Define extra_objects..
4680 * configure: Rebuilt.
4681 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
4682 (DTORS_SECTION_ASM_OP): Define.
4683 (INIT_SECTION_ASM_OP): Define.
4684 (FINI_SECTION_ASM_OP): Define.
4685 (DATA_SECTION_ASM_OP): Define.
4686 (TEXT_SECTION_ASM_OP): Define.
4687 (EH_FRAME_SECTION_ASM_OP): Define.
4688 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
4689 (STARTFILE_SPEC): Add crtbegin.o.
4690 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
4691 to here from LINK_COMMAND_SPEC.
4692 (DO_GLOBAL_CTORS_BODY): Define.
4693 (CRTSTUFF_USE_FINI_SECTION): Define
4694 (HAS_INIT_SECTION): Delete.
4696 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
4698 * Makefile.in (all.cross): Depend on xcpp$(exeext).
4700 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
4702 * pa.h (PREDICATE_CODES): New.
4704 * genrecog.c (validate_pattern): Condense the destination
4707 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
4709 * alpha.md (call-1): Supply missing mode for operator.
4710 (*): Add missing output reload constraints. Remove constraints
4713 * i386.h (SPECIAL_MODE_PREDICATES): New.
4714 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
4715 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
4716 (addsi_lea_3): Add missing mode for op 3.
4717 (prologue_set_got, prologue_get_pc): Add missing modes.
4718 (*) Add missing output reload constraints.
4720 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
4722 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
4723 check for member bit-size overflow and use var_size if it occurs.
4724 (layout_record): Use bitsize_int() to define the type size in bits.
4725 Likewise for computation and assignment to DECL_FIELD_BITPOS.
4726 (layout_decl): Likewise when assigning to DECL_SIZE.
4728 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
4730 * genrecog.c (validate_pattern): Typo last change. Verify
4731 that output operands have output reloads.
4733 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
4735 * genrecog.c (special_mode_pred_table): New.
4736 (NUM_SPECIAL_MODE_PREDS): New.
4737 (find_operand): New.
4738 (validate_pattern): New argument `insn'. Warn for assignment to
4739 any predicate accepting non-lvalues. Conditionaly warn for
4740 match_operand without a mode. Try much harder to match source
4741 and destination modes on a set.
4742 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
4744 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
4746 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
4748 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
4750 * combine.c (simplify_logical): Recognize xor pattern that encodes
4753 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4755 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
4758 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
4760 * ggc-page.c (MAP_FAILED): Provide default.
4762 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
4764 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
4765 * sparc.h (PREDICATE_CODES): Update.
4767 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
4769 * alpha.c (some_ni_operand): New.
4770 * alpha-protos.h: Declare it.
4771 * alpha.h (PREDICATE_CODES): Update.
4772 * alpha.md (sXaddq reload insns): Use some_ni_operand
4773 for SET_DEST instead of some_operand.
4775 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
4776 Jim Wilson <wilson@cygnus.com>
4778 * genrecog.c (maybe_both_true_2): Don't compare modes of
4780 (process_tree): Elide peephole2_insns. Invoke simplify_tests
4781 after find_afterward.
4782 (debug_decision_1): Dump next and afterward codes.
4784 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
4786 * rtl.c (dump_and_abort): Remove.
4787 (fatal_with_file_and_line): New.
4788 (fatal_expected_char): New.
4789 (read_rtx_lineno, read_rtx_filename): New.
4790 (read_skip_spaces): Track line number.
4791 (read_name): Use fatal_with_file_and_line.
4792 (read_rtx): Use fatal_expected_char. Track line number.
4793 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
4795 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
4796 if it isn't a CODE_LABEL.
4798 * genattr.c (main): Set read_rtx_filename.
4799 * genattrtab.c (main): Likewise.
4800 * gencodes.c (main): Likewise.
4801 * genconfig.c (main): Likewise.
4802 * genemit.c (main): Likewise.
4803 * genextract.c (main): Likewise.
4804 * genflags.c (main): Likewise.
4805 * genopinit.c (main): Likewise.
4806 * genoutput.c (main): Likewise.
4807 * genpeep.c (main): Likewise.
4809 * genrecog.c (decision_test.u.insn): Add `lineno'.
4810 (pattern_lineno, error_count): New variables.
4811 (message_with_line): New.
4812 (add_to_sequence): Break out checking code to ...
4813 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
4814 (merge_insn): Use message_with_line.
4815 (make_insn_sequence): Use validate_pattern. Record insn lineno.
4816 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
4818 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4820 * expr.c (store_constructor): Clear union if constructor is empty.
4822 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
4824 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
4825 Add !endian checks. Change %{...} to %(...).
4827 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
4829 * i386.md (*addsi3_cc): Renamed from addcsi3.
4830 (*addsi3_carry): Renamed from addxsi3.
4831 (*subsi3_cc): Renamed from subcsi3.
4832 (*subsi3_carry): Renamed from subxsi3.
4833 (*xorqi_cc_1): Renamed from xorcqi_1.
4834 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
4835 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
4837 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
4839 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
4840 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
4842 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
4844 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
4845 climb up the chain of insns.
4847 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
4849 * genrecog.c (write_subroutine): Careful for null trees.
4850 (process_tree): Don't elide empty functions.
4852 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
4854 * Makefile.in (genrtl.o): Depend on ggc.h.
4855 * configure.in (valloc): Probe for it.
4856 (with-gc): Use ggc-page if valloc present.
4857 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
4858 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
4859 (ggc_alloc_string): Moved from ggc-page.c.
4860 * ggc-none.c (ggc_alloc_obj): New.
4861 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
4862 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
4863 (struct globals): Likewise for dev_zero_fd.
4864 (init_ggc): Likewise for it's initialization.
4865 (ggc_allocated_p): Move careful dereference from ...
4866 (ggc_lookup_page_table): ... here. Delete.
4867 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
4868 (alloc_anon): Use valloc if no mmap.
4869 (release_pages): Use free if using valloc.
4870 (ggc_alloc_obj): Renamed from alloc_obj.
4871 (ggc_set_mark): Renamed from mark_obj.
4872 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
4873 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
4874 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
4875 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
4876 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
4877 (ggc_collect): Use fp printing instead of our own rounding.
4878 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
4879 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
4880 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
4881 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
4882 (struct ggc_string, struct ggc_any): Delete.
4883 (offsetof): Provide default definition.
4884 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
4886 (struct ggc_mem): New, from corpse of ggc_any.
4887 (struct ggc_status): Delete.
4888 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
4889 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
4890 (n_strings_collected, n_anys_collected): Delete.
4891 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
4892 (ggc_alloc_string, ggc_alloc): Delete.
4893 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
4894 (ggc_free_string, ggc_free_any): Delete.
4895 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
4896 (ggc_compare_addresses, ggc_mark_string): Delete.
4897 (ggc_mark_string_if_gcable, ggc_mark): Delete.
4898 (search_data): Delete.
4899 (struct globals): New.
4900 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
4901 (tree_insert, tree_lookup): New.
4902 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
4903 (clear_marks, sweep_objs): New.
4904 (ggc_collect): Gut. Use clear_marks, sweep_objs.
4905 (init_ggc): Set allocated_last_gc.
4906 (ggc_push_context): Gut. Use G.context.
4907 (ggc_pop_context): Likewise.
4908 (ggc_pop_context_1): New.
4909 (debug_ggc_tree): New.
4910 (debug_ggc_balance, tally_leaves): New.
4911 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
4912 (ggc_mark_string_if_gcable): Remove decl.
4913 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
4914 (ggc_mark_rtvec_children): New.
4915 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
4916 (ggc_mark_if_gcable): New decl.
4917 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
4918 (ggc_alloc_tree, ggc_alloc): Likewise.
4919 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
4920 (ggc_alloc_obj): New decl.
4921 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
4922 (ggc_alloc_tree, ggc_alloc): Likewise.
4923 (ggc_set_mark): New decl.
4924 * rtl.h (struct rtx_def): Remove gc_mark.
4925 (struct rtvec_def): Likewise.
4926 * tree.h (struct tree_common): Likewise.
4928 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
4930 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
4931 float_format and thread_file definitions.
4932 * configure: Rebuilt.
4934 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
4936 * extend.texi (Function Names): Document types of function names.
4938 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4940 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
4941 an earlyclobbered output conflict with RELOAD_INPUT reloads.
4943 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4945 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
4947 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4949 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
4951 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
4953 * collect2.c (main): Do prelimnary link on AIX if rflag.
4955 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
4957 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
4958 __CTOR_LIST__ in opposite order, which is the correct order for sorted
4960 (__do_global_dtors): similarly for __DTOR_LIST__.
4962 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4963 Diego Novillo <dnovillo@cygnus.com>
4965 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
4968 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
4970 * fixincl/*: Merged "no_bogosity" branch
4971 * fixincl/fixlib.h: protect against doubly defining t_bool
4972 * fixincl/server.h: protect against doubly defining t_bool
4974 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
4976 * genoutput.c: Include toplev.h.
4978 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
4980 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
4982 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
4983 * configure: Regenerate.
4985 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
4987 * gcse.c (delete_null_pointer_checks): Returns void.
4989 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4991 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
4992 * emit-rtl.c (copy_insn_1): Likewise.
4994 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
4996 * config/mips/mips.c (mips_build_va_list): Correct
4997 TREE_CHAIN setting when hard-float.
4998 (mips_va_start): Use corrected setting.
4999 (mips_va_arg): Likewise. Also pass a tree to build of
5000 POSTINCREMENT_EXPR rather than a naked 'int'.
5002 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
5004 * ggc.h (ggc_push_context): Fix comment.
5005 (ggc_pop_context): Likewise.
5006 (mark_string_if_gcable): Likewise.
5007 * ggc-common.c (ggc_mark_rtx_children): Use
5008 ggc_mark_string_if_gcable.
5009 * ggc-page.c (ggc_lookup_page_table): New function.
5010 (ggc_allocated_p): Likewise.
5011 (mark_obj): Fix formatting.
5012 (ggc_mark_string_if_gcable): New function.
5013 * ggc-simple.c (ggc_allocated_strings): New variable.
5014 (ggc_strings_used): Likewise.
5015 (ggc_compare_addresses): New function.
5016 (ggc_pop_context): Pop the `any' memory too.
5017 (ggc_mark_string_if_gcable): New function.
5018 (ggc_collect): Initialize and tear down ggc_allocated_strings.
5020 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
5022 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
5023 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
5024 * rs6000.c (expand_block_move): Match movstrsi_?reg register
5027 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
5029 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
5030 (sched_reg_live_length, sched_reg_basic_block): Delete.
5031 (current_block_num, bb_live_regs, old_live_regs): Delete.
5032 (dead_notes, struct sometimes): Delete.
5033 (sched_note_set, birthing_insn_p): Delete.
5034 (adjust_priority): Gut useless reg lifetime code.
5035 (create_reg_dead_note, attach_deaths): Delete.
5036 (attach_deaths_insn, new_sometimes_live): Delete.
5037 (finish_sometimes_live): Delete.
5038 (find_pre_sched_live, find_post_sched_live): Delete.
5039 (update_reg_usage): Delete.
5040 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
5041 (schedule_insns): Delete reg lifetime code.
5042 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
5043 (unlink_other_notes): Adjust REG_NOTE commentary.
5044 (reemit_notes): Use REG_SAVE_NOTE.
5045 (schedule_block): Likewise.
5046 (schedule_region): Allocate bitmap of blocks in region. Use
5047 count_or_remove_death_notes. Use update_life_info.
5049 * rtl.h (REG_SAVE_NOTE): New.
5050 * rtl.c (reg_note_name): Update.
5052 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
5054 * combine.c (refresh_blocks, need_refresh): New.
5055 (combine_instructions): Allocate refresh_blocks. Invoke
5056 update_life_info if needed.
5057 (distribute_notes): Mark refresh_blocks instead of installing
5059 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
5060 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
5062 * Makefile.in (recog.o): Depend on basic-block.h.
5064 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
5066 * genrecog.c (add_to_sequence): Thinko last change: delete
5067 shadowing allow_const_int variable.
5069 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5071 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
5072 __GNUC__ and __GNUC_MINOR__.
5074 * gansidecl.h: Likewise.
5080 * toplev.h: Likewise.
5086 * varray.c: Likewise.
5088 * varray.h: Likewise.
5090 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5092 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
5093 use one before a jump table.
5095 * rtl.def (ADDRESS): Change documentation to match reality.
5096 * md.texi: Don't document it.
5097 * gmicro.md (load address pattern): Use 'p' constraint, delete use
5100 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
5102 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
5104 * genrecog.c (add_to_sequence): Move allow_const_int test outside
5105 known predicate block; default allow_const_int true.
5106 (debug_decision_list): New.
5108 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
5110 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
5112 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
5114 * gcse.c (gcse_main): Avoid global optimizations if we have a
5115 large number of basic blocks and the ratio of edges to blocks
5117 (delete_null_pointer_checks): Likewise.
5119 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
5121 * c-common.c (check_format_info): Warn if format string isn't a
5124 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
5126 * configure.in (arm*-*-*): Don't let autoconf remove brackets
5127 * configure: regenerate
5129 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
5131 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
5132 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
5133 (peepholes): Re-enable.
5135 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
5137 * Makefile.in (flow.o): Depend on TREE_H.
5138 * basic-block.h (REG_SET_EQUAL_P): New.
5141 (free_regset_vector): Remove declaration.
5142 (flow_delete_insn_chain): Declare.
5143 (enum update_life_extent): New.
5144 (update_life_info, count_or_remove_death_notes): Declare.
5145 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
5146 Verify register live at bb->global_live_at_start before adding USE.
5147 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
5148 (CLEAN_ALLOCA): New.
5150 (PROP_*): New flags.
5151 (find_basic_blocks_1): Use alloc_EXPR_LIST.
5152 (clear_edges): Zero n_edges.
5153 (make_edge): Increment n_edges.
5154 (split_edge): Don't allocate bb->local_set. Increment n_edges.
5155 (flow_delete_insn_chain): Export.
5156 (delete_block): Decrement n_edges.
5157 (merge_blocks_nomove): Likewise.
5158 (life_analysis): Give life_analysis_1 PROP flags.
5159 (verify_wide_reg_1, verify_wide_reg): New.
5160 (verify_local_live_at_start): New.
5161 (update_life_info): Rewrite to call into propogate_block.
5163 (mark_regs_live_at_end): After reload, if epilogue as rtl,
5164 always mark stack pointer. Conditionally mark PIC register.
5165 After reload, mark call-saved registers, return regsiters.
5166 (life_analysis_1): Accept PROP flags not remove_dead_code.
5167 Call mark_regs_live_at_end before zeroing regs_ever_live.
5168 Use calculate_global_regs_live. Copy global_live_at_end before
5169 calling final propagate_block. Zero reg_next_use on exit.
5170 (calculate_global_regs_live): New.
5171 (allocate_bb_life_data): Don't allocate bb->local_set.
5172 (init_regset_vector, free_regset_vector): Remove.
5173 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
5174 Test flags before every operation. Warn if prologue/epilogue insn
5175 would have been deleted.
5176 (mark_set_regs, mark_set_1): Accept and use FLAGS.
5177 Use alloc_EXPR_LIST.
5178 (mark_used_regs): Accept and use FLAGS, not FINAL.
5179 Remove special handling for RETURN.
5180 (try_pre_increment): Use alloc_EXPR_LIST.
5181 (dump_flow_info): Dump n_edges.
5182 (unlink_insn_chain, split_hard_reg_notes): Remove.
5183 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
5184 (find_insn_with_note, new_insn_dead_notes): Remove.
5185 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
5186 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
5187 (replace_insns): Remove.
5188 (count_or_remove_death_notes): New.
5189 (verify_flow_info): Abort on error after all checks.
5190 (remove_edge): Decrement n_edges.
5191 (remove_fake_edges): Tweek format.
5192 * haifa-sched.c (schedule_insns): Use split_all_insns.
5193 * output.h (update_life_info): Remove declaration.
5194 * recog.c (split_all_insns): From the corpse of split_block_insns,
5195 do the whole function block by block. Use update_life_info.
5196 (recog_last_allowed_insn): New.
5197 (recog_next_insn): Mind it.
5198 (peephole2_optimize): Set it. Walk backwards through blocks.
5199 Use update_life_info.
5200 * rtl.h (update_flow_info, replace_insns): Remove declarations.
5201 (split_all_insns): Declare.
5202 * toplev.c (rest_of_compilation): Thread prologue before flow2.
5203 Use split_all_insns.
5205 * i386.md (or -1 peep2s): Disable.
5207 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
5209 * config/mips/mips.md (movstrsi+[123]) : Combine these into
5210 a single pattern. Scrap the 'd' versions as unnecessary.
5212 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
5213 tablejump_mips162,tablejump_internal4): The operands to a
5214 label_ref must be VOIDmode.
5216 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5218 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
5220 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
5222 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
5224 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
5226 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
5227 cache every function if ggc_p.
5229 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5231 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
5232 instead of copy_rtx. Accept sequences that contain asm statements.
5233 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
5234 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
5235 orig_asm_operands_vector, copy_asm_operands_vector,
5236 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
5238 * rtl.h (copy_insn, copy_insn_1): Declare.
5240 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5242 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
5244 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
5245 arguments to `current_file_function_operand'.
5247 * genrecog.c: Include hard-reg-set.h and resource.h in the
5248 generated output file.
5250 * real.c: Include tm_p.h.
5252 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5254 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
5257 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
5259 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
5260 before the fctiwz insn.
5262 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5263 Mark Mitchell <mark@codesourcery.com>
5265 * tree.c (make_lang_type_fn): New funtion pointer.
5266 (make_lang_type): Call it.
5267 * tree.h (make_lang_type): Declare.
5268 (make_lang_type_fn): Likewise.
5269 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
5271 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
5273 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
5274 make sure that HIGH instructions are copied into BASE_REGS.
5276 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
5278 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
5280 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
5282 * c-decl.c (finish_struct): Use simpler method of
5283 removing elements of a singly-linked list.
5285 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
5287 * alpha.md (peephole2's): Comment out peephole2's that generate
5290 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
5292 * genrecog.c (add_to_sequence): Disable mode check for
5295 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5297 * ggc-simple.c (init_ggc): Set empty_string.
5299 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
5301 * configure.in: Detect mmap. Add --with-gc=foo to select
5302 garbage collector; default to page if mmap available.
5303 * Makefile.in (GGC): Substitute.
5305 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
5307 * c-decl.c (ggc_p): Enable.
5309 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5311 * flow.c (verify_flow_info): Make it extern & unconditionally define.
5313 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
5315 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
5316 string for little-endian-data.
5318 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
5320 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
5321 case somebody tries to compile --enable-checking code with gcc
5324 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
5326 * genrecog.c (add_to_sequence): Verify operand to label_ref is
5329 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
5331 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
5332 * jump.c (jump_optimize_1): Document why.
5334 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5336 * collect2.c (scan_prog_file, scan_libraries): Prototype function
5337 pointers and casts for `int_handler' and `quit_handler'.
5339 * flow.c (verify_flow_info, split_hard_reg_notes,
5340 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
5341 remove_edge, remove_fake_successors): Add static prototypes.
5342 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
5343 (mark_set_1): Initialize variable `regno'.
5344 (unlink_insn_chain): Likewise for variable `curr'.
5345 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
5347 * loop.c (strength_reduce): Initialize variable
5348 `unrolled_insn_copies'.
5349 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
5350 prototypes. Change these functions to take const PTR parameters
5351 to avoid prototype conflict when used as the comparson argument
5353 (check_dbra_loop): Initialize variable `comparison_val'.
5355 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
5356 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
5357 (find_valid_class): Initialize variable `best_class'.
5358 (find_reloads): Call memcpy, not bcopy.
5360 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
5361 (hard_reg_use_compare): Don't needlessly cast away const.
5362 (reload_reg_class_lower): Likewise.
5363 (choose_reload_regs): Initialize variable `regno'.
5365 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
5367 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
5369 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
5371 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
5372 ({,d}discard): Add forward declarations. Declare parameter as
5374 (main_without_main): Explicitly declare return type to be int.
5375 (memcpy): Properly declare.
5377 * libgcc2.c (toplevel): If inhibit_libc is defined and not
5378 building the trampoline support, declare malloc, free, and
5380 (__clear_cache): Mark arguments as potentially unused.
5382 * frame.c (toplevel): If inhibit_libc is defined, declare
5385 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
5387 * flow.c (make_edge): Accept an optional 2D bitmap in which
5388 to cache edge existence. Update all callers.
5389 (make_label_edge, make_eh_edge): Pass through the edge cache.
5390 (make_edges): Provide the cache.
5392 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5394 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
5396 (local_mbtowc): Change the type of variable `i' from int to size_t.
5398 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
5399 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
5401 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
5403 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
5404 after other includes that define the appropriate types. Include
5405 tm_p.h for getting user prototypes.
5406 * ggc-callbacks.c (toplevel): Ditto.
5407 * ggc-none.c (toplevel): Ditto.
5408 * gcc-page.c (toplevel): Ditto.
5409 * ggc-simple.c (toplevel): Ditto.
5411 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
5412 Jonathan Larmour <jlarmour@cygnus.co.uk>
5414 * config/mips/mips.c (mips_move_2words): Split doubles if
5415 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
5417 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
5419 * genrecog.c (struct decision_test): New.
5420 (struct decision): Remove test-related members, sort the rest by size.
5421 (IS_SPLIT): Simplify.
5422 (new_decision, new_decision_test): New.
5423 (add_to_sequence): Use them. No special handling for args of
5425 (maybe_both_true): Renamed from not_both_true; return sense changed.
5426 (maybe_both_true_1, maybe_both_true_2): New. Broken out
5427 of maybe_both_true and adjusted for decision_test.
5428 (position_merit): Remove.
5429 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
5430 (merge_accept_insn): New, broken out of merge_trees.
5431 (merge_trees): Use them. No special case for c_test; no node
5432 splitting; use test type instead of position_merit.
5433 (factor_tests): New.
5434 (simplify_tests): New.
5435 (break_out_subroutines): Don't write code now.
5436 (find_afterward): New.
5437 (write_afterward, write_switch, write_cond): New.
5438 (write_action, is_unconditional): New.
5439 (write_node): New. Use them.
5440 (write_tree_1): Rewrite. Use the new functions above.
5441 (write_tree): Remove afterward processing.
5442 (write_subroutine): Simplify function variant emission.
5443 (write_subroutines): New.
5444 (same_codes, clear_codes): Remove.
5445 (same_modes, clear_modes): Remove.
5446 (write_header): New, broken out of main.
5447 (make_insn_sequence): Use new_decision and new_decision_test.
5448 (process_tree): New, broken out of main.
5449 (main): Adjust for merge_trees interface change.
5450 Don't #define operands in the output file.
5451 (record_insn_name): New, broken out of make_insn_sequence.
5452 (debug_decision_2, debug_decision_1, debug_decision_0): New.
5453 (debug_decision): New.
5455 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
5457 * resource.c (find_free_register): Mark class_str argument const.
5458 * resource.h: Update prototype to match.
5460 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
5461 * i386.md: Give all anonymous insns names.
5463 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
5465 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
5468 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
5470 * toplev.c (dbr_sched_time): Unconditional.
5471 (peephole2_time): New.
5472 (compile_file): Add pass numbers to all of the dump file suffixes.
5473 Dump peephole2_time. Don't dump times for non-applicable passes.
5474 (rest_of_compilation): Add pass numbers to dump file suffixes.
5475 Conditionalize calls to the scheduler.
5476 * invoke.texi: Update.
5478 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
5480 * flow.c (make_edges): Fix insn iteration.
5481 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
5482 (find_basic_blocks_1): Fix spelling mistake.
5484 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
5486 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
5487 always have side-effects. Use memset not bzero.
5488 (make_node): Likewise.
5490 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
5492 * stmt.c (expand_anon_union_decl): When any of the elements of the
5493 union is addressable, so is the entire union.
5495 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
5497 * sbitmap.c (sbitmap_ones): Don't set too many bits.
5499 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
5500 * bitmap.c (bitmap_operation): Return true iff TO changed.
5501 (bitmap_equal_p): New.
5502 (bitmap_bit_p): Tidy arithmetic.
5503 (debug_bitmap_file): Likewise.
5505 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
5507 * toplev.c (rest_of_compilation): Turn on cse_not_expected
5508 before cse2 instead of after.
5510 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
5512 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
5515 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5517 * cppinit.c (is_idchar initializer): Loosen tests to accept
5520 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
5522 * mips.md: Define conditional move patterns for floating point
5523 operands and DI mode conditions.
5525 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
5527 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
5528 always have side-effects.
5530 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
5532 * mn10200.c (asm_file_start): Fix typo.
5534 * cppinit.c (is_idchar initializer): Tighten tests for when
5535 to put the table into initialized memory.
5537 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
5538 not an array of rtunion.
5539 * gcc-page.c (ggc_alloc_rtvec): Similarly.
5540 * gcc-simple (ggc_free_rtvec): Similarly.
5542 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
5545 * mbchar.h: Add missing #endif.
5547 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
5548 (FPBIT, DPBIT): Define.
5550 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5552 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
5554 * profile.c (instrument_arcs, output_gcov_string,
5555 tablejump_entry_p): Add static prototypes.
5556 (output_gcov_string): Constify a char*.
5558 * regmove.c (replacement_quality, fixup_match_2): Add static
5561 * resource.h (reg_dead_p): Add extern prototype.
5563 * rtl.c (trim_filename): Add static prototype.
5565 * scan-decls.c (skip_to_closing_brace): Likewise.
5567 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
5568 (expand_end_case): Initialize variable `range'.
5569 (emit_case_nodes): Remove unused prototype `rtx_fn'.
5571 * varasm.c (asm_emit_uninitialised): Add static prototype.
5572 (asm_emit_uninitialised, assemble_variable): Mark parameter with
5575 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5577 * cpplib.c (if_directive_nameo): Add static prototype.
5579 * cse.c (cse_insn): Remove unused variable `p'.
5581 * except.c (create_rethrow_ref, push_entry,
5582 receive_exception_label, new_eh_region_entry, find_func_region,
5583 clear_function_eh_region, process_nestinfo): Add static prototypes.
5584 (get_reg_for_handler): Hide definition.
5585 (process_nestinfo): Initialize variable `extra_handlers'.
5587 * expr.h (expand_builtin_longjmp): Add extern prototype.
5589 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
5591 * function.c (prepare_function_start): Likewise.
5592 (pop_function_context_from): Mark parameter `context' with
5594 (push_temp_slots_for_block, flush_addressof): Hide definition.
5596 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
5597 solve_program_flow_graph, calculate_branch_probs,
5598 function_summary, main, fancy_abort): Add prototypes.
5600 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
5601 (add_hash): Constify a char*.
5603 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
5604 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
5605 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
5607 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
5609 * lists.c (free_list, zap_lists): Likewise.
5611 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5613 * alias.c (nonlocal_reference_p): Add static prototype.
5615 * bitmap.c (bitmap_element_allocate): Prototype args in function
5618 * builtins.c (stabilize_va_list): Add static prototype.
5619 (expand_builtin_va_arg): Constify a char*.
5621 * c-lex.c (getch, put_back, extend_token_buffer_to,
5622 read_line_number, token_getch, token_put_back): Add static
5625 * c-parse.gperf (hash, is_reserved_word): Likewise.
5627 * cccp.c (is_dir_separator): Likewise.
5629 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5631 * graph.h: New file to prototype functions exported by graph.c.
5633 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
5635 * graph.c: Include graph.h.
5637 * toplev.c: Likewise. Remove redundant prototypes.
5639 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
5641 * invoke.texi: Removed duplicated description for -Q.
5643 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
5645 * extend.texi: Grammar fix in __extension__ text.
5647 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
5649 * md.texi (define_peephole2): New section.
5651 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
5653 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
5654 (mov $-1 to or peepholer): Enable for pentium when optimizing for
5657 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
5659 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
5661 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
5663 * i386.md (ffs expander): Emit Pentium friendly code for
5666 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
5668 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
5672 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5674 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
5676 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
5678 * config/m68k/m68k.c (use_return_insn): Return false if the pic
5681 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5683 * md.texi (No Constraints): Delete section.
5684 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
5685 * final.c (final_scan_insn): We always have register constraints.
5686 * genattrtab.c: Don't include "insn-config.h".
5687 (write_attr_case): We always have register constraints.
5688 * genconfig.c (register_constraint_flag): Delete.
5689 (walk_insn_part): Don't check whether we have register constraints.
5690 (main): Don't write out "#define REGISTER_CONSTRAINTS".
5691 * genoutput.c (have_constraints): Delete.
5692 (main): Don't set it.
5693 (output_operand_data): We always have constraints.
5694 (scan_operands): Likewise.
5695 (compare_operands): Likewise.
5696 * local-alloc.c (block_alloc): We always have constraints.
5697 (requires_inout): Always compile this function.
5698 * recog.c (extract_insn): We always have constraints.
5699 (constrain_operands, reg_fits_class_p): Always compile these
5701 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
5703 (struct insn_operand_data): Likewise.
5704 * regclass.c (regclass): We always have constraints.
5705 (record_reg_classes, copy_cost, record_address_regs,
5706 auto_inc_dec_reg_p): Always compile these functions.
5707 * regmove.c (regmove_optimize): We always have constraints.
5708 * reload.c (find_reloads): Likewise.
5709 * reload1.c (reload): Likewise.
5710 (reload_cse_simplify_operands): Likewise.
5711 * i860.c (output_delay_insn): Likewise.
5713 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
5715 * iris6.h (BUILD_VA_LIST_TYPE): Define.
5717 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5719 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
5720 for the va_list record.
5722 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
5724 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
5727 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
5729 * alias.c: Include insn-flags.h.
5730 * Makefile.in (alias.o): Update.
5732 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
5734 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
5735 to LTU and GEU. Handle more cases using sbb.
5737 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
5739 * i386.md (truncatexfdf splitters): Do not use subreg.
5740 (fop XFmode patterns): Fix mode in operand testing.
5742 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
5744 * jump.c (jump_optimize_1): Amend last change to test only the
5745 form of the operand, not the insn.
5747 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
5748 not register_operand to determine when B may need preloading.
5750 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
5752 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
5753 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
5754 (call-value patterns): Move to end of file.
5755 (*): Remove mode from label_ref in (pc) context.
5756 (movstrqi): Use memory not general_operand for BLKmode operands.
5757 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
5758 to register_operand operands.
5759 (peep2 patterns): Convert from commented-out peephole patterns.
5761 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5763 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
5764 to BUILT_IN_INIT_DWARF_REG_SIZES.
5765 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
5766 Renamed from BUILT_IN_DWARF_REG_SIZE; call
5767 expand_builtin_init_dwarf_reg_sizes.
5768 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
5769 with __builtin_init_dwarf_reg_size_table.
5770 * dwarf2out.c (struct reg_size_range): Delete.
5771 (expand_builtin_init_dwarf_reg_sizes): New function.
5772 (expand_builtin_dwarf_reg_size): Delete.
5773 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
5774 (expand_builtin_dwarf_reg_size): Don't declare.
5775 * libgcc2.c (dwarf_reg_size_table_initialized): New.
5776 (dwarf_reg_size_table): New.
5777 (init_reg_size_table): New function.
5778 (copy_reg): Use dwarf_reg_size_table.
5779 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
5782 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
5784 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
5785 Correctly build argument list to constructor and destructor functions.
5787 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
5789 * c-tree.h (warn_float_equal): Declare.
5790 * c-decl.c (warn_float_equal): Define.
5791 (c_decode_option): Recognize -W[no-]float-equal.
5792 * c-typeck.c (build_binary_op): Conditionally warn
5793 about equality tests of floating point types.
5794 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
5795 * invoke.texi: Add docs for -Wfloat-equal warning.
5797 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
5799 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
5800 generating RTL directly.
5801 * mips.h (INIT_TARGET_OPTABS): Likewise.
5802 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
5804 * expr.h (init_mov_optab): Delete declaration
5806 * h8300.c (WORD_REG_USED): Update to avoid useless register
5807 saves in interrupt functions and functions which never return.
5809 * cse.c (struct set): Delete inner_dest_loc field.
5810 (cse_insn): Remove assignments to inner_dest_loc field.
5812 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
5814 * ggc-page.c: Don't include <unistd.h> etc taken care of
5815 by "system.h". Include <sys/mman.h> afterward.
5817 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
5819 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
5822 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
5824 * xcoffout.c (xcoffout_declare_function): Add documentation.
5825 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
5826 TARGET_64BIT. Compare constant to -1, not bit pattern.
5827 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
5828 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
5831 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
5833 * dwarf2out.c (add_abstract_origin_attribute): Abort if
5835 (gen_inlined_enumeration_type_die): Do not abort if the type has
5836 not been writeen out.
5837 (gen_inlined_structure_type_die): Do not abort if the type has
5838 not been writeen out.
5839 (gen_inlined_union_type_die): Do not abort if the type has
5840 not been writeen out.
5841 (gen_tagged_type_instantiation_die): Do not abort if the type
5842 has not been written out.
5844 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5846 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
5848 * reg-stack.c (straighten_stack): Copy hard reg set with
5851 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
5853 * builtins.c (stabilize_va_list): Stabilize array type va_list
5854 to a pointer type, not the base record type.
5855 (expand_builtin_va_copy): Dereference the pointers explicitly;
5856 use the correct size for the copy.
5858 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
5859 (rs6000_va_arg): Likewise.
5861 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
5863 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
5865 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
5867 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
5869 (DECL_BUILT_IN_CLASS): Adjust accordingly.
5871 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
5873 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
5874 (init_ggc): Use it instead of a constant.
5875 (ggc_collect): Bound allocated_last_gc by it.
5877 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
5879 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
5882 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
5884 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
5885 (mips*-*-openbsd*): Let big endian configuration be a fragment.
5887 * config/mips/openbsd.h: New, OpenBSD little endian target.
5888 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
5889 * config/mips/xm-openbsd.h: New, OpenBSD host.
5891 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
5893 * config/m68k/m68k.c (output_function_prologue,
5894 output_function_epilogue): Use
5895 current_function_uses_pic_offset_table instead of regs_ever_live
5896 to decide whether to save/restore pic register.
5897 (legitimize_pic_address): Don't modify regs_ever_live any more.
5899 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
5901 * function.h (struct function): Add x_dont_save_pending_sizes_p.
5902 * stor-layout.c (variable_size): Don't add sizes to the pending
5903 sizes list if x_dont_save_pending_sizes_p is set.
5905 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
5907 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
5908 for symbolic_operand().
5909 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
5911 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5913 * combine.c (gen_rtx_combine): Add missing call to va_end().
5915 * final.c (asm_fprintf): Likewise.
5917 * genattrtab.c (attr_rtx): Likewise.
5919 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
5921 * cse.c: Update comments.
5922 (cse_insn): When converting a conditional/computed jump into
5923 an unconditional jump, always make sure a BARRIER immediately
5924 follows the converted jump. Do not delete unreachable code.
5925 (cse_basic_block): Do not delete unreachable code.
5926 * toplev.c (rest_of_compilation): Move call to
5927 delete_trivially_dead_insns after the conditional call to
5930 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5932 * collect2.c (make_temp_file): Don't prototype.
5934 * gcc.c (make_temp_file): Likewise.
5936 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
5938 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
5940 * varasm.c (asm_emit_uninitialised): New function: Generate
5941 the assembler statements necessary to declare an uninitialised
5943 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
5945 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
5946 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
5948 (assemble_variable): Use asm_emit_uninitialised to emit an
5949 uninitialised variable.
5951 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
5953 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
5954 constant on a 64 bit host. Patch supplied by Geoffrey Keating
5955 <geoffk@cygnus.com>.
5957 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5959 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
5960 * c-common.h (builtin_function): Don't declare.
5962 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
5964 (pushdecl): Likewise.
5965 (finish_decl): Likewise.
5966 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
5967 int. All callers changed.
5968 Set the builtin's DECL_BUILT_IN_CLASS.
5969 * tree.h (enum built_in_class): New.
5970 (enum built_in_function): Delete NOT_BUILT_IN.
5971 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
5973 (DECL_SET_FUNCTION_CODE): Likewise.
5974 (DECL_BUILT_IN_CLASS): New macro.
5975 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
5976 (struct tree_decl): Split builtin function code field into a
5978 (builtin_function): Declare.
5980 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
5982 * optabs.c (init_traps): Fix typo in last change.
5984 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
5986 * toplev.c (rest_of_decl_compilation): Update comment.
5988 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
5990 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
5991 in .sbss if appropriate.
5992 (EXTRA_SECTION_FUNCTIONS): Add sbss.
5993 (SBSS_SECTION_ASM_OP): New macro.
5994 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
5995 (EXTRA_SECTIONS): Add in_sbss.
5996 * config/mips/mips.h: Prototype sbss_section.
5998 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
6000 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
6003 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
6005 * optabs.c (init_traps): Register trap_rtx as a GC root.
6007 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6009 * config/mips/mips.c (function_arg_pass_by_reference): Define
6010 unconditionally, since it's called unconditionally.
6012 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
6014 * toplev.c (documented_lang_options): Add -fshort-wchar.
6015 * c-decl.c (c_decode_option): Likewise.
6016 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
6018 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
6019 * gcc.c (default_compilers): If -fshort-wchar,
6020 override __WCHAR_TYPE__.
6021 * tm.texi (C Dialect Options): Add -fshort-wchar.
6023 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
6024 symbol for a variable.
6026 * cpplib.h (CPP_PREPROCESSED): New macro.
6027 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
6028 we're seeing this input for a second time.
6030 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
6032 * emit-rtl.c (init_emit_once): Initialize modes first.
6034 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
6036 * config/i386/i386.c (pic_label_name): Change to char pointer.
6037 (global_offset_table): New variable.
6038 (load_pic_register): Fill global_offset_table if it hasn't
6039 already been done. Allocate pic_label_name dynamically.
6040 * ggc.h (empty_string): New variable.
6041 * ggc-simple.c (empty_string): Likewise.
6042 (init_ggc): Allocate empty_string and add as root.
6043 * stmt.c (digit_strings): New variable.
6044 (init_stmt): Add last_block_end_note as root. Allocate and
6045 initialize digit_strings.
6046 (expand_asm_operands): Use empty_string instead of string
6047 constant. Use digit_strings instead of string constants.
6048 * profile.c (init_arc_profiler): Allocate string with
6049 ggc_alloc_string instead of xmalloc.
6050 (output_func_start_profiler): Likewise.
6051 * c-typeck.c (digest_init): Check if init is error_mark_node.
6053 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
6054 Richard Henderson <rth@cygnus.com>
6056 * ggc-page.c: New file.
6057 * Makefile.in (ggc-page.o): New.
6059 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
6061 * invoke.texi: Document -fdelete-null-pointer-checks
6062 * toplev.c (flag_delete_null_pointer_checks): New.
6063 (f_options): Add entry for -fdelete-null-pointer-checks.
6064 (rest_of_compilation): Conditionalize null pointer check
6065 elimination on flag_delete_null_pointer_checks.
6066 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
6068 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
6070 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
6071 copyright notice and special exception to GPL.
6073 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6075 * abi64.h (mips_function_value): Add prototype arguments.
6077 * mips-protos.h: New file with mips prototypes.
6079 * mips.c: Include "tm_p.h".
6080 (mktemp, lookup_name): Add prototype arguments.
6081 (extern_list, string_constant, mips_fill_delay_slot,
6082 mips_output_external, mips_output_external_libcall,
6083 mips_output_filename, mips_declare_object, function_prologue,
6084 mips_expand_prologue, function_epilogue, mips16_constant,
6085 build_mips16_function_stub, mips_output_conditional_branch):
6087 (mips_va_start): Remove unused variable `u'.
6088 (mips_va_arg): Cast value to unsigned when comparing against one.
6090 (save_restore_insns, mips_expand_prologue): Add missing arg in
6091 call to `large_int'.
6093 * mips.h: Move prototypes to mips-protos.h.
6094 (data_section, memory_address_p, rdata_section,
6095 readonly_data_section, simple_epilogue_p, text_section): Delete
6096 prototypes delcared elsewhere.
6097 (mips_epilogue_delay_slots, print_options): Delete unused decls.
6099 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
6101 * mips.md: Delete extra args in call to `mips_move_2words'.
6103 * xm-iris6.h (alloca): Add prototype argument.
6105 * genpeep.c: Include "tm_p.h" in generated output file.
6107 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
6109 * basic-block.h (find_edge_index): Change parameters.
6110 * flow.c (verify_edge_list): Pass basic_block parameters to
6111 find_edge_index instead of integers.
6113 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
6115 * combine.c (simplify_comparison): Use an unsigned shift to adjust
6118 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
6120 * gcc.1: Fix a formatting error.
6122 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6124 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
6125 i786, mn10200, mn10300, pdp11, v850.
6127 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
6129 * libgcc2.c (num_digits): Add prototype with
6130 __attribute__((const)).
6131 (__terminate): Add prototype.
6133 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
6135 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
6137 * alpha/alpha.c (print_operand): Fix type of `code'.
6138 (alpha_output_filename): Constify.
6139 * alpha/alpha.h: Move all function declarations ...
6140 * alpha/alpha-protos.h: ... here. New file.
6141 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
6142 (SECTION_FUNCTION_TEMPLATE): Likewise.
6144 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6146 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
6147 * expr.c (expand_expr): Likewise.
6148 (do_jump): Likewise.
6149 (do_store_flag): Pass ccp_store_flag to can_compare_p.
6150 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
6152 (enum can_compare_purpose): New.
6153 (can_compare_p): Adjust prototype.
6154 (prepare_cmp_insn, prepare_operand): Declare.
6155 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
6156 * optabs.c (cmp_available_p): Deleted.
6157 (expand_abs): Pass ccp_jump to can_compare_p.
6158 (can_compare_p): New arg PURPOSE. Check for combined optabs.
6159 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
6160 Call can_compare_p rather than cmp_available_p.
6161 (prepare_operand): No longer static.
6162 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
6163 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
6164 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
6165 sequence to use emit_cmp_and_jump_insns.
6166 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
6168 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
6170 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
6171 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
6172 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
6173 (plus (reg) (const_int 0))
6174 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
6176 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
6178 * rs6000.c (expand_block_move): DImode loads and stores require
6179 word-aligned displacements. Increment address registers with
6180 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
6182 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
6184 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
6185 is no name for the base type, rather than segfault. If we are
6186 writing out a complex integer type, use DW_ATE_lo_user.
6188 * expr.c (emit_move_insn_1): If we are copying a complex that fits
6189 in one word or less (complex char, complex short, or on 64 bit
6190 systems complex float) to/from a hard register, copy it through
6191 memory instead of dying in gen_{real,imag}part. If we have a
6192 short complex type, prevent inlining since it allocates stack
6195 * tree.c (build_complex_type): If we are writing dwarf2 output,
6196 generate a name for complex integer types.
6198 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
6200 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
6201 * flow.c (remove_edge): Remove extra whitespace.
6202 (remove_fake_edges): Fix comment.
6203 (add_noreturn_fake_exit_edges): Use the correct name.
6205 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
6207 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
6208 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
6209 (clean): Depend on INTL_CLEAN.
6210 (maintainer-clean): Adjust.
6212 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6214 * configure.in (AC_PREREQ): Bump to 2.13.
6215 (AC_C_STRINGIZE): Call this instead of using a custom macro.
6217 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
6219 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
6221 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
6223 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
6224 (HAVE_STRINGIZE): Define.
6226 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
6228 * c-parse.in: save and restore warn_pointer_arith on __extension__
6229 along with pedantic.
6230 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
6231 Set the type of extension to itype rather than $<itype>1 kludge.
6232 * extend.texi (Alternate Keywords): Adjust documentation.
6233 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
6235 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
6237 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
6238 most assembler templates.
6240 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
6241 FP loads and stores.
6242 (following_call): Always return zero for the PA8000.
6243 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
6244 FP loads and stores.
6245 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
6247 * pa.h (BRANCH_COST): Define.
6249 * pa.md (return, return_internal): Use bve for PA2.0.
6251 * pa.md (fused multiply): Add variants which reduce height for the
6252 fused multiply, but which still generate 2 insns.
6253 (fnegabs): Similarly.
6255 * pa.md (subsi3): Turn into an expander. Create two anonymous
6256 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
6257 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
6259 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
6261 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
6263 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
6264 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
6266 * regclass.c (init_regs): Add "top_of_stack" as a garbage
6269 * flow.c (record_active_eh_regions): Terminate loop after finding
6270 the last insn in the last basic block.
6272 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6274 * config/c4x/c4x.md: Delete parallel instruction peepholes.
6276 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6278 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
6280 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6282 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
6283 splitting to not use output template.
6285 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6287 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
6288 * config/c4x/c4x.c (c4x_va_start): New function.
6290 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
6292 * genrecog.c (not_both_true): Handle correctly cases when called for
6293 tests with different positions in the insn.
6295 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6297 * machmode.h (HOST_PTR_PRINTF): Move from here ...
6299 * system.h (HOST_PTR_PRINTF): ... to here.
6301 * mips-tfile.c: Don't include machmode.h.
6303 * Makefile.in (MACHMODE_H): New variable. Update to use it.
6304 (mips-tfile.o): Don't depend on machmode.h.
6306 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6308 * haifa-sched.c (sched_analyze): Rename local variable `region' to
6309 avoid conflicts with typedef struct `region' at the top level scope.
6311 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
6313 * basic-block.h (basic_block): Add eh_beg, eh_end.
6314 * flow.c (entry_exit_blocks): Update.
6315 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
6317 (find_basic_blocks_1): Don't record eh_list at each bb. Use
6318 lists.c functions to allocate insn lists.
6319 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
6321 (make_eh_edge): ... here. New.
6322 (move_stray_eh_region_notes): New.
6323 (record_active_eh_regions): New.
6324 (delete_unreachable_blocks): Split out block merging ...
6325 (try_merge_blocks): ... here. New.
6326 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
6327 Dump debugging data.
6328 (merge_blocks_move_successor_nojumps): Likewise.
6329 (merge_blocks): Use eh_beg+eh_end to validate block movement.
6331 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6333 * extend.texi (Bound member functions): Document unbound pmf
6336 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
6338 * flow.c (split_edge): Handle insertion on a fallthrough edge which
6339 has the EXIT_BLOCK as a dest.
6341 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
6343 * flow.c (remove_edge): New function to remove an edge from the
6345 (remove_fake_successors): New function to remove fake successor edges.
6346 (remove_fake_edges): New function to remove all fake edges from the
6348 (add_fake_exit_edges): New function to add fake edges from all blocks
6349 with no successors to the exit block.
6350 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
6351 prototypes for new functions.
6353 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
6355 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
6356 Use Pmode to determine whether to output .dword or .word.
6358 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
6360 * tree.c (built_in_filename): New variable.
6361 (BUILT_IN_FILENAME): New macro.
6362 (init_tree_codes): Allocate built_in_filename.
6363 (make_node): Use built_in_filename instead of string constant.
6365 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
6367 * configure.in: Add fr30 target.
6368 * configure: Regenerate.
6369 * config/fr30: New directory.
6370 * config/fr30/crti.asm: New file.
6371 * config/fr30/fr30.c: New file.
6372 * config/fr30/crtn.asm: New file.
6373 * config/fr30/fr30.h: New file.
6374 * config/fr30/fr30.md: New file.
6375 * config/fr30/lib1funcs.asm: New file.
6376 * config/fr30/t-fr30: New file.
6377 * config/fr30/xm-fr30.h: New file.
6379 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
6381 * flow.c (merge_blocks_move_successor_nojumps): Delete the
6382 BARRIER at the end of the successor, not the BARRIER before
6385 * pa.c (pa_add_gc_roots): Fix thinko in last change.
6387 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
6389 * stmt.c (any_pending_cleanups): Don't crash when
6390 current_function->stmt is unset.
6392 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6394 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
6395 other initializations that may use it for relative offsets.
6397 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6399 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
6400 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
6401 * config/i386/sol2dbg.h: Removed.
6402 * config/i386/sol2gas.h: New file, to enable gas work-around.
6403 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
6404 Don't use sol2dbg.h.
6405 * configure: Rebuilt.
6407 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
6409 * invoke.texi (-fthis-is-variable): Remove documentation.
6411 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
6413 * basic-block.h (compute_bb_for_insn): Declare.
6414 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
6415 to use; set size of basic_block_for_insn directly.
6416 (find_basic_blocks): Update.
6418 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6420 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
6422 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6424 * crtstuff.c (ON_EXIT): Delete empty macro definition.
6425 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
6427 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
6429 * c-decl.c (c_decode_option): Extend comment.
6431 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
6433 * toplev.c (progname): Make 'const char *'
6434 (flag_print_mem): Move out of main.
6435 (version_flag): Move out of main.
6436 (filename): Move out of main.
6437 (debug_args): Remove g prefix from options.
6438 (documented_lang_options): Remove cpplib specific options.
6439 (display_help): Add g prefix to debug options.
6440 (check_lang_option): Delete this function.
6441 (decode_d_option): New function: Decode -d... option.
6442 (decode_f_option): New function: Decode -f... option.
6443 (decode_W_option): New function: Decode -W... option.
6444 (decode_g_option): New function: Decode -g... option.
6445 (independent_decode_option): New function: Decode a language
6446 independent command line option.
6447 (main): Invoke lang_decode_option and then
6448 independent_decode_option on each command line option in
6451 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
6453 Revert this change. Gavin's patch to operand_equal_p is a better fix.
6454 * fold-const.c (fold_range_test): Do not try to fold the range
6455 test if the rhs or lhs has side effects.
6457 * basic-block.h (compute_flow_dominators): Declare.
6459 * gcse.c (alloc_code_hoist_mem): New function.
6460 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
6461 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
6462 (hoist_code, one_code_hoisting_pass): Likewise.
6463 (gcse_main): If optimizing for size, then hoist expressions
6464 computed in multiple dominated basic blocks.
6466 * gcse.c (invalid_nonnull_info): New function.
6467 (delete_null_pointer_checks): Likewise.
6468 * rtl.h (delete_null_pointer_checks): Declare.
6469 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
6471 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
6472 (merge-blocks_move_successor_nojumps): Likewise.
6473 (merge_blocks): Allow merging of some blocks, even if it requires
6474 physical movement of the blocks, but not if it requires new jumps.
6476 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
6477 Callers and prototype changed.
6478 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
6480 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6482 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
6483 -YP when both -p and -pg are present. From i386/sol2.h.
6485 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6487 * Makefile.in (distclean): Delete tm_p.h.
6488 * configure.in: Create a new file, "tm_p.h", from a list in
6489 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
6490 "i386/i386-protos.h".
6492 * alias.c: Include "tm_p.h".
6493 * c-typeck.c: Likewise.
6494 * calls.c: Likewise.
6496 * emit-rtl.c: Likewise.
6497 * explow.c: Likewise.
6498 * expmed.c: Likewise.
6500 * final.c: Likewise.
6502 * fold-const.c: Likewise.
6503 * function.c: Likewise.
6505 * global.c: Likewise.
6506 * haifa-sched.c: Likewise.
6507 * integrate.c: Likewise.
6509 * local-alloc.c: Likewise.
6511 * optabs.c: Likewise.
6512 * recog.c: Likewise.
6513 * reg-stack.c: Likewise.
6514 * regclass.c: Likewise.
6515 * regmove.c: Likewise.
6516 * reload.c: Likewise.
6517 * reload1.c: Likewise.
6518 * reorg.c: Likewise.
6519 * resource.c: Likewise.
6521 * stor-layout.c: Likewise.
6522 * toplev.c: Likewise.
6524 * unroll.c: Likewise.
6525 * genattrtab.c (main): Make generated file include "tm_p.h".
6526 * genemit.c (main): Likewise.
6527 * genoutput.c (main): Likewise.
6528 * genrecog.c (main): Likewise.
6530 * i386.h: Delete all prototypes.
6531 * i386.c: Include "tm_p.h".
6532 (ix86_attr_length_default): Call constant_call_address_operand
6533 with correct number of arguments.
6534 * i386-protos.h: New file.
6535 * i386.md (unnamed patterns): Call constant_call_address_operand
6536 with correct number of arguments.
6537 (exception_receiver): Call load_pic_register with correct number
6540 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
6542 * c-pragma.c (mark_align_stack): Dereference the void* properly.
6544 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
6546 * rtl.h (insns_safe_to_move_p): New function.
6547 * loop.c (find_and_verify_loops): Use it.
6548 * rtlanal.c (insns_safe_to_move_p): Define it.
6550 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
6552 * c-pragma.c: Include ggc.h.
6553 * Makefile.in (c-pragma.o): Update.
6555 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6557 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
6558 (LIB_SPEC): Likewise.
6559 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
6560 Reindent -YP/-p/-pg.
6561 Copied from config/sparc/sol2.h.
6563 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
6565 * c-pragma.c (mark_align_stack): New.
6567 * c-pragma.h (init_pragma): Declare it.
6568 * c-lex.c (init_parse): Call it.
6570 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6572 * configure.in: Pick up thread library on Solaris/x86 just
6573 like on Solaris/sparc.
6574 * configure: Rebuilt.
6576 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
6578 * rtl.h (global_rtx_index): New enum.
6579 (global_rtl): Change to array of rtx.
6580 (pc_rtx, cc0_rtx): Redefine accordingly.
6581 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
6582 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
6583 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
6584 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
6585 (const_int_rtx): Change to array of rtx.
6586 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
6588 * emit-rtl.c (global_rtl): Change to array of rtx.
6589 (const_int_rtx): Change to aray of rtx.
6590 (gen_rtx_CONST_INT): Redefine accordingly.
6591 (init_emit_once): Allocate and initialize global_rtl. Likewise
6592 for const_int_rtx. Add both as GC roots.
6593 * genattrtab.c (global_rtl): Update declaration.
6595 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
6597 * Makefile (USER_H): Add iso646.h back.
6599 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
6601 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
6602 zapping the LOG_LINKS of sched_before_next_call.
6604 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
6605 * pa.c (insn_refs_are_delayed): Renamed from
6606 insn_sets_and_refs_are_delayed.
6608 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
6610 * functiion.h (struct function): Add x_whole_function_mode_p.
6611 (retrofit_block): Declare.
6612 * function.c (retrofit_block): New function.
6613 (identify_blocks): Add assertions. Allow an incomplete set of
6614 block notes if we're still generating code for the function.
6615 * integrate.c: Include loop.h.
6616 (expand_inline_function): Call find_loop_tree_blocks to map block
6617 notes to blocks when in whole-function mode. Use retrofit_block
6618 to insert new BLOCKs for the inlined function, rather than
6620 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
6621 * Makefile.in (integrate.o): Depend on loop.h.
6623 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
6625 * tree.h (warn_about_unused_variables): Declare.
6626 * stmt.c (warn_about_unused_variables): New function, split out
6628 (expand_end_bindings): Here.
6630 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
6632 * stmt.c (preserve_subexpressions_p): Don't crash when
6633 current_function->stmt is unset.
6635 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
6637 * stmt.c (expand_start_bindings): Allow callers to pass a flag
6638 indicating that no NOTE_INSN_BLOCK_BEG note is required.
6639 (expand_start_target_temps): Use it.
6640 * except.c (expand_eh_region_start_for_decl): Likewise.
6641 * expr.c (expand_expr): Likewise.
6643 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
6645 * fold-const.c (operand_equal_p): Pay attention to side effects.
6647 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
6649 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
6650 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
6652 * tlink.c (scan_linker_output): Look for keywords before accepting
6653 a mangled name in quotes.
6655 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
6657 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
6658 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
6660 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
6662 * alpha.md: Revert Thu Nov 26 change that came in through the
6663 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
6664 Avoid earlyclobber when possible.
6666 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6668 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
6670 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
6671 Define HAVE_ON_EXIT.
6673 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6675 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
6676 CTYPE_CONV in all ctype macros.
6678 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
6681 * cexp.y (initialize_random_junk): Likewise.
6683 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
6685 * i370.c (handle_pragma): Likewise.
6687 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
6689 * v850.c (override_options): Likewise.
6691 * doprint.c (_doprnt): Likewise.
6693 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
6696 * fixinc/server.c (load_data): Likewise.
6698 * fold-const.c (real_hex_to_f): Likewise.
6700 * genattr.c (write_upcase, gen_attr): Likewise.
6702 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
6703 write_upcase): Likewise.
6705 * genemit.c (print_code): Likewise.
6707 * genopinit.c (gen_insn): Likewise.
6709 * genpeep.c (print_code): Likewise.
6711 * genrecog.c (print_code): Likewise.
6713 * optabs.c (init_libfuncs): Likewise.
6715 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
6717 * haifa-sched.c (sched_analyze): Keep the list of notes organized
6719 (reemit_notes): Likewise.
6721 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
6723 * ggc.h (ggc_root): Move to ggc-common.c.
6725 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
6726 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
6727 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
6728 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
6729 * ggc-common.c (ggc_root): Move from ggc.h.
6730 (roots): Declare, static.
6731 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
6732 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
6733 null or check/set mark bit.
6734 (ggc_mark_roots): New.
6735 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
6737 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
6739 * m32r.c: Include toplev.h.
6740 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
6741 (gen_compare): Rename swap_p to must_swap to match uses.
6742 Add default abort case.
6743 (m32r_output_function_epilogue): Remove unused variables.
6744 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
6745 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
6746 define to empty parameter list. Update all uses.
6747 (predicate decls): Use enum machine_mode not int.
6748 * m32r.md (movsi): Call abort, not fatal_insn.
6749 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
6751 1999-09-14 Andrew Haley <aph@cygnus.com>
6753 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
6754 use $0 instead of 0.
6756 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6758 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
6759 computation out of loop over hard regs.
6761 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
6763 * function.c (identify_blocks): Don't shadow a variable in an
6765 * integrate.c (integrate_decl_tree): Don't use pushlevel,
6766 pushdecl, or poplevel to build up the new BLOCK tree.
6767 (expand_inline_function): Likewise.
6768 (integrate_parm_decls): Likewise.
6770 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
6772 * c-typeck.c (qualify_type): Merge qualifiers from both types.
6774 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
6776 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
6777 * invoke.texi: Document this change.
6779 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
6781 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
6783 (mark_emit_status): Renamed from mark_emit_state.
6784 * except.c (mark_eh_status): Renamed from mark_eh_state.
6785 Check not null before marking.
6786 (free_eh_status): New.
6787 * expr.c (mark_expr_status, free_expr_status): New.
6788 * function.c (free_machine_status): New.
6789 (free_after_parsing): New.
6790 (free_after_compilation): Move bits to free_after_parsing; call
6791 free_eh_status, free_expr_status; zero the marked members of the
6793 (prepare_function_start): No can_garbage_collect.
6794 Call init_eh_for_function.
6795 (expand_dummy_function_end): Free up current_function state.
6796 (mark_function_status): Renamed from mark_function_state.
6797 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
6798 * function.h (struct function): No can_garbage_collect.
6799 (free_machine_status, free_after_parsing): Declare.
6800 (free_eh_status, free_expr_status): Declare.
6801 * ggc.h (mark_expr_status): Declare.
6802 * stmt.c (free_stmt_status): Free the struct.
6803 (mark_stmt_status): Renamed from mark_stmt_state.
6804 (init_stmt): Don't call init_eh.
6805 (init_stmt_for_function): Don't call init_eh_for_function.
6806 * toplev.c (compile_file): Call init_eh.
6807 (rest_of_compilation): Free basic block info before ggc_collect.
6808 Call free_after_parsing; conditionally call free_after_compilation.
6809 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
6810 Check not null before marking.
6811 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
6813 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
6815 * c-lex.c (yylex): Initialize warn.
6817 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
6819 * pa.c (emit_move_sequence): Properly set the mode of the scratch
6820 register when performing secondary reloads for the SAR register.
6822 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
6824 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
6825 (NOTE_BLOCK): New macro.
6826 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
6827 * function.h (identify_blocks): Change prototype.
6828 * function.c (identify_blocks): Simplify.
6829 (reorder_blocks): Likewise.
6830 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
6831 NOTE_INSN_BLOCK_{BEG,END}.
6832 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
6833 the list of saved notes if the note isn't a
6834 NOTE_INSN_BLOCK_{BEG,END}.
6835 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
6837 (reemit_notes): Adjust recreation of notes to reflect new saved
6839 * print-rtl.c (print_rtx): Print the address of the BLOCK when
6840 printing a block note.
6841 * stmt.c (block_vector): Remove.
6842 (find_loop_tree_blocks): Simplify.
6843 (unroll_block_trees): Likewise.
6844 * tree.h (reorder_block): Change prototype.
6846 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
6848 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
6849 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
6850 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
6851 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
6852 (atexit, exit): Simplify.
6853 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
6854 * config/lots: Remove defns of HAVE_ATEXIT.
6856 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
6858 * calls.c (precompute_arguments): Fix typo in comment.
6859 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
6862 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
6864 * dsp16xx.c (override_options): Fix typos in GC root registration.
6866 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
6868 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
6870 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
6871 (FUNCTION_PROFILER): Redefine appropriately for Linux.
6872 (CC1_SPEC): Likewise.
6874 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6876 * genattr.c (main): Add extern prototype. Call return, not exit.
6877 * genattrtab.c (main): Likewise.
6878 * gencheck.c (main): Likewise.
6879 * gencodes.c (main): Likewise.
6880 * genconfig.c (main): Likewise.
6881 * genemit.c (main): Likewise.
6882 * genextract.c (main): Likewise.
6883 * genflags.c (main): Likewise.
6884 * gengenrtl.c (main): Likewise.
6885 * genopinit.c (main): Likewise.
6886 * genoutput.c (main): Likewise.
6887 * genpeep.c (main): Likewise.
6888 * genrecog.c (main): Likewise.
6890 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
6891 * genattrtab.c (get_insn_name): Likewise.
6892 * gencodes.c (get_insn_name): Likewise.
6893 * genconfig.c (get_insn_name): Likewise.
6894 * genemit.c (get_insn_name): Likewise.
6895 * genextract.c (get_insn_name): Likewise.
6896 * genflags.c (get_insn_name): Likewise.
6897 * genopinit.c (get_insn_name): Likewise.
6898 * genpeep.c (get_insn_name): Likewise.
6900 * gencheck.c (usage): Add static prototype.
6901 * genextract.c (print_path): Constify a char*.
6902 * genopinit.c (optabs): Likewise.
6903 * genoutput.c (operand_data, data, output_predicate_decls,
6904 compare_operands): Likewise.
6905 * genrecog.c (write_tree): Add default case in switch.
6907 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6909 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
6911 * print-rtl.c (get_insn_name): Remove prototype.
6913 * toplev.h (progname): Declare const.
6915 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
6916 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
6917 dump_sched_info, dump_local_alloc, regset_release_memory,
6918 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
6919 error_with_file_and_line, error_with_decl, error_for_asm, error,
6920 fatal, warning_with_file_and_line, warning_with_decl, warning,
6921 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
6922 Remove redundant prototypes.
6924 (notice, check_lang_option, report_file_and_line, vnotice,
6925 mark_file_stack): Add static prototype.
6926 (set_fatal_function): Add prototype.
6927 (vnotice, report_file_and_line, set_fatal_function,
6928 check_lang_option): Constify a char*.
6929 (main): Prototype. Call return, not exit.
6931 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6933 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
6935 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
6937 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
6939 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
6941 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6943 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
6944 behave as if it's zero in all cases.
6945 (expand_function_start): Adjust call to assign_parms.
6946 * tree.h (assign_parms): Adjust prototype.
6947 * objc/objc-act.c (hack_method_prototype): Adjust call to
6950 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
6952 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
6953 arg_pointer_rtx fixed if the argument pointer register is
6955 (NONZERO_BASE_PLUS_P): Likewise.
6957 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
6959 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
6960 match_insn2 to match_insn.
6961 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
6963 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
6965 * Makefile.in (USER_H): Remove va-foo.h.
6967 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
6968 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
6969 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
6970 va-spur.h,va-v850.h}: Remove.
6972 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
6974 * sparc/sparc.md (eligible_for_return_delay): New attribute.
6975 (in_return_delay): Use it instead of match_insn.
6977 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6979 * config/alpha/va_list.h (va-alpha.h): Do not include.
6980 (__gnuc_va_list): Typedef as in varargs.h.
6982 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
6984 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
6985 DECL_LIVE_RANGE_RTL.
6987 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
6989 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
6990 not NOTE_BLOCK_NUMBER.
6991 (expand_eh_region_end): Likewise.
6992 (find_exception_handler_labels): Likewise.
6993 (scan_region): Likewise.
6994 (exception_optimize): Likewise.
6995 (update_rethrow_references): Likewise.
6996 (set_insn_eh_region): Likewise.
6997 * final.c (final_scan_insn): Likewise.
6998 * flow.c (make_edges): Likewise.
6999 * integrate.c (expand_inline_function): Likewise.
7000 * print-rtl.c (print_rtx): Likewise.
7002 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
7004 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
7005 terms of builtin functions and types.
7007 * mips.c (mips_build_va_list): New.
7008 (mips_va_start, mips_va_arg): New.
7009 * mips.h (BUILD_VA_LIST_TYPE): New.
7010 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
7012 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
7013 (sh_build_va_list, sh_va_start, sh_va_arg): New.
7014 * sh.h (BUILD_VA_LIST_TYPE): New.
7015 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
7017 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
7019 * recog.h (struct recog_data): Make dup_num, operand_address_p,
7020 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
7021 (struct insn_data): Likewise with n_operands, n_dups,
7022 n_alternatives, output_format.
7023 * regclass.c (scan_one_insn): Cast n_operands to int before
7024 arithmetic inside comparison.
7026 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
7028 * toplev.c (compile_function): Unconditionally emit nop.
7030 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7032 * haifa-sched.c (actual_hazard): Move declaration of variable
7033 `this_cost' into the scope where it is used.
7035 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7037 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
7038 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
7039 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
7041 * genrecog.c (make_insn_sequence): Call memset, not bzero.
7043 * jump.c (find_insert_position): Don't declare or define unless
7044 !HAVE_conditional_arithmetic.
7045 (returnjump_p_1, delete_prior_computation): Add static prototypes.
7047 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
7049 * recog.c (offsettable_address_p): Prototype function pointer.
7050 (preprocess_constraints): Call memset, not bzero.
7052 * tree.c (tree_node_kind_names): Constify a char*. Make static.
7053 (gcc_obstack_init): Don't declare.
7054 (fix_sizetype): Add static prototype.
7055 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
7056 (tree_cons): Call memset, not bzero.
7058 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
7059 definition in macro ASM_WEAKEN_LABEL.
7060 (mark_const_hash_entry): Add static prototype.
7062 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7064 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
7066 * unroll.c (find_common_reg_term, subtract_reg_term,
7067 loop_find_equiv_value): Add static prototypes.
7068 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
7069 (copy_loop_body): Remove unreachable break statement.
7071 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
7073 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
7075 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7077 Undo some changes from the gcc2 merge:
7078 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
7079 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
7083 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
7084 * emit-rtl.c (gen_lowpart_common): Disable optimization of
7085 initialized float-int union if the value is a NaN.
7087 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
7089 * gthr-win32.h: New file.
7091 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
7092 shared as a valid attribute.
7093 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
7094 * extend.texi: Document `shared' variable attribute.
7096 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
7098 * configure.in: Handle --enable-threads on FreeBSD.
7099 * configure: Rebuit.
7101 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7103 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
7105 * configure: Rebuilt.
7107 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
7108 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
7109 Rosimildo DaSilva <rdasilva@connecttel.com>
7111 * configure.in (m68k-*-rtemscoff*): Added.
7112 * configure.in (mips64orion-*-rtems*): Converted to ELF.
7113 * configure.in (sparc-*-rtemsaout*): Added as alias for old
7114 sparc-rtems configuration.
7115 * configure.in (sparc-*-rtemself*): Added.
7116 * configure.in (sparc-*-rtems*): Now ELF not a.out.
7117 * config/i386/rtems.h: Added comment.
7118 * config/sparc/rtemself.h: New file.
7120 * configure.in (m68k-rtemself): Added.
7121 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
7122 and DWARF_DEBUGGING_INFO.
7123 * config/m68k/crti.s: New file.
7124 * config/m68k/crtn.s: New file.
7125 * config/m68k/t-crtstuff: New file.
7126 * config/m68k/rtemself.h: New file.
7128 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
7129 global ctor/dtor and C++ exception handling.
7130 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
7131 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
7133 * config/i386/t-rtems-i386: New File.
7135 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
7137 * stmt.c (expand_end_case): Return right away if the case stack is
7140 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
7142 * Makefile.in (version.c): Remove rule incorrectly brought in from
7145 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
7147 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
7148 * msdos/top.sed: Take into account a prepended $(SHELL) to
7150 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
7152 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
7154 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7156 * regmove.c (fixup_match_1): Don't change an unchanging register.
7157 (stable_but_for_p): Renamed to:
7158 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
7159 Changed all callers.
7161 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
7163 * loop.c (strength_reduce): Don't call reg_used_between_p if the
7164 insn from BL2 is after the insn from BL.
7166 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
7168 * recog.h (INSN_OUTPUT_FORMAT_*): New.
7169 (struct insn_data): Merge `template' and `outfun' into `output'.
7170 Add `output_format'.
7171 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
7172 (struct data): Remove `outfun'; add `output_format'.
7173 (name_for_index): Remove declaration.
7174 (output_insn_data): Handle output formats.
7175 (process_template): Emit the bare array for @.
7176 (gen_expand, gen_split): Set output_format to NONE.
7177 * output.h (get_insn_template): Declare.
7178 * final.c (get_insn_template): New.
7179 (final_scan_insn): Use it.
7180 * toplev.c (compile_file): Likewise.
7182 * c4x/c4x.c (c4x_process_after_reload): Likewise.
7183 * i860/i860.c (output_delayed_branch): Likewise.
7184 (output_delay_insn): Likewise.
7186 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7188 * rtl.c (obstack_alloc_rtx): Removed.
7190 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
7192 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
7194 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
7196 * i386.c (call_insn_operand): Reject const_int.
7197 (expander_call_insn_operand): Use call_insn_operand.
7199 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7201 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
7203 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
7205 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
7206 Use DImode operation.
7208 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
7210 * gcc.c: Include sys/resource.h.
7211 (report_times): New flag.
7212 (execute): If report_times is set, calculate and report the
7213 CPU time consumed by each subprocess.
7215 (rus, prus): New globals.
7216 (option_map): Add --time.
7217 (display_help): Document -time.
7218 (process_command): Set report_times if -time is given.
7219 Turn off -pipe if -time is given.
7221 * invoke.texi: Document new option -time.
7223 * configure.in: Check for getrusage. Check if we have to
7224 prototype getrusage.
7225 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
7226 * configure: Regenerate.
7227 * config.in: Regenerate.
7229 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
7231 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
7234 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
7236 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
7237 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
7238 (nan): Return _thenan_sf or _thenan_df as appropriate.
7239 (L_thenan_sf): Define _thenan_sf.
7240 (L_thenan_df): Define _thenan_df.
7242 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
7243 (DPBIT_FUNCS): Add _thenan_df.
7245 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
7247 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
7250 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7252 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
7255 (lang_specific_driver): Don't take a function pointer parameter.
7256 All callers changed.
7258 * gcc.c: Include gcc.h.
7259 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
7260 lang_specific_extra_outfiles, fatal): Don't declare.
7261 (multilib_defaults_raw): Constify.
7262 (read_specs): Call memset, rather than bzero.
7263 (main): Call return, not exit.
7264 (lookup_compiler): Call memcpy, not bcopy.
7265 (fatal): Make extern.
7267 * cppspec.c: Include gcc.h.
7268 (lang_specific_driver): Initialize variable `quote'. Constify a
7269 char*. All calls to the function pointer parameter now
7270 explicitly call `fatal'.
7272 * gccspec.c (lang_specific_driver): Include gcc.h.
7274 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
7276 * arm.c (note_invalid_constants): Use recog_data.operand_type
7279 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7281 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
7284 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
7285 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
7286 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
7287 reload_secondary_in_reload, reload_secondary_out_reload,
7288 reload_secondary_in_icode, reload_secondary_out_icode,
7289 reload_reg_rtx, reload_when_needed): Delete declarations.
7290 (struct reload): New structure.
7291 (rld): Declare new array.
7292 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
7293 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
7294 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
7295 reload_secondary_in_reload, reload_secondary_out_reload,
7296 reload_secondary_in_icode, reload_secondary_out_icode,
7297 reload_reg_rtx, reload_when_needed): Delete definitions.
7299 (whole file): Replace uses of the deleted arrays with uses of rld.
7300 * reload1.c (whole file): Replace uses of the deleted arrays with
7302 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
7303 explicit loops, not with bcopy.
7305 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
7307 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
7308 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
7309 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
7310 insn_name): Delete and consolidate into new structures.
7311 (insn_operand_predicate_fn): New.
7312 (insn_output_fn): New.
7314 (struct insn_operand_data): New.
7315 (struct insn_data): New.
7317 (OUT_FCN): Update for insn_data change.
7318 * builtins.c (expand_builtin_strlen): Likewise.
7319 (expand_builtin_memcmp): Likewise.
7320 * combine.c (make_extraction, simplify_comparison): Likewise.
7321 * cse.c (canon_reg, cse_insn): Likewise.
7322 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
7323 * expmed.c (store_bit_field, extract_bit_field): Likewise.
7324 (emit_store_flag): Likewise.
7325 * expr.c (convert_move, emit_block_move): Likewise.
7326 (clear_storage, emit_push_insn, expand_increment): Likewise.
7327 (do_store_flag): Likewise.
7328 * expr.h (GEN_FCN): Likewise.
7329 (insn_gen_function): Die.
7330 * final.c (final_scan_insn): Update for insn_data change.
7331 (output_asm_name): Likewise.
7332 * function.c (fixup_var_refs_1): Likewise.
7333 * loop.c (check_dbra_loop): Likewise.
7334 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
7335 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
7336 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
7337 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
7338 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
7339 * regmove.c (gen_add3_insn): Likewise.
7340 * reload.c (push_secondary_reload, combine_reloads): Likewise.
7341 (find_reloads, find_reloads_address_1): Likewise.
7342 (debug_reload_to_stream): Likewise.
7343 * reload1.c (emit_reload_insns, gen_reload): Likewise.
7344 * stmt.c (expand_end_case): Likewise.
7345 * toplev.c (compile_file): Likewise.
7347 * c4x/c4x.c (c4x_process_after_reload): Likewise.
7348 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
7350 * print-rtl.c (insn_name_ptr): Remove declaration.
7351 (get_insn_name): Declare.
7352 (print_rtx): Use it.
7353 * genoutput.c (insn_name_ptr): Remove.
7354 (next_operand_number): New.
7355 (struct operand_data): New.
7356 (null_operand, odata, odata_end): New.
7357 (struct data): Use struct operand_data.
7358 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
7359 (get_insn_name): Renamed from name_for_index.
7360 (output_prologue): Define NO_MD_PROTOTYPES.
7361 (output_predicate_decls): Break out from output_epilogue.
7362 Iterate over the operands list.
7363 (output_operand_data): Break out from output_epilogue. Emit
7364 just the operands list.
7365 (output_insn_data): Break out from output_epilogue. Emit just
7367 (output_epilogue): Remove.
7368 (output_get_insn_name): New.
7369 (constraints, op_n_alternatives, predicates, address_p): Die.
7370 (modes, strict_low, seen): Die.
7371 (scan_operands): Take new param `d' instead of writing to
7372 seven global variables.
7373 (compare_operands): New.
7374 (place_operands): New.
7375 (validate_insn_alternatives): Update for struct data change.
7376 (gen_insn): Don't zero or copy 7 global arrays. Update for
7377 scan_operands; call place_operands.
7378 (gen_peephole, gen_expand, gen_split): Likewise.
7379 (main): Update for new output routines.
7381 * genattr.c (insn_name_ptr): Remove.
7382 (get_insn_name): New function.
7383 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
7384 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
7385 * genrecog.c: Likewise.
7387 * alpha.md (adddi3): Make `pattern' array static.
7389 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7391 * config/c4x/c4x.h (c4x_rpts_cycles_string,
7392 c4x_cpu_version_string): Constify char *.
7393 * config/c4x/c4x.c (c4x_rpts_cycles_string,
7394 c4x_cpu_version_string): Likewise.
7396 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
7398 * tree.c (save_tree_status): Revert 10 Sep change.
7399 (restore_tree_status): Likewise. Call obstack_free with NULL
7400 before freeing the obstack proper.
7402 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
7404 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
7406 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
7407 surrounding context.
7409 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
7411 * tree.c (type_hash_canon): Put all types in the hash-table, when
7414 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
7416 * recog.h (struct recog_data, recog_data): New.
7417 (recog_foo variables): Kill.
7418 * recog.c (recog_operand, recog_operand_loc): Kill.
7419 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
7420 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
7421 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
7422 (recog_data): Define.
7423 (extract_insn): Update all recog_foo references to use recog_data.
7424 (preprocess_constraints, constrain_operands): Likewise.
7425 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
7426 * genattrtab.c (main): Likewise.
7427 * genextract.c (main): Likewise.
7428 * genoutput.c: Likewise.
7429 * genrecog.c (write_subroutine, main): Likewise.
7430 * local-alloc.c (block_alloc): Likewise.
7431 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
7432 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
7433 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
7434 * reload.c (find_reloads, find_reloads_toplev): Likewise.
7435 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
7436 (reload_cse_simplify_operands): Likewise.
7438 * arc/arc.c (arc_final_prescan_insn): Likewise.
7439 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
7440 * h8300/h8300.c (notice_update_cc): Likewise.
7441 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
7442 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
7443 * mn10200/mn10200.c (notice_update_cc): Likewise.
7444 * mn10300/mn10300.c (notice_update_cc): Likewise.
7445 * romp/romp.c (update_cc): Likewise.
7446 * sparc/sparc.c (check_pic): Likewise.
7447 * v850/v850.c (notice_update_cc): Likewise.
7449 * genemit.c (main): Don't declare recog_operand.
7451 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
7453 * ggc.h (rtvec_def): Forward declare.
7454 (tree_node): Likewise.
7457 (ggc_set_mark_rtx): Add prototype.
7458 (ggc_set_mark_rtvec): Likewise.
7459 (ggc_set_mark_tree): Likewise.
7460 * ggc-simple.c (ggc_root): Don't define.
7461 (roots): Don't declare.
7462 (ggc_mark_rtx): Remove.
7463 (ggc_mark_rtvec): Likewise.
7464 (ggc_mark_tree): Likewise.
7465 (ggc_mark_varray): Likewise.
7466 (ggc_mark_tree_hash_table_entry): Likewise.
7467 (ggc_mark_tree_hash_table): Likewise.
7468 (ggc_set_mart_rtx): New function.
7469 (ggc_set_mark_rtvec): Likewise.
7470 (ggc_set_mark_tree): Likewise.
7471 (ggc_add_root): Remove.
7472 (ggc_add_rtx_root): Likewise.
7473 (ggc_remove_tree_root): Likewise.
7474 (ggc_add_string_root): Likewise.
7475 (ggc_add_tree_varray_root): Likewise.
7476 (ggc_add_tree_hash_table_root): Likewise.
7477 (ggc_del_root): Likewise.
7478 (ggc_mark_rtx_ptr): Likewise.
7479 (ggc_mark_tree_ptr): Likewise.
7480 (ggc_mark_string_ptr): Likewise.
7481 (ggc_mark_tree_varray_ptr): Likewise.
7482 (ggc_mark_tree_hash_table_ptr): Likewise.
7483 * ggc-common.c: New file.
7484 * Makefile.in (OBJS): Add ggc-common.o.
7485 (ggc-common.o): List dependencies.
7487 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
7489 * cppalloc.c (xstrdup): Use memcpy.
7490 * cpperror.c (cpp_print_containing_files): Don't use
7492 * cpplib.c (conditional_skip): Set temp->lineno.
7493 (do_endif): Make error message less obscure.
7494 (if_directive_name): New function.
7495 (cpp_get_token [case EOF]): Unwind the if stack and generate
7496 error messages for each unterminated conditional in this file.
7497 (parse_string): Do not behave differently if -traditional.
7499 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
7501 * builtins.c (expand_builtin_va_arg): Cope with an array-type
7502 va_list decomposing to pointer-type.
7503 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
7504 (rs6000_va_arg): Likewise.
7506 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
7508 * except.c (start_dynamic_handler): Compute size using
7509 STACK_SAVEAREA_MODE.
7511 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7513 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
7514 include directory headers. Don't define strrchr. Don't provide
7515 my_* replacement functions. Prefer PTR over `pointer_type'.
7516 Don't prototype system functions. Don't redefine getopt.
7518 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
7519 safe_read, safe_write, save_pointers, restore_pointers,
7520 is_id_char, in_system_include_dir, directory_specified_p,
7521 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
7522 find_corresponding_lparen, referenced_file_is_newer,
7523 save_def_or_dec, munge_compile_params, gen_aux_info_file,
7524 process_aux_info_file, identify_lineno, check_source,
7525 seek_to_line, forward_to_next_token_char, output_bytes,
7526 output_string, output_up_to, other_variable_style_function,
7527 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
7528 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
7529 find_static_definition, connect_defs_and_decs, add_local_decl,
7530 add_global_decls, needs_to_be_converted, visit_each_hash_node,
7531 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
7532 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
7533 scan_for_missed_items, edit_file, string_list_cons): Add static
7535 (standard_exec_prefix, target_machine, target_version,
7536 default_syscalls_dir, string_list, string_list_cons, find_file,
7537 do_cleaning): Constify a char*.
7538 (safe_read, safe_write): Use PTR, not a char*.
7539 (is_id_char): Take an int, not a char.
7540 (main): Add prototype. Call return, not exit.
7542 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
7544 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
7545 when comparing types.
7547 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
7549 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
7550 (strength_reduce): Release the varrays from the no-bivs early exit.
7552 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
7553 the loop over the registers.
7555 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
7557 (restore_tree_status): Check that instead when freeing the obstack.
7559 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
7561 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
7564 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7566 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
7567 operand size modifiers.
7569 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7571 * c-common.c (c_common_nodes_and_builtins): Don't build
7573 * c-common.h (enum c_tree_index and related accesor macros): Remove
7574 everything now declared in tree.h.
7575 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
7576 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
7577 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
7578 (error_mark_node, void_type_node, char_type_node, integer_type_node,
7579 unsigned_type_node, ptr_type_node, va_list_type_node,
7580 integer_zero_node, null_pointer_node, integer_one_node): Delete.
7581 (init_decl_processing): Call build_common_tree_nodes and
7582 build_common_tree_nodes_2 instead of building their nodes here.
7583 Don't add roots for these nodes.
7584 * stor-layout.c (size_zero_node, size_one_node): Delete.
7585 (set_sizetype): Make a new node for bitsizetype each time.
7586 * tree.c (global_trees): New variable.
7587 (init_obstacks): Add a gc root for it.
7588 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
7589 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
7590 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
7591 (build_common_tree_nodes): New function.
7592 (fix_sizetype): New function.
7593 (build_common_tree_nodes_2): New function.
7594 * tree.h (enum tree_index): New.
7595 (global_trees): Declare.
7596 Add accessor macros for all nodes now moved to global_trees.
7597 Delete their declarations.
7599 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
7601 * c-decl.c (finish_function): When processing a nested function,
7602 push and pop GC context around rest_of_compilation.
7604 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
7606 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
7607 Default ix86_arch to PROCESSOR_I386.
7608 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
7609 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
7610 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
7611 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
7612 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
7613 (EXTRA_SPECS): Remove deleted specs.
7615 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
7617 * function.c (assign_stack_local_1): Allocate from
7618 function->x_frame_offset, not frame_offset.
7620 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
7622 * ggc.h (lang_cleanup_tree): Remove.
7623 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
7624 * ggc-callbacks.c (lang_cleanup_tree): Remove.
7626 * c-decl.c (finish_struct): Use ggc_alloc to allocate
7627 TYPE_LANG_SPECIFIC when garbage collecting.
7628 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
7629 (lang_cleanup_tree): Remove.
7631 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
7633 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
7634 * crtstuff.c: Not here.
7635 * dwarf2out.c: Or here.
7636 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
7639 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
7641 * function.h (free_after_compilation): Remove decl parameter.
7642 (free_varasm_status0: Likewise.
7643 (free_emit_status): Likewise.
7644 (free_stmt_status): Likewise.
7645 (free_after_compilation): Likewise.
7646 (init_lang_status): New variable.
7647 (free_lang_status): Likewise.
7648 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
7649 * function.c (init_lang_status): New variable.
7650 (free_lang_status): Likewise.
7651 (push_function_context_to): Don't set function::decl here.
7652 (free_after_copmilation): Make decl parameter implicit. Call
7653 free_lang_status if defined.
7654 (prepare_function_start): Call init_lang_status if defined.
7655 (init_function_start): Set function::decl here.
7656 * profile.c (output_func_start_profiler): Don't call pushdecl
7657 until we've actually started the function.
7658 * stmt.c (free_stmt_status): Make decl parameter implicit.
7659 * toplev.c (rest_of_compilation): Don't pass decl to
7660 free_after_compilation.
7661 * varasm.c (free_varasm_status): Likewise.
7663 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7665 * except.c (call_get_eh_context): Add root when allocating static
7668 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
7670 * arm.c: Include "ggc.h".
7671 (arm_add_gc_roots): New function.
7672 (arm_override_options): Call it.
7673 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
7675 * arm.md (define_asm_attributes): Add a pool_range attribute.
7677 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
7679 * extend.texi (Volatiles): New node.
7681 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
7683 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
7684 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
7685 (struct ggc_any): Replace `mark' with `magic_mark'.
7686 (ggc_alloc_string): Use memcpy, not bcopy.
7687 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
7688 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
7689 (ggc_free_any): New.
7690 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
7691 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
7692 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
7693 Use IS_MARKED. Use ggc_free_any.
7695 1999-09-09 Scott Bambrough <scottb@netwinder.org>
7697 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
7699 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
7701 * toplev.c (main): Always init_ggc.
7703 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
7705 * except.c (find_all_handler_type_matches): Free the list if
7706 we found no matches.
7708 * combine.c (SUBST): Break out to a real function do_SUBST.
7709 (SUBST_INT): Likewise.
7710 * gcse.c (free_pre_mem): Free `temp_bitmap'.
7711 (pre_insert): Free `inserted'.
7712 * loop.c (basic_induction_var): Always set `location'.
7714 * function.c (expand_function_end): Add initial_trampoline as a root.
7715 * rtl.h (init_varasm_once): Declare.
7716 * toplev.c (compile_file): Call it.
7717 * ggc-simple.c (ggc_mark_string_ptr): New.
7718 (ggc_add_string_root): New.
7719 (ggc_collect): Disable collection avoidance temporarily.
7720 * ggc.h (ggc_add_string_root): Declare.
7721 * except.c (create_rethrow_ref): Use ggc_alloc_string.
7722 * optabs.c (init_libfuncs): Likewise.
7723 * varasm.c (named_section): Use ggc_alloc_string.
7724 (make_function_rtl): Likewise.
7725 (make_decl_rtl): Likewise.
7726 (assemble_static_space): Likewise.
7727 (assemble_trampoline_template): Likewise.
7728 (output_constant_def): Likewise.
7729 (force_const_mem): Likewise.
7730 (mark_const_hash_entry): New.
7731 (mark_pool_sym_hash_table): New.
7732 (mark_varasm_state): Use it.
7733 (init_varasm_once): New.
7735 * expr.h (init_one_libfunc): Declare.
7736 * optabs.c (init_one_libfunc): New.
7737 (init_optabs): Use it.
7738 * config/gofast.h: Likewise.
7739 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
7740 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
7742 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
7744 * Makefile.in (cppexp.o): Depend on cpphash.h.
7745 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
7747 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
7748 * cpplib.c (do_define): Generalise to handle poisoned definitions,
7749 redefining poisoned identifiers, etc.
7750 (do_undef): Don't allow poisoned identifiers to be undefined.
7751 (do_pragma): Add #pragma poison.
7752 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
7754 * cccp.c: Add T_POISON node type.
7755 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
7757 (do_define): Generalise to handle poisoned definitions,
7758 redefining poisoned identifiers, etc.
7759 (do_undef): Don't allow poisoned identifiers to be undefined.
7760 (do_pragma): Add #pragma poison.
7761 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
7763 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
7764 * c-pragma.h: Add ps_poison state. We now always have generic
7767 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
7769 * ggc.h (ggc_alloc): New function.
7770 (ggc_mark): Likewise.
7771 * ggc-simple.c (ggc_any): New structure.
7772 (ggc_status): Add anys.
7773 (n_anys_collected): New variable.
7774 (ggc_alloc): Define.
7775 (ggc_mark): Likewise.
7776 (ggc_collect): Collect the anys.
7778 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7780 * c-decl.c (mark_binding_level): Make static to match prototype.
7782 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
7784 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
7786 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
7788 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
7789 will use into account. Expand the max width to 5.
7792 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
7794 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
7797 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
7799 * alpha.md (call value patterns): Remove the result predicates.
7801 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
7803 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
7806 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7808 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
7809 changed from extern char *, to extern PTR. Also fix typo in
7810 NEED_DECLARATION_REALLOC test.
7812 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
7814 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7816 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
7817 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
7818 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
7819 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
7821 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
7823 * cccp.c (pcfinclude): Likewise.
7825 * global.c (allocno_compare): Likewise.
7827 * haifa-sched.c (rank_for_schedule): Likewise.
7829 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
7831 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
7833 * stupid.c (stupid_reg_compare): Likewise.
7835 * tree.c (_obstack_allocated_p): Likewise.
7837 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
7839 1999-09-08 Bruce Korb autogen@linuxbox.com
7841 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
7842 why "gperf -F" fails.
7843 * gcc/cp/Makefile.in: ditto
7844 * gcc/Makefile.in: ditto
7845 * gcc/java/Makefile.in: ditto
7847 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
7849 * lists.c: Include ggc.h.
7851 (init_EXPR_INSN_LIST_cache): Install it.
7853 * ggc-simple.c (init_ggc): Absorb the old init.
7854 (ggc_push_context): Use xcalloc.
7855 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
7856 (ggc_collect): Add [rvts] tags to the collection stats.
7858 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
7860 * cccp.c (main): Fix handling of -include and -imacros options.
7862 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
7864 * cpplib.c (cpp_push_buffer): Fix order of arguments.
7866 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
7868 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
7871 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
7873 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
7874 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
7875 and SET_DEST. Update comment.
7877 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7879 * config/c4x/c4x.c: Include ggc.h.
7880 (c4x_add_gc_roots): New function.
7881 (c4x_override_options): Call c4x_add_gc_roots.
7883 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
7885 * defaults.h (TARGET_ESC): Move ...
7886 * system.h: ... here, where Linas had it in the first place. Silly me.
7888 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
7890 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
7891 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
7892 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
7893 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
7894 * defaults.h (TARGET_ESC): Add default.
7896 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
7898 * configure.in: add i370-*-openedition, i370-*-mvs and
7899 i370-*-linux targets
7901 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
7903 * dsp16xxx.c: Include ggc.h
7904 (override_options): Mark GC roots.
7905 * mn10200.c: Include ggc.h.
7906 (asm_file_start): Mark GC roots.
7907 * tahoe.c: Include ggc.h.
7908 (extensible_operand): Mark GC roots.
7910 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
7912 * README: Add section discussing status of ELF ABI.
7913 * i370.c: Fix misc spelling mistakes.
7914 (i370_label_scan): Updated notes, exception handling.
7915 (i370_function_prolog): Simplify ELF stack handling.
7916 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
7917 (STACK_GROWS_DOWNWARD): ELF stack grows down.
7918 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
7919 * i370.md: (movdi): Add notes.
7920 (floatsidf2): Use stack not rtca for scratch float area.
7921 (iorsi3): Correct operand constraints.
7922 * x-oe: Restore TAROUTOPTS which are used by pax.
7924 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
7926 * rs6000.c: Include ggc.h.
7927 (rs6000_add_gc_roots): New function.
7928 (override_options): Call it.
7930 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
7932 * alpha.h (alpha_compare): New.
7933 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
7934 * alpha.c: Likewise for the definitions.
7935 (alpha_emit_conditional_branch): Update for alpha_compare.
7936 (alpha_emit_conditional_move): Likewise.
7937 * alpha.md (cmpdf, cmpdi): Likewise.
7938 (setcc patterns): Likewise. Zero alpha_compare after use.
7939 (sne): Optimize (x != 0) into (0U < x).
7941 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
7943 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
7944 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
7945 (INIT_EXPANDERS): Remove.
7946 * alpha.c: Include ggc.h.
7947 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
7948 (alpha_init_machine_status, alpha_mark_machine_status): New.
7949 (override_options): Install them.
7950 (struct machine_function): Moved to alpha.h.
7951 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
7952 (alpha_init_expanders): Remove.
7953 (alpha_return_addr): Adjust to use current_function->machine.
7954 (alpha_ra_ever_killed): Likewise.
7955 (alpha_expand_epilogue): Likewise.
7956 * alpha.md (eh_epilogue): Likewise.
7958 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
7959 Melissa O'Neill <oneill@cs.sfu.ca>
7960 Geoffrey Keating <geoffk@cygnus.com>
7962 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
7963 call-used registers (call-saved registers must still be contiguous
7964 and end with r31, of course).
7966 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
7968 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
7969 (self_promoting_type_p): Delete.
7970 (self_promoting_args_p): Move ...
7971 * c-common.c: ... here.
7972 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
7973 (simple_type_promotes_to): New.
7974 * builtins.c (lang_type_promotes_to): New.
7975 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
7976 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
7977 * c-common.h: ... here.
7978 (self_promoting_args_p, simple_type_promotes_to): Declare.
7979 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
7980 (grokdeclarator): Likewise.
7981 * tree.h (lang_type_promotes_to): Declare.
7983 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
7985 Add some machine-dependent GC roots.
7986 * sparc.c: Include ggc.h.
7987 (sparc_add_gc_roots): New function.
7988 (mark_ultrasparc_pipeline_state): Likewise.
7989 (override_options): Call sparc_add_gc_roots.
7990 * pa.c: Include ggc.h.
7991 (pa_add_gc_roots): New function.
7992 (mark_deferred_plabels): Likewise.
7993 (override_options): Call pa_add_gc_roots.
7994 * mips.c: Include ggc.h.
7995 (mips_add_gc_roots): New function.
7996 (override_options): Use it.
7998 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8000 * cpperror.c (cpp_file_line_for_message): Constify a char*.
8002 * cppexp.c (parse_number, parse_charconst, cpp_lex,
8003 cpp_parse_expr): Add static prototypes.
8004 (parse_charconst): Don't cast away const-ness.
8005 (token): Constify a char*.
8007 * cppfiles.c (file_name_list, include_hash, find_include_file,
8008 finclude, initialize_input_buffer): Constify a char*.
8009 (file_cleanup, find_position): Add static prototypes.
8011 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
8012 collect_expansion): Add static prototypes.
8013 (cpp_install, create_definition, monthnames): Constify a char*.
8015 * cpphash.h (cpp_install): Likewise.
8017 * cppinit.c (known_suffixes, default_include,
8018 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
8019 (base_name, dump_special_to_buffer, initialize_dependency_output):
8020 Add static prototypes.
8022 * cpplib.c (my_strerror): Constify a char*.
8023 (null_underflow, null_cleanup, skip_comment, copy_comment,
8024 copy_rest_of_line, handle_directive, pass_thru_directive,
8025 get_directive_token, read_line_number, cpp_print_file_and_line,
8026 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
8027 v_cpp_warning_with_line, detect_if_not_defined,
8028 consider_directive_while_skipping): Add static prototypes.
8029 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
8030 cpp_pedwarn_with_file_and_line): Constify a char*.
8032 * cpplib.h (cpp_options, include_hash, progname, definition,
8033 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
8034 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
8035 find_include_file, deps_output, include_hash): Constify a char*.
8037 * cppmain.c (progname): Constify.
8038 (main): Add prototype. Use return, not exit.
8040 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
8041 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
8042 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
8043 check_protection): Add static prototype.
8045 (progname, recognized_macrom, recognized_extern): Constify a char*.
8046 (main): Add prototype.
8048 * gen-protos.c (progname): Constify a char*.
8050 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
8052 * emit-rtl.c (free_emit_status): Take decl as a parameter.
8053 (init_emit_once): Add more GC roots.
8054 * except.c (mark_func_eh_entry): New function.
8055 (mark_eh_node): Mark false_label and rethrow_label.
8056 (init_eh): Add more GC roots.
8057 * function.c (free_after_compilation): Take decl as a paramter.
8058 Call free_stmt_status.
8059 (mark_function_state): Don't assume x_parm_reg_stack_loc is
8061 * function.h (free_after_compilation): Change prototype.
8062 (free_varasm_status): Likewise.
8063 (free_emit_status): Likewise.
8064 (free_stmt_status): New function.
8065 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
8066 Remove, replacing with ...
8067 (ggc_status): New structure.
8068 (ggc_chain): New variable.
8070 (ggc_push_context): New function.
8071 (ggc_pop_context): Likewise.
8072 (ggc_alloc_rtx): Adjust for use of ggc_chain.
8073 (ggc_alloc_rtvec): Likewise.
8074 (ggc_alloc_tree): Likewise.
8075 (ggc_alloc_string): Likewise.
8076 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
8077 (ggc_mark_tree): Give language-dependent code a chance to mark
8079 (ggc_mark_tree_varray): Handle empty arrays.
8080 (ggc_collect): Adjust for use of ggc_chain. Clear
8081 bytes_alloced_since_last_gc.
8082 * ggc.h (ggc_pop_context): New function.
8083 (ggc_push_context): Likewise.
8084 * print-tree.c (print_node): Don't print obstacks when GC'ing.
8085 * stmt.c (free_stmt_status): New function.
8086 (init_stmt_for_function): Clear last_expr_value.
8087 * toplev.c (rest_of_compilation): Always call free_after_compilation.
8088 Conditionalize call to ggc_collect.
8089 (main): Call init_ggc.
8090 * tree.c (push_obstacks): Do the push, even when GC'ing.
8091 (push_obstacks_nochange): Likewise.
8092 (pop_obstacks): Liekwise.
8093 * varasm.c (free_varasm_status): Take decl as a parameter.
8095 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
8097 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
8098 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
8099 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
8100 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
8102 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
8104 * pa/x-pa-mpeix: New file for the MPE port.
8106 * pa/quadlib.asm: New file for long double support.
8108 * configure.in: Add hppa1.0-*-mpeix for MPE port.
8109 * configure: Rebuilt.
8111 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
8113 * final.c (shorten_branches): Fix last change.
8115 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
8117 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
8119 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
8121 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
8124 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8126 * c-aux-info.c (concat): Don't define.
8128 * cccp.c (my_strerror): Likewise. All callers changed to use
8130 (do_include): Call xstrdup, not xmalloc/strcpy.
8131 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
8132 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
8134 * collect2.c (my_strsignal): Likewise. All callers changed to use
8136 (locatelib): Call xstrdup, not xmalloc/strcpy.
8138 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
8140 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
8142 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
8144 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
8146 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
8148 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
8150 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
8152 (find_all_handler_type_matches): Likewise. Don't check return
8154 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
8155 xmalloc, not malloc.
8156 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
8158 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
8159 (init_spec): Call xcalloc, not xmalloc/bzero.
8160 (set_spec): Call xstrdup, not save_string.
8161 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
8162 (find_a_file): Call xstrdup, not xmalloc/strcpy.
8163 (process_command): Call xstrdup, not save_string.
8164 (main): Call xcalloc, not xmalloc/bzero.
8166 * gcov.c (xmalloc): Don't define.
8167 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
8168 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
8169 (output_data): Call xcalloc, not xmalloc/bzero.
8171 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
8173 * mips-tdump.c (xmalloc): Don't define.
8174 (print_symbol): Call xmalloc, not malloc.
8175 (read_tfile): Call xcalloc, not calloc.
8177 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
8178 Don't define. All callers of xfree/my_strsignal changed to use
8179 free/strsignal instead.
8180 (allocate_cluster): Call xcalloc, not calloc.
8182 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
8183 Fix memory leak, free allocated memory.
8185 * prefix.c (translate_name): Call xstrdup, not save_string.
8186 (update_path): Likewise.
8188 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
8190 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
8191 Don't define. Callers of xfree/savestring2 changed to use
8192 free/concat instead.
8194 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
8195 (init_elim_table): Likewise.
8197 * resource.c (init_resource_info): Likewise.
8199 * stupid.c (stupid_life_analysis): Likewise.
8201 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
8202 (open_dump_file): Call concat, not xmalloc/strcpy/...
8203 (clean_dump_file): Likewise.
8204 (compile_file): Call xstrdup, not xmalloc/strcpy.
8206 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
8208 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
8209 * v850.c (v850_va_arg): New.
8211 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8213 * haifa-sched.c: Tidy comments.
8215 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8217 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
8218 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
8219 $(out_object_file)): Depend on ggc.h.
8220 * c-common.c: Include "ggc.h".
8221 (combine_strings): If doing GC, use ggc_alloc_string.
8222 * c-decl.c: Include "ggc.h".
8223 (ggc_p): Define with value 0.
8224 (mark_binding_level): New function.
8225 (init_decl_processing): Add GC roots.
8226 (mark_c_function_context): New function.
8227 (lang_mark_false_label_stack): New function.
8228 (lang_mark_tree): New function.
8229 (lang_cleanup_tree): New function.
8230 * c-lang.c: Include "ggc.h".
8231 (lang_init): Call c_parse_init.
8232 * c-lex.c: Include "ggc.h".
8233 (check_linenum): If doing GC, don't copy filenames to permanent
8235 * c-parse.in: Include "ggc.h".
8236 (c_parse_init): New function.
8237 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
8238 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
8240 * except.c (mark_eh_state): Mark more state.
8241 * function.c (mark_function_state): Likewise.
8242 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
8243 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
8244 * toplev.c (mark_file_stack): New function.
8245 (compile_file): If doing GC, use ggc_alloc_string on input filename.
8246 (main): Add root for input_file_stack.
8248 * i386.c: Include "ggc.h".
8249 (ix86_mark_machine_status): New function.
8250 (override_options): Set mark_machine_status.
8252 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8254 * tree.c (copy_node): Copy node contents also if doing GC.
8256 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
8258 * collect2.c (scan_libraries): Fix double-thinko :-).
8260 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
8262 * collect2.c (scan_libraries): Fix thinko.
8264 * cse.c (delete_trivially_dead_insns): Do not skip the last
8265 insn if it is a real insn.
8267 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
8269 * Makefile.in (ggc-simple.o): Depend on hash.h.
8270 * ggc.h (ggc_add_tree_hash_table_root): Declare.
8271 (ggc_mark_tree_varray): Likewise.
8272 (ggc_mark_tree_hash_table): Likewise.
8273 * ggc-simple.c: Include hash.h.
8274 (ggc_mark_tree_hash_table_ptr): New function.
8275 (ggc_mark_tree_hash_table_entry): Likewise.
8276 (ggc_mark_tree_hash_table): Likewise.
8277 (ggc_add_tree_hash_table_root): Likewise.
8278 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
8279 rtx, when defining fields.
8281 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8283 * profile.c (output_func_start_profiler): Remove apparently
8284 nonsensical call to start_sequence.
8286 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
8288 * clipper/clipper.c (clipper_va_start): Fix typos.
8290 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
8291 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
8292 (spur_va_arg): New stub.
8294 * configure.in: Comment out pyramid.
8296 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
8298 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
8299 don't conflict with the bits that win32, cygwin, and dgux
8302 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
8303 Bernd Schmidt <bernds@cygnus.co.uk>
8305 * integrate.c (function_cannot_inline_p): Do not inline
8306 functions with forced labels.
8308 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
8309 Bernd Schmidt <bernds@cygnus.co.uk>
8310 Mark Mitchell <mark@codesourcery.com>
8312 * Makefile.in (ggc-simple.o): Depend on varray.h.
8313 (rtl.o): Depend on ggc.h.
8314 (genattrtab.o): Depend on ggc.h.
8315 (print-tree.o): Likewise.
8316 (fold-const.o): Likewise.
8317 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
8318 (make_insn_raw): Don't cache insns when GC'ing.
8319 (emit_insn_before): Likewise.
8320 (emit_insn_after): Likewise.
8321 (emit_insn): Likewise.
8322 (start_sequence): Use xmalloc to allocate the sequence_stack.
8323 (end_sequence): Add free to free it.
8324 (gen_sequence): Don't cache insns when GC'ing.
8325 (clear_emit_caches): Don't use sequence_element_free_list.
8326 (init_emit): Use xcalloc, not xmalloc+bzero.
8327 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
8328 * function.c (pop_function_context_from): Use free to free the
8329 fixup_var_refs_queue.
8330 (put_reg_into_stack): Allocate it with xmalloc.
8331 * genattrtab.c: Include ggc.h.
8332 (operate_exp): Don't use obstack_free when GC'ing.
8333 (simplify_cond): Likewise.
8334 (simplify_text_exp): Likewise.
8335 (optimize_attrs): Likewise.
8336 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
8338 (gencode): Generate a #include for ggc.h.
8339 * ggc-callbacks.c (ggc_p): Define it to zero.
8340 * ggc-none.c (ggc_p): Likewise.
8341 * ggc-simple.c: Include varray.h.
8342 (ggc_mark_tree_varray): New function.
8343 (ggc_add_tree_varray_root): Likewise.
8344 (ggc_mark_tree_varray_ptr): Likewise.
8345 * ggc.h (ggc_p): Declare.
8346 (varray_head_tag): Likewise.
8347 (ggc_add_tree_varray_root): Declare.
8348 * print-tree.c (print_node): Don't check for TREE_PERMANENT
8349 inconsistencies when GC'ing.
8350 * rtl.c: Include ggc.h.
8351 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
8352 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
8353 (rtx_free): Don't call obstack_free when GC'ing.
8354 * toplev.c (rest_of_compilation): Call ggc_collect after every
8356 * tree.c (push_obstacks): Do nothing, if GC'ing.
8357 (pop_obstacks_nochange): Likewise.
8358 (pop_obstacks): Likewise.
8359 (make_node): Use ggc_alloc_tree when GC'ing.
8360 (copy_node): Likewise.
8361 (get_identifier): Use ggc_alloc_string when GC'ing.
8362 (build_string): Likewise.
8363 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
8364 (tree_cons): Likewise.
8366 (type_hash_canon): Don't call obstack_free when GC'ing.
8368 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
8370 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
8371 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
8373 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
8374 Bernd Schmidt <bernds@cygnus.co.uk>
8375 Mark Mitchell <mark@codesourcery.com>
8377 * Makefile.in (stor-layout.o): Depend on ggc.h.
8378 (expr.o): Depend on ggc.h.
8379 (profile.o): Depend on ggc.h.
8380 (stor-layout.o): Depend on ggc.h.
8381 * emit-rtl.c (init_emit_once): Add gc roots.
8382 * expr.c: Include ggc.h.
8383 (emit_block_move): Add gc roots.
8384 (clear_storage): Likewise.
8385 * expr.h (init_stor_layout_once): New function.
8386 * profile.c: Include ggc.h.
8387 (init_arc_profiler): profiler_label is a root.
8388 * scan.c (make_sstring_space): Trust xrealloc to function
8389 correctly with first parameter NULL.
8390 * stor-layout.c: Include ggc.h.
8391 (set_sizetype): Add gc root.
8392 (init_stor_layout_once): New function.
8393 * toplev.c (compile_file): Call it.
8395 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
8396 Bernd Schmidt <bernds@cygnus.co.uk>
8397 Mark Mitchell <mark@codesourcery.com>
8399 * Makefile.in (tree.o): Depend on ggc.h.
8400 (varasm.o): Likewise.
8401 (function.o): Likewise.
8403 (except.o): Likewise.
8404 (optabs.o): Likewise.
8405 (emit-rtl.o): Likewise.
8406 * emit-rtl.c: Include ggc.h.
8407 (sequence_element_free_list): Remove, and all references.
8408 (mark_sequence): New functions.
8409 (mark_emit_state): New function.
8410 * except.c: Include ggc.h.
8411 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
8412 (mark_tree_label_node): New functions.
8413 (mark_eh_state): New function.
8414 * function.c: Include ggc.h.
8415 (mark_temp_slot, mark_function_chain): New functions.
8416 (mark_function_state): New function.
8417 (init_function_once): New function.
8418 * function.h (init_function_once): New function.
8419 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
8420 * ggc.h (label_node): Declare.
8421 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
8422 (lang_mark_false_label_stack): New function.
8423 (mark_temp_slot): Remove declaration.
8424 (mark_function_chain): Likewise.
8425 (mark_eh_state): Adjust prototype.
8426 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
8428 * optabs.c: Include ggc.h.
8429 (mark_optab): New function.
8430 (init_optabs): Add gc roots.
8431 * stmt.c: Include ggc.h.
8432 (mark_cond_nesting, mark_loop_nesting): New functions.
8433 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
8434 (mark_stmt_state): New function.
8435 * toplev.c (compile_file): Call init_function_once.
8436 * tree.c: Include ggc.h.
8437 (type_hash): Move declaration earlier in file.
8438 (TYPE_HASH_SIZE, type_hash_table): Likewise.
8439 (init_obstacks): Add gc roots.
8440 (mark_type_hash): New function.
8441 * varasm.c: Include ggc.h.
8442 (mark_pool_constant): New function.
8443 (mark_varasm_state): New function.
8445 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8447 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
8449 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8451 * c-decl.c (struct language_function): Renamed from struct c_function.
8453 (c_function_chain): Delete.
8454 (push_c_function_context): New arg F. Don't warn about nested
8455 functions here. Fill LANGUAGE elt of F. Delete code to update
8456 c_function_chain. Don't call push_function_context.
8457 (pop_c_function_context): New arg F. Restore from there instead of
8458 from c_function_chain. Don't call pop_function_context. Clear out
8459 LANGUAGE field of F when done.
8460 * c-lang.c: Include "function.h"
8461 (lang_init): Initialize save_lang_status and restore_lang_status.
8462 * c-parse.in (nested_function, nested_function_notype): Warn about
8463 nested functions. Call push_function_context/pop_function_context
8464 instead of the _c_ variants.
8465 * c-tree.h (push_c_function_context, pop_c_function_context): Update
8467 * Makefile.in (c-lang.o): Update dependencies.
8469 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
8470 regno_pointer_flag, regno_pointer_align.
8471 (gen_reg_rtx): Use xrealloc to enlarge them.
8472 (free_emit_status): New function.
8473 * function.c (mark_machine_status, mark_lang_status): New variables.
8474 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
8475 in some bits from assign_stack_local. All callers changed to use new
8477 (assign_stack_local): Just call assign_stack_local_1.
8478 (free_after_compilation): New function.
8479 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
8480 (trampoline_address): Likewise.
8481 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
8482 (prepare_function_start): Explicitly clear some more variables.
8483 * function.h (struct function): New elt can_garbage_collect.
8484 (mark_machine_status, mark_lang_status): Declare variables.
8485 (free_after_compilation, free_emit_status, free_varasm_status,
8486 init_varasm_status): Declare functions.
8487 * toplev.c (rest_of_compilation): Call free_after_compilation when
8488 done with the current function.
8489 * varasm.c (free_varasm_status): New function.
8491 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
8493 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
8494 (EXPAND_BUILTIN_VA_ARG): Define.
8495 * sparc.c (sparc_va_start): New.
8496 (sparc_va_arg): New.
8498 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8500 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
8502 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8504 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
8506 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
8508 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
8510 (ggc-callbacks.o): New target.
8511 * ggc-callbacks.c: New file.
8513 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8515 * expr.h: Collapse individual optab and libfunc vars to arrays.
8516 (optab_index, libfunc_index): New enumerations.
8517 (optab_table, libfunc_table): New arrays.
8518 Add accessor macros for both.
8520 * optabs.c (optab_table, libfunc_table): New.
8521 Delete declarations for individual optab and libfunc vars.
8523 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
8525 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
8527 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
8529 * Makefile.in (GGC, GGC_LIB): New.
8530 (HOST_RTL): Include ggc-none.o.
8531 (ggc-simple.o): New target.
8532 (ggc-none.o): Likewise.
8533 * tree.h (tree_common): Add gc_mark.
8534 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
8535 (struct rtvec_def): Add gc_mark.
8536 * emit-rtl.c (global_rtl): Update static initializers to contain
8537 enough initializers.
8538 * ggc.h, ggc-none.c, ggc-simple.c: New files.
8539 * toplev.c (gc_time): New variable.
8540 (all_time): New variable.
8541 (compile_file): Print gc time.
8542 (print_time): Calculate percentage of the whole.
8544 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8546 Change obstack memory management and varasm constant pool handling so
8547 that nested functions are treated like any other functions.
8548 * function.c (init_machine_status): New variable.
8549 (push_function_context_to): Set contains_functions for the outer
8550 function. Don't call save_varasm_status.
8551 (pop_function_context_from): Don't call restore_varasm_status. Don't
8552 set current_function_contains_functions.
8553 (prepare_function_start): Call init_varasm_status rather than
8554 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
8556 * function.h (struct function) Add field varasm. Delete fields
8557 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
8558 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
8559 (init_machine_status): Declare.
8560 (save_varasm_status, restore_varasm_status): Delete declarations.
8561 (save_tree_status, restore_tree_status): Delete last argument.
8562 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
8563 code. All callers changed.
8564 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
8565 save_constants_in_decl_trees, restore_constants, save_constants,
8566 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
8568 (inlining): New variable.
8569 (reg_map, label_map, insn_map, orig_asm_operands_vector,
8570 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
8572 (save_for_inline_nocopy): Don't save constants.
8573 Don't set inl_emit field in current_function.
8574 (expand_inline_function): Use emit field, not inl_emit, of the inlined
8575 function. Set new variable inlining before
8576 calling copy_rtx_and_substitute.
8577 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
8578 constant pool references if inlining is nonzero.
8579 Delete ADDRESS and (most of the) CONST cases.
8580 (output_inline_function): Save and restore current_function/
8581 current_function_decl. Delete restore_constants code. Don't call
8582 init_const_rtx_hash_table.
8583 * output.h (init_const_rtx_hash_table): Don't declare.
8584 * rtl.h (struct function): Declare.
8585 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
8586 * toplev.c (rest_of_compilation): Don't treat nested functions or
8587 functions containing them specially. Delete all code to deal with
8588 save_for_inline_copying.
8589 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
8590 inline_obstacks): Delete variables.
8591 (save_tree_status): Lose arg CONTEXT. All callers changed.
8592 Simply allocate a new function_maybepermanent_obstack for the new
8593 function, delete all the special cases.
8594 Don't save inline_obstacks.
8595 (restore_tree_status): Lose arg CONTEXT. All callers changed.
8596 Delete special handling for function_maybepermanent_obstack; simply
8598 Don't restore inline_obstacks.
8599 (permanent_allocation): Delete code that frees inline_obstacks.
8600 (print_inline_obstack_statistics): Delete function.
8601 (dump_tree_statistics): Don't call it.
8602 * varasm.c (struct varasm_status): New.
8603 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
8604 last_pool, pool_offset, const_double_chain): Delete global
8605 variables, replace with accessor macros.
8606 (immed_double_const): Don't walk const_double_chain outside a
8607 function, but don't treat nested functions specially anymore.
8608 (immed_real_const_1): Likewise.
8609 (clear_const_double_mem): Don't treat nested functions specially.
8610 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
8611 (save_varasm_status, restore_varasm_status): Delete functions.
8612 (init_varasm_status): New function.
8613 (force_const_mem): Don't treat nested functions specially.
8614 (find_pool_constant): Accept new arg F, search for constants in
8615 that function's pool rather than the current one. All callers
8617 (get_pool_constant_for_function, get_pool_mode_for_function): New
8620 * i386.c (init_386_machine_status): New function, mostly from
8621 clear_386_stack_locals.
8622 (struct machine_functions): Rename element names to avoid name
8624 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
8625 macros, replacing global variables.
8626 (clear_386_stack_locals, save_386_machine_status,
8627 restore_386_machine_status): Delete functions.
8628 (override_options): Initialize init_machine_status.
8629 * i386.h (INIT_EXPANDERS): Delete macro.
8630 (save_386_machine_status, restore_386_machine_status,
8631 clear_386_stack_locals): Delete declarations.
8633 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8635 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
8636 (doloop_begin): Simplify pattern and use emit_jump_insn.
8637 (doloop_end): Simplify pattern, switch operand order,
8638 and use emit_jump_insn.
8640 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8642 * function.h (struct function): Add new element LANGUAGE.
8643 (save_lang_status): Declare new variable.
8644 (restore_lang_status): Likewise.
8645 * function.c (save_lang_status): Define.
8646 (restore_lang_status): Likewise.
8647 (push_function_context_to): Call language-specific save function.
8648 (pop_function_context_from): Call language-specific restore function.
8650 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
8652 * i386.md (movsf_1): Check REG_P before use of REGNO.
8653 (movdf_1): Likewise.
8654 (movxf_1): Likewise.
8655 (extendsfdf2): Likewise.
8656 (extendsfxf2): Likewise.
8657 (extenddfxf2): Likewise.
8659 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8661 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
8662 constants into memory.
8663 (c4x_shiftable_constant): New function.
8664 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
8665 (c4x_shiftable_constant): Declare.
8666 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
8667 ashlqi3_noclobber): Add new patterns and associated splitters.
8669 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
8671 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
8672 * dwarf2out.c (dwarf2out_frame_init): Likewise.
8673 * final.c (shorten_branches): Likewise.
8674 * global.c (global_alloc): Likewise.
8675 * haifa-sched.c (build_control_flow): Likewise.
8676 * stmt.c (check_for_full_enumeration_handling): Likewise.
8677 (estimate_case_costs): Likewise.
8679 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
8681 * rtl.h (RTL_CHECKC2): Fix typo in last change.
8683 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
8685 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
8686 (recompute_reg_usage): Likewise.
8687 * rtlanal.c (find_regno_fusage): Likewise.
8689 * rtl.c (rtl_check_failed_code1): New function.
8690 (rtl_check_failed_code2): New.
8691 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
8692 (RTL_CHECKC1, RTL_CHECKC2): New.
8693 (XC*): New accessor macros.
8694 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
8695 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
8696 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
8697 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
8698 (TRAP_*, RANGE_INFO_*): Likewise.
8700 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8702 * Makefile.in (tlink.o): Don't depend on toplev.h.
8704 * collect2.c (c_file, o_file, export_file, import_file, ldout,
8705 output_file, nm_file_name, ldd_file_name, strip_file_name,
8706 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
8707 add_prefix, prefix_from_env, prefix_from_string, do_wait,
8708 fork_execute, maybe_unlink, add_to_list,
8709 extract_init_priority, write_list, dump_list,
8710 dump_prefix_list, write_list_with_asm, write_c_file,
8711 write_c_file_stat, write_c_file_glob, scan_prog_file,
8712 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
8713 ignore_library, extract_string, notice, dump_file, target_machine,
8714 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
8715 read_file, print_load_command): Constify a char*.
8716 (fdopen, error, fatal, fatal_perror): Don't prototype.
8717 (my_strerror): Remove. All callers use xstrerror instead.
8718 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
8719 (main): Add prototype. Constify lots of char* ptrs. Change calls
8720 to xcalloc/strcpy/strcat/... to one call to concat.
8721 (main, scan_prog_file, scan_libraries): Use an intermediate
8722 `const char **' to build an argv array.
8723 (mapfile, libselect, libcompare, locatelib): Add prototypes.
8725 * collect2.h (collect_execute, collect_wait, dump_file,
8726 file_exists): Constify a char*.
8727 (ldout, c_file_name, temporary_obstack, permanent_obstack,
8728 temporary_firstobj, vflag, debug): Add extern declarations.
8729 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
8731 * tlink.c: Don't include toplev.h.
8732 (vflag, debug, ldout, c_file_name, temporary_obstack,
8733 permanent_obstack, temporary_firstobj): Don't declare.
8734 (tlink_execute, frob_extension, symbol_hash_lookup,
8735 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
8736 recompile_files, read_repo_files, demangle_new_symbols,
8737 scan_linker_output): Constify a char*.
8738 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
8739 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
8741 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
8743 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
8744 (relative) rather than jsr (absolute) subroutine call insns.
8745 * config/m68k/m68k-coff.h: Ditto.
8747 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
8749 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
8750 now rework these too.
8751 (arm_reorg): If an insn can't reach the end of the current pool,
8752 ensure that we emit that pool before the insn.
8754 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
8756 * tlink.c (scan_linker_output): Skip the initial underscore in
8757 a mangled name if appropriate.
8759 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8761 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
8762 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
8763 error_with_ivar, gen_declarator, create_builtin_decl,
8764 my_build_string, generate_descriptor_table, generate_ivars_list,
8765 generate_dispatch_table, check_protocols, TAG_GETCLASS,
8766 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
8767 dump_base_name, lang_decode_option, build_encode_expr,
8768 start_class, finish_class, encode_pointer, really_start_method,
8769 gen_declaration, dump_interface, handle_class_ref, handle_impent):
8771 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
8772 Add static prototypes.
8773 (build_objc_string_decl, build_selector_reference_decl,
8774 encode_bitfield, build_class_reference_decl): Remove unused
8775 parameter, all callers changed.
8776 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
8777 (objc_printable_name): Likewise. Change second parameter to type int.
8778 (init_objc): Use memcpy, not bcopy, to avoid casts.
8780 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
8782 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
8783 reg notes on a deleted insn.
8784 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
8786 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
8788 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
8790 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8792 * stmt.c (expand_asm_operands): Fix index into inout_mode when
8795 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
8797 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
8798 * tm.texi (MD_ASM_CLOBBERS): Document it.
8800 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
8802 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
8803 * except.c (expand_rethrow): Remove unused variable.
8804 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
8805 * flow.c (replace_insns): Likewise.
8806 (create_edge_list, verify_edge_list): Likewise.
8807 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
8809 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
8810 is special code to run.
8811 (main): Don't define operands to emit_operand.
8812 * genrecog.c (main): Don't emit an empty peephole2_insn function.
8814 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
8816 * alpha/alpha.h (normal_memory_operand): Declare.
8817 (reg_no_subreg_operand): Declare.
8818 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
8820 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
8822 * c-parse.in (compstmt_primary_start): New, broken out of first
8823 part of compstmt handling in primary.
8824 (primary): Use it. Add an error clause.
8825 (compstmt_nostart): Renamed from compstmt; remove all
8826 initial invocations of compstmt_start.
8829 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
8831 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
8834 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
8836 * combine.c (simplify_shift_const): Remove extra semicolon.
8837 * dwarf2out.c (remove_AT): Likewise.
8838 * expmed.c (expand_mult): Likewise.
8839 * gcov.c (create_program_flow_graph): Likewise.
8840 * reorg.c (mostly_true_jump): Likewise.
8842 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
8844 * fold-const.c (fold_range_test): Do not try to fold the range
8845 test if the rhs or lhs has side effects.
8847 * combine.c (simplify_rtx): Recognize another case of a synthesized
8850 * varasm.c (mark_constant_pool): When marking indirect references,
8851 only look at SYMBOL_REFs.
8853 * except.c (expand_fixup_region_end): Do not peek at
8854 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
8856 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
8858 * flags.h: New variables align_loops, align_loops_log,
8859 align_jumps, align_jumps_log, align_labels, align_labels_log,
8860 align_functions, align_functions_log.
8861 * toplev.c: Define them.
8862 (f_options): Handle -falign-* when they have no argument.
8863 (main): Add logic to set variables for -falign-functions,
8864 -falign-jumps, -falign-labels, -falign-loops.
8865 Make it -fsched-verbose=<n> and -finline-limit=<n>.
8866 (display_help): Change help to match options.
8867 * final.c (LABEL_ALIGN): Default to align_labels_log.
8868 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
8869 (LOOP_ALIGN): Default to align_loops_log.
8870 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
8871 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
8872 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
8873 * varasm.c (assemble_start_function): Handle align_functions.
8875 * config/sparc/sparc.h: Don't declare sparc_align_*.
8876 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
8877 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
8879 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
8881 * config/sparc/sparc.c: Delete sparc_align_loops,
8882 sparc_align_jumps, sparc_align_funcs and the corresponding string
8884 (sparc_override_options): Default align_functions on ultrasparc.
8885 Delete -malign-* handling.
8887 * config/mips/mips.c (override_options): On 64-bit targets,
8888 try to align code to 64-bit boundaries.
8889 (print_operand): New substitution, %~,
8890 which aligns labels to align_labels_log.
8891 * config/mips/mips.md (div_trap_normal): Use %~.
8892 (div_trap_mips16): Likewise.
8897 (ashldi3_internal): Likewise.
8898 (ashrdi3_internal): Likewise.
8899 (lshrdi3_internal): Likewise.
8900 (casesi_internal): Likewise.
8902 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
8904 Merge new ia32 backend from the branch!
8906 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
8907 See ChangeLog.P2 on new_ia32_branch for details.
8909 * rtl.h (stack_regs_mentioned_p): Delete prototype.
8910 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
8911 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
8912 * i386/gas.h (ASM_FILE_START): Define.
8913 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
8914 for name change of ix86_valid_decl_attribute_p.
8915 (i386_pe_valid_type_attribute_p): Similarly.
8917 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
8919 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
8920 to step through CC modes.
8922 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8924 * regmove.c (fixup_match_1): Don't move INSN in front of P if
8925 it would end up in the shadow of a live flags regsiter.
8927 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8929 * reload1.c: Fix many indentation problems.
8930 * reload.c: Likewise.
8932 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
8934 * alias.c (non_local_reference_p): Constify fmt.
8936 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
8938 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
8940 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
8942 * cse.c (delete_trivially_dead_insns): Do not delete stores to
8943 the internal_arg_pointer.
8945 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
8947 Merge peephole2 from new_ia32_branch:
8948 * Makefile.in (STAGESTUFF): Add *.peephole2.
8949 (mostlyclean): Likewise.
8950 (recog.o): Depend on resource.h.
8952 * final.c (peephole): Conditionalize decl on HAVE_peephole.
8953 (final_scan_insn): Likewise for the invocation of peephole.
8954 * genconfig.c (main): Look for peephole and peephole2 patterns.
8955 Emit HAVE_peephole* accordingly.
8956 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
8957 * flags.h (flag_peephole2): Declare.
8958 * toplev.c: New pass peephole2. New flag -fpeephole2.
8960 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
8961 * gencodes.c (main): Likewise.
8962 * genextract.c (main): Likewise.
8963 * genoutput.c (main): Likewise.
8964 * genemit.c (max_operand_1): Look for the max scratch operand.
8965 (gen_rtx_scratch): New.
8966 (gen_exp): Use it, and pass on new arg subroutine_type.
8967 (gen_expand): Take max scratch into account.
8968 (gen_split): Emit peephole2 functions.
8969 (output_peephole2_scratch): New.
8970 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
8971 * genrecog.c (routine_type): Add PEEPHOLE2.
8973 (make_insn_sequence): Match outer parallel for peep2. Discard
8974 top level scratches and dups.
8975 (add_to_sequence): New args insn_type and top. Update all callers.
8976 Handle toplevel peep2 matching insns.
8977 (write_subroutine): Handle peep2.
8978 (write_tree_1): Likewise.
8979 (write_tree): Likewise.
8981 (change_state): New arg afterward. Update all callers.
8982 Handle matching separate insns.
8983 * recog.c (recog_next_insn): New.
8984 (peephole2_optimize): New.
8985 * rtl.def (DEFINE_PEEPHOLE2): New.
8986 * resource.c (find_free_register): New argument last_insn. Use it
8987 to find a register available through the entire span.
8988 * resource.h (find_free_register): Update prototype.
8990 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
8992 * i386.c (output_strlen_unroll): Don't write xops[7]
8993 label if it wasn't set.
8995 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
8997 * cpplib.c (struct directive): Const-ify name pointer and
8998 function pointer prototype.
8999 (validate_else, do_define, do_line, do_include, do_undef,
9000 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
9001 do_elif, do_endif, do_sccs, do_assert, do_unassert,
9002 do_warning): Const-ify second arg.
9003 (directive_table): Mark const. Reorder entries by frequency
9004 of usage, record statistics.
9006 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
9008 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
9009 bounds- check RTL accesses if --enable-checking.
9010 (RTVEC_ELT): Bounds check if --enable-checking.
9011 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
9012 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
9013 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
9015 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
9016 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
9018 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
9019 (NOTE_SOURCE_FILE): Use X0STR.
9020 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
9021 MEM_ALIAS_SET): Use X0INT.
9022 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
9023 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
9025 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
9026 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
9027 (rtl_check_failed_bounds, rtl_check_failed_type1,
9028 rtl_check_failed_type2, rtvec_check_failed_bounds): New
9030 (fancy_abort): Fix comment.
9032 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
9033 (cse_insn): Decrement LABEL_NUSES for jump target before
9035 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
9036 * final.c (alter_subreg): Compute regno before changing x to
9037 REG; set REGNO(x) after changing it.
9038 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
9039 notes containing CONST_INTs.
9040 (delete_eh_regions): Use NOTE_EH_HANDLER.
9041 * function.c (put_reg_into_stack): Make reg a MEM before
9043 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
9045 (gen_mem_addressof): Make reg a MEM before initializing it.
9046 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
9048 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
9049 deleting an insn, not after.
9050 (block_alloc): Only look at PATTERN(insn) if we have to, and
9051 only if it's format class 'i'.
9052 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
9053 CONST_INT before using its INTVAL.
9054 * print-rtl.c (print_rtx): Use X0STR.
9055 * regmove.c (fixup_match_1): Don't look at PATTERN of
9056 non-class-'i' insn chain elements.
9057 * reload.c (loc_mentioned_in_p): Take address of
9058 in->fld[1].rtx directly.
9059 * reload1.c (reload): Change reg to a MEM before initializing
9061 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
9063 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
9065 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
9067 * config/mips/mips.c (machine_dependent_reorg): Force a
9068 barrier to output the local constant pool if a barrier hasn't
9069 been found at a natural point in the instruction stream.
9071 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9073 * c-parse.in (language_string): Constify.
9075 * dwarf2out.c (language_string): Remove declaration.
9077 * dwarfout.c (language_string): Likewise.
9079 * toplev.c (language_string, init_parse, finish_parse): Likewise.
9081 * tree.h (language_string, init_parse, finish_parse): Declare.
9083 * i386/sun386.h (language_string): Remove declaration.
9085 * mips.h (language_string): Likewise.
9087 * nextstep.h (language_string): Likewise.
9089 * nextstep21.h (language_string): Likewise.
9091 * rs6000.c (language_string): Likewise.
9093 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9095 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
9096 (getpwd.o): Remove target.
9098 * getpwd.c: Delete file. Its in libiberty now.
9100 * dbxout.c (getpwd): Don't prototype.
9101 * dwarf2out.c (getpwd): Likewise
9102 * dwarfout.c (getpwd): Likewise
9103 * final.c (getpwd): Likewise.
9104 * protoize.c (getpwd): Likewise.
9106 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9108 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
9110 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
9112 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
9115 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
9117 * fixinc/Makefile.in (subdir): New.
9118 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
9121 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
9123 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
9124 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
9127 * invoke.texi: Fix typo.
9129 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
9130 changed. Handle autoincrement addressing modes.
9132 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
9133 just like we would the virtual incoming args register when
9136 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
9138 * rs6000.h (ASM_FILE_START): Specify complete filename, including
9139 path, in .file directive.
9141 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
9143 * gcc.texi (External Bugs): Remove obsolete note about Perl on
9146 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
9148 * stdbool.h: Make the typedef name _Bool, with bool a #defined
9151 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9153 * tree.c (tree_code_name): Constify a char*.
9155 * tree.h (tree_code_name, decl_printable_name): Likewise.
9157 * function.h (struct function): Likewise.
9159 * toplev.c (decl_name, decl_printable_name): Likewise.
9161 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
9163 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
9164 (init_objc): Remove function pointer cast.
9166 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
9168 * pa.md (interspace_jump): New pattern.
9169 (builtin_longjmp): New expander.
9171 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
9173 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
9174 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
9175 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
9177 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
9179 * jump.c (delete_prior_computation): Also check calls
9180 to constant functions. Don't bother checking for a
9181 REG_UNUSED note before adding it.
9182 (delete_computation): Handle multi-word hard registers
9183 when synthesizing missing REG_DEAD notes for a register
9184 which is both set and used by an insn.
9186 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9188 * loop.c (this_loop_info): New variable.
9189 (loop_has_call, loop_has_volatile, loop_has_tablejump,
9190 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
9192 (prescan_loop, strength_reduce): New argument loop_info. All callers
9194 (scan_loop): New variable loop_info, initialise to address of
9196 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
9197 Delete variable loop_has_multiple_exit targets and replace with
9198 field in this_loop_info.
9199 (find_and_verify_loops): Rename this_loop to this_loop_num.
9200 (strength_reduce): Delete loop_iteration_info. Replace variable
9201 loop_info with function argument of same name.
9202 (insert_bct): Rework test for loop being completely unrolled.
9204 * loop.h (struct loop_info): New fields num, loops_enclosed,
9205 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
9206 has_indirect_jump, and cont. Redefine use of unroll_number.
9207 (loop_unroll_number): Delete.
9209 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
9211 (loop_iterations): Delete variable vtop and instead use
9212 loop_info->vtop computed in prescan_loop.
9214 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
9216 * fix-header.c (main): Do not pass a null pointer to strcmp.
9218 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
9220 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
9222 * configure: Rebuilt.
9224 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
9226 * jump.c (jump_optimize_1): Do not delete assignments to
9227 internal_arg_pointer.
9228 * cse.c (delete_trivially_dead_insns): Always consider a set of
9229 the internal_arg_pointer live.
9231 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
9233 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
9234 (update_life_info) [REG_WAS_0]: Search the original insns rather
9235 than the new insns for the note. Fix typos finding note_dest.
9236 If no dest found, discard the note rather than abort.
9237 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
9238 (replace_insns): Remove the old insn list after update_life_info
9241 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
9243 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
9245 (sched_analyze_1): Let add_dependence care for not adding dups.
9246 (sched_analyze_2): Likewise.
9247 (add_branch_dependences): Likewise.
9249 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
9251 * i386/winnt.c (export_list): New type.
9252 (exports_head): Rename to
9253 (export_head): this.
9254 (i386_pe_record_exported_symbol): Add is_data flag.
9255 (i386_pe_asm_file_end): Emit directive for exported variables.
9256 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
9258 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
9259 (ASM_DECLARE_OBJECT_NAME): Likewise.
9260 (ASM_DECLARE_FUNCTION_NAME): Likewise.
9261 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
9263 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
9265 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
9267 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
9270 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
9272 * config/openbsd.h: Define SET_ASM_OP.
9273 * tm.texi: cross-reference SET_ASM_OP in the index.
9275 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
9277 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
9278 for a CONST_DOUBLE, at compile time. Initialize rtx_length
9279 and class_narrowest_mode at compile time. Kill init_rtl.
9280 Mark rtx_length, mode_class, mode_size, mode_unit_size,
9281 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
9282 rtx_format as const. Kill all references to EXTRA_CC_MODES or
9284 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
9286 * rtl.h: Declare rtx_length and rtx_format as const.
9287 * machmode.def: Define CC(). Use CC() to define CCmode. If
9288 EXTRA_CC_MODES is defined, expand it here.
9289 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
9290 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
9291 const. Kill all references to EXTRA_CC_MODES.
9293 * toplev.c: Don't prototype or call init_rtl.
9294 * optabs.c: Don't call init_mov_optab.
9295 * genemit.c: Don't generate init_mov_optab. Don't call
9297 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
9299 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
9300 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
9301 genrecog.c: Don't call init_rtl.
9303 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
9304 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
9305 definition of EXTRA_CC_MODES.
9307 * md.texi: Kill ref to EXTRA_CC_NAMES.
9308 * tm.texi: Document new way to define EXTRA_CC_MODES.
9310 * genrecog.c: Do not look up the name of a define_split.
9313 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
9315 * config/v850/v850.md: Fix typo introduced by previous delta.
9317 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9319 * gcc.c (fatal): Make definition static to match prototype.
9321 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9323 * combine.c (get_last_value): Don't look for earlier sets if the last
9324 known set is somewhere in between the insns being combined.
9326 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
9328 * configure.in: Don't use shell ! to negate exit codes
9329 * configure: Regenerate
9331 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
9333 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
9334 the fact that ALIGN is measured in bits, not bytes.
9336 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
9338 * errors.c: New file; defines functions error, warning, and
9339 fatal, variables have_error and progname.
9340 * errors.h: New file; prototypes and decls for stuff in errors.c.
9342 * Makefile: Add rules to build errors.o and
9343 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
9344 genopinit, genrecog, genextract, genpeep, genattr, and
9345 genoutput with errors.o. Add errors.h to deps of genconfig.o,
9346 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
9347 genpeep.o, genattr.o, and genoutput.o.
9349 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
9350 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
9351 define or prototype fatal. Set progname at beginning of main.
9352 * genoutput.c: Likewise, and don't define or prototype error
9355 * c-typeck.c (c_expand_start_case): Return immediately if exp
9357 * fold-const.c (operand_equal_p): Return immediately if arg1
9358 or arg0 are ERROR_MARKs.
9359 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
9360 fields of type ERROR_MARK when calculating if the record can
9363 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
9364 with much help from Jeffrey A Law and Richard Henderson
9366 * i386.md: In the 6 insns which call output_fix_trunc,
9367 earlyclobber operands[0].
9369 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
9371 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
9372 creating new registers.
9374 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
9376 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
9377 i386_reg_alloc_order, i386_regparm_string,
9378 i386_align_loops_string, i386_align_jumps_string,
9379 i386_align_funcs_string, i386_preferred_stack_boundary_string,
9380 and i386_branch_cost_string as type "const char *".
9381 * i386.c: Define all above strings as type "const char *".
9383 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
9385 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
9386 when emitting alignment padding. Emit padding byte of 0 instead of 4.
9388 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
9390 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
9391 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
9393 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
9395 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
9396 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
9397 (dwarf2out_line, dwarf2out_finish): Likewise.
9398 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
9400 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
9402 * tree.c (lang_unsave_expr_now) : Correct return type.
9403 * tree.h (lang_unsave_expr_now) : Same.
9405 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
9407 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
9408 instead of duplicating code.
9410 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9412 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
9414 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
9416 * tree.h: fancy_abort always takes three args.
9417 * resource.c: Move include of system.h before toplev.h.
9419 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
9421 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
9424 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
9426 * system.h: Don't redefine abort or trim_filename.
9427 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
9428 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
9429 whether or not __FUNCTION__ is available.
9430 * tree.h: Duplicate rtl.h's definition of abort, for files
9431 that don't include rtl.h. Delete all code to perform type
9432 checking with a compiler other than GCC.
9433 * varray.h: Delete all code to perform type checking with a
9434 compiler other than GCC. Make VARRAY_CHECK() always evaluate
9435 its arguments exactly once, using a statement expression.
9436 Adjust the VARRAY_<type> accessor macros to match.
9437 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
9438 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
9439 caller's location. Define fatal_insn and fatal_insn_not_found
9440 as macros that use _fatal_insn and _fatal_insn_not_found.
9441 (fancy_abort, trim_filename): Kill prototypes.
9443 * rtl.c (trim_filename): Move here from toplev.c.
9444 (fancy_abort): New function.
9445 (DIR_SEPARATOR): Provide default definition.
9446 * tree.c (tree_check_failed, tree_class_check_failed): Go
9447 through fancy_abort.
9448 (tree_check, tree_class_check, cst_or_constructor_check,
9449 expr_check): Delete.
9450 * varray.c (varray_check_failed): New function.
9451 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
9452 _fatal_insn and _fatal_insn_not_found. Go through
9454 (trim_filename, fancy_abort): Delete.
9456 * builtins.c (expand_builtin_args_info): Report ICE with abort.
9457 * except.c (start_catch_handler): Report ICE with error/abort
9459 * final.c (output_operand_lossage): Likewise.
9460 * flow.c (verify_flow_info): Likewise.
9462 * gcc.c: Prototype fatal.
9463 * gengenrtl.c: Undef abort after including rtl.h not system.h.
9464 * genattr.c, genattrtab.c, genemit.c, genextract.c,
9465 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
9466 Don't define fancy_abort.
9468 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
9470 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
9473 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
9475 * m88k.h (VERSION_INFO2): Kill.
9476 (VERSION_STRING): Kill.
9478 (VERSION_INFO1): Tidy.
9479 (TARGET_VERSION): Update.
9480 * m88k/dgux.h (VERSION_INFO2): Kill.
9481 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
9482 * m88k/luna.h (VERSION_INFO1): Tidy.
9483 * m88k/sysv4.h (VERSION_INFO1): Likewise.
9484 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
9485 (output_file_start): Adjust for death of VERSION_STRING.
9487 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
9489 * cpplib.c (detect_if_not_defined): New function.
9490 (do_if): Use it to detect potential once-only headers.
9492 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
9494 * c-common.c (combine_strings): Always set TREE_CONSTANT.
9496 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
9498 * combine.c (nonzero_bits) : Allow single-ly set registers to be
9499 anywere in the function only if they are pseudos and set before
9500 being used (not live at the start of the function).
9501 (num_sign_bit_copies) : Same.
9502 (get_last_value_validate) : Same.
9503 (get_last_value) : Same.
9505 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
9507 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
9508 where N and M are constant and N is an integer multiple of M.
9510 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9512 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
9513 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
9514 sbitmap_union_of_preds): Add prototypes.
9515 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
9516 the intersection of successors with the new flow graph structures.
9517 (sbitmap_intersection_of_preds): New function to compute the
9518 intersection of predecessors with the new flow graph structures.
9519 (sbitmap_union_of_succs): New function to compute the union of
9520 successors with the new flow graph structures.
9521 (sbitmap_union_of_preds): New function to compute the union of
9522 predecessors with the new flow graph structures.
9523 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
9524 (expr_reaches_here_p): Use edge and basic_block structures instead
9525 of s_preds and s_succs.
9526 (compute_cprop_avinout): Use new sbitmap routines.
9527 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
9528 of s_preds and s_succs.
9529 * flow.c (compute_flow_dominators): Compute dominators using
9530 edges and basic blocks instead of s_preds and s_succs.
9532 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9534 * lists.c (unused_insn_list, unused_expr_list): New file for
9535 maintaining various types of lists. New statics for maintaining a
9536 cache of available INSN_LIST and EXPR_LIST nodes.
9537 (free_list): Static function for freeing a list of INSN/EXPR nodes.
9538 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
9539 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
9540 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
9541 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
9542 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
9543 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
9544 (free_INSN_LIST_node): Free an individual INSN_LIST node.
9545 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
9546 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
9547 (remove_dependence, free_pending_lists): Use new global routines.
9548 (flush_pending_lists, sched_analyze_insn): Use new global routines.
9549 (sched_analyze, compute_block_backward_dependences): Use new routines.
9550 (sched_analyze_1, sched_analyze_2): Use new routines.
9551 (schedule_insns): Use new global routines.
9552 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
9554 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
9555 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
9557 * toplev.c (rest_of_compilation): Initialize node cache.
9558 * Makefile.in (OBJS): Add lists.o to list of object files.
9559 (lists.o): Add dependancies.
9561 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
9563 * config/v850/v850.md: Fix compile time warning messages.
9564 * config/v850/v850.c: Fix compile time warning messages.
9565 * config/v850/v850.h: Fix compile time warning messages.
9567 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9569 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
9570 Remove unused prototype for `init_lengths'.
9572 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9574 * calls.c (emit_call_1): Mark parameter `stack_size' with
9576 (expand_call): Initialize variable `insn'.
9577 (emit_library_call): Likewise for variable `high_to_save'.
9578 (emit_library_call_value): Likewise.
9579 (store_one_arg): Likewise for variables `lower_bound' and
9582 * combine.c (try_combine): Likewise for variables `i2_code_number'
9583 and `other_code_number'.
9584 (find_split_point): Likewise for variables `pos', `unsignedp' and
9586 (simplify_if_then_else): Likewise for variables `op' and `c1'.
9587 (simplify_and_const_int): Remove unused variable `width'.
9588 (merge_outer_ops): Likewise.
9590 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
9591 HOST_WIDE_INT' when comparing against one.
9592 (simplify_relational_operation): Likewise.
9593 (cse_insn): Initialize variables `src_eqv_volatile',
9594 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
9596 * final.c (init_final): Constify parameter `filename'.
9597 (final_start_function): Mark parameter `optimize' with
9599 (profile_function): Likewise for parameters `first' and `optimize'.
9600 (output_source_line): Likewise for parameter `file'.
9602 * integrate.c (subst_constants): Cast a value to `size_t' when
9603 comparing against one.
9604 (mark_stores): Initialize variable `mode'. Cast a value to
9605 `size_t' when comparing against one.
9607 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
9609 * loop.c (move_movables): Initialize variable `first'.
9610 (strength_reduce): Likewise for variable `increment'.
9611 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
9612 value to `size_t' when comparing against one.
9613 (load_mems): Initialize variable `end_label'.
9615 * output.h (init_final): Constify parameter.
9617 * reload.c (decompose): Initialize variable `base'.
9619 * reload1.c (reload): Likewise for variable `is_scalar'.
9620 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
9621 (choose_reload_regs): Initialize variable `mode'.
9622 (emit_reload_insns): Likewise for variable `store_insn'.
9623 (reload_cse_noop_set_p): Mark parameter `insn' with
9625 (reload_combine): Initialize variable `set'.
9627 * unroll.c (unroll_loop): Likewise for variable `local_label'.
9628 (copy_loop_body): Cast a value to `size_t' when comparing against
9631 * varasm.c (assemble_variable): Initialize variable `size_tree'.
9632 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
9633 (remove_from_pending_weak_list): Mark parameter `name' with
9636 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9638 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
9641 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
9643 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
9644 (ASM_DECLARE_FUNCTION_NAME): Define.
9645 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
9646 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
9647 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
9648 not already defined.
9650 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
9652 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
9653 of n_popped when call/call_value are not defined.
9655 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
9657 * tm.texi: GNU CC -> GCC conversion.
9658 (CC1_SPEC): Indicate it is used for all language front ends.
9660 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
9662 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
9663 NOTE_INSN_EH_REGION_END correctly.
9665 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
9666 Jeff Law <law@cygnus.com>
9668 * loop.c (strength_reduce): Automatically unroll loops if the
9669 unrolled loop size is smaller than the rolled loop size.
9671 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
9672 and delete comment that code should be rewritten.
9674 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
9676 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
9679 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
9681 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
9683 * fixinc/mkfixinc.sh: Don't fix uwin headers.
9684 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
9685 (LINK_SPEC): Add -u _main when building executables.
9686 (ASM_DECLARE_FUNCTION): Update from Cygwin.
9687 (ASM_FILE_END): Use the default for ix86-pe.
9688 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
9690 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
9692 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
9693 and ASM_CLOSE_PAREN are empty strings.
9695 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
9696 Geoffrey Keating <geoffk@cygnus.com>
9698 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
9699 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
9700 (unprotoize.o): Ditto.
9701 (test-protoize-simple): Don't define STD_PROTO_DIR.
9702 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
9703 changes to make 'test-protoize-simple' pass.
9704 (STD_PROTO_DIR): Remove define.
9705 (STANDARD_EXEC_PREFIX): Supply default define.
9706 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
9707 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
9708 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
9709 (GET_ENV_PATH_LIST): New macro.
9710 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
9711 (do_processing): Initialize default_syscalls_dir using new
9712 macros. Use it to initialize syscalls_absolute_filename.
9714 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
9716 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
9717 B into a register before emit_conditional_move.
9719 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
9721 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
9722 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
9723 multiplicand out of (+ (* a b) (* c d)).
9725 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
9726 Richard Henderson <rth@cygnus.com>
9728 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
9729 (new_insn_dead_notes): Likewise.
9730 (update_n_sets): Likewise.
9731 (update_flow_info): Move to flow.c, renamed to update_life_info;
9732 extend to handle multiple source insns.
9733 * flow.c: Include resource.h
9734 (unlink_insn_chain): New.
9735 (split_hard_reg_notes): New.
9736 (maybe_add_dead_note): New.
9737 (maybe_add_dead_note_use): New.
9738 (find_insn_with_note): New.
9739 (new_insn_dead_notes): New.
9740 (update_n_sets): New.
9741 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
9742 (maybe_remove_dead_notes): New.
9743 (update_life_info): New.
9744 (prepend_reg_notes): New.
9745 (replace_insns): New.
9746 * output.h (update_life_info): Declare.
9747 * recog.c (split_block_insns): Use update_life_info.
9748 * resource.c (find_free_register): Use reg_alloc_order, don't use
9749 fixed regs, make sure the mode is supported, don't use new regs.
9751 * rtl.h (replace_insns): Declare.
9753 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
9755 * expr.c (expand_expr): Cope with COND_EXPRs with one
9756 non-returning branch.
9758 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
9760 * expr.c (store_expr): Always pass down the target, even when not
9763 1999-08-24 Nick Clifton <nickc@cygnus.com>
9765 * configure.in: Define target_cpu_default for v850 targets.
9766 * configure: Regenerate
9768 * config/v850/v850.h (TARGET_CPU_generic): Define.
9769 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
9770 addresses are 4 byte aligned.
9772 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
9775 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9777 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
9778 (main): Add prototypes.
9780 * genattrtab.c (substitute_address, write_const_num_delay_slots,
9781 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
9782 (write_attr_get): Emit prototypes along with function definition.
9783 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
9784 (write_complex_function): Emit static prototype along with
9785 function definition.
9787 * genemit.c (gen_split): Emit prototypes along with function
9790 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
9791 Likewise for predicates and `insn_operand_predicate'.
9792 (process_template): Emit static prototype along with function
9795 * genrecog.c (make_insn_sequence): Constify a char*. Add
9796 prototypes for get_split_*().
9797 (write_subroutine): Emit prototypes along with function
9800 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9802 * gcse.c (find_avail_set): Follow chains of register-register copies.
9803 Use oprs_not_set_p to guarantee that the returned value can be
9805 (cprop_insn): Don't verify the return value of find_avail_set with
9808 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
9809 (cprop_cc0_jump): New function.
9810 (cprop_insn): Break out new function cprop_jump and use it.
9811 Also use cprop_cc0_jump for machines with CC0.
9812 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
9814 * tree.h (current_function_calls_setjmp,
9815 current_function_calls_longjmp): Delete declarations.
9816 * dsp16xx.c: Include "function.h".
9817 * elxsi.c: Likewise.
9818 * gmicro.c: Likewise.
9819 * h8300.c: Likewise.
9822 * mn10200.c: Likewise.
9823 * mn10300.c: Likewise.
9824 * ns32k.c: Likewise.
9828 * rtl.h (rtx_equal_function_value_matters): Declare.
9829 * toplev.c (rtx_equal_function_value_matters): Don't declare.
9831 * function.c: Likewise.
9832 * emit-rtl.c: Likewise.
9834 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
9836 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
9839 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9841 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
9844 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
9846 * cpp.texi: Add a node documenting macro varargs (copied
9849 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
9851 * cppspec.c: Put a null pointer at the end of the new argv.
9853 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
9855 * configure.in: Remove code to select/de-select the haifa
9856 scheduler. Every scheduled port gets haifa now.
9857 * configure: Rebuilt.
9858 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
9860 * Makefile.in: Corresponding changes.
9862 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9864 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
9865 All callers changed.
9866 (prepare_float_lib_cmp): Likewise.
9867 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
9868 * expr.h (emit_float_lib_cmp): Delete declaration.
9869 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
9870 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
9871 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
9873 (cmptf): Now conditional on TARGET_HARD_QUAD.
9875 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
9877 * resource.c (mark_target_live_regs): Use
9878 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
9880 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9882 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
9884 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
9886 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
9888 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9890 * rtl.h (rtx_format): Constify a char*.
9892 * rtl.c (rtx_format): Likewise.
9893 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
9894 (init_rtl): Use accessor macro, not `rtx_format'.
9896 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
9899 * caller-save.c (mark_referenced_regs): Likewise.
9901 * combine.c (subst, make_compound_operation, known_cond,
9902 gen_rtx_combine, update_table_tick, get_last_value_validate,
9903 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
9905 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
9906 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
9907 count_reg_usage): Likewise.
9909 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
9912 * final.c (leaf_renumber_regs_insn): Likewise.
9914 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
9915 dump_edge_info, count_reg_references): Likewise.
9917 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
9918 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
9921 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
9922 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
9923 add_label_notes): Likewise.
9925 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
9926 clear_struct_flag, count_sub_rtxs, count_alternatives,
9927 compares_alternatives_p, contained_in_p, walk_attr_value,
9928 write_expr_attr_cache): Likewise.
9930 * genconfig.c (walk_insn_part): Likewise.
9932 * genemit.c (max_operand_1, gen_exp): Likewise.
9934 * genextract.c (walk_rtx): Likewise.
9936 * genflags.c (num_operands): Likewise.
9938 * genoutput.c (scan_operands): Likewise.
9940 * genpeep.c (match_rtx): Likewise.
9942 * genrecog.c (add_to_sequence): Likewise.
9944 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
9947 * integrate.c (save_constants, copy_for_inline,
9948 copy_rtx_and_substitute, subst_constants, restore_constants):
9951 * jump.c (mark_jump_label, invert_exp, redirect_exp,
9952 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
9954 * local-alloc.c (contains_replace_regs, memref_referenced_p):
9957 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
9958 add_label_notes, replace_call_address, count_nonfixed_reads,
9959 invariant_p, find_single_use_in_loop, find_mem_givs,
9960 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
9963 * print-rtl.c (reg_names, print_rtx): Likewise.
9965 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
9967 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
9968 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
9969 print_blocks): Likewise.
9971 * regclass.c (fix_register, record_address_regs,
9972 reg_scan_mark_refs): Likewise.
9974 * regmove.c (stable_but_for_p): Likewise.
9976 * reload.c (loc_mentioned_in_p, operands_match_p,
9977 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
9978 copy_replacements, refers_to_regno_for_reload_p,
9979 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
9980 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
9983 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
9984 delete_address_reloads_1, count_occurrences,
9985 reload_cse_mem_conflict_p, reload_combine_note_use,
9986 add_auto_inc_notes): Likewise.
9988 * resource.c (mark_referenced_resources, mark_set_resources):
9991 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
9992 reg_mentioned_p, regs_set_between_p, modified_between_p,
9993 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
9994 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
9995 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
9996 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
9998 * sched.c (sched_analyze_2, attach_deaths): Likewise.
10000 * stupid.c (stupid_mark_refs): Likewise.
10002 * unroll.c (remap_split_bivs): Likewise.
10004 * varasm.c (mark_constants): Likewise.
10006 * a29k/a29k.c (uses_local_reg_p): Likewise.
10008 * alpha/alpha.c (summarize_insn): Likewise.
10010 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
10011 eliminate_lr2ip): Likewise.
10013 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
10015 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
10016 reg_mentioned_in_mem): Likewise.
10018 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
10019 symbolic_reference_mentioned_p): Likewise.
10021 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
10023 * sh/sh.c (regs_used, mark_use): Likewise.
10025 * vax/vax.c (vax_rtx_cost): Likewise.
10027 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10029 * machmode.h (mode_name): Constify a char*.
10031 * rtl.c (mode_name): Likewise.
10033 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
10035 * optabs.c (init_libfuncs): Constify a char*.
10037 * print-tree.c (mode_name): Remove redundant declaration.
10038 (print_node): Use accessor macro, not `mode_name'.
10040 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
10042 (new_spill_reg): Constify a char*.
10044 * tree.c (mode_name): Remove redundant declaration.
10046 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10048 * rtl.c (rtx_name): Constify a char*.
10050 * rtl.h (rtx_name, fix_sched_param): Likewise.
10052 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
10053 (mypr): Use accessor macro, not `rtx_name'.
10055 * genemit.c (print_code): Constify a char*.
10057 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
10059 * genpeep.c (print_code): Constify a char*.
10061 * genrecog.c (print_code): Likewise.
10063 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
10064 end_bb): Add static prototype.
10065 (draw_edge): Constify a char*.
10066 (end_bb): Remove unused parameter.
10068 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
10069 print_block_visualization): Constify a char*.
10071 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
10073 * c-common.c (c_get_alias_set): Update comment.
10075 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10077 * linux.h (LIB_SPEC): Added.
10079 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10081 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
10083 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
10085 * tree.c (expr_check): Fix typo in last change.
10087 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
10089 * rtl.def (NOTE): Change format to "iuu0n".
10090 (ADDR_DIFF_VEC): Change format to "eEee0".
10091 (ADDRESSOF): Change format to "eit".
10093 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
10094 (RTVEC_ELT): Change to match.
10095 (XVECEXP): Use XVEC and RTVEC_ELT.
10096 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
10097 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
10098 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
10099 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
10100 TRAP_CONDITION, TRAP_CODE): Use XEXP.
10101 (INTVAL): Use XWINT.
10102 (ADDRESSOF_DECL): Use XTREE.
10103 (SET_ADDRESSOF_DECL): Delete.
10104 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
10105 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
10106 ifdefed out since 2.6 at least.
10107 (gen_rtvec_vv): Delete prototype.
10109 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
10111 (copy_most_rtx): Handle 't' format letter.
10112 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
10113 (gen_rtvec_vv): Delete function. All callers changed to use
10114 gen_rtvec_v instead.
10115 * print-rtl.c (print_rtx): Move special casing of NOTEs to
10116 the '0' format letter.
10118 * function.c (gen_mem_addressof): Don't use
10119 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
10121 * integrate.c (copy_rtx_and_substitute): Likewise.
10122 Copy 't' slots with XTREE.
10123 (subst_constants): Treat 't' slots like '[swi]' slots.
10124 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
10125 * jump.c (rtx_equal_for_thread_p): Likewise.
10126 * rtlanal.c (rtx_equal_p): Likewise.
10127 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
10128 only four arguments.
10129 * gengenrtl.c (type_from_format): Provide correct types for
10133 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
10134 If a recent gcc is in use (always in stage2 and beyond), use
10135 statement expressions, so we don't make a function call unless
10136 the check fails. Evaluate arguments exactly once.
10137 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
10138 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
10140 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
10141 they evaluate their arguments exactly once, irrespective of
10142 the compiler in use.
10144 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
10145 is used by the currently-enabled check macros. This is:
10146 (tree_check_failed, tree_class_check_failed): For gcc.
10147 (tree_check, tree_class_check, cst_or_constructor_check,
10148 expr_check): For other compilers.
10150 * gencheck.c: Do not define any *_CHECK1 macros.
10152 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
10153 Mark Mitchell <mark@codesourcery.com>
10155 * c-common.c (c_get_alias_set): Fix support for poitners and
10158 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
10160 * alias.c: Include tree.h.
10161 (nonlocal_reference_p, mark_constant_function): New functions.
10162 * flow.c (life_analysis): Call mark_constant_function.
10163 * rtl.h (mark_constant_function): Declare it.
10165 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
10167 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
10168 unrecognisable switches.
10170 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10172 * loop.c (recombine_givs): Set ix field after sorting.
10173 (recombine_givs): Remove bogus index / giv lockstep looping.
10175 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10177 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
10179 (emit_store_flag_force): Use do_compare_rtx_and_jump.
10180 (do_cmp_and_jump): Formatting fixes.
10181 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
10182 do_compare_rtx_and_jump instead of compare_from_rtx.
10183 (do_compare_rtx_and_jump): New function; mostly copied from
10185 (do_jump_for_compare): Delete.
10186 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
10188 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
10189 of compare/do_jump_for_compare pairs.
10190 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
10191 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
10192 compare_from_rtx/do_jump_for_compare pairs.
10193 (do_jump_by_parts_equality): Likewise.
10194 (do_jump_by_parts_equality_rtx): Likewise.
10195 * expr.h (do_compare_rtx_and_jump): Declare.
10196 * optabs.c (prepare_cmp_insn): New function, contains most of the code
10197 that used to be in emit_cmp_insn.
10198 (cmp_available_p): New function.
10199 (prepare_operand): New function.
10200 (emit_cmp_and_jump_insn_1): New function, contains some code that used
10201 to be in emit_cmp_insn.
10202 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
10203 parameters to be pointers; don't emit final compare but modify some of
10204 the values pointed to by the args so the caller can perform the
10205 correct comparison.
10206 (expand_binop): Call emit_store_flag_force with signed forms of
10208 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
10209 emit_jump_insn pair.
10210 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
10211 emit_cmp_and_jump_insn_1. Call emit_queue.
10212 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
10214 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
10215 jump sets cc0 before deleting it.
10216 * integrate.c (expand_inline_function): Likewise.
10217 * unroll.c (unroll_loop): Similar changes in several places.
10218 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
10219 before deleting it.
10221 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10223 * Makefile.in (insn-recog.o): Update dependencies.
10224 * genrecog.c (main): Make generated file include "function.h".
10226 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
10228 * cse.c (cse_insn): Call never_reached_warning when a jump is
10229 changed to be unconditional.
10230 * flags.h: Declare warn_notreached.
10231 * flow.c (delete_block): Call never_reached_warning when
10232 a block is deleted.
10233 * jump.c (delete_barrier_successors): Call never_reached_warning
10234 when we delete everything after a BARRIER.
10235 (never_reached_warning): New function.
10236 * rtl.h: Declare never_reached_warning.
10237 * toplev.c (warn_notreached): New variable.
10238 (lang_independent_options): Set warn_notreached
10239 when -Wunreachable-code.
10240 (compile_file): We need line numbers for -Wunreachable-code.
10242 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
10244 * haifa-sched.c (insn_unit): Fix typo on out of range test.
10245 * sched.c (insn_unit): Likewise.
10247 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
10249 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
10251 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10253 * flow.c (create_edge_list): Use xmalloc, not malloc.
10255 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
10257 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
10258 C-style comments. Do not lose the character before double slash.
10260 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10262 * basic-block.h (struct edge_list): Stucture to maintain a vector
10264 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
10265 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
10266 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
10267 New function prototypes.
10268 * flow.c (create_edge_list): Function to create an edge list.
10269 (free_edge_list): Discards memory used by an edge list.
10270 (print_edge_list): Debug output showing an edge list.
10271 (verify_edge_list): Internal consistency check for an edge list.
10272 (find_edge_index): Function to find an edge index for a pred and succ.
10274 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
10276 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
10279 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
10281 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
10283 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10285 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
10287 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
10289 * toplev.c (rest_of_compilation): Allow machine dependent
10290 reorganisation pass to place information into the RTL dump
10291 file if it so wishes.
10293 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
10295 * explow.c (hard_function_value): Use VOIDmode instead of
10297 * stmt.c (expand_return): Likewise.
10298 * stor-layout.c (get_best_mode): Likewise.
10300 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
10301 emit call instead of emit_insn call.
10303 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
10305 * configure.in: Handle --disable/enable-win32-registry.
10306 * install.texi: Document --disable/enable-win32-registry.
10307 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
10308 (WIN32_REGISTRY_KEY): New macro.
10309 * prefix.c: Use to enable/disable win32-specific code.
10310 (lookup_key): Use versioned key.
10311 * configure: Regenerate.
10312 * config.in: Likewise.
10314 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
10316 * cpplib.c (read_line_number): New fn, split out of...
10319 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
10321 tree.c (lang_unsave_expr_now) : New.
10322 (unsave_expr_now): Call lang_unsave_expr_now.
10323 tree.h (lang_unsave_expr_now) : New.
10325 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
10327 * toplev.c (flag_new_exceptions): On by default.
10329 1999-08-13 Michael Meissner <meissner@cygnus.com>
10331 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
10333 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
10335 * dwarfout.c (fundamental_type_code): Return FT_boolean for
10336 INTEGER_TYPE with precision==1, it's __java_boolean.
10338 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10340 * global.c (prune_preferences): Move some invariants out of the
10343 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
10345 * configure.in (alpha*-dec-osf*): Add osf5.
10347 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
10349 * configure.in: Rework handling of ARM GNU/Linux slightly.
10350 (arm*-*-linux-gnuoldld): New target.
10351 * configure: Regenerate.
10352 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
10353 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
10354 * config/arm/linux-oldld.h: New file.
10355 * config/arm/linux-elf26.h: Don't include linux-elf.h.
10356 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
10358 * config/arm/linux-elf.h (ASM_SPEC): Define.
10359 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
10360 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
10361 for 26-bit APCS and old linker.
10362 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
10364 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
10365 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
10366 don't define `arm' or `arm_elf'.
10367 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
10368 MULTILIB_DIRNAMES): Define. Fix typo in comment.
10370 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
10372 * rtl.texi: Fix typo.
10374 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
10376 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
10378 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
10380 * extend.texi (C++ Signatures): Remove node.
10381 * invoke.texi: Remove discussion of -fhandle-signatures,
10382 signature, sigof, __signature__, and __sigof__.
10384 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
10386 * Makefile.in (JAVAGC): Removed.
10388 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
10390 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
10392 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
10394 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
10396 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
10398 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
10399 a register that is already known to be a pointer.
10401 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
10403 * fixinc/inclhack.tpl: Only install assert.h conditionally.
10404 * fixinc/inclhack.sh: Regenerated.
10405 * fixinc/fixincl.sh: Regenerated.
10407 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
10409 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
10410 Fix documentation of -ansi flag to describe its C++ behavior.
10411 Remove bogus reference to GCC 2.9.
10413 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
10415 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
10416 note if it is non-NULL.
10418 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10420 * except.h (eh_nesting_info): Add new structure defintion.
10421 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
10422 (reachable_handlers, update_rethrow_references): Add function
10424 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
10425 a rethrow symbol instead of an integer exception region number.
10426 * flow.c (Make_edges): Use new exception nesting routines to determine
10427 which handlers are reachable from a CALL or asynchronous insn.
10428 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
10430 (delete_eh_regions): Update rethrow labels, and don't delete
10431 regions which are the target of a rethrow.
10432 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
10433 avoid overloading the SYMBOL_REF_USED flag.
10434 (rethrow_symbol_map): Use new rethrow_ref field.
10435 (rethrow_used): Use new rethrow_ref field.
10436 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
10437 of an integer. Fix formatting.
10438 (output_exception_table_entry): Use new rethrow_ref field.
10439 (can_throw): Check for EH_REGION_NOTE before deciding
10440 whether a CALL can throw or not.
10441 (scan_region): Call rethrow_used() instead of accessing data structure.
10442 (update_rethrow_references): New function to make sure only regions
10443 which are still targets of a rethrow are flagged as such.
10444 (process_nestinfo): New static function to initialize a handler
10445 list for a specific region.
10446 (init_eh_nesting_info): New function to allocate and initialize
10447 the list of all EH handlers reachable from all regions.
10448 (reachable_handlers): New function to retrieve the list of handlers
10449 reachable from a specific region and insn.
10450 (free_eh_nesting_info): New function to dispose of a list of
10451 reachable handlers.
10453 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10455 * flow.c (split_edge): Set JUMP_LABEL field.
10456 (commit_one_edge_insertion): Set head correctly for insert_before.
10457 When inserting insns, update insn block numbers if allocated.
10459 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10461 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
10462 retry_incomplete_types): Add static prototype.
10463 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
10464 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
10465 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
10466 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
10467 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
10470 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
10471 dwarf2out_start_source_file, dwarf2out_line): Likewise.
10473 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10475 * output.h (assemble_name): Constify a char*.
10477 * varasm.c (UNIQUE_SECTION, assemble_start_function,
10478 assemble_variable, assemble_name): Likewise.
10480 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
10482 * arm/pe.c (arm_pe_unique_section): Likewise.
10484 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
10486 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
10488 * i386/interix.c (i386_pe_unique_section): Likewise.
10490 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
10492 * i386/winnt.c (i386_pe_unique_section): Likewise.
10494 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
10496 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
10498 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
10500 * pa/pa.c (output_call): Likewise.
10502 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
10504 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
10506 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
10509 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
10512 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
10514 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
10515 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
10517 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
10519 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10521 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
10523 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10525 * tree.h (lang_identify): Constify a char*.
10526 (print_error_function): Add extern prototype. Constify a char*.
10528 * c-lang.c (lang_identify): Constify a char*.
10530 * objc/objc-act.c (lang_identify): Constify a char*.
10532 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10534 * genpeep.c (main): Make generated file include "function.h".
10535 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
10537 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10539 * Makefile.in: Update dependencies.
10540 * alias.c: Include "function.h"
10541 * c-decl.c: Likewise.
10542 * caller-save.c: Likewise.
10543 * calls.c: Likewise.
10544 * combine.c: Likewise.
10546 * explow.c: Likewise.
10547 * final.c: Likewise.
10548 * global.c: Likewise.
10549 * graph.c: Likewise.
10550 * local-alloc.c: Likewise.
10551 * loop.c: Likewise.
10552 * optabs.c: Likewise.
10553 * profile.c: Likewise.
10554 * recog.c: Likewise.
10555 * regclass.c: Likewise.
10556 * regmove.c: Likewise.
10557 * reload.c: Likewise.
10558 * reorg.c: Likewise.
10559 * resource.c: Likewise.
10560 * sched.c: Likewise.
10561 * stupid.c: Likewise.
10562 * config/1750a/1750a.c: Likewise.
10563 * config/a29k/a29k.c: Likewise.
10564 * config/arc/arc.c: Likewise.
10565 * config/arm/arm.c: Likewise.
10566 * config/arm/thumb.c: Likewise.
10567 * config/c4x/c4x.c: Likewise.
10568 * config/clipper/clipper.c: Likewise.
10569 * config/convex/convex.c: Likewise.
10570 * config/fx80/fx80.c: Likewise.
10571 * config/i860/i860.c: Likewise.
10572 * config/m68k/m68k.c: Likewise.
10573 * config/m88k/m88k.c: Likewise.
10574 * config/mips/mips.c: Likewise.
10575 * config/pdp11/pdp11.c: Likewise.
10576 * config/pyr/pyr.c: Likewise.
10577 * config/romp/romp.c: Likewise.
10578 * config/sh/sh.c: Likewise.
10579 * config/tahoe/tahoe.c: Likewise.
10580 * config/vax/vax.c: Likewise.
10581 * config/we32k/we32k.c: Likewise.
10582 * config/sparc/sparc.c: Include "function.h".
10583 (mem_min_alignment): Test current_function rather than
10584 regno_pointer_align.
10585 * config/pa/pa.c: Likewise.
10586 (compute_frame_size): Delete declaration of
10587 current_function_outgoing_args_size.
10588 * config/arc/arc.h (current_function_varargs): Delete declaration.
10589 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
10591 * config/i370/i370.h (current_function_outgoing_args_size): Delete
10593 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
10594 current_function_uses_pic_offset_table.
10595 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
10596 of current_function_returns_pointer.
10597 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
10598 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
10599 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
10600 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
10601 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
10602 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
10603 * config/m88k/m88k.c: Include "function.h"
10604 (call_used_regs, current_function_pretend_args_size,
10605 current_function_outgoing_args_size, frame_pointer_needed): Delete
10607 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
10609 * config/mips/mips.h (current_function_calls_alloca): Delete
10611 * config/mn10200/mn10200.h (current_function_needs_context,
10612 rtx_equal_function_value_matters): Delete declarations.
10613 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
10614 flag_pic): Delete declarations.
10615 * config/pa/pa.h (current_function_pretend_args_size,
10616 current_function_decl): Delete declarations.
10617 * config/pa/som.h (current_function_varargs): Delete declaration.
10618 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
10620 * config/pyr/pyr.h (current_function_pretend_args_size,
10621 current_function_args_size, current_function_calls_alloca): Delete
10623 * config/sh/sh.h (current_function_varargs): Delete declaration.
10624 * config/sparc/sparc.h (current_function_outgoing_args_size,
10625 current_function_calls_alloca, current_function_decl): Delete
10627 * config/spur/spur.h (current_function_pretend_args_size,
10628 current_function_calls_alloca): Delete declarations.
10629 * config/v850/v850.c (current_function_outgoing_args_size): Delete
10631 * config/vax/vms.h (current_function_name): Delete declaration.
10632 * gcse.c: Include "function.h".
10633 (current_function_name, current_function_calls_setjmp): Delete
10635 * haifa-sched.c: Include "function.h".
10636 (forced_labels): Delete declaration.
10637 * jump.c: Likewise.
10638 * reg-stack.c: Likewise.
10639 * reload1.c: Likewise.
10640 * genemit.c (main): Make generated file include function.h.
10641 * genoutput.c (output_prologue): Likewise.
10643 * builtins.c (saveregs_value, apply_args_value): Delete variables.
10644 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
10645 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
10646 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
10647 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
10648 macros for some of them.
10649 (emit_filename, emit_lineno): Delete declarations.
10650 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
10651 regno_pointer_* variables through current_function.
10652 (gen_inline_header_rtx): Delete function.
10653 (save_emit_status): Delete function.
10654 (set_new_last_label_num): New function.
10655 (clear_emit_caches): New function.
10656 (restore_emit_status): Just clear last_labelnum and call
10658 (get_last_insn_anywhere): Variable sequence_stack is now accessed
10659 through macro seq_stack.
10660 (add_insn_after): Likewise.
10661 (add_insn_before): Likewise.
10662 (remove_insn): Likewise.
10663 (pop_topmost_sequence): Likewise.
10664 (in_sequence_p): Likewise.
10665 (start_sequence_for_rtl_expr): Likewise.
10666 (start_sequence): Likewise, and likewise for
10667 sequence_rtl_expr/seq_rtl_expr.
10668 (push_topmost_sequence): Likewise.
10669 (end_sequence): Likewise.
10670 (init_virtual_regs): Now takes a "struct emit_status *" argument.
10671 All callers changed. Store into that pointer instead of globals.
10672 (init_emit): Allocate emit elt of current_function.
10673 Changes for sequence_rtl_expr/sequence_stack renaming.
10674 Call clear_emit_caches instead of doing it in-line.
10675 Access regno_pointer_* variables through current_function.
10676 (init_emit_once) Don't clear sequence_stack.
10678 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
10680 (arg_pointer_save_area): Delete declaration.
10681 (finish_expr_for_function): Renamed from init_queue; no longer static.
10682 (init_expr): Don't call init_queue.
10683 (save_expr_status, restore_expr_status): Delete functions.
10684 (expand_expr): Changes to reflect new layout of struct function.
10685 Don't access current_function_check_memory_usage when current_function
10687 * expr.h (forced_labels, save_expr_regs, saveregs_value,
10688 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
10689 current_function_outgoing_args_size, current_function_arg_offset_rtx,
10690 current_function_uses_const_pool, function_call_count,
10691 current_function_uses_pic_offset_table, nonlocal_labels,
10692 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
10693 current_function_check_memory_usage, nonlocal_goto_handler_slots,
10694 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
10696 (finish_expr_for_function): Declare.
10697 * flags.h (current_function_has_nonlocal_label,
10698 current_function_has_nonlocal_goto, current_function_is_thunk,
10699 current_function_has_computed_jump): Delete declarations.
10700 * flow.c (forced_labels): Delete declaration.
10701 * function.c (current_function_pops_args,
10702 current_function_returns_struct, current_function_returns_pcc_struct,
10703 current_function_needs_context, current_function_calls_setjmp,
10704 current_function_calls_longjmp, current_function_has_nonlocal_label,
10705 current_function_has_nonlocal_goto, current_function_is_thunk,
10706 current_function_has_computed_jump, current_function_calls_alloca,
10707 current_function_contains_functions, current_function_returns_pointer,
10708 current_function_epilogue_delay_list, current_function_args_size,
10709 current_function_pretend_args_size, current_function_arg_offset_rtx,
10710 current_function_outgoing_args_size, current_function_varargs,
10711 current_function_stdarg, current_function_args_info, cleanup_label,
10712 current_function_name, current_function_uses_const_pool,
10713 current_function_instrument_entry_exit, current_function_return_rtx,
10714 current_function_uses_pic_offset_table, nonlocal_labels,
10715 current_function_internal_arg_pointer, current_function_cannot_inline,
10716 current_function_check_memory_usage, function_call_count,
10717 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
10718 nonlocal_goto_stack_level, return_label, save_expr_regs,
10719 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
10720 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
10721 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
10722 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
10723 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
10725 (push_function_context_to): Don't save them. Don't call
10726 save_storage_status, save_emit_status or save_expr_status.
10727 (pop_function_context_from): Don't restore them. Don't call
10728 restore_storage_status or restore_expr_status.
10729 (get_func_frame_size): New function.
10730 (get_frame_size): Use it.
10731 (assign_outer_stack_local): Reflect some member name changes in struct
10733 (put_reg_into_stack): Likewise.
10734 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
10736 (fixup_var_refs): Likewise.
10737 (fix_lexical_addr): Likewise.
10738 (trampoline_address): Likewise.
10739 (prepare_function_start): Clear field inlinable of current_function.
10740 (init_function_for_compilation): New function.
10741 (expand_dummy_function_end): New function.
10742 (expand_function_end): Call finish_expr_for_function.
10743 * function.h (struct emit_status): New; fields moved here from struct
10744 function and from global variables. Add accessor macros for some of
10746 (struct expr_status): Likewise.
10747 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
10748 (struct function): Add fields expr and emit, inlinable, inl_emit,
10749 original_arg_vector, original_decl_initial, inl_last_parm_insn,
10750 inl_max_label_num. Add many comments.
10751 Add accessor macros for all elts of struct function that no longer
10752 have a global variable.
10753 (cleanup_label, return_label, frame_offset, tail_recursion_label,
10754 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
10755 stack_slot_list): Delete declarations.
10756 (get_func_frame_size): Declare.
10757 (save_expr_status, restore_expr_status, save_emit_status,
10758 save_storage_status, restore_storage_status): Delete declarations.
10759 (init_virtual_regs): Declare.
10760 * output.h (current_function_pops_args,
10761 current_function_returns_struct, current_function_returns_pcc_struct,
10762 current_function_needs_context, current_function_calls_setjmp,
10763 current_function_calls_longjmp, current_function_calls_alloca,
10764 current_function_has_nonlocal_label, current_function_varargs,
10765 current_function_has_computed_jump, current_function_returns_pointer,
10766 current_function_contains_functions, current_function_args_size,
10767 current_function_pretend_args_size, current_function_stdarg,
10768 current_function_outgoing_args_size, current_function_args_info,
10769 current_function_name, current_function_return_rtx,
10770 current_function_epilogue_delay_list,
10771 current_function_uses_const_pool, current_function_cannot_inline):
10772 Delete declarations.
10773 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
10774 regno_reg_rtx): Delete declaration.
10775 (REGNO_POINTER_FLAG): Delete macro.
10776 * stmt.c (expand_goto): Changes to reflect that some fields in struct
10777 function were renamed.
10778 * stor-layout.c (save_storage_status, restore_storage_status): Delete
10780 * toplev.c: Include "function.h".
10781 (current_function_decl): Delete declaration.
10782 (compile_file): Call init_dummy_function_start and
10783 expand_dummy_function_end around some initializations that need to
10785 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
10786 Call init_function_for_compilation.
10787 * unroll.c: Include "function.h"
10788 (unroll_loop): Access regno_pointer_* variables through
10791 * tree.h (struct tree_decl): Add elt f to saved_insns member.
10792 (DECL_SAVED_INSNS): use it.
10793 (expand_dummy_function_end): Declare.
10794 (init_function_for_compilation): Declare.
10795 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
10796 that it's no longer an INLINE_HEADER.
10797 (expand_call): Likewise.
10798 * integrate.c (finish_inline): Delete function.
10799 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
10800 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
10801 args. Don't generate an INLINE_HEADER rtx, just return the arg
10802 vector. All callers changed.
10803 (save_for_inline_copying): Create a duplicate struct emit_status to
10804 hold the emit state for compiling the current function. Use this and
10805 the other new fields in struct function that are for integration
10806 instead of an INLINE_HEADER.
10807 Use memcpy instead of bcopy.
10808 Store the current struct function in DECL_SAVED_INSNS of fndecl.
10809 (save_for_inline_nocopy): Similar changes, except no new emit_status
10811 (expand_inline_function): Get information from function structure,
10812 not from an inline header rtx.
10813 (output_inline_function): Lose code to extract the necessary
10814 information from an inline header; simply put back the function
10815 structure into current_function. Clear its inlinable elt.
10816 * rtl.def (INLINE_HEADER): Delete.
10817 * rtl.h: Delete all accessors for an INLINE_HEADER.
10818 (gen_inline_header_rtx): Delete declaration.
10819 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
10820 Delete declarations.
10821 (REGNO_POINTER_ALIGN): Delete.
10822 (clear_emit_caches): Declare.
10823 (set_new_last_label_num): Declare.
10825 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
10827 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
10829 * except.c (expand_eh_region_start_for_decl): Always start a new block.
10830 * stmt.c (is_eh_region): Make sure current_function is present, too.
10832 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
10834 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
10835 for 64bit PA targets.
10837 * pa.h (SELECT_SECTION): Define.
10838 * som.h (SELECT_SECTION): Delete.
10840 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10842 * alias.c (init_alias_analysis): Wrap call to
10843 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
10845 1999-08-07 Bruce Korb <autogen@linuxbox.com>
10847 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
10848 <sys/asm.h> contains an asm comment with an apostrophe
10849 * fixinc/inclhack.sh: regen
10850 * fixinc/fixincl.x: regen
10852 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
10854 * function.c (init_function_start): Clear prologue & epilogue.
10855 (prologue_epilogue_contains): New function.
10856 * alias.c (init_alias_analysis): Use it.
10857 * rtl.h (prologue_epilogue_contains): Declare it.
10859 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
10861 * jump.c (onlyjump_p): New function.
10862 * rtl.h: Declare it.
10863 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
10864 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
10866 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
10868 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
10869 to invert loops. Simplify block scanning.
10871 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10873 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
10874 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
10876 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
10878 * config/sparc/liteelf.h: New file to support sparclite-elf target
10879 * config/sparc/t-sp86x: New file to support sparc86x targets
10880 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
10881 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
10882 * configure.in: Support above target triplets
10883 * configure: Regenerated
10885 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
10887 * fixinc/server.c (server_setup): Do not prefix function used as
10888 parameter with `&'.
10890 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
10892 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
10893 Remove fp reg alternatives.
10895 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
10897 * Makefile.in (TAROUTOPTS): Kill.
10898 (install-headers-tar): Use "xpf" for tar headerfile extraction
10899 * i370/x-oe (TAROUTOPTS): Delete.
10900 * m68k/x-apollo68 (TAROUTOPTS): Delete.
10901 * m68k/x-hp320 (TAROUTOPTS): Delete.
10902 * m68k/x-hp320g (TAROUTOPTS): Delete.
10903 * gcc.texi: Update bug reporting text.
10905 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10907 * reg-stack.c (change_stack) Fixed problem with negative array index.
10909 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
10911 * extend.texi, install.texi: Fix spelling mistakes.
10913 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
10914 (s-attrtab); No longer try to use pre-made insn-attrtab file.
10915 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
10916 PREMADE_ATTRTAB_MD.
10917 * mips/t-ecoff: Likewise.
10918 * mips/t-elf: Likewise.
10919 * mips/t-mips: Likewise.
10920 * mips/t-osfrose: Likewise.
10921 * mips/t-r3900: Likewise.
10922 * mips/t-svr3: Likewise.
10923 * mips/t-svr4: Likewise.
10924 * mips/t-ultrix: Likewise.
10926 * gcc.texi: Document recommend means to provide software floating
10927 point libraries in libgcc.a
10929 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
10931 * c-lex.c (yylex): We can have a number with no digits.
10933 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
10935 * jump.c (delete_prior_computation): New function, broken
10936 out of delete_computation. Check for side effects with
10937 side_effects_p instead of FIND_REG_INC_NOTE. Handle
10938 multi-word hard registers.
10939 (delete_computation): Use it. Check for side effects with
10940 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
10941 missing REG_DEAD note for a register which is both set and
10944 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
10946 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
10947 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
10948 (ASM_FILE_START): Import _mcount with the right type.
10949 (ASM_DECLARE_FUNCTION_NAME): Define.
10950 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
10951 * pa.c (output_function_prologue): Always emit the function's label
10953 * pa.h (TEXT_SPACE_P): Define.
10954 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
10955 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
10956 * som.h (TEXT_SPACE_P): Delete.
10957 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
10958 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
10960 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
10962 * expr.c (emit_group_load): Allow src to be a CONCAT.
10964 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10966 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
10967 (___mulsi3): Use '!' comment character.
10969 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10971 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
10973 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
10975 * gcc.c: Update URLs and mail addresses.
10976 * gcc.texi: Likewise.
10978 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
10980 * rs6000.c (current_file_function_operand): Return zero for
10982 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
10984 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
10987 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
10989 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
10990 allocate space in the stack frame for the PIC register.
10992 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
10994 * m68k.md (xordi3, anddi3): These patterns are not available on
10997 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
10999 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
11000 (PUT_REAL): Likewise.
11002 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11004 * final.c (shorten_branches): Don't add an alignment for loops
11005 that have no label inside.
11007 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11009 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
11010 prototypes in macro HAVE_cmpstrsi.
11012 * cpplib.c (cpp_get_token): Remove unused label `op3'.
11014 * emit-rtl.c (operand_subword): Remove unused variable
11017 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
11019 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
11021 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
11023 * cpphash.c (macroexpand): Delete leading whitespace when arg
11024 is concatenated before.
11025 (unsafe_chars): Correct test for whether + and - can extend a
11028 * cppinit.c (cpp_start_read): Do dependencies for
11029 -include/-imacros files also.
11031 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
11032 tokenizing non-directive lines.
11033 (cpp_expand_to_buffer): Temporarily disable no-output mode.
11034 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
11037 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
11039 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
11041 * c-lex.c: Sync with C++ frontend.
11042 (linemode): New variable.
11043 (parse_float): imag, conversion_errno, and type are output only.
11044 (yylex): Adjust. Move initial '.' case into main switch.
11046 (handle_generic_pragma): Just deal with tokens.
11047 (readescape): Use ISXDIGIT and ISGRAPH.
11048 * c-parse.in: Add END_OF_LINE token.
11050 * c-lex.c (lang_init): Generalize.
11051 (nextchar): Remove. Replace uses with UNGETC.
11052 (skip_white_space): Handle linemode here. Optimize for cpplib.
11053 (skip_white_space_on_line): Remove.
11054 (extend_token_buffer_to): New fn.
11055 (extend_token_buffer): Use it.
11056 (read_line_number, check_newline): Just deal with tokens.
11057 (token_getch, token_put_back): New fns.
11058 (yylex): Use them. More cpplib optimizations. Simplify.
11060 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
11061 Jason Merrill <jason@yorick.cygnus.com>
11063 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
11064 (consume_string): Make this smart about USE_CPPLIB.
11065 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
11066 (yylex): Rewrite to be intelligent about USE_CPPLIB.
11067 Also, clean up cases where we redundantly set token_buffer[0].
11068 (read_line_number): New fn.
11069 (ignore_escape_flag): New variable.
11071 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
11073 * a29k/t-a29kbare: Fix some comments.
11074 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
11075 (FPBIT, DPBIT): Define.
11076 * a29k/t-vx29k: Likewise.
11077 * arc/t-arc: Likewise.
11078 * arm/t-arm-elf: Likewise.
11079 * arm/t-bare: Likewise.
11080 * arm/t-pe: Likewise.
11081 * arm/t-pe-thumb: Likewise.
11082 * arm/t-semi: Likewise.
11083 * arm/t-thumb: Likewise.
11084 * arm/t-thumb-elf: Likewise.
11085 * arm/t-thumb-linux: Likewise.
11086 * h8300/t-h8300: Likewise.
11087 * i960/t-i960: Likewise.
11088 * i960/t-vxworks960: Likewise.
11089 * m32r/t-m32r: Likewise.
11090 * mips/t-ecoff: Likewise.
11091 * mips/t-elf: Likewise.
11092 * mips/t-r3900: Likewise.
11093 * pa/t-pro: Likewise.
11094 * rs6000/t-aix43: Likewise.
11095 * rs6000/t-beos: Likewise.
11096 * rs6000/t-newas: Likewise.
11097 * rs6000/t-ppccomm: Likewise.
11098 * rs6000/t-rs6000: Likewise.
11099 * rs6000/t-winnt: Likewise.
11100 * rs6000/t-xnewas: Likewise.
11101 * rs6000/t-xrs6000: Likewise.
11102 * sh/t-sh: Likewise.
11103 * sparc/t-elf: Likewise.
11104 * sparc/t-sparcbare: Likewise.
11105 * sparc/t-sparclite: Likewise.
11106 * sparc/t-splet: Likewise.
11107 * v850/t-v850: Likewise.
11108 * mn10200/t-mn10200: Fix comments.
11109 * mn10300/t-mn10300: Likewise.
11111 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
11112 dummy operand. Allocate a new pseudo for the dummy operand.
11113 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
11115 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
11117 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
11119 * configure: Rebuilt.
11120 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
11122 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
11124 * recog.c (preproces_constraints): Zero recog_op_alt before
11125 processing the constraints.
11127 * arm.c (typedef minipool_node): Renamed from pool_node.
11128 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
11129 (add_minipool_constant): New function.
11130 (dump_minipool): New function.
11131 (find_barrier): Remove special case for getting the insn size of
11132 an insn that references the constant pool.
11133 (minipool_fixup): New structure.
11134 (push_minipool_barrier): New function.
11135 (push_minipool_fix): New function.
11136 (note_invalid_constants): New function.
11137 (add_pool_constant, dump_table, fixit, broken_move): Delete.
11138 (arm_reorg): Rewrite code to fix up the constant pool into a
11139 series of mini-pools embedded in the insn stream.
11140 (arm_output_epilogue): New function, made mainly from the body
11141 of output_func_epilogue.
11142 (output_func_epilogue): Move insn generation part of epilogue code
11143 to arm_output_epilogue.
11144 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
11145 * arm.md (pool_range): New attribute.
11146 (zero_extendqidi2): Add attribute pool_range.
11147 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
11148 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
11149 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
11150 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
11151 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
11152 (epilogue): New expand.
11153 (epilogue_insn): New insn. Call arm_output_epilogue.
11155 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
11156 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
11158 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
11160 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
11162 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
11164 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
11166 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
11168 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
11170 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
11172 * global.c: Fix comment.
11174 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
11176 * gcc.c (access_check): New static function.
11177 (find_a_file): Use it when searching a directory list.
11178 * collect2.c (find_a_file): Don't accept directories found when
11179 searching a directory list.
11181 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
11183 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
11184 function parameters with `&'.
11185 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
11187 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
11189 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
11190 or tidy_fallthru_edge if the last insn in the block is not
11191 an unconditional jump or a simple conditional jump.
11193 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11195 * Makefile.in (c-decl.o): Depends on defaults.h.
11197 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
11199 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
11201 (CLASS_MAX_NREGS): Likewise.
11203 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
11205 * cse.c (cse_insn): Fix dumb thinko in last change.
11207 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11209 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
11212 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
11214 * dwarf2out.c (add_location_or_const_value_attribute): Correct
11215 test for sizes of passed and declared parameter types.
11217 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11219 * fixincludes: Fix the return type of bsearch, char* -> void*.
11221 * fixinc/inclhack.def: Likewise.
11223 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
11225 * invoke.texi (-fdump-translation-unit): New option.
11227 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
11229 * expr.h (PROMOTE_PROTOTYPES): Move ...
11230 * defaults.h: ... to here.
11231 * c-decl.c: Include defaults.h instead of expr.h.
11232 * c-typeck.c: Include defaults.h.
11234 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
11236 * toplev.h (errorcount): Declare.
11237 (warningcount): Likewise.
11238 (sorrycount): Likewise.
11239 * c-lex.c (errorcount): Don't declare.
11240 * dwarf2out.c (errorcount): Don't declare.
11242 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
11244 * config/libgloss.h: Add a note discouraging use with ELF.
11245 * configure.in: Don't use libgloss.h for ELF targets.
11246 Always use_collect2 on a.out targets.
11248 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
11250 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
11251 (force_to_mode, case ASHIFTRT): Add shiftrt label.
11253 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11255 * loop.c (strength_reduce): When doing biv->giv conversion, update
11256 reg note of NEXT->insn.
11258 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
11260 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
11262 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
11264 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
11265 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
11266 Ensure expr.h is included.
11267 * c-typecheck.c (convert_arguments): Ditto.
11269 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
11271 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
11272 * config/convex/convex.h: Ditto.
11273 * config/dsp16xx/dsp16xx.h: Ditto.
11274 * config/fx80/fx80.h: Ditto.
11275 * config/gmicro/gmicro.h: Ditto.
11276 * config/i370/i370.h: Ditto.
11277 * config/i386/i386.h: Ditto.
11278 * config/m32r/m32r.h: Ditto.
11279 * config/m68k/m68k.h: Ditto.
11280 * config/m88k/m88k.h: Ditto.
11281 * config/mips/mips.h: Ditto.
11282 * config/pa/pa.h: Ditto.
11283 * config/pyr/pyr.h: Ditto.
11284 * config/tahoe/tahoe.h: Ditto.
11285 * config/we32k/we32k.h: Ditto.
11287 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
11288 based on arch size.
11290 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
11292 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
11295 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
11297 1999-08-02 Richard Henderson <rth@cygnus.com>
11299 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
11300 for the register spill block.
11301 (m32r_va_arg): New.
11302 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
11303 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
11305 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
11306 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
11307 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
11309 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
11311 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
11312 MAX_WCHAR_TYPE defined in sparc.h.
11313 * config/sparc/linuxaout.h: Likewise.
11314 * config/sparc/linux64.h: Likewise.
11315 Also default to -mvis if CPU is UltraSPARC.
11317 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
11319 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
11320 (RTX_OK_FOR_OLO10): Likewise.
11321 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
11322 %lo(), allow it in addresses...
11323 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
11324 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
11325 does not make sense.
11326 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
11327 (sparc_output_scratch_registers): New function.
11328 (output_function_prologue, sparc_flat_output_function_prologue): Use
11330 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
11332 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
11333 * configure.in: Add check for .register pseudo-op support in as and
11334 check for offsetable %lo().
11335 * acconfig.h: Add templates for the above checks.
11336 * configure: Regenerate.
11338 1999-08-02 Richard Henderson <rth@cygnus.com>
11340 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
11341 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
11342 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
11344 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11346 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
11349 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
11351 * config/float-sparc.h: New file.
11352 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
11353 sparc-*-linux-gnu and sparc64-*-linux*.
11355 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11357 * rs6000.c (rs6000_va_list): Type is an array.
11358 (rs6000_va_start): Don't doubly adjust for varargs.
11359 (rs6000_va_arg): Evaluate long long GPR adjustment.
11361 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
11363 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
11364 -maix64 and -maix32.
11365 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
11366 LINK_SPEC): Change appropriately.
11367 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
11368 (u_short_cint_operand): Likewise.
11369 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
11371 * rs6000/t-aix43 (MULTILIB): Change to -m64.
11373 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
11375 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
11377 * rs6000/rs6000.c (num_insns_constant_wide): Correct
11378 for type promotion.
11379 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
11380 (non_add_cint_operand): Likewise.
11381 (logical_operand): Likewise.
11382 (non_logical_cint_operand): Likewise.
11383 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
11384 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
11385 (rs6000_select_rtx_section): Suppress warning.
11386 (small_data_operand): Suppress warning.
11387 (rs6000_got_register): Suppress warning.
11388 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
11389 type, so `J' is generally the wrong constraint for a SImode value;
11391 (andsi3_internal2): Likewise.
11392 (andsi3_internal3): Likewise.
11393 (iorsi3_internal1): Likewise.
11394 (xorsi3_internal1): Likewise.
11396 (movsf_softfloat): Likewise.
11397 (scc insns): Likewise.
11398 (movsi+2): Preserve sign bits of SImode constant.
11399 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
11400 (movdf+1): Sign-extend properly.
11401 (movdi_32+1): Sign-extend properly.
11402 (scc insns): Sign-extend properly.
11404 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
11407 1999-08-02 Richard Henderson <rth@cygnus.com>
11409 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
11410 -mcpu parsing code.
11411 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
11412 * alpha.md (all fp insns): Likewise.
11414 1999-08-02 Nick Clifton <nickc@cygnus.com>
11416 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
11419 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
11421 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
11422 pic_load_label generator directly.
11423 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
11424 No longer a named pattern.
11426 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
11428 * explow.c (force_reg): Call force_operand if X does not
11429 satisfy general_operand.
11431 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
11433 * fix-header.c (main): When testing for CONTINUED, use string
11434 equality, not pointer equality.
11436 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
11438 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
11440 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
11442 * cse.c (cse_insn): Fix loop which deletes insns after a jump
11443 that has become an unconditional jump.
11445 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
11446 (output_function_epilogue): Similarly.
11448 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11450 * tree.h (init_dummy_function_start): Declare.
11452 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11454 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
11455 last_expr_type, last_expr_value, block_start_count, block_stack,
11456 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
11457 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
11458 dynamically in stmt elt of struct function for each function.
11459 (struct nesting): Rename function_call_count elt to n_function_calls,
11460 target_temp_slot_level to block_target_temp_slot_level. All users
11462 (struct stmt_status): New structure definition.
11463 Add many accessor macros for stmt_status elements which previously
11464 were global variables.
11465 (init_stmt_for_function): Allocate stmt elt for current_function.
11466 Reflect that block_start_count was renamed to
11467 current_block_start_count.
11468 (save_stmt_status, restore_stmt_status): Delete functions.
11469 (preserve_subexpressions_p): Don't access loop_stack when outside
11471 (expand_start_bindings): Reflect that block_start_count was renamed to
11472 current_block_start_count.
11473 (expand_fixup): Likewise.
11474 (expand_decl): Don't access block_stack when outside a function.
11475 (expand_decl_cleanup): Likewise.
11476 (expand_dcc_cleanup): Likewise.
11477 (expand_dhc_cleanup): Likewise.
11478 (expand_anon_union_decl): Likewise.
11479 (set_file_and_line_for_stmt): New function.
11480 (in_control_zone_p): New function.
11482 * function.h (struct function): Add new elt stmt.
11483 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
11484 case_stack, nesting_stack, nesting_depth, block_start_count,
11485 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
11486 emit_lineno, goto_fixup_chain.
11487 (save_eh_status, restore_eh_status, save_stmt_status,
11488 restore_stmt_status): Delete declarations.
11489 * function.c (push_function_context_to): Don't call save_stmt_status.
11490 (pop_function_context_to): Don't call restore_stmt_status.
11491 * tree.h (in_control_zone_p): Declare.
11492 * rtl.h (set_file_and_line_for_stmt): Declare.
11494 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
11495 call set_file_and_line_for_stmt.
11497 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
11499 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
11500 Also update copyright.
11502 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11504 * c-pragma.c: Don't include "except.h".
11505 * emit-rtl.c: Likewise.
11506 * stor-layout.c: Likewise.
11507 * tree.c: Likewise.
11508 * varasm.c: Likewise.
11510 * flow.c: Include "function.h".
11511 * tree.h (init_dummy_function_start): Declare new function.
11513 * except.h (struct eh_status): New structure.
11514 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
11516 (eh_return_stub_label, ehstack, catchstack, ehqueue,
11517 catch_clauses, false_label_stack, caught_return_label_stack,
11518 protect_list, current_function_ehc): Add accessor macros for the
11519 corresponding fields in current_function->eh; delete declarations
11520 for all items that used to be declared here.
11521 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
11522 catch_clauses, false_label_stack, caught_return_label_stack,
11523 protect_list, current_function_ehc): Delete variables.
11524 (init_eh_for_function): Allocate current_function->eh.
11525 (save_eh_status, restore_eh_status): Delete functions.
11527 * function.h (struct function): Add fields next_global and eh.
11528 Delete all exception handling related fields.
11529 * function.c (current_function): New variable.
11530 (all_functions): New variable.
11531 (push_function_context_to): Don't allocate a struct function,
11532 use current_function instead. Call init_dummy_function_start when
11533 outside a function. Clear current_function before returning.
11534 (pop_function_context_from): Restore current_function.
11535 Don't free the restored struct function.
11536 (prepare_function_start): New function.
11537 (init_dummy_function_start): New function.
11538 (init_function_start): Break out some code into prepare_function_start
11541 * stmt.c (save_stmt_status): Don't call save_eh_status.
11542 (restore_stmt_status): Don't call restore_eh_status.
11544 * Makefile.in: Update dependencies.
11546 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
11548 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
11549 of depending on a magic constant value. Update comments.
11550 (hppa_expand_prologue): Similarly.
11552 * pa.md (reload_indi, reload_outdi): Allow any register for the
11553 original reload register.
11555 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
11557 * cccp.c (print_help): Change marcos to macros.
11559 1999-07-30 Richard Henderson <rth@cygnus.com>
11561 * c-typeck.c (initializer_constant_valid_p): Move ...
11562 * c-common.c (initializer_constant_valid_p): ... here. Use
11563 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
11564 of label addresses.
11565 * c-common.h (initializer_constant_valid_p): Declare.
11566 * c-tree.h (initializer_constant_valid_p): Remove.
11568 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
11570 * config/i386/sol2-c1.asm: Align the stack.
11571 * config/i386/sol2-gc1.asm: Likewise.
11573 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
11575 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
11576 -Asparclite for sparc86x.
11577 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
11579 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
11581 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
11583 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
11584 the user if using the non-default arch size in BI_ARCH configuration.
11585 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
11587 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
11588 Fix patterns so that they actually match.
11589 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
11590 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
11591 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
11593 (mulsidi3): Reflect this in the expand.
11594 (smulsi3_highpart): Only on TARGET_ARCH32.
11595 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
11596 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
11597 (umulsidi3): Reflect this in the expand.
11598 (umulsi3_highpart): Only on TARGET_ARCH32.
11599 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
11600 don't require g0 to be zero.
11601 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
11602 ({,u}divsi3): New expands.
11603 ({,u}divsi3_sp64): New patterns.
11604 (after lshrdi3_v8plus): Four new patterns to help combiner
11605 optimizing nested mixed mode shifts.
11607 * config/sparc/sparc.c (sparc_override_options): Use deprecated
11608 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
11609 speed things up. Don't use them by default on plain v9 in 64bit
11610 mode, according to what SPAMv9 sais.
11612 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
11613 top 32 bits of %[og][0-7] in signal handlers.
11614 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
11616 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
11618 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
11619 (ashlsi3): Corresponding changes.
11621 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
11623 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
11625 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
11627 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11629 * arm.h (Hint): Delete macro.
11630 Substitute HOST_WIDE_INT for Hint in some prototypes.
11631 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
11633 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
11635 * builtins.c (expand_builtin_setjmp): Use force_operand to
11636 make sure that the buffer address is in a suitable form to be
11637 passed to force_reg.
11639 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
11641 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
11644 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
11646 * pa.md (indirect_jump): Remove mode from match_operand. Verify
11647 proper mode in the condition string.
11648 (icacheflush, dcacheflush): Remove modes from match_operands.
11650 * pa.c (emit_move_sequence): Always convert scratch_reg to the
11651 proper mode before using it.
11653 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
11656 * pa.c (store_reg): Do not call add_high_const generator directly.
11657 (load_reg, set_reg_plus_d): Likewise.
11658 * pa.md (add_high_const): No longer a named pattern.
11660 * pa.c (legitimize_address): Consistently use Pmode rather than
11661 SImode. Do not call gen_pic2_highpart directly anymore.
11662 * pa.md (pic2_highpart): No longer a named pattern.
11663 (pic2_lo_sum): Similarly. Reformat to make more readable.
11665 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
11670 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11672 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
11674 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
11676 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
11677 and tag the spill mems.
11678 (hppa_va_start): New.
11679 (hppa_va_arg): New.
11680 * pa.h (EXPAND_BUILTIN_VA_START): New.
11681 (EXPAND_BUILTIN_VA_ARG): New.
11683 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
11685 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
11686 and tag the spill mems.
11687 (mn10300_va_start): New.
11688 (mn10300_va_arg): New.
11689 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
11690 (EXPAND_BUILTIN_VA_ARG): New.
11692 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
11694 * mn10200.c (mn10200_va_arg): New.
11695 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
11697 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
11699 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
11700 rather than play with TREE_INT_CST_LOW.
11702 1999-07-27 Philip Blundell <pb@nexus.co.uk>
11704 * config/arm/telf.h: Include dbxelf.h.
11705 (CPP_PREDEFINES): Only define if not already defined.
11706 (ASM_IDENTIFY_GCC): Likewise.
11707 (SUBTARGET_EXTRA_SECTIONS): Likewise.
11708 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
11709 * config/arm/thumb.h (LINK_SPEC): Only define if not already
11711 (DBX_DEBUGGING_INFO): Don't define.
11712 * config/arm/linux-telf.h: New file.
11713 * config/arm/linux-tgas.h: New file.
11714 * config/arm/t-thumb-linux: New file.
11715 * config/arm/uclinux-elf.h: New file.
11716 * config/arm/uclinux-telf.h: New file.
11717 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
11718 thumb-*-uclinux): New targets.
11719 * configure: Regenerate.
11721 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
11723 * pa.md (post_store, pre_load): New expanders.
11724 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
11725 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
11726 need to directly generate RTL for them.
11727 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
11730 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
11732 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
11733 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
11734 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
11735 (secndary_reload_class): Make TARGET_ELF conditional compile.
11736 (print_operand_address): Similar.
11737 (output_toc): Print all values as hex.
11738 (get_issue_rate): Rearrange and add RS64A and PPC630.
11739 * rs6000.h (processor_type): Add RS64A and PPC630.
11740 (PROCESSOR_POWERPC64): New.
11741 (PROMOTE_MODE): Use word_mode.
11742 (RTX_COSTS): Add RS64A and PPC630.
11743 * rs6000.md (scheduling information): Add lmul and ldiv
11744 representing 64-bit integer multiply and divide. Add rs64a and
11745 PPC630 information.
11746 (ashldi3): Add support for "rldic" instruction.
11747 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
11749 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
11751 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
11752 instead of V8 for sparclite86x in cpu_table.
11754 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11756 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
11757 output_file_directive.
11759 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
11761 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
11762 tree for op1, not the rtl.
11764 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
11766 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
11767 to m88k_va_start, leaving only the register spill.
11768 (m88k_build_va_list): New.
11769 (m88k_va_start): New.
11770 (m88k_va_arg): New.
11771 * m88k.h (BUILD_VA_LIST_TYPE): New.
11772 (EXPAND_BUILTIN_VA_START): New.
11773 (EXPAND_BUILTIN_VA_ARG): New.
11775 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
11777 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
11778 Rename from expand_builtin_saveregs.
11779 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
11781 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
11783 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
11784 for the register spill block.
11785 (i960_build_va_list): New.
11786 (i960_va_start): New.
11787 (i960_va_arg): New.
11788 * i960.h (BUILD_VA_LIST_TYPE): New.
11789 (EXPAND_BUILTIN_VA_START): New.
11790 (EXPAND_BUILTIN_VA_ARG): New.
11791 * i960.md (store_multiple): Use change_address on individul mems.
11793 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
11795 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
11797 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
11798 (expand_builtin_va_end): Evaluate arg for side effects.
11799 * c-common.c (c_common_nodes_and_builtins): Construct a
11800 va_list_arg_type_node to handle array decomposition to pointer.
11802 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
11804 * except.c (start_dynamic_cleanup): Use force_operand on the
11807 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
11809 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
11810 * c4x.c (c4x_va_arg): New.
11812 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
11814 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
11815 has manual_pop set.
11817 1999-07-26 Nathan Sidwell <nathan@acm.org>
11819 * eh-common.h (__eh_matcher): Prototype correctly.
11821 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
11823 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
11824 (TARGET_SINGLE_PIC_BASE): Likewise.
11825 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
11827 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
11828 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
11829 (TARGET_OPTIONS): Add -mpic-register=N.
11830 (OUTPUT_INT_ADDR_CONST): New macro.
11831 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
11832 LEGITIMATE_PIC_OPERAND_P): Likewise.
11833 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
11834 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
11835 output_addr_const directly.
11836 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
11838 (thumb_pic_register, thumb_pic_register_string): Declare.
11840 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
11842 (label_mentioned_p): New function: Imported from arm.c.
11843 (legitimize_pic_address): New function: Imported from arm.c.
11844 (is_pic):New function: Imported from arm.c.
11845 (thumb_finalize_pic):New function: Imported from arm.c.
11846 (add_constant): Cope with PIC constants.
11847 (fixit): Cope with PIC constants.
11848 (output_return): Do not treat the PIC register as live if
11849 TARGET_SINGLE_PIC_BASE is true.
11850 (thumb_function_prologue): Do not treat the PIC register as live if
11851 TARGET_SINGLE_PIC_BASE is true.
11852 (thumb_expand_prologue): Do not treat the PIC register as live if
11853 TARGET_SINGLE_PIC_BASE is true.
11854 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
11855 TARGET_SINGLE_PIC_BASE is true.
11856 (thumb_print_operand): Accept '|'.
11857 (thumb_override_options): Process PIC options.
11859 * config/arm/thumb.md (movsi): Support PIC.
11860 (call_insn): Change "i" constraint to "X".
11861 (call_value_insn): Likewise.
11862 (consttable_4, consttable_8, consttable_end): Set and clear
11863 "making_const_table" as appropriate.
11864 (pic_load_addr, pic_add_dot_plus_four): New insns.
11866 * invoke.texi (Thumb Options): Fix spelling. Document new
11867 options -msingle-pic-base and -mpic-register=.
11869 1999-07-26 Andrew Haley <aph@cygnus.com>
11871 * config/m32r/initfini.c (__init): Use a full word immediate for
11872 __fini: this allows it to be placed in any memory region.
11874 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
11875 -mmodel=medium. This is OK for all memory models.
11877 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
11879 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
11880 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
11882 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
11884 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
11887 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
11889 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
11891 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
11892 (BUILD_VA_LIST_TYPE): New.
11893 (EXPAND_BUILTIN_VA_START): New.
11894 (EXPAND_BUILTIN_VA_ARG): New.
11895 * i860.c (output_delayed_branch): Disable.
11896 (output_delay_insn): Likewise.
11897 (i860_saveregs): New.
11898 (i860_build_va_list): New.
11899 (i860_va_start): New.
11900 (i860_va_arg): New.
11901 * i860.md: Disable all peepholes using output_delayed_branch.
11902 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
11904 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
11906 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
11907 (BUILD_VA_LIST_TYPE): New.
11908 (EXPAND_BUILTIN_VA_START): New.
11909 (EXPAND_BUILTIN_VA_ARG): New.
11910 * clipper.c (clipper_builtin_saveregs): Only dump registers.
11911 Return the address of the save area.
11912 (clipper_build_va_list): New.
11913 (clipper_va_start): New.
11914 (clipper_va_arg): New.
11916 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
11918 * arc.h (EXPAND_BUILTIN_VA_START): New.
11919 (EXPAND_BUILTIN_VA_ARG): New.
11920 * arc.c (arc_setup_incoming_varargs): Set alias set of
11922 (arc_va_start): New.
11925 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
11927 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
11928 (BUILD_VA_LIST_TYPE): New.
11929 (EXPAND_BUILTIN_VA_START): New.
11930 (EXPAND_BUILTIN_VA_ARG): New.
11931 * alpha.c (alpha_builtin_saveregs): Delete.
11932 (alpha_build_va_list): New.
11933 (alpha_va_start): New.
11934 (alpha_va_arg): New.
11936 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
11938 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
11940 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
11941 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
11943 * gcc.texi: More changes related to list conversion.
11944 * invoke.texi: Likewise.
11946 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
11948 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
11949 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
11950 (expand_builtin_next_arg): Accept ARGLIST not EXP.
11951 (stabilize_va_list): New function.
11952 (std_expand_builtin_va_start): New function.
11953 (expand_builtin_va_start): New function.
11954 (get_varargs_alias_set): New function.
11955 (std_expand_builtin_va_arg): New function.
11956 (expand_builtin_va_arg): New function.
11957 (expand_builtin_va_end): New function.
11958 (expand_builtin_va_copy): New function.
11959 (expand_builtin): Call them.
11960 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
11961 __builtin_{varargs_start,stdarg_start,end,copy}.
11962 (build_va_arg): New function.
11963 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
11964 (build_va_arg): Declare.
11965 * c-decl.c (ptr_type_node, va_list_type_node): New.
11966 * c-parse.gperf (__builtin_va_arg): New.
11967 * c-parse.in (VA_ARG): New token.
11968 (unary_expr): Recognize it.
11969 * expr.c (expand_expr): Expand VA_ARG_EXPR.
11970 * expr.h (std_expand_builtin_va_start): Declare.
11971 (std_expand_builtin_va_arg): Declare.
11972 (expand_builtin_va_arg): Declare.
11973 (get_varargs_alias_set): Declare.
11974 * tree.def (VA_ARG_EXPR): New.
11975 * tree.h (BUILT_IN_VARARGS_START): New.
11976 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
11977 (ptr_type_node, va_list_type_node): Declare.
11978 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
11979 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
11980 * m88k.h, m88k.c: Likewise.
11981 * mn10300.h, mn10300.c: Likewise.
11982 * pa.h, pa.c: Likewise.
11983 * rs6000.h, rs6000.c: Likewise.
11984 * sh.h, sh.c: Likewise.
11985 * sparc.h, sparc.c: Likewise.
11987 * emit-rtl.c (operand_subword): Copy alias set.
11988 (change_address): Likewise.
11990 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
11992 * pa.c (compute_frame_size): Scan all the used callee saved registers,
11993 not just the first one.
11995 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
11997 * config/arm/arm.h (TARGET_SWITCHES): Add
11998 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
11999 (TARGET_OPTIONS): Add -mpic-register=.
12000 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
12001 (arm_pic_register_string): Declare.
12002 (NEED_PLT_GOT): Delete, replace with ...
12003 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
12004 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
12005 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
12006 * config/arm/arm.c (arm_override_options): Add new option
12008 (arm_pic_register_string): New variable.
12009 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
12010 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
12011 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
12012 (output_return_instruction): Likewise.
12013 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
12014 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
12015 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
12017 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
12018 mention of -msched-prolog. Document new options -msingle-pic-base
12019 and -mpic-register=.
12021 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
12023 * haifa-sched.c (reemit_notes): Tidy.
12024 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
12027 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
12029 * explow.c (trunc_int_for_mode): New function.
12030 (plus_constant_wide): Use it.
12031 * combine.c (simplify_and_const_int): Likewise.
12032 (merge_outer_ops): Likewise.
12033 (simplify_shift_const): Likewise.
12034 * cse.c (simplify_unary_operation): Likewise.
12035 (simplify_binary_operation): Likewise.
12036 * emit-rtl.c (operand_subword): Likewise.
12037 * rtl.h: Declare it.
12039 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12041 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
12042 (use NUM_REGS instead of NUM_INTS).
12044 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12046 * builtins.c: New file.
12047 * expr.c (saveregs_value, apply_args_value): Delete definition,
12048 moved into builtins.c.
12049 (string_constant): No longer static.
12050 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
12051 apply_args_size, apply_result_size, result_vector,
12052 expand_builtin_apply_args, expand_builtin_apply,
12053 expand_builtin_return): Delete functions, moved into builtins.c.
12054 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
12055 * expr.h (saveregs_value, apply_args_value): Declare variables.
12056 (expand_builtin, string_constant): Declare functions.
12057 * Makefile.in: Update to build builtin.o.
12059 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
12061 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
12062 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
12063 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
12064 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
12066 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
12069 1999-07-21 Michael Meissner <meissner@cygnus.com>
12071 * print-rtl.c (print_rtx): Print the names of the virtual
12074 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
12076 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
12077 introduced in previous delta.
12079 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12081 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
12082 to avoid name clash.
12084 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
12086 * c-lex.c (yylex) : Correct the test for overflow when lexing
12089 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
12091 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
12092 (adjust_priority): Always call ADJUST_PRIORITY.
12093 (schedule_insn): Only put insns into the ready at cost 0.
12094 (schedule_block): Remove redundant initial sort. Give clock_var
12095 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
12097 * tm.texi (MD_SCHED_REORDER): Update docs.
12099 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
12100 * sparc.c (ultra_reorder_called_this_block): Delete.
12101 (ultrasparc_sched_init): Don't set it.
12102 (ultrasparc_sched_reorder): Don't check it.
12104 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
12106 * rs6000.h (struct rs6000_args): Add sysv_gregno.
12107 * rs6000.c (init_cumulative_args): Init sysv_gregno.
12108 (function_arg_boundary): Align DFmode.
12109 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
12110 to get fp reg and stack overflow correct.
12111 (function_arg): Likewise.
12112 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
12113 (setup_incoming_varargs): Restructure for ABI_V4; use
12114 function_arg_advance to skip final named argument.
12115 (expand_builtin_saveregs): Properly unskip the last integer arg
12116 when doing varargs. Adjust overflow location calculation.
12118 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
12119 explicitly unsigned.
12120 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
12121 (__VA_GP_REGSAVE): Similarly.
12122 (__va_longlong_p): Delete.
12123 (__va_arg_type_violation): New declaration.
12124 (va_arg): Restructure. Flag promotion errors. Align double.
12125 TFmode passed by reference.
12127 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
12128 in the HOST_BITS_PER_WIDE_INT > 32 case.
12130 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
12132 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
12134 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
12136 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
12137 * toplev.c (documented_lang_options): Add -fpreprocessed.
12138 * cpplib.h (struct cpp_buffer): Add preprocessed.
12139 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
12140 (cpp_start_read): Don't expand macros or emit an initial #line
12141 directive if -fpreprocessed.
12143 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
12145 * cpplib.h (struct cpp_buffer): Added manual_pop for
12146 better C++ tokenization.
12147 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
12148 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
12149 * c-common.c (cpp_token): Make non-static.
12151 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12153 * c-common.h: New file.
12154 * c-common.c (permanent_obstack): Delete unused declaration.
12155 (c_global_trees): New array.
12156 (c_common_nodes_and_builtins): New function; split off common code
12157 from init_decl_processing in both c-decl.c and cp/decl.c.
12158 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
12159 c_global_trees and accessor macros defined in c-common.h.
12160 Include c-common.h.
12161 * c-decl.c: Delete definitions for tree nodes that were replaced by
12163 (init_decl_processing): Build void_list_node.
12164 Call c_common_nodes_and_builtins; delete code to generate the common
12166 * objc/objc-act.c (build_module_descriptor): Rename variable
12167 void_list_node to avoid clash with c-common.h.
12169 * Makefile.in: Update dependencies.
12170 * objc/Make-lang.in: Likewise.
12172 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
12174 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
12175 (UNIQUE_SECTION_P): Likewise.
12176 (UNIQUE_SECTION): Likewise.
12178 1999-07-19 Linas Vepstas <linas@linas.org>
12180 * config/i370/README: New file.
12181 * config/i370/linux.h: New file.
12182 * config/i370/mvs.h: New file.
12183 * config/i370/oe.h: New file.
12184 * config/i370/t-linux: New file.
12185 * config/i370/t-mvs: New file.
12186 * config/i370/t-oe: New file.
12187 * config/i370/x-oe: New file.
12188 * config/i370/xm-linux.h: New file.
12189 * config/i370/xm-mvs.h: New file.
12190 * config/i370/xm-oe.h: New file.
12192 * i370.c (label_node_t): Add first_ref_page, label_addr,
12193 label_first_ref, label_last_ref members.
12194 (mvs_need_base_reload): Renamed from mvs_label_emitted.
12195 (MAX_MVS_LABEL_SIZE): Define.
12196 (MAX_LONG_LABEL_SIZE): Define.
12197 (alias_node_t, alias_anchor, alias_number): New.
12198 (mvs_function_table): Reorder for EBCDIC.
12199 (ascebc, ebcasc): Unconditionally define.
12200 (i370_branch_dest, i370_branch_length): New functions.
12201 (i370_short_branch, i370_label_scan): New functions.
12202 (mvs_get_label): Renamed from mvs_add_label. Search for
12203 an existing label before creating a new one.
12204 (mvs_add_label): New function.
12205 (mvs_get_label_page): New function.
12206 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
12207 over the entire list.
12208 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
12209 (mvs_check_page) [TARGET_ELF_ABI]: New function.
12210 (mvs_add_alias, mvs_need_alias): New functions.
12211 (mvs_get_alias, mvs_check_alias): New functions.
12212 (handle_pragma): New function.
12213 (mvs_function_check): New function.
12214 (unsigned_jump_follows_p): Search harder.
12215 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
12216 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
12217 * i370.h (TARGET_VERSION): Delete.
12218 (CPP_SPEC, CPP_PREDEFINES): Delete.
12219 (mvs_label_emitted): Delete.
12220 (TARGET_EBCDIC): Delete.
12221 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
12222 (HANDLE_PRAGMA): Define.
12223 (HARD_REGNO_NREGS): Handle complex modes.
12224 (HARD_REGNO_MODE_OK): Likewise.
12225 (CLASS_MAX_NREGS): Likewise.
12226 (RET_REG): Likewise.
12227 (EXTRA_CONSTRAINT): Define.
12228 (RETURN_IN_MEMORY): True for DImode.
12229 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
12230 (FUNCTION_PROFILER): Delete.
12231 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
12232 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
12233 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
12234 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
12235 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
12236 (ASM_FILE_START): Add "RMODE ANY".
12237 (ASM_OUTPUT_EXTERNAL): Check for aliases.
12238 (ASM_GLOBALIZE_LABEL): Likewise.
12239 (ASM_OUTPUT_LABELREF): Likewise.
12240 (ASM_OUTPUT_COMMON): Likewise.
12241 (PRINT_OPERAND): Handle 'K', 'W', default.
12242 (PRINT_OPERAND_ADDRESS): New.
12243 (Lots of defines): Add support for TARGET_ELF_ABI.
12244 * i370.md (attr length): New. Define for all patterns.
12245 (*): Lots of tweeks to assembly output and constraints.
12247 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
12249 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
12250 Disable patterns performing SImode comparisons with SImode values
12251 if TARGET_POWERPC64 and instruction does not sign-extend or does
12252 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
12253 differ for signed quantities.
12254 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
12255 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
12256 (decrement_and_branch_on_count): Add 64-bit variant.
12258 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12260 * final.c (output_asm_insn): When searching for the matching string
12261 for a given dialect, don't run past the end of the list of
12262 alternatives if there are fewer alternatives in the template than
12265 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
12267 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
12268 Removed paragraph about compression of files and size limitation,
12269 duplicated in the FAQ. Use gcc-patches for posting patches.
12270 * gcc.c (main): Updated URL with bug reporting instructions to
12271 gcc.gnu.org. Removed e-mail address.
12272 * system.h (abort): Likewise.
12274 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12276 * Makefile.in (stmp-multilib-sub): Make the files extracted
12277 from $(LIBGCC1) writable.
12279 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
12281 * config/arm/aout.h: Reformat for improved readability.
12283 * config/arm/arm.h: Reformat for improved readability.
12284 Replace uses of fprintf with asm_fprintf where appropriate.
12285 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
12286 function declaration assembler actions.
12287 (NUM_INTS): New macro: Convert from bytes to words.
12288 (NUM_REGS): New macro: Compute number of registers required to
12289 hold a quanitity of tyep MODE.
12290 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
12292 (NUM_ARG_REGS): New macro: The number of argument registers
12294 (ARG_REGISTER): New macro: Compute the register number of the Nth
12296 (LAST_ARG_REGNUM): New macro: The number of the last argument
12298 (SP_REGNUM): New macro: Register number of the stack pointer.
12299 (FP_REGNUM): New macro: Register number of the frame pointer.
12300 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
12301 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
12302 CUMULATIVE_ARGS so that it counts registers not bytes.
12304 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
12306 Replace uses of fprintf with asm_fprintf where appropriate.
12307 (output_ascii_pseudo_op): Replace with version from thumb.c
12309 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
12311 * config/arm/elf.h (CPP_PREDEFINES): Replace with
12312 SUBTARGET_CPP_SPEC.
12313 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
12314 (ASM_FILE_START): Emit ASM_APP_OFF.
12316 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
12318 * pa.c (compute_frame_size): Round frame according to
12319 STACK_BOUNDARY rather than a hardwired value.
12321 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
12323 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
12325 * configure: Rebuilt.
12327 * configure.in (hppa*-*-linux*): New configuration.
12328 * configure: Rebuilt.
12329 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
12330 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
12331 * pa/pa-linux.h: New file.
12332 * pa/t-linux: New file.
12333 * pa/xm-linux.h: New file.
12335 * pa.c (hppa_legitimize_address): Change references from SImode to
12336 either Pmode or word_mode as appropriate.
12337 (emit_move_sequence, store_reg, load_reg): Likewise.
12338 (set_reg_plus_d, hppa_expand_prologue): Likewise.
12339 (output_mul_insn): Likewise.
12340 * pa.h (PROMOTE_MODE): Likewise.
12341 (INITIALZE_TRAMPOLINE): Likewise.
12342 (Pmode): Define to word_mode.
12344 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
12345 value of 4. Allocate 8 bytes for each FP register save.
12346 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
12348 (hppa_expand_prologue): Likewise.
12349 * pa.h (PROMOTE_MODE): Likewise.
12350 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
12351 (FUNCTION_ARG_BOUNDARY): Likewise.
12353 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
12355 * pa.c (out_of_line_prologue_epilogue): Delete.
12356 (override_options): Remove -mspace related code.
12357 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
12358 (compute_frame_size): Only allocate space for register that
12359 actually need to be saved.
12360 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
12361 (TARGET_SWITCHES): Remove -mspace, -mno-space
12362 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
12363 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
12364 * pa/ee.asm, pa/ee_fp.asm: Delete.
12366 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
12368 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
12369 directive in column zero.
12371 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
12373 * m68k.c (output_function_prologue): Fix computation of save mask
12374 when generating PIC code.
12376 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
12378 * tree.c (build_type_attribute_variant): Move current_obstack restore
12379 after build_qualified_type call.
12381 1999-07-15 Mark Mitchell <mark@codesourcery.com>
12383 * configure.in: Use t-iris6, even with GNU LD.
12384 * config/mips/iris6gld.h: Fix typo in linker spec.
12385 * config/mips/t-iris6gld: Remove.
12387 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
12389 * rs6000.md (insv, extzv): Remove SImode dependence in named
12390 patterns. Explicitly generate DImode RTL if PowerPC64 and
12392 (insvdi): Reverse start and size in instruction template.
12394 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
12396 * invoke.texi: Typo fixes.
12398 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
12400 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
12401 handle at this time instead of silently generating incorrect code.
12402 (gen_imagpart): Likewise.
12404 * reload.c (find_reloads): Emit a USE for a pseudo register without
12405 a hard register if we could not create an optional reload for the
12408 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12410 * c-typeck.c (output_init_element, process_init_element):
12411 When advancing constructor_unfilled_fields for a RECORD_TYPE,
12412 check for nameless bit fields.
12414 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
12416 * regclass.c (scan_one_insn): Notice subregs that change the
12417 size of their operand.
12418 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
12420 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
12422 * configure.in (alpha*-*-*): Include alpha/t-ieee.
12423 * configure: Rebuilt.
12424 * alpha/t-ieee: New file.
12426 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
12428 * rs6000.c (find_addr_reg): Do not select r0 as an address
12431 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
12433 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
12435 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
12437 * rs6000.md (movsf): Do not force easy FP constants into memory.
12439 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
12440 immed_double_const to ensure they are properly truncated then
12443 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
12445 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
12446 always unless NO_DEBUG is used. Compile this code
12448 (replace_symbols_in_block): Compile it unconditionally.
12450 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
12452 * configure.in (i?86-*-elf*): New target.
12453 * configure: Rebuilt.
12454 * i386/i386elf.h, i386/t-i386elf: New files.
12456 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
12458 * toplev.c (main): Don't complain about saying -gdwarf.
12459 (rest_of_compilation): Remove redundant code.
12461 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
12463 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
12465 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
12467 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
12468 "Li960R:", to avoid name clash.
12470 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12472 * loop.c (check_dbra_loop): When reversing a loop, delete all
12473 REG_EQUAL notes referencing the reversed biv except those which are
12474 for a giv based on it.
12476 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
12478 * version.c: Drop "gcc-" prefix from version #.
12480 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
12482 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
12483 the label if we're being verbose.
12485 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
12487 * m68k.c (output_function_prologue): Add pic register to mask
12488 if live and flag_pic.
12489 (output_function_epilogue): Likewise.
12491 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
12493 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
12494 directives in column zero.
12496 * pa/elf.h (ASM_FILE_START): Define.
12497 * pa/som.h (ASM_FILE_START): Include .level directives.
12498 * pa/hpux10.h (ASM_FILE_START): Delete.
12499 * pa/hpux11.h (ASM_FILE_START): Delete.
12501 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
12503 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12505 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
12506 when reload_out equals reload_in.
12508 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
12510 * invoke.texi (Spec Files): New node: Describe the contents of
12513 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
12515 * invoke.texi (DEC Alpha Options): Put @end table at
12516 beginning of line, to avoid confusing texi2html.
12518 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
12520 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
12521 introduced in previous delta.
12523 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12525 * reload1.c (gen_reload): When synthesizing a 3 operand add
12526 sequence, improve test for when to reload OP1 into the reload
12527 register instead of OP0.
12529 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
12531 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
12533 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
12535 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
12538 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
12540 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
12541 (va_dcl): Use __builtin_va_alist_t.
12543 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
12545 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
12546 on the permanent_obstack.
12547 * dwarfout.c (output_type): Likewise.
12549 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
12551 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
12552 Merged from c-typeck.c and cp/typeck.c.
12553 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
12554 Merged into c-common.
12556 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
12558 * c-lex.c (errorcount): Declare it.
12559 (finish_parse): Update errorcount when using CPPLIB.
12561 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
12563 * fixinc/inclhack.def(end_else_label): Double the backslash so
12564 sed gets a chance to see it.
12565 * fixinc/inclhack.sh: regen
12566 * fixinc/fixincl.x: regen
12568 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
12570 Add framework to support armv5 architecture when it becomes
12573 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
12574 (arm_arch5): New variable.
12575 (all_architectures): Add armv5 line.
12576 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
12577 -march=armv5 is specified on the command line.
12578 (arm_arch5): Export this variable.
12579 * invoke.texi: Document new string accepted by -march= switch for
12582 * config/arm/arm.h: Replace use of constant 12 as a register
12583 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
12584 * config/arm/arm.c: Replace use of constant 12 as a register
12585 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
12587 * config/arm/elf.h: Tidy up.
12588 * config/arm/coff.h: Tidy up.
12590 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
12592 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
12593 * gcc/config/mips/t-iris6gld: New file.
12594 * gcc/config/mips/iris6gld.h: Likewise.
12596 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
12598 * c-decl.c (widest_integer_literal_type_node,
12599 widest_unsigned_literal_type) : New.
12600 (init_decl_processing): Handle/use the two new types.
12601 * c-common.c (type_for_size,type_for_mode) : Same.
12602 * c-lex.c (yylex) : Same.
12603 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
12605 * c-tree.h (widest_integer_literal_type_node,
12606 widest_unsigned_literal_type) : New.
12608 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
12610 * dwarfout.c (field_byte_offset): Correctly compute the object's
12611 byte offset for the first bit of a field which crosses an alignment
12612 boundary on a !BYTES_BIG_ENDIAN target.
12614 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
12616 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
12619 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
12620 Jeff Law <law@cygnus.com>
12622 * ginclude/varargs.h (va_dcl): Use word_mode for type of
12625 * except.c: Include intl.h.
12626 (expand_eh_return): Set current_function_cannot_inline.
12627 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
12628 * function.h (struct function): Add eh_return_stub_label.
12629 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
12630 * Makefile.in (except.o): Depend on intl.h.
12632 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
12634 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
12635 same as offsettable in cases 1 and 2.
12637 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
12639 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
12640 (extlh, extwh): Likewise.
12642 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
12644 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
12646 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
12648 * configure.in: Add arm-pe and thumb-pe targets.
12649 * configure: Regenerate.
12651 * thumb.c (arm_naked_function_p): New function: Determines if
12652 a function is naked (has no gcc generated prologue/epilogue).
12653 (is_called_in_ARM_mode): Return true if the func has the
12654 interfacearm attribute.
12655 (output_return): Do not generate a return for naked functions.
12656 (thumb_function_prologue): Do not generate a prologue for
12658 (thumb_expand_prologue): Do not generate a prologue for naked
12660 (thumb_expand_epilogue): Do not generate an epilogue for naked
12662 (arm_valid_machine_decl_attribute): New function, copied from
12663 arm.c: Permit naked and interfacearm attributes.
12665 * config/arm/pe.c: New file: Support code for arm-pe target.
12666 * config/arm/pe.h: New file: Header file for arm-pe target.
12667 * config/arm/tpe.h: New file: Header file for thumb-pe target.
12668 * config/arm/t-thumb-pe: New file: Makefile fragment for
12671 1999-07-01 Mark Kettenis <kettenis@gnu.org>
12673 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
12674 -fPIC or -fpic is specified.
12676 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
12678 * expr.c (emit_block_move): Use copy_to_mode_reg for
12679 !TARGET_MEM_FUNCTIONS case too.
12681 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
12683 * configure: Rebuilt.
12684 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
12685 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
12686 definitions made redundant by dbxelf.h inclusion. Delete
12687 lots of definitions related to assembly output that are
12688 specific to the SOM object format.
12689 * pa.c (output_function_prologue): Do not emit the function's
12691 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
12692 * pa-pro.h: Deleted.
12693 * som.h: New file with SOM specific definitions.
12694 * elf.h: New file with ELF specific definitions.
12696 * elfos.h (const_section): Output a tab before assembler directives.
12697 (ctors_section, dtors_section): Likewise.
12698 (ASM_OUTPUT_SECTION_NAME): Likewise.
12700 * pa/pa1.h: Delete unused file.
12702 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
12704 * configure.in (hppa*-hp-hpux11*): New configuration.
12705 * configure: Rebuilt.
12706 * pa/pa-hpux11.h: New file.
12707 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
12710 * mips.md (leasi, leadi): New patterns.
12712 * expr.c (emit_block_move): Properly handle case where one of the
12713 block move arguments has a queued increment or decrement.
12714 (clear_storage): Similarly. Fix formatting goof.
12716 1999-06-28 "David O'Brien" <obrien@NUXI.com>
12718 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
12719 semicolon from the BSD VA_LIST replacement expression.
12721 * fixinc/inclhack.sh: regen
12722 * fixinc/fixincl.x: regen
12724 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
12725 now use the fixincl program.
12727 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
12729 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
12730 case. Also make the PIC register call_used.
12732 * m68k.h (FINALIZE_PIC): Delete.
12733 * m68k.c (finalize_pic): Delete.
12735 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
12737 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
12740 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
12742 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
12744 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
12746 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
12748 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
12750 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
12752 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
12754 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
12756 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
12758 * rs6000.c (output_toc): Always use hex values for floating-point
12759 constants. Store single-precision values in upper-half of TOC
12760 entry in 64-bit mode.
12761 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
12762 to final constraints.
12763 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
12764 (fctiwz): Improve accuracy of RTL for pattern.
12766 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
12768 * expr.c (expand_expr): Allow RTL_EXPR's through the
12769 MAX_INTEGER_COMPUTATION_MODE checks.
12771 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
12773 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
12774 such that MASK_SUPPORT_ARCH is not negative.
12776 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
12778 * loop.c (verify_dominator): Properly handle ADDR_VEC and
12779 ADDR_DIFF_VEC insns that appear inside loops.
12781 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
12782 Jeff Law <law@cygnus.com>
12784 * rs6000.md (movdf_hardfloat32): Revert previous patch.
12785 Handle LO_SUM the same as offsettable in cases 1 and 2.
12786 * rs6000.c (find_addr_reg): Revert previous patch.
12788 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
12790 * system.h (strstr): New external function declaration.
12791 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
12792 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
12793 * config.in, configure: Rebuilt.
12795 1999-06-24 Tom Tromey <tromey@cygnus.com>
12797 * gcc.c (main): Read user-specified specs files after computing
12798 additional startfile_prefixes.
12800 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
12802 Revert these two patches:
12804 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12805 * loop.c (strength_reduce): When doing biv->giv conversion, update
12806 reg note of NEXT->insn.
12808 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12809 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
12811 (recombine_givs): Set ix field after sorting.
12813 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12815 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
12816 for the parts of an UNSPEC / UNSPEC_VOLATILE.
12818 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
12820 *fixinc/inclhack.def: Add fix development commentary
12821 (read_ret_type): reactivate and add selection clause
12822 (zzz_*): tweak output file name to match what is used in hackshell.tpl
12823 *fixinc/{fixincl.x|inclhack.sh}: regen
12825 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
12827 * expr.c (expand_expr): STRIP_NOPS before checking against
12828 MAX_INTEGER_COMPUTATION_MODE
12829 (check_max_integer_computation_mode): Likewise.
12831 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
12833 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
12835 1999-06-22 Jim Wilson <wilson@cygnus.com>
12837 * expr.c (store_expr): When target is a promoted subreg, return a
12838 promoted subreg as a result.
12840 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
12842 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
12844 (dwarf2out_define): Mark unused parameters appropriately.
12845 (gen_unspecified_parameters_die): Ditto.
12846 (gen_subprogram_die): Fix signed/unsigned warnings.
12847 (gen_variable_die): Ditto.
12849 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
12851 * fixinc/inclhack.def(end_else_label): combined else_label
12852 and endif_label and fixed the sed expression.
12853 *fixinc/{fixincl.x|inclhack.sh}: regen
12855 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
12857 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
12858 'x' when handling non-offsettable addresses
12860 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
12862 * final.c (shorten_branches): Don't try to split an insn that has
12865 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
12867 * config/mips/mips.c (symbolic_expression_p): New function.
12868 (mips_select_rtx_section): Put symbolic expressions in the
12869 data section, not the read-only data section.
12871 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
12873 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
12875 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
12877 * collect2.c (main): Log frame table count.
12878 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
12879 (scan_prog_file) [COFF]: Handle frame tables.
12881 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
12882 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
12883 * alpha/elf.h: Undef them again.
12884 * alpha/vms.h: Remove their definitions.
12886 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12888 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
12889 remove the clobber of r0 and change the REG_UNUSED note to
12892 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
12894 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
12895 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
12896 fits in HOST_WIDE_INT and one uses union to access a long constant
12899 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
12901 * sparc.c (sparc_override_options): Don't allow profiling for
12902 code models other than medlow.
12903 (sparc_function_profiler): New function from old FUNCTION_PROFILER
12904 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
12905 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
12906 (sparc_block_profiler): Likewise.
12907 (sparc_function_block_profiler_exit): Likewise.
12908 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
12909 (FUNCTION_BLOCK_PROFILER): Likewise.
12910 (BLOCK_PROFILER): Likewise.
12911 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
12912 (MCOUNT_FUNCTION): New.
12913 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
12914 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
12915 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
12916 (MCOUNT_FUNCTION): New.
12917 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
12918 (BLOCK_PROFILER): Delete.
12919 (MCOUNT_FUNCTION): New.
12921 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
12923 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
12925 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
12927 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
12930 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
12933 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
12936 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
12939 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
12941 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
12944 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
12946 * i386/djgpp.h (LIB_SPEC): New.
12947 (STARTFILE_SPEC): New.
12949 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
12951 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
12953 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
12956 * system.h (WSTOPSIG): New macro.
12958 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
12960 * c-pragma.c (push_alignment): Don't ignore alignments greater than
12962 (insert_pack_attributes): Take into account member natural
12965 * i386/winnt.c (exports_head): New static variable.
12966 (i386_pe_record_exported_symbol): New function.
12967 (i386_pe_asm_file_end): Use.
12968 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
12969 symbols to be emitted at end of assembly.
12970 (ASM_DECLARE_OBJECT_NAME): Likewise.
12971 (ASM_DECLARE_FUNCTION_NAME): Likewise.
12973 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
12976 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
12978 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
12981 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
12983 * haifa-sched.c (sched_analyze_1): Use free_list instead of
12984 zapping reg_last_uses directly.
12985 (sched_analyze_2, sched_analyze_insn): Likewise.
12986 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
12988 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
12990 * rs6000.md (movdf_hardfloat32): Use worst case insn length
12991 attributes for cases 1 and 2.
12993 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
12995 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
12998 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
13000 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
13002 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
13004 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
13005 PIC_OFFSET_TABLE_REGNUM for general alloaction.
13006 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
13007 must be stacked if it is used for PIC accesses.
13008 * arm.c (use_return_insn): Handle PIC register specially.
13009 (output_return_instruction): Likewise.
13010 (output_func_{prologue,epilogue}): Likewise.
13011 (output_expand_prologue): Likewise.
13013 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
13014 (*strsi_predec): Renamed from *strqi_predec.
13015 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
13016 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
13018 * arm.c (arm_override_options): Remove warning about PIC code
13019 not being supported.
13021 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
13023 * rs6000.c (find_addr_reg): New function.
13024 * rs6000.h (find_addr_reg): Declare.
13025 (offsettable_addr_operand): Delete.
13026 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
13027 from and stores to GPRs.
13029 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
13031 * alpha.c (alpha_expand_block_move): Use get_insns rather than
13032 gen_sequence as argument to emit_no_conflict_block.
13034 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
13036 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
13037 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
13038 *fixinc/fixincl.x: regen
13039 *fixinc/inclhack.sh: regen
13041 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
13043 * added support for -mpcrel (PC relative addressing for m68k)
13044 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
13045 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
13046 * m68k.c (print_operand_address): Handle 32-bit PIC case.
13047 (comments for general_src_operand): Add some explanation
13048 about EXTRA_CONSTRAINTS.
13049 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
13050 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
13051 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
13052 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
13053 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
13054 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
13055 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
13056 if not already set.
13057 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
13058 * m68k.h (TARGET_PCREL): New target flag.
13059 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
13060 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
13061 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
13062 contains a SYMBOL_REF. Relax this constraint during reload, since
13063 we want to use the predicates, not reload's built-in concept of a
13064 valid memory address, to control what insns need reloading.
13065 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
13066 operands (essentially 'g', 'm', and 's' under normal circumstances).
13067 * m68k.c (print_operand): Cause printing of pc-relative addresses
13068 to include pc register.
13069 (print_operand_address): Ditto.
13070 (general_src_operand): Accept operands that are not only
13071 general_operands, but are also valid when used as a pc-relative
13073 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
13074 (memory_src_operand): Similar, for memory_operands.
13075 (pcrel_address): New predicate to accept the special case of a
13076 pc-relative address.
13077 * m68k.md (many patterns): Rewrite common SImode, HImode, and
13078 QImode insns to accept *_src_operand instead of *_operand where
13079 pc-relative operands can fit. For example, a pc-relative operand
13080 can be used as a memory source operand for addsi3, but not as a
13081 memory destination.
13082 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
13084 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
13086 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
13087 .thumb_set pseudo op to mark aliases of thumb functions.
13089 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
13091 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
13092 preference to ASM_OUTPUT_DEF, if it is defined.
13094 * tm.texi: Document new, optional target macro
13095 ASM_OUTPUT_DEF_FROM_DECLS.
13097 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
13099 * fixincludes: ISCNTL patch
13100 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
13101 (dgux_int_varargs): new for DG/UX
13102 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
13104 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
13106 * invoke.texi (ia32 options): Fix typo.
13108 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13110 * loop.c (strength_reduce): When doing biv->giv conversion, update
13111 reg note of NEXT->insn.
13113 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
13115 * loop.c (move_movables): Note issues with replacing REGs with
13117 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
13119 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
13121 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
13123 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
13124 the reference to `mcount' was not correct for the ELF on FreeBSD.
13126 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13128 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
13131 (recombine_givs): Set ix field after sorting.
13133 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
13135 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
13136 to safe to extract a subword out of a REG.
13138 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13140 * sh.md (mulsi3): Don't add a no-op move at the end.
13142 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13144 * cse.c (cse_insn): Don't put hard register source into tables for
13145 the last insn of a libcall.
13147 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13149 * loop.c (strength_reduce): Insert sets of derived givs at every
13150 biv increment, even if it's the only one.
13152 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
13154 * dwarfout.c (add_incomplete_type): New fn.
13155 (output_type): Call it.
13156 (retry_incomplete_types): New fn.
13157 (dwarfout_finish): Call it.
13159 From Eric Raskin <ehr@listworks.com>:
13160 (output_type): Output types for bases.
13162 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
13164 * mips.c (mips_output_conditional_branch): Add `break'
13165 between `default' label and `close braces'.
13167 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
13169 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
13170 specifications and make it realistic.
13171 (LIB_SPEC): Likewise.
13173 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
13175 * config/mips/mips.c (mips_secondary_reload_class): Check for
13176 (PLUS (SP) (REG)) and return appropriate register class.
13177 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
13178 Handle (PLUS (SP) (REG)).
13179 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
13180 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
13181 of emit_insn for tablejump.
13183 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
13185 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
13186 asm_fprintf format string by itself.
13187 (output_function_profiler): Likewise.
13189 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
13191 * combine.c (simplify_logical, case AND): Only call
13192 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
13193 or the constant is positive.
13195 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
13197 * configure.in: Fix typo in rs6000-ibm-aix4 case.
13198 * configure: Regenerate.
13200 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
13202 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
13203 require a sub-version #.
13204 * configure: Rebuilt.
13206 1999-06-14 Robert Lipe (robertlipe@usa.net)
13208 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
13210 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
13212 * c-typeck.c (process_init_element): Detect excess elements in
13213 char array initializer.
13215 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13217 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
13219 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
13221 * invoke.texi (Option Summary): Add -fpermissive flag.
13223 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
13225 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
13226 that require PIC code sequences.
13228 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
13230 * configure.in: Add new target: thumb-elf.
13231 * configure: Regenerate.
13232 * config/arm/t-thumb-elf: New file: Makefile fragment for
13234 * config/arm/telf.h: New file: Header file for thumb-elf
13237 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
13239 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
13240 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
13241 initializers is some circumstances.
13243 * fixinc/inclhack.def (endif_label): Add additional selector for
13244 more bogus stuff after #endif statements.
13245 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
13247 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
13249 * i386/cygwin.h (SET_ASM_OP): Define.
13251 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
13253 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
13255 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13257 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
13260 * sh.md (ic_invalidate_line_i): Remove second alternative.
13262 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
13264 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
13265 test for the presence of valid prototypes. Delete bypass expr.
13266 (ioctl_fix_ctrl): Correct the selection expression.
13267 (no_double_slash): Correct quoting rules
13268 *fixinc/fixincl.x: regen
13269 *fixinc/inclhack.sh: regen
13271 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
13273 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
13275 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13277 * rs6000.md (movsi_got_internal_mem): Delete.
13278 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
13279 (GOT_TOC_REGNUM): Delete.
13280 (PIC_OFFSET_TABLE_REGNUM): Define.
13281 (FINALIZE_PIC): Disable.
13282 * rs6000.c (rs6000_got_register): New code for fixed pic register.
13283 (rs6000_replace_regno): Delete.
13284 (rs6000_finalize_pic): Likewise.
13285 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
13287 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13289 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
13290 is a note; use <= for the compare; advance P while it is
13293 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
13295 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
13296 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
13298 * varasm.c (remove_from_pending_weak_list): Verify t->name
13299 is non-NULL before passing it to strcmp.
13301 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
13303 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
13304 the typed arguments are not part of a comment
13305 (ioctl_fix_ctrl): Added a purpose comment
13306 *fixinc/fixincl.x: regenerate
13307 *fixinc/inclhack.sh: regenerate
13309 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13311 * invoke.texi: Add C4x invocation docs.
13313 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13315 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
13317 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
13319 (c4x_legitimize_reload_address): New function.
13320 * config/c4x/c4x.md: Update docs.
13322 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
13324 * fixincludes: Avoid removing '.'.
13325 * fixinc/fixinc.svr4: Likewise.
13326 * fixinc/fixinc.winnt: Likewise.
13327 * fixinc/inclhack.tpl: Likewise.
13328 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
13330 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13332 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
13334 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
13336 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
13338 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
13341 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
13343 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
13344 * configure: Regenerate.
13346 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
13348 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
13351 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
13353 * fixinc/inclhack.def (avoid_bool): Also catch
13354 "typedef [unsigned] int bool".
13355 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
13357 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
13358 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
13359 * configure: Rebuilt.
13361 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
13363 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
13364 such that we can override its definitions if necessary.
13365 (CPP_SPEC): New define. Support processor specific predefines via
13367 (CC1_SPEC): New define. Support processor specific compiler
13368 options via %(cc1_cpu).
13369 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
13372 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13374 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
13375 between sed's -e flag, and the open-quote following it.
13376 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
13378 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
13379 Jeffrey A Law (law@cygnus.com)
13381 * varasm.c (assemble_start_function): Remove the function
13382 from the pending weak decls list when we define a function.
13383 (assemble_variable): Similarly for variables.
13384 (weak_finish): Ignore items on the list with a NULL name.
13385 (remove_from_ending_weak_list); New function to "remove" an item
13386 from the pending weak declarations list.
13388 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
13390 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
13392 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
13394 * c-lex.c (GETC): Redefine to call getch.
13395 (UNGETC): Redefine to call put_back.
13396 (putback_buffer): New structure type.
13397 (putback): New static structure.
13398 (getch): New function.
13399 (put_back): New function.
13400 (yylex): Replace unused bytes from bad multibyte character.
13402 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
13404 * cpplib.c (do_define): Cast `alloca' return value.
13405 (do_include, do_undef, do_pragma): Likewise.
13406 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
13408 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
13409 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
13411 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
13413 * sparc.md (abstf2): This should be an expand.
13414 (split after abstf2_notv9): Fix mode.
13415 (abstf2_hq_v9): New pattern.
13416 (abstf2_v9): Only use when no hard quad.
13417 (absdf2_v9): Fix if target is not the same as source.
13418 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
13419 Add correct output constraints.
13421 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
13423 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
13424 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
13426 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
13428 * mips.h (mips_output_conditional_branch): New function.
13429 (mips_adjust_insn_length): Likewise.
13430 (ASSEMBLER_SCRATCH_REGNUM): New macro.
13431 (ADJUST_INSN_LENGTH): Likewise.
13432 * mips.c (print_operand): Add `F' and `W' for floating-point
13433 comparison opcodes.
13434 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
13436 (mips_adjust_insn_length): New function.
13437 (mips_output_conditional_branch): New function.
13438 * mips.md (length): Adjust attribute definition to handle
13439 conditional branches. Change lengths to bytes, rather than
13440 instructions throughout. Remove length attribute from
13441 instructions whose length is four bytes, and rely on the default
13443 (dslot): Fix typo in comment.
13444 Reword conditional branch patterns to use
13445 mips_output_conditional_branch.
13447 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13449 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
13450 (LIB_SPEC): Likewise.
13451 Link with -lprof1_r for -g/-pg.
13453 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
13455 * loop.c (check_dbra_loop): Fix change of Jan 19.
13457 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
13459 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
13460 (STARTFILE_SPEC): Define, override the svr4.h version.
13461 (ENDFILE_SPEC): Likewise.
13463 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
13465 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
13466 * fixinc/fixincl.x: Regenerated.
13467 * fixinc/inclhack.sh: Regenerated.
13469 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13471 * sh.c (barrier_align): Don't return early for normal branch/barrier
13472 when optimizing for SH2.
13474 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
13476 * i386/udk.h (LINK_SPEC): Correct linker search path for
13479 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13481 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
13482 (braf_label_ref_operand): Delete.
13483 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
13484 * sh.md (casesi_jump_2): Operand1 is now the inside of a
13485 label_ref, and has no predicate.
13486 The patten has a predicate to guard against invalid substitutions.
13487 (dummy_jump): Delete.
13488 (casesi): Update use of casesi_jump_2.
13490 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
13492 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
13493 *fixinc/fixincl.x: regenerate
13494 *fixinc/inclhack.sh: regenerate
13496 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
13498 * dwarf2out.c (add_incomplete_type): New fn.
13499 (gen_struct_or_union_type_die): Call it.
13500 (retry_incomplete_types): New fn.
13501 (dwarf2out_finish): Call it.
13503 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
13505 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
13506 current block starts with a CODE_LABEL and ends with a CALL and
13507 we can not find all the argument setup instructions for the CALL.
13509 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
13511 Revert this change:
13512 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
13513 something is a candidate for optimize_bit_field_compare.
13515 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13517 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
13519 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
13521 * alpha.c (override_options): Thinko in last patch.
13523 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
13524 (LIB_SPEC): Recognize -pthread.
13526 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
13528 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
13529 definition in config/arm/coff.h
13530 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
13532 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
13534 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
13535 fixes that need "file=xxx\n" prepended before invocation
13536 (start_fixer - new): starting the fixer process is complex enough
13537 to warrent its own routine. It prepends the "file=xxx\n" stuff.
13538 (process): uses the new routine; omit usage of putenv()
13539 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
13540 * fixinc/fixincl.x: regenerate
13542 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
13544 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
13545 and version #s (1.1 -> 2.96) as needed.
13546 * README.g77: Kill way out of date file in the toplevel directory.
13548 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
13550 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
13551 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
13552 * configure: Rebuilt.
13553 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
13554 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
13555 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
13556 (SWITCH_TAKES_ARG): Likewise.
13557 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
13558 * config/t-freebsd: Moved from config/i386/ so it can used for all
13561 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
13563 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
13565 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
13567 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
13568 * configure: Rebuilt.
13570 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
13572 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
13573 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
13574 * rs6000/rs6000.c (rs6000_file_start): Use putc.
13575 (rs6000_output_load_toc_table): Same.
13576 (output_prolog, output_mi_thunk): Same.
13577 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
13578 (ASM_GLOBALIZE_LABEL): Use putc.
13580 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
13582 * alpha.md (reload_*_help): New patterns and splitters.
13583 (reload_*): Use them.
13584 (mov[qh]i): Likewise.
13586 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
13588 * cccp.c (handle_directive): Handle backslash-newlines in quoted
13591 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
13593 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
13595 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
13597 * flow.c (mark_regs_live_at_end, insn_dead_p,
13598 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
13599 and HARD_FRAME_POINTER_REGNUM special treatment if reload
13600 hasn't run or the frame pointer is needed.
13601 * haifa-sched.c (attach_deaths): Likewise.
13602 * sched.c (attach_deaths): Likewise.
13604 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
13606 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
13607 calculate_can_reach_end returns nonzero.
13609 * configure.in (native gas tests): Search for an assembler in the
13610 same manner that the installed compiler will.
13611 * configure: Rebuilt.
13612 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
13614 * alias.c (find_base_term): Improve handling of addresses
13615 constructed from binary operations.
13617 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
13619 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
13621 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
13623 * function.h (cleanup_label, frame_offset): Declare.
13624 (tail_recursion_label, tail_recursion_reentry): Likewise.
13625 (arg_pointer_save_area, rtl_expr_chain): Likewise.
13626 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
13627 (tail_recursion_label, tail_recursion_reentry): Likewise.
13628 (arg_pointer_save_area, rtl_expr_chain): Likewise.
13630 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
13632 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
13634 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
13635 (MAX_OFILE_ALIGNMENT): Define.
13637 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
13639 * fixincl.c: Replace local include scheme with #includes of
13640 gansidecl.h and system.h.
13641 * procopen.c: Likewise.
13642 * server.c: Likewise.
13644 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
13646 * i386/t-dgux (EXTRA_PARTS): Add crti.o
13647 (crti.o): Add build rule and dependencies.
13648 * fixinc/fixinc.dgux: Use modified _int_varargs.h
13650 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13652 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
13653 (LIB_LINUX_SPEC): Likewise.
13654 (LIB_LINUX_SPEC): Add support for -pthread
13655 (CPP_OS_LINUX_SPEC): Likewise.
13656 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
13659 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
13661 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
13663 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
13664 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
13665 for IEEE math and CC_FCOMI.
13666 (put_jump_code): No IEEE if CC_FCOMI is set.
13668 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
13670 * fold-const.c (fold_truthop): Make the field reference unsigned
13671 when converting a single bit compare.
13673 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13675 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
13677 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
13679 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
13680 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
13683 * reload.c (push_reload): Do not call remove_address_replacements
13684 when presented with identical optional reloads.
13686 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
13688 * alpha.h (MASK_FIX, TARGET_FIX): New.
13689 (MASK_*): Reorganize constants.
13690 (CPP_AM_FIX_SPEC): New.
13691 (TARGET_SWITCHES): Add FIX.
13692 (EXTRA_SPECS): Likewise.
13693 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
13694 (SECONDARY_MEMORY_NEEDED): Likewise.
13695 (REGISTER_MOVE_COST): Likewise.
13696 * alpha.c (override_options): Add FIX support. Always use
13697 ALPHA_TP_PROG for ev6.
13698 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
13699 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
13700 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
13702 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
13704 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
13705 something is a candidate for optimize_bit_field_compare.
13707 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
13709 * gcc.texi (Passes): Document branch-shortening.
13710 * invoke.texi (Debugging Options): Document the fact that `-dp'
13711 outputs length information for instructions.
13713 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
13715 * flow.c: Revert previous delta.
13717 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
13719 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
13720 FRAME_POINTER_REGNUM.
13721 (mark_set_1): Ditto.
13722 (mark_used_regs): Ditto.
13724 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
13726 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
13727 (GOT_PCREL): New macro. Define to 1 if not already defined.
13728 * arm/elf.h (GOT_PCREL): Define to 0.
13729 * arm.c (arm_finalize_pic): Take into account the setting of
13732 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
13734 * output.h (STRIP_NAME_ENCODING): Provide default definition.
13735 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
13737 * flow.c (mark_set_1): Do not record BLKmode stores as dead
13738 store elimination candidates.
13740 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
13742 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
13745 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
13747 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
13748 Add use of x-aix41-gld.
13750 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
13752 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
13753 (ASM_OUTPUT_DESTRUCTOR): Define.
13755 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
13757 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
13758 last CODE_LABEL in a loop if we have previously passed a jump
13759 to the top of the loop.
13761 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
13763 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
13764 applying Philip's patch.
13766 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
13768 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
13771 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
13773 * loop.c (strength_reduce): Grow reg_single_usage as needed.
13775 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
13777 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
13778 Also remove a useless comment.
13780 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
13782 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
13784 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
13786 * collect2.c (main): Only generate import or export file and add
13787 to link arguments if non-empty. Use xmalloc not alloca.
13788 (write_{export,import}_file): Delete.
13789 (write_aix_file): New function.
13790 (locatelib): Use xmalloc not malloc.
13791 (GCC_OK_SYMBOL): Do not check type if aix64.
13793 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
13795 Based on patch by Scott Bambrough and Pat Beirne:
13796 * config/arm/arm.c (making_const_table): New variable.
13797 * config/arm/arm.h (making_const_table): Declare.
13798 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
13800 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
13801 Keep track of when we are building the constant table.
13803 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
13805 * config/arm/arm.c (arm_override_options): Fix erroneous warning
13808 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
13810 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
13813 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
13815 * tm.texi (FUNCTION_ARG): Correct description of a stack element
13818 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
13820 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
13822 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13824 * rs6000.c (output_mi_thunk): Enable full support again.
13826 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13828 * sh.h (BRANCH_COST): Define.
13830 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
13832 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
13834 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
13836 * function.c (assign_stack_local): Align stack slot propertly.
13837 (assign_outer_stack_local): Likewise.
13839 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
13841 * expr.h (lang_expand_constant): Declare.
13842 * toplev.c (lang_expand_constant): Define it.
13843 * varasm.c (output_constant): Use it.
13845 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13847 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
13848 Change function definitions to K&R style.
13850 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
13852 * fixinc/fixincl.c: We must not ignore SIGCLD now.
13854 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
13856 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
13857 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
13858 (several places): omit static initialization
13859 (process): use single fd, since only the read fd is used
13860 * fixinc/gnu-regex.c: define 'const' away, if not supported
13861 * fixinc/procopen.c(several places): omit static initialization
13862 * fixinc/server.c: define 'volitile' away, if not supported
13864 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
13866 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
13867 asm_fprintf and %L to generate the label name.
13868 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
13869 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
13871 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
13873 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
13874 insn for a conditional jump can not be found.
13876 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
13878 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
13879 on variables in specific sections other than .sbss and .sdata.
13881 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
13883 * stmt.c (expand_return): Call start_cleanup_deferral and
13884 end_cleanup_deferral around conditional code.
13886 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
13888 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
13889 filename lists. Utilizes new "krstr" AutoGen function.
13890 * fixinc/fixincl.x: Rebuilt.
13892 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
13894 * i386.c (output_float_compare): Avoid GNU-C extensions.
13896 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
13898 * version.c: Bump to distinguish mainline tree from the
13901 See ChangeLog.1 for earlier changes.