1 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
6 1999-11-30 Alex Samuel <samuel@codesourcery.com>
8 * ggc.h (ggc_test_and_set_mark): New macro.
9 (ggc_mark_rtx): Use ggc_test_and_set_mark.
10 (ggc_mark_tree): Likewise.
11 (ggc_mark_rtvec): Likewise.
12 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
14 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
16 * dwarf2out.c (scope_die_for): Only handle types. Only search for
18 (decl_scope_table): Just an array of trees now.
19 (push_decl_scope): Simplify.
20 (dwarf2out_init): Adjust.
21 (local_scope_p): New fn.
22 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
23 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
24 (gen_typedef_die): Likewise.
25 (gen_lexical_block_die): Don't call push/pop_decl_scope.
26 (gen_inlined_subroutine_die): Likewise.
27 (gen_abstract_function): Set current_function_decl temporarily.
28 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
29 Handle block extern declarations. Don't call push/pop_decl_scope.
30 (gen_decl_die): Fix logic for block externs.
32 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
34 * calls.c (special_function_p): Remove `realloc' and add `strdup'
35 to the list of functions which have attribute malloc by default.
37 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
39 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
40 integer constant does not match the traditional type, limit the
41 warnings to cases where the base of the type is ten.
43 * invoke.texi (-Wtraditional): Document it.
45 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
47 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
48 * rs6000.md: Only access a CONST_INT with INTVAL
50 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
52 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
53 (compute_nearerout): Likewise.
54 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
55 size_t to unsigned long for formatting.
57 1999-11-30 Jakub Jelinek <jakub@redhat.com>
59 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
60 Allow the user to override call-used/fixed state of %g2-5
61 registers from the command line (with the exception of %g4 for
63 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
64 there is a higher chance of having a leaf function.
65 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
66 for ARCH64 which has %ccr register.
67 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
69 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
70 insn accept into delay slot any insn which does not use %[ol]
71 registers. Accept some LO_SUM and shift left by 1 for the normal
73 (output_function_epilogue): Likewise.
74 (epilogue_renumber): Added argument which inhibits any renumbering
75 and just tests if the rtx does not use any %[ol] registers.
76 (output_return): Reflect above change.
78 1999-11-30 Jakub Jelinek <jakub@redhat.com>
80 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
81 aggregate passing for sizes <= 16 bytes.
83 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
85 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
86 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
87 * reload.c (find_dummy_reload): Likewise.
88 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
89 * reload1.c (reload_as_needed): Likewise.
90 * stupid.c (stupid_find_reg): Likewise.
91 * tm.texi (Obsolete Register Macros): Delete section.
92 * gmicro.h: Remove all traces of the two macros.
97 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
99 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
100 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
101 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
102 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
103 units for the sparclite86x chip.
104 (flush): Revert October 14th change; add SImode specifically.
105 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
106 * invoke.texi: Document it.
108 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
110 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
111 psimode_truncation_operand.
113 * config/mn10200/mn10200.c (psimode_truncation_operand): New
114 function. Return true if the operand is either a MEM valid
115 for a PSImode address or not a MEM at all.
117 * config/mn10200/mn10200.md (truncsipsi2): Use
118 psimode_truncation_operand.
120 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
122 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
123 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
124 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
125 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
126 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
127 (flow_loop_level_compute, low_loops_level_compute): Likewise.
128 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
129 * basic-block.h: Protect from multiple inclusion.
130 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
131 (struct loops, struct loop): Define structures.
132 * sbitmap.c (sbitmap_a_subset_b_p): New function.
133 * sbitmap.h: Protect from multiple inclusion.
134 (sbitmap_a_subset_b_p): Add prototype.
135 * Makefile.in (LOOP_H): New macro.
136 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
138 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
140 * cppinit.c (CAT): The argument list of this macro may not contain
143 1999-11-29 David S. Miller <davem@redhat.com>
145 Move quantity tables and register equivalence chains into
146 per-qty and per-register structure arrays respectively.
147 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
148 qty_const_insn, qty_comparison_code, qty_comparison_const,
149 qty_comparison_qty): Delete, replace with...
150 (qty_table): this structure table.
151 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
152 (reg_eqv_table): this structure table.
153 (make_new_qty): Add argument MODE. Caller updated.
154 Update to use qty_table and reg_eqv_table.
155 (make_regs_eqv, delete_reg_equiv, insert_regs,
156 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
157 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
158 cse_process_notes, cse_main, cse_basic_block): Likewise.
160 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
162 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
163 operation if C is negative.
164 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
165 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
166 law for some divisions if constant is negative and change other
167 divisions to the opposite rounding.
169 * expr.c (store_constructor_field): If bit position is not multiple
170 of alignment of TARGET's mode, use BLKmode.
172 * expr.c (expand_expr_unaligned): Add more code from full case
173 that is needed when OP0 is in a register.
175 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
177 * dwarfout.c (field_byte_offset): Size can be zero if there was
180 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
182 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
183 (associate_trees): Delete unused var TEM.
184 (extract_muldiv): Delete unused var CANCEL_P.
186 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
187 (target_isinf, target_isnan, target_negative): Add return types to
188 function definitions.
190 1999-11-29 Bruce Korb <autogen@linuxbox.com>
192 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
193 * fixinc/hackshell.tpl: ditto
194 * fixinc/fixtests.c(double_slash_test): more C++ header testing
195 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
197 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
199 * reload.c (push_reload): When looking for a register to put into
200 reg_rtx, make sure all hard regs in a multi-reg register are in the
201 right class and nonfixed.
203 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
204 pending_read_insns, pending_write_insns, pending_read_mems,
205 pending_write_mems, pending_list_length, last_pending_memory_flush,
206 last_function_call, sched_before_next_call): Move static variables
208 (bb_ prefixed versions): Replace with single array bb_deps.
209 (struct deps): New structure.
210 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
211 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
212 argument of type "struct deps *"; use that instead of global
213 variables. All callers changed.
214 (init_rgn_data_dependencies): Delete function.
215 (init_rtx_vector): Delete function.
216 (init_deps): New function.
218 (free_pending_lists): Simplify, we always use the bb_deps array even
219 if only one basic block.
220 (compute_block_backward_dependences): Likewise.
221 (schedule_region): Likewise.
223 (propagate_deps): New function, broken out of
224 compute_block_backward_dependences.
225 (compute_block_backward_dependences): Use it.
227 * alpha.md: Delete useless patterns that tried to work around
228 register elimination problems.
230 * unroll.c (loop_iterations): Don't abort if iteration variable
234 * reload1.c (reloads_conflict): Reverse test comparing operand
235 numbers when testing for conflict between output/outaddr reloads.
237 1999-11-29 David S. Miller <davem@redhat.com>
239 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
241 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
243 1999-11-28 Robert Lipe <robertl@cygnus.com>
245 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
246 table from .fini into .dtor.
248 1999-11-28 Anthony Green <green@cygnus.com>
250 * tree.h (struct tree_decl): Add malloc_flag.
251 (DECL_IS_MALLOC): Define.
252 * c-common.c (attrs): Add A_MALLOC attribute.
253 (init_attributes): Add this attribute to the table.
254 (decl_attributes): Handle malloc attribute.
255 * calls.c (special_function_p): Check for the malloc attribute.
256 * extend.texi (Function Attributes): Document malloc attribute.
258 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
260 * pa.md (reload shift-add patterns): Remove.
262 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
264 * reorg.c (dbr_schedule) Print more statistics. Corrected
265 problem when printing info when 3 delay slots are filled.
267 1999-11-28 Jakub Jelinek <jakub@redhat.com>
269 * combine.c (setup_incoming_promotions): Pass an outgoing
270 regno to FUNCTION_ARG_REGNO_P which it expects.
272 1999-11-28 Andreas Jaeger <aj@suse.de>
274 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
276 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
278 * cccp.c (do_include): Avoid initialization of automatic variable.
280 * integrate.c (mark_stores): Function definition made void, to match
281 previous declaration.
282 * regclass.c (dump_regclass): Ditto.
283 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
285 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
287 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
288 known to be multiple of divisor.
290 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
292 * combine.c (try_combine): Add code to try to merge a set of a
293 two-word pseudo to a constant with a setting of one of those words
296 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
297 (split_tree): Completely rework to make more general.
298 (make_range, fold): Call negate_expr.
299 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
300 (fold, associate): Call new split_tree and associate_trees.
301 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
303 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
305 * loop.c (try_copy_prop): Avoid GNU C extension.
307 1999-11-25 Mark Mitchell <mark@codesourcery.com>
309 * except.c (init_eh_for_function): Still zero eh_return_context,
310 eh_return_stack_adjust, and eh_return_handler.
312 * except.h (eh_status): Adjust documentation for x_protect_list.
313 (begin_protect_partials): New function.
314 * except.c (enqueue_eh_entry): Fix formatting.
315 (get_first_handler): Add consistency check.
316 (add_partial_entry): Adjust usage of protect_list.
317 (emit_cleanup_handler): Save and restore ehqueue.
318 (expand_start_all_catch): Add comment.
319 (begin_protect_partials): New function.
320 (end_protect_partials): Adjust usage of protect_list.
321 (init_eh_for_function): Use xcalloc.
323 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
325 * c-common.c (check_format_info): Don't call a variadic function
326 with a non-literal format string.
328 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
330 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
331 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
334 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
337 * collect2.c (collect_wait): Likewise.
339 * dbxout.c (dbxout_type): Likewise.
341 * gcc.c (do_spec_1): Likewise.
343 * genemit.c (gen_insn, gen_expand): Likewise.
345 * genrecog.c (write_switch, write_subroutine): Likewise.
347 * mips-tfile.c (catch_signal, botch): Likewise.
349 * print-rtl.c (print_rtx): Likewise.
351 * toplev.c (default_print_error_function, report_error_function,
352 _fatal_insn): Likewise.
354 1999-11-25 Mark Mitchell <mark@codesourcery.com>
356 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
358 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
360 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
361 operations when needed.
362 * i386.md (fop_?f_comm): New.
363 (fop_?f_1): Do not accept commutative operands.
365 1999-11-25 Andreas Jaeger <aj@suse.de>
367 * config/mips/mips.md (casesi_internal): Add missing brace.
369 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
371 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
372 (splice_child_die): Handle moving a child DIE from the declaration
373 DIE of a class to its specification.
374 (gen_struct_or_union_type_die): Use 'complete' consistently.
375 (gen_decl_die): Generate the virtual context DIE first.
376 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
378 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
380 * config/mips/mips.md (call_value_multiple_interanal1): New.
382 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
384 * dwarf2out.c (free_AT, free_die): New fns.
385 (remove_children): Call them.
386 (output_line_info): Disable removal of duplicate notes.
388 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
389 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
390 means pretend the type isn't defined.
391 Don't defer emitting types.
392 (gen_type_die_for_member): New fn.
393 (gen_decl_die): Call it.
394 (splice_child_die): New fn.
395 (gen_member_die): Call it rather than generate duplicate dies.
397 Defer emitting information for the abstract instance of an inline
398 until we either inline it or emit an out-of-line copy.
399 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
400 from output_inline_function if DECL_ABSTRACT is also set.
401 (block_ultimate_origin): Likewise.
402 (gen_abstract_function): New fn.
403 (gen_decl_die, gen_inlined_subroutine_die): Call it.
404 (gen_subprogram_die): An abstract instance is not a declaration
405 just because it doesn't match current_function_decl. Don't abort
406 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
407 has an abstract origin.
408 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
409 abstract instance here.
411 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
413 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
414 where we need to reload fpul from a system register.
416 1999-11-24 Andreas Jaeger <aj@suse.de>
418 * config/mips/linux.h (CPP_PREDEFINES): Added.
419 (LINK_SPEC): Remove -Y since this is only needed on sparc.
421 1999-11-24 Andreas Jaeger <aj@suse.de>
423 * config/mips/linux.h (TARGET_VERSION): Added.
424 (HANDLE_SYSV_PRAGMA): Added.
425 (DEFAULT_VTABLE_THUNKS): Added.
427 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
429 * local-alloc.c (qty): New structure and static variable.
430 (qty_phys_reg): Remove, all references changed to qty.
431 (qty_n_refs): Likewise.
432 (qty_min_class): Likewise.
433 (qty_birth): Likewise.
434 (qty_death): Likewise.
435 (qty_size): Likewise.
436 (qty_mode): Likewise.
437 (qty_n_calls_crossed): Likewise.
438 (qty_alternate_class): Likewise.
439 (qty_changes_size): Likewise.
440 (qty_first_reg): Likewise.
441 (alloc_qty): Rename variable QTY to QTYNO.
442 (finf_free_reg): Likewise.
443 (local_alloc): Allocate qty, do not allocate the removed variables.
445 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
447 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
448 when -membedded-pic is passed.
450 * config/mips/mips.md (casesi): Handle 64-bit case too.
451 (casesi_internal_di): New insn.
453 * config/mips/mips.c (embedded_pic_offset): Always make the
454 embedded-pic subtractions relative to the name of the current
455 function by use of the magic string "..CURRENT_FUNCTION".
456 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
458 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
460 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
461 of (const_int 0), when what we really care about is
462 whether it's a zero constant anyway.
463 (div_trap_mips16): Likewise.
465 1999-11-23 Mark Mitchell <mark@codesourcery.com>
467 * loop.c (loop_optimize): Always find_loop_tree_blocks and
468 unroll_block_trees when generating debuggable code.
470 * tree.h (unsave_expr_1): New function.
471 (lang_unsave): New variable.
472 (get_callee_fndecl): New function.
473 * tree.c (unsave_expr_now_r): New function.
474 (lang_unsave): Define.
475 (unsave_expr_1): Likewise.
476 (unsave_expr_now_r): Split out from unsave_expr_now.
477 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
478 call unsave_expr_now_r.
479 (get_callee_fndecl): Define.
481 * Makefile.in (gencheck): Don't depend on lang_tree_files.
482 (gencheck.o): Do depend on lang_tree_files.
484 * integrate.h (copy_decl_for_inlining): New declaration.
485 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
486 (copy_decl_for_inlining): New function.
487 (integrate_parm_decls): Use it.
488 (integrate_decl_tree): Likewise.
490 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
492 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
493 the second two from the first.
494 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
495 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
496 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
498 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
499 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
502 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
504 * pa.md (call_internal_symref, call_value_internal_symref): No mode
505 needed on the address operand.
506 * pa.c (call_operand_address): Check for the correct mode.
508 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
510 * loop.c: Include "basic-block.h".
511 (try_copy_prop, replace_loop_reg): New functions.
512 (load_mems): Detect registers that just hold copies of the hoisted
513 mem, and call try_copy_prop to eliminate them.
514 * Makefile.in (loop.o): Update dependencies.
516 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
518 * Makefile.in (gencheck.o): Depend on gencheck.h.
519 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
520 (insn-peep.o): Depend on except.h and function.h.
521 (insn-attrtab.o): Depend on RECOG_H.
522 (insn-output.o): Depend on toplev.h and flags.h.
523 (gengenrtl.o): Depend on real.h.
524 (gen-protos.o): Depend on cpplib.h and cpphash.h.
525 Unify all dependencies to be on RECOG_H rather than recog.h.
527 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
529 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
530 * configure.in: Try building a bi-arch 32/64-bit compiler on
531 sparc-*-solaris2.7 and higher.
532 * configure: Rebuild.
534 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
536 * config/freebsd.h: New, FreeBSD architecture independent file.
537 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
539 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
540 directly by i386/freebsd.h.
541 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
542 independent configuration file.
543 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
544 directly by i386/freebsd.h.
545 * configure: Rebuilt.
547 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
548 which is in the user's namespace.
549 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
550 `i386' which is not in our namespace.
552 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
554 * invoke.texi (ARM Options): Add in -mno-alignment-traps
556 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
558 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
559 (add_dwarf_attr, add_child_die): Just push onto the front.
560 (reverse_die_lists): New fn.
561 (add_sibling_attributes): Use it.
562 (push_decl_scope): Reorganize.
563 (add_name_and_src_coords_attributes): Don't set file and line for
565 (gen_subprogram_die): An artificial function doesn't need to match
567 (gen_compile_unit_die): Return the generated die. Only add
568 AT_comp_dir if the filename is relative.
569 (remove_AT): Simplify loop. Also free string values.
570 (output_die): A DIE ref can't be null.
571 (output_value_format, value_format): Take a dw_attr_ref.
572 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
573 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
574 AT_addr, AT_lbl): New fns.
578 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
580 * combine.c (combine_simplify_rtx): When handling a SUBREG,
581 take SUBREG_WORD into account.
582 (if_then_else_cond): Likewise.
584 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
586 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
587 clause from BSD license, pursuant with
589 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
591 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
593 * loop.c (load_mems): Reformat slightly.
594 * basic-block.h (regset_head): New typedef.
595 (INIT_REG_SET): New macro.
597 1999-11-22 Bruce Korb <autogen@linuxbox.com
599 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
600 (mips-dec-bsd*): non-functional code
601 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
603 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
604 added three replacement fixes
605 (no_double_slash): removed comments that are not (any longer) pertinent
606 (bad_lval): this fix currently runs against many files.
607 The comment seems to indicate that we should select for files
608 containing 'pragma extern_prefix'.
610 * fixinc/fixinc.x86-linux-gnu: deleted
611 * fixinc/inclhack.sh: regen
612 * fixinc/fixincl.x: regen
613 * fixinc/fixincl.sh: regen
615 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
617 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
618 its code is INSN and it has no notes.
620 1999-11-22 Andrew Haley <aph@cygnus.com>
622 * varasm.c (function_defined): Remove.
623 (make_function_rtl): Don't set function_defined.
624 (make_decl_rtl): Remove global register warning.
625 * regclass.c (no_global_reg_vars): New variable.
626 (globalize_reg): Warn if function has already been defined.
627 (regclass_init): Set no_global_reg_vars.
629 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
631 * regclass.c (reg_pref): New structure and static variable
634 (all uses of prefclass and altclass): Use reg_pref instead.
636 1999-11-21 Nick Clifton <nickc@cygnus.com>
638 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
640 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
641 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
642 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
644 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
646 * varasm.c (output_constructor): Solve problem with long long
647 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
649 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
651 * global.c (allocno): New structure and static variable.
652 (allocno_reg): Remove, all references replaced by allocno.
653 (allocno_size): Likewise.
654 (hard_reg_conflicts): Likewise.
655 (hard_reg_preferences): Likewise.
656 (hard_reg_copy_preferences): Likewise.
657 (hard_reg_full_preferences): Likewise.
658 (regs_someone_prefers): Likewise.
659 (allocno_calls_crossed): Likewise.
660 (allocno_n_refs): Likewise.
661 (allocno_live_length): Likewise.
662 (find_reg): Rename ALLOCNO to NUM.
664 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
666 (may_move_out_cost): New variable.
667 (init_reg_sets_1): Initialize may_move_out_cost.
668 (record_reg_classes): Use may_move_out_cost.
670 * regclass.c (dump_regclass): New function.
671 (regclass): New parameter DUMP, call DUMP_REGCLASS.
672 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
673 pass rtl_dump_file to regclass.
674 * rtl.h (regclass): Update prototype.
676 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
678 * i386.md (neg, not and abs patterns): Revmap to use
679 ix86_expand_unary_operator and ix86_unary_operator_ok.
680 (add?f and sub?f expanders): Force operand 1 to register.
681 * i386.c (ix86_expand_unary_operator): Rewrite.
682 (ix86_unary_operator_ok): Ensure that memory operands
684 (ix86_binary_operator_ok): Do not allow operand 1 to
685 come into memory and operand 0 not.
686 (ix86_expand_binary_operator): Ensure that
687 src1 is not non-matching memory.
689 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
690 to support integer registers and memory.
691 (abss?2_integer): Likewise.
693 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
694 (REG_CLASS_NAMES): Likewise.
695 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
697 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
698 (movsf): Likewise; unify 4th and 5th alternative.
700 (movdf_1): Likewise; rename to movdf_integer.
701 (pushxf): Likewise; rename to pushxf_integer; fix output template;
702 remove redundant splitter.
703 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
704 (movdf_nointeger): New.
705 (movxf_nointeger): New.
706 (pushxf_nointeger): New.
708 * i386.md (extend?f?f): Split to expander and pattern, refuse two
709 memory operands in patterns.
710 (fop*): Refuse two memory operands.
712 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
713 on !TARGET_USE_CLTD CPUs.
715 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
717 * extend.texi: Document C++ restricted pointers and references.
719 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
721 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
722 (invalidate_skipped_set): Call it unconditionally.
723 (cse_set_around_loop): Likewise.
725 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
727 * rtl.texi (mem): Add documentation for alias-set argument
730 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
732 * i386.h (struct_processor_costs): New fields int_load, int_store,
733 fp_move, fp_load and fp_store
734 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
736 (MEMORY_MOVE_COST): New macro.
737 * i386.c (386_cost): Define new fields.
738 (i486_cost): Likewise.
739 (pentium_cost): Likewise.
740 (pentiumpro_cost): Likewise.
743 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
744 Geoffrey Keating <geoffk@cygnus.com>
746 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
748 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
751 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
752 (TARGET_STRICT_ALIGNMENT): New macro.
753 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
754 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
755 * invoke.texi (M680x0 Options): Document -mstrict-align.
757 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
758 Richard Henderson <rth@cygnus.com>
760 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
761 (ix86_split_long_move): Declare.
762 * i386.c (split_xf, ix86_split_movdi): Remove.
763 (ix86_split_to_parts, ix86_split_long_move): New.
764 * i386.md (dimode move splitters): Use ix86_split_long_move.
765 (dfmode move splitters): Likewise.
766 (xfmode move splitters): Likewise.
767 (movsf_1): Allow F->r.
768 (movdf_1, movxf_1): Allow F->ro.
770 1999-11-17 Mark Mitchell <mark@codesourcery.com>
772 * except.h (struct eh_entry): Add goto_entry_p.
773 (eh_region_from_symbol): Remove prototype.
774 * except.c (find_func_region_from_symbol): New function.
775 (emit_cleanup_handler): Likewise.
776 (eh_region_from_symbol): Make it static.
777 (add_new_handler): Verify the argument.
778 (find_func_region): Update comment.
779 (expand_eh_region_end): Expand handlers here, rater than waiting
780 until expand_leftover_cleanups or start_all_catch.
781 (expand_leftover_cleanups): Don't expand here.
782 (expand_start_all_catch): Or here.
783 (expand_rethrow): Check the return value from find_func_region.
784 * function.c (expand_function_end): Emit the catch_clauses.
786 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
788 * integrate.c (expand_inline_function): Add necessary check for NULL.
790 1999-11-18 Nick Clifton <nickc@cygnus.com>
792 * toplev.c (main): Correctly detect an unrecognised option.
794 * cppinit.c (cpp_handle_option): Do not claim to have consumed
795 a -f option if it has not been recognised.
797 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
799 * basic-block.h (update_life_extent): Remove trailing comma on
800 enumeration type list.
802 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
804 * varasm.c (output_constructor) Solved problem with long long
805 bitfields. Corrected calculating this_time and shift. Also
806 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
808 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
810 * flow.c (split_edge): Take looping structure into account when
811 determining where to put the new block note.
813 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
815 * Makefile.in (ggc-none.o): Provide host specific version if
818 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
820 * cse.c (delete_trivially_dead_insns): Identify no-op insns
821 containing subregs too.
823 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
825 * invoke.texi: Add documentation for -muninit-const-in-rodata.
826 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
827 (TARGET_UNINIT_CONST_IN_RODATA): Define.
828 (text_section): Add switches -munint-const-in-rodata and
829 -mno-uninit-const-in-rodata.
830 (ASM_OUTPUT_COMMON): Remove.
831 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
832 const objects should be placed in read-only data. Otherwise declare
835 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
837 * jump.c (jump_optimize_1): Revert last change.
839 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
841 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
842 test if optimizing for size.
844 1999-11-17 Mark Mitchell <mark@codesourcery.com>
846 * Makefile.in (toplev.o): Depend on except.h.
847 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
849 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
851 * i386.md (divmodsi4): Rewrite to expander.
852 (*divmodsi4_nocltd): New.
853 (*divmodsi4_cltd): New.
854 (divmodsi4 splitter): Handle the case when input comes in edx.
855 (udivmodhi4): Do not use constraints in exander.
856 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
858 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
860 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
863 1999-11-16 Jakub Jelinek <jakub@redhat.com>
865 * explow.c (hard_function_value): Add outgoing argument.
866 * expr.h (hard_function_value): Declare it.
867 * calls.c (expand_call, emit_library_call_value): Update callers.
868 * function.c (aggregate_value_p): Ditto.
869 (diddle_return_value): Must look at the outgoing registers
870 on archs with register windows.
872 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
874 * alpha.c (alpha_build_va_list): Use make_lang_type and
875 initialize TYPE_NAME for the va_list record.
877 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
879 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
881 * ggc.h (struct ggc_statistics): Rearrange elements for better
882 packing on 64-bit hosts.
883 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
884 (compute_nearerout): Likewise.
886 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
888 * config/rs6000/rs6000.c (first_reg_to_save): Save
889 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
891 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
893 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
894 notion of nesting to find the DIE for a type or function.
895 DIEs can go in limbo even if we got a context_die.
896 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
897 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
899 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
900 (gen_type_die): Writing out the context doesn't cause member class
901 template instantiations to be written out as well.
903 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
905 * rs6000.h (ASM_OUTPUT_DEF): New.
906 Based on proposed addition from David Edelsohn.
908 1999-11-15 Robert Lipe <RobertLipe@usa.net>
909 Bruce Korb <autogen@linuxbox.com>
911 * fixinc/inclhack.def
912 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
913 (unixware7_byteorder_fix): added. Removes conflicts for new defs
915 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
916 (svr4_endian): enabled with SVR5
917 (svr4_mkdev): simplified syntax and enabled with SVR5
919 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
921 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
922 * configure: Rebuilt.
923 * config/t-freebsd-thread: New file.
925 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
927 * i386.c (ix86_decompose_address): Verify the base is a REG
928 before trying to examine its register number.
930 * basic-block.h: Remove all #defines and prototypes related to
932 (free_bb_mem, compute_preds_succs): Remove prototype.
933 * rtl.h (free_bb_mem): Remove prototype.
934 * flow.c (alloc_int_list_node); Remove function.
935 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
936 (compute_preds_succs, free_bb_mem): Likewise.
937 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
938 * toplev.c (rest_of_compilation): Likewise.
939 * haifa-sched.c (build_control_flow): Use flow generated edge
940 list to build the haifa specific edge list.
941 (find_rgns): Use new CFG data structures instead of pred/succ lists.
942 (schedule_insns): Do not build pred/succ lists anymore. Instead
943 build the edge table.
945 * basic-block.h (dump_bb_data): Remove declaration.
946 * flow.c (dump_bb_data): Remove function.
947 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
948 (sbitmap_union_of_predsucc): Likewise.
950 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
951 argument. All callers changed.
952 (delete_null_pointer_checks_1): No longer need to compute the
955 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
957 (pre_expr_reaches_here_p_work): Likewise.
958 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
959 * lcm.c (compute_laterin): Fix initialization of LATER.
960 (compute_nearerout): Similarly for NEARER.
962 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
964 * cse.c (set_nonvarying_address_components): Delete unused function.
965 (refers_to_p): Likewise.
967 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
969 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
972 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
974 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
975 definition in do while (0).
977 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
979 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
981 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
983 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
985 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
987 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
988 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
989 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
990 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
992 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
993 saved on the stack. Output more accurate stack frame statistics
996 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
998 * genextract.c (record_insn_name): New function.
999 (get_insn_name): No longer a stub.
1000 (main): Call record_insn_name for each insn. After each label
1001 written, print the insn name in a comment.
1003 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1005 * output.h (const_section, init_section, fini_section): Add
1008 * alpha/elf.h (const_section): Delete declaration.
1010 * svr4.h (const_section): Likewise.
1012 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
1014 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
1015 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
1016 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
1018 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
1019 variable-sized array bounds.
1021 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
1023 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
1026 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1028 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
1029 addresses the same way GO_IF_LEGITIMATE_INDEX does.
1031 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1033 * cse.c (hash_arg_in_struct): Delete.
1034 (struct table_elt): Delete elt in_struct.
1035 (struct set): Delete elt src_in_struct.
1036 (merge_equiv_classes): Don't set either hash_arg_in_struct or
1037 the corresponding in_struct elts.
1038 (canon_hash): Likewise.
1039 (safe_hash): Likewise.
1040 (find_best_addr): Likewise.
1041 (record_jump_cond): Likewise.
1042 (cse_insn): Likewise.
1044 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
1046 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
1048 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
1051 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
1053 * function.c (diddle_return_value): Put back check that the DECL_RTL
1054 for the function is a register.
1056 * function.c (diddle_return_value): Use hard_function_value to
1057 get an rtx suitable for use in the USE/CLOBBER insn.
1059 * global.c (global_conflicts): Update comments.
1060 (record_conflicts): No need to record conflicts between pseudos here.
1062 1999-11-11 Bruce Korb <autogen@linuxbox.com>
1064 * fixinc/fixincl.c: Added verbose levels for status messages
1066 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1068 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
1069 operand as argument to expand_and or expand_binop.
1071 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
1073 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
1074 gcc_add_string_root.
1076 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
1078 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
1080 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
1082 * flow.c (compute_flow_dominators): Initially put all blocks on
1084 * lcm.c (compute_antinout_edge, compute_available): Similarly.
1085 * gcse.c (compute_cprop_avinout): Remove.
1086 (compute_cprop_data): Use compute_available.
1087 (delete_null_pointer_checks_1): Use compute_available.
1089 * basic-block.h (compute_available): Returns a void now.
1090 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
1091 to return a value anymore.
1092 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
1093 worklists. Fix boundary cases. Compute maximal solutions.
1094 (compute_laterin, compute_nearerout): Similarly.
1096 * dwarf2out.c (add_AT_location_description): Allow
1097 (mem (plus (pseudo) (...)) too.
1099 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
1101 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
1103 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
1104 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1106 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
1108 * gansidecl.h: Likewise.
1114 * toplev.h: Likewise.
1120 * varray.c: Likewise.
1122 * varray.h: Likewise.
1124 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
1126 * gcov.c (struct arcdata): Add hits and total, remove prob.
1127 (output_branch_counts): New.
1128 (process_args): Set output_branch_counts if -c.
1129 (calculate_branch_probs): Store hits and total instead of
1131 (output_data): Emit counts if output_branch_counts is true.
1132 * gcov.texi (Invoking Gcov): Document -c switch..
1134 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
1136 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
1137 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
1139 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
1141 * invoke.texi (C Dialect Options): Add missing builtins from
1143 * extend.texi (Other Builtins): Copy to this list.
1145 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1147 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
1148 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
1151 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
1153 * flow.c (compute_flow_dominators): No longer treat basic block 0
1154 or (n_basic_blocks - 1) specially. Clear the AUX field before
1155 starting computation of doms/pdoms. Fix initial state for pdoms.
1157 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1159 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
1160 match rtl.o's: added ggc.h and toplev.h
1161 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
1162 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
1163 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
1165 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
1167 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
1168 from HAVE_DOS_BASED_FILESYSTEM.
1169 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
1170 HAVE_DOS_BASED_FILESYSTEM.
1172 (split_directories): Only special-case DOS file names if
1173 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
1174 instead of explicit tests. Conditionalize on !VMS.
1175 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
1176 tests. Conditionalize on !VMS.
1177 (process_command): Only use make_relative_prefix if !VMS.
1178 (free_split_directories): Conditionalize on !VMS.
1179 (DIR_UP): Conditionalize on !VMS.
1181 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
1183 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
1185 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1187 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
1190 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
1192 * invoke.texi (Environment Variables): Document relative path
1194 * gcc.c (DIR_UP): If not defined, define as "..".
1195 (standard_bindir_prefix): New static, holds target location to
1197 (split_directories): New function to split a filename into
1198 component directories.
1199 (free_split_directories): New function, release memory allocated
1200 by split_directories.
1201 (make_relative_prefix): New function, make a relative pathname if
1202 the compiler is not in the expected location.
1203 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
1204 can figure out an appropriate prefix from argv[0].
1205 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
1206 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
1207 STANDARD_BINDIR_PREFIX.
1209 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1211 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
1213 * config/c4x/c4x.h: Moved prototypes to c4x.h.
1214 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
1215 c4x_secondary_memory_needed) Delete.
1216 (fp_zero_operand): Add mode argument.
1218 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
1220 * reload1.c (reload_reg_free_for_value_p): Don't use a register
1221 that is in reload_reg_used.
1223 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
1225 * config/arm/arm-protos.h: New file: Prototypes for functions
1226 defined in arm.c and pe.c.
1227 * config/arm/arm.h: Fix compile time warnings.
1228 * config/arm/arm.c: Fix compile time warnings.
1229 * config/arm/pe.h: Fix compile time warnings.
1230 * config/arm/aout.h: Fix compile time warnings.
1232 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
1234 * config/m32r/m32r-protos.h: New file: Prototypes for functions
1237 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
1238 Add support for subtargets.
1239 Add prototypes for new predicates.
1240 Add scheduling macros.
1242 * config/m32r/m32r.c: Fix compile time warnings.
1243 (int8_operand): New predicate function.
1244 (reg_or_cmp_int16_operand): New predicate function.
1245 (extend_operand): New predicate function.
1246 (m32r_adjust_code): New scheduling function.
1247 (m32r_adjust_priorty): New scheduling function.
1248 (m32r_sched_init): New scheduling function.
1249 (m32r_sched_reorder): New scheduling function.
1250 (m32r_sched_variable_issue): New scheduling function.
1251 (direct_return): New codegen function.
1252 (m32r_not_same_reg): New rtl testsing function.
1254 * config/m32r/m32r.md: Fix compile time warnings.
1255 Add support for pre decrement and post increment memory
1260 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1262 * global.c (EXECUTE_IF_CONFLICT): Don't define.
1263 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
1264 (find_reg): Likewise.
1266 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
1268 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
1269 to avoid assembler errors.
1271 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
1273 * config/v850/v850-protos.h: New file: Prototypes for functions
1275 * config/v850/v850.h: Move prototypes to v850-protos.h
1276 * config/v850/v850.c: Move prototypes to v850-protos.h
1277 * config/v850/v850.md: Fix compile time warnings.
1279 * config/fr30/fr30-protos.h: New file: Prototypes for functions
1281 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
1282 * config/fr30/fr30.c: Fix compile time warnings.
1283 * config/fr30/fr30.md: Fix compile time warnings.
1285 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
1287 * tree.h (get_containing_scope): Declare it.
1288 * tree.c (get_containing_scope): New fucntion.
1289 (decl_function_context): Use it.
1290 * toplev.c (rest_of_compilation): Use get_containing_scope.
1292 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1294 * Makefile.in (rtl.o): Depend on toplev.h.
1296 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
1298 * cse.c (delete_trivially_dead_insns): Replace alloca with
1300 * except.c (update_rethrow_references): Likewise.
1301 (init_eh_nesting_info): Likewise.
1302 * function.c (identify_blocks): Likewise.
1303 * gcse.c (dump_hash_table): Likewise.
1304 * graph.c (print_rtl_graph_with_bb): Likewise.
1305 * loop.c (combine_movables): Likewise.
1306 (move_movables): Likewise.
1307 (count_loop_regs_set): Likewise.
1308 (strength_reduce): Likewise.
1309 * profile.c (compute_branch_probabilities): New function, split
1311 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
1312 * regclass.c (regclass): Likewise.
1313 * regmove.c (regmove_optimize): Likewise.
1314 * toplev.c (compile_file): Likewise.
1315 (main): Don't mess with the stack rlimit.
1317 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
1319 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
1320 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
1322 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
1324 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
1326 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
1328 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
1329 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
1332 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
1334 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
1336 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
1338 * gcse.c (post_dominators): Kill.
1339 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
1340 (compute_code_hoist_data): Use compute_flow_dominators. Do not
1341 pass in a pdom array since we do not need pdoms.
1342 * haifa-sched.c (schedule_insns): Similarly.
1343 * flow.c (compute_dominators): Remove dead function.
1344 (compute_flow_dominators): Do not compute doms or pdoms if the
1345 caller does not request them. Split up loop to build doms and
1346 pdoms. Use a worklist to compute doms and pdoms.
1347 * basic-block.h (compute_dominators): Remove prototype.
1349 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
1351 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
1352 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
1353 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
1354 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
1355 (cant_move, fed_by_spec_load, is_load_insn): Remove.
1356 (schedule_region): Remove unused variable.
1357 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
1359 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
1361 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
1362 (update_equiv_regs): Likewise.
1363 (block_alloc): Likewise.
1364 * reg-stack.c (reg_to_stack): Likewise.
1365 (convert_regs_2): Likewise.
1366 * reload1.c (reload_as_needed): Likewise.
1368 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
1370 * Makefile.in (dbxout.o): Depend on ggc.h.
1371 (dwarf2out.o): Likewise.
1372 (xcoffout.o): Likewise.
1373 * dbxout.c: Include ggc.h.
1374 (dbxout_init): Register lastfile as a root.
1375 * dwarf2out.c: Include ggc.h.
1376 (dwarf2out_line): Register lastfile as a root.
1377 * xcoffout.c: Include ggc.h.
1378 (xcoffout_source_line): Register xcoff_lastfile as a root.
1380 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
1382 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
1384 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
1386 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
1388 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
1390 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1392 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
1393 (EXECUTE_IF_CONFLICT): Likewise.
1394 (ALLOCNO_LIVE_P): Avoid signed division.
1395 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
1396 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
1397 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
1399 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
1401 * haifa-sched.c (schedule_block): Don't crash if there's no
1402 next insn for an interblock movement.
1403 (add_branch_dependences): Don't allow clobber insns to move either.
1405 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
1407 * i386.c (split_xf): New.
1408 * i386-protos.h: Declare it.
1409 * i386.md (movxf_1): Add general regs alternatives.
1410 (movxf_1+1): New splitter for same.
1412 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
1414 * function.c (purge_addressof_1): Add missing return values.
1416 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
1418 * function.c (is_addressof): New function. Returns true if
1419 the given piece of RTL is an ADDRESSOF.
1420 (purge_addressof_1): Make boolean. Return false if the
1421 ADDRESSOFs could not be purged.
1422 (purge_addressof): If ADDRESSOFs could not be purged from the
1423 notes attached to an insn, remove the offending note(s),
1424 unless they are attached to a libcall.
1426 1999-11-05 Andreas Jaeger <aj@suse.de>
1428 * genoutput.c (null_operand =): Initialize all fields.
1430 * errors.h: Add extern to prototypes.
1432 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
1434 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
1435 * configure: Rebuilt.
1437 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1439 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
1440 (mirror_conflicts): New function.
1441 (global_alloc): Call it.
1442 (expand_preferences): Remove redundant CONFLICTP test.
1443 (find_reg, dump_conflicts): Likewise.
1444 (prune_preferences): Process conflicts one word at a time.
1446 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
1448 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
1449 instead of an explicit loop.
1451 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
1453 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
1454 if REG_RETVAL check succeeds, then put classp in src_elt.
1456 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
1458 * function.c (pad_to_arg_alignment): Only update argument_pad
1459 if the argument's alignment is greater than STACK_BOUNDARY.
1461 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
1463 * bitmap.h (BITMAP_XFREE): New.
1464 * flow.c (life_analysis): Use it.
1465 (life_analysis_1): Free blocks.
1467 * combine.c (undo_commit): New.
1468 (try_combine): Use it. Don't zap undobuf.undos.
1469 (combine_instructions): Don't zap undobuf.undos; free the
1472 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
1474 * stmt.c (cost_table_): New.
1475 (estimate_case_costs): Use it instead of xmalloc.
1477 * toplev.c (compile_file): Reuse dumpname memory instead
1480 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
1482 * reg-stack.c (convert_regs_1): Initialize target_stack->top
1483 after verifying an EH edge.
1485 * haifa-sched.c (init_rgn_data_dependences): Correctly
1486 size bb_pending_lists_length when zeroing.
1488 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
1490 * function.c (diddle_return_value): New.
1491 (expand_function_end): Use it.
1492 * stmt.c (expand_null_return): Likewise.
1493 (expand_value_return): Likewise.
1495 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
1497 * reload1.c (reload): Don't remove return value clobbers.
1499 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
1501 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
1503 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
1505 * cse.c (cse_main): Use xmalloc, not alloca.
1506 (cse_basic_block): Likewise.
1507 * local-alloc.c (local_alloc): Likewise.
1509 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
1510 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1512 * rtl.c: Include toplev.h.
1513 (fatal): Remove declaration.
1515 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
1517 * haifa-sched.c (schedule_block): Fix thinko.
1519 1999-11-03 James McKelvey <mckelvey@fafnir.com>
1521 * fixinc/fixincl.c(create_file): Allow for systems that do not have
1522 S_IR* defined values
1524 1999-11-03 Philippe De Muyter <phdm@macqel.be>
1526 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
1527 call `malloc' instead.
1529 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
1531 * flags.h (flag_renumber_insns): Declare.
1532 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
1534 * rtl.h (renumber_insns): Change prototype.
1535 * toplev.c (flag_renumber_insns): Define.
1536 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
1538 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
1540 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
1541 and fpsqrtd. Use them and create fdiv function unit to more
1542 accurately represent fpu sqrt pipeline semantics on UltraSparc.
1543 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
1545 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
1547 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
1549 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
1550 insn into ready list, do not use just a raw swap.
1552 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
1554 * rtl.h (renumber_insns): New function.
1555 (remove_unnecessary_notes): Likewise.
1556 * emit-rtl.c (renumber_insns): Define.
1557 (remove_unncessary_notes): Likewise.
1558 * toplev.c (rest_of_compilation): Remove dead code.
1559 Use renumber_insns and remove_unncessary_notes.
1561 * gcse.c (struct null_pointer_info): New type.
1562 (get_bitmap_width): New function.
1563 (current_block): Remove.
1564 (nonnull_local): Likewise.
1565 (nonnull_killed): Likewise.
1566 (invalidate_nonnull_info): Take a null_pointer_info as input.
1567 (delete_null_pointer_checks_1): New function.
1568 (delete_null_pointer_checks): Use it.
1570 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
1571 (split_edges): Likewise.
1572 (schedule_block): Likewise.
1573 (compute_block_backward_dependencies): Likewise.
1574 (schedule_region): Likewise.
1575 (schedule_insns): Likewise.
1577 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
1579 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
1580 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
1581 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
1582 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
1583 * jump.c (delete_unreferenced_labels): Don't delete if
1584 LABEL_ALTERNATE_NAME is set.
1585 * print-rtl.c (print_rtx): Dump alternate name.
1586 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
1587 * rtl.h (LABEL_ALTERNATE_NAME): Define.
1588 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
1589 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
1591 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1593 * fix-header.c (recognized_extern, recognized_function): Constify
1596 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
1597 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
1598 (compute_available): Remove unused variable `last'.
1599 (compute_nearerout): Remove unused variable `temp_bitmap'.
1600 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
1601 Remove unused variable `x'.
1603 * scan.h (recognized_function, recognized_extern): Constify a
1606 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
1608 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1610 * varasm.c (decode_rtx_const): Use XSTR to access the string
1613 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
1615 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
1617 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1619 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
1621 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
1623 * pa.c (ireg_operand): New function.
1624 * pa.h (PREDICATE_CODES): Handle ireg_operand.
1625 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
1626 Fix out of date comment.
1628 * pa.md (negdi2): Turn into expander + anonymous pattern.
1630 * reload.c (find_reloads): Fix typos in recent change.
1632 * dwarf2out.c: Do not include ctype.h.
1634 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1636 * regclass.c (record_reg_classes): Always use may_move_cost when
1637 seeing how operand fits with various register classes.
1639 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
1641 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
1642 * toplev.c: Revert Nov 1 13:22 change.
1644 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
1646 * config/pa/pa.md (height reduction patterns): Add checks for
1647 overlapping operands to avoid semantic-destroying splits for
1648 height reduction patterns.
1650 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1652 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
1653 have been an hyphen, fixed.
1654 * configure: Rebuilt.
1656 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
1658 * config/arm/tpe.h: Add prototypes for exported functions.
1659 * config/arm/pe.c: Fix compile time warnings.
1660 * config/arm/semi.h: Fix compile time warnings.
1661 * config/arm/arm.c: Fix compile time warnings.
1662 * config/arm/arm.h: Fix compile time warnings.
1663 * config/arm/arm.md: Fix compile time warnings.
1664 * config/arm/thumb.c: Fix compile time warnings.
1665 * config/arm/thumb.h: Fix compile time warnings.
1666 * config/arm/thumb.md: Fix compile time warnings.
1668 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
1670 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
1673 * unroll.c (unroll_loop): Remove LOOP notes when loop is
1674 completely unrolled.
1676 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1678 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
1680 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
1682 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
1683 * rtl.h (rtx_equal_p): Move prototype.
1684 * rtl.c (rtx_equal_function_value_matters): Move from
1686 (rtx_equal_p): Likewise.
1687 * rtlanal.c (rtx_equal_function_value_matters): Delete.
1688 (rtx_equal_p): Likewise.
1690 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
1692 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
1695 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
1697 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
1699 * pa.h (ADDR_VEC_ALIGN): Define.
1701 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
1702 notes when presented with "if (foo) break; end_of_loop" and
1703 the break sequence gets moved out of the loop.
1705 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
1706 Remove explicit zero initializations of entries within MAP.
1708 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
1710 * reg-stack.c (convert_regs_1): Handle EH edges specially.
1712 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
1714 * bitmap.h (BITMAP_XMALLOC): New macro.
1715 * flow.c (CLEAN_ALLOCA): Remove.
1716 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
1717 (life_analysis): Likewise.
1718 (update_life_info): Don't use CLEAN_ALLOCA.
1719 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
1720 (calculate_global_regs_live): Likewise.
1721 (print_rtl_with_bb): Likewise.
1722 (verify_flow_info): Likewise.
1723 * global.c (global_alloc): Likewise.
1724 (global_conflicts): Likewise.
1725 * integrate.c (save_for_inline_nocopy): Likewise.
1726 (expand_inline_function): Likewise.
1727 * jump.c (jump_optimize_1): Likewise.
1728 (duplicate_loop_exit_test): Likewise.
1729 (thread_jumps): Likewise.
1730 * loop.c (loop_optimize): Likewise.
1731 (combine_givs): Likewise.
1732 (recombine_givs): Likewise.
1733 * reorg.c (dbr_schedule): Likewise.
1734 * unroll.c (unroll_loop): Likewise.
1736 * combine.c (combine_instructions): Use xmalloc instead of alloca.
1738 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
1740 * toplev.c (rest_of_compilation): Don't optimize the CFG
1741 when rebuilding, just before dbr.
1743 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1745 * output.h (assemble_end_function, assemble_destructor,
1746 assemble_constructor, assemble_gc_entry, assemble_global,
1747 assemble_label, output_constant_pool) Constify a char*.
1749 * varasm.c (assemble_destructor, assemble_constructor,
1750 assemble_gc_entry, assemble_end_function, assemble_global,
1751 assemble_label, output_constant_pool): Likewise.
1753 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
1755 * config/arm/thumb.c (thumb_expand_prologue): Add comments
1756 explaining what is goin on in this function.
1758 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1760 * regclass.c (record_reg_classes): In matching case, recompute
1761 costs since the direction of movement is different.
1763 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
1765 * resource.c (mark_target_live_regs): For unconditional branches,
1766 the resources found at the branch target should be added to the
1767 resources found so far, not intersected.
1769 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
1771 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
1773 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
1774 (sys/mman.h): Include this file only if #HAVE_MMAP.
1775 (run_compiles): Initialize `esac_fmt' with one old KR string, not
1776 with automatically concatenated ANSI strings.
1778 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
1780 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
1781 (DIV_ROUND_UP): Robustify.
1782 (ggc_recalculate_in_use_p): New function.
1783 (release_pages): Don't inline it.
1784 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
1786 (ggc_pop_context): Use ggc_recalculate_in_use_p.
1787 (clear_marks): Always save in_use_p.
1788 (sweep_pages): Use ggc_recalculate_in_use_p.
1789 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
1790 Release pages before counting statistics.
1792 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
1794 * toplev.c (rest_of_compilation): Fix thinko in this change:
1796 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
1798 (rest_of_compilation): If inside an inlined external function,
1799 pretend we are just being declared.
1801 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
1803 * flow.c (calculate_global_regs_live): Fix thinko.
1805 * integrate.c (expand_inline_function): Fix bugs in previous
1806 change from Oct 28, 1999.
1808 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
1810 * stmt.c (expand_value_return): Fix typo in this change:
1812 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1813 (expand_value_return): Correctly convert VAL when promoting function
1814 return; support RETURN_REG being a PARALLEL.
1816 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
1818 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
1820 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1822 * hard-reg-set.h (reg_names): Constify a char*.
1824 * regclass.c (reg_names): Likewise.
1826 * regs.h (reg_names): Likewise
1828 * a29k/a29k.c (reg_names): Delete declaration.
1830 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
1832 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
1833 arc_output_function_epilogue): Likewise.
1835 * elxsi/elxsi.c (reg_names): Likewise.
1837 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
1839 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
1842 * m88k/m88k.c (output_function_profiler): Likewise.
1844 * sparc/sparc.c (sparc_flat_output_function_prologue,
1845 sparc_flat_output_function_epilogue): Likewise.
1847 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
1849 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
1850 warning from -Wuninitialized and put it under -W.
1851 * function.c (uninitialized_vars_warning): Warn only when the
1852 corresponding flag is set.
1854 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
1856 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
1857 is nonzero and the single set does not have an elt, then assign
1860 * simplify-rtx.c: New file.
1861 * Makefile.in (OBJS): Add simplify-rtx.o
1862 (simplify-rtx.o): Add dependencies.
1863 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
1864 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
1865 (cse_gen_binary, simplify_unary_operation): Delete.
1866 (simplify_binary_operation, simplify_plus_minus): Likewise.
1867 (check_fold_consts, simplify_relation_operation): Likewise.
1868 (simplify_ternary_operation): Likewise.
1869 (delete_trivially_dead_insns): Simplify the contents of the
1870 REG_EQUAL note before trying to substitute it into the source
1871 of the reg-reg copy at the end of a libcall sequence.
1873 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
1874 references/callers changed.
1876 * mn10200.c (mn10200_va_arg): Force the return value into a
1879 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
1881 * cccp.c (macroexpand): Avoid out of range accesses for omitted
1884 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
1886 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
1888 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
1890 * fold-const.c (fold): Fix thinko when optimizing comparisons
1893 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
1895 * gcc.texi (Passes): Update front-end files to their current
1898 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
1900 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
1901 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
1902 (PREDICATE_CODES): Add addition_operation.
1903 * alpha-protos.h (addition_operation): Declare.
1904 (secondary_reload_class): Likewise.
1905 * alpha.c (addition_operation): New.
1906 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
1907 * alpha.md (adddi3): Turn into expander.
1908 (*lda, *adddi_2): New.
1909 (movsf, movdf patterns): Don't preference integer regs.
1910 (movsi, movdi patterns): Don't preference fp regs.
1912 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
1914 * genrecog.c (write_switch): Check for duplicate CODE cases.
1916 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
1918 * ggc-common.c: Update pre-function commentary.
1919 * ggc-page.c: Likewise.
1921 (poison_pages): Use memset directly.
1922 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
1923 (ggc_collect): Poison before sweeping.
1924 * ggc-simple.c: Update pre-function commentary.
1925 (ggc_alloc_obj): Poison non-zeroed memory.
1927 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
1929 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
1930 match format string, even on 64-bit hosts.
1931 * gcc-page.c (ggc_page_print_statistics): Likewise.
1933 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
1935 * config/i386/i386.c (ix86_cpu): Revert last patch.
1936 * config/i386/i386.h (ix86_cpu): Ditto.
1938 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
1940 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
1941 TYPE_SIZE, convert type of result to sizetype.
1943 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
1945 * flow.c (count_or_remove_death_notes): Equate NULL with the
1948 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
1949 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
1952 * i386.c (pic_label_no): Delete.
1953 (ix86_attr_length_default): Don't use single_set to peek
1956 * recog.c (peephole2_optimize): Allow recog_next_insn to index
1957 the first insn after bb->end.
1958 * i386.md (push mem peeps): Scratch is live after evaluation
1960 (cmp mem peep): Similarly.
1962 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
1964 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
1965 * function.c (pad_to_arg_alignment): Add missing braces.
1967 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1969 * alpha/alpha-protos.h (literal_section): Add prototype.
1970 (alpha_need_linkage, alpha_start_function,alpha_end_function):
1973 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
1975 (alpha_start_function, alpha_end_function, float_strings,
1976 alpha_need_linkage): Constify a char*
1978 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
1980 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
1982 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
1984 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
1986 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1988 * flow.c (debug_flow_info): Add prototype.
1990 * gcc.c (main): Likewise.
1992 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
1995 * reload1.c (failed_reload, set_reload_reg): Likewise.
1997 * mips-tfile.c (main): Likewise.
1998 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
1999 with ATTRIBUTE_NORETURN.
2001 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
2003 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
2004 DECL is not a memory ref.
2006 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
2008 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
2009 * config/i386/i386.c (ix86_cpu): Add extern attribute.
2011 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
2013 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
2014 * config/mips/elf64.h: ditto.
2016 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
2018 * expr.c (emit_push_insn): New argument alignment_pad.
2019 Update all callers. Adjust stack pointer based on alignment pad.
2020 * function.c (pad_to_arg_alignment): New argument alignment_pad.
2021 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
2022 (locate_and_pad_parm): New argument alignment_pad. Update all
2024 * expr.h (emit_push_insn): Update prototype.
2025 (locate_and_pad_parm): Update prototype.
2026 * calls.c (arg_data): Add new field alignment_pad.
2027 (initialize_argument_information): Initialize alignment_pad.
2029 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
2031 * except.c (free_eh_nesting_info): Free the info itself.
2032 * function.c (free_after_compilation): Don't free NULL.
2033 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
2034 (pre_edge_insert): Free inserted.
2035 * stmt.c (free_stmt_status): Don't free NULL.
2037 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
2039 * gcov.c (DIR_SEPARATOR): Provide default.
2040 (output_data): Add test for MS-DOS format absolute filename.
2041 (fancy_abort): Correct program name.
2042 (open_files): Open all files in binary mode.
2043 * libgcc2.c (__bb_exit_func): Likewise.
2045 * profile.c (init_branch_prob): Specify binary when opening files.
2047 * flags.h (flag_unwind_tables): New decl.
2048 * toplev.c (flag_unwind_table): New definition.
2049 (f_options): Add -funwind-tables.
2050 (decode_g_option): Clarify warning when unknown -g option is given.
2051 (rest_of_compilation): If inside an inlined external function,
2052 pretend we are just being declared.
2054 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
2055 (dwarf2out_frame_finish): Likewise.
2057 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
2059 * fold-const.c (merge_ranges): In not in0, but in1, handle
2060 upper bounds equal like subset case.
2062 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
2064 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
2065 passed in a register but moved to the stack.
2067 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
2069 * gcc.c (pass_exit_codes, greatest_status): New variables.
2070 (struct option_map): Add entry for "--pass-exit-codes".
2071 (execute): Update greatest_status if error.
2072 (display_help): Add documentation for -pass-exit-codes.
2073 (process_command): Handle -pass-exit-codes.
2074 (main): Look at pass_exit_codes and greatest_status on call to exit.
2076 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2078 * reload.c (find_reloads): Refine test for no input reload
2079 case to not includes reloads emitted after insn.
2081 * function.c (find_temp_slots_from_address): Handle sum involving
2082 a register that points to a temp slot.
2083 (update_temp_slot_address): Make recursive call if both old and
2084 new are PLUS with a common operand.
2085 * calls.c (expand_call): Mark temp slot for result as having
2088 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
2090 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
2091 component as well as "BINUTILS".
2093 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
2094 * integrate.c (copy_rtx_and_substitute): Likewise.
2095 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
2096 All callers changed.
2097 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
2099 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
2100 gdb extensions, write size of type; also be more consistent
2101 in using references when this is a subtype.
2103 * pa.md (extv, extzv, insv): Use define_expand to reject constant
2104 that is out of range.
2106 * loop.c (unknown_constant_address_altered): New variable.
2107 (prescan_loop): Initialize it.
2108 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
2109 (invariant_p, case MEM): Remove handling for volatile and readony;
2110 check new variable if readonly.
2111 (check_dbra_loop): Chdeck unknown_constant_address_altered.
2113 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
2114 (addr_affects_sp_p): Removed from note_mem_written and only
2115 define #ifdef AUTO_INC_DEC.
2117 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
2119 * regclass.c (record_reg_classes): Properly handle register move
2122 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
2123 Don't think valid if both operands are invalid.
2124 (struct constant_descriptor): New field RTL.
2125 (mark_const_hash_entry): Mark it.
2126 (record_constant{,_rtx}): Initialize it.
2127 (output_constant_def): Allocate RTL in permanent obstack and
2129 ({record,compare}_constant_1): Modes must match for
2130 CONSTRUCTOR of ARRAY_TYPE.
2132 * c-common.h (initializer_constant_valid_p): Delete decl from here.
2133 * output.h (initializer_constant_valid_p): Move decl to here.
2134 * c-common.c (initializer_constant_valid_p): Delete function from here.
2135 * varasm.c (initializer_constant_valid_p): Move function to here.
2137 * tree.h (STRIP_SIGN_NOPS): New macro.
2138 * fold-const.c (optimize_minmax_comparison): New function.
2139 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
2140 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
2141 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
2142 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
2143 widening conversions.
2144 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
2145 to look at size of mode, not precision of type; also add missing cases.
2146 (optimize_bit_field_compare, decode_field_reference): Don't try to
2147 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
2149 * dwarf2out.c (ctype.h): Include.
2150 (dwarf2out_set_demangle_name_func): New function.
2151 (size_of_line_info): Deleted.
2152 (output_line_info): Compute size of line info table from difference
2154 (base_type_die, add_name_attribute): Call demangle function, if any.
2155 (field_byte_offset): Use bits per word for variable length fields.
2156 (gen_array_type_die): Add array name.
2157 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
2158 (dwarf2out_add_library_unit_info): New function.
2160 * explow.c (set_stack_check_libfunc): New function.
2161 (stack_check_libfunc): New static variable.
2162 (probe_stack_range): Allow front-end to set up a libfunc to call.
2164 * combine.c (simplify_comparison): When making comparison in wider
2165 mode, check for having commuted an AND and a SUBREG.
2166 (contains_muldiv): New function.
2167 (try_combine): Call it when dividing a PARALLEL.
2168 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
2169 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
2171 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
2172 use one of the CLOBBERs instead.
2173 (if_then_else_cond): If comparing against zero, just return thing
2176 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
2177 Don't generate shifts and subtract if have conditional arithmetic.
2179 * rtl.h (delete_barrier): New declaration.
2180 * jump.c (jump_optimize): Set up to handle conditional call.
2181 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
2182 (delete_barrier): New function.
2184 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
2186 * recog.c (nonmemory_operand): Accept ADDRESSOF.
2188 * tree.c (build_type_attribute_variant): Push to obstack of
2189 ttype around type_hash_canon call.
2191 * expr.c (placeholder_list): Move decl to file scope.
2192 (expand_expr): Don't force access to volatile just because its
2194 If ignoring reference operations, just expand the operands.
2195 (expand_expr, case COMPONENT_REF): Propagate
2196 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
2197 Refine test for using bitfield operations vs pointer punning.
2198 (expand_expr, case CONVERT_EXPR): If converting to
2199 BLKmode UNION_TYPE from BLKmode, just return inner object.
2200 Use proper mode in store_field call.
2201 Properly set sizes of object to store and total size in store_field
2202 call for convert to union.
2203 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
2204 memory (like for ADDR_EXPR). Also, don't put constant in register if
2205 we'll want it in memory.
2206 (readonly_fields_p): New function.
2207 (expand_expr, case INDIRECT_REF): Call it if LHS.
2208 (expand_assignment): Handle a RESULT_DECL where
2209 DECL_RTL is a PARALLEL.
2210 (do_jump, case WITH_RECORD_EXPR): New case.
2211 (get_inner_reference): Always go inside a CONVERT_EXPR
2212 and NOP_EXPR if both modes are the same.
2213 (store_field): Use bitfield operations if size of bitsize is not same
2214 as size of RHS's type.
2215 Check for bitpos not a multiple of alignment in BLKmode case.
2216 Do block move in largest possible alignment.
2217 (store_constructor): Set BITSIZE to -1 for variable size and properly
2218 in case of array of BLKmode.
2219 (expand_expr_unaligned): New function.
2220 (do_compare_and_jump): Call it.
2222 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
2223 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
2224 does not include 'o'.
2226 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
2227 both SET_DEST and SET_SRC reference a virtual register.
2228 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
2230 * integrate.c (expand_inline_function): Handle case of setting
2231 virtual stack vars register (from built in setjmp); when parameter
2232 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
2233 (subst_constant): Add new parm, MEMONLY.
2234 (expand_inline_function, integrate_parm_decls): Pass new parm.
2235 (integrate_decl_tree): Likewise.
2236 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
2237 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
2238 (copy_rtx_and_substitute, case SET): Add explicit calls to
2239 copy_rtx_and_substitute for both sides.
2241 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
2243 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
2244 within INDEX_TYPE, instead of before.
2245 (fixup_gotos): Use f->target_rtl, not the next insn,
2246 since latter may be from a later fixup.
2247 (expand_value_return): Correctly convert VAL when promoting function
2248 return; support RETURN_REG being a PARALLEL.
2249 (expand_return): When checking for result in regs and having
2250 cleanup, consider PARALLEL in DECL_RTL as being in regs.
2252 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
2254 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
2255 last_nominal_fname): Mark const.
2256 (struct include_hash: name, nshort, control_macro): Mark
2258 (struct macrodef: symnam): Mark const.
2259 (struct if_stack: fname): Mark const.
2260 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
2261 (IStable): New character-syntax array which encompasses all
2262 the old is_foo arrays.
2263 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
2264 is_space): New macros for interrogating IStable.
2265 (check_macro_name): Kill last argument. All callers changed.
2267 * cppinit.c (initialize_char_syntax): Delete.
2268 (is_idchar, is_idstart, is_hor_space, is_space,
2269 trigraph_table): Delete.
2270 (IStable): New. Initialize with clever macros to avoid
2271 information duplication.
2272 (builtin_array): Table of builtins to get rid of explicit list
2273 in initialize_builtins.
2274 (initialize_builtins): Use builtins_array.
2275 (cpp_start_read): Call init_IStable, and set IStable['$'] if
2276 opts->dollars_in_ident.
2278 * cppexp.c: Change all refs to is_xyz[] arrays to use new
2280 (cpp_parse_expr): Avoid 'format string is not constant'
2281 warning. Use ISGRAPH to identify printable chars.
2282 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
2284 (read_and_prescan): Map trigraphs to chars with open-coded
2285 if-else-if-... sequence, not a lookup table.
2286 * cpphash.c: Change all refs to is_xyz[] arrays to use new
2288 * cpplib.c: Change all refs to is_xyz[] arrays to use new
2289 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
2290 (check_macro_name): Remove ability to report an invalid
2291 assertion name, which is never used.
2292 (do_line): Constify a couple of char *'s.
2293 * cppmain.c (main): Call cpp_cleanup before returning.
2295 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
2297 * ggc.h (struct ggc_statistics): New type.
2298 (ggc_get_size): New function.
2299 (ggc_print_statistics): Likewise.
2300 * ggc-common.c (ggc_stats): New variable.
2301 (ggc_mark_rtx_children): Keep statistics.
2302 (ggc_mark_tree_children): Likewise.
2303 (ggc_print_statistics): New function.
2304 * ggc-page.c (struct globals): Add bytes_mapped field.
2305 (alloc_anon): Update it.
2306 (release_pages): Likewise.
2307 (ggc_get_size): New function.
2308 (ggc_page_print_statistics): New function.
2309 * ggc-simple.c (ggc_get_size): New function.
2311 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
2313 * flow.c (propagate_block): When the last reference to a label
2314 before an ADDR_VEC is deleted because the reference is a dead
2315 store, delete the ADDR_VEC.
2317 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
2319 * resource.c (find_free_register): Don't use the frame pointer
2320 if frame_pointer_needed.
2322 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
2324 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
2325 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
2327 * config/i960/i960.c (i960_va_start): New locals base, num.
2328 Use INDIRECT_REF instead of ARRAY_REF on valist.
2329 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
2331 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
2333 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
2335 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
2337 * tree.def (PLACEHOLDER_EXPR): Update comments.
2339 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2341 * c-common.c (check_format_info): Avoid non-literal format string
2342 warnings when `first_arg_num' is zero.
2344 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2346 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
2348 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
2350 * arm.md (casesi_insn): Add a clobber of the condition code
2353 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
2355 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
2356 used by both cc1 and cc1plus.
2358 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
2360 * config/arm/arm.c: Initialise arm_structure_size_boundary to
2361 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
2362 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
2363 to the value 32 if it has not already been defined.
2364 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
2365 Override definition in arm.h with a value of 8.
2367 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
2369 * c-pragma.c (push_alignment): Don't check the return value
2372 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
2374 * sparc.h (ADJUST_COST): Fix thinko.
2376 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
2378 * cccp.c (rescan): Fixed obp pointer handling around call to
2379 check_expand subroutine.
2381 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
2383 * gcse.c (delete_null_pointer_checks): Only record non-null info
2384 for pseudos when examining stores.
2386 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
2387 splitters for these patterns. Use "#" for output templates.
2388 (addsi3_carryin_shift): New pattern.
2390 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
2392 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
2393 of the function return register into a plain REG until
2394 after function inlining is done.
2396 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
2398 * jump.c (jump_optimize_1): If we did cross-jumping, and
2399 the data will matter, rebuild the CFG.
2400 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
2401 not optimizing. Don't run shorten_branches.
2402 * toplev.c (rest_of_compilation): Run shorten_branches after
2405 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
2407 * rtl.h (note_stores): Add additional paramter.
2408 * rtlanal.c (reg_set_p_1): Take additional paramter.
2409 (reg_set_last_1): Likewise.
2410 (reg_set_p): Adjust call to note_stores.
2411 (reg_set_last): Likewise.
2412 (note_stores): Pass data parameter to worker function.
2413 * alias.c (record_set): Take additional parameter.
2414 (init_alias_analysis): Pass it.
2415 * caller-save.c (mark_set_regs): Take additional parameter.
2416 (save_call_clobbered_regs): Pass NULL to note_stores.
2417 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
2419 (record_dead_and_set_regs_1): Likewise.
2420 (reg_dead_at_p_1): Likewise.
2421 (combine_instructions): Adjust calls to note_stores.
2422 (try_combine): Likewise.
2423 (record_dead_insn): Remove.
2424 (record_dead_and_set_regs): Adjust calls to note_stores.
2425 (reg_dead_at_p): Likewise.
2426 * cse.c (invalidate_skipped_set): Take additional parameter.
2427 (cse_check_loop_start): Likewise.
2428 (cse_check_loop_start_value): Remove.
2429 (cse_set_around_loop): Adjust calls to note_stores.
2430 * flow.c (notice_stack_pointer_modification): Take additional
2431 parameter. Remove duplicate declaration.
2432 (record_volatile_insns): Adjust calls to note_stores.
2433 * gcse.c (record_set_info): Take additional parameter.
2434 (record_last_set_info): Likewise.
2435 (invalidate_nonnull_info): Likewise.
2436 (record_set_insn): Remove.
2437 (compute_sets): Adjust calls to note_stores.
2438 (last_set_insn): Remove.
2439 (compute_hash_table): Adjust calls to note_stores.
2440 (insert_insn_end_bb): Likewise.
2441 (delete_null_pointer_checks): Likewise.
2442 * global.c (mark_reg_store): Take additional parameter.
2443 (mark_reg_clobber): Likewise.
2444 (reg_becomes_live): Likewise.
2445 (global_conflicts): Adjust calls to note_stores.
2446 (build_insn_chain): Likewise.
2447 * integrate.c (note_modified_parmregs): Take additional parameter.
2448 (mark_stores): Likewise. Make it static.
2449 (save_for_inline_nocopy): Adjust calls to note_stores.
2450 (try_constants): Likewise.
2451 * integrate.h (mark_stores): Remove declaration.
2452 * jump.c (mark_modified_reg): Take additional parameter.
2453 (thread_jumps): Adjust calls to note_stores.
2454 * local-alloc.c (validate_equiv_mem_from_store): Take additional
2456 (no_equiv): Likewise.
2457 (reg_is_set): Likewise.
2458 (validate_equiv_mem): Adjust calls to note_stores.
2459 (update_equiv_regs): Likewise.
2460 (block_alloc): Likewise.
2461 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
2462 (note_addr_stored): Take additional parameter.
2463 (note_set_pseudo_multiple_uses): Likewise.
2464 (record_initial): Likewise.
2465 (prescan_loop): Adjust calls to note_stores.
2466 (strength_reduce): Likewise.
2467 (check_dbra_loop): Likewise.
2468 * regmove.c (flags_set_1): Take additional paramter.
2469 (mark_flags_life_zones): Adjust calls to note_stores.
2470 * reload1.c (mark_not_eliminable): Take additional parameter.
2471 (forget_old_reloads_1): Likewise.
2472 (reload_cse_invalidate_rtx): Likewise.
2473 (reload_cse_check_clobber): Likewise.
2474 (reload_combine_note_store): Likewise.
2475 (move2add_note_store): Likewise.
2476 (reload): Adjust calls to note_stores.
2477 (reload_as_needed): Likewise.
2478 (emit_reload_insns): Likewise.
2479 (reload_cse_regs_1): Likewise.
2480 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
2481 (reload_combine): Adjust calls to note_stores.
2482 * resource.c (update_live_status): Take additional paramter.
2483 (mark_target_live_regs): Adjust calls to note_stores.
2484 * stupid.c (find_clobbered_regs): Take additional parameter.
2485 (stupid_life_analysis): Adjust calls to note_stores.
2487 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
2489 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
2492 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
2495 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
2496 of the variable arm_structure_size_boundary.
2498 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
2500 * alias.c (init_alias_analysis): Allocate reg_known_value and
2501 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
2503 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
2504 * cse.c (cse_main): Call end_alias_analysis.
2505 * haifa-sched.c (schedule_insns): Likewise.
2506 * local-alloc. (update_equiv_regs): Likewise.
2507 * reload1.c (reload_cse_regs): Likewise.
2509 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2511 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
2512 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
2513 mapping from MASK_FPU.
2515 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
2517 * sparc.md (call): Don't bound structure return size to 0xfff.
2519 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
2521 * resource.c (mark_target_live_regs): Check that the target
2522 insn wasn't created after compute_bb_for_insn.
2524 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
2526 * ggc-page.c (poison_pages): Don't be overzealous.
2528 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
2530 * alias.c: Update comments for ADDRESS.
2531 (nonlocal_reference_p): Look inside the ADDRESS to determine if
2532 it is a local memory reference.
2534 * c-typeck.c (build_function_call): Check that the built-in
2535 function is of class BUILT_IN_NORMAL before trying to recongize
2537 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
2538 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
2540 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
2542 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
2544 (pre_gcse): Likewise.
2545 (hoist_expr_reaches_here_p): Likewise.
2546 (hoist_code): Likewise.
2547 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
2549 (pre_expr_reaches_here_p_work): ... here.
2550 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
2552 (expr_reaches_here_p_work): ... here.
2554 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
2556 * resource.c (find_basic_block): Delete.
2557 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
2558 (init_resource_info): Call compute_bb_for_insn.
2560 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
2562 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
2563 with already adjacent blocks, but no fallthru.
2564 (merge_blocks_move_successor_nojumps): Simplify.
2565 (debug_flow_info): New.
2567 * toplev.c (rest_of_compilation): Open jump1 dump file before
2568 jump and close after, as opposed to just using dump_rtl.
2570 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2572 * reload.h (earlyclobber_operand_p): Declare.
2573 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
2574 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
2575 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
2576 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
2578 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
2579 Richard Henderson <rth@cygnus.com>
2581 * emit-rtl.c (emit_block_insn_before): New.
2582 (emit_block_insn_after): New.
2583 * basic-block.h: Declare them.
2585 * bitmap.h: Protect from multiple inclusion.
2587 * recog.c (scratch_operand): Handle VOIDmode correctly.
2589 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
2591 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
2592 * function.c (assign_parms): Likewise.
2593 * global.c (global_conflicts): Clarify STACK_REGS commentary.
2595 * reg-stack.c (max_uid): Remove.
2596 (blocks, block_begin, block_end, block_drops_in): Remove.
2597 (block_stack_in, block_out_reg_set, block_number): Remove.
2598 (struct block_info_def, BLOCK_INFO): New.
2599 (enum emit_where): New.
2600 (current_block): New.
2601 (BLOCK_NUM): Remove.
2602 (mark_regs_pat, record_label_references): Remove.
2603 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
2605 (goto_block_pat, print_blocks, dump_stack_info): Remove.
2606 (reg_to_stack): Simplified test for existance of fp code. Use
2607 flow.c code. Call shorten_branches after cross-jump opt.
2608 (check_asm_stack_operands): Renamed from record_asm_reg_life.
2609 Return false if the asm doesn't use stack regs. Don't do life
2610 analysis on the asm.
2611 (emit_pop_insn): Replace function pointer arg `when' with
2612 enum `where'. Update all callers.
2613 (change_stack): Likewise. Update basic block end.
2614 (emit_swap_insn): Use current_block->head to limit reverse search
2615 for start of block. Use emit_block_insn_after.
2616 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
2617 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
2618 structure assignment instead of bcopy.
2620 (convert_regs_entry, convert_regs_exit): New.
2621 (convert_regs_1, convert_regs_2): Split out from convert_regs.
2622 Work on basic blocks and the CFG.
2623 (convert_regs): Use them.
2625 * i386.c (output_fix_trunc): Remove code for DImode input operand
2626 not at top-of-stack.
2627 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
2629 (fix_truncdi_1): Allow any mode scratch.
2631 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
2633 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
2634 * linux.h, netbsd.h, vms.h: Not here.
2636 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
2638 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
2639 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
2640 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
2641 CONDITIONAL_REGISTER_USEAGE): Use them.
2642 * config/mips/mips.c (mips_move_1word,mips_move_2words,
2643 gen_conditional_branch,override_options) : Use them.
2644 * config/mips/mips.md : Use them.
2646 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
2648 * i386.md (zero_extendqihi2): Use SImode register name with andl.
2650 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
2652 * integrate.c (function_cannot_inline_p): Don't allow inlining
2655 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2657 * c-parse.in (cast_expr): Constify.
2659 * cccp.c (special_symbol): Likewise.
2661 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
2663 * dwarf2out.c (base_type_die): Likewise.
2665 * global.c (allocno_compare): Likewise.
2667 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
2669 * regclass.c (fix_register): Likewise.
2671 * rtl.h (fix_register): Likewise.
2673 * stupid.c (stupid_reg_compare): Likewise.
2675 * toplev.c (decode_f_option): Likewise.
2677 * tree.c (build_complex_type): Likewise.
2679 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
2681 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
2683 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2685 * reload.c (find_reloads): Compute mode and nregs fields of all
2687 * reload1.c (calculate_needs_all_insns): Simplify a bit.
2688 (calculate_needs): Use precomputed mode/nregs values.
2689 (allocate_reload_reg): Likewise.
2691 (failed_reload, set_reload_reg): ... new functions.
2692 (choose_reload_regs_init): New function, mostly broken out from...
2693 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
2694 Also lose one #if 0 block.
2696 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
2698 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
2701 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
2703 * tree.h (BLOCK_TYPE_TAGS): Remove.
2704 (BLOCK_END_NOTE): Likewise.
2705 (BLOCK_LIVE_RANGE_FLAG): Likewise.
2706 (BLOCK_LIVE_RANGE_START): Likewise.
2707 (BLOCK_LIVE_RANGE_END): Likewise.
2708 (tree_block): Remove live_range_flag, live_range_var_flag, and
2709 type_tags. Remove end_note, live_range_start, and live_range_end.
2710 (remember_end_note): Remove prototype.
2711 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
2712 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
2714 * ggc-common.c (ggc_mark_tree_children): Don't mark
2715 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
2716 * integrate.c (adjust_copied_decl_tree): Remove.
2717 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
2718 * stmt.c (last_block_end_note): Remove.
2719 (init_stmt): Don't add a GC root for it.
2720 (expand_fixup): Don't set it.
2721 (remember_end_note): Remove.
2722 (expand_end_bindings): Don't set last_block_end_note.
2724 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2726 * reload1.c (reload_reg_free_for_value_p): Show
2727 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
2730 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
2732 * expmed.c (extract_bit_field): Allow for the case of non-integer
2733 objects that are smaller than a word (like SFmode on a 64-bit
2736 * loop.c (basic_induction_var): A non-integer variable which is
2737 being set by a paradoxical subreg is probably not a biv.
2739 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2741 * prefix.c (translate_name) Check for empty prefix string.
2743 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
2745 * Makefile.in (CPP_CROSS_NAME): New variable.
2746 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
2748 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
2749 names of the files to be uninstalled.
2751 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
2753 * collect2.c (IS_DIR_SEPARATOR): Define.
2754 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
2756 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
2759 * haifa-sched.c (add_dependence): Update the true dependency
2760 cache the first time we add a true dependence to the LOG_LINKS chain.
2762 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
2764 * fold-const.c (fold): Fix comment.
2766 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2768 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
2769 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
2770 dbxout_start_new_source_file, dbxout_source_file,
2771 dbxout_source_line, dbxout_finish, dbxout_type_fields,
2772 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
2774 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
2775 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
2776 (dbxout_block): Initialize variable `blocknum'.
2778 * dbxout.h (dbxout_init, dbxout_finish,
2779 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
2780 dbxout_args, dbxout_source_line): Constify a char*.
2782 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
2783 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
2784 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
2785 low_pc_attribute, high_pc_attribute, body_begin_attribute,
2786 body_end_attribute, comp_dir_attribute, sf_names_attribute,
2787 src_info_attribute, mac_info_attribute, producer_attribute,
2788 lookup_filename, generate_macinfo_entry, fundamental_type_code,
2789 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
2790 dwarfout_undef): Constify a char*.
2791 (add_incomplete_type, retry_incomplete_types): Add prototypes.
2793 * dwarfout.h (dwarfout_define, dwarfout_undef,
2794 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
2796 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
2798 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
2799 (MULTILIB_ISA_DEFAULT): New.
2800 (MULTILIB_DEFAULTS): Use it.
2801 * config/mips/mips.c (): Remove the now unnecessary definition
2802 of MIPS_ISA_DEFAULT.
2803 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
2804 unnecessary definition.
2806 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
2808 * arm.md (pic_load_addr): Add constraints to operand 1.
2810 1999-10-25 Bruce Korb <autogen@linuxbox.com>
2812 * fixinc/genfixes: Provide a means for specifying -D options to
2815 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
2817 * arm.c (arm_override_options): Correct initialization of
2818 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
2819 arm_is_strong, and arm_is_6_or_7.
2821 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
2822 (note_set_pseudo_multiple_uses): New function.
2823 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
2824 if a pseudo set in the loop exit is used elsewhere.
2826 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
2828 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
2830 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
2832 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
2833 a single load-address pattern.
2835 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
2837 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
2838 depending on whether or not line-number notes are present.
2840 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2842 * cccp.c (progname, file_buf, default_include, include_file,
2843 macrodef, definition, hashval, wchar_type, user_label_prefix,
2844 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
2845 expand_to_temp_buffer, is_system_include, base_name,
2846 absolute_filename, read_name_map, open_include_file,
2847 record_control_macro, check_precompiled, check_preconditions,
2848 pcfinclude, pass_thru_directive, create_definition,
2849 check_macro_name, comp_def_part, collect_expansion,
2850 check_assertion, read_token_list, assertion_install,
2851 assertion_lookup, eval_if_expression, conditional_skip,
2852 validate_else, skip_quoted_string, quote_string, macarg1,
2853 error_from_errno, install, lookup, hashf, dump_defn_1,
2854 perror_with_name, pfatal_with_name, main, trigraph_pcp,
2855 check_white_space, rescan, handle_directive, monthnames,
2856 special_symbol, do_include, remap_include_file, write_output,
2857 arglist, do_assert, do_unassert, do_line, do_error, do_once,
2858 do_ident, do_sccs, do_xifdef, skip_if_group,
2859 output_line_directive, macroexpand, macarg, change_newlines,
2860 initialize_builtins, make_definition): Constify a char*.
2862 * pcp.h (stringdef): Likewise.
2864 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
2866 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
2869 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
2870 Richard Henderson <rth@cygnus.com>
2872 * alias.c: Include ggc.h.
2873 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
2874 (record_set): Verify enough room in reg_base_value.
2875 (init_alias_analysis): Allocate reg_base_value with xcalloc.
2876 Register it as a GC root.
2877 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
2878 * Makefile.in (alias.o): Depend on ggc.h.
2880 * unroll.c (unroll_loop): Verify the insn before a barrier
2881 is a JUMP_INSN before checking JUMP_LABEL.
2883 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2885 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
2886 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
2887 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
2888 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
2889 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
2890 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
2892 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2894 * output.h (ctors_section, dtors_section, bss_section): Prototype.
2896 * alpha/alpha-interix.h (text_section): Delete prototype.
2897 * alpha/elf.h (text_section): Likewise.
2898 * arm/linux-elf.h (text_section): Likewise.
2899 * arm/linux-telf.h (text_section): Likewise.
2900 * c4x/c4x.h (text_section): Likewise.
2901 * dsp16xx/dsp16xx.h (bss_section): Likewise.
2902 * elfos.h (text_section): Likewise.
2903 * i386/aix386ng.h (text_section): Likewise.
2904 * i386/i386-interix.h (text_section): Likewise.
2905 * i386/sco5.h (text_section): Likewise.
2906 * i386/svr3gas.h (text_section): Likewise.
2907 * nextstep.h (text_section): Likewise.
2908 * psos.h (text_section): Likewise.
2909 * ptx4.h (text_section): Likewise.
2910 * svr3.h (text_section): Likewise.
2911 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
2913 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2915 * final.c (peephole): Delete prototype.
2917 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
2918 (pre_insert_copies): Remove unused variable `bb'.
2920 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
2923 * output.h (peephole): Add prototype.
2925 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
2927 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
2930 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
2932 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
2933 for inlined declarations.
2935 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
2937 * arm.c (logical_binary_operator): New fucntion.
2938 * arm.h (logical_binary_operator): Declare it.
2939 (PREDICATE_CODES): Handle logical_binary_operator.
2940 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
2941 output constraints. Add appropriate splitters.
2942 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
2943 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
2944 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
2946 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2948 * genoutput.c (struct operand_data): New elt eliminable.
2949 (output_operand_data): Write it.
2950 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
2951 (compare_operands): Take it into account.
2952 * recog.h (struct insn_operand_data): New elt eliminable.
2953 * reload1.c (check_eliminable_occurrences, elimination_effects): New
2955 (old_asm_operands_vec, new_asm_operands_vec): Delete.
2956 (eliminate_regs): Move code that detects changes to elimination
2957 target regs into new function elimination_effects.
2958 Delete one #if 0 block.
2959 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
2960 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
2961 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
2962 Only call eliminate_regs for real operands of the insn, not for parts
2963 of its structure or parts matched by things like match_operator.
2964 Use elimination_effects and check_eliminable_occurrences. Use
2965 copy_insn to duplicate the pattern when not in the final pass.
2967 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
2969 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
2972 1999-10-22 Bruce Korb <autogen@linuxbox.com>
2974 * fixinc/README: document the "mach" machine matching test
2975 * fixinc/fixfixes.c: Implement the #else/#endif label fix
2976 * fixinc/fixtests.c: Implement the #else/#endif label test
2977 * fixinc/inclhack.def: utilize these tests and fixes
2978 * fixinc/inclhack.sh: regen
2979 * fixinc/fixincl.x: regen
2980 * fixinc/fixincl.sh: regen
2982 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
2984 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
2987 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
2989 * gcc.1: Document exit codes.
2991 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2993 * calls.c: Include tm_p.h later, so everything we need is defined.
2995 * function.c: Likewise.
2997 * except.c: Include tm_p.h.
2999 * sparc.c: Likewise.
3000 (dwarf2out_cfi_label): Don't prototype.
3001 (check_return_regs, epilogue_renumber,
3002 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
3003 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
3004 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
3005 ultra_schedule_insn): Add static prototype.
3006 (data_segment_operand, text_segment_operand): Call itself with the
3007 proper number of arguments.
3008 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
3010 * sparc.h: Move all declarations to sparc-protos.h.
3011 (SELECT_RTX_SECTION): Pass a missing MODE argument to
3014 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
3016 * config/svr4.h (text_section, ctors_section, dtors_section): Add
3018 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
3019 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
3020 ASM_OUTPUT_ASCII): Constify a char*.
3022 * sparc-protos.h: New file for sparc prototypes.
3024 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3026 * function.c (record_insns, contains): Always declare and define.
3027 (record_insns): Mark with ATTRIBUTE_UNUSED.
3029 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
3031 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
3032 to .section when outputting a .bss section to deal with multiple
3033 .bss input sections (as happens with -fdata-sections)
3034 Also output %progbits, not @progbits so the assembler doesn't treat as
3036 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
3038 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
3039 thumb parts even when building with non-thumb CPUs, by forcing
3042 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
3044 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
3045 (movdf_const_intreg_sp64): Similarly.
3047 * local-alloc.c (update_equiv_regs): Check the correct insn
3048 for pre-existing REG_EQUIV notes.
3050 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
3052 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
3053 block reached by a branch if we're not going to actually process
3056 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
3058 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
3059 a local extern function declaration.
3061 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
3063 * i386.c (ix86_expand_prologue): Properly wrap USE around
3064 reg for CALL_INSN_FUNCTION_USAGE.
3066 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
3068 * config/mips/mips.md (movdf_internal1a): Allow floating-point
3069 move between GP_REGs.
3071 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
3073 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
3074 the mode size when finding out if an offset is legal.
3076 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
3078 * basic-block.h (PROP_*): Move constants from ...
3080 (compute_bb_for_insn): Free the array before reallocating.
3081 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
3082 (allocate_reg_life_data): Reset all reg variables collected by
3084 (get_block_head_tail): Don't convert from bb to block.
3085 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
3086 (find_insn_reg_weight): Take block not bb.
3087 (schedule_block): Don't set block num for moved insns.
3088 (schedule_region): Don't update_life_info or find_insn_reg_weight.
3089 (schedule_insns): Do it here instead.
3090 * combine.c (combine_instructions): Invoke compute_bb_for_insn
3091 before update_life_info.
3092 * recog.c (split_all_insns, peephole2_optimize): Update for
3093 new arg to update_life_info.
3094 * rtlanal.c (remove_note): Cope with NULL note.
3095 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
3098 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
3100 * jump.c (jump_optimize_1): More accurately detect casesi insns.
3102 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
3103 block records so that merge_blocks_nomove will clean up correctly.
3104 (split_edge): Handle casesi insns.
3106 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
3108 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
3110 * pa.md (call, call_value): Do not emit a blockage after restoring
3113 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
3115 * c-typeck.c (c_expand_asm_operands): Fix typo.
3117 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3119 * arm.c (fpu_rhs_operand): Verify modes.
3120 (fpu_add_operand): Likewise.
3121 (di_operand): Likewise.
3122 (soft_df_operand): Likewise.
3124 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
3126 * arm.c (arm_return_in_memory): APCS rules state that the elements
3127 of a structure returned in a register must be 'integer-like'.
3129 1999-10-19 Bruce Korb <autogen@linuxbox.com>
3131 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
3132 in the source tree when the generated targets are out of date
3133 * fixinc/genfixes: Alter it to run individual fixes for make.
3134 * fixinc/README: rewrite
3135 * fixinc/inclhack.def: moved initial comments to README
3137 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
3139 * toplev.c (main): Do not generate an error message if an
3140 unrecognised command line switch is recognisable by another
3141 language. If extra_warnings are enabled, then generate a
3142 warning message instead.
3144 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
3146 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
3147 (insert_pack_attributes): Delete prototype.
3149 * c-pragma.c (default_alignment): New static variable.
3150 (push_alignment): Initialize to current effective alignment.
3151 (pop_alignment): Use to set new alignment.
3152 (insert_pack_attributes): Delete function.
3153 (handle_pragma_token): Set default_alignment as well each time
3154 a #pragma pack(<n>) is encountered.
3156 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
3158 * reg-stack.c (stack_result): Aggregates are not returned in
3161 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
3163 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
3165 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
3167 * basic-block.h (set_block_num): Declare.
3168 * flow.c (update_life_info): Don't call compute_bb_for_insn
3169 or free_basic_block_vars.
3170 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
3171 (insn_orig_block): Remove.
3172 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
3173 (schedule_block): Keep BLOCK_NUM up-to-date.
3174 (schedule_insns): Use compute_bb_for_insn.
3175 * recog.c (split_all_insns): Likewise.
3176 (peephole2_optimize): Likewise.
3178 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
3180 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
3181 if the pic register is used.
3183 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3185 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
3186 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
3187 if that tests TREE_PERMANENT.
3189 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
3191 * cse.c (invalidate_for_call): Do not remove memory references from
3192 the table here. It's handled elsewhere.
3194 * haifa-sched.c (add_dependence): Protect references to the
3195 true dependency cache with #ifdef INSN_SCHEDULING.
3196 (remove_dependence): Similarly.
3198 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
3199 to the cfg code that this is a return instruction.
3200 * mn10300.md (return_internal): Similarly.
3202 * combine.c (get_last_value): If the last set of a register
3203 is after subst_low_cuid, then we can not use it to determine
3204 the register's last value.
3206 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
3208 * Makefile.in: Back out previous change.
3210 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
3212 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
3214 * haifa-sched.c (add_dependence): Only check/update the cache
3216 (remove_dependence): Likewise.
3217 (schedule_insns): Only create the true_dependency_cache if the
3218 average number of instructions in a basic block is very large.
3220 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
3222 * Makefile.in (ggc-common.o): Depend on genrtl.h.
3223 (ggc-simple.o): Likewise.
3224 (ggc-page.o): Likewise.
3226 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
3228 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
3229 Prototype for exported functions.
3230 (pre_lcm, pre_rev_lcm): Remove prototypes.
3231 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
3232 (compute_available): Move to lcm.c, and change parameter order.
3233 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
3234 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
3235 (gcse_main): No longer call compute_preds_succs. Rebuild the
3236 set table after reach pre pass.
3237 (pre_insert_map, pre_delete_map, edge_list): New.
3238 (alloc_pre_mem): Allocate edge vectors.
3239 (free_pre_mem): Delete edge vectors.
3240 (compute_pre_data): Call new edge based lcm routines.
3241 (process_insert_insn): New function.
3242 (insert_insn_end_bb): Use it.
3243 (pre_edge_insert): New function.
3244 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
3246 (pre_insert_copies): Revamp using new edge based lcm outputs.
3247 (pre_delete): Likewise.
3248 (one_pre_gcse_pass): Insert & remove fake edges to the exit
3250 (compute_code_hoist_vbeinout): New new edge based routines.
3251 * lcm.c: Remove all the old LCM functions. Replace with new ones
3252 that work with the new cfg datastructures and work with edges
3255 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3257 * reload.h (struct reload): Add new fields "mode" and "nregs".
3258 * reload1.c: Change all occurrences of reload_mode and reload_nregs
3259 to reference the "mode" and "nregs" field within struct reload.
3261 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
3263 * haifa-sched.c (true_dependency_cache): New.
3264 (add_dependence): Use the true dependency cache to avoid expensive
3265 walks down the LOG_LINKS dependency list. Add entries to the
3267 (remove_dependence): Remove entries from the true dependency cache
3269 (schedule_insns): Allocate and initialize and free the true
3272 * haifa-sched.c (schedule_insns): Do not remove inter-block
3273 dependencies anymore.
3275 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
3277 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
3278 * i386/t-winnt: Likewise.
3280 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
3282 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
3284 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
3286 * Makefile.in (LANGUAGES): Omit "proto".
3287 (clean): Remove stale comment about removing unprotoize.c.
3289 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3291 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
3292 using arithmetic on void pointers.
3294 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
3296 * haifa-sched.c (compute_block_forward_dependencies): Only check
3297 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
3299 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
3301 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
3302 (expr_equiv_p): Reject memories with different alias sets.
3304 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
3306 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
3307 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
3308 (f_options): Add "bounded-pointers" and "bounds-check" entries.
3309 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
3310 (lang_init): Set default for flag_bounds_check if still "unspecified".
3312 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3314 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
3316 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3318 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
3321 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3323 * config/c4x/c4x.md (*db_noclobber,
3324 *decrement_and_branch_until_zero_noclobber): New patterns and
3325 associated splitters.
3327 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3329 * config/c4x/c4x.md (parallel instruction patterns): Rework
3330 constraints to keep reload happy.
3332 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3334 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
3335 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
3336 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
3337 Add new patterns and associated post-reload splitters.
3339 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3341 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
3343 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3345 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
3347 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
3349 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3351 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
3354 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
3356 * pa.c (move_operand): Rely on memory_address_p to determine the
3357 validity of non-indexed memory addresses.
3358 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
3359 operand in DFmode and SFmode when generating PA2.0 code.
3361 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
3363 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
3365 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
3367 * mips.c (function_prologue): Fix argument types.
3368 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
3369 (casesi_internal): Write to the scratch register.
3371 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
3373 * cppexp.c (cpp_parse_escape): Make static. Change second arg
3375 (parse_charconst): Delete unnecessary cast when calling
3377 (cpplib.h): Kill prototype of cpp_parse_escape.
3379 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
3381 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
3382 * unroll.c (unroll_loop): Cast return value of alloca.
3383 * i370/i370.c: Include function.h and toplev.h.
3384 (i370_label_scan): Remove c++ commented abort.
3385 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
3386 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
3387 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
3388 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
3390 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
3392 * config/t-freebsd: Do not override USER_H.
3393 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
3395 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
3396 Mumit Khan <khan@xraylith.wisc.edu>
3398 * c-parse.in (component_decl): Support anonymous struct/union.
3400 * c-parse.y: Regenerate.
3401 * c-parse.c: Likewise.
3402 * objc/objc-parse.y: Likewise.
3403 * objc/objc-parse.c: Likewise.
3404 * c-decl.c (finish_struct): Don't sort the fields.
3405 (field_decl_cmp): Delete unused function.
3407 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
3409 * sparc.md (movsf_const_intreg): Revert last constraint change.
3410 (movdf_const_intreg_sp32): Likewise.
3412 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
3414 * cse.c: Include hashtab.h instead of splay-tree.h
3415 (struct cse_reg_info): No longer use variant union. Add new
3416 field "regno". All references changed to avoid union.
3417 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
3418 (free_cse_reg_info): Remove.
3419 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
3420 (get_cse_reg_info): Revamp to use expandable hash tables instead
3421 of splay trees. Initialize new fields in cse_reg_info structure.
3422 (new_basic_block): Similarly.
3424 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
3426 * genrecog.c (message_with_line): Prototype.
3427 (validate_pattern): Pass along the set for the dest, not a flag.
3428 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
3429 Check for PC/CC0 as sources.
3430 (nodes_identical): Check for children position match before
3431 allowing the combination.
3433 * rtl.c (read_rtx): Track line number across \\\n.
3435 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
3437 * mips.h (SPECIAL_MODE_PREDICATES): New.
3438 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
3439 (movdi+1, movsi+1): Add output reload constraint.
3440 (casesi_internal): Likewise. Fix commentary.
3441 (return_internal): Use pmode_register_operand.
3443 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
3445 * 1750a.md (movstrqi): Add missing output reload constraint.
3446 (call_value): Likewise.
3447 * a29k.md (cpxxx patterns): Add missing match_operator mode.
3448 (jmpfdec): Add missing inout reload constraint.
3449 * elxsi.md (addsi patterns): Add missing output reload constraint.
3450 (move from sp): Use @ alternates.
3451 (call_value): No constraint on output.
3452 * fr30.md (movsi_pop): Add missing output reload constraint.
3453 (movsf_constant_store): Likewise.
3454 (splits): Remove constraints.
3455 (subsi3): Add missing mode.
3456 * i370.md (cmpstrsi+1): Add missing output reload constraint.
3457 (call_value): Likewise.
3458 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
3459 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
3460 * m32r.md (movsicc_internal): Add output reload constraint.
3461 (movstrsi_internal): Add inout reload constraints.
3462 * m88k.h (reg_names): Don't declare.
3463 (SPECIAL_MODE_PREDICATES): New.
3464 * m88k.md (*): Use register_operand not reg_or_0_operand
3466 * mn10200.h (PREDICATE_CODES): New.
3467 * ns32k.md (ffs pattern): Add output reload constraint.
3468 * pdp11.md (sob pattern): Add inout reload constraint.
3469 * sh.md (splits): Remove constraints.
3470 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
3471 * v850.md (pattern_is_ok_for_epilogue): Likewise.
3472 * vax.md (jgequ pattern): Add inout reload constraint.
3474 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
3476 * configure.in (djgpp): Revert previous patch.
3477 * configure: Rebuit.
3478 * config/i386/djgpp.h: Revert previous patch.
3480 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
3482 * fixinc/inclhack.def: Restore patch lost during last merge of
3483 "no_bogosity" branch.
3484 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
3486 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
3488 * fixincludes: Add a HPUX 11 fix for inttypes.h.
3489 * fixinc/inclhack.def: Same.
3490 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
3492 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
3494 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
3495 as the base of a PLUS.
3497 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3499 * config/c4x/c4x.md: Define mode for remaining unspec operators.
3500 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
3502 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
3504 * pa.md (post_stw+1): Use pmode_register_operand.
3505 (dcacheflush, icacheflush): Likewise.
3507 * i386.md (movstricthi_1): Allow r/r.
3509 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
3511 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
3512 to (not (and (arg0) (arg1))). Similary for and.
3514 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
3515 falltrought to assocate code.
3516 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
3519 * combine.c (simplify_logical): Convert XOR to IOR if operands have
3520 no bits in common; remove XOR to ROTATE conversion.
3522 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3524 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
3526 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3528 * config/c4x/c4x.c (dst_operand): New.
3529 (PREDICATE_CODES): Update.
3530 * config/c4x/c4x.h (dst_operand): Declare it.
3531 * config/c4x/c4x.md: Define mode for each unspec usage.
3532 (move patterns): Use dst_operand predicate instead of src_operand.
3533 (movqi_update, movqf_update): Delete.
3535 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
3537 * recog.c (pmode_register_operand): New.
3538 * recog.h: Declare it.
3539 * genrecog.c (pred_codes): Likewise.
3540 (special_mode_pred_table): Likewise.
3541 (validate_pattern): Don't warn no mode for address_operand.
3543 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
3544 if the operand is not insn-like.
3546 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
3547 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
3549 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
3551 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
3553 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
3554 instead of general_operand in a SET_DEST. Use const_double_operand
3555 instead of an explicit test against CONST_DOUBLE.
3556 (movsf_const_lo): Add missing register mode.
3557 (goto_handler_and_restore): Add auxiliary test for Pmode.
3558 (flush): Adjust to use address_operand.
3559 (return_sf_no_fpu): Add missing output constraint.
3561 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
3563 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
3564 for call return value.
3565 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
3567 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
3569 * toplev.c (main): Only warn about options for other languages.
3570 * collect2.c (main): Pass -w to sub-gcc.
3572 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
3574 * flow.c (propagate_block): Add call-clobbered registers to
3577 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
3578 zapping mem_set_list.
3579 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
3580 (mark_set_1, mark_used_regs): Likewise.
3582 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
3584 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
3586 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3588 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
3589 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
3590 options. Also add a new item "C-only Warning Options" to the
3593 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
3595 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
3596 from multiple calls.
3598 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
3600 * i386.md (call value patterns): Move to the end of the file.
3601 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
3603 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
3605 * configure.in (djgpp configuration): Define extra_objects..
3606 * configure: Rebuilt.
3607 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
3608 (DTORS_SECTION_ASM_OP): Define.
3609 (INIT_SECTION_ASM_OP): Define.
3610 (FINI_SECTION_ASM_OP): Define.
3611 (DATA_SECTION_ASM_OP): Define.
3612 (TEXT_SECTION_ASM_OP): Define.
3613 (EH_FRAME_SECTION_ASM_OP): Define.
3614 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
3615 (STARTFILE_SPEC): Add crtbegin.o.
3616 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
3617 to here from LINK_COMMAND_SPEC.
3618 (DO_GLOBAL_CTORS_BODY): Define.
3619 (CRTSTUFF_USE_FINI_SECTION): Define
3620 (HAS_INIT_SECTION): Delete.
3622 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
3624 * Makefile.in (all.cross): Depend on xcpp$(exeext).
3626 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
3628 * pa.h (PREDICATE_CODES): New.
3630 * genrecog.c (validate_pattern): Condense the destination
3633 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
3635 * alpha.md (call-1): Supply missing mode for operator.
3636 (*): Add missing output reload constraints. Remove constraints
3639 * i386.h (SPECIAL_MODE_PREDICATES): New.
3640 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
3641 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
3642 (addsi_lea_3): Add missing mode for op 3.
3643 (prologue_set_got, prologue_get_pc): Add missing modes.
3644 (*) Add missing output reload constraints.
3646 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
3648 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
3649 check for member bit-size overflow and use var_size if it occurs.
3650 (layout_record): Use bitsize_int() to define the type size in bits.
3651 Likewise for computation and assignment to DECL_FIELD_BITPOS.
3652 (layout_decl): Likewise when assigning to DECL_SIZE.
3654 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
3656 * genrecog.c (validate_pattern): Typo last change. Verify
3657 that output operands have output reloads.
3659 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
3661 * genrecog.c (special_mode_pred_table): New.
3662 (NUM_SPECIAL_MODE_PREDS): New.
3663 (find_operand): New.
3664 (validate_pattern): New argument `insn'. Warn for assignment to
3665 any predicate accepting non-lvalues. Conditionaly warn for
3666 match_operand without a mode. Try much harder to match source
3667 and destination modes on a set.
3668 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
3670 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
3672 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
3674 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
3676 * combine.c (simplify_logical): Recognize xor pattern that encodes
3679 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3681 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
3684 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
3686 * ggc-page.c (MAP_FAILED): Provide default.
3688 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
3690 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
3691 * sparc.h (PREDICATE_CODES): Update.
3693 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
3695 * alpha.c (some_ni_operand): New.
3696 * alpha-protos.h: Declare it.
3697 * alpha.h (PREDICATE_CODES): Update.
3698 * alpha.md (sXaddq reload insns): Use some_ni_operand
3699 for SET_DEST instead of some_operand.
3701 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
3702 Jim Wilson <wilson@cygnus.com>
3704 * genrecog.c (maybe_both_true_2): Don't compare modes of
3706 (process_tree): Elide peephole2_insns. Invoke simplify_tests
3707 after find_afterward.
3708 (debug_decision_1): Dump next and afterward codes.
3710 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
3712 * rtl.c (dump_and_abort): Remove.
3713 (fatal_with_file_and_line): New.
3714 (fatal_expected_char): New.
3715 (read_rtx_lineno, read_rtx_filename): New.
3716 (read_skip_spaces): Track line number.
3717 (read_name): Use fatal_with_file_and_line.
3718 (read_rtx): Use fatal_expected_char. Track line number.
3719 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
3721 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
3722 if it isn't a CODE_LABEL.
3724 * genattr.c (main): Set read_rtx_filename.
3725 * genattrtab.c (main): Likewise.
3726 * gencodes.c (main): Likewise.
3727 * genconfig.c (main): Likewise.
3728 * genemit.c (main): Likewise.
3729 * genextract.c (main): Likewise.
3730 * genflags.c (main): Likewise.
3731 * genopinit.c (main): Likewise.
3732 * genoutput.c (main): Likewise.
3733 * genpeep.c (main): Likewise.
3735 * genrecog.c (decision_test.u.insn): Add `lineno'.
3736 (pattern_lineno, error_count): New variables.
3737 (message_with_line): New.
3738 (add_to_sequence): Break out checking code to ...
3739 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
3740 (merge_insn): Use message_with_line.
3741 (make_insn_sequence): Use validate_pattern. Record insn lineno.
3742 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
3744 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3746 * expr.c (store_constructor): Clear union if constructor is empty.
3748 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
3750 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
3751 Add !endian checks. Change %{...} to %(...).
3753 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
3755 * i386.md (*addsi3_cc): Renamed from addcsi3.
3756 (*addsi3_carry): Renamed from addxsi3.
3757 (*subsi3_cc): Renamed from subcsi3.
3758 (*subsi3_carry): Renamed from subxsi3.
3759 (*xorqi_cc_1): Renamed from xorcqi_1.
3760 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
3761 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
3763 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
3765 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
3766 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
3768 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
3770 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
3771 climb up the chain of insns.
3773 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
3775 * genrecog.c (write_subroutine): Careful for null trees.
3776 (process_tree): Don't elide empty functions.
3778 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
3780 * Makefile.in (genrtl.o): Depend on ggc.h.
3781 * configure.in (valloc): Probe for it.
3782 (with-gc): Use ggc-page if valloc present.
3783 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
3784 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
3785 (ggc_alloc_string): Moved from ggc-page.c.
3786 * ggc-none.c (ggc_alloc_obj): New.
3787 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
3788 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
3789 (struct globals): Likewise for dev_zero_fd.
3790 (init_ggc): Likewise for it's initialization.
3791 (ggc_allocated_p): Move careful dereference from ...
3792 (ggc_lookup_page_table): ... here. Delete.
3793 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
3794 (alloc_anon): Use valloc if no mmap.
3795 (release_pages): Use free if using valloc.
3796 (ggc_alloc_obj): Renamed from alloc_obj.
3797 (ggc_set_mark): Renamed from mark_obj.
3798 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
3799 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
3800 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
3801 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
3802 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
3803 (ggc_collect): Use fp printing instead of our own rounding.
3804 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
3805 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
3806 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
3807 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
3808 (struct ggc_string, struct ggc_any): Delete.
3809 (offsetof): Provide default definition.
3810 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
3812 (struct ggc_mem): New, from corpse of ggc_any.
3813 (struct ggc_status): Delete.
3814 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
3815 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
3816 (n_strings_collected, n_anys_collected): Delete.
3817 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
3818 (ggc_alloc_string, ggc_alloc): Delete.
3819 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
3820 (ggc_free_string, ggc_free_any): Delete.
3821 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
3822 (ggc_compare_addresses, ggc_mark_string): Delete.
3823 (ggc_mark_string_if_gcable, ggc_mark): Delete.
3824 (search_data): Delete.
3825 (struct globals): New.
3826 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
3827 (tree_insert, tree_lookup): New.
3828 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
3829 (clear_marks, sweep_objs): New.
3830 (ggc_collect): Gut. Use clear_marks, sweep_objs.
3831 (init_ggc): Set allocated_last_gc.
3832 (ggc_push_context): Gut. Use G.context.
3833 (ggc_pop_context): Likewise.
3834 (ggc_pop_context_1): New.
3835 (debug_ggc_tree): New.
3836 (debug_ggc_balance, tally_leaves): New.
3837 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
3838 (ggc_mark_string_if_gcable): Remove decl.
3839 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
3840 (ggc_mark_rtvec_children): New.
3841 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
3842 (ggc_mark_if_gcable): New decl.
3843 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
3844 (ggc_alloc_tree, ggc_alloc): Likewise.
3845 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
3846 (ggc_alloc_obj): New decl.
3847 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
3848 (ggc_alloc_tree, ggc_alloc): Likewise.
3849 (ggc_set_mark): New decl.
3850 * rtl.h (struct rtx_def): Remove gc_mark.
3851 (struct rtvec_def): Likewise.
3852 * tree.h (struct tree_common): Likewise.
3854 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
3856 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
3857 float_format and thread_file definitions.
3858 * configure: Rebuilt.
3860 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
3862 * extend.texi (Function Names): Document types of function names.
3864 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3866 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
3867 an earlyclobbered output conflict with RELOAD_INPUT reloads.
3869 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3871 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
3873 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3875 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
3877 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
3879 * collect2.c (main): Do prelimnary link on AIX if rflag.
3881 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
3883 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
3884 __CTOR_LIST__ in opposite order, which is the correct order for sorted
3886 (__do_global_dtors): similarly for __DTOR_LIST__.
3888 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3889 Diego Novillo <dnovillo@cygnus.com>
3891 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
3894 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
3896 * fixincl/*: Merged "no_bogosity" branch
3897 * fixincl/fixlib.h: protect against doubly defining t_bool
3898 * fixincl/server.h: protect against doubly defining t_bool
3900 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
3902 * genoutput.c: Include toplev.h.
3904 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
3906 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
3908 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
3909 * configure: Regenerate.
3911 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
3913 * gcse.c (delete_null_pointer_checks): Returns void.
3915 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3917 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
3918 * emit-rtl.c (copy_insn_1): Likewise.
3920 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
3922 * config/mips/mips.c (mips_build_va_list): Correct
3923 TREE_CHAIN setting when hard-float.
3924 (mips_va_start): Use corrected setting.
3925 (mips_va_arg): Likewise. Also pass a tree to build of
3926 POSTINCREMENT_EXPR rather than a naked 'int'.
3928 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
3930 * ggc.h (ggc_push_context): Fix comment.
3931 (ggc_pop_context): Likewise.
3932 (mark_string_if_gcable): Likewise.
3933 * ggc-common.c (ggc_mark_rtx_children): Use
3934 ggc_mark_string_if_gcable.
3935 * ggc-page.c (ggc_lookup_page_table): New function.
3936 (ggc_allocated_p): Likewise.
3937 (mark_obj): Fix formatting.
3938 (ggc_mark_string_if_gcable): New function.
3939 * ggc-simple.c (ggc_allocated_strings): New variable.
3940 (ggc_strings_used): Likewise.
3941 (ggc_compare_addresses): New function.
3942 (ggc_pop_context): Pop the `any' memory too.
3943 (ggc_mark_string_if_gcable): New function.
3944 (ggc_collect): Initialize and tear down ggc_allocated_strings.
3946 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
3948 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
3949 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
3950 * rs6000.c (expand_block_move): Match movstrsi_?reg register
3953 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
3955 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
3956 (sched_reg_live_length, sched_reg_basic_block): Delete.
3957 (current_block_num, bb_live_regs, old_live_regs): Delete.
3958 (dead_notes, struct sometimes): Delete.
3959 (sched_note_set, birthing_insn_p): Delete.
3960 (adjust_priority): Gut useless reg lifetime code.
3961 (create_reg_dead_note, attach_deaths): Delete.
3962 (attach_deaths_insn, new_sometimes_live): Delete.
3963 (finish_sometimes_live): Delete.
3964 (find_pre_sched_live, find_post_sched_live): Delete.
3965 (update_reg_usage): Delete.
3966 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
3967 (schedule_insns): Delete reg lifetime code.
3968 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
3969 (unlink_other_notes): Adjust REG_NOTE commentary.
3970 (reemit_notes): Use REG_SAVE_NOTE.
3971 (schedule_block): Likewise.
3972 (schedule_region): Allocate bitmap of blocks in region. Use
3973 count_or_remove_death_notes. Use update_life_info.
3975 * rtl.h (REG_SAVE_NOTE): New.
3976 * rtl.c (reg_note_name): Update.
3978 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
3980 * combine.c (refresh_blocks, need_refresh): New.
3981 (combine_instructions): Allocate refresh_blocks. Invoke
3982 update_life_info if needed.
3983 (distribute_notes): Mark refresh_blocks instead of installing
3985 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
3986 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
3988 * Makefile.in (recog.o): Depend on basic-block.h.
3990 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
3992 * genrecog.c (add_to_sequence): Thinko last change: delete
3993 shadowing allow_const_int variable.
3995 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3997 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
3998 __GNUC__ and __GNUC_MINOR__.
4000 * gansidecl.h: Likewise.
4006 * toplev.h: Likewise.
4012 * varray.c: Likewise.
4014 * varray.h: Likewise.
4016 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4018 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
4019 use one before a jump table.
4021 * rtl.def (ADDRESS): Change documentation to match reality.
4022 * md.texi: Don't document it.
4023 * gmicro.md (load address pattern): Use 'p' constraint, delete use
4026 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
4028 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
4030 * genrecog.c (add_to_sequence): Move allow_const_int test outside
4031 known predicate block; default allow_const_int true.
4032 (debug_decision_list): New.
4034 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
4036 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
4038 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
4040 * gcse.c (gcse_main): Avoid global optimizations if we have a
4041 large number of basic blocks and the ratio of edges to blocks
4043 (delete_null_pointer_checks): Likewise.
4045 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
4047 * c-common.c (check_format_info): Warn if format string isn't a
4050 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
4052 * configure.in (arm*-*-*): Don't let autoconf remove brackets
4053 * configure: regenerate
4055 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
4057 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
4058 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
4059 (peepholes): Re-enable.
4061 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
4063 * Makefile.in (flow.o): Depend on TREE_H.
4064 * basic-block.h (REG_SET_EQUAL_P): New.
4067 (free_regset_vector): Remove declaration.
4068 (flow_delete_insn_chain): Declare.
4069 (enum update_life_extent): New.
4070 (update_life_info, count_or_remove_death_notes): Declare.
4071 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
4072 Verify register live at bb->global_live_at_start before adding USE.
4073 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
4074 (CLEAN_ALLOCA): New.
4076 (PROP_*): New flags.
4077 (find_basic_blocks_1): Use alloc_EXPR_LIST.
4078 (clear_edges): Zero n_edges.
4079 (make_edge): Increment n_edges.
4080 (split_edge): Don't allocate bb->local_set. Increment n_edges.
4081 (flow_delete_insn_chain): Export.
4082 (delete_block): Decrement n_edges.
4083 (merge_blocks_nomove): Likewise.
4084 (life_analysis): Give life_analysis_1 PROP flags.
4085 (verify_wide_reg_1, verify_wide_reg): New.
4086 (verify_local_live_at_start): New.
4087 (update_life_info): Rewrite to call into propogate_block.
4089 (mark_regs_live_at_end): After reload, if epilogue as rtl,
4090 always mark stack pointer. Conditionally mark PIC register.
4091 After reload, mark call-saved registers, return regsiters.
4092 (life_analysis_1): Accept PROP flags not remove_dead_code.
4093 Call mark_regs_live_at_end before zeroing regs_ever_live.
4094 Use calculate_global_regs_live. Copy global_live_at_end before
4095 calling final propagate_block. Zero reg_next_use on exit.
4096 (calculate_global_regs_live): New.
4097 (allocate_bb_life_data): Don't allocate bb->local_set.
4098 (init_regset_vector, free_regset_vector): Remove.
4099 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
4100 Test flags before every operation. Warn if prologue/epilogue insn
4101 would have been deleted.
4102 (mark_set_regs, mark_set_1): Accept and use FLAGS.
4103 Use alloc_EXPR_LIST.
4104 (mark_used_regs): Accept and use FLAGS, not FINAL.
4105 Remove special handling for RETURN.
4106 (try_pre_increment): Use alloc_EXPR_LIST.
4107 (dump_flow_info): Dump n_edges.
4108 (unlink_insn_chain, split_hard_reg_notes): Remove.
4109 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
4110 (find_insn_with_note, new_insn_dead_notes): Remove.
4111 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
4112 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
4113 (replace_insns): Remove.
4114 (count_or_remove_death_notes): New.
4115 (verify_flow_info): Abort on error after all checks.
4116 (remove_edge): Decrement n_edges.
4117 (remove_fake_edges): Tweek format.
4118 * haifa-sched.c (schedule_insns): Use split_all_insns.
4119 * output.h (update_life_info): Remove declaration.
4120 * recog.c (split_all_insns): From the corpse of split_block_insns,
4121 do the whole function block by block. Use update_life_info.
4122 (recog_last_allowed_insn): New.
4123 (recog_next_insn): Mind it.
4124 (peephole2_optimize): Set it. Walk backwards through blocks.
4125 Use update_life_info.
4126 * rtl.h (update_flow_info, replace_insns): Remove declarations.
4127 (split_all_insns): Declare.
4128 * toplev.c (rest_of_compilation): Thread prologue before flow2.
4129 Use split_all_insns.
4131 * i386.md (or -1 peep2s): Disable.
4133 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
4135 * config/mips/mips.md (movstrsi+[123]) : Combine these into
4136 a single pattern. Scrap the 'd' versions as unnecessary.
4138 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
4139 tablejump_mips162,tablejump_internal4): The operands to a
4140 label_ref must be VOIDmode.
4142 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4144 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
4146 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
4148 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
4150 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
4152 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
4153 cache every function if ggc_p.
4155 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4157 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
4158 instead of copy_rtx. Accept sequences that contain asm statements.
4159 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
4160 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
4161 orig_asm_operands_vector, copy_asm_operands_vector,
4162 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
4164 * rtl.h (copy_insn, copy_insn_1): Declare.
4166 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4168 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
4170 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
4171 arguments to `current_file_function_operand'.
4173 * genrecog.c: Include hard-reg-set.h and resource.h in the
4174 generated output file.
4176 * real.c: Include tm_p.h.
4178 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4180 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
4183 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
4185 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
4186 before the fctiwz insn.
4188 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4189 Mark Mitchell <mark@codesourcery.com>
4191 * tree.c (make_lang_type_fn): New funtion pointer.
4192 (make_lang_type): Call it.
4193 * tree.h (make_lang_type): Declare.
4194 (make_lang_type_fn): Likewise.
4195 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
4197 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
4199 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
4200 make sure that HIGH instructions are copied into BASE_REGS.
4202 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
4204 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
4206 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
4208 * c-decl.c (finish_struct): Use simpler method of
4209 removing elements of a singly-linked list.
4211 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
4213 * alpha.md (peephole2's): Comment out peephole2's that generate
4216 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
4218 * genrecog.c (add_to_sequence): Disable mode check for
4221 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4223 * ggc-simple.c (init_ggc): Set empty_string.
4225 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
4227 * configure.in: Detect mmap. Add --with-gc=foo to select
4228 garbage collector; default to page if mmap available.
4229 * Makefile.in (GGC): Substitute.
4231 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
4233 * c-decl.c (ggc_p): Enable.
4235 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4237 * flow.c (verify_flow_info): Make it extern & unconditionally define.
4239 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
4241 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
4242 string for little-endian-data.
4244 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
4246 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
4247 case somebody tries to compile --enable-checking code with gcc
4250 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
4252 * genrecog.c (add_to_sequence): Verify operand to label_ref is
4255 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
4257 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
4258 * jump.c (jump_optimize_1): Document why.
4260 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4262 * collect2.c (scan_prog_file, scan_libraries): Prototype function
4263 pointers and casts for `int_handler' and `quit_handler'.
4265 * flow.c (verify_flow_info, split_hard_reg_notes,
4266 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
4267 remove_edge, remove_fake_successors): Add static prototypes.
4268 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
4269 (mark_set_1): Initialize variable `regno'.
4270 (unlink_insn_chain): Likewise for variable `curr'.
4271 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
4273 * loop.c (strength_reduce): Initialize variable
4274 `unrolled_insn_copies'.
4275 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
4276 prototypes. Change these functions to take const PTR parameters
4277 to avoid prototype conflict when used as the comparson argument
4279 (check_dbra_loop): Initialize variable `comparison_val'.
4281 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
4282 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
4283 (find_valid_class): Initialize variable `best_class'.
4284 (find_reloads): Call memcpy, not bcopy.
4286 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
4287 (hard_reg_use_compare): Don't needlessly cast away const.
4288 (reload_reg_class_lower): Likewise.
4289 (choose_reload_regs): Initialize variable `regno'.
4291 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
4293 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
4295 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
4297 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
4298 ({,d}discard): Add forward declarations. Declare parameter as
4300 (main_without_main): Explicitly declare return type to be int.
4301 (memcpy): Properly declare.
4303 * libgcc2.c (toplevel): If inhibit_libc is defined and not
4304 building the trampoline support, declare malloc, free, and
4306 (__clear_cache): Mark arguments as potentially unused.
4308 * frame.c (toplevel): If inhibit_libc is defined, declare
4311 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
4313 * flow.c (make_edge): Accept an optional 2D bitmap in which
4314 to cache edge existence. Update all callers.
4315 (make_label_edge, make_eh_edge): Pass through the edge cache.
4316 (make_edges): Provide the cache.
4318 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4320 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
4322 (local_mbtowc): Change the type of variable `i' from int to size_t.
4324 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
4325 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
4327 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
4329 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
4330 after other includes that define the appropriate types. Include
4331 tm_p.h for getting user prototypes.
4332 * ggc-callbacks.c (toplevel): Ditto.
4333 * ggc-none.c (toplevel): Ditto.
4334 * gcc-page.c (toplevel): Ditto.
4335 * ggc-simple.c (toplevel): Ditto.
4337 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
4338 Jonathan Larmour <jlarmour@cygnus.co.uk>
4340 * config/mips/mips.c (mips_move_2words): Split doubles if
4341 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
4343 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
4345 * genrecog.c (struct decision_test): New.
4346 (struct decision): Remove test-related members, sort the rest by size.
4347 (IS_SPLIT): Simplify.
4348 (new_decision, new_decision_test): New.
4349 (add_to_sequence): Use them. No special handling for args of
4351 (maybe_both_true): Renamed from not_both_true; return sense changed.
4352 (maybe_both_true_1, maybe_both_true_2): New. Broken out
4353 of maybe_both_true and adjusted for decision_test.
4354 (position_merit): Remove.
4355 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
4356 (merge_accept_insn): New, broken out of merge_trees.
4357 (merge_trees): Use them. No special case for c_test; no node
4358 splitting; use test type instead of position_merit.
4359 (factor_tests): New.
4360 (simplify_tests): New.
4361 (break_out_subroutines): Don't write code now.
4362 (find_afterward): New.
4363 (write_afterward, write_switch, write_cond): New.
4364 (write_action, is_unconditional): New.
4365 (write_node): New. Use them.
4366 (write_tree_1): Rewrite. Use the new functions above.
4367 (write_tree): Remove afterward processing.
4368 (write_subroutine): Simplify function variant emission.
4369 (write_subroutines): New.
4370 (same_codes, clear_codes): Remove.
4371 (same_modes, clear_modes): Remove.
4372 (write_header): New, broken out of main.
4373 (make_insn_sequence): Use new_decision and new_decision_test.
4374 (process_tree): New, broken out of main.
4375 (main): Adjust for merge_trees interface change.
4376 Don't #define operands in the output file.
4377 (record_insn_name): New, broken out of make_insn_sequence.
4378 (debug_decision_2, debug_decision_1, debug_decision_0): New.
4379 (debug_decision): New.
4381 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
4383 * resource.c (find_free_register): Mark class_str argument const.
4384 * resource.h: Update prototype to match.
4386 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
4387 * i386.md: Give all anonymous insns names.
4389 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
4391 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
4394 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
4396 * toplev.c (dbr_sched_time): Unconditional.
4397 (peephole2_time): New.
4398 (compile_file): Add pass numbers to all of the dump file suffixes.
4399 Dump peephole2_time. Don't dump times for non-applicable passes.
4400 (rest_of_compilation): Add pass numbers to dump file suffixes.
4401 Conditionalize calls to the scheduler.
4402 * invoke.texi: Update.
4404 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
4406 * flow.c (make_edges): Fix insn iteration.
4407 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
4408 (find_basic_blocks_1): Fix spelling mistake.
4410 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
4412 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
4413 always have side-effects. Use memset not bzero.
4414 (make_node): Likewise.
4416 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
4418 * stmt.c (expand_anon_union_decl): When any of the elements of the
4419 union is addressable, so is the entire union.
4421 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
4423 * sbitmap.c (sbitmap_ones): Don't set too many bits.
4425 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
4426 * bitmap.c (bitmap_operation): Return true iff TO changed.
4427 (bitmap_equal_p): New.
4428 (bitmap_bit_p): Tidy arithmetic.
4429 (debug_bitmap_file): Likewise.
4431 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
4433 * toplev.c (rest_of_compilation): Turn on cse_not_expected
4434 before cse2 instead of after.
4436 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
4438 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
4441 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4443 * cppinit.c (is_idchar initializer): Loosen tests to accept
4446 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
4448 * mips.md: Define conditional move patterns for floating point
4449 operands and DI mode conditions.
4451 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
4453 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
4454 always have side-effects.
4456 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
4458 * mn10200.c (asm_file_start): Fix typo.
4460 * cppinit.c (is_idchar initializer): Tighten tests for when
4461 to put the table into initialized memory.
4463 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
4464 not an array of rtunion.
4465 * gcc-page.c (ggc_alloc_rtvec): Similarly.
4466 * gcc-simple (ggc_free_rtvec): Similarly.
4468 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
4471 * mbchar.h: Add missing #endif.
4473 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
4474 (FPBIT, DPBIT): Define.
4476 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4478 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
4480 * profile.c (instrument_arcs, output_gcov_string,
4481 tablejump_entry_p): Add static prototypes.
4482 (output_gcov_string): Constify a char*.
4484 * regmove.c (replacement_quality, fixup_match_2): Add static
4487 * resource.h (reg_dead_p): Add extern prototype.
4489 * rtl.c (trim_filename): Add static prototype.
4491 * scan-decls.c (skip_to_closing_brace): Likewise.
4493 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
4494 (expand_end_case): Initialize variable `range'.
4495 (emit_case_nodes): Remove unused prototype `rtx_fn'.
4497 * varasm.c (asm_emit_uninitialised): Add static prototype.
4498 (asm_emit_uninitialised, assemble_variable): Mark parameter with
4501 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4503 * cpplib.c (if_directive_nameo): Add static prototype.
4505 * cse.c (cse_insn): Remove unused variable `p'.
4507 * except.c (create_rethrow_ref, push_entry,
4508 receive_exception_label, new_eh_region_entry, find_func_region,
4509 clear_function_eh_region, process_nestinfo): Add static prototypes.
4510 (get_reg_for_handler): Hide definition.
4511 (process_nestinfo): Initialize variable `extra_handlers'.
4513 * expr.h (expand_builtin_longjmp): Add extern prototype.
4515 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
4517 * function.c (prepare_function_start): Likewise.
4518 (pop_function_context_from): Mark parameter `context' with
4520 (push_temp_slots_for_block, flush_addressof): Hide definition.
4522 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
4523 solve_program_flow_graph, calculate_branch_probs,
4524 function_summary, main, fancy_abort): Add prototypes.
4526 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
4527 (add_hash): Constify a char*.
4529 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
4530 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
4531 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
4533 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
4535 * lists.c (free_list, zap_lists): Likewise.
4537 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4539 * alias.c (nonlocal_reference_p): Add static prototype.
4541 * bitmap.c (bitmap_element_allocate): Prototype args in function
4544 * builtins.c (stabilize_va_list): Add static prototype.
4545 (expand_builtin_va_arg): Constify a char*.
4547 * c-lex.c (getch, put_back, extend_token_buffer_to,
4548 read_line_number, token_getch, token_put_back): Add static
4551 * c-parse.gperf (hash, is_reserved_word): Likewise.
4553 * cccp.c (is_dir_separator): Likewise.
4555 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4557 * graph.h: New file to prototype functions exported by graph.c.
4559 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
4561 * graph.c: Include graph.h.
4563 * toplev.c: Likewise. Remove redundant prototypes.
4565 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
4567 * invoke.texi: Removed duplicated description for -Q.
4569 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
4571 * extend.texi: Grammar fix in __extension__ text.
4573 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
4575 * md.texi (define_peephole2): New section.
4577 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
4579 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
4580 (mov $-1 to or peepholer): Enable for pentium when optimizing for
4583 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
4585 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
4587 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
4589 * i386.md (ffs expander): Emit Pentium friendly code for
4592 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
4594 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
4598 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4600 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
4602 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
4604 * config/m68k/m68k.c (use_return_insn): Return false if the pic
4607 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4609 * md.texi (No Constraints): Delete section.
4610 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
4611 * final.c (final_scan_insn): We always have register constraints.
4612 * genattrtab.c: Don't include "insn-config.h".
4613 (write_attr_case): We always have register constraints.
4614 * genconfig.c (register_constraint_flag): Delete.
4615 (walk_insn_part): Don't check whether we have register constraints.
4616 (main): Don't write out "#define REGISTER_CONSTRAINTS".
4617 * genoutput.c (have_constraints): Delete.
4618 (main): Don't set it.
4619 (output_operand_data): We always have constraints.
4620 (scan_operands): Likewise.
4621 (compare_operands): Likewise.
4622 * local-alloc.c (block_alloc): We always have constraints.
4623 (requires_inout): Always compile this function.
4624 * recog.c (extract_insn): We always have constraints.
4625 (constrain_operands, reg_fits_class_p): Always compile these
4627 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
4629 (struct insn_operand_data): Likewise.
4630 * regclass.c (regclass): We always have constraints.
4631 (record_reg_classes, copy_cost, record_address_regs,
4632 auto_inc_dec_reg_p): Always compile these functions.
4633 * regmove.c (regmove_optimize): We always have constraints.
4634 * reload.c (find_reloads): Likewise.
4635 * reload1.c (reload): Likewise.
4636 (reload_cse_simplify_operands): Likewise.
4637 * i860.c (output_delay_insn): Likewise.
4639 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
4641 * iris6.h (BUILD_VA_LIST_TYPE): Define.
4643 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4645 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
4646 for the va_list record.
4648 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
4650 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
4653 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
4655 * alias.c: Include insn-flags.h.
4656 * Makefile.in (alias.o): Update.
4658 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
4660 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
4661 to LTU and GEU. Handle more cases using sbb.
4663 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
4665 * i386.md (truncatexfdf splitters): Do not use subreg.
4666 (fop XFmode patterns): Fix mode in operand testing.
4668 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
4670 * jump.c (jump_optimize_1): Amend last change to test only the
4671 form of the operand, not the insn.
4673 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
4674 not register_operand to determine when B may need preloading.
4676 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
4678 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
4679 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
4680 (call-value patterns): Move to end of file.
4681 (*): Remove mode from label_ref in (pc) context.
4682 (movstrqi): Use memory not general_operand for BLKmode operands.
4683 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
4684 to register_operand operands.
4685 (peep2 patterns): Convert from commented-out peephole patterns.
4687 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4689 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
4690 to BUILT_IN_INIT_DWARF_REG_SIZES.
4691 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
4692 Renamed from BUILT_IN_DWARF_REG_SIZE; call
4693 expand_builtin_init_dwarf_reg_sizes.
4694 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
4695 with __builtin_init_dwarf_reg_size_table.
4696 * dwarf2out.c (struct reg_size_range): Delete.
4697 (expand_builtin_init_dwarf_reg_sizes): New function.
4698 (expand_builtin_dwarf_reg_size): Delete.
4699 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
4700 (expand_builtin_dwarf_reg_size): Don't declare.
4701 * libgcc2.c (dwarf_reg_size_table_initialized): New.
4702 (dwarf_reg_size_table): New.
4703 (init_reg_size_table): New function.
4704 (copy_reg): Use dwarf_reg_size_table.
4705 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
4708 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
4710 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
4711 Correctly build argument list to constructor and destructor functions.
4713 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
4715 * c-tree.h (warn_float_equal): Declare.
4716 * c-decl.c (warn_float_equal): Define.
4717 (c_decode_option): Recognize -W[no-]float-equal.
4718 * c-typeck.c (build_binary_op): Conditionally warn
4719 about equality tests of floating point types.
4720 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
4721 * invoke.texi: Add docs for -Wfloat-equal warning.
4723 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
4725 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
4726 generating RTL directly.
4727 * mips.h (INIT_TARGET_OPTABS): Likewise.
4728 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
4730 * expr.h (init_mov_optab): Delete declaration
4732 * h8300.c (WORD_REG_USED): Update to avoid useless register
4733 saves in interrupt functions and functions which never return.
4735 * cse.c (struct set): Delete inner_dest_loc field.
4736 (cse_insn): Remove assignments to inner_dest_loc field.
4738 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
4740 * ggc-page.c: Don't include <unistd.h> etc taken care of
4741 by "system.h". Include <sys/mman.h> afterward.
4743 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
4745 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
4748 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
4750 * xcoffout.c (xcoffout_declare_function): Add documentation.
4751 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
4752 TARGET_64BIT. Compare constant to -1, not bit pattern.
4753 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
4754 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
4757 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
4759 * dwarf2out.c (add_abstract_origin_attribute): Abort if
4761 (gen_inlined_enumeration_type_die): Do not abort if the type has
4762 not been writeen out.
4763 (gen_inlined_structure_type_die): Do not abort if the type has
4764 not been writeen out.
4765 (gen_inlined_union_type_die): Do not abort if the type has
4766 not been writeen out.
4767 (gen_tagged_type_instantiation_die): Do not abort if the type
4768 has not been written out.
4770 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4772 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
4774 * reg-stack.c (straighten_stack): Copy hard reg set with
4777 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
4779 * builtins.c (stabilize_va_list): Stabilize array type va_list
4780 to a pointer type, not the base record type.
4781 (expand_builtin_va_copy): Dereference the pointers explicitly;
4782 use the correct size for the copy.
4784 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
4785 (rs6000_va_arg): Likewise.
4787 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
4789 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
4791 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
4793 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
4795 (DECL_BUILT_IN_CLASS): Adjust accordingly.
4797 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
4799 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
4800 (init_ggc): Use it instead of a constant.
4801 (ggc_collect): Bound allocated_last_gc by it.
4803 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
4805 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
4808 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
4810 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
4811 (mips*-*-openbsd*): Let big endian configuration be a fragment.
4813 * config/mips/openbsd.h: New, OpenBSD little endian target.
4814 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
4815 * config/mips/xm-openbsd.h: New, OpenBSD host.
4817 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
4819 * config/m68k/m68k.c (output_function_prologue,
4820 output_function_epilogue): Use
4821 current_function_uses_pic_offset_table instead of regs_ever_live
4822 to decide whether to save/restore pic register.
4823 (legitimize_pic_address): Don't modify regs_ever_live any more.
4825 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
4827 * function.h (struct function): Add x_dont_save_pending_sizes_p.
4828 * stor-layout.c (variable_size): Don't add sizes to the pending
4829 sizes list if x_dont_save_pending_sizes_p is set.
4831 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
4833 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
4834 for symbolic_operand().
4835 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
4837 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4839 * combine.c (gen_rtx_combine): Add missing call to va_end().
4841 * final.c (asm_fprintf): Likewise.
4843 * genattrtab.c (attr_rtx): Likewise.
4845 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
4847 * cse.c: Update comments.
4848 (cse_insn): When converting a conditional/computed jump into
4849 an unconditional jump, always make sure a BARRIER immediately
4850 follows the converted jump. Do not delete unreachable code.
4851 (cse_basic_block): Do not delete unreachable code.
4852 * toplev.c (rest_of_compilation): Move call to
4853 delete_trivially_dead_insns after the conditional call to
4856 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4858 * collect2.c (make_temp_file): Don't prototype.
4860 * gcc.c (make_temp_file): Likewise.
4862 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
4864 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
4866 * varasm.c (asm_emit_uninitialised): New function: Generate
4867 the assembler statements necessary to declare an uninitialised
4869 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
4871 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
4872 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
4874 (assemble_variable): Use asm_emit_uninitialised to emit an
4875 uninitialised variable.
4877 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
4879 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
4880 constant on a 64 bit host. Patch supplied by Geoffrey Keating
4881 <geoffk@cygnus.com>.
4883 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4885 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
4886 * c-common.h (builtin_function): Don't declare.
4888 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
4890 (pushdecl): Likewise.
4891 (finish_decl): Likewise.
4892 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
4893 int. All callers changed.
4894 Set the builtin's DECL_BUILT_IN_CLASS.
4895 * tree.h (enum built_in_class): New.
4896 (enum built_in_function): Delete NOT_BUILT_IN.
4897 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
4899 (DECL_SET_FUNCTION_CODE): Likewise.
4900 (DECL_BUILT_IN_CLASS): New macro.
4901 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
4902 (struct tree_decl): Split builtin function code field into a
4904 (builtin_function): Declare.
4906 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
4908 * optabs.c (init_traps): Fix typo in last change.
4910 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
4912 * toplev.c (rest_of_decl_compilation): Update comment.
4914 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
4916 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
4917 in .sbss if appropriate.
4918 (EXTRA_SECTION_FUNCTIONS): Add sbss.
4919 (SBSS_SECTION_ASM_OP): New macro.
4920 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
4921 (EXTRA_SECTIONS): Add in_sbss.
4922 * config/mips/mips.h: Prototype sbss_section.
4924 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
4926 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
4929 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
4931 * optabs.c (init_traps): Register trap_rtx as a GC root.
4933 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4935 * config/mips/mips.c (function_arg_pass_by_reference): Define
4936 unconditionally, since it's called unconditionally.
4938 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
4940 * toplev.c (documented_lang_options): Add -fshort-wchar.
4941 * c-decl.c (c_decode_option): Likewise.
4942 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
4944 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
4945 * gcc.c (default_compilers): If -fshort-wchar,
4946 override __WCHAR_TYPE__.
4947 * tm.texi (C Dialect Options): Add -fshort-wchar.
4949 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
4950 symbol for a variable.
4952 * cpplib.h (CPP_PREPROCESSED): New macro.
4953 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
4954 we're seeing this input for a second time.
4956 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
4958 * emit-rtl.c (init_emit_once): Initialize modes first.
4960 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
4962 * config/i386/i386.c (pic_label_name): Change to char pointer.
4963 (global_offset_table): New variable.
4964 (load_pic_register): Fill global_offset_table if it hasn't
4965 already been done. Allocate pic_label_name dynamically.
4966 * ggc.h (empty_string): New variable.
4967 * ggc-simple.c (empty_string): Likewise.
4968 (init_ggc): Allocate empty_string and add as root.
4969 * stmt.c (digit_strings): New variable.
4970 (init_stmt): Add last_block_end_note as root. Allocate and
4971 initialize digit_strings.
4972 (expand_asm_operands): Use empty_string instead of string
4973 constant. Use digit_strings instead of string constants.
4974 * profile.c (init_arc_profiler): Allocate string with
4975 ggc_alloc_string instead of xmalloc.
4976 (output_func_start_profiler): Likewise.
4977 * c-typeck.c (digest_init): Check if init is error_mark_node.
4979 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
4980 Richard Henderson <rth@cygnus.com>
4982 * ggc-page.c: New file.
4983 * Makefile.in (ggc-page.o): New.
4985 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
4987 * invoke.texi: Document -fdelete-null-pointer-checks
4988 * toplev.c (flag_delete_null_pointer_checks): New.
4989 (f_options): Add entry for -fdelete-null-pointer-checks.
4990 (rest_of_compilation): Conditionalize null pointer check
4991 elimination on flag_delete_null_pointer_checks.
4992 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
4994 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
4996 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
4997 copyright notice and special exception to GPL.
4999 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5001 * abi64.h (mips_function_value): Add prototype arguments.
5003 * mips-protos.h: New file with mips prototypes.
5005 * mips.c: Include "tm_p.h".
5006 (mktemp, lookup_name): Add prototype arguments.
5007 (extern_list, string_constant, mips_fill_delay_slot,
5008 mips_output_external, mips_output_external_libcall,
5009 mips_output_filename, mips_declare_object, function_prologue,
5010 mips_expand_prologue, function_epilogue, mips16_constant,
5011 build_mips16_function_stub, mips_output_conditional_branch):
5013 (mips_va_start): Remove unused variable `u'.
5014 (mips_va_arg): Cast value to unsigned when comparing against one.
5016 (save_restore_insns, mips_expand_prologue): Add missing arg in
5017 call to `large_int'.
5019 * mips.h: Move prototypes to mips-protos.h.
5020 (data_section, memory_address_p, rdata_section,
5021 readonly_data_section, simple_epilogue_p, text_section): Delete
5022 prototypes delcared elsewhere.
5023 (mips_epilogue_delay_slots, print_options): Delete unused decls.
5025 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
5027 * mips.md: Delete extra args in call to `mips_move_2words'.
5029 * xm-iris6.h (alloca): Add prototype argument.
5031 * genpeep.c: Include "tm_p.h" in generated output file.
5033 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
5035 * basic-block.h (find_edge_index): Change parameters.
5036 * flow.c (verify_edge_list): Pass basic_block parameters to
5037 find_edge_index instead of integers.
5039 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
5041 * combine.c (simplify_comparison): Use an unsigned shift to adjust
5044 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
5046 * gcc.1: Fix a formatting error.
5048 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5050 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
5051 i786, mn10200, mn10300, pdp11, v850.
5053 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
5055 * libgcc2.c (num_digits): Add prototype with
5056 __attribute__((const)).
5057 (__terminate): Add prototype.
5059 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
5061 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
5063 * alpha/alpha.c (print_operand): Fix type of `code'.
5064 (alpha_output_filename): Constify.
5065 * alpha/alpha.h: Move all function declarations ...
5066 * alpha/alpha-protos.h: ... here. New file.
5067 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
5068 (SECTION_FUNCTION_TEMPLATE): Likewise.
5070 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5072 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
5073 * expr.c (expand_expr): Likewise.
5074 (do_jump): Likewise.
5075 (do_store_flag): Pass ccp_store_flag to can_compare_p.
5076 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
5078 (enum can_compare_purpose): New.
5079 (can_compare_p): Adjust prototype.
5080 (prepare_cmp_insn, prepare_operand): Declare.
5081 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
5082 * optabs.c (cmp_available_p): Deleted.
5083 (expand_abs): Pass ccp_jump to can_compare_p.
5084 (can_compare_p): New arg PURPOSE. Check for combined optabs.
5085 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
5086 Call can_compare_p rather than cmp_available_p.
5087 (prepare_operand): No longer static.
5088 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
5089 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
5090 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
5091 sequence to use emit_cmp_and_jump_insns.
5092 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
5094 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
5096 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
5097 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
5098 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
5099 (plus (reg) (const_int 0))
5100 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
5102 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
5104 * rs6000.c (expand_block_move): DImode loads and stores require
5105 word-aligned displacements. Increment address registers with
5106 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
5108 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
5110 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
5111 is no name for the base type, rather than segfault. If we are
5112 writing out a complex integer type, use DW_ATE_lo_user.
5114 * expr.c (emit_move_insn_1): If we are copying a complex that fits
5115 in one word or less (complex char, complex short, or on 64 bit
5116 systems complex float) to/from a hard register, copy it through
5117 memory instead of dying in gen_{real,imag}part. If we have a
5118 short complex type, prevent inlining since it allocates stack
5121 * tree.c (build_complex_type): If we are writing dwarf2 output,
5122 generate a name for complex integer types.
5124 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
5126 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
5127 * flow.c (remove_edge): Remove extra whitespace.
5128 (remove_fake_edges): Fix comment.
5129 (add_noreturn_fake_exit_edges): Use the correct name.
5131 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
5133 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
5134 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
5135 (clean): Depend on INTL_CLEAN.
5136 (maintainer-clean): Adjust.
5138 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5140 * configure.in (AC_PREREQ): Bump to 2.13.
5141 (AC_C_STRINGIZE): Call this instead of using a custom macro.
5143 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
5145 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
5147 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
5149 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
5150 (HAVE_STRINGIZE): Define.
5152 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
5154 * c-parse.in: save and restore warn_pointer_arith on __extension__
5155 along with pedantic.
5156 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
5157 Set the type of extension to itype rather than $<itype>1 kludge.
5158 * extend.texi (Alternate Keywords): Adjust documentation.
5159 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
5161 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
5163 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
5164 most assembler templates.
5166 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
5167 FP loads and stores.
5168 (following_call): Always return zero for the PA8000.
5169 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
5170 FP loads and stores.
5171 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
5173 * pa.h (BRANCH_COST): Define.
5175 * pa.md (return, return_internal): Use bve for PA2.0.
5177 * pa.md (fused multiply): Add variants which reduce height for the
5178 fused multiply, but which still generate 2 insns.
5179 (fnegabs): Similarly.
5181 * pa.md (subsi3): Turn into an expander. Create two anonymous
5182 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
5183 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
5185 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
5187 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
5189 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
5190 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
5192 * regclass.c (init_regs): Add "top_of_stack" as a garbage
5195 * flow.c (record_active_eh_regions): Terminate loop after finding
5196 the last insn in the last basic block.
5198 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5200 * config/c4x/c4x.md: Delete parallel instruction peepholes.
5202 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5204 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
5206 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5208 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
5209 splitting to not use output template.
5211 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5213 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
5214 * config/c4x/c4x.c (c4x_va_start): New function.
5216 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
5218 * genrecog.c (not_both_true): Handle correctly cases when called for
5219 tests with different positions in the insn.
5221 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5223 * machmode.h (HOST_PTR_PRINTF): Move from here ...
5225 * system.h (HOST_PTR_PRINTF): ... to here.
5227 * mips-tfile.c: Don't include machmode.h.
5229 * Makefile.in (MACHMODE_H): New variable. Update to use it.
5230 (mips-tfile.o): Don't depend on machmode.h.
5232 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5234 * haifa-sched.c (sched_analyze): Rename local variable `region' to
5235 avoid conflicts with typedef struct `region' at the top level scope.
5237 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
5239 * basic-block.h (basic_block): Add eh_beg, eh_end.
5240 * flow.c (entry_exit_blocks): Update.
5241 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
5243 (find_basic_blocks_1): Don't record eh_list at each bb. Use
5244 lists.c functions to allocate insn lists.
5245 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
5247 (make_eh_edge): ... here. New.
5248 (move_stray_eh_region_notes): New.
5249 (record_active_eh_regions): New.
5250 (delete_unreachable_blocks): Split out block merging ...
5251 (try_merge_blocks): ... here. New.
5252 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
5253 Dump debugging data.
5254 (merge_blocks_move_successor_nojumps): Likewise.
5255 (merge_blocks): Use eh_beg+eh_end to validate block movement.
5257 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5259 * extend.texi (Bound member functions): Document unbound pmf
5262 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
5264 * flow.c (split_edge): Handle insertion on a fallthrough edge which
5265 has the EXIT_BLOCK as a dest.
5267 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
5269 * flow.c (remove_edge): New function to remove an edge from the
5271 (remove_fake_successors): New function to remove fake successor edges.
5272 (remove_fake_edges): New function to remove all fake edges from the
5274 (add_fake_exit_edges): New function to add fake edges from all blocks
5275 with no successors to the exit block.
5276 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
5277 prototypes for new functions.
5279 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
5281 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
5282 Use Pmode to determine whether to output .dword or .word.
5284 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
5286 * tree.c (built_in_filename): New variable.
5287 (BUILT_IN_FILENAME): New macro.
5288 (init_tree_codes): Allocate built_in_filename.
5289 (make_node): Use built_in_filename instead of string constant.
5291 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
5293 * configure.in: Add fr30 target.
5294 * configure: Regenerate.
5295 * config/fr30: New directory.
5296 * config/fr30/crti.asm: New file.
5297 * config/fr30/fr30.c: New file.
5298 * config/fr30/crtn.asm: New file.
5299 * config/fr30/fr30.h: New file.
5300 * config/fr30/fr30.md: New file.
5301 * config/fr30/lib1funcs.asm: New file.
5302 * config/fr30/t-fr30: New file.
5303 * config/fr30/xm-fr30.h: New file.
5305 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
5307 * flow.c (merge_blocks_move_successor_nojumps): Delete the
5308 BARRIER at the end of the successor, not the BARRIER before
5311 * pa.c (pa_add_gc_roots): Fix thinko in last change.
5313 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
5315 * stmt.c (any_pending_cleanups): Don't crash when
5316 current_function->stmt is unset.
5318 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5320 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
5321 other initializations that may use it for relative offsets.
5323 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5325 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
5326 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
5327 * config/i386/sol2dbg.h: Removed.
5328 * config/i386/sol2gas.h: New file, to enable gas work-around.
5329 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
5330 Don't use sol2dbg.h.
5331 * configure: Rebuilt.
5333 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
5335 * invoke.texi (-fthis-is-variable): Remove documentation.
5337 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
5339 * basic-block.h (compute_bb_for_insn): Declare.
5340 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
5341 to use; set size of basic_block_for_insn directly.
5342 (find_basic_blocks): Update.
5344 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5346 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
5348 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5350 * crtstuff.c (ON_EXIT): Delete empty macro definition.
5351 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
5353 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
5355 * c-decl.c (c_decode_option): Extend comment.
5357 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
5359 * toplev.c (progname): Make 'const char *'
5360 (flag_print_mem): Move out of main.
5361 (version_flag): Move out of main.
5362 (filename): Move out of main.
5363 (debug_args): Remove g prefix from options.
5364 (documented_lang_options): Remove cpplib specific options.
5365 (display_help): Add g prefix to debug options.
5366 (check_lang_option): Delete this function.
5367 (decode_d_option): New function: Decode -d... option.
5368 (decode_f_option): New function: Decode -f... option.
5369 (decode_W_option): New function: Decode -W... option.
5370 (decode_g_option): New function: Decode -g... option.
5371 (independent_decode_option): New function: Decode a language
5372 independent command line option.
5373 (main): Invoke lang_decode_option and then
5374 independent_decode_option on each command line option in
5377 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
5379 Revert this change. Gavin's patch to operand_equal_p is a better fix.
5380 * fold-const.c (fold_range_test): Do not try to fold the range
5381 test if the rhs or lhs has side effects.
5383 * basic-block.h (compute_flow_dominators): Declare.
5385 * gcse.c (alloc_code_hoist_mem): New function.
5386 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
5387 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
5388 (hoist_code, one_code_hoisting_pass): Likewise.
5389 (gcse_main): If optimizing for size, then hoist expressions
5390 computed in multiple dominated basic blocks.
5392 * gcse.c (invalid_nonnull_info): New function.
5393 (delete_null_pointer_checks): Likewise.
5394 * rtl.h (delete_null_pointer_checks): Declare.
5395 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
5397 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
5398 (merge-blocks_move_successor_nojumps): Likewise.
5399 (merge_blocks): Allow merging of some blocks, even if it requires
5400 physical movement of the blocks, but not if it requires new jumps.
5402 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
5403 Callers and prototype changed.
5404 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
5406 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5408 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
5409 -YP when both -p and -pg are present. From i386/sol2.h.
5411 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5413 * Makefile.in (distclean): Delete tm_p.h.
5414 * configure.in: Create a new file, "tm_p.h", from a list in
5415 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
5416 "i386/i386-protos.h".
5418 * alias.c: Include "tm_p.h".
5419 * c-typeck.c: Likewise.
5420 * calls.c: Likewise.
5422 * emit-rtl.c: Likewise.
5423 * explow.c: Likewise.
5424 * expmed.c: Likewise.
5426 * final.c: Likewise.
5428 * fold-const.c: Likewise.
5429 * function.c: Likewise.
5431 * global.c: Likewise.
5432 * haifa-sched.c: Likewise.
5433 * integrate.c: Likewise.
5435 * local-alloc.c: Likewise.
5437 * optabs.c: Likewise.
5438 * recog.c: Likewise.
5439 * reg-stack.c: Likewise.
5440 * regclass.c: Likewise.
5441 * regmove.c: Likewise.
5442 * reload.c: Likewise.
5443 * reload1.c: Likewise.
5444 * reorg.c: Likewise.
5445 * resource.c: Likewise.
5447 * stor-layout.c: Likewise.
5448 * toplev.c: Likewise.
5450 * unroll.c: Likewise.
5451 * genattrtab.c (main): Make generated file include "tm_p.h".
5452 * genemit.c (main): Likewise.
5453 * genoutput.c (main): Likewise.
5454 * genrecog.c (main): Likewise.
5456 * i386.h: Delete all prototypes.
5457 * i386.c: Include "tm_p.h".
5458 (ix86_attr_length_default): Call constant_call_address_operand
5459 with correct number of arguments.
5460 * i386-protos.h: New file.
5461 * i386.md (unnamed patterns): Call constant_call_address_operand
5462 with correct number of arguments.
5463 (exception_receiver): Call load_pic_register with correct number
5466 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
5468 * c-pragma.c (mark_align_stack): Dereference the void* properly.
5470 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
5472 * rtl.h (insns_safe_to_move_p): New function.
5473 * loop.c (find_and_verify_loops): Use it.
5474 * rtlanal.c (insns_safe_to_move_p): Define it.
5476 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
5478 * c-pragma.c: Include ggc.h.
5479 * Makefile.in (c-pragma.o): Update.
5481 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5483 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
5484 (LIB_SPEC): Likewise.
5485 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
5486 Reindent -YP/-p/-pg.
5487 Copied from config/sparc/sol2.h.
5489 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
5491 * c-pragma.c (mark_align_stack): New.
5493 * c-pragma.h (init_pragma): Declare it.
5494 * c-lex.c (init_parse): Call it.
5496 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5498 * configure.in: Pick up thread library on Solaris/x86 just
5499 like on Solaris/sparc.
5500 * configure: Rebuilt.
5502 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
5504 * rtl.h (global_rtx_index): New enum.
5505 (global_rtl): Change to array of rtx.
5506 (pc_rtx, cc0_rtx): Redefine accordingly.
5507 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
5508 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
5509 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
5510 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
5511 (const_int_rtx): Change to array of rtx.
5512 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
5514 * emit-rtl.c (global_rtl): Change to array of rtx.
5515 (const_int_rtx): Change to aray of rtx.
5516 (gen_rtx_CONST_INT): Redefine accordingly.
5517 (init_emit_once): Allocate and initialize global_rtl. Likewise
5518 for const_int_rtx. Add both as GC roots.
5519 * genattrtab.c (global_rtl): Update declaration.
5521 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
5523 * Makefile (USER_H): Add iso646.h back.
5525 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
5527 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
5528 zapping the LOG_LINKS of sched_before_next_call.
5530 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
5531 * pa.c (insn_refs_are_delayed): Renamed from
5532 insn_sets_and_refs_are_delayed.
5534 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
5536 * functiion.h (struct function): Add x_whole_function_mode_p.
5537 (retrofit_block): Declare.
5538 * function.c (retrofit_block): New function.
5539 (identify_blocks): Add assertions. Allow an incomplete set of
5540 block notes if we're still generating code for the function.
5541 * integrate.c: Include loop.h.
5542 (expand_inline_function): Call find_loop_tree_blocks to map block
5543 notes to blocks when in whole-function mode. Use retrofit_block
5544 to insert new BLOCKs for the inlined function, rather than
5546 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
5547 * Makefile.in (integrate.o): Depend on loop.h.
5549 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
5551 * tree.h (warn_about_unused_variables): Declare.
5552 * stmt.c (warn_about_unused_variables): New function, split out
5554 (expand_end_bindings): Here.
5556 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
5558 * stmt.c (preserve_subexpressions_p): Don't crash when
5559 current_function->stmt is unset.
5561 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
5563 * stmt.c (expand_start_bindings): Allow callers to pass a flag
5564 indicating that no NOTE_INSN_BLOCK_BEG note is required.
5565 (expand_start_target_temps): Use it.
5566 * except.c (expand_eh_region_start_for_decl): Likewise.
5567 * expr.c (expand_expr): Likewise.
5569 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
5571 * fold-const.c (operand_equal_p): Pay attention to side effects.
5573 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
5575 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
5576 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
5578 * tlink.c (scan_linker_output): Look for keywords before accepting
5579 a mangled name in quotes.
5581 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
5583 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
5584 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
5586 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
5588 * alpha.md: Revert Thu Nov 26 change that came in through the
5589 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
5590 Avoid earlyclobber when possible.
5592 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5594 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
5596 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
5597 Define HAVE_ON_EXIT.
5599 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5601 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
5602 CTYPE_CONV in all ctype macros.
5604 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
5607 * cexp.y (initialize_random_junk): Likewise.
5609 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
5611 * i370.c (handle_pragma): Likewise.
5613 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
5615 * v850.c (override_options): Likewise.
5617 * doprint.c (_doprnt): Likewise.
5619 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
5622 * fixinc/server.c (load_data): Likewise.
5624 * fold-const.c (real_hex_to_f): Likewise.
5626 * genattr.c (write_upcase, gen_attr): Likewise.
5628 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
5629 write_upcase): Likewise.
5631 * genemit.c (print_code): Likewise.
5633 * genopinit.c (gen_insn): Likewise.
5635 * genpeep.c (print_code): Likewise.
5637 * genrecog.c (print_code): Likewise.
5639 * optabs.c (init_libfuncs): Likewise.
5641 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
5643 * haifa-sched.c (sched_analyze): Keep the list of notes organized
5645 (reemit_notes): Likewise.
5647 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
5649 * ggc.h (ggc_root): Move to ggc-common.c.
5651 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
5652 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
5653 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
5654 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
5655 * ggc-common.c (ggc_root): Move from ggc.h.
5656 (roots): Declare, static.
5657 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
5658 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
5659 null or check/set mark bit.
5660 (ggc_mark_roots): New.
5661 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
5663 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
5665 * m32r.c: Include toplev.h.
5666 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
5667 (gen_compare): Rename swap_p to must_swap to match uses.
5668 Add default abort case.
5669 (m32r_output_function_epilogue): Remove unused variables.
5670 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
5671 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
5672 define to empty parameter list. Update all uses.
5673 (predicate decls): Use enum machine_mode not int.
5674 * m32r.md (movsi): Call abort, not fatal_insn.
5675 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
5677 1999-09-14 Andrew Haley <aph@cygnus.com>
5679 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
5680 use $0 instead of 0.
5682 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5684 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
5685 computation out of loop over hard regs.
5687 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
5689 * function.c (identify_blocks): Don't shadow a variable in an
5691 * integrate.c (integrate_decl_tree): Don't use pushlevel,
5692 pushdecl, or poplevel to build up the new BLOCK tree.
5693 (expand_inline_function): Likewise.
5694 (integrate_parm_decls): Likewise.
5696 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
5698 * c-typeck.c (qualify_type): Merge qualifiers from both types.
5700 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
5702 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
5703 * invoke.texi: Document this change.
5705 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
5707 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
5709 (mark_emit_status): Renamed from mark_emit_state.
5710 * except.c (mark_eh_status): Renamed from mark_eh_state.
5711 Check not null before marking.
5712 (free_eh_status): New.
5713 * expr.c (mark_expr_status, free_expr_status): New.
5714 * function.c (free_machine_status): New.
5715 (free_after_parsing): New.
5716 (free_after_compilation): Move bits to free_after_parsing; call
5717 free_eh_status, free_expr_status; zero the marked members of the
5719 (prepare_function_start): No can_garbage_collect.
5720 Call init_eh_for_function.
5721 (expand_dummy_function_end): Free up current_function state.
5722 (mark_function_status): Renamed from mark_function_state.
5723 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
5724 * function.h (struct function): No can_garbage_collect.
5725 (free_machine_status, free_after_parsing): Declare.
5726 (free_eh_status, free_expr_status): Declare.
5727 * ggc.h (mark_expr_status): Declare.
5728 * stmt.c (free_stmt_status): Free the struct.
5729 (mark_stmt_status): Renamed from mark_stmt_state.
5730 (init_stmt): Don't call init_eh.
5731 (init_stmt_for_function): Don't call init_eh_for_function.
5732 * toplev.c (compile_file): Call init_eh.
5733 (rest_of_compilation): Free basic block info before ggc_collect.
5734 Call free_after_parsing; conditionally call free_after_compilation.
5735 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
5736 Check not null before marking.
5737 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
5739 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
5741 * c-lex.c (yylex): Initialize warn.
5743 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
5745 * pa.c (emit_move_sequence): Properly set the mode of the scratch
5746 register when performing secondary reloads for the SAR register.
5748 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
5750 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
5751 (NOTE_BLOCK): New macro.
5752 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
5753 * function.h (identify_blocks): Change prototype.
5754 * function.c (identify_blocks): Simplify.
5755 (reorder_blocks): Likewise.
5756 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
5757 NOTE_INSN_BLOCK_{BEG,END}.
5758 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
5759 the list of saved notes if the note isn't a
5760 NOTE_INSN_BLOCK_{BEG,END}.
5761 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
5763 (reemit_notes): Adjust recreation of notes to reflect new saved
5765 * print-rtl.c (print_rtx): Print the address of the BLOCK when
5766 printing a block note.
5767 * stmt.c (block_vector): Remove.
5768 (find_loop_tree_blocks): Simplify.
5769 (unroll_block_trees): Likewise.
5770 * tree.h (reorder_block): Change prototype.
5772 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
5774 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
5775 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
5776 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
5777 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
5778 (atexit, exit): Simplify.
5779 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
5780 * config/lots: Remove defns of HAVE_ATEXIT.
5782 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
5784 * calls.c (precompute_arguments): Fix typo in comment.
5785 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
5788 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
5790 * dsp16xx.c (override_options): Fix typos in GC root registration.
5792 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
5794 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
5796 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
5797 (FUNCTION_PROFILER): Redefine appropriately for Linux.
5798 (CC1_SPEC): Likewise.
5800 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5802 * genattr.c (main): Add extern prototype. Call return, not exit.
5803 * genattrtab.c (main): Likewise.
5804 * gencheck.c (main): Likewise.
5805 * gencodes.c (main): Likewise.
5806 * genconfig.c (main): Likewise.
5807 * genemit.c (main): Likewise.
5808 * genextract.c (main): Likewise.
5809 * genflags.c (main): Likewise.
5810 * gengenrtl.c (main): Likewise.
5811 * genopinit.c (main): Likewise.
5812 * genoutput.c (main): Likewise.
5813 * genpeep.c (main): Likewise.
5814 * genrecog.c (main): Likewise.
5816 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
5817 * genattrtab.c (get_insn_name): Likewise.
5818 * gencodes.c (get_insn_name): Likewise.
5819 * genconfig.c (get_insn_name): Likewise.
5820 * genemit.c (get_insn_name): Likewise.
5821 * genextract.c (get_insn_name): Likewise.
5822 * genflags.c (get_insn_name): Likewise.
5823 * genopinit.c (get_insn_name): Likewise.
5824 * genpeep.c (get_insn_name): Likewise.
5826 * gencheck.c (usage): Add static prototype.
5827 * genextract.c (print_path): Constify a char*.
5828 * genopinit.c (optabs): Likewise.
5829 * genoutput.c (operand_data, data, output_predicate_decls,
5830 compare_operands): Likewise.
5831 * genrecog.c (write_tree): Add default case in switch.
5833 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5835 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
5837 * print-rtl.c (get_insn_name): Remove prototype.
5839 * toplev.h (progname): Declare const.
5841 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
5842 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
5843 dump_sched_info, dump_local_alloc, regset_release_memory,
5844 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
5845 error_with_file_and_line, error_with_decl, error_for_asm, error,
5846 fatal, warning_with_file_and_line, warning_with_decl, warning,
5847 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
5848 Remove redundant prototypes.
5850 (notice, check_lang_option, report_file_and_line, vnotice,
5851 mark_file_stack): Add static prototype.
5852 (set_fatal_function): Add prototype.
5853 (vnotice, report_file_and_line, set_fatal_function,
5854 check_lang_option): Constify a char*.
5855 (main): Prototype. Call return, not exit.
5857 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5859 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
5861 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
5863 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
5865 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
5867 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5869 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
5870 behave as if it's zero in all cases.
5871 (expand_function_start): Adjust call to assign_parms.
5872 * tree.h (assign_parms): Adjust prototype.
5873 * objc/objc-act.c (hack_method_prototype): Adjust call to
5876 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
5878 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
5879 arg_pointer_rtx fixed if the argument pointer register is
5881 (NONZERO_BASE_PLUS_P): Likewise.
5883 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
5885 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
5886 match_insn2 to match_insn.
5887 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
5889 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
5891 * Makefile.in (USER_H): Remove va-foo.h.
5893 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
5894 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
5895 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
5896 va-spur.h,va-v850.h}: Remove.
5898 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
5900 * sparc/sparc.md (eligible_for_return_delay): New attribute.
5901 (in_return_delay): Use it instead of match_insn.
5903 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5905 * config/alpha/va_list.h (va-alpha.h): Do not include.
5906 (__gnuc_va_list): Typedef as in varargs.h.
5908 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
5910 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
5911 DECL_LIVE_RANGE_RTL.
5913 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
5915 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
5916 not NOTE_BLOCK_NUMBER.
5917 (expand_eh_region_end): Likewise.
5918 (find_exception_handler_labels): Likewise.
5919 (scan_region): Likewise.
5920 (exception_optimize): Likewise.
5921 (update_rethrow_references): Likewise.
5922 (set_insn_eh_region): Likewise.
5923 * final.c (final_scan_insn): Likewise.
5924 * flow.c (make_edges): Likewise.
5925 * integrate.c (expand_inline_function): Likewise.
5926 * print-rtl.c (print_rtx): Likewise.
5928 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
5930 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
5931 terms of builtin functions and types.
5933 * mips.c (mips_build_va_list): New.
5934 (mips_va_start, mips_va_arg): New.
5935 * mips.h (BUILD_VA_LIST_TYPE): New.
5936 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
5938 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
5939 (sh_build_va_list, sh_va_start, sh_va_arg): New.
5940 * sh.h (BUILD_VA_LIST_TYPE): New.
5941 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
5943 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
5945 * recog.h (struct recog_data): Make dup_num, operand_address_p,
5946 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
5947 (struct insn_data): Likewise with n_operands, n_dups,
5948 n_alternatives, output_format.
5949 * regclass.c (scan_one_insn): Cast n_operands to int before
5950 arithmetic inside comparison.
5952 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
5954 * toplev.c (compile_function): Unconditionally emit nop.
5956 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5958 * haifa-sched.c (actual_hazard): Move declaration of variable
5959 `this_cost' into the scope where it is used.
5961 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5963 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
5964 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
5965 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
5967 * genrecog.c (make_insn_sequence): Call memset, not bzero.
5969 * jump.c (find_insert_position): Don't declare or define unless
5970 !HAVE_conditional_arithmetic.
5971 (returnjump_p_1, delete_prior_computation): Add static prototypes.
5973 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
5975 * recog.c (offsettable_address_p): Prototype function pointer.
5976 (preprocess_constraints): Call memset, not bzero.
5978 * tree.c (tree_node_kind_names): Constify a char*. Make static.
5979 (gcc_obstack_init): Don't declare.
5980 (fix_sizetype): Add static prototype.
5981 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
5982 (tree_cons): Call memset, not bzero.
5984 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
5985 definition in macro ASM_WEAKEN_LABEL.
5986 (mark_const_hash_entry): Add static prototype.
5988 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5990 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
5992 * unroll.c (find_common_reg_term, subtract_reg_term,
5993 loop_find_equiv_value): Add static prototypes.
5994 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
5995 (copy_loop_body): Remove unreachable break statement.
5997 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
5999 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
6001 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6003 Undo some changes from the gcc2 merge:
6004 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
6005 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
6009 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
6010 * emit-rtl.c (gen_lowpart_common): Disable optimization of
6011 initialized float-int union if the value is a NaN.
6013 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
6015 * gthr-win32.h: New file.
6017 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
6018 shared as a valid attribute.
6019 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
6020 * extend.texi: Document `shared' variable attribute.
6022 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
6024 * configure.in: Handle --enable-threads on FreeBSD.
6025 * configure: Rebuit.
6027 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6029 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
6031 * configure: Rebuilt.
6033 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
6034 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
6035 Rosimildo DaSilva <rdasilva@connecttel.com>
6037 * configure.in (m68k-*-rtemscoff*): Added.
6038 * configure.in (mips64orion-*-rtems*): Converted to ELF.
6039 * configure.in (sparc-*-rtemsaout*): Added as alias for old
6040 sparc-rtems configuration.
6041 * configure.in (sparc-*-rtemself*): Added.
6042 * configure.in (sparc-*-rtems*): Now ELF not a.out.
6043 * config/i386/rtems.h: Added comment.
6044 * config/sparc/rtemself.h: New file.
6046 * configure.in (m68k-rtemself): Added.
6047 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
6048 and DWARF_DEBUGGING_INFO.
6049 * config/m68k/crti.s: New file.
6050 * config/m68k/crtn.s: New file.
6051 * config/m68k/t-crtstuff: New file.
6052 * config/m68k/rtemself.h: New file.
6054 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
6055 global ctor/dtor and C++ exception handling.
6056 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
6057 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
6059 * config/i386/t-rtems-i386: New File.
6061 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
6063 * stmt.c (expand_end_case): Return right away if the case stack is
6066 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
6068 * Makefile.in (version.c): Remove rule incorrectly brought in from
6071 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
6073 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
6074 * msdos/top.sed: Take into account a prepended $(SHELL) to
6076 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
6078 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
6080 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6082 * regmove.c (fixup_match_1): Don't change an unchanging register.
6083 (stable_but_for_p): Renamed to:
6084 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
6085 Changed all callers.
6087 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
6089 * loop.c (strength_reduce): Don't call reg_used_between_p if the
6090 insn from BL2 is after the insn from BL.
6092 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
6094 * recog.h (INSN_OUTPUT_FORMAT_*): New.
6095 (struct insn_data): Merge `template' and `outfun' into `output'.
6096 Add `output_format'.
6097 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
6098 (struct data): Remove `outfun'; add `output_format'.
6099 (name_for_index): Remove declaration.
6100 (output_insn_data): Handle output formats.
6101 (process_template): Emit the bare array for @.
6102 (gen_expand, gen_split): Set output_format to NONE.
6103 * output.h (get_insn_template): Declare.
6104 * final.c (get_insn_template): New.
6105 (final_scan_insn): Use it.
6106 * toplev.c (compile_file): Likewise.
6108 * c4x/c4x.c (c4x_process_after_reload): Likewise.
6109 * i860/i860.c (output_delayed_branch): Likewise.
6110 (output_delay_insn): Likewise.
6112 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6114 * rtl.c (obstack_alloc_rtx): Removed.
6116 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
6118 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
6120 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
6122 * i386.c (call_insn_operand): Reject const_int.
6123 (expander_call_insn_operand): Use call_insn_operand.
6125 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6127 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
6129 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
6131 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
6132 Use DImode operation.
6134 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
6136 * gcc.c: Include sys/resource.h.
6137 (report_times): New flag.
6138 (execute): If report_times is set, calculate and report the
6139 CPU time consumed by each subprocess.
6141 (rus, prus): New globals.
6142 (option_map): Add --time.
6143 (display_help): Document -time.
6144 (process_command): Set report_times if -time is given.
6145 Turn off -pipe if -time is given.
6147 * invoke.texi: Document new option -time.
6149 * configure.in: Check for getrusage. Check if we have to
6150 prototype getrusage.
6151 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
6152 * configure: Regenerate.
6153 * config.in: Regenerate.
6155 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
6157 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
6160 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
6162 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
6163 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
6164 (nan): Return _thenan_sf or _thenan_df as appropriate.
6165 (L_thenan_sf): Define _thenan_sf.
6166 (L_thenan_df): Define _thenan_df.
6168 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
6169 (DPBIT_FUNCS): Add _thenan_df.
6171 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
6173 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
6176 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6178 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
6181 (lang_specific_driver): Don't take a function pointer parameter.
6182 All callers changed.
6184 * gcc.c: Include gcc.h.
6185 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
6186 lang_specific_extra_outfiles, fatal): Don't declare.
6187 (multilib_defaults_raw): Constify.
6188 (read_specs): Call memset, rather than bzero.
6189 (main): Call return, not exit.
6190 (lookup_compiler): Call memcpy, not bcopy.
6191 (fatal): Make extern.
6193 * cppspec.c: Include gcc.h.
6194 (lang_specific_driver): Initialize variable `quote'. Constify a
6195 char*. All calls to the function pointer parameter now
6196 explicitly call `fatal'.
6198 * gccspec.c (lang_specific_driver): Include gcc.h.
6200 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
6202 * arm.c (note_invalid_constants): Use recog_data.operand_type
6205 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6207 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
6210 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
6211 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
6212 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
6213 reload_secondary_in_reload, reload_secondary_out_reload,
6214 reload_secondary_in_icode, reload_secondary_out_icode,
6215 reload_reg_rtx, reload_when_needed): Delete declarations.
6216 (struct reload): New structure.
6217 (rld): Declare new array.
6218 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
6219 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
6220 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
6221 reload_secondary_in_reload, reload_secondary_out_reload,
6222 reload_secondary_in_icode, reload_secondary_out_icode,
6223 reload_reg_rtx, reload_when_needed): Delete definitions.
6225 (whole file): Replace uses of the deleted arrays with uses of rld.
6226 * reload1.c (whole file): Replace uses of the deleted arrays with
6228 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
6229 explicit loops, not with bcopy.
6231 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
6233 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
6234 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
6235 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
6236 insn_name): Delete and consolidate into new structures.
6237 (insn_operand_predicate_fn): New.
6238 (insn_output_fn): New.
6240 (struct insn_operand_data): New.
6241 (struct insn_data): New.
6243 (OUT_FCN): Update for insn_data change.
6244 * builtins.c (expand_builtin_strlen): Likewise.
6245 (expand_builtin_memcmp): Likewise.
6246 * combine.c (make_extraction, simplify_comparison): Likewise.
6247 * cse.c (canon_reg, cse_insn): Likewise.
6248 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
6249 * expmed.c (store_bit_field, extract_bit_field): Likewise.
6250 (emit_store_flag): Likewise.
6251 * expr.c (convert_move, emit_block_move): Likewise.
6252 (clear_storage, emit_push_insn, expand_increment): Likewise.
6253 (do_store_flag): Likewise.
6254 * expr.h (GEN_FCN): Likewise.
6255 (insn_gen_function): Die.
6256 * final.c (final_scan_insn): Update for insn_data change.
6257 (output_asm_name): Likewise.
6258 * function.c (fixup_var_refs_1): Likewise.
6259 * loop.c (check_dbra_loop): Likewise.
6260 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
6261 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
6262 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
6263 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
6264 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
6265 * regmove.c (gen_add3_insn): Likewise.
6266 * reload.c (push_secondary_reload, combine_reloads): Likewise.
6267 (find_reloads, find_reloads_address_1): Likewise.
6268 (debug_reload_to_stream): Likewise.
6269 * reload1.c (emit_reload_insns, gen_reload): Likewise.
6270 * stmt.c (expand_end_case): Likewise.
6271 * toplev.c (compile_file): Likewise.
6273 * c4x/c4x.c (c4x_process_after_reload): Likewise.
6274 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
6276 * print-rtl.c (insn_name_ptr): Remove declaration.
6277 (get_insn_name): Declare.
6278 (print_rtx): Use it.
6279 * genoutput.c (insn_name_ptr): Remove.
6280 (next_operand_number): New.
6281 (struct operand_data): New.
6282 (null_operand, odata, odata_end): New.
6283 (struct data): Use struct operand_data.
6284 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
6285 (get_insn_name): Renamed from name_for_index.
6286 (output_prologue): Define NO_MD_PROTOTYPES.
6287 (output_predicate_decls): Break out from output_epilogue.
6288 Iterate over the operands list.
6289 (output_operand_data): Break out from output_epilogue. Emit
6290 just the operands list.
6291 (output_insn_data): Break out from output_epilogue. Emit just
6293 (output_epilogue): Remove.
6294 (output_get_insn_name): New.
6295 (constraints, op_n_alternatives, predicates, address_p): Die.
6296 (modes, strict_low, seen): Die.
6297 (scan_operands): Take new param `d' instead of writing to
6298 seven global variables.
6299 (compare_operands): New.
6300 (place_operands): New.
6301 (validate_insn_alternatives): Update for struct data change.
6302 (gen_insn): Don't zero or copy 7 global arrays. Update for
6303 scan_operands; call place_operands.
6304 (gen_peephole, gen_expand, gen_split): Likewise.
6305 (main): Update for new output routines.
6307 * genattr.c (insn_name_ptr): Remove.
6308 (get_insn_name): New function.
6309 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
6310 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
6311 * genrecog.c: Likewise.
6313 * alpha.md (adddi3): Make `pattern' array static.
6315 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6317 * config/c4x/c4x.h (c4x_rpts_cycles_string,
6318 c4x_cpu_version_string): Constify char *.
6319 * config/c4x/c4x.c (c4x_rpts_cycles_string,
6320 c4x_cpu_version_string): Likewise.
6322 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
6324 * tree.c (save_tree_status): Revert 10 Sep change.
6325 (restore_tree_status): Likewise. Call obstack_free with NULL
6326 before freeing the obstack proper.
6328 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
6330 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
6332 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
6333 surrounding context.
6335 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
6337 * tree.c (type_hash_canon): Put all types in the hash-table, when
6340 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
6342 * recog.h (struct recog_data, recog_data): New.
6343 (recog_foo variables): Kill.
6344 * recog.c (recog_operand, recog_operand_loc): Kill.
6345 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
6346 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
6347 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
6348 (recog_data): Define.
6349 (extract_insn): Update all recog_foo references to use recog_data.
6350 (preprocess_constraints, constrain_operands): Likewise.
6351 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
6352 * genattrtab.c (main): Likewise.
6353 * genextract.c (main): Likewise.
6354 * genoutput.c: Likewise.
6355 * genrecog.c (write_subroutine, main): Likewise.
6356 * local-alloc.c (block_alloc): Likewise.
6357 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
6358 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
6359 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
6360 * reload.c (find_reloads, find_reloads_toplev): Likewise.
6361 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
6362 (reload_cse_simplify_operands): Likewise.
6364 * arc/arc.c (arc_final_prescan_insn): Likewise.
6365 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
6366 * h8300/h8300.c (notice_update_cc): Likewise.
6367 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
6368 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
6369 * mn10200/mn10200.c (notice_update_cc): Likewise.
6370 * mn10300/mn10300.c (notice_update_cc): Likewise.
6371 * romp/romp.c (update_cc): Likewise.
6372 * sparc/sparc.c (check_pic): Likewise.
6373 * v850/v850.c (notice_update_cc): Likewise.
6375 * genemit.c (main): Don't declare recog_operand.
6377 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
6379 * ggc.h (rtvec_def): Forward declare.
6380 (tree_node): Likewise.
6383 (ggc_set_mark_rtx): Add prototype.
6384 (ggc_set_mark_rtvec): Likewise.
6385 (ggc_set_mark_tree): Likewise.
6386 * ggc-simple.c (ggc_root): Don't define.
6387 (roots): Don't declare.
6388 (ggc_mark_rtx): Remove.
6389 (ggc_mark_rtvec): Likewise.
6390 (ggc_mark_tree): Likewise.
6391 (ggc_mark_varray): Likewise.
6392 (ggc_mark_tree_hash_table_entry): Likewise.
6393 (ggc_mark_tree_hash_table): Likewise.
6394 (ggc_set_mart_rtx): New function.
6395 (ggc_set_mark_rtvec): Likewise.
6396 (ggc_set_mark_tree): Likewise.
6397 (ggc_add_root): Remove.
6398 (ggc_add_rtx_root): Likewise.
6399 (ggc_remove_tree_root): Likewise.
6400 (ggc_add_string_root): Likewise.
6401 (ggc_add_tree_varray_root): Likewise.
6402 (ggc_add_tree_hash_table_root): Likewise.
6403 (ggc_del_root): Likewise.
6404 (ggc_mark_rtx_ptr): Likewise.
6405 (ggc_mark_tree_ptr): Likewise.
6406 (ggc_mark_string_ptr): Likewise.
6407 (ggc_mark_tree_varray_ptr): Likewise.
6408 (ggc_mark_tree_hash_table_ptr): Likewise.
6409 * ggc-common.c: New file.
6410 * Makefile.in (OBJS): Add ggc-common.o.
6411 (ggc-common.o): List dependencies.
6413 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
6415 * cppalloc.c (xstrdup): Use memcpy.
6416 * cpperror.c (cpp_print_containing_files): Don't use
6418 * cpplib.c (conditional_skip): Set temp->lineno.
6419 (do_endif): Make error message less obscure.
6420 (if_directive_name): New function.
6421 (cpp_get_token [case EOF]): Unwind the if stack and generate
6422 error messages for each unterminated conditional in this file.
6423 (parse_string): Do not behave differently if -traditional.
6425 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
6427 * builtins.c (expand_builtin_va_arg): Cope with an array-type
6428 va_list decomposing to pointer-type.
6429 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
6430 (rs6000_va_arg): Likewise.
6432 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
6434 * except.c (start_dynamic_handler): Compute size using
6435 STACK_SAVEAREA_MODE.
6437 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6439 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
6440 include directory headers. Don't define strrchr. Don't provide
6441 my_* replacement functions. Prefer PTR over `pointer_type'.
6442 Don't prototype system functions. Don't redefine getopt.
6444 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
6445 safe_read, safe_write, save_pointers, restore_pointers,
6446 is_id_char, in_system_include_dir, directory_specified_p,
6447 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
6448 find_corresponding_lparen, referenced_file_is_newer,
6449 save_def_or_dec, munge_compile_params, gen_aux_info_file,
6450 process_aux_info_file, identify_lineno, check_source,
6451 seek_to_line, forward_to_next_token_char, output_bytes,
6452 output_string, output_up_to, other_variable_style_function,
6453 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
6454 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
6455 find_static_definition, connect_defs_and_decs, add_local_decl,
6456 add_global_decls, needs_to_be_converted, visit_each_hash_node,
6457 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
6458 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
6459 scan_for_missed_items, edit_file, string_list_cons): Add static
6461 (standard_exec_prefix, target_machine, target_version,
6462 default_syscalls_dir, string_list, string_list_cons, find_file,
6463 do_cleaning): Constify a char*.
6464 (safe_read, safe_write): Use PTR, not a char*.
6465 (is_id_char): Take an int, not a char.
6466 (main): Add prototype. Call return, not exit.
6468 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
6470 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
6471 when comparing types.
6473 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
6475 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
6476 (strength_reduce): Release the varrays from the no-bivs early exit.
6478 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
6479 the loop over the registers.
6481 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
6483 (restore_tree_status): Check that instead when freeing the obstack.
6485 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
6487 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
6490 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6492 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
6493 operand size modifiers.
6495 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6497 * c-common.c (c_common_nodes_and_builtins): Don't build
6499 * c-common.h (enum c_tree_index and related accesor macros): Remove
6500 everything now declared in tree.h.
6501 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
6502 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
6503 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
6504 (error_mark_node, void_type_node, char_type_node, integer_type_node,
6505 unsigned_type_node, ptr_type_node, va_list_type_node,
6506 integer_zero_node, null_pointer_node, integer_one_node): Delete.
6507 (init_decl_processing): Call build_common_tree_nodes and
6508 build_common_tree_nodes_2 instead of building their nodes here.
6509 Don't add roots for these nodes.
6510 * stor-layout.c (size_zero_node, size_one_node): Delete.
6511 (set_sizetype): Make a new node for bitsizetype each time.
6512 * tree.c (global_trees): New variable.
6513 (init_obstacks): Add a gc root for it.
6514 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
6515 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
6516 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
6517 (build_common_tree_nodes): New function.
6518 (fix_sizetype): New function.
6519 (build_common_tree_nodes_2): New function.
6520 * tree.h (enum tree_index): New.
6521 (global_trees): Declare.
6522 Add accessor macros for all nodes now moved to global_trees.
6523 Delete their declarations.
6525 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
6527 * c-decl.c (finish_function): When processing a nested function,
6528 push and pop GC context around rest_of_compilation.
6530 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
6532 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
6533 Default ix86_arch to PROCESSOR_I386.
6534 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
6535 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
6536 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
6537 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
6538 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
6539 (EXTRA_SPECS): Remove deleted specs.
6541 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
6543 * function.c (assign_stack_local_1): Allocate from
6544 function->x_frame_offset, not frame_offset.
6546 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
6548 * ggc.h (lang_cleanup_tree): Remove.
6549 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
6550 * ggc-callbacks.c (lang_cleanup_tree): Remove.
6552 * c-decl.c (finish_struct): Use ggc_alloc to allocate
6553 TYPE_LANG_SPECIFIC when garbage collecting.
6554 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
6555 (lang_cleanup_tree): Remove.
6557 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
6559 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
6560 * crtstuff.c: Not here.
6561 * dwarf2out.c: Or here.
6562 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
6565 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
6567 * function.h (free_after_compilation): Remove decl parameter.
6568 (free_varasm_status0: Likewise.
6569 (free_emit_status): Likewise.
6570 (free_stmt_status): Likewise.
6571 (free_after_compilation): Likewise.
6572 (init_lang_status): New variable.
6573 (free_lang_status): Likewise.
6574 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
6575 * function.c (init_lang_status): New variable.
6576 (free_lang_status): Likewise.
6577 (push_function_context_to): Don't set function::decl here.
6578 (free_after_copmilation): Make decl parameter implicit. Call
6579 free_lang_status if defined.
6580 (prepare_function_start): Call init_lang_status if defined.
6581 (init_function_start): Set function::decl here.
6582 * profile.c (output_func_start_profiler): Don't call pushdecl
6583 until we've actually started the function.
6584 * stmt.c (free_stmt_status): Make decl parameter implicit.
6585 * toplev.c (rest_of_compilation): Don't pass decl to
6586 free_after_compilation.
6587 * varasm.c (free_varasm_status): Likewise.
6589 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6591 * except.c (call_get_eh_context): Add root when allocating static
6594 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
6596 * arm.c: Include "ggc.h".
6597 (arm_add_gc_roots): New function.
6598 (arm_override_options): Call it.
6599 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
6601 * arm.md (define_asm_attributes): Add a pool_range attribute.
6603 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
6605 * extend.texi (Volatiles): New node.
6607 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
6609 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
6610 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
6611 (struct ggc_any): Replace `mark' with `magic_mark'.
6612 (ggc_alloc_string): Use memcpy, not bcopy.
6613 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
6614 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
6615 (ggc_free_any): New.
6616 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
6617 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
6618 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
6619 Use IS_MARKED. Use ggc_free_any.
6621 1999-09-09 Scott Bambrough <scottb@netwinder.org>
6623 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
6625 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
6627 * toplev.c (main): Always init_ggc.
6629 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
6631 * except.c (find_all_handler_type_matches): Free the list if
6632 we found no matches.
6634 * combine.c (SUBST): Break out to a real function do_SUBST.
6635 (SUBST_INT): Likewise.
6636 * gcse.c (free_pre_mem): Free `temp_bitmap'.
6637 (pre_insert): Free `inserted'.
6638 * loop.c (basic_induction_var): Always set `location'.
6640 * function.c (expand_function_end): Add initial_trampoline as a root.
6641 * rtl.h (init_varasm_once): Declare.
6642 * toplev.c (compile_file): Call it.
6643 * ggc-simple.c (ggc_mark_string_ptr): New.
6644 (ggc_add_string_root): New.
6645 (ggc_collect): Disable collection avoidance temporarily.
6646 * ggc.h (ggc_add_string_root): Declare.
6647 * except.c (create_rethrow_ref): Use ggc_alloc_string.
6648 * optabs.c (init_libfuncs): Likewise.
6649 * varasm.c (named_section): Use ggc_alloc_string.
6650 (make_function_rtl): Likewise.
6651 (make_decl_rtl): Likewise.
6652 (assemble_static_space): Likewise.
6653 (assemble_trampoline_template): Likewise.
6654 (output_constant_def): Likewise.
6655 (force_const_mem): Likewise.
6656 (mark_const_hash_entry): New.
6657 (mark_pool_sym_hash_table): New.
6658 (mark_varasm_state): Use it.
6659 (init_varasm_once): New.
6661 * expr.h (init_one_libfunc): Declare.
6662 * optabs.c (init_one_libfunc): New.
6663 (init_optabs): Use it.
6664 * config/gofast.h: Likewise.
6665 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
6666 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
6668 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
6670 * Makefile.in (cppexp.o): Depend on cpphash.h.
6671 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
6673 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
6674 * cpplib.c (do_define): Generalise to handle poisoned definitions,
6675 redefining poisoned identifiers, etc.
6676 (do_undef): Don't allow poisoned identifiers to be undefined.
6677 (do_pragma): Add #pragma poison.
6678 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
6680 * cccp.c: Add T_POISON node type.
6681 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
6683 (do_define): Generalise to handle poisoned definitions,
6684 redefining poisoned identifiers, etc.
6685 (do_undef): Don't allow poisoned identifiers to be undefined.
6686 (do_pragma): Add #pragma poison.
6687 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
6689 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
6690 * c-pragma.h: Add ps_poison state. We now always have generic
6693 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
6695 * ggc.h (ggc_alloc): New function.
6696 (ggc_mark): Likewise.
6697 * ggc-simple.c (ggc_any): New structure.
6698 (ggc_status): Add anys.
6699 (n_anys_collected): New variable.
6700 (ggc_alloc): Define.
6701 (ggc_mark): Likewise.
6702 (ggc_collect): Collect the anys.
6704 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6706 * c-decl.c (mark_binding_level): Make static to match prototype.
6708 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
6710 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
6712 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
6714 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
6715 will use into account. Expand the max width to 5.
6718 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
6720 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
6723 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
6725 * alpha.md (call value patterns): Remove the result predicates.
6727 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
6729 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
6732 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6734 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
6735 changed from extern char *, to extern PTR. Also fix typo in
6736 NEED_DECLARATION_REALLOC test.
6738 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
6740 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6742 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
6743 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
6744 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
6745 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
6747 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
6749 * cccp.c (pcfinclude): Likewise.
6751 * global.c (allocno_compare): Likewise.
6753 * haifa-sched.c (rank_for_schedule): Likewise.
6755 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
6757 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
6759 * stupid.c (stupid_reg_compare): Likewise.
6761 * tree.c (_obstack_allocated_p): Likewise.
6763 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
6765 1999-09-08 Bruce Korb autogen@linuxbox.com
6767 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
6768 why "gperf -F" fails.
6769 * gcc/cp/Makefile.in: ditto
6770 * gcc/Makefile.in: ditto
6771 * gcc/java/Makefile.in: ditto
6773 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
6775 * lists.c: Include ggc.h.
6777 (init_EXPR_INSN_LIST_cache): Install it.
6779 * ggc-simple.c (init_ggc): Absorb the old init.
6780 (ggc_push_context): Use xcalloc.
6781 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
6782 (ggc_collect): Add [rvts] tags to the collection stats.
6784 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
6786 * cccp.c (main): Fix handling of -include and -imacros options.
6788 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
6790 * cpplib.c (cpp_push_buffer): Fix order of arguments.
6792 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
6794 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
6797 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
6799 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
6800 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
6801 and SET_DEST. Update comment.
6803 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6805 * config/c4x/c4x.c: Include ggc.h.
6806 (c4x_add_gc_roots): New function.
6807 (c4x_override_options): Call c4x_add_gc_roots.
6809 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
6811 * defaults.h (TARGET_ESC): Move ...
6812 * system.h: ... here, where Linas had it in the first place. Silly me.
6814 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
6816 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
6817 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
6818 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
6819 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
6820 * defaults.h (TARGET_ESC): Add default.
6822 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
6824 * configure.in: add i370-*-openedition, i370-*-mvs and
6825 i370-*-linux targets
6827 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
6829 * dsp16xxx.c: Include ggc.h
6830 (override_options): Mark GC roots.
6831 * mn10200.c: Include ggc.h.
6832 (asm_file_start): Mark GC roots.
6833 * tahoe.c: Include ggc.h.
6834 (extensible_operand): Mark GC roots.
6836 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
6838 * README: Add section discussing status of ELF ABI.
6839 * i370.c: Fix misc spelling mistakes.
6840 (i370_label_scan): Updated notes, exception handling.
6841 (i370_function_prolog): Simplify ELF stack handling.
6842 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
6843 (STACK_GROWS_DOWNWARD): ELF stack grows down.
6844 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
6845 * i370.md: (movdi): Add notes.
6846 (floatsidf2): Use stack not rtca for scratch float area.
6847 (iorsi3): Correct operand constraints.
6848 * x-oe: Restore TAROUTOPTS which are used by pax.
6850 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
6852 * rs6000.c: Include ggc.h.
6853 (rs6000_add_gc_roots): New function.
6854 (override_options): Call it.
6856 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
6858 * alpha.h (alpha_compare): New.
6859 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
6860 * alpha.c: Likewise for the definitions.
6861 (alpha_emit_conditional_branch): Update for alpha_compare.
6862 (alpha_emit_conditional_move): Likewise.
6863 * alpha.md (cmpdf, cmpdi): Likewise.
6864 (setcc patterns): Likewise. Zero alpha_compare after use.
6865 (sne): Optimize (x != 0) into (0U < x).
6867 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
6869 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
6870 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
6871 (INIT_EXPANDERS): Remove.
6872 * alpha.c: Include ggc.h.
6873 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
6874 (alpha_init_machine_status, alpha_mark_machine_status): New.
6875 (override_options): Install them.
6876 (struct machine_function): Moved to alpha.h.
6877 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
6878 (alpha_init_expanders): Remove.
6879 (alpha_return_addr): Adjust to use current_function->machine.
6880 (alpha_ra_ever_killed): Likewise.
6881 (alpha_expand_epilogue): Likewise.
6882 * alpha.md (eh_epilogue): Likewise.
6884 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
6885 Melissa O'Neill <oneill@cs.sfu.ca>
6886 Geoffrey Keating <geoffk@cygnus.com>
6888 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
6889 call-used registers (call-saved registers must still be contiguous
6890 and end with r31, of course).
6892 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
6894 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
6895 (self_promoting_type_p): Delete.
6896 (self_promoting_args_p): Move ...
6897 * c-common.c: ... here.
6898 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
6899 (simple_type_promotes_to): New.
6900 * builtins.c (lang_type_promotes_to): New.
6901 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
6902 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
6903 * c-common.h: ... here.
6904 (self_promoting_args_p, simple_type_promotes_to): Declare.
6905 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
6906 (grokdeclarator): Likewise.
6907 * tree.h (lang_type_promotes_to): Declare.
6909 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
6911 Add some machine-dependent GC roots.
6912 * sparc.c: Include ggc.h.
6913 (sparc_add_gc_roots): New function.
6914 (mark_ultrasparc_pipeline_state): Likewise.
6915 (override_options): Call sparc_add_gc_roots.
6916 * pa.c: Include ggc.h.
6917 (pa_add_gc_roots): New function.
6918 (mark_deferred_plabels): Likewise.
6919 (override_options): Call pa_add_gc_roots.
6920 * mips.c: Include ggc.h.
6921 (mips_add_gc_roots): New function.
6922 (override_options): Use it.
6924 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6926 * cpperror.c (cpp_file_line_for_message): Constify a char*.
6928 * cppexp.c (parse_number, parse_charconst, cpp_lex,
6929 cpp_parse_expr): Add static prototypes.
6930 (parse_charconst): Don't cast away const-ness.
6931 (token): Constify a char*.
6933 * cppfiles.c (file_name_list, include_hash, find_include_file,
6934 finclude, initialize_input_buffer): Constify a char*.
6935 (file_cleanup, find_position): Add static prototypes.
6937 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
6938 collect_expansion): Add static prototypes.
6939 (cpp_install, create_definition, monthnames): Constify a char*.
6941 * cpphash.h (cpp_install): Likewise.
6943 * cppinit.c (known_suffixes, default_include,
6944 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
6945 (base_name, dump_special_to_buffer, initialize_dependency_output):
6946 Add static prototypes.
6948 * cpplib.c (my_strerror): Constify a char*.
6949 (null_underflow, null_cleanup, skip_comment, copy_comment,
6950 copy_rest_of_line, handle_directive, pass_thru_directive,
6951 get_directive_token, read_line_number, cpp_print_file_and_line,
6952 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
6953 v_cpp_warning_with_line, detect_if_not_defined,
6954 consider_directive_while_skipping): Add static prototypes.
6955 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
6956 cpp_pedwarn_with_file_and_line): Constify a char*.
6958 * cpplib.h (cpp_options, include_hash, progname, definition,
6959 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
6960 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
6961 find_include_file, deps_output, include_hash): Constify a char*.
6963 * cppmain.c (progname): Constify.
6964 (main): Add prototype. Use return, not exit.
6966 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
6967 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
6968 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
6969 check_protection): Add static prototype.
6971 (progname, recognized_macrom, recognized_extern): Constify a char*.
6972 (main): Add prototype.
6974 * gen-protos.c (progname): Constify a char*.
6976 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
6978 * emit-rtl.c (free_emit_status): Take decl as a parameter.
6979 (init_emit_once): Add more GC roots.
6980 * except.c (mark_func_eh_entry): New function.
6981 (mark_eh_node): Mark false_label and rethrow_label.
6982 (init_eh): Add more GC roots.
6983 * function.c (free_after_compilation): Take decl as a paramter.
6984 Call free_stmt_status.
6985 (mark_function_state): Don't assume x_parm_reg_stack_loc is
6987 * function.h (free_after_compilation): Change prototype.
6988 (free_varasm_status): Likewise.
6989 (free_emit_status): Likewise.
6990 (free_stmt_status): New function.
6991 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
6992 Remove, replacing with ...
6993 (ggc_status): New structure.
6994 (ggc_chain): New variable.
6996 (ggc_push_context): New function.
6997 (ggc_pop_context): Likewise.
6998 (ggc_alloc_rtx): Adjust for use of ggc_chain.
6999 (ggc_alloc_rtvec): Likewise.
7000 (ggc_alloc_tree): Likewise.
7001 (ggc_alloc_string): Likewise.
7002 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
7003 (ggc_mark_tree): Give language-dependent code a chance to mark
7005 (ggc_mark_tree_varray): Handle empty arrays.
7006 (ggc_collect): Adjust for use of ggc_chain. Clear
7007 bytes_alloced_since_last_gc.
7008 * ggc.h (ggc_pop_context): New function.
7009 (ggc_push_context): Likewise.
7010 * print-tree.c (print_node): Don't print obstacks when GC'ing.
7011 * stmt.c (free_stmt_status): New function.
7012 (init_stmt_for_function): Clear last_expr_value.
7013 * toplev.c (rest_of_compilation): Always call free_after_compilation.
7014 Conditionalize call to ggc_collect.
7015 (main): Call init_ggc.
7016 * tree.c (push_obstacks): Do the push, even when GC'ing.
7017 (push_obstacks_nochange): Likewise.
7018 (pop_obstacks): Liekwise.
7019 * varasm.c (free_varasm_status): Take decl as a parameter.
7021 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
7023 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
7024 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
7025 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
7026 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
7028 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
7030 * pa/x-pa-mpeix: New file for the MPE port.
7032 * pa/quadlib.asm: New file for long double support.
7034 * configure.in: Add hppa1.0-*-mpeix for MPE port.
7035 * configure: Rebuilt.
7037 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
7039 * final.c (shorten_branches): Fix last change.
7041 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
7043 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
7045 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
7047 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
7050 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7052 * c-aux-info.c (concat): Don't define.
7054 * cccp.c (my_strerror): Likewise. All callers changed to use
7056 (do_include): Call xstrdup, not xmalloc/strcpy.
7057 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
7058 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
7060 * collect2.c (my_strsignal): Likewise. All callers changed to use
7062 (locatelib): Call xstrdup, not xmalloc/strcpy.
7064 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
7066 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
7068 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
7070 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
7072 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
7074 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
7076 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
7078 (find_all_handler_type_matches): Likewise. Don't check return
7080 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
7081 xmalloc, not malloc.
7082 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
7084 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
7085 (init_spec): Call xcalloc, not xmalloc/bzero.
7086 (set_spec): Call xstrdup, not save_string.
7087 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
7088 (find_a_file): Call xstrdup, not xmalloc/strcpy.
7089 (process_command): Call xstrdup, not save_string.
7090 (main): Call xcalloc, not xmalloc/bzero.
7092 * gcov.c (xmalloc): Don't define.
7093 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
7094 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
7095 (output_data): Call xcalloc, not xmalloc/bzero.
7097 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
7099 * mips-tdump.c (xmalloc): Don't define.
7100 (print_symbol): Call xmalloc, not malloc.
7101 (read_tfile): Call xcalloc, not calloc.
7103 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
7104 Don't define. All callers of xfree/my_strsignal changed to use
7105 free/strsignal instead.
7106 (allocate_cluster): Call xcalloc, not calloc.
7108 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
7109 Fix memory leak, free allocated memory.
7111 * prefix.c (translate_name): Call xstrdup, not save_string.
7112 (update_path): Likewise.
7114 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
7116 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
7117 Don't define. Callers of xfree/savestring2 changed to use
7118 free/concat instead.
7120 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
7121 (init_elim_table): Likewise.
7123 * resource.c (init_resource_info): Likewise.
7125 * stupid.c (stupid_life_analysis): Likewise.
7127 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
7128 (open_dump_file): Call concat, not xmalloc/strcpy/...
7129 (clean_dump_file): Likewise.
7130 (compile_file): Call xstrdup, not xmalloc/strcpy.
7132 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
7134 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
7135 * v850.c (v850_va_arg): New.
7137 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7139 * haifa-sched.c: Tidy comments.
7141 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7143 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
7144 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
7145 $(out_object_file)): Depend on ggc.h.
7146 * c-common.c: Include "ggc.h".
7147 (combine_strings): If doing GC, use ggc_alloc_string.
7148 * c-decl.c: Include "ggc.h".
7149 (ggc_p): Define with value 0.
7150 (mark_binding_level): New function.
7151 (init_decl_processing): Add GC roots.
7152 (mark_c_function_context): New function.
7153 (lang_mark_false_label_stack): New function.
7154 (lang_mark_tree): New function.
7155 (lang_cleanup_tree): New function.
7156 * c-lang.c: Include "ggc.h".
7157 (lang_init): Call c_parse_init.
7158 * c-lex.c: Include "ggc.h".
7159 (check_linenum): If doing GC, don't copy filenames to permanent
7161 * c-parse.in: Include "ggc.h".
7162 (c_parse_init): New function.
7163 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
7164 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
7166 * except.c (mark_eh_state): Mark more state.
7167 * function.c (mark_function_state): Likewise.
7168 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
7169 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
7170 * toplev.c (mark_file_stack): New function.
7171 (compile_file): If doing GC, use ggc_alloc_string on input filename.
7172 (main): Add root for input_file_stack.
7174 * i386.c: Include "ggc.h".
7175 (ix86_mark_machine_status): New function.
7176 (override_options): Set mark_machine_status.
7178 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7180 * tree.c (copy_node): Copy node contents also if doing GC.
7182 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
7184 * collect2.c (scan_libraries): Fix double-thinko :-).
7186 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
7188 * collect2.c (scan_libraries): Fix thinko.
7190 * cse.c (delete_trivially_dead_insns): Do not skip the last
7191 insn if it is a real insn.
7193 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
7195 * Makefile.in (ggc-simple.o): Depend on hash.h.
7196 * ggc.h (ggc_add_tree_hash_table_root): Declare.
7197 (ggc_mark_tree_varray): Likewise.
7198 (ggc_mark_tree_hash_table): Likewise.
7199 * ggc-simple.c: Include hash.h.
7200 (ggc_mark_tree_hash_table_ptr): New function.
7201 (ggc_mark_tree_hash_table_entry): Likewise.
7202 (ggc_mark_tree_hash_table): Likewise.
7203 (ggc_add_tree_hash_table_root): Likewise.
7204 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
7205 rtx, when defining fields.
7207 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7209 * profile.c (output_func_start_profiler): Remove apparently
7210 nonsensical call to start_sequence.
7212 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
7214 * clipper/clipper.c (clipper_va_start): Fix typos.
7216 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
7217 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
7218 (spur_va_arg): New stub.
7220 * configure.in: Comment out pyramid.
7222 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
7224 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
7225 don't conflict with the bits that win32, cygwin, and dgux
7228 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
7229 Bernd Schmidt <bernds@cygnus.co.uk>
7231 * integrate.c (function_cannot_inline_p): Do not inline
7232 functions with forced labels.
7234 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
7235 Bernd Schmidt <bernds@cygnus.co.uk>
7236 Mark Mitchell <mark@codesourcery.com>
7238 * Makefile.in (ggc-simple.o): Depend on varray.h.
7239 (rtl.o): Depend on ggc.h.
7240 (genattrtab.o): Depend on ggc.h.
7241 (print-tree.o): Likewise.
7242 (fold-const.o): Likewise.
7243 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
7244 (make_insn_raw): Don't cache insns when GC'ing.
7245 (emit_insn_before): Likewise.
7246 (emit_insn_after): Likewise.
7247 (emit_insn): Likewise.
7248 (start_sequence): Use xmalloc to allocate the sequence_stack.
7249 (end_sequence): Add free to free it.
7250 (gen_sequence): Don't cache insns when GC'ing.
7251 (clear_emit_caches): Don't use sequence_element_free_list.
7252 (init_emit): Use xcalloc, not xmalloc+bzero.
7253 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
7254 * function.c (pop_function_context_from): Use free to free the
7255 fixup_var_refs_queue.
7256 (put_reg_into_stack): Allocate it with xmalloc.
7257 * genattrtab.c: Include ggc.h.
7258 (operate_exp): Don't use obstack_free when GC'ing.
7259 (simplify_cond): Likewise.
7260 (simplify_text_exp): Likewise.
7261 (optimize_attrs): Likewise.
7262 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
7264 (gencode): Generate a #include for ggc.h.
7265 * ggc-callbacks.c (ggc_p): Define it to zero.
7266 * ggc-none.c (ggc_p): Likewise.
7267 * ggc-simple.c: Include varray.h.
7268 (ggc_mark_tree_varray): New function.
7269 (ggc_add_tree_varray_root): Likewise.
7270 (ggc_mark_tree_varray_ptr): Likewise.
7271 * ggc.h (ggc_p): Declare.
7272 (varray_head_tag): Likewise.
7273 (ggc_add_tree_varray_root): Declare.
7274 * print-tree.c (print_node): Don't check for TREE_PERMANENT
7275 inconsistencies when GC'ing.
7276 * rtl.c: Include ggc.h.
7277 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
7278 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
7279 (rtx_free): Don't call obstack_free when GC'ing.
7280 * toplev.c (rest_of_compilation): Call ggc_collect after every
7282 * tree.c (push_obstacks): Do nothing, if GC'ing.
7283 (pop_obstacks_nochange): Likewise.
7284 (pop_obstacks): Likewise.
7285 (make_node): Use ggc_alloc_tree when GC'ing.
7286 (copy_node): Likewise.
7287 (get_identifier): Use ggc_alloc_string when GC'ing.
7288 (build_string): Likewise.
7289 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
7290 (tree_cons): Likewise.
7292 (type_hash_canon): Don't call obstack_free when GC'ing.
7294 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
7296 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
7297 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
7299 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
7300 Bernd Schmidt <bernds@cygnus.co.uk>
7301 Mark Mitchell <mark@codesourcery.com>
7303 * Makefile.in (stor-layout.o): Depend on ggc.h.
7304 (expr.o): Depend on ggc.h.
7305 (profile.o): Depend on ggc.h.
7306 (stor-layout.o): Depend on ggc.h.
7307 * emit-rtl.c (init_emit_once): Add gc roots.
7308 * expr.c: Include ggc.h.
7309 (emit_block_move): Add gc roots.
7310 (clear_storage): Likewise.
7311 * expr.h (init_stor_layout_once): New function.
7312 * profile.c: Include ggc.h.
7313 (init_arc_profiler): profiler_label is a root.
7314 * scan.c (make_sstring_space): Trust xrealloc to function
7315 correctly with first parameter NULL.
7316 * stor-layout.c: Include ggc.h.
7317 (set_sizetype): Add gc root.
7318 (init_stor_layout_once): New function.
7319 * toplev.c (compile_file): Call it.
7321 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
7322 Bernd Schmidt <bernds@cygnus.co.uk>
7323 Mark Mitchell <mark@codesourcery.com>
7325 * Makefile.in (tree.o): Depend on ggc.h.
7326 (varasm.o): Likewise.
7327 (function.o): Likewise.
7329 (except.o): Likewise.
7330 (optabs.o): Likewise.
7331 (emit-rtl.o): Likewise.
7332 * emit-rtl.c: Include ggc.h.
7333 (sequence_element_free_list): Remove, and all references.
7334 (mark_sequence): New functions.
7335 (mark_emit_state): New function.
7336 * except.c: Include ggc.h.
7337 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
7338 (mark_tree_label_node): New functions.
7339 (mark_eh_state): New function.
7340 * function.c: Include ggc.h.
7341 (mark_temp_slot, mark_function_chain): New functions.
7342 (mark_function_state): New function.
7343 (init_function_once): New function.
7344 * function.h (init_function_once): New function.
7345 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
7346 * ggc.h (label_node): Declare.
7347 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
7348 (lang_mark_false_label_stack): New function.
7349 (mark_temp_slot): Remove declaration.
7350 (mark_function_chain): Likewise.
7351 (mark_eh_state): Adjust prototype.
7352 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
7354 * optabs.c: Include ggc.h.
7355 (mark_optab): New function.
7356 (init_optabs): Add gc roots.
7357 * stmt.c: Include ggc.h.
7358 (mark_cond_nesting, mark_loop_nesting): New functions.
7359 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
7360 (mark_stmt_state): New function.
7361 * toplev.c (compile_file): Call init_function_once.
7362 * tree.c: Include ggc.h.
7363 (type_hash): Move declaration earlier in file.
7364 (TYPE_HASH_SIZE, type_hash_table): Likewise.
7365 (init_obstacks): Add gc roots.
7366 (mark_type_hash): New function.
7367 * varasm.c: Include ggc.h.
7368 (mark_pool_constant): New function.
7369 (mark_varasm_state): New function.
7371 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7373 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
7375 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7377 * c-decl.c (struct language_function): Renamed from struct c_function.
7379 (c_function_chain): Delete.
7380 (push_c_function_context): New arg F. Don't warn about nested
7381 functions here. Fill LANGUAGE elt of F. Delete code to update
7382 c_function_chain. Don't call push_function_context.
7383 (pop_c_function_context): New arg F. Restore from there instead of
7384 from c_function_chain. Don't call pop_function_context. Clear out
7385 LANGUAGE field of F when done.
7386 * c-lang.c: Include "function.h"
7387 (lang_init): Initialize save_lang_status and restore_lang_status.
7388 * c-parse.in (nested_function, nested_function_notype): Warn about
7389 nested functions. Call push_function_context/pop_function_context
7390 instead of the _c_ variants.
7391 * c-tree.h (push_c_function_context, pop_c_function_context): Update
7393 * Makefile.in (c-lang.o): Update dependencies.
7395 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
7396 regno_pointer_flag, regno_pointer_align.
7397 (gen_reg_rtx): Use xrealloc to enlarge them.
7398 (free_emit_status): New function.
7399 * function.c (mark_machine_status, mark_lang_status): New variables.
7400 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
7401 in some bits from assign_stack_local. All callers changed to use new
7403 (assign_stack_local): Just call assign_stack_local_1.
7404 (free_after_compilation): New function.
7405 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
7406 (trampoline_address): Likewise.
7407 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
7408 (prepare_function_start): Explicitly clear some more variables.
7409 * function.h (struct function): New elt can_garbage_collect.
7410 (mark_machine_status, mark_lang_status): Declare variables.
7411 (free_after_compilation, free_emit_status, free_varasm_status,
7412 init_varasm_status): Declare functions.
7413 * toplev.c (rest_of_compilation): Call free_after_compilation when
7414 done with the current function.
7415 * varasm.c (free_varasm_status): New function.
7417 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
7419 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
7420 (EXPAND_BUILTIN_VA_ARG): Define.
7421 * sparc.c (sparc_va_start): New.
7422 (sparc_va_arg): New.
7424 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7426 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
7428 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7430 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
7432 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
7434 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
7436 (ggc-callbacks.o): New target.
7437 * ggc-callbacks.c: New file.
7439 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7441 * expr.h: Collapse individual optab and libfunc vars to arrays.
7442 (optab_index, libfunc_index): New enumerations.
7443 (optab_table, libfunc_table): New arrays.
7444 Add accessor macros for both.
7446 * optabs.c (optab_table, libfunc_table): New.
7447 Delete declarations for individual optab and libfunc vars.
7449 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
7451 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
7453 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
7455 * Makefile.in (GGC, GGC_LIB): New.
7456 (HOST_RTL): Include ggc-none.o.
7457 (ggc-simple.o): New target.
7458 (ggc-none.o): Likewise.
7459 * tree.h (tree_common): Add gc_mark.
7460 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
7461 (struct rtvec_def): Add gc_mark.
7462 * emit-rtl.c (global_rtl): Update static initializers to contain
7463 enough initializers.
7464 * ggc.h, ggc-none.c, ggc-simple.c: New files.
7465 * toplev.c (gc_time): New variable.
7466 (all_time): New variable.
7467 (compile_file): Print gc time.
7468 (print_time): Calculate percentage of the whole.
7470 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7472 Change obstack memory management and varasm constant pool handling so
7473 that nested functions are treated like any other functions.
7474 * function.c (init_machine_status): New variable.
7475 (push_function_context_to): Set contains_functions for the outer
7476 function. Don't call save_varasm_status.
7477 (pop_function_context_from): Don't call restore_varasm_status. Don't
7478 set current_function_contains_functions.
7479 (prepare_function_start): Call init_varasm_status rather than
7480 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
7482 * function.h (struct function) Add field varasm. Delete fields
7483 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
7484 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
7485 (init_machine_status): Declare.
7486 (save_varasm_status, restore_varasm_status): Delete declarations.
7487 (save_tree_status, restore_tree_status): Delete last argument.
7488 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
7489 code. All callers changed.
7490 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
7491 save_constants_in_decl_trees, restore_constants, save_constants,
7492 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
7494 (inlining): New variable.
7495 (reg_map, label_map, insn_map, orig_asm_operands_vector,
7496 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
7498 (save_for_inline_nocopy): Don't save constants.
7499 Don't set inl_emit field in current_function.
7500 (expand_inline_function): Use emit field, not inl_emit, of the inlined
7501 function. Set new variable inlining before
7502 calling copy_rtx_and_substitute.
7503 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
7504 constant pool references if inlining is nonzero.
7505 Delete ADDRESS and (most of the) CONST cases.
7506 (output_inline_function): Save and restore current_function/
7507 current_function_decl. Delete restore_constants code. Don't call
7508 init_const_rtx_hash_table.
7509 * output.h (init_const_rtx_hash_table): Don't declare.
7510 * rtl.h (struct function): Declare.
7511 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
7512 * toplev.c (rest_of_compilation): Don't treat nested functions or
7513 functions containing them specially. Delete all code to deal with
7514 save_for_inline_copying.
7515 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
7516 inline_obstacks): Delete variables.
7517 (save_tree_status): Lose arg CONTEXT. All callers changed.
7518 Simply allocate a new function_maybepermanent_obstack for the new
7519 function, delete all the special cases.
7520 Don't save inline_obstacks.
7521 (restore_tree_status): Lose arg CONTEXT. All callers changed.
7522 Delete special handling for function_maybepermanent_obstack; simply
7524 Don't restore inline_obstacks.
7525 (permanent_allocation): Delete code that frees inline_obstacks.
7526 (print_inline_obstack_statistics): Delete function.
7527 (dump_tree_statistics): Don't call it.
7528 * varasm.c (struct varasm_status): New.
7529 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
7530 last_pool, pool_offset, const_double_chain): Delete global
7531 variables, replace with accessor macros.
7532 (immed_double_const): Don't walk const_double_chain outside a
7533 function, but don't treat nested functions specially anymore.
7534 (immed_real_const_1): Likewise.
7535 (clear_const_double_mem): Don't treat nested functions specially.
7536 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
7537 (save_varasm_status, restore_varasm_status): Delete functions.
7538 (init_varasm_status): New function.
7539 (force_const_mem): Don't treat nested functions specially.
7540 (find_pool_constant): Accept new arg F, search for constants in
7541 that function's pool rather than the current one. All callers
7543 (get_pool_constant_for_function, get_pool_mode_for_function): New
7546 * i386.c (init_386_machine_status): New function, mostly from
7547 clear_386_stack_locals.
7548 (struct machine_functions): Rename element names to avoid name
7550 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
7551 macros, replacing global variables.
7552 (clear_386_stack_locals, save_386_machine_status,
7553 restore_386_machine_status): Delete functions.
7554 (override_options): Initialize init_machine_status.
7555 * i386.h (INIT_EXPANDERS): Delete macro.
7556 (save_386_machine_status, restore_386_machine_status,
7557 clear_386_stack_locals): Delete declarations.
7559 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7561 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
7562 (doloop_begin): Simplify pattern and use emit_jump_insn.
7563 (doloop_end): Simplify pattern, switch operand order,
7564 and use emit_jump_insn.
7566 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7568 * function.h (struct function): Add new element LANGUAGE.
7569 (save_lang_status): Declare new variable.
7570 (restore_lang_status): Likewise.
7571 * function.c (save_lang_status): Define.
7572 (restore_lang_status): Likewise.
7573 (push_function_context_to): Call language-specific save function.
7574 (pop_function_context_from): Call language-specific restore function.
7576 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
7578 * i386.md (movsf_1): Check REG_P before use of REGNO.
7579 (movdf_1): Likewise.
7580 (movxf_1): Likewise.
7581 (extendsfdf2): Likewise.
7582 (extendsfxf2): Likewise.
7583 (extenddfxf2): Likewise.
7585 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7587 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
7588 constants into memory.
7589 (c4x_shiftable_constant): New function.
7590 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
7591 (c4x_shiftable_constant): Declare.
7592 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
7593 ashlqi3_noclobber): Add new patterns and associated splitters.
7595 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
7597 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
7598 * dwarf2out.c (dwarf2out_frame_init): Likewise.
7599 * final.c (shorten_branches): Likewise.
7600 * global.c (global_alloc): Likewise.
7601 * haifa-sched.c (build_control_flow): Likewise.
7602 * stmt.c (check_for_full_enumeration_handling): Likewise.
7603 (estimate_case_costs): Likewise.
7605 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
7607 * rtl.h (RTL_CHECKC2): Fix typo in last change.
7609 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
7611 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
7612 (recompute_reg_usage): Likewise.
7613 * rtlanal.c (find_regno_fusage): Likewise.
7615 * rtl.c (rtl_check_failed_code1): New function.
7616 (rtl_check_failed_code2): New.
7617 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
7618 (RTL_CHECKC1, RTL_CHECKC2): New.
7619 (XC*): New accessor macros.
7620 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
7621 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
7622 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
7623 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
7624 (TRAP_*, RANGE_INFO_*): Likewise.
7626 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7628 * Makefile.in (tlink.o): Don't depend on toplev.h.
7630 * collect2.c (c_file, o_file, export_file, import_file, ldout,
7631 output_file, nm_file_name, ldd_file_name, strip_file_name,
7632 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
7633 add_prefix, prefix_from_env, prefix_from_string, do_wait,
7634 fork_execute, maybe_unlink, add_to_list,
7635 extract_init_priority, write_list, dump_list,
7636 dump_prefix_list, write_list_with_asm, write_c_file,
7637 write_c_file_stat, write_c_file_glob, scan_prog_file,
7638 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
7639 ignore_library, extract_string, notice, dump_file, target_machine,
7640 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
7641 read_file, print_load_command): Constify a char*.
7642 (fdopen, error, fatal, fatal_perror): Don't prototype.
7643 (my_strerror): Remove. All callers use xstrerror instead.
7644 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
7645 (main): Add prototype. Constify lots of char* ptrs. Change calls
7646 to xcalloc/strcpy/strcat/... to one call to concat.
7647 (main, scan_prog_file, scan_libraries): Use an intermediate
7648 `const char **' to build an argv array.
7649 (mapfile, libselect, libcompare, locatelib): Add prototypes.
7651 * collect2.h (collect_execute, collect_wait, dump_file,
7652 file_exists): Constify a char*.
7653 (ldout, c_file_name, temporary_obstack, permanent_obstack,
7654 temporary_firstobj, vflag, debug): Add extern declarations.
7655 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
7657 * tlink.c: Don't include toplev.h.
7658 (vflag, debug, ldout, c_file_name, temporary_obstack,
7659 permanent_obstack, temporary_firstobj): Don't declare.
7660 (tlink_execute, frob_extension, symbol_hash_lookup,
7661 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
7662 recompile_files, read_repo_files, demangle_new_symbols,
7663 scan_linker_output): Constify a char*.
7664 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
7665 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
7667 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
7669 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
7670 (relative) rather than jsr (absolute) subroutine call insns.
7671 * config/m68k/m68k-coff.h: Ditto.
7673 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
7675 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
7676 now rework these too.
7677 (arm_reorg): If an insn can't reach the end of the current pool,
7678 ensure that we emit that pool before the insn.
7680 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
7682 * tlink.c (scan_linker_output): Skip the initial underscore in
7683 a mangled name if appropriate.
7685 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7687 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
7688 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
7689 error_with_ivar, gen_declarator, create_builtin_decl,
7690 my_build_string, generate_descriptor_table, generate_ivars_list,
7691 generate_dispatch_table, check_protocols, TAG_GETCLASS,
7692 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
7693 dump_base_name, lang_decode_option, build_encode_expr,
7694 start_class, finish_class, encode_pointer, really_start_method,
7695 gen_declaration, dump_interface, handle_class_ref, handle_impent):
7697 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
7698 Add static prototypes.
7699 (build_objc_string_decl, build_selector_reference_decl,
7700 encode_bitfield, build_class_reference_decl): Remove unused
7701 parameter, all callers changed.
7702 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
7703 (objc_printable_name): Likewise. Change second parameter to type int.
7704 (init_objc): Use memcpy, not bcopy, to avoid casts.
7706 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
7708 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
7709 reg notes on a deleted insn.
7710 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
7712 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
7714 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
7716 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7718 * stmt.c (expand_asm_operands): Fix index into inout_mode when
7721 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
7723 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
7724 * tm.texi (MD_ASM_CLOBBERS): Document it.
7726 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
7728 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
7729 * except.c (expand_rethrow): Remove unused variable.
7730 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
7731 * flow.c (replace_insns): Likewise.
7732 (create_edge_list, verify_edge_list): Likewise.
7733 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
7735 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
7736 is special code to run.
7737 (main): Don't define operands to emit_operand.
7738 * genrecog.c (main): Don't emit an empty peephole2_insn function.
7740 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
7742 * alpha/alpha.h (normal_memory_operand): Declare.
7743 (reg_no_subreg_operand): Declare.
7744 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
7746 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
7748 * c-parse.in (compstmt_primary_start): New, broken out of first
7749 part of compstmt handling in primary.
7750 (primary): Use it. Add an error clause.
7751 (compstmt_nostart): Renamed from compstmt; remove all
7752 initial invocations of compstmt_start.
7755 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
7757 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
7760 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
7762 * combine.c (simplify_shift_const): Remove extra semicolon.
7763 * dwarf2out.c (remove_AT): Likewise.
7764 * expmed.c (expand_mult): Likewise.
7765 * gcov.c (create_program_flow_graph): Likewise.
7766 * reorg.c (mostly_true_jump): Likewise.
7768 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
7770 * fold-const.c (fold_range_test): Do not try to fold the range
7771 test if the rhs or lhs has side effects.
7773 * combine.c (simplify_rtx): Recognize another case of a synthesized
7776 * varasm.c (mark_constant_pool): When marking indirect references,
7777 only look at SYMBOL_REFs.
7779 * except.c (expand_fixup_region_end): Do not peek at
7780 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
7782 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
7784 * flags.h: New variables align_loops, align_loops_log,
7785 align_jumps, align_jumps_log, align_labels, align_labels_log,
7786 align_functions, align_functions_log.
7787 * toplev.c: Define them.
7788 (f_options): Handle -falign-* when they have no argument.
7789 (main): Add logic to set variables for -falign-functions,
7790 -falign-jumps, -falign-labels, -falign-loops.
7791 Make it -fsched-verbose=<n> and -finline-limit=<n>.
7792 (display_help): Change help to match options.
7793 * final.c (LABEL_ALIGN): Default to align_labels_log.
7794 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
7795 (LOOP_ALIGN): Default to align_loops_log.
7796 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
7797 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
7798 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
7799 * varasm.c (assemble_start_function): Handle align_functions.
7801 * config/sparc/sparc.h: Don't declare sparc_align_*.
7802 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
7803 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
7805 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
7807 * config/sparc/sparc.c: Delete sparc_align_loops,
7808 sparc_align_jumps, sparc_align_funcs and the corresponding string
7810 (sparc_override_options): Default align_functions on ultrasparc.
7811 Delete -malign-* handling.
7813 * config/mips/mips.c (override_options): On 64-bit targets,
7814 try to align code to 64-bit boundaries.
7815 (print_operand): New substitution, %~,
7816 which aligns labels to align_labels_log.
7817 * config/mips/mips.md (div_trap_normal): Use %~.
7818 (div_trap_mips16): Likewise.
7823 (ashldi3_internal): Likewise.
7824 (ashrdi3_internal): Likewise.
7825 (lshrdi3_internal): Likewise.
7826 (casesi_internal): Likewise.
7828 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
7830 Merge new ia32 backend from the branch!
7832 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
7833 See ChangeLog.P2 on new_ia32_branch for details.
7835 * rtl.h (stack_regs_mentioned_p): Delete prototype.
7836 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
7837 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
7838 * i386/gas.h (ASM_FILE_START): Define.
7839 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
7840 for name change of ix86_valid_decl_attribute_p.
7841 (i386_pe_valid_type_attribute_p): Similarly.
7843 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
7845 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
7846 to step through CC modes.
7848 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7850 * regmove.c (fixup_match_1): Don't move INSN in front of P if
7851 it would end up in the shadow of a live flags regsiter.
7853 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7855 * reload1.c: Fix many indentation problems.
7856 * reload.c: Likewise.
7858 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
7860 * alias.c (non_local_reference_p): Constify fmt.
7862 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
7864 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
7866 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
7868 * cse.c (delete_trivially_dead_insns): Do not delete stores to
7869 the internal_arg_pointer.
7871 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
7873 Merge peephole2 from new_ia32_branch:
7874 * Makefile.in (STAGESTUFF): Add *.peephole2.
7875 (mostlyclean): Likewise.
7876 (recog.o): Depend on resource.h.
7878 * final.c (peephole): Conditionalize decl on HAVE_peephole.
7879 (final_scan_insn): Likewise for the invocation of peephole.
7880 * genconfig.c (main): Look for peephole and peephole2 patterns.
7881 Emit HAVE_peephole* accordingly.
7882 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
7883 * flags.h (flag_peephole2): Declare.
7884 * toplev.c: New pass peephole2. New flag -fpeephole2.
7886 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
7887 * gencodes.c (main): Likewise.
7888 * genextract.c (main): Likewise.
7889 * genoutput.c (main): Likewise.
7890 * genemit.c (max_operand_1): Look for the max scratch operand.
7891 (gen_rtx_scratch): New.
7892 (gen_exp): Use it, and pass on new arg subroutine_type.
7893 (gen_expand): Take max scratch into account.
7894 (gen_split): Emit peephole2 functions.
7895 (output_peephole2_scratch): New.
7896 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
7897 * genrecog.c (routine_type): Add PEEPHOLE2.
7899 (make_insn_sequence): Match outer parallel for peep2. Discard
7900 top level scratches and dups.
7901 (add_to_sequence): New args insn_type and top. Update all callers.
7902 Handle toplevel peep2 matching insns.
7903 (write_subroutine): Handle peep2.
7904 (write_tree_1): Likewise.
7905 (write_tree): Likewise.
7907 (change_state): New arg afterward. Update all callers.
7908 Handle matching separate insns.
7909 * recog.c (recog_next_insn): New.
7910 (peephole2_optimize): New.
7911 * rtl.def (DEFINE_PEEPHOLE2): New.
7912 * resource.c (find_free_register): New argument last_insn. Use it
7913 to find a register available through the entire span.
7914 * resource.h (find_free_register): Update prototype.
7916 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
7918 * i386.c (output_strlen_unroll): Don't write xops[7]
7919 label if it wasn't set.
7921 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
7923 * cpplib.c (struct directive): Const-ify name pointer and
7924 function pointer prototype.
7925 (validate_else, do_define, do_line, do_include, do_undef,
7926 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
7927 do_elif, do_endif, do_sccs, do_assert, do_unassert,
7928 do_warning): Const-ify second arg.
7929 (directive_table): Mark const. Reorder entries by frequency
7930 of usage, record statistics.
7932 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
7934 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
7935 bounds- check RTL accesses if --enable-checking.
7936 (RTVEC_ELT): Bounds check if --enable-checking.
7937 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
7938 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
7939 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
7941 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
7942 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
7944 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
7945 (NOTE_SOURCE_FILE): Use X0STR.
7946 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
7947 MEM_ALIAS_SET): Use X0INT.
7948 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
7949 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
7951 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
7952 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
7953 (rtl_check_failed_bounds, rtl_check_failed_type1,
7954 rtl_check_failed_type2, rtvec_check_failed_bounds): New
7956 (fancy_abort): Fix comment.
7958 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
7959 (cse_insn): Decrement LABEL_NUSES for jump target before
7961 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
7962 * final.c (alter_subreg): Compute regno before changing x to
7963 REG; set REGNO(x) after changing it.
7964 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
7965 notes containing CONST_INTs.
7966 (delete_eh_regions): Use NOTE_EH_HANDLER.
7967 * function.c (put_reg_into_stack): Make reg a MEM before
7969 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
7971 (gen_mem_addressof): Make reg a MEM before initializing it.
7972 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
7974 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
7975 deleting an insn, not after.
7976 (block_alloc): Only look at PATTERN(insn) if we have to, and
7977 only if it's format class 'i'.
7978 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
7979 CONST_INT before using its INTVAL.
7980 * print-rtl.c (print_rtx): Use X0STR.
7981 * regmove.c (fixup_match_1): Don't look at PATTERN of
7982 non-class-'i' insn chain elements.
7983 * reload.c (loc_mentioned_in_p): Take address of
7984 in->fld[1].rtx directly.
7985 * reload1.c (reload): Change reg to a MEM before initializing
7987 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
7989 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
7991 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
7993 * config/mips/mips.c (machine_dependent_reorg): Force a
7994 barrier to output the local constant pool if a barrier hasn't
7995 been found at a natural point in the instruction stream.
7997 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7999 * c-parse.in (language_string): Constify.
8001 * dwarf2out.c (language_string): Remove declaration.
8003 * dwarfout.c (language_string): Likewise.
8005 * toplev.c (language_string, init_parse, finish_parse): Likewise.
8007 * tree.h (language_string, init_parse, finish_parse): Declare.
8009 * i386/sun386.h (language_string): Remove declaration.
8011 * mips.h (language_string): Likewise.
8013 * nextstep.h (language_string): Likewise.
8015 * nextstep21.h (language_string): Likewise.
8017 * rs6000.c (language_string): Likewise.
8019 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8021 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
8022 (getpwd.o): Remove target.
8024 * getpwd.c: Delete file. Its in libiberty now.
8026 * dbxout.c (getpwd): Don't prototype.
8027 * dwarf2out.c (getpwd): Likewise
8028 * dwarfout.c (getpwd): Likewise
8029 * final.c (getpwd): Likewise.
8030 * protoize.c (getpwd): Likewise.
8032 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8034 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
8036 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
8038 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
8041 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
8043 * fixinc/Makefile.in (subdir): New.
8044 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
8047 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
8049 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
8050 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
8053 * invoke.texi: Fix typo.
8055 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
8056 changed. Handle autoincrement addressing modes.
8058 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
8059 just like we would the virtual incoming args register when
8062 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
8064 * rs6000.h (ASM_FILE_START): Specify complete filename, including
8065 path, in .file directive.
8067 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
8069 * gcc.texi (External Bugs): Remove obsolete note about Perl on
8072 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
8074 * stdbool.h: Make the typedef name _Bool, with bool a #defined
8077 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8079 * tree.c (tree_code_name): Constify a char*.
8081 * tree.h (tree_code_name, decl_printable_name): Likewise.
8083 * function.h (struct function): Likewise.
8085 * toplev.c (decl_name, decl_printable_name): Likewise.
8087 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
8089 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
8090 (init_objc): Remove function pointer cast.
8092 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
8094 * pa.md (interspace_jump): New pattern.
8095 (builtin_longjmp): New expander.
8097 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
8099 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
8100 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
8101 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
8103 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
8105 * jump.c (delete_prior_computation): Also check calls
8106 to constant functions. Don't bother checking for a
8107 REG_UNUSED note before adding it.
8108 (delete_computation): Handle multi-word hard registers
8109 when synthesizing missing REG_DEAD notes for a register
8110 which is both set and used by an insn.
8112 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8114 * loop.c (this_loop_info): New variable.
8115 (loop_has_call, loop_has_volatile, loop_has_tablejump,
8116 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
8118 (prescan_loop, strength_reduce): New argument loop_info. All callers
8120 (scan_loop): New variable loop_info, initialise to address of
8122 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
8123 Delete variable loop_has_multiple_exit targets and replace with
8124 field in this_loop_info.
8125 (find_and_verify_loops): Rename this_loop to this_loop_num.
8126 (strength_reduce): Delete loop_iteration_info. Replace variable
8127 loop_info with function argument of same name.
8128 (insert_bct): Rework test for loop being completely unrolled.
8130 * loop.h (struct loop_info): New fields num, loops_enclosed,
8131 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
8132 has_indirect_jump, and cont. Redefine use of unroll_number.
8133 (loop_unroll_number): Delete.
8135 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
8137 (loop_iterations): Delete variable vtop and instead use
8138 loop_info->vtop computed in prescan_loop.
8140 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
8142 * fix-header.c (main): Do not pass a null pointer to strcmp.
8144 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
8146 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
8148 * configure: Rebuilt.
8150 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
8152 * jump.c (jump_optimize_1): Do not delete assignments to
8153 internal_arg_pointer.
8154 * cse.c (delete_trivially_dead_insns): Always consider a set of
8155 the internal_arg_pointer live.
8157 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
8159 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
8160 (update_life_info) [REG_WAS_0]: Search the original insns rather
8161 than the new insns for the note. Fix typos finding note_dest.
8162 If no dest found, discard the note rather than abort.
8163 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
8164 (replace_insns): Remove the old insn list after update_life_info
8167 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
8169 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
8171 (sched_analyze_1): Let add_dependence care for not adding dups.
8172 (sched_analyze_2): Likewise.
8173 (add_branch_dependences): Likewise.
8175 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
8177 * i386/winnt.c (export_list): New type.
8178 (exports_head): Rename to
8179 (export_head): this.
8180 (i386_pe_record_exported_symbol): Add is_data flag.
8181 (i386_pe_asm_file_end): Emit directive for exported variables.
8182 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
8184 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
8185 (ASM_DECLARE_OBJECT_NAME): Likewise.
8186 (ASM_DECLARE_FUNCTION_NAME): Likewise.
8187 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
8189 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
8191 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
8193 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
8196 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
8198 * config/openbsd.h: Define SET_ASM_OP.
8199 * tm.texi: cross-reference SET_ASM_OP in the index.
8201 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
8203 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
8204 for a CONST_DOUBLE, at compile time. Initialize rtx_length
8205 and class_narrowest_mode at compile time. Kill init_rtl.
8206 Mark rtx_length, mode_class, mode_size, mode_unit_size,
8207 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
8208 rtx_format as const. Kill all references to EXTRA_CC_MODES or
8210 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
8212 * rtl.h: Declare rtx_length and rtx_format as const.
8213 * machmode.def: Define CC(). Use CC() to define CCmode. If
8214 EXTRA_CC_MODES is defined, expand it here.
8215 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
8216 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
8217 const. Kill all references to EXTRA_CC_MODES.
8219 * toplev.c: Don't prototype or call init_rtl.
8220 * optabs.c: Don't call init_mov_optab.
8221 * genemit.c: Don't generate init_mov_optab. Don't call
8223 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
8225 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
8226 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
8227 genrecog.c: Don't call init_rtl.
8229 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
8230 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
8231 definition of EXTRA_CC_MODES.
8233 * md.texi: Kill ref to EXTRA_CC_NAMES.
8234 * tm.texi: Document new way to define EXTRA_CC_MODES.
8236 * genrecog.c: Do not look up the name of a define_split.
8239 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
8241 * config/v850/v850.md: Fix typo introduced by previous delta.
8243 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8245 * gcc.c (fatal): Make definition static to match prototype.
8247 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8249 * combine.c (get_last_value): Don't look for earlier sets if the last
8250 known set is somewhere in between the insns being combined.
8252 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
8254 * configure.in: Don't use shell ! to negate exit codes
8255 * configure: Regenerate
8257 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
8259 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
8260 the fact that ALIGN is measured in bits, not bytes.
8262 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
8264 * errors.c: New file; defines functions error, warning, and
8265 fatal, variables have_error and progname.
8266 * errors.h: New file; prototypes and decls for stuff in errors.c.
8268 * Makefile: Add rules to build errors.o and
8269 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
8270 genopinit, genrecog, genextract, genpeep, genattr, and
8271 genoutput with errors.o. Add errors.h to deps of genconfig.o,
8272 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
8273 genpeep.o, genattr.o, and genoutput.o.
8275 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
8276 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
8277 define or prototype fatal. Set progname at beginning of main.
8278 * genoutput.c: Likewise, and don't define or prototype error
8281 * c-typeck.c (c_expand_start_case): Return immediately if exp
8283 * fold-const.c (operand_equal_p): Return immediately if arg1
8284 or arg0 are ERROR_MARKs.
8285 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
8286 fields of type ERROR_MARK when calculating if the record can
8289 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
8290 with much help from Jeffrey A Law and Richard Henderson
8292 * i386.md: In the 6 insns which call output_fix_trunc,
8293 earlyclobber operands[0].
8295 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
8297 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
8298 creating new registers.
8300 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
8302 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
8303 i386_reg_alloc_order, i386_regparm_string,
8304 i386_align_loops_string, i386_align_jumps_string,
8305 i386_align_funcs_string, i386_preferred_stack_boundary_string,
8306 and i386_branch_cost_string as type "const char *".
8307 * i386.c: Define all above strings as type "const char *".
8309 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
8311 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
8312 when emitting alignment padding. Emit padding byte of 0 instead of 4.
8314 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
8316 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
8317 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
8319 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
8321 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
8322 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
8323 (dwarf2out_line, dwarf2out_finish): Likewise.
8324 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
8326 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
8328 * tree.c (lang_unsave_expr_now) : Correct return type.
8329 * tree.h (lang_unsave_expr_now) : Same.
8331 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
8333 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
8334 instead of duplicating code.
8336 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8338 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
8340 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
8342 * tree.h: fancy_abort always takes three args.
8343 * resource.c: Move include of system.h before toplev.h.
8345 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
8347 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
8350 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
8352 * system.h: Don't redefine abort or trim_filename.
8353 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
8354 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
8355 whether or not __FUNCTION__ is available.
8356 * tree.h: Duplicate rtl.h's definition of abort, for files
8357 that don't include rtl.h. Delete all code to perform type
8358 checking with a compiler other than GCC.
8359 * varray.h: Delete all code to perform type checking with a
8360 compiler other than GCC. Make VARRAY_CHECK() always evaluate
8361 its arguments exactly once, using a statement expression.
8362 Adjust the VARRAY_<type> accessor macros to match.
8363 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
8364 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
8365 caller's location. Define fatal_insn and fatal_insn_not_found
8366 as macros that use _fatal_insn and _fatal_insn_not_found.
8367 (fancy_abort, trim_filename): Kill prototypes.
8369 * rtl.c (trim_filename): Move here from toplev.c.
8370 (fancy_abort): New function.
8371 (DIR_SEPARATOR): Provide default definition.
8372 * tree.c (tree_check_failed, tree_class_check_failed): Go
8373 through fancy_abort.
8374 (tree_check, tree_class_check, cst_or_constructor_check,
8375 expr_check): Delete.
8376 * varray.c (varray_check_failed): New function.
8377 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
8378 _fatal_insn and _fatal_insn_not_found. Go through
8380 (trim_filename, fancy_abort): Delete.
8382 * builtins.c (expand_builtin_args_info): Report ICE with abort.
8383 * except.c (start_catch_handler): Report ICE with error/abort
8385 * final.c (output_operand_lossage): Likewise.
8386 * flow.c (verify_flow_info): Likewise.
8388 * gcc.c: Prototype fatal.
8389 * gengenrtl.c: Undef abort after including rtl.h not system.h.
8390 * genattr.c, genattrtab.c, genemit.c, genextract.c,
8391 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
8392 Don't define fancy_abort.
8394 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
8396 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
8399 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
8401 * m88k.h (VERSION_INFO2): Kill.
8402 (VERSION_STRING): Kill.
8404 (VERSION_INFO1): Tidy.
8405 (TARGET_VERSION): Update.
8406 * m88k/dgux.h (VERSION_INFO2): Kill.
8407 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
8408 * m88k/luna.h (VERSION_INFO1): Tidy.
8409 * m88k/sysv4.h (VERSION_INFO1): Likewise.
8410 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
8411 (output_file_start): Adjust for death of VERSION_STRING.
8413 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
8415 * cpplib.c (detect_if_not_defined): New function.
8416 (do_if): Use it to detect potential once-only headers.
8418 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
8420 * c-common.c (combine_strings): Always set TREE_CONSTANT.
8422 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
8424 * combine.c (nonzero_bits) : Allow single-ly set registers to be
8425 anywere in the function only if they are pseudos and set before
8426 being used (not live at the start of the function).
8427 (num_sign_bit_copies) : Same.
8428 (get_last_value_validate) : Same.
8429 (get_last_value) : Same.
8431 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
8433 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
8434 where N and M are constant and N is an integer multiple of M.
8436 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8438 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
8439 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
8440 sbitmap_union_of_preds): Add prototypes.
8441 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
8442 the intersection of successors with the new flow graph structures.
8443 (sbitmap_intersection_of_preds): New function to compute the
8444 intersection of predecessors with the new flow graph structures.
8445 (sbitmap_union_of_succs): New function to compute the union of
8446 successors with the new flow graph structures.
8447 (sbitmap_union_of_preds): New function to compute the union of
8448 predecessors with the new flow graph structures.
8449 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
8450 (expr_reaches_here_p): Use edge and basic_block structures instead
8451 of s_preds and s_succs.
8452 (compute_cprop_avinout): Use new sbitmap routines.
8453 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
8454 of s_preds and s_succs.
8455 * flow.c (compute_flow_dominators): Compute dominators using
8456 edges and basic blocks instead of s_preds and s_succs.
8458 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
8460 * lists.c (unused_insn_list, unused_expr_list): New file for
8461 maintaining various types of lists. New statics for maintaining a
8462 cache of available INSN_LIST and EXPR_LIST nodes.
8463 (free_list): Static function for freeing a list of INSN/EXPR nodes.
8464 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
8465 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
8466 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
8467 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
8468 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
8469 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
8470 (free_INSN_LIST_node): Free an individual INSN_LIST node.
8471 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
8472 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
8473 (remove_dependence, free_pending_lists): Use new global routines.
8474 (flush_pending_lists, sched_analyze_insn): Use new global routines.
8475 (sched_analyze, compute_block_backward_dependences): Use new routines.
8476 (sched_analyze_1, sched_analyze_2): Use new routines.
8477 (schedule_insns): Use new global routines.
8478 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
8480 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
8481 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
8483 * toplev.c (rest_of_compilation): Initialize node cache.
8484 * Makefile.in (OBJS): Add lists.o to list of object files.
8485 (lists.o): Add dependancies.
8487 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
8489 * config/v850/v850.md: Fix compile time warning messages.
8490 * config/v850/v850.c: Fix compile time warning messages.
8491 * config/v850/v850.h: Fix compile time warning messages.
8493 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8495 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
8496 Remove unused prototype for `init_lengths'.
8498 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8500 * calls.c (emit_call_1): Mark parameter `stack_size' with
8502 (expand_call): Initialize variable `insn'.
8503 (emit_library_call): Likewise for variable `high_to_save'.
8504 (emit_library_call_value): Likewise.
8505 (store_one_arg): Likewise for variables `lower_bound' and
8508 * combine.c (try_combine): Likewise for variables `i2_code_number'
8509 and `other_code_number'.
8510 (find_split_point): Likewise for variables `pos', `unsignedp' and
8512 (simplify_if_then_else): Likewise for variables `op' and `c1'.
8513 (simplify_and_const_int): Remove unused variable `width'.
8514 (merge_outer_ops): Likewise.
8516 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
8517 HOST_WIDE_INT' when comparing against one.
8518 (simplify_relational_operation): Likewise.
8519 (cse_insn): Initialize variables `src_eqv_volatile',
8520 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
8522 * final.c (init_final): Constify parameter `filename'.
8523 (final_start_function): Mark parameter `optimize' with
8525 (profile_function): Likewise for parameters `first' and `optimize'.
8526 (output_source_line): Likewise for parameter `file'.
8528 * integrate.c (subst_constants): Cast a value to `size_t' when
8529 comparing against one.
8530 (mark_stores): Initialize variable `mode'. Cast a value to
8531 `size_t' when comparing against one.
8533 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
8535 * loop.c (move_movables): Initialize variable `first'.
8536 (strength_reduce): Likewise for variable `increment'.
8537 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
8538 value to `size_t' when comparing against one.
8539 (load_mems): Initialize variable `end_label'.
8541 * output.h (init_final): Constify parameter.
8543 * reload.c (decompose): Initialize variable `base'.
8545 * reload1.c (reload): Likewise for variable `is_scalar'.
8546 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
8547 (choose_reload_regs): Initialize variable `mode'.
8548 (emit_reload_insns): Likewise for variable `store_insn'.
8549 (reload_cse_noop_set_p): Mark parameter `insn' with
8551 (reload_combine): Initialize variable `set'.
8553 * unroll.c (unroll_loop): Likewise for variable `local_label'.
8554 (copy_loop_body): Cast a value to `size_t' when comparing against
8557 * varasm.c (assemble_variable): Initialize variable `size_tree'.
8558 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
8559 (remove_from_pending_weak_list): Mark parameter `name' with
8562 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8564 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
8567 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
8569 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
8570 (ASM_DECLARE_FUNCTION_NAME): Define.
8571 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
8572 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
8573 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
8574 not already defined.
8576 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
8578 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
8579 of n_popped when call/call_value are not defined.
8581 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
8583 * tm.texi: GNU CC -> GCC conversion.
8584 (CC1_SPEC): Indicate it is used for all language front ends.
8586 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
8588 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
8589 NOTE_INSN_EH_REGION_END correctly.
8591 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
8592 Jeff Law <law@cygnus.com>
8594 * loop.c (strength_reduce): Automatically unroll loops if the
8595 unrolled loop size is smaller than the rolled loop size.
8597 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
8598 and delete comment that code should be rewritten.
8600 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
8602 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
8605 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
8607 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
8609 * fixinc/mkfixinc.sh: Don't fix uwin headers.
8610 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
8611 (LINK_SPEC): Add -u _main when building executables.
8612 (ASM_DECLARE_FUNCTION): Update from Cygwin.
8613 (ASM_FILE_END): Use the default for ix86-pe.
8614 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
8616 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
8618 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
8619 and ASM_CLOSE_PAREN are empty strings.
8621 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
8622 Geoffrey Keating <geoffk@cygnus.com>
8624 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
8625 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
8626 (unprotoize.o): Ditto.
8627 (test-protoize-simple): Don't define STD_PROTO_DIR.
8628 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
8629 changes to make 'test-protoize-simple' pass.
8630 (STD_PROTO_DIR): Remove define.
8631 (STANDARD_EXEC_PREFIX): Supply default define.
8632 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
8633 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
8634 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
8635 (GET_ENV_PATH_LIST): New macro.
8636 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
8637 (do_processing): Initialize default_syscalls_dir using new
8638 macros. Use it to initialize syscalls_absolute_filename.
8640 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
8642 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
8643 B into a register before emit_conditional_move.
8645 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
8647 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
8648 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
8649 multiplicand out of (+ (* a b) (* c d)).
8651 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
8652 Richard Henderson <rth@cygnus.com>
8654 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
8655 (new_insn_dead_notes): Likewise.
8656 (update_n_sets): Likewise.
8657 (update_flow_info): Move to flow.c, renamed to update_life_info;
8658 extend to handle multiple source insns.
8659 * flow.c: Include resource.h
8660 (unlink_insn_chain): New.
8661 (split_hard_reg_notes): New.
8662 (maybe_add_dead_note): New.
8663 (maybe_add_dead_note_use): New.
8664 (find_insn_with_note): New.
8665 (new_insn_dead_notes): New.
8666 (update_n_sets): New.
8667 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
8668 (maybe_remove_dead_notes): New.
8669 (update_life_info): New.
8670 (prepend_reg_notes): New.
8671 (replace_insns): New.
8672 * output.h (update_life_info): Declare.
8673 * recog.c (split_block_insns): Use update_life_info.
8674 * resource.c (find_free_register): Use reg_alloc_order, don't use
8675 fixed regs, make sure the mode is supported, don't use new regs.
8677 * rtl.h (replace_insns): Declare.
8679 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
8681 * expr.c (expand_expr): Cope with COND_EXPRs with one
8682 non-returning branch.
8684 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
8686 * expr.c (store_expr): Always pass down the target, even when not
8689 1999-08-24 Nick Clifton <nickc@cygnus.com>
8691 * configure.in: Define target_cpu_default for v850 targets.
8692 * configure: Regenerate
8694 * config/v850/v850.h (TARGET_CPU_generic): Define.
8695 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
8696 addresses are 4 byte aligned.
8698 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
8701 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8703 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
8704 (main): Add prototypes.
8706 * genattrtab.c (substitute_address, write_const_num_delay_slots,
8707 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
8708 (write_attr_get): Emit prototypes along with function definition.
8709 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
8710 (write_complex_function): Emit static prototype along with
8711 function definition.
8713 * genemit.c (gen_split): Emit prototypes along with function
8716 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
8717 Likewise for predicates and `insn_operand_predicate'.
8718 (process_template): Emit static prototype along with function
8721 * genrecog.c (make_insn_sequence): Constify a char*. Add
8722 prototypes for get_split_*().
8723 (write_subroutine): Emit prototypes along with function
8726 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8728 * gcse.c (find_avail_set): Follow chains of register-register copies.
8729 Use oprs_not_set_p to guarantee that the returned value can be
8731 (cprop_insn): Don't verify the return value of find_avail_set with
8734 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
8735 (cprop_cc0_jump): New function.
8736 (cprop_insn): Break out new function cprop_jump and use it.
8737 Also use cprop_cc0_jump for machines with CC0.
8738 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
8740 * tree.h (current_function_calls_setjmp,
8741 current_function_calls_longjmp): Delete declarations.
8742 * dsp16xx.c: Include "function.h".
8743 * elxsi.c: Likewise.
8744 * gmicro.c: Likewise.
8745 * h8300.c: Likewise.
8748 * mn10200.c: Likewise.
8749 * mn10300.c: Likewise.
8750 * ns32k.c: Likewise.
8754 * rtl.h (rtx_equal_function_value_matters): Declare.
8755 * toplev.c (rtx_equal_function_value_matters): Don't declare.
8757 * function.c: Likewise.
8758 * emit-rtl.c: Likewise.
8760 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
8762 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
8765 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8767 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
8770 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
8772 * cpp.texi: Add a node documenting macro varargs (copied
8775 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
8777 * cppspec.c: Put a null pointer at the end of the new argv.
8779 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
8781 * configure.in: Remove code to select/de-select the haifa
8782 scheduler. Every scheduled port gets haifa now.
8783 * configure: Rebuilt.
8784 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
8786 * Makefile.in: Corresponding changes.
8788 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8790 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
8791 All callers changed.
8792 (prepare_float_lib_cmp): Likewise.
8793 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
8794 * expr.h (emit_float_lib_cmp): Delete declaration.
8795 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
8796 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
8797 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
8799 (cmptf): Now conditional on TARGET_HARD_QUAD.
8801 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
8803 * resource.c (mark_target_live_regs): Use
8804 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
8806 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8808 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
8810 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
8812 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
8814 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8816 * rtl.h (rtx_format): Constify a char*.
8818 * rtl.c (rtx_format): Likewise.
8819 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
8820 (init_rtl): Use accessor macro, not `rtx_format'.
8822 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
8825 * caller-save.c (mark_referenced_regs): Likewise.
8827 * combine.c (subst, make_compound_operation, known_cond,
8828 gen_rtx_combine, update_table_tick, get_last_value_validate,
8829 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
8831 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
8832 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
8833 count_reg_usage): Likewise.
8835 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
8838 * final.c (leaf_renumber_regs_insn): Likewise.
8840 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
8841 dump_edge_info, count_reg_references): Likewise.
8843 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
8844 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
8847 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
8848 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
8849 add_label_notes): Likewise.
8851 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
8852 clear_struct_flag, count_sub_rtxs, count_alternatives,
8853 compares_alternatives_p, contained_in_p, walk_attr_value,
8854 write_expr_attr_cache): Likewise.
8856 * genconfig.c (walk_insn_part): Likewise.
8858 * genemit.c (max_operand_1, gen_exp): Likewise.
8860 * genextract.c (walk_rtx): Likewise.
8862 * genflags.c (num_operands): Likewise.
8864 * genoutput.c (scan_operands): Likewise.
8866 * genpeep.c (match_rtx): Likewise.
8868 * genrecog.c (add_to_sequence): Likewise.
8870 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
8873 * integrate.c (save_constants, copy_for_inline,
8874 copy_rtx_and_substitute, subst_constants, restore_constants):
8877 * jump.c (mark_jump_label, invert_exp, redirect_exp,
8878 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
8880 * local-alloc.c (contains_replace_regs, memref_referenced_p):
8883 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
8884 add_label_notes, replace_call_address, count_nonfixed_reads,
8885 invariant_p, find_single_use_in_loop, find_mem_givs,
8886 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
8889 * print-rtl.c (reg_names, print_rtx): Likewise.
8891 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
8893 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
8894 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
8895 print_blocks): Likewise.
8897 * regclass.c (fix_register, record_address_regs,
8898 reg_scan_mark_refs): Likewise.
8900 * regmove.c (stable_but_for_p): Likewise.
8902 * reload.c (loc_mentioned_in_p, operands_match_p,
8903 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
8904 copy_replacements, refers_to_regno_for_reload_p,
8905 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
8906 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
8909 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
8910 delete_address_reloads_1, count_occurrences,
8911 reload_cse_mem_conflict_p, reload_combine_note_use,
8912 add_auto_inc_notes): Likewise.
8914 * resource.c (mark_referenced_resources, mark_set_resources):
8917 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
8918 reg_mentioned_p, regs_set_between_p, modified_between_p,
8919 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
8920 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
8921 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
8922 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
8924 * sched.c (sched_analyze_2, attach_deaths): Likewise.
8926 * stupid.c (stupid_mark_refs): Likewise.
8928 * unroll.c (remap_split_bivs): Likewise.
8930 * varasm.c (mark_constants): Likewise.
8932 * a29k/a29k.c (uses_local_reg_p): Likewise.
8934 * alpha/alpha.c (summarize_insn): Likewise.
8936 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
8937 eliminate_lr2ip): Likewise.
8939 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
8941 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
8942 reg_mentioned_in_mem): Likewise.
8944 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
8945 symbolic_reference_mentioned_p): Likewise.
8947 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
8949 * sh/sh.c (regs_used, mark_use): Likewise.
8951 * vax/vax.c (vax_rtx_cost): Likewise.
8953 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8955 * machmode.h (mode_name): Constify a char*.
8957 * rtl.c (mode_name): Likewise.
8959 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
8961 * optabs.c (init_libfuncs): Constify a char*.
8963 * print-tree.c (mode_name): Remove redundant declaration.
8964 (print_node): Use accessor macro, not `mode_name'.
8966 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
8968 (new_spill_reg): Constify a char*.
8970 * tree.c (mode_name): Remove redundant declaration.
8972 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8974 * rtl.c (rtx_name): Constify a char*.
8976 * rtl.h (rtx_name, fix_sched_param): Likewise.
8978 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
8979 (mypr): Use accessor macro, not `rtx_name'.
8981 * genemit.c (print_code): Constify a char*.
8983 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
8985 * genpeep.c (print_code): Constify a char*.
8987 * genrecog.c (print_code): Likewise.
8989 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
8990 end_bb): Add static prototype.
8991 (draw_edge): Constify a char*.
8992 (end_bb): Remove unused parameter.
8994 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
8995 print_block_visualization): Constify a char*.
8997 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
8999 * c-common.c (c_get_alias_set): Update comment.
9001 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9003 * linux.h (LIB_SPEC): Added.
9005 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9007 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
9009 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
9011 * tree.c (expr_check): Fix typo in last change.
9013 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
9015 * rtl.def (NOTE): Change format to "iuu0n".
9016 (ADDR_DIFF_VEC): Change format to "eEee0".
9017 (ADDRESSOF): Change format to "eit".
9019 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
9020 (RTVEC_ELT): Change to match.
9021 (XVECEXP): Use XVEC and RTVEC_ELT.
9022 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
9023 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
9024 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
9025 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
9026 TRAP_CONDITION, TRAP_CODE): Use XEXP.
9027 (INTVAL): Use XWINT.
9028 (ADDRESSOF_DECL): Use XTREE.
9029 (SET_ADDRESSOF_DECL): Delete.
9030 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
9031 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
9032 ifdefed out since 2.6 at least.
9033 (gen_rtvec_vv): Delete prototype.
9035 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
9037 (copy_most_rtx): Handle 't' format letter.
9038 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
9039 (gen_rtvec_vv): Delete function. All callers changed to use
9040 gen_rtvec_v instead.
9041 * print-rtl.c (print_rtx): Move special casing of NOTEs to
9042 the '0' format letter.
9044 * function.c (gen_mem_addressof): Don't use
9045 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
9047 * integrate.c (copy_rtx_and_substitute): Likewise.
9048 Copy 't' slots with XTREE.
9049 (subst_constants): Treat 't' slots like '[swi]' slots.
9050 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
9051 * jump.c (rtx_equal_for_thread_p): Likewise.
9052 * rtlanal.c (rtx_equal_p): Likewise.
9053 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
9054 only four arguments.
9055 * gengenrtl.c (type_from_format): Provide correct types for
9059 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
9060 If a recent gcc is in use (always in stage2 and beyond), use
9061 statement expressions, so we don't make a function call unless
9062 the check fails. Evaluate arguments exactly once.
9063 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
9064 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
9066 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
9067 they evaluate their arguments exactly once, irrespective of
9068 the compiler in use.
9070 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
9071 is used by the currently-enabled check macros. This is:
9072 (tree_check_failed, tree_class_check_failed): For gcc.
9073 (tree_check, tree_class_check, cst_or_constructor_check,
9074 expr_check): For other compilers.
9076 * gencheck.c: Do not define any *_CHECK1 macros.
9078 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
9079 Mark Mitchell <mark@codesourcery.com>
9081 * c-common.c (c_get_alias_set): Fix support for poitners and
9084 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
9086 * alias.c: Include tree.h.
9087 (nonlocal_reference_p, mark_constant_function): New functions.
9088 * flow.c (life_analysis): Call mark_constant_function.
9089 * rtl.h (mark_constant_function): Declare it.
9091 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
9093 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
9094 unrecognisable switches.
9096 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9098 * loop.c (recombine_givs): Set ix field after sorting.
9099 (recombine_givs): Remove bogus index / giv lockstep looping.
9101 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9103 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
9105 (emit_store_flag_force): Use do_compare_rtx_and_jump.
9106 (do_cmp_and_jump): Formatting fixes.
9107 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
9108 do_compare_rtx_and_jump instead of compare_from_rtx.
9109 (do_compare_rtx_and_jump): New function; mostly copied from
9111 (do_jump_for_compare): Delete.
9112 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
9114 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
9115 of compare/do_jump_for_compare pairs.
9116 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
9117 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
9118 compare_from_rtx/do_jump_for_compare pairs.
9119 (do_jump_by_parts_equality): Likewise.
9120 (do_jump_by_parts_equality_rtx): Likewise.
9121 * expr.h (do_compare_rtx_and_jump): Declare.
9122 * optabs.c (prepare_cmp_insn): New function, contains most of the code
9123 that used to be in emit_cmp_insn.
9124 (cmp_available_p): New function.
9125 (prepare_operand): New function.
9126 (emit_cmp_and_jump_insn_1): New function, contains some code that used
9127 to be in emit_cmp_insn.
9128 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
9129 parameters to be pointers; don't emit final compare but modify some of
9130 the values pointed to by the args so the caller can perform the
9132 (expand_binop): Call emit_store_flag_force with signed forms of
9134 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
9135 emit_jump_insn pair.
9136 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
9137 emit_cmp_and_jump_insn_1. Call emit_queue.
9138 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
9140 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
9141 jump sets cc0 before deleting it.
9142 * integrate.c (expand_inline_function): Likewise.
9143 * unroll.c (unroll_loop): Similar changes in several places.
9144 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
9147 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9149 * Makefile.in (insn-recog.o): Update dependencies.
9150 * genrecog.c (main): Make generated file include "function.h".
9152 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
9154 * cse.c (cse_insn): Call never_reached_warning when a jump is
9155 changed to be unconditional.
9156 * flags.h: Declare warn_notreached.
9157 * flow.c (delete_block): Call never_reached_warning when
9159 * jump.c (delete_barrier_successors): Call never_reached_warning
9160 when we delete everything after a BARRIER.
9161 (never_reached_warning): New function.
9162 * rtl.h: Declare never_reached_warning.
9163 * toplev.c (warn_notreached): New variable.
9164 (lang_independent_options): Set warn_notreached
9165 when -Wunreachable-code.
9166 (compile_file): We need line numbers for -Wunreachable-code.
9168 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
9170 * haifa-sched.c (insn_unit): Fix typo on out of range test.
9171 * sched.c (insn_unit): Likewise.
9173 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
9175 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
9177 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9179 * flow.c (create_edge_list): Use xmalloc, not malloc.
9181 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
9183 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
9184 C-style comments. Do not lose the character before double slash.
9186 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9188 * basic-block.h (struct edge_list): Stucture to maintain a vector
9190 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
9191 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
9192 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
9193 New function prototypes.
9194 * flow.c (create_edge_list): Function to create an edge list.
9195 (free_edge_list): Discards memory used by an edge list.
9196 (print_edge_list): Debug output showing an edge list.
9197 (verify_edge_list): Internal consistency check for an edge list.
9198 (find_edge_index): Function to find an edge index for a pred and succ.
9200 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
9202 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
9205 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
9207 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
9209 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9211 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
9213 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
9215 * toplev.c (rest_of_compilation): Allow machine dependent
9216 reorganisation pass to place information into the RTL dump
9217 file if it so wishes.
9219 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
9221 * explow.c (hard_function_value): Use VOIDmode instead of
9223 * stmt.c (expand_return): Likewise.
9224 * stor-layout.c (get_best_mode): Likewise.
9226 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
9227 emit call instead of emit_insn call.
9229 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
9231 * configure.in: Handle --disable/enable-win32-registry.
9232 * install.texi: Document --disable/enable-win32-registry.
9233 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
9234 (WIN32_REGISTRY_KEY): New macro.
9235 * prefix.c: Use to enable/disable win32-specific code.
9236 (lookup_key): Use versioned key.
9237 * configure: Regenerate.
9238 * config.in: Likewise.
9240 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
9242 * cpplib.c (read_line_number): New fn, split out of...
9245 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
9247 tree.c (lang_unsave_expr_now) : New.
9248 (unsave_expr_now): Call lang_unsave_expr_now.
9249 tree.h (lang_unsave_expr_now) : New.
9251 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
9253 * toplev.c (flag_new_exceptions): On by default.
9255 1999-08-13 Michael Meissner <meissner@cygnus.com>
9257 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
9259 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
9261 * dwarfout.c (fundamental_type_code): Return FT_boolean for
9262 INTEGER_TYPE with precision==1, it's __java_boolean.
9264 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9266 * global.c (prune_preferences): Move some invariants out of the
9269 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
9271 * configure.in (alpha*-dec-osf*): Add osf5.
9273 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
9275 * configure.in: Rework handling of ARM GNU/Linux slightly.
9276 (arm*-*-linux-gnuoldld): New target.
9277 * configure: Regenerate.
9278 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
9279 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
9280 * config/arm/linux-oldld.h: New file.
9281 * config/arm/linux-elf26.h: Don't include linux-elf.h.
9282 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
9284 * config/arm/linux-elf.h (ASM_SPEC): Define.
9285 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
9286 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
9287 for 26-bit APCS and old linker.
9288 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
9290 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
9291 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
9292 don't define `arm' or `arm_elf'.
9293 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
9294 MULTILIB_DIRNAMES): Define. Fix typo in comment.
9296 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
9298 * rtl.texi: Fix typo.
9300 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
9302 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
9304 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
9306 * extend.texi (C++ Signatures): Remove node.
9307 * invoke.texi: Remove discussion of -fhandle-signatures,
9308 signature, sigof, __signature__, and __sigof__.
9310 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
9312 * Makefile.in (JAVAGC): Removed.
9314 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
9316 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
9318 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
9320 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
9322 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
9324 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
9325 a register that is already known to be a pointer.
9327 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
9329 * fixinc/inclhack.tpl: Only install assert.h conditionally.
9330 * fixinc/inclhack.sh: Regenerated.
9331 * fixinc/fixincl.sh: Regenerated.
9333 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
9335 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
9336 Fix documentation of -ansi flag to describe its C++ behavior.
9337 Remove bogus reference to GCC 2.9.
9339 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
9341 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
9342 note if it is non-NULL.
9344 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9346 * except.h (eh_nesting_info): Add new structure defintion.
9347 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
9348 (reachable_handlers, update_rethrow_references): Add function
9350 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
9351 a rethrow symbol instead of an integer exception region number.
9352 * flow.c (Make_edges): Use new exception nesting routines to determine
9353 which handlers are reachable from a CALL or asynchronous insn.
9354 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
9356 (delete_eh_regions): Update rethrow labels, and don't delete
9357 regions which are the target of a rethrow.
9358 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
9359 avoid overloading the SYMBOL_REF_USED flag.
9360 (rethrow_symbol_map): Use new rethrow_ref field.
9361 (rethrow_used): Use new rethrow_ref field.
9362 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
9363 of an integer. Fix formatting.
9364 (output_exception_table_entry): Use new rethrow_ref field.
9365 (can_throw): Check for EH_REGION_NOTE before deciding
9366 whether a CALL can throw or not.
9367 (scan_region): Call rethrow_used() instead of accessing data structure.
9368 (update_rethrow_references): New function to make sure only regions
9369 which are still targets of a rethrow are flagged as such.
9370 (process_nestinfo): New static function to initialize a handler
9371 list for a specific region.
9372 (init_eh_nesting_info): New function to allocate and initialize
9373 the list of all EH handlers reachable from all regions.
9374 (reachable_handlers): New function to retrieve the list of handlers
9375 reachable from a specific region and insn.
9376 (free_eh_nesting_info): New function to dispose of a list of
9379 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9381 * flow.c (split_edge): Set JUMP_LABEL field.
9382 (commit_one_edge_insertion): Set head correctly for insert_before.
9383 When inserting insns, update insn block numbers if allocated.
9385 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9387 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
9388 retry_incomplete_types): Add static prototype.
9389 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
9390 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
9391 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
9392 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
9393 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
9396 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
9397 dwarf2out_start_source_file, dwarf2out_line): Likewise.
9399 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9401 * output.h (assemble_name): Constify a char*.
9403 * varasm.c (UNIQUE_SECTION, assemble_start_function,
9404 assemble_variable, assemble_name): Likewise.
9406 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
9408 * arm/pe.c (arm_pe_unique_section): Likewise.
9410 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
9412 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
9414 * i386/interix.c (i386_pe_unique_section): Likewise.
9416 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
9418 * i386/winnt.c (i386_pe_unique_section): Likewise.
9420 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
9422 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
9424 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
9426 * pa/pa.c (output_call): Likewise.
9428 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
9430 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
9432 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
9435 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
9438 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
9440 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
9441 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
9443 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
9445 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9447 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
9449 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9451 * tree.h (lang_identify): Constify a char*.
9452 (print_error_function): Add extern prototype. Constify a char*.
9454 * c-lang.c (lang_identify): Constify a char*.
9456 * objc/objc-act.c (lang_identify): Constify a char*.
9458 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9460 * genpeep.c (main): Make generated file include "function.h".
9461 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
9463 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9465 * Makefile.in: Update dependencies.
9466 * alias.c: Include "function.h"
9467 * c-decl.c: Likewise.
9468 * caller-save.c: Likewise.
9469 * calls.c: Likewise.
9470 * combine.c: Likewise.
9472 * explow.c: Likewise.
9473 * final.c: Likewise.
9474 * global.c: Likewise.
9475 * graph.c: Likewise.
9476 * local-alloc.c: Likewise.
9478 * optabs.c: Likewise.
9479 * profile.c: Likewise.
9480 * recog.c: Likewise.
9481 * regclass.c: Likewise.
9482 * regmove.c: Likewise.
9483 * reload.c: Likewise.
9484 * reorg.c: Likewise.
9485 * resource.c: Likewise.
9486 * sched.c: Likewise.
9487 * stupid.c: Likewise.
9488 * config/1750a/1750a.c: Likewise.
9489 * config/a29k/a29k.c: Likewise.
9490 * config/arc/arc.c: Likewise.
9491 * config/arm/arm.c: Likewise.
9492 * config/arm/thumb.c: Likewise.
9493 * config/c4x/c4x.c: Likewise.
9494 * config/clipper/clipper.c: Likewise.
9495 * config/convex/convex.c: Likewise.
9496 * config/fx80/fx80.c: Likewise.
9497 * config/i860/i860.c: Likewise.
9498 * config/m68k/m68k.c: Likewise.
9499 * config/m88k/m88k.c: Likewise.
9500 * config/mips/mips.c: Likewise.
9501 * config/pdp11/pdp11.c: Likewise.
9502 * config/pyr/pyr.c: Likewise.
9503 * config/romp/romp.c: Likewise.
9504 * config/sh/sh.c: Likewise.
9505 * config/tahoe/tahoe.c: Likewise.
9506 * config/vax/vax.c: Likewise.
9507 * config/we32k/we32k.c: Likewise.
9508 * config/sparc/sparc.c: Include "function.h".
9509 (mem_min_alignment): Test current_function rather than
9510 regno_pointer_align.
9511 * config/pa/pa.c: Likewise.
9512 (compute_frame_size): Delete declaration of
9513 current_function_outgoing_args_size.
9514 * config/arc/arc.h (current_function_varargs): Delete declaration.
9515 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
9517 * config/i370/i370.h (current_function_outgoing_args_size): Delete
9519 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
9520 current_function_uses_pic_offset_table.
9521 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
9522 of current_function_returns_pointer.
9523 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9524 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9525 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9526 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9527 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9528 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
9529 * config/m88k/m88k.c: Include "function.h"
9530 (call_used_regs, current_function_pretend_args_size,
9531 current_function_outgoing_args_size, frame_pointer_needed): Delete
9533 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
9535 * config/mips/mips.h (current_function_calls_alloca): Delete
9537 * config/mn10200/mn10200.h (current_function_needs_context,
9538 rtx_equal_function_value_matters): Delete declarations.
9539 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
9540 flag_pic): Delete declarations.
9541 * config/pa/pa.h (current_function_pretend_args_size,
9542 current_function_decl): Delete declarations.
9543 * config/pa/som.h (current_function_varargs): Delete declaration.
9544 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
9546 * config/pyr/pyr.h (current_function_pretend_args_size,
9547 current_function_args_size, current_function_calls_alloca): Delete
9549 * config/sh/sh.h (current_function_varargs): Delete declaration.
9550 * config/sparc/sparc.h (current_function_outgoing_args_size,
9551 current_function_calls_alloca, current_function_decl): Delete
9553 * config/spur/spur.h (current_function_pretend_args_size,
9554 current_function_calls_alloca): Delete declarations.
9555 * config/v850/v850.c (current_function_outgoing_args_size): Delete
9557 * config/vax/vms.h (current_function_name): Delete declaration.
9558 * gcse.c: Include "function.h".
9559 (current_function_name, current_function_calls_setjmp): Delete
9561 * haifa-sched.c: Include "function.h".
9562 (forced_labels): Delete declaration.
9564 * reg-stack.c: Likewise.
9565 * reload1.c: Likewise.
9566 * genemit.c (main): Make generated file include function.h.
9567 * genoutput.c (output_prologue): Likewise.
9569 * builtins.c (saveregs_value, apply_args_value): Delete variables.
9570 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
9571 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
9572 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
9573 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
9574 macros for some of them.
9575 (emit_filename, emit_lineno): Delete declarations.
9576 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
9577 regno_pointer_* variables through current_function.
9578 (gen_inline_header_rtx): Delete function.
9579 (save_emit_status): Delete function.
9580 (set_new_last_label_num): New function.
9581 (clear_emit_caches): New function.
9582 (restore_emit_status): Just clear last_labelnum and call
9584 (get_last_insn_anywhere): Variable sequence_stack is now accessed
9585 through macro seq_stack.
9586 (add_insn_after): Likewise.
9587 (add_insn_before): Likewise.
9588 (remove_insn): Likewise.
9589 (pop_topmost_sequence): Likewise.
9590 (in_sequence_p): Likewise.
9591 (start_sequence_for_rtl_expr): Likewise.
9592 (start_sequence): Likewise, and likewise for
9593 sequence_rtl_expr/seq_rtl_expr.
9594 (push_topmost_sequence): Likewise.
9595 (end_sequence): Likewise.
9596 (init_virtual_regs): Now takes a "struct emit_status *" argument.
9597 All callers changed. Store into that pointer instead of globals.
9598 (init_emit): Allocate emit elt of current_function.
9599 Changes for sequence_rtl_expr/sequence_stack renaming.
9600 Call clear_emit_caches instead of doing it in-line.
9601 Access regno_pointer_* variables through current_function.
9602 (init_emit_once) Don't clear sequence_stack.
9604 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
9606 (arg_pointer_save_area): Delete declaration.
9607 (finish_expr_for_function): Renamed from init_queue; no longer static.
9608 (init_expr): Don't call init_queue.
9609 (save_expr_status, restore_expr_status): Delete functions.
9610 (expand_expr): Changes to reflect new layout of struct function.
9611 Don't access current_function_check_memory_usage when current_function
9613 * expr.h (forced_labels, save_expr_regs, saveregs_value,
9614 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
9615 current_function_outgoing_args_size, current_function_arg_offset_rtx,
9616 current_function_uses_const_pool, function_call_count,
9617 current_function_uses_pic_offset_table, nonlocal_labels,
9618 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
9619 current_function_check_memory_usage, nonlocal_goto_handler_slots,
9620 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
9622 (finish_expr_for_function): Declare.
9623 * flags.h (current_function_has_nonlocal_label,
9624 current_function_has_nonlocal_goto, current_function_is_thunk,
9625 current_function_has_computed_jump): Delete declarations.
9626 * flow.c (forced_labels): Delete declaration.
9627 * function.c (current_function_pops_args,
9628 current_function_returns_struct, current_function_returns_pcc_struct,
9629 current_function_needs_context, current_function_calls_setjmp,
9630 current_function_calls_longjmp, current_function_has_nonlocal_label,
9631 current_function_has_nonlocal_goto, current_function_is_thunk,
9632 current_function_has_computed_jump, current_function_calls_alloca,
9633 current_function_contains_functions, current_function_returns_pointer,
9634 current_function_epilogue_delay_list, current_function_args_size,
9635 current_function_pretend_args_size, current_function_arg_offset_rtx,
9636 current_function_outgoing_args_size, current_function_varargs,
9637 current_function_stdarg, current_function_args_info, cleanup_label,
9638 current_function_name, current_function_uses_const_pool,
9639 current_function_instrument_entry_exit, current_function_return_rtx,
9640 current_function_uses_pic_offset_table, nonlocal_labels,
9641 current_function_internal_arg_pointer, current_function_cannot_inline,
9642 current_function_check_memory_usage, function_call_count,
9643 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
9644 nonlocal_goto_stack_level, return_label, save_expr_regs,
9645 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
9646 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
9647 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
9648 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
9649 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
9651 (push_function_context_to): Don't save them. Don't call
9652 save_storage_status, save_emit_status or save_expr_status.
9653 (pop_function_context_from): Don't restore them. Don't call
9654 restore_storage_status or restore_expr_status.
9655 (get_func_frame_size): New function.
9656 (get_frame_size): Use it.
9657 (assign_outer_stack_local): Reflect some member name changes in struct
9659 (put_reg_into_stack): Likewise.
9660 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
9662 (fixup_var_refs): Likewise.
9663 (fix_lexical_addr): Likewise.
9664 (trampoline_address): Likewise.
9665 (prepare_function_start): Clear field inlinable of current_function.
9666 (init_function_for_compilation): New function.
9667 (expand_dummy_function_end): New function.
9668 (expand_function_end): Call finish_expr_for_function.
9669 * function.h (struct emit_status): New; fields moved here from struct
9670 function and from global variables. Add accessor macros for some of
9672 (struct expr_status): Likewise.
9673 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
9674 (struct function): Add fields expr and emit, inlinable, inl_emit,
9675 original_arg_vector, original_decl_initial, inl_last_parm_insn,
9676 inl_max_label_num. Add many comments.
9677 Add accessor macros for all elts of struct function that no longer
9678 have a global variable.
9679 (cleanup_label, return_label, frame_offset, tail_recursion_label,
9680 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
9681 stack_slot_list): Delete declarations.
9682 (get_func_frame_size): Declare.
9683 (save_expr_status, restore_expr_status, save_emit_status,
9684 save_storage_status, restore_storage_status): Delete declarations.
9685 (init_virtual_regs): Declare.
9686 * output.h (current_function_pops_args,
9687 current_function_returns_struct, current_function_returns_pcc_struct,
9688 current_function_needs_context, current_function_calls_setjmp,
9689 current_function_calls_longjmp, current_function_calls_alloca,
9690 current_function_has_nonlocal_label, current_function_varargs,
9691 current_function_has_computed_jump, current_function_returns_pointer,
9692 current_function_contains_functions, current_function_args_size,
9693 current_function_pretend_args_size, current_function_stdarg,
9694 current_function_outgoing_args_size, current_function_args_info,
9695 current_function_name, current_function_return_rtx,
9696 current_function_epilogue_delay_list,
9697 current_function_uses_const_pool, current_function_cannot_inline):
9698 Delete declarations.
9699 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
9700 regno_reg_rtx): Delete declaration.
9701 (REGNO_POINTER_FLAG): Delete macro.
9702 * stmt.c (expand_goto): Changes to reflect that some fields in struct
9703 function were renamed.
9704 * stor-layout.c (save_storage_status, restore_storage_status): Delete
9706 * toplev.c: Include "function.h".
9707 (current_function_decl): Delete declaration.
9708 (compile_file): Call init_dummy_function_start and
9709 expand_dummy_function_end around some initializations that need to
9711 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
9712 Call init_function_for_compilation.
9713 * unroll.c: Include "function.h"
9714 (unroll_loop): Access regno_pointer_* variables through
9717 * tree.h (struct tree_decl): Add elt f to saved_insns member.
9718 (DECL_SAVED_INSNS): use it.
9719 (expand_dummy_function_end): Declare.
9720 (init_function_for_compilation): Declare.
9721 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
9722 that it's no longer an INLINE_HEADER.
9723 (expand_call): Likewise.
9724 * integrate.c (finish_inline): Delete function.
9725 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
9726 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
9727 args. Don't generate an INLINE_HEADER rtx, just return the arg
9728 vector. All callers changed.
9729 (save_for_inline_copying): Create a duplicate struct emit_status to
9730 hold the emit state for compiling the current function. Use this and
9731 the other new fields in struct function that are for integration
9732 instead of an INLINE_HEADER.
9733 Use memcpy instead of bcopy.
9734 Store the current struct function in DECL_SAVED_INSNS of fndecl.
9735 (save_for_inline_nocopy): Similar changes, except no new emit_status
9737 (expand_inline_function): Get information from function structure,
9738 not from an inline header rtx.
9739 (output_inline_function): Lose code to extract the necessary
9740 information from an inline header; simply put back the function
9741 structure into current_function. Clear its inlinable elt.
9742 * rtl.def (INLINE_HEADER): Delete.
9743 * rtl.h: Delete all accessors for an INLINE_HEADER.
9744 (gen_inline_header_rtx): Delete declaration.
9745 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
9746 Delete declarations.
9747 (REGNO_POINTER_ALIGN): Delete.
9748 (clear_emit_caches): Declare.
9749 (set_new_last_label_num): Declare.
9751 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
9753 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
9755 * except.c (expand_eh_region_start_for_decl): Always start a new block.
9756 * stmt.c (is_eh_region): Make sure current_function is present, too.
9758 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
9760 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
9761 for 64bit PA targets.
9763 * pa.h (SELECT_SECTION): Define.
9764 * som.h (SELECT_SECTION): Delete.
9766 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9768 * alias.c (init_alias_analysis): Wrap call to
9769 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
9771 1999-08-07 Bruce Korb <autogen@linuxbox.com>
9773 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
9774 <sys/asm.h> contains an asm comment with an apostrophe
9775 * fixinc/inclhack.sh: regen
9776 * fixinc/fixincl.x: regen
9778 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
9780 * function.c (init_function_start): Clear prologue & epilogue.
9781 (prologue_epilogue_contains): New function.
9782 * alias.c (init_alias_analysis): Use it.
9783 * rtl.h (prologue_epilogue_contains): Declare it.
9785 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
9787 * jump.c (onlyjump_p): New function.
9788 * rtl.h: Declare it.
9789 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
9790 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
9792 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
9794 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
9795 to invert loops. Simplify block scanning.
9797 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9799 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
9800 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
9802 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
9804 * config/sparc/liteelf.h: New file to support sparclite-elf target
9805 * config/sparc/t-sp86x: New file to support sparc86x targets
9806 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
9807 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
9808 * configure.in: Support above target triplets
9809 * configure: Regenerated
9811 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
9813 * fixinc/server.c (server_setup): Do not prefix function used as
9816 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
9818 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
9819 Remove fp reg alternatives.
9821 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
9823 * Makefile.in (TAROUTOPTS): Kill.
9824 (install-headers-tar): Use "xpf" for tar headerfile extraction
9825 * i370/x-oe (TAROUTOPTS): Delete.
9826 * m68k/x-apollo68 (TAROUTOPTS): Delete.
9827 * m68k/x-hp320 (TAROUTOPTS): Delete.
9828 * m68k/x-hp320g (TAROUTOPTS): Delete.
9829 * gcc.texi: Update bug reporting text.
9831 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9833 * reg-stack.c (change_stack) Fixed problem with negative array index.
9835 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
9837 * extend.texi, install.texi: Fix spelling mistakes.
9839 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
9840 (s-attrtab); No longer try to use pre-made insn-attrtab file.
9841 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
9843 * mips/t-ecoff: Likewise.
9844 * mips/t-elf: Likewise.
9845 * mips/t-mips: Likewise.
9846 * mips/t-osfrose: Likewise.
9847 * mips/t-r3900: Likewise.
9848 * mips/t-svr3: Likewise.
9849 * mips/t-svr4: Likewise.
9850 * mips/t-ultrix: Likewise.
9852 * gcc.texi: Document recommend means to provide software floating
9853 point libraries in libgcc.a
9855 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
9857 * c-lex.c (yylex): We can have a number with no digits.
9859 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
9861 * jump.c (delete_prior_computation): New function, broken
9862 out of delete_computation. Check for side effects with
9863 side_effects_p instead of FIND_REG_INC_NOTE. Handle
9864 multi-word hard registers.
9865 (delete_computation): Use it. Check for side effects with
9866 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
9867 missing REG_DEAD note for a register which is both set and
9870 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
9872 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
9873 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
9874 (ASM_FILE_START): Import _mcount with the right type.
9875 (ASM_DECLARE_FUNCTION_NAME): Define.
9876 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
9877 * pa.c (output_function_prologue): Always emit the function's label
9879 * pa.h (TEXT_SPACE_P): Define.
9880 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
9881 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
9882 * som.h (TEXT_SPACE_P): Delete.
9883 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
9884 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
9886 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
9888 * expr.c (emit_group_load): Allow src to be a CONCAT.
9890 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9892 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
9893 (___mulsi3): Use '!' comment character.
9895 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9897 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
9899 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
9901 * gcc.c: Update URLs and mail addresses.
9902 * gcc.texi: Likewise.
9904 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
9906 * rs6000.c (current_file_function_operand): Return zero for
9908 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
9910 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
9913 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
9915 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
9916 allocate space in the stack frame for the PIC register.
9918 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
9920 * m68k.md (xordi3, anddi3): These patterns are not available on
9923 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
9925 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
9926 (PUT_REAL): Likewise.
9928 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9930 * final.c (shorten_branches): Don't add an alignment for loops
9931 that have no label inside.
9933 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9935 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
9936 prototypes in macro HAVE_cmpstrsi.
9938 * cpplib.c (cpp_get_token): Remove unused label `op3'.
9940 * emit-rtl.c (operand_subword): Remove unused variable
9943 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
9945 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
9947 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
9949 * cpphash.c (macroexpand): Delete leading whitespace when arg
9950 is concatenated before.
9951 (unsafe_chars): Correct test for whether + and - can extend a
9954 * cppinit.c (cpp_start_read): Do dependencies for
9955 -include/-imacros files also.
9957 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
9958 tokenizing non-directive lines.
9959 (cpp_expand_to_buffer): Temporarily disable no-output mode.
9960 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
9963 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
9965 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
9967 * c-lex.c: Sync with C++ frontend.
9968 (linemode): New variable.
9969 (parse_float): imag, conversion_errno, and type are output only.
9970 (yylex): Adjust. Move initial '.' case into main switch.
9972 (handle_generic_pragma): Just deal with tokens.
9973 (readescape): Use ISXDIGIT and ISGRAPH.
9974 * c-parse.in: Add END_OF_LINE token.
9976 * c-lex.c (lang_init): Generalize.
9977 (nextchar): Remove. Replace uses with UNGETC.
9978 (skip_white_space): Handle linemode here. Optimize for cpplib.
9979 (skip_white_space_on_line): Remove.
9980 (extend_token_buffer_to): New fn.
9981 (extend_token_buffer): Use it.
9982 (read_line_number, check_newline): Just deal with tokens.
9983 (token_getch, token_put_back): New fns.
9984 (yylex): Use them. More cpplib optimizations. Simplify.
9986 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
9987 Jason Merrill <jason@yorick.cygnus.com>
9989 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
9990 (consume_string): Make this smart about USE_CPPLIB.
9991 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
9992 (yylex): Rewrite to be intelligent about USE_CPPLIB.
9993 Also, clean up cases where we redundantly set token_buffer[0].
9994 (read_line_number): New fn.
9995 (ignore_escape_flag): New variable.
9997 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
9999 * a29k/t-a29kbare: Fix some comments.
10000 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
10001 (FPBIT, DPBIT): Define.
10002 * a29k/t-vx29k: Likewise.
10003 * arc/t-arc: Likewise.
10004 * arm/t-arm-elf: Likewise.
10005 * arm/t-bare: Likewise.
10006 * arm/t-pe: Likewise.
10007 * arm/t-pe-thumb: Likewise.
10008 * arm/t-semi: Likewise.
10009 * arm/t-thumb: Likewise.
10010 * arm/t-thumb-elf: Likewise.
10011 * arm/t-thumb-linux: Likewise.
10012 * h8300/t-h8300: Likewise.
10013 * i960/t-i960: Likewise.
10014 * i960/t-vxworks960: Likewise.
10015 * m32r/t-m32r: Likewise.
10016 * mips/t-ecoff: Likewise.
10017 * mips/t-elf: Likewise.
10018 * mips/t-r3900: Likewise.
10019 * pa/t-pro: Likewise.
10020 * rs6000/t-aix43: Likewise.
10021 * rs6000/t-beos: Likewise.
10022 * rs6000/t-newas: Likewise.
10023 * rs6000/t-ppccomm: Likewise.
10024 * rs6000/t-rs6000: Likewise.
10025 * rs6000/t-winnt: Likewise.
10026 * rs6000/t-xnewas: Likewise.
10027 * rs6000/t-xrs6000: Likewise.
10028 * sh/t-sh: Likewise.
10029 * sparc/t-elf: Likewise.
10030 * sparc/t-sparcbare: Likewise.
10031 * sparc/t-sparclite: Likewise.
10032 * sparc/t-splet: Likewise.
10033 * v850/t-v850: Likewise.
10034 * mn10200/t-mn10200: Fix comments.
10035 * mn10300/t-mn10300: Likewise.
10037 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
10038 dummy operand. Allocate a new pseudo for the dummy operand.
10039 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
10041 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
10043 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
10045 * configure: Rebuilt.
10046 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
10048 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
10050 * recog.c (preproces_constraints): Zero recog_op_alt before
10051 processing the constraints.
10053 * arm.c (typedef minipool_node): Renamed from pool_node.
10054 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
10055 (add_minipool_constant): New function.
10056 (dump_minipool): New function.
10057 (find_barrier): Remove special case for getting the insn size of
10058 an insn that references the constant pool.
10059 (minipool_fixup): New structure.
10060 (push_minipool_barrier): New function.
10061 (push_minipool_fix): New function.
10062 (note_invalid_constants): New function.
10063 (add_pool_constant, dump_table, fixit, broken_move): Delete.
10064 (arm_reorg): Rewrite code to fix up the constant pool into a
10065 series of mini-pools embedded in the insn stream.
10066 (arm_output_epilogue): New function, made mainly from the body
10067 of output_func_epilogue.
10068 (output_func_epilogue): Move insn generation part of epilogue code
10069 to arm_output_epilogue.
10070 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
10071 * arm.md (pool_range): New attribute.
10072 (zero_extendqidi2): Add attribute pool_range.
10073 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
10074 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
10075 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
10076 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
10077 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
10078 (epilogue): New expand.
10079 (epilogue_insn): New insn. Call arm_output_epilogue.
10081 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
10082 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
10084 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
10086 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
10088 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
10090 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
10092 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
10094 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
10096 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
10098 * global.c: Fix comment.
10100 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
10102 * gcc.c (access_check): New static function.
10103 (find_a_file): Use it when searching a directory list.
10104 * collect2.c (find_a_file): Don't accept directories found when
10105 searching a directory list.
10107 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
10109 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
10110 function parameters with `&'.
10111 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
10113 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
10115 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
10116 or tidy_fallthru_edge if the last insn in the block is not
10117 an unconditional jump or a simple conditional jump.
10119 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10121 * Makefile.in (c-decl.o): Depends on defaults.h.
10123 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
10125 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
10127 (CLASS_MAX_NREGS): Likewise.
10129 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
10131 * cse.c (cse_insn): Fix dumb thinko in last change.
10133 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10135 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
10138 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
10140 * dwarf2out.c (add_location_or_const_value_attribute): Correct
10141 test for sizes of passed and declared parameter types.
10143 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10145 * fixincludes: Fix the return type of bsearch, char* -> void*.
10147 * fixinc/inclhack.def: Likewise.
10149 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
10151 * invoke.texi (-fdump-translation-unit): New option.
10153 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
10155 * expr.h (PROMOTE_PROTOTYPES): Move ...
10156 * defaults.h: ... to here.
10157 * c-decl.c: Include defaults.h instead of expr.h.
10158 * c-typeck.c: Include defaults.h.
10160 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
10162 * toplev.h (errorcount): Declare.
10163 (warningcount): Likewise.
10164 (sorrycount): Likewise.
10165 * c-lex.c (errorcount): Don't declare.
10166 * dwarf2out.c (errorcount): Don't declare.
10168 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
10170 * config/libgloss.h: Add a note discouraging use with ELF.
10171 * configure.in: Don't use libgloss.h for ELF targets.
10172 Always use_collect2 on a.out targets.
10174 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
10176 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
10177 (force_to_mode, case ASHIFTRT): Add shiftrt label.
10179 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10181 * loop.c (strength_reduce): When doing biv->giv conversion, update
10182 reg note of NEXT->insn.
10184 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
10186 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
10188 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
10190 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
10191 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
10192 Ensure expr.h is included.
10193 * c-typecheck.c (convert_arguments): Ditto.
10195 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
10197 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
10198 * config/convex/convex.h: Ditto.
10199 * config/dsp16xx/dsp16xx.h: Ditto.
10200 * config/fx80/fx80.h: Ditto.
10201 * config/gmicro/gmicro.h: Ditto.
10202 * config/i370/i370.h: Ditto.
10203 * config/i386/i386.h: Ditto.
10204 * config/m32r/m32r.h: Ditto.
10205 * config/m68k/m68k.h: Ditto.
10206 * config/m88k/m88k.h: Ditto.
10207 * config/mips/mips.h: Ditto.
10208 * config/pa/pa.h: Ditto.
10209 * config/pyr/pyr.h: Ditto.
10210 * config/tahoe/tahoe.h: Ditto.
10211 * config/we32k/we32k.h: Ditto.
10213 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
10214 based on arch size.
10216 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
10218 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
10221 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
10223 1999-08-02 Richard Henderson <rth@cygnus.com>
10225 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
10226 for the register spill block.
10227 (m32r_va_arg): New.
10228 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
10229 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
10231 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
10232 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
10233 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
10235 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
10237 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
10238 MAX_WCHAR_TYPE defined in sparc.h.
10239 * config/sparc/linuxaout.h: Likewise.
10240 * config/sparc/linux64.h: Likewise.
10241 Also default to -mvis if CPU is UltraSPARC.
10243 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
10245 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
10246 (RTX_OK_FOR_OLO10): Likewise.
10247 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
10248 %lo(), allow it in addresses...
10249 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
10250 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
10251 does not make sense.
10252 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
10253 (sparc_output_scratch_registers): New function.
10254 (output_function_prologue, sparc_flat_output_function_prologue): Use
10256 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
10258 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
10259 * configure.in: Add check for .register pseudo-op support in as and
10260 check for offsetable %lo().
10261 * acconfig.h: Add templates for the above checks.
10262 * configure: Regenerate.
10264 1999-08-02 Richard Henderson <rth@cygnus.com>
10266 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
10267 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
10268 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
10270 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10272 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
10275 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
10277 * config/float-sparc.h: New file.
10278 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
10279 sparc-*-linux-gnu and sparc64-*-linux*.
10281 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10283 * rs6000.c (rs6000_va_list): Type is an array.
10284 (rs6000_va_start): Don't doubly adjust for varargs.
10285 (rs6000_va_arg): Evaluate long long GPR adjustment.
10287 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
10289 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
10290 -maix64 and -maix32.
10291 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
10292 LINK_SPEC): Change appropriately.
10293 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
10294 (u_short_cint_operand): Likewise.
10295 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
10297 * rs6000/t-aix43 (MULTILIB): Change to -m64.
10299 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
10301 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
10303 * rs6000/rs6000.c (num_insns_constant_wide): Correct
10304 for type promotion.
10305 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
10306 (non_add_cint_operand): Likewise.
10307 (logical_operand): Likewise.
10308 (non_logical_cint_operand): Likewise.
10309 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
10310 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
10311 (rs6000_select_rtx_section): Suppress warning.
10312 (small_data_operand): Suppress warning.
10313 (rs6000_got_register): Suppress warning.
10314 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
10315 type, so `J' is generally the wrong constraint for a SImode value;
10317 (andsi3_internal2): Likewise.
10318 (andsi3_internal3): Likewise.
10319 (iorsi3_internal1): Likewise.
10320 (xorsi3_internal1): Likewise.
10322 (movsf_softfloat): Likewise.
10323 (scc insns): Likewise.
10324 (movsi+2): Preserve sign bits of SImode constant.
10325 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
10326 (movdf+1): Sign-extend properly.
10327 (movdi_32+1): Sign-extend properly.
10328 (scc insns): Sign-extend properly.
10330 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
10333 1999-08-02 Richard Henderson <rth@cygnus.com>
10335 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
10336 -mcpu parsing code.
10337 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
10338 * alpha.md (all fp insns): Likewise.
10340 1999-08-02 Nick Clifton <nickc@cygnus.com>
10342 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
10345 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
10347 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
10348 pic_load_label generator directly.
10349 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
10350 No longer a named pattern.
10352 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
10354 * explow.c (force_reg): Call force_operand if X does not
10355 satisfy general_operand.
10357 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
10359 * fix-header.c (main): When testing for CONTINUED, use string
10360 equality, not pointer equality.
10362 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
10364 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
10366 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
10368 * cse.c (cse_insn): Fix loop which deletes insns after a jump
10369 that has become an unconditional jump.
10371 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
10372 (output_function_epilogue): Similarly.
10374 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10376 * tree.h (init_dummy_function_start): Declare.
10378 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10380 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
10381 last_expr_type, last_expr_value, block_start_count, block_stack,
10382 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
10383 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
10384 dynamically in stmt elt of struct function for each function.
10385 (struct nesting): Rename function_call_count elt to n_function_calls,
10386 target_temp_slot_level to block_target_temp_slot_level. All users
10388 (struct stmt_status): New structure definition.
10389 Add many accessor macros for stmt_status elements which previously
10390 were global variables.
10391 (init_stmt_for_function): Allocate stmt elt for current_function.
10392 Reflect that block_start_count was renamed to
10393 current_block_start_count.
10394 (save_stmt_status, restore_stmt_status): Delete functions.
10395 (preserve_subexpressions_p): Don't access loop_stack when outside
10397 (expand_start_bindings): Reflect that block_start_count was renamed to
10398 current_block_start_count.
10399 (expand_fixup): Likewise.
10400 (expand_decl): Don't access block_stack when outside a function.
10401 (expand_decl_cleanup): Likewise.
10402 (expand_dcc_cleanup): Likewise.
10403 (expand_dhc_cleanup): Likewise.
10404 (expand_anon_union_decl): Likewise.
10405 (set_file_and_line_for_stmt): New function.
10406 (in_control_zone_p): New function.
10408 * function.h (struct function): Add new elt stmt.
10409 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
10410 case_stack, nesting_stack, nesting_depth, block_start_count,
10411 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
10412 emit_lineno, goto_fixup_chain.
10413 (save_eh_status, restore_eh_status, save_stmt_status,
10414 restore_stmt_status): Delete declarations.
10415 * function.c (push_function_context_to): Don't call save_stmt_status.
10416 (pop_function_context_to): Don't call restore_stmt_status.
10417 * tree.h (in_control_zone_p): Declare.
10418 * rtl.h (set_file_and_line_for_stmt): Declare.
10420 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
10421 call set_file_and_line_for_stmt.
10423 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
10425 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
10426 Also update copyright.
10428 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10430 * c-pragma.c: Don't include "except.h".
10431 * emit-rtl.c: Likewise.
10432 * stor-layout.c: Likewise.
10433 * tree.c: Likewise.
10434 * varasm.c: Likewise.
10436 * flow.c: Include "function.h".
10437 * tree.h (init_dummy_function_start): Declare new function.
10439 * except.h (struct eh_status): New structure.
10440 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
10442 (eh_return_stub_label, ehstack, catchstack, ehqueue,
10443 catch_clauses, false_label_stack, caught_return_label_stack,
10444 protect_list, current_function_ehc): Add accessor macros for the
10445 corresponding fields in current_function->eh; delete declarations
10446 for all items that used to be declared here.
10447 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
10448 catch_clauses, false_label_stack, caught_return_label_stack,
10449 protect_list, current_function_ehc): Delete variables.
10450 (init_eh_for_function): Allocate current_function->eh.
10451 (save_eh_status, restore_eh_status): Delete functions.
10453 * function.h (struct function): Add fields next_global and eh.
10454 Delete all exception handling related fields.
10455 * function.c (current_function): New variable.
10456 (all_functions): New variable.
10457 (push_function_context_to): Don't allocate a struct function,
10458 use current_function instead. Call init_dummy_function_start when
10459 outside a function. Clear current_function before returning.
10460 (pop_function_context_from): Restore current_function.
10461 Don't free the restored struct function.
10462 (prepare_function_start): New function.
10463 (init_dummy_function_start): New function.
10464 (init_function_start): Break out some code into prepare_function_start
10467 * stmt.c (save_stmt_status): Don't call save_eh_status.
10468 (restore_stmt_status): Don't call restore_eh_status.
10470 * Makefile.in: Update dependencies.
10472 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
10474 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
10475 of depending on a magic constant value. Update comments.
10476 (hppa_expand_prologue): Similarly.
10478 * pa.md (reload_indi, reload_outdi): Allow any register for the
10479 original reload register.
10481 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
10483 * cccp.c (print_help): Change marcos to macros.
10485 1999-07-30 Richard Henderson <rth@cygnus.com>
10487 * c-typeck.c (initializer_constant_valid_p): Move ...
10488 * c-common.c (initializer_constant_valid_p): ... here. Use
10489 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
10490 of label addresses.
10491 * c-common.h (initializer_constant_valid_p): Declare.
10492 * c-tree.h (initializer_constant_valid_p): Remove.
10494 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
10496 * config/i386/sol2-c1.asm: Align the stack.
10497 * config/i386/sol2-gc1.asm: Likewise.
10499 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
10501 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
10502 -Asparclite for sparc86x.
10503 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
10505 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
10507 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
10509 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
10510 the user if using the non-default arch size in BI_ARCH configuration.
10511 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
10513 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
10514 Fix patterns so that they actually match.
10515 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
10516 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
10517 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
10519 (mulsidi3): Reflect this in the expand.
10520 (smulsi3_highpart): Only on TARGET_ARCH32.
10521 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
10522 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
10523 (umulsidi3): Reflect this in the expand.
10524 (umulsi3_highpart): Only on TARGET_ARCH32.
10525 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
10526 don't require g0 to be zero.
10527 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
10528 ({,u}divsi3): New expands.
10529 ({,u}divsi3_sp64): New patterns.
10530 (after lshrdi3_v8plus): Four new patterns to help combiner
10531 optimizing nested mixed mode shifts.
10533 * config/sparc/sparc.c (sparc_override_options): Use deprecated
10534 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
10535 speed things up. Don't use them by default on plain v9 in 64bit
10536 mode, according to what SPAMv9 sais.
10538 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
10539 top 32 bits of %[og][0-7] in signal handlers.
10540 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
10542 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
10544 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
10545 (ashlsi3): Corresponding changes.
10547 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
10549 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
10551 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
10553 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10555 * arm.h (Hint): Delete macro.
10556 Substitute HOST_WIDE_INT for Hint in some prototypes.
10557 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
10559 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
10561 * builtins.c (expand_builtin_setjmp): Use force_operand to
10562 make sure that the buffer address is in a suitable form to be
10563 passed to force_reg.
10565 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
10567 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
10570 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
10572 * pa.md (indirect_jump): Remove mode from match_operand. Verify
10573 proper mode in the condition string.
10574 (icacheflush, dcacheflush): Remove modes from match_operands.
10576 * pa.c (emit_move_sequence): Always convert scratch_reg to the
10577 proper mode before using it.
10579 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
10582 * pa.c (store_reg): Do not call add_high_const generator directly.
10583 (load_reg, set_reg_plus_d): Likewise.
10584 * pa.md (add_high_const): No longer a named pattern.
10586 * pa.c (legitimize_address): Consistently use Pmode rather than
10587 SImode. Do not call gen_pic2_highpart directly anymore.
10588 * pa.md (pic2_highpart): No longer a named pattern.
10589 (pic2_lo_sum): Similarly. Reformat to make more readable.
10591 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
10596 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10598 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
10600 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
10602 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
10603 and tag the spill mems.
10604 (hppa_va_start): New.
10605 (hppa_va_arg): New.
10606 * pa.h (EXPAND_BUILTIN_VA_START): New.
10607 (EXPAND_BUILTIN_VA_ARG): New.
10609 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
10611 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
10612 and tag the spill mems.
10613 (mn10300_va_start): New.
10614 (mn10300_va_arg): New.
10615 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
10616 (EXPAND_BUILTIN_VA_ARG): New.
10618 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
10620 * mn10200.c (mn10200_va_arg): New.
10621 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
10623 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
10625 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
10626 rather than play with TREE_INT_CST_LOW.
10628 1999-07-27 Philip Blundell <pb@nexus.co.uk>
10630 * config/arm/telf.h: Include dbxelf.h.
10631 (CPP_PREDEFINES): Only define if not already defined.
10632 (ASM_IDENTIFY_GCC): Likewise.
10633 (SUBTARGET_EXTRA_SECTIONS): Likewise.
10634 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
10635 * config/arm/thumb.h (LINK_SPEC): Only define if not already
10637 (DBX_DEBUGGING_INFO): Don't define.
10638 * config/arm/linux-telf.h: New file.
10639 * config/arm/linux-tgas.h: New file.
10640 * config/arm/t-thumb-linux: New file.
10641 * config/arm/uclinux-elf.h: New file.
10642 * config/arm/uclinux-telf.h: New file.
10643 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
10644 thumb-*-uclinux): New targets.
10645 * configure: Regenerate.
10647 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
10649 * pa.md (post_store, pre_load): New expanders.
10650 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
10651 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
10652 need to directly generate RTL for them.
10653 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
10656 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
10658 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
10659 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
10660 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
10661 (secndary_reload_class): Make TARGET_ELF conditional compile.
10662 (print_operand_address): Similar.
10663 (output_toc): Print all values as hex.
10664 (get_issue_rate): Rearrange and add RS64A and PPC630.
10665 * rs6000.h (processor_type): Add RS64A and PPC630.
10666 (PROCESSOR_POWERPC64): New.
10667 (PROMOTE_MODE): Use word_mode.
10668 (RTX_COSTS): Add RS64A and PPC630.
10669 * rs6000.md (scheduling information): Add lmul and ldiv
10670 representing 64-bit integer multiply and divide. Add rs64a and
10671 PPC630 information.
10672 (ashldi3): Add support for "rldic" instruction.
10673 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
10675 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
10677 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
10678 instead of V8 for sparclite86x in cpu_table.
10680 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10682 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
10683 output_file_directive.
10685 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
10687 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
10688 tree for op1, not the rtl.
10690 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
10692 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
10693 to m88k_va_start, leaving only the register spill.
10694 (m88k_build_va_list): New.
10695 (m88k_va_start): New.
10696 (m88k_va_arg): New.
10697 * m88k.h (BUILD_VA_LIST_TYPE): New.
10698 (EXPAND_BUILTIN_VA_START): New.
10699 (EXPAND_BUILTIN_VA_ARG): New.
10701 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
10703 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
10704 Rename from expand_builtin_saveregs.
10705 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
10707 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
10709 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
10710 for the register spill block.
10711 (i960_build_va_list): New.
10712 (i960_va_start): New.
10713 (i960_va_arg): New.
10714 * i960.h (BUILD_VA_LIST_TYPE): New.
10715 (EXPAND_BUILTIN_VA_START): New.
10716 (EXPAND_BUILTIN_VA_ARG): New.
10717 * i960.md (store_multiple): Use change_address on individul mems.
10719 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
10721 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
10723 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
10724 (expand_builtin_va_end): Evaluate arg for side effects.
10725 * c-common.c (c_common_nodes_and_builtins): Construct a
10726 va_list_arg_type_node to handle array decomposition to pointer.
10728 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
10730 * except.c (start_dynamic_cleanup): Use force_operand on the
10733 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
10735 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
10736 * c4x.c (c4x_va_arg): New.
10738 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
10740 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
10741 has manual_pop set.
10743 1999-07-26 Nathan Sidwell <nathan@acm.org>
10745 * eh-common.h (__eh_matcher): Prototype correctly.
10747 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
10749 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
10750 (TARGET_SINGLE_PIC_BASE): Likewise.
10751 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
10753 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
10754 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
10755 (TARGET_OPTIONS): Add -mpic-register=N.
10756 (OUTPUT_INT_ADDR_CONST): New macro.
10757 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
10758 LEGITIMATE_PIC_OPERAND_P): Likewise.
10759 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
10760 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
10761 output_addr_const directly.
10762 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
10764 (thumb_pic_register, thumb_pic_register_string): Declare.
10766 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
10768 (label_mentioned_p): New function: Imported from arm.c.
10769 (legitimize_pic_address): New function: Imported from arm.c.
10770 (is_pic):New function: Imported from arm.c.
10771 (thumb_finalize_pic):New function: Imported from arm.c.
10772 (add_constant): Cope with PIC constants.
10773 (fixit): Cope with PIC constants.
10774 (output_return): Do not treat the PIC register as live if
10775 TARGET_SINGLE_PIC_BASE is true.
10776 (thumb_function_prologue): Do not treat the PIC register as live if
10777 TARGET_SINGLE_PIC_BASE is true.
10778 (thumb_expand_prologue): Do not treat the PIC register as live if
10779 TARGET_SINGLE_PIC_BASE is true.
10780 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
10781 TARGET_SINGLE_PIC_BASE is true.
10782 (thumb_print_operand): Accept '|'.
10783 (thumb_override_options): Process PIC options.
10785 * config/arm/thumb.md (movsi): Support PIC.
10786 (call_insn): Change "i" constraint to "X".
10787 (call_value_insn): Likewise.
10788 (consttable_4, consttable_8, consttable_end): Set and clear
10789 "making_const_table" as appropriate.
10790 (pic_load_addr, pic_add_dot_plus_four): New insns.
10792 * invoke.texi (Thumb Options): Fix spelling. Document new
10793 options -msingle-pic-base and -mpic-register=.
10795 1999-07-26 Andrew Haley <aph@cygnus.com>
10797 * config/m32r/initfini.c (__init): Use a full word immediate for
10798 __fini: this allows it to be placed in any memory region.
10800 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
10801 -mmodel=medium. This is OK for all memory models.
10803 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
10805 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
10806 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
10808 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
10810 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
10813 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
10815 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
10817 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
10818 (BUILD_VA_LIST_TYPE): New.
10819 (EXPAND_BUILTIN_VA_START): New.
10820 (EXPAND_BUILTIN_VA_ARG): New.
10821 * i860.c (output_delayed_branch): Disable.
10822 (output_delay_insn): Likewise.
10823 (i860_saveregs): New.
10824 (i860_build_va_list): New.
10825 (i860_va_start): New.
10826 (i860_va_arg): New.
10827 * i860.md: Disable all peepholes using output_delayed_branch.
10828 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
10830 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
10832 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
10833 (BUILD_VA_LIST_TYPE): New.
10834 (EXPAND_BUILTIN_VA_START): New.
10835 (EXPAND_BUILTIN_VA_ARG): New.
10836 * clipper.c (clipper_builtin_saveregs): Only dump registers.
10837 Return the address of the save area.
10838 (clipper_build_va_list): New.
10839 (clipper_va_start): New.
10840 (clipper_va_arg): New.
10842 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
10844 * arc.h (EXPAND_BUILTIN_VA_START): New.
10845 (EXPAND_BUILTIN_VA_ARG): New.
10846 * arc.c (arc_setup_incoming_varargs): Set alias set of
10848 (arc_va_start): New.
10851 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
10853 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
10854 (BUILD_VA_LIST_TYPE): New.
10855 (EXPAND_BUILTIN_VA_START): New.
10856 (EXPAND_BUILTIN_VA_ARG): New.
10857 * alpha.c (alpha_builtin_saveregs): Delete.
10858 (alpha_build_va_list): New.
10859 (alpha_va_start): New.
10860 (alpha_va_arg): New.
10862 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
10864 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
10866 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
10867 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
10869 * gcc.texi: More changes related to list conversion.
10870 * invoke.texi: Likewise.
10872 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
10874 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
10875 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
10876 (expand_builtin_next_arg): Accept ARGLIST not EXP.
10877 (stabilize_va_list): New function.
10878 (std_expand_builtin_va_start): New function.
10879 (expand_builtin_va_start): New function.
10880 (get_varargs_alias_set): New function.
10881 (std_expand_builtin_va_arg): New function.
10882 (expand_builtin_va_arg): New function.
10883 (expand_builtin_va_end): New function.
10884 (expand_builtin_va_copy): New function.
10885 (expand_builtin): Call them.
10886 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
10887 __builtin_{varargs_start,stdarg_start,end,copy}.
10888 (build_va_arg): New function.
10889 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
10890 (build_va_arg): Declare.
10891 * c-decl.c (ptr_type_node, va_list_type_node): New.
10892 * c-parse.gperf (__builtin_va_arg): New.
10893 * c-parse.in (VA_ARG): New token.
10894 (unary_expr): Recognize it.
10895 * expr.c (expand_expr): Expand VA_ARG_EXPR.
10896 * expr.h (std_expand_builtin_va_start): Declare.
10897 (std_expand_builtin_va_arg): Declare.
10898 (expand_builtin_va_arg): Declare.
10899 (get_varargs_alias_set): Declare.
10900 * tree.def (VA_ARG_EXPR): New.
10901 * tree.h (BUILT_IN_VARARGS_START): New.
10902 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
10903 (ptr_type_node, va_list_type_node): Declare.
10904 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
10905 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
10906 * m88k.h, m88k.c: Likewise.
10907 * mn10300.h, mn10300.c: Likewise.
10908 * pa.h, pa.c: Likewise.
10909 * rs6000.h, rs6000.c: Likewise.
10910 * sh.h, sh.c: Likewise.
10911 * sparc.h, sparc.c: Likewise.
10913 * emit-rtl.c (operand_subword): Copy alias set.
10914 (change_address): Likewise.
10916 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
10918 * pa.c (compute_frame_size): Scan all the used callee saved registers,
10919 not just the first one.
10921 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
10923 * config/arm/arm.h (TARGET_SWITCHES): Add
10924 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
10925 (TARGET_OPTIONS): Add -mpic-register=.
10926 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
10927 (arm_pic_register_string): Declare.
10928 (NEED_PLT_GOT): Delete, replace with ...
10929 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
10930 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
10931 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
10932 * config/arm/arm.c (arm_override_options): Add new option
10934 (arm_pic_register_string): New variable.
10935 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
10936 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
10937 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
10938 (output_return_instruction): Likewise.
10939 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
10940 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
10941 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
10943 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
10944 mention of -msched-prolog. Document new options -msingle-pic-base
10945 and -mpic-register=.
10947 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
10949 * haifa-sched.c (reemit_notes): Tidy.
10950 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
10953 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
10955 * explow.c (trunc_int_for_mode): New function.
10956 (plus_constant_wide): Use it.
10957 * combine.c (simplify_and_const_int): Likewise.
10958 (merge_outer_ops): Likewise.
10959 (simplify_shift_const): Likewise.
10960 * cse.c (simplify_unary_operation): Likewise.
10961 (simplify_binary_operation): Likewise.
10962 * emit-rtl.c (operand_subword): Likewise.
10963 * rtl.h: Declare it.
10965 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10967 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
10968 (use NUM_REGS instead of NUM_INTS).
10970 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10972 * builtins.c: New file.
10973 * expr.c (saveregs_value, apply_args_value): Delete definition,
10974 moved into builtins.c.
10975 (string_constant): No longer static.
10976 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
10977 apply_args_size, apply_result_size, result_vector,
10978 expand_builtin_apply_args, expand_builtin_apply,
10979 expand_builtin_return): Delete functions, moved into builtins.c.
10980 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
10981 * expr.h (saveregs_value, apply_args_value): Declare variables.
10982 (expand_builtin, string_constant): Declare functions.
10983 * Makefile.in: Update to build builtin.o.
10985 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
10987 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
10988 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
10989 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
10990 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
10992 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
10995 1999-07-21 Michael Meissner <meissner@cygnus.com>
10997 * print-rtl.c (print_rtx): Print the names of the virtual
11000 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
11002 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
11003 introduced in previous delta.
11005 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11007 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
11008 to avoid name clash.
11010 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
11012 * c-lex.c (yylex) : Correct the test for overflow when lexing
11015 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
11017 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
11018 (adjust_priority): Always call ADJUST_PRIORITY.
11019 (schedule_insn): Only put insns into the ready at cost 0.
11020 (schedule_block): Remove redundant initial sort. Give clock_var
11021 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
11023 * tm.texi (MD_SCHED_REORDER): Update docs.
11025 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
11026 * sparc.c (ultra_reorder_called_this_block): Delete.
11027 (ultrasparc_sched_init): Don't set it.
11028 (ultrasparc_sched_reorder): Don't check it.
11030 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
11032 * rs6000.h (struct rs6000_args): Add sysv_gregno.
11033 * rs6000.c (init_cumulative_args): Init sysv_gregno.
11034 (function_arg_boundary): Align DFmode.
11035 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
11036 to get fp reg and stack overflow correct.
11037 (function_arg): Likewise.
11038 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
11039 (setup_incoming_varargs): Restructure for ABI_V4; use
11040 function_arg_advance to skip final named argument.
11041 (expand_builtin_saveregs): Properly unskip the last integer arg
11042 when doing varargs. Adjust overflow location calculation.
11044 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
11045 explicitly unsigned.
11046 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
11047 (__VA_GP_REGSAVE): Similarly.
11048 (__va_longlong_p): Delete.
11049 (__va_arg_type_violation): New declaration.
11050 (va_arg): Restructure. Flag promotion errors. Align double.
11051 TFmode passed by reference.
11053 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
11054 in the HOST_BITS_PER_WIDE_INT > 32 case.
11056 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
11058 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
11060 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
11062 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
11063 * toplev.c (documented_lang_options): Add -fpreprocessed.
11064 * cpplib.h (struct cpp_buffer): Add preprocessed.
11065 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
11066 (cpp_start_read): Don't expand macros or emit an initial #line
11067 directive if -fpreprocessed.
11069 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
11071 * cpplib.h (struct cpp_buffer): Added manual_pop for
11072 better C++ tokenization.
11073 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
11074 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
11075 * c-common.c (cpp_token): Make non-static.
11077 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11079 * c-common.h: New file.
11080 * c-common.c (permanent_obstack): Delete unused declaration.
11081 (c_global_trees): New array.
11082 (c_common_nodes_and_builtins): New function; split off common code
11083 from init_decl_processing in both c-decl.c and cp/decl.c.
11084 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
11085 c_global_trees and accessor macros defined in c-common.h.
11086 Include c-common.h.
11087 * c-decl.c: Delete definitions for tree nodes that were replaced by
11089 (init_decl_processing): Build void_list_node.
11090 Call c_common_nodes_and_builtins; delete code to generate the common
11092 * objc/objc-act.c (build_module_descriptor): Rename variable
11093 void_list_node to avoid clash with c-common.h.
11095 * Makefile.in: Update dependencies.
11096 * objc/Make-lang.in: Likewise.
11098 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
11100 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
11101 (UNIQUE_SECTION_P): Likewise.
11102 (UNIQUE_SECTION): Likewise.
11104 1999-07-19 Linas Vepstas <linas@linas.org>
11106 * config/i370/README: New file.
11107 * config/i370/linux.h: New file.
11108 * config/i370/mvs.h: New file.
11109 * config/i370/oe.h: New file.
11110 * config/i370/t-linux: New file.
11111 * config/i370/t-mvs: New file.
11112 * config/i370/t-oe: New file.
11113 * config/i370/x-oe: New file.
11114 * config/i370/xm-linux.h: New file.
11115 * config/i370/xm-mvs.h: New file.
11116 * config/i370/xm-oe.h: New file.
11118 * i370.c (label_node_t): Add first_ref_page, label_addr,
11119 label_first_ref, label_last_ref members.
11120 (mvs_need_base_reload): Renamed from mvs_label_emitted.
11121 (MAX_MVS_LABEL_SIZE): Define.
11122 (MAX_LONG_LABEL_SIZE): Define.
11123 (alias_node_t, alias_anchor, alias_number): New.
11124 (mvs_function_table): Reorder for EBCDIC.
11125 (ascebc, ebcasc): Unconditionally define.
11126 (i370_branch_dest, i370_branch_length): New functions.
11127 (i370_short_branch, i370_label_scan): New functions.
11128 (mvs_get_label): Renamed from mvs_add_label. Search for
11129 an existing label before creating a new one.
11130 (mvs_add_label): New function.
11131 (mvs_get_label_page): New function.
11132 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
11133 over the entire list.
11134 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
11135 (mvs_check_page) [TARGET_ELF_ABI]: New function.
11136 (mvs_add_alias, mvs_need_alias): New functions.
11137 (mvs_get_alias, mvs_check_alias): New functions.
11138 (handle_pragma): New function.
11139 (mvs_function_check): New function.
11140 (unsigned_jump_follows_p): Search harder.
11141 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
11142 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
11143 * i370.h (TARGET_VERSION): Delete.
11144 (CPP_SPEC, CPP_PREDEFINES): Delete.
11145 (mvs_label_emitted): Delete.
11146 (TARGET_EBCDIC): Delete.
11147 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
11148 (HANDLE_PRAGMA): Define.
11149 (HARD_REGNO_NREGS): Handle complex modes.
11150 (HARD_REGNO_MODE_OK): Likewise.
11151 (CLASS_MAX_NREGS): Likewise.
11152 (RET_REG): Likewise.
11153 (EXTRA_CONSTRAINT): Define.
11154 (RETURN_IN_MEMORY): True for DImode.
11155 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
11156 (FUNCTION_PROFILER): Delete.
11157 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
11158 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
11159 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
11160 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
11161 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
11162 (ASM_FILE_START): Add "RMODE ANY".
11163 (ASM_OUTPUT_EXTERNAL): Check for aliases.
11164 (ASM_GLOBALIZE_LABEL): Likewise.
11165 (ASM_OUTPUT_LABELREF): Likewise.
11166 (ASM_OUTPUT_COMMON): Likewise.
11167 (PRINT_OPERAND): Handle 'K', 'W', default.
11168 (PRINT_OPERAND_ADDRESS): New.
11169 (Lots of defines): Add support for TARGET_ELF_ABI.
11170 * i370.md (attr length): New. Define for all patterns.
11171 (*): Lots of tweeks to assembly output and constraints.
11173 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
11175 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
11176 Disable patterns performing SImode comparisons with SImode values
11177 if TARGET_POWERPC64 and instruction does not sign-extend or does
11178 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
11179 differ for signed quantities.
11180 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
11181 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
11182 (decrement_and_branch_on_count): Add 64-bit variant.
11184 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11186 * final.c (output_asm_insn): When searching for the matching string
11187 for a given dialect, don't run past the end of the list of
11188 alternatives if there are fewer alternatives in the template than
11191 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
11193 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
11194 Removed paragraph about compression of files and size limitation,
11195 duplicated in the FAQ. Use gcc-patches for posting patches.
11196 * gcc.c (main): Updated URL with bug reporting instructions to
11197 gcc.gnu.org. Removed e-mail address.
11198 * system.h (abort): Likewise.
11200 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11202 * Makefile.in (stmp-multilib-sub): Make the files extracted
11203 from $(LIBGCC1) writable.
11205 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
11207 * config/arm/aout.h: Reformat for improved readability.
11209 * config/arm/arm.h: Reformat for improved readability.
11210 Replace uses of fprintf with asm_fprintf where appropriate.
11211 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
11212 function declaration assembler actions.
11213 (NUM_INTS): New macro: Convert from bytes to words.
11214 (NUM_REGS): New macro: Compute number of registers required to
11215 hold a quanitity of tyep MODE.
11216 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
11218 (NUM_ARG_REGS): New macro: The number of argument registers
11220 (ARG_REGISTER): New macro: Compute the register number of the Nth
11222 (LAST_ARG_REGNUM): New macro: The number of the last argument
11224 (SP_REGNUM): New macro: Register number of the stack pointer.
11225 (FP_REGNUM): New macro: Register number of the frame pointer.
11226 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
11227 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
11228 CUMULATIVE_ARGS so that it counts registers not bytes.
11230 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
11232 Replace uses of fprintf with asm_fprintf where appropriate.
11233 (output_ascii_pseudo_op): Replace with version from thumb.c
11235 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
11237 * config/arm/elf.h (CPP_PREDEFINES): Replace with
11238 SUBTARGET_CPP_SPEC.
11239 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
11240 (ASM_FILE_START): Emit ASM_APP_OFF.
11242 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
11244 * pa.c (compute_frame_size): Round frame according to
11245 STACK_BOUNDARY rather than a hardwired value.
11247 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
11249 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
11251 * configure: Rebuilt.
11253 * configure.in (hppa*-*-linux*): New configuration.
11254 * configure: Rebuilt.
11255 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
11256 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
11257 * pa/pa-linux.h: New file.
11258 * pa/t-linux: New file.
11259 * pa/xm-linux.h: New file.
11261 * pa.c (hppa_legitimize_address): Change references from SImode to
11262 either Pmode or word_mode as appropriate.
11263 (emit_move_sequence, store_reg, load_reg): Likewise.
11264 (set_reg_plus_d, hppa_expand_prologue): Likewise.
11265 (output_mul_insn): Likewise.
11266 * pa.h (PROMOTE_MODE): Likewise.
11267 (INITIALZE_TRAMPOLINE): Likewise.
11268 (Pmode): Define to word_mode.
11270 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
11271 value of 4. Allocate 8 bytes for each FP register save.
11272 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
11274 (hppa_expand_prologue): Likewise.
11275 * pa.h (PROMOTE_MODE): Likewise.
11276 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
11277 (FUNCTION_ARG_BOUNDARY): Likewise.
11279 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
11281 * pa.c (out_of_line_prologue_epilogue): Delete.
11282 (override_options): Remove -mspace related code.
11283 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
11284 (compute_frame_size): Only allocate space for register that
11285 actually need to be saved.
11286 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
11287 (TARGET_SWITCHES): Remove -mspace, -mno-space
11288 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
11289 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
11290 * pa/ee.asm, pa/ee_fp.asm: Delete.
11292 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
11294 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
11295 directive in column zero.
11297 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
11299 * m68k.c (output_function_prologue): Fix computation of save mask
11300 when generating PIC code.
11302 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
11304 * tree.c (build_type_attribute_variant): Move current_obstack restore
11305 after build_qualified_type call.
11307 1999-07-15 Mark Mitchell <mark@codesourcery.com>
11309 * configure.in: Use t-iris6, even with GNU LD.
11310 * config/mips/iris6gld.h: Fix typo in linker spec.
11311 * config/mips/t-iris6gld: Remove.
11313 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
11315 * rs6000.md (insv, extzv): Remove SImode dependence in named
11316 patterns. Explicitly generate DImode RTL if PowerPC64 and
11318 (insvdi): Reverse start and size in instruction template.
11320 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
11322 * invoke.texi: Typo fixes.
11324 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
11326 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
11327 handle at this time instead of silently generating incorrect code.
11328 (gen_imagpart): Likewise.
11330 * reload.c (find_reloads): Emit a USE for a pseudo register without
11331 a hard register if we could not create an optional reload for the
11334 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11336 * c-typeck.c (output_init_element, process_init_element):
11337 When advancing constructor_unfilled_fields for a RECORD_TYPE,
11338 check for nameless bit fields.
11340 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
11342 * regclass.c (scan_one_insn): Notice subregs that change the
11343 size of their operand.
11344 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
11346 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
11348 * configure.in (alpha*-*-*): Include alpha/t-ieee.
11349 * configure: Rebuilt.
11350 * alpha/t-ieee: New file.
11352 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
11354 * rs6000.c (find_addr_reg): Do not select r0 as an address
11357 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
11359 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
11361 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
11363 * rs6000.md (movsf): Do not force easy FP constants into memory.
11365 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
11366 immed_double_const to ensure they are properly truncated then
11369 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
11371 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
11372 always unless NO_DEBUG is used. Compile this code
11374 (replace_symbols_in_block): Compile it unconditionally.
11376 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
11378 * configure.in (i?86-*-elf*): New target.
11379 * configure: Rebuilt.
11380 * i386/i386elf.h, i386/t-i386elf: New files.
11382 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
11384 * toplev.c (main): Don't complain about saying -gdwarf.
11385 (rest_of_compilation): Remove redundant code.
11387 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
11389 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
11391 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
11393 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
11394 "Li960R:", to avoid name clash.
11396 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11398 * loop.c (check_dbra_loop): When reversing a loop, delete all
11399 REG_EQUAL notes referencing the reversed biv except those which are
11400 for a giv based on it.
11402 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
11404 * version.c: Drop "gcc-" prefix from version #.
11406 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
11408 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
11409 the label if we're being verbose.
11411 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
11413 * m68k.c (output_function_prologue): Add pic register to mask
11414 if live and flag_pic.
11415 (output_function_epilogue): Likewise.
11417 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
11419 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
11420 directives in column zero.
11422 * pa/elf.h (ASM_FILE_START): Define.
11423 * pa/som.h (ASM_FILE_START): Include .level directives.
11424 * pa/hpux10.h (ASM_FILE_START): Delete.
11425 * pa/hpux11.h (ASM_FILE_START): Delete.
11427 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
11429 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11431 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
11432 when reload_out equals reload_in.
11434 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
11436 * invoke.texi (Spec Files): New node: Describe the contents of
11439 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
11441 * invoke.texi (DEC Alpha Options): Put @end table at
11442 beginning of line, to avoid confusing texi2html.
11444 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
11446 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
11447 introduced in previous delta.
11449 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11451 * reload1.c (gen_reload): When synthesizing a 3 operand add
11452 sequence, improve test for when to reload OP1 into the reload
11453 register instead of OP0.
11455 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
11457 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
11459 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
11461 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
11464 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
11466 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
11467 (va_dcl): Use __builtin_va_alist_t.
11469 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
11471 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
11472 on the permanent_obstack.
11473 * dwarfout.c (output_type): Likewise.
11475 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
11477 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
11478 Merged from c-typeck.c and cp/typeck.c.
11479 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
11480 Merged into c-common.
11482 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
11484 * c-lex.c (errorcount): Declare it.
11485 (finish_parse): Update errorcount when using CPPLIB.
11487 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
11489 * fixinc/inclhack.def(end_else_label): Double the backslash so
11490 sed gets a chance to see it.
11491 * fixinc/inclhack.sh: regen
11492 * fixinc/fixincl.x: regen
11494 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
11496 Add framework to support armv5 architecture when it becomes
11499 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
11500 (arm_arch5): New variable.
11501 (all_architectures): Add armv5 line.
11502 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
11503 -march=armv5 is specified on the command line.
11504 (arm_arch5): Export this variable.
11505 * invoke.texi: Document new string accepted by -march= switch for
11508 * config/arm/arm.h: Replace use of constant 12 as a register
11509 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
11510 * config/arm/arm.c: Replace use of constant 12 as a register
11511 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
11513 * config/arm/elf.h: Tidy up.
11514 * config/arm/coff.h: Tidy up.
11516 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
11518 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
11519 * gcc/config/mips/t-iris6gld: New file.
11520 * gcc/config/mips/iris6gld.h: Likewise.
11522 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
11524 * c-decl.c (widest_integer_literal_type_node,
11525 widest_unsigned_literal_type) : New.
11526 (init_decl_processing): Handle/use the two new types.
11527 * c-common.c (type_for_size,type_for_mode) : Same.
11528 * c-lex.c (yylex) : Same.
11529 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
11531 * c-tree.h (widest_integer_literal_type_node,
11532 widest_unsigned_literal_type) : New.
11534 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
11536 * dwarfout.c (field_byte_offset): Correctly compute the object's
11537 byte offset for the first bit of a field which crosses an alignment
11538 boundary on a !BYTES_BIG_ENDIAN target.
11540 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
11542 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
11545 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
11546 Jeff Law <law@cygnus.com>
11548 * ginclude/varargs.h (va_dcl): Use word_mode for type of
11551 * except.c: Include intl.h.
11552 (expand_eh_return): Set current_function_cannot_inline.
11553 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
11554 * function.h (struct function): Add eh_return_stub_label.
11555 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
11556 * Makefile.in (except.o): Depend on intl.h.
11558 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
11560 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
11561 same as offsettable in cases 1 and 2.
11563 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
11565 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
11566 (extlh, extwh): Likewise.
11568 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
11570 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
11572 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
11574 * configure.in: Add arm-pe and thumb-pe targets.
11575 * configure: Regenerate.
11577 * thumb.c (arm_naked_function_p): New function: Determines if
11578 a function is naked (has no gcc generated prologue/epilogue).
11579 (is_called_in_ARM_mode): Return true if the func has the
11580 interfacearm attribute.
11581 (output_return): Do not generate a return for naked functions.
11582 (thumb_function_prologue): Do not generate a prologue for
11584 (thumb_expand_prologue): Do not generate a prologue for naked
11586 (thumb_expand_epilogue): Do not generate an epilogue for naked
11588 (arm_valid_machine_decl_attribute): New function, copied from
11589 arm.c: Permit naked and interfacearm attributes.
11591 * config/arm/pe.c: New file: Support code for arm-pe target.
11592 * config/arm/pe.h: New file: Header file for arm-pe target.
11593 * config/arm/tpe.h: New file: Header file for thumb-pe target.
11594 * config/arm/t-thumb-pe: New file: Makefile fragment for
11597 1999-07-01 Mark Kettenis <kettenis@gnu.org>
11599 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
11600 -fPIC or -fpic is specified.
11602 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
11604 * expr.c (emit_block_move): Use copy_to_mode_reg for
11605 !TARGET_MEM_FUNCTIONS case too.
11607 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
11609 * configure: Rebuilt.
11610 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
11611 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
11612 definitions made redundant by dbxelf.h inclusion. Delete
11613 lots of definitions related to assembly output that are
11614 specific to the SOM object format.
11615 * pa.c (output_function_prologue): Do not emit the function's
11617 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
11618 * pa-pro.h: Deleted.
11619 * som.h: New file with SOM specific definitions.
11620 * elf.h: New file with ELF specific definitions.
11622 * elfos.h (const_section): Output a tab before assembler directives.
11623 (ctors_section, dtors_section): Likewise.
11624 (ASM_OUTPUT_SECTION_NAME): Likewise.
11626 * pa/pa1.h: Delete unused file.
11628 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
11630 * configure.in (hppa*-hp-hpux11*): New configuration.
11631 * configure: Rebuilt.
11632 * pa/pa-hpux11.h: New file.
11633 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
11636 * mips.md (leasi, leadi): New patterns.
11638 * expr.c (emit_block_move): Properly handle case where one of the
11639 block move arguments has a queued increment or decrement.
11640 (clear_storage): Similarly. Fix formatting goof.
11642 1999-06-28 "David O'Brien" <obrien@NUXI.com>
11644 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
11645 semicolon from the BSD VA_LIST replacement expression.
11647 * fixinc/inclhack.sh: regen
11648 * fixinc/fixincl.x: regen
11650 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
11651 now use the fixincl program.
11653 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
11655 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
11656 case. Also make the PIC register call_used.
11658 * m68k.h (FINALIZE_PIC): Delete.
11659 * m68k.c (finalize_pic): Delete.
11661 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
11663 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
11666 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
11668 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
11670 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
11672 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
11674 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
11676 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
11678 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
11680 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
11682 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
11684 * rs6000.c (output_toc): Always use hex values for floating-point
11685 constants. Store single-precision values in upper-half of TOC
11686 entry in 64-bit mode.
11687 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
11688 to final constraints.
11689 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
11690 (fctiwz): Improve accuracy of RTL for pattern.
11692 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
11694 * expr.c (expand_expr): Allow RTL_EXPR's through the
11695 MAX_INTEGER_COMPUTATION_MODE checks.
11697 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
11699 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
11700 such that MASK_SUPPORT_ARCH is not negative.
11702 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
11704 * loop.c (verify_dominator): Properly handle ADDR_VEC and
11705 ADDR_DIFF_VEC insns that appear inside loops.
11707 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
11708 Jeff Law <law@cygnus.com>
11710 * rs6000.md (movdf_hardfloat32): Revert previous patch.
11711 Handle LO_SUM the same as offsettable in cases 1 and 2.
11712 * rs6000.c (find_addr_reg): Revert previous patch.
11714 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
11716 * system.h (strstr): New external function declaration.
11717 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
11718 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
11719 * config.in, configure: Rebuilt.
11721 1999-06-24 Tom Tromey <tromey@cygnus.com>
11723 * gcc.c (main): Read user-specified specs files after computing
11724 additional startfile_prefixes.
11726 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
11728 Revert these two patches:
11730 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11731 * loop.c (strength_reduce): When doing biv->giv conversion, update
11732 reg note of NEXT->insn.
11734 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11735 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
11737 (recombine_givs): Set ix field after sorting.
11739 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11741 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
11742 for the parts of an UNSPEC / UNSPEC_VOLATILE.
11744 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
11746 *fixinc/inclhack.def: Add fix development commentary
11747 (read_ret_type): reactivate and add selection clause
11748 (zzz_*): tweak output file name to match what is used in hackshell.tpl
11749 *fixinc/{fixincl.x|inclhack.sh}: regen
11751 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
11753 * expr.c (expand_expr): STRIP_NOPS before checking against
11754 MAX_INTEGER_COMPUTATION_MODE
11755 (check_max_integer_computation_mode): Likewise.
11757 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
11759 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
11761 1999-06-22 Jim Wilson <wilson@cygnus.com>
11763 * expr.c (store_expr): When target is a promoted subreg, return a
11764 promoted subreg as a result.
11766 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
11768 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
11770 (dwarf2out_define): Mark unused parameters appropriately.
11771 (gen_unspecified_parameters_die): Ditto.
11772 (gen_subprogram_die): Fix signed/unsigned warnings.
11773 (gen_variable_die): Ditto.
11775 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
11777 * fixinc/inclhack.def(end_else_label): combined else_label
11778 and endif_label and fixed the sed expression.
11779 *fixinc/{fixincl.x|inclhack.sh}: regen
11781 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
11783 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
11784 'x' when handling non-offsettable addresses
11786 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
11788 * final.c (shorten_branches): Don't try to split an insn that has
11791 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
11793 * config/mips/mips.c (symbolic_expression_p): New function.
11794 (mips_select_rtx_section): Put symbolic expressions in the
11795 data section, not the read-only data section.
11797 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
11799 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
11801 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
11803 * collect2.c (main): Log frame table count.
11804 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
11805 (scan_prog_file) [COFF]: Handle frame tables.
11807 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
11808 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
11809 * alpha/elf.h: Undef them again.
11810 * alpha/vms.h: Remove their definitions.
11812 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11814 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
11815 remove the clobber of r0 and change the REG_UNUSED note to
11818 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
11820 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
11821 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
11822 fits in HOST_WIDE_INT and one uses union to access a long constant
11825 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
11827 * sparc.c (sparc_override_options): Don't allow profiling for
11828 code models other than medlow.
11829 (sparc_function_profiler): New function from old FUNCTION_PROFILER
11830 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
11831 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
11832 (sparc_block_profiler): Likewise.
11833 (sparc_function_block_profiler_exit): Likewise.
11834 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
11835 (FUNCTION_BLOCK_PROFILER): Likewise.
11836 (BLOCK_PROFILER): Likewise.
11837 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
11838 (MCOUNT_FUNCTION): New.
11839 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
11840 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
11841 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
11842 (MCOUNT_FUNCTION): New.
11843 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
11844 (BLOCK_PROFILER): Delete.
11845 (MCOUNT_FUNCTION): New.
11847 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
11849 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
11851 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
11853 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11856 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11859 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11862 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
11865 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
11867 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
11870 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
11872 * i386/djgpp.h (LIB_SPEC): New.
11873 (STARTFILE_SPEC): New.
11875 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
11877 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
11879 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
11882 * system.h (WSTOPSIG): New macro.
11884 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
11886 * c-pragma.c (push_alignment): Don't ignore alignments greater than
11888 (insert_pack_attributes): Take into account member natural
11891 * i386/winnt.c (exports_head): New static variable.
11892 (i386_pe_record_exported_symbol): New function.
11893 (i386_pe_asm_file_end): Use.
11894 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
11895 symbols to be emitted at end of assembly.
11896 (ASM_DECLARE_OBJECT_NAME): Likewise.
11897 (ASM_DECLARE_FUNCTION_NAME): Likewise.
11899 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
11902 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
11904 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
11907 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
11909 * haifa-sched.c (sched_analyze_1): Use free_list instead of
11910 zapping reg_last_uses directly.
11911 (sched_analyze_2, sched_analyze_insn): Likewise.
11912 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
11914 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
11916 * rs6000.md (movdf_hardfloat32): Use worst case insn length
11917 attributes for cases 1 and 2.
11919 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
11921 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
11924 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
11926 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
11928 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
11930 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
11931 PIC_OFFSET_TABLE_REGNUM for general alloaction.
11932 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
11933 must be stacked if it is used for PIC accesses.
11934 * arm.c (use_return_insn): Handle PIC register specially.
11935 (output_return_instruction): Likewise.
11936 (output_func_{prologue,epilogue}): Likewise.
11937 (output_expand_prologue): Likewise.
11939 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
11940 (*strsi_predec): Renamed from *strqi_predec.
11941 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
11942 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
11944 * arm.c (arm_override_options): Remove warning about PIC code
11945 not being supported.
11947 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
11949 * rs6000.c (find_addr_reg): New function.
11950 * rs6000.h (find_addr_reg): Declare.
11951 (offsettable_addr_operand): Delete.
11952 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
11953 from and stores to GPRs.
11955 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
11957 * alpha.c (alpha_expand_block_move): Use get_insns rather than
11958 gen_sequence as argument to emit_no_conflict_block.
11960 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
11962 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
11963 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
11964 *fixinc/fixincl.x: regen
11965 *fixinc/inclhack.sh: regen
11967 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
11969 * added support for -mpcrel (PC relative addressing for m68k)
11970 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
11971 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
11972 * m68k.c (print_operand_address): Handle 32-bit PIC case.
11973 (comments for general_src_operand): Add some explanation
11974 about EXTRA_CONSTRAINTS.
11975 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
11976 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
11977 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
11978 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
11979 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
11980 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
11981 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
11982 if not already set.
11983 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
11984 * m68k.h (TARGET_PCREL): New target flag.
11985 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
11986 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
11987 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
11988 contains a SYMBOL_REF. Relax this constraint during reload, since
11989 we want to use the predicates, not reload's built-in concept of a
11990 valid memory address, to control what insns need reloading.
11991 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
11992 operands (essentially 'g', 'm', and 's' under normal circumstances).
11993 * m68k.c (print_operand): Cause printing of pc-relative addresses
11994 to include pc register.
11995 (print_operand_address): Ditto.
11996 (general_src_operand): Accept operands that are not only
11997 general_operands, but are also valid when used as a pc-relative
11999 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
12000 (memory_src_operand): Similar, for memory_operands.
12001 (pcrel_address): New predicate to accept the special case of a
12002 pc-relative address.
12003 * m68k.md (many patterns): Rewrite common SImode, HImode, and
12004 QImode insns to accept *_src_operand instead of *_operand where
12005 pc-relative operands can fit. For example, a pc-relative operand
12006 can be used as a memory source operand for addsi3, but not as a
12007 memory destination.
12008 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
12010 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
12012 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
12013 .thumb_set pseudo op to mark aliases of thumb functions.
12015 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
12017 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
12018 preference to ASM_OUTPUT_DEF, if it is defined.
12020 * tm.texi: Document new, optional target macro
12021 ASM_OUTPUT_DEF_FROM_DECLS.
12023 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
12025 * fixincludes: ISCNTL patch
12026 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
12027 (dgux_int_varargs): new for DG/UX
12028 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
12030 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
12032 * invoke.texi (ia32 options): Fix typo.
12034 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12036 * loop.c (strength_reduce): When doing biv->giv conversion, update
12037 reg note of NEXT->insn.
12039 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
12041 * loop.c (move_movables): Note issues with replacing REGs with
12043 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
12045 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
12047 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
12049 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
12050 the reference to `mcount' was not correct for the ELF on FreeBSD.
12052 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12054 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
12057 (recombine_givs): Set ix field after sorting.
12059 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
12061 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
12062 to safe to extract a subword out of a REG.
12064 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12066 * sh.md (mulsi3): Don't add a no-op move at the end.
12068 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12070 * cse.c (cse_insn): Don't put hard register source into tables for
12071 the last insn of a libcall.
12073 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12075 * loop.c (strength_reduce): Insert sets of derived givs at every
12076 biv increment, even if it's the only one.
12078 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
12080 * dwarfout.c (add_incomplete_type): New fn.
12081 (output_type): Call it.
12082 (retry_incomplete_types): New fn.
12083 (dwarfout_finish): Call it.
12085 From Eric Raskin <ehr@listworks.com>:
12086 (output_type): Output types for bases.
12088 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
12090 * mips.c (mips_output_conditional_branch): Add `break'
12091 between `default' label and `close braces'.
12093 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
12095 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
12096 specifications and make it realistic.
12097 (LIB_SPEC): Likewise.
12099 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
12101 * config/mips/mips.c (mips_secondary_reload_class): Check for
12102 (PLUS (SP) (REG)) and return appropriate register class.
12103 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
12104 Handle (PLUS (SP) (REG)).
12105 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
12106 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
12107 of emit_insn for tablejump.
12109 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
12111 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
12112 asm_fprintf format string by itself.
12113 (output_function_profiler): Likewise.
12115 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
12117 * combine.c (simplify_logical, case AND): Only call
12118 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
12119 or the constant is positive.
12121 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
12123 * configure.in: Fix typo in rs6000-ibm-aix4 case.
12124 * configure: Regenerate.
12126 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
12128 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
12129 require a sub-version #.
12130 * configure: Rebuilt.
12132 1999-06-14 Robert Lipe (robertlipe@usa.net)
12134 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
12136 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
12138 * c-typeck.c (process_init_element): Detect excess elements in
12139 char array initializer.
12141 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12143 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
12145 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
12147 * invoke.texi (Option Summary): Add -fpermissive flag.
12149 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
12151 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
12152 that require PIC code sequences.
12154 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
12156 * configure.in: Add new target: thumb-elf.
12157 * configure: Regenerate.
12158 * config/arm/t-thumb-elf: New file: Makefile fragment for
12160 * config/arm/telf.h: New file: Header file for thumb-elf
12163 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
12165 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
12166 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
12167 initializers is some circumstances.
12169 * fixinc/inclhack.def (endif_label): Add additional selector for
12170 more bogus stuff after #endif statements.
12171 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
12173 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
12175 * i386/cygwin.h (SET_ASM_OP): Define.
12177 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
12179 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
12181 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12183 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
12186 * sh.md (ic_invalidate_line_i): Remove second alternative.
12188 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
12190 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
12191 test for the presence of valid prototypes. Delete bypass expr.
12192 (ioctl_fix_ctrl): Correct the selection expression.
12193 (no_double_slash): Correct quoting rules
12194 *fixinc/fixincl.x: regen
12195 *fixinc/inclhack.sh: regen
12197 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
12199 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
12201 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12203 * rs6000.md (movsi_got_internal_mem): Delete.
12204 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
12205 (GOT_TOC_REGNUM): Delete.
12206 (PIC_OFFSET_TABLE_REGNUM): Define.
12207 (FINALIZE_PIC): Disable.
12208 * rs6000.c (rs6000_got_register): New code for fixed pic register.
12209 (rs6000_replace_regno): Delete.
12210 (rs6000_finalize_pic): Likewise.
12211 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
12213 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12215 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
12216 is a note; use <= for the compare; advance P while it is
12219 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
12221 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
12222 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
12224 * varasm.c (remove_from_pending_weak_list): Verify t->name
12225 is non-NULL before passing it to strcmp.
12227 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
12229 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
12230 the typed arguments are not part of a comment
12231 (ioctl_fix_ctrl): Added a purpose comment
12232 *fixinc/fixincl.x: regenerate
12233 *fixinc/inclhack.sh: regenerate
12235 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12237 * invoke.texi: Add C4x invocation docs.
12239 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12241 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
12243 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
12245 (c4x_legitimize_reload_address): New function.
12246 * config/c4x/c4x.md: Update docs.
12248 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
12250 * fixincludes: Avoid removing '.'.
12251 * fixinc/fixinc.svr4: Likewise.
12252 * fixinc/fixinc.winnt: Likewise.
12253 * fixinc/inclhack.tpl: Likewise.
12254 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
12256 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12258 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
12260 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
12262 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
12264 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
12267 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
12269 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
12270 * configure: Regenerate.
12272 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
12274 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
12277 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
12279 * fixinc/inclhack.def (avoid_bool): Also catch
12280 "typedef [unsigned] int bool".
12281 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
12283 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
12284 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
12285 * configure: Rebuilt.
12287 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
12289 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
12290 such that we can override its definitions if necessary.
12291 (CPP_SPEC): New define. Support processor specific predefines via
12293 (CC1_SPEC): New define. Support processor specific compiler
12294 options via %(cc1_cpu).
12295 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
12298 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12300 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
12301 between sed's -e flag, and the open-quote following it.
12302 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
12304 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
12305 Jeffrey A Law (law@cygnus.com)
12307 * varasm.c (assemble_start_function): Remove the function
12308 from the pending weak decls list when we define a function.
12309 (assemble_variable): Similarly for variables.
12310 (weak_finish): Ignore items on the list with a NULL name.
12311 (remove_from_ending_weak_list); New function to "remove" an item
12312 from the pending weak declarations list.
12314 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
12316 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
12318 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
12320 * c-lex.c (GETC): Redefine to call getch.
12321 (UNGETC): Redefine to call put_back.
12322 (putback_buffer): New structure type.
12323 (putback): New static structure.
12324 (getch): New function.
12325 (put_back): New function.
12326 (yylex): Replace unused bytes from bad multibyte character.
12328 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
12330 * cpplib.c (do_define): Cast `alloca' return value.
12331 (do_include, do_undef, do_pragma): Likewise.
12332 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
12334 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
12335 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
12337 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
12339 * sparc.md (abstf2): This should be an expand.
12340 (split after abstf2_notv9): Fix mode.
12341 (abstf2_hq_v9): New pattern.
12342 (abstf2_v9): Only use when no hard quad.
12343 (absdf2_v9): Fix if target is not the same as source.
12344 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
12345 Add correct output constraints.
12347 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
12349 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
12350 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
12352 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
12354 * mips.h (mips_output_conditional_branch): New function.
12355 (mips_adjust_insn_length): Likewise.
12356 (ASSEMBLER_SCRATCH_REGNUM): New macro.
12357 (ADJUST_INSN_LENGTH): Likewise.
12358 * mips.c (print_operand): Add `F' and `W' for floating-point
12359 comparison opcodes.
12360 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
12362 (mips_adjust_insn_length): New function.
12363 (mips_output_conditional_branch): New function.
12364 * mips.md (length): Adjust attribute definition to handle
12365 conditional branches. Change lengths to bytes, rather than
12366 instructions throughout. Remove length attribute from
12367 instructions whose length is four bytes, and rely on the default
12369 (dslot): Fix typo in comment.
12370 Reword conditional branch patterns to use
12371 mips_output_conditional_branch.
12373 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12375 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
12376 (LIB_SPEC): Likewise.
12377 Link with -lprof1_r for -g/-pg.
12379 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12381 * loop.c (check_dbra_loop): Fix change of Jan 19.
12383 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
12385 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
12386 (STARTFILE_SPEC): Define, override the svr4.h version.
12387 (ENDFILE_SPEC): Likewise.
12389 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
12391 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
12392 * fixinc/fixincl.x: Regenerated.
12393 * fixinc/inclhack.sh: Regenerated.
12395 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12397 * sh.c (barrier_align): Don't return early for normal branch/barrier
12398 when optimizing for SH2.
12400 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
12402 * i386/udk.h (LINK_SPEC): Correct linker search path for
12405 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12407 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
12408 (braf_label_ref_operand): Delete.
12409 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
12410 * sh.md (casesi_jump_2): Operand1 is now the inside of a
12411 label_ref, and has no predicate.
12412 The patten has a predicate to guard against invalid substitutions.
12413 (dummy_jump): Delete.
12414 (casesi): Update use of casesi_jump_2.
12416 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
12418 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
12419 *fixinc/fixincl.x: regenerate
12420 *fixinc/inclhack.sh: regenerate
12422 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
12424 * dwarf2out.c (add_incomplete_type): New fn.
12425 (gen_struct_or_union_type_die): Call it.
12426 (retry_incomplete_types): New fn.
12427 (dwarf2out_finish): Call it.
12429 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
12431 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
12432 current block starts with a CODE_LABEL and ends with a CALL and
12433 we can not find all the argument setup instructions for the CALL.
12435 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
12437 Revert this change:
12438 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
12439 something is a candidate for optimize_bit_field_compare.
12441 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12443 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
12445 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
12447 * alpha.c (override_options): Thinko in last patch.
12449 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
12450 (LIB_SPEC): Recognize -pthread.
12452 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
12454 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
12455 definition in config/arm/coff.h
12456 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
12458 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
12460 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
12461 fixes that need "file=xxx\n" prepended before invocation
12462 (start_fixer - new): starting the fixer process is complex enough
12463 to warrent its own routine. It prepends the "file=xxx\n" stuff.
12464 (process): uses the new routine; omit usage of putenv()
12465 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
12466 * fixinc/fixincl.x: regenerate
12468 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
12470 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
12471 and version #s (1.1 -> 2.96) as needed.
12472 * README.g77: Kill way out of date file in the toplevel directory.
12474 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
12476 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
12477 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
12478 * configure: Rebuilt.
12479 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
12480 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
12481 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
12482 (SWITCH_TAKES_ARG): Likewise.
12483 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
12484 * config/t-freebsd: Moved from config/i386/ so it can used for all
12487 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
12489 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
12491 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
12493 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
12494 * configure: Rebuilt.
12496 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
12498 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
12499 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
12500 * rs6000/rs6000.c (rs6000_file_start): Use putc.
12501 (rs6000_output_load_toc_table): Same.
12502 (output_prolog, output_mi_thunk): Same.
12503 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
12504 (ASM_GLOBALIZE_LABEL): Use putc.
12506 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
12508 * alpha.md (reload_*_help): New patterns and splitters.
12509 (reload_*): Use them.
12510 (mov[qh]i): Likewise.
12512 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
12514 * cccp.c (handle_directive): Handle backslash-newlines in quoted
12517 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
12519 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
12521 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
12523 * flow.c (mark_regs_live_at_end, insn_dead_p,
12524 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
12525 and HARD_FRAME_POINTER_REGNUM special treatment if reload
12526 hasn't run or the frame pointer is needed.
12527 * haifa-sched.c (attach_deaths): Likewise.
12528 * sched.c (attach_deaths): Likewise.
12530 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
12532 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
12533 calculate_can_reach_end returns nonzero.
12535 * configure.in (native gas tests): Search for an assembler in the
12536 same manner that the installed compiler will.
12537 * configure: Rebuilt.
12538 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
12540 * alias.c (find_base_term): Improve handling of addresses
12541 constructed from binary operations.
12543 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
12545 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
12547 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
12549 * function.h (cleanup_label, frame_offset): Declare.
12550 (tail_recursion_label, tail_recursion_reentry): Likewise.
12551 (arg_pointer_save_area, rtl_expr_chain): Likewise.
12552 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
12553 (tail_recursion_label, tail_recursion_reentry): Likewise.
12554 (arg_pointer_save_area, rtl_expr_chain): Likewise.
12556 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
12558 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
12560 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
12561 (MAX_OFILE_ALIGNMENT): Define.
12563 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
12565 * fixincl.c: Replace local include scheme with #includes of
12566 gansidecl.h and system.h.
12567 * procopen.c: Likewise.
12568 * server.c: Likewise.
12570 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
12572 * i386/t-dgux (EXTRA_PARTS): Add crti.o
12573 (crti.o): Add build rule and dependencies.
12574 * fixinc/fixinc.dgux: Use modified _int_varargs.h
12576 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12578 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
12579 (LIB_LINUX_SPEC): Likewise.
12580 (LIB_LINUX_SPEC): Add support for -pthread
12581 (CPP_OS_LINUX_SPEC): Likewise.
12582 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
12585 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
12587 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
12589 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
12590 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
12591 for IEEE math and CC_FCOMI.
12592 (put_jump_code): No IEEE if CC_FCOMI is set.
12594 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12596 * fold-const.c (fold_truthop): Make the field reference unsigned
12597 when converting a single bit compare.
12599 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12601 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
12603 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
12605 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
12606 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
12609 * reload.c (push_reload): Do not call remove_address_replacements
12610 when presented with identical optional reloads.
12612 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
12614 * alpha.h (MASK_FIX, TARGET_FIX): New.
12615 (MASK_*): Reorganize constants.
12616 (CPP_AM_FIX_SPEC): New.
12617 (TARGET_SWITCHES): Add FIX.
12618 (EXTRA_SPECS): Likewise.
12619 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
12620 (SECONDARY_MEMORY_NEEDED): Likewise.
12621 (REGISTER_MOVE_COST): Likewise.
12622 * alpha.c (override_options): Add FIX support. Always use
12623 ALPHA_TP_PROG for ev6.
12624 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
12625 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
12626 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
12628 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
12630 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
12631 something is a candidate for optimize_bit_field_compare.
12633 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
12635 * gcc.texi (Passes): Document branch-shortening.
12636 * invoke.texi (Debugging Options): Document the fact that `-dp'
12637 outputs length information for instructions.
12639 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
12641 * flow.c: Revert previous delta.
12643 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
12645 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
12646 FRAME_POINTER_REGNUM.
12647 (mark_set_1): Ditto.
12648 (mark_used_regs): Ditto.
12650 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
12652 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
12653 (GOT_PCREL): New macro. Define to 1 if not already defined.
12654 * arm/elf.h (GOT_PCREL): Define to 0.
12655 * arm.c (arm_finalize_pic): Take into account the setting of
12658 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
12660 * output.h (STRIP_NAME_ENCODING): Provide default definition.
12661 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
12663 * flow.c (mark_set_1): Do not record BLKmode stores as dead
12664 store elimination candidates.
12666 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
12668 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
12671 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
12673 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
12674 Add use of x-aix41-gld.
12676 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
12678 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
12679 (ASM_OUTPUT_DESTRUCTOR): Define.
12681 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
12683 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
12684 last CODE_LABEL in a loop if we have previously passed a jump
12685 to the top of the loop.
12687 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
12689 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
12690 applying Philip's patch.
12692 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
12694 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
12697 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
12699 * loop.c (strength_reduce): Grow reg_single_usage as needed.
12701 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
12703 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
12704 Also remove a useless comment.
12706 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
12708 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
12710 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
12712 * collect2.c (main): Only generate import or export file and add
12713 to link arguments if non-empty. Use xmalloc not alloca.
12714 (write_{export,import}_file): Delete.
12715 (write_aix_file): New function.
12716 (locatelib): Use xmalloc not malloc.
12717 (GCC_OK_SYMBOL): Do not check type if aix64.
12719 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
12721 Based on patch by Scott Bambrough and Pat Beirne:
12722 * config/arm/arm.c (making_const_table): New variable.
12723 * config/arm/arm.h (making_const_table): Declare.
12724 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
12726 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
12727 Keep track of when we are building the constant table.
12729 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
12731 * config/arm/arm.c (arm_override_options): Fix erroneous warning
12734 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
12736 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
12739 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
12741 * tm.texi (FUNCTION_ARG): Correct description of a stack element
12744 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
12746 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
12748 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12750 * rs6000.c (output_mi_thunk): Enable full support again.
12752 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12754 * sh.h (BRANCH_COST): Define.
12756 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
12758 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
12760 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
12762 * function.c (assign_stack_local): Align stack slot propertly.
12763 (assign_outer_stack_local): Likewise.
12765 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
12767 * expr.h (lang_expand_constant): Declare.
12768 * toplev.c (lang_expand_constant): Define it.
12769 * varasm.c (output_constant): Use it.
12771 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12773 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
12774 Change function definitions to K&R style.
12776 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
12778 * fixinc/fixincl.c: We must not ignore SIGCLD now.
12780 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
12782 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
12783 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
12784 (several places): omit static initialization
12785 (process): use single fd, since only the read fd is used
12786 * fixinc/gnu-regex.c: define 'const' away, if not supported
12787 * fixinc/procopen.c(several places): omit static initialization
12788 * fixinc/server.c: define 'volitile' away, if not supported
12790 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12792 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
12793 asm_fprintf and %L to generate the label name.
12794 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
12795 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
12797 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
12799 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
12800 insn for a conditional jump can not be found.
12802 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
12804 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
12805 on variables in specific sections other than .sbss and .sdata.
12807 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
12809 * stmt.c (expand_return): Call start_cleanup_deferral and
12810 end_cleanup_deferral around conditional code.
12812 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
12814 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
12815 filename lists. Utilizes new "krstr" AutoGen function.
12816 * fixinc/fixincl.x: Rebuilt.
12818 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
12820 * i386.c (output_float_compare): Avoid GNU-C extensions.
12822 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
12824 * version.c: Bump to distinguish mainline tree from the
12827 See ChangeLog.1 for earlier changes.